/* Angel-Pause website. Same type and tokens as vollweiter-info.de, the colours of the lake come from the game
   (AngelPause/Views/LakeLight.swift). The HTML is generated by AppStore/site-src/build.py. */

@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --font-sans: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: #f3f2ee;
  --surface: #eae8e3;
  --ink: #131312;
  --ink-2: #5c5a55;
  --ink-3: #8f8c85;
  --line: rgb(19 19 18 / 0.14);
  --accent: #bd371b;
  --sheet: #131312;
  --sheet-ink: #f3f2ee;
  --sheet-ink-2: #a9a69f;
  --sheet-line: rgb(243 242 238 / 0.16);
  --bezel-width: clamp(5px, 0.6vw, 9px);
  --bezel: 0 0 0 var(--bezel-width) #0c0c0d, 0 0 0 calc(var(--bezel-width) + 1px) rgb(255 255 255 / 0.12),
    0 2.5rem 4rem -1.5rem rgb(0 0 0 / 0.45);
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --header-h: 4.25rem;
  --sheet-radius: clamp(1.25rem, 2.4vw, 2.25rem);
  --card-radius: clamp(1rem, 1.6vw, 1.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* The lake in the evening, also the look without JavaScript. */
  --sky-top: #2e2f5c;
  --sky-low: #f59a5f;
  --water-top: #8f6b8c;
  --water-deep: #22213d;
  --sil: #1e1c33;
  --light: #ffb367;
}

:root[data-sky="early"] {
  --sky-top: #5c6f9e;
  --sky-low: #f6c8a5;
  --water-top: #9db3c9;
  --water-deep: #2e4966;
  --sil: #3d4a69;
  --light: #ffe2b0;
}

:root[data-sky="midday"] {
  --sky-top: #2f86d6;
  --sky-low: #bde6f7;
  --water-top: #3fa0b9;
  --water-deep: #0e4c68;
  --sil: #1f4d3a;
  --light: #fff7dd;
}

:root[data-sky="night"] {
  --sky-top: #04060d;
  --sky-low: #121a36;
  --water-top: #0c1630;
  --water-deep: #000;
  --sil: #05080f;
  --light: #e7ecf6;
}

@media (min-width: 56.25em) {
  :root {
    --header-h: 5rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0d;
    --surface: #181816;
    --ink: #eceae4;
    --ink-2: #9c9990;
    --ink-3: #6b6962;
    --line: rgb(236 234 228 / 0.14);
    --accent: #ff6b4a;
    --sheet: #1b1b19;
    --sheet-ink: #eceae4;
    --sheet-ink-2: #9c9990;
    --sheet-line: rgb(236 234 228 / 0.14);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 420;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

main:focus {
  outline: none;
}

[id] {
  scroll-margin-top: 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

/* Type */

.t-display {
  font-weight: 620;
  font-stretch: 88%;
  font-size: clamp(3.9rem, 13.2vw, 13rem);
  line-height: 0.84;
  letter-spacing: -0.055em;
}

.t-h2 {
  font-weight: 600;
  font-stretch: 90%;
  font-size: clamp(2.6rem, 6.4vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.t-h3 {
  font-weight: 590;
  font-stretch: 94%;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.t-lead {
  font-weight: 520;
  font-stretch: 96%;
  font-size: clamp(1.6rem, 3.1vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.032em;
  text-wrap: pretty;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-2);
}

.label::before {
  content: "";
  flex: none;
  width: 13px;
  height: 9px;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 4px);
}

.shell {
  width: 100%;
  max-width: 92rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-top: clamp(6rem, 16vh, 11rem);
}

.section__head {
  display: grid;
  gap: clamp(1.1rem, 2.6vh, 1.75rem);
  margin-bottom: clamp(2.5rem, 7vh, 5rem);
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease-out);
}

.link:hover::after,
.link:focus-visible::after,
.link[aria-current]::after {
  transform: scaleX(1);
}

.icon {
  flex: none;
  width: 0.72em;
  height: 0.72em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95rem 1.4rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 560;
  font-stretch: 96%;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: transform 0.35s var(--ease-out), background-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--light {
  background: #fff;
  color: #131312;
}

/* Header */

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-stretch: 92%;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.site-nav ul,
.lang {
  display: flex;
  align-items: center;
}

.site-nav ul {
  gap: clamp(1rem, 2.6vw, 2.5rem);
}

.site-nav {
  display: none;
  margin-left: auto;
}

.lang {
  gap: 0.15rem;
  margin-left: auto;
}

.lang a {
  padding: 0.5rem 0.4rem;
  opacity: 0.62;
  transition: opacity 0.2s;
}

.lang a:hover,
.lang a[aria-current] {
  opacity: 1;
}

.lang a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}

@media (min-width: 56.25em) {
  .site-nav {
    display: block;
  }

  .lang {
    margin-left: clamp(1rem, 3vw, 3rem);
  }
}

/* Language hint, added by site.js */

.lang-hint {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 3rem 0.7rem var(--gutter);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.95rem;
  line-height: 1.3;
}

.lang-hint a {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.lang-hint button {
  position: absolute;
  right: calc(var(--gutter) - 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem 0.5rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Lake scene */

.scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-low) var(--horizon),
    var(--water-top) var(--horizon),
    var(--water-deep) 100%
  );
}

.scene__stars {
  position: absolute;
  inset: 0 0 calc(100% - var(--horizon)) 0;
  opacity: 0;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 44% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 31%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 71% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 83% 38%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 93% 21%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 55%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 63%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 64% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 19% 74%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 66%, #fff 50%, transparent 51%);
}

:root[data-sky="night"] .scene__stars,
.scene--night .scene__stars {
  opacity: 0.8;
}

.scene__orb {
  position: absolute;
  left: var(--orb-x, 31%);
  top: calc(var(--horizon) - var(--orb-up, 9%));
  width: clamp(2.6rem, 5.2vw, 4.75rem);
  aspect-ratio: 1;
  overflow: visible;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2.2rem color-mix(in srgb, var(--light) 70%, transparent));
}

.scene__orb circle {
  fill: var(--light);
}

.scene__orb path {
  fill: var(--sky-top);
  opacity: 0.9;
}

:root[data-sky="early"] .scene {
  --orb-x: 24%;
  --orb-up: 12%;
}

:root[data-sky="midday"] .scene {
  --orb-x: 38%;
  --orb-up: 30%;
}

:root[data-sky="night"] .scene,
.scene--night {
  --orb-x: 34%;
  --orb-up: 27%;
}

.scene__glint {
  position: absolute;
  left: var(--orb-x, 31%);
  top: var(--horizon);
  width: clamp(4rem, 9vw, 9rem);
  height: 34%;
  transform: translateX(-50%);
  opacity: 0.42;
  background: repeating-linear-gradient(180deg, var(--light) 0 2px, transparent 2px 13px);
  -webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 50% 100% at 50% 0%, #000 0%, transparent 72%);
}

.scene__land {
  position: absolute;
  left: 0;
  top: var(--horizon);
  width: 100%;
  height: clamp(9rem, 19vw, 19rem);
  transform: translateY(-50%);
}

.scene__ripples {
  position: absolute;
  inset: var(--horizon) 0 0 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='132'%3E%3Cg stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M22 14h58M210 30h34M388 20h76M96 58h44M300 70h92M18 96h70M236 110h40M430 88h54'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 38%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 6%, #000 38%, transparent 100%);
}

.scene__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.26) 0%, transparent 22%, transparent 58%, rgb(0 0 0 / 0.42) 100%);
}

.float {
  position: absolute;
  left: var(--float-x, 55%);
  top: calc(var(--horizon) + var(--float-down, 9%));
  width: clamp(1.5rem, 2.3vw, 2.1rem);
  overflow: visible;
  transform: translate(-50%, -78%);
}

.float__ring {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .float__body {
    animation: bob 3.6s ease-in-out infinite;
  }

  .float__ring {
    animation: ring 3.6s ease-out infinite;
  }

  .float__ring + .float__ring {
    animation-delay: 1.8s;
  }

  .scene__snow {
    animation: snow 16s linear infinite;
  }

  .scene__snow + .scene__snow {
    animation-duration: 27s;
  }
}

@keyframes bob {
  50% {
    transform: translateY(2.5px);
  }
}

@keyframes ring {
  0% {
    opacity: 0.55;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}

@keyframes snow {
  to {
    background-position: 0 30rem, 0 30rem, 0 30rem, 0 30rem, 0 30rem, 0 30rem;
  }
}

.scene__snow {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  background-image: radial-gradient(2px 2px at 20% 10%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 62% 34%, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 84% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 78%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 8% 52%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 90%, #fff 50%, transparent 51%);
  background-size: 30rem 30rem;
}

.scene__snow + .scene__snow {
  opacity: 0.45;
  background-size: 19rem 30rem;
}

/* Devices */

.phone {
  position: relative;
  width: var(--phone-w, 15rem);
  aspect-ratio: 600 / 1304;
  border-radius: 16% / 7.4%;
  background: #0c0c0d;
  box-shadow: var(--bezel);
  overflow: clip;
}

.phone img,
.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch {
  position: relative;
  width: var(--watch-w, 9rem);
  aspect-ratio: 416 / 496;
  border-radius: 24% / 20%;
  background: #0c0c0d;
  box-shadow: 0 0 0 calc(var(--bezel-width) * 1.5) #0c0c0d,
    0 0 0 calc(var(--bezel-width) * 1.5 + 1px) rgb(255 255 255 / 0.14), 0 2rem 3rem -1rem rgb(0 0 0 / 0.5);
}

.watch img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.watch::before,
.watch::after {
  content: "";
  position: absolute;
  left: calc(100% + var(--bezel-width) * 1.5);
  width: calc(var(--bezel-width) * 1.1);
  background: #2b2b2d;
}

.watch::before {
  top: 21%;
  height: 21%;
  border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(180deg, #3a3a3d 0 2px, #18181a 2px 4px);
  box-shadow: inset -1px 0 0 var(--accent);
}

.watch::after {
  top: 55%;
  height: 20%;
  width: calc(var(--bezel-width) * 0.55);
  border-radius: 0 3px 3px 0;
}

/* Hero */

.hero {
  --horizon: 40%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: min(100svh, 68rem);
  color: #fff;
}

.hero__body {
  display: grid;
  gap: 1.75rem;
  align-content: end;
  padding: 1rem var(--gutter) clamp(1.5rem, 4vh, 2.75rem);
}

.hero__tags {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  order: 1;
  opacity: 0.86;
}

.hero__side {
  display: contents;
}

.hero__devices {
  --phone-w: clamp(9.5rem, 24svh, 13rem);
  --watch-w: clamp(5.6rem, 14svh, 7.6rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  order: 2;
  padding-block: 1rem 0.5rem;
}

.hero__devices .watch {
  margin: 0 0 9% -1.6rem;
}

.hero__title {
  order: 3;
}

.hero__title span {
  display: block;
}

.hero__aside {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  order: 4;
  max-width: 30rem;
}

.hero__lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 470;
  line-height: 1.38;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.hero__meta {
  display: grid;
  gap: 0.35rem;
  opacity: 0.8;
}

.hero__clock {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

.hero__clock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--light);
}

.js .hero__clock {
  display: inline-flex;
}

.float {
  display: none;
}

@media (min-width: 56.25em) {
  .hero {
    --horizon: 47%;
    min-height: min(100svh, 62rem);
  }

  .hero__body {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 30%);
    grid-template-rows: auto 1fr;
    gap: 0 clamp(2rem, 5vw, 5rem);
    align-content: stretch;
  }

  .hero__tags {
    grid-column: 1 / -1;
    padding-bottom: 1rem;
  }

  .hero__title {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }

  .hero__side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: clamp(1.5rem, 4svh, 2.75rem);
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 0.6rem;
  }

  .hero__devices {
    --phone-w: clamp(10rem, 21svh, 14rem);
    --watch-w: clamp(6rem, 12.5svh, 8.4rem);
    justify-content: flex-start;
    padding: 0;
  }

  .hero__devices .watch {
    margin-left: -2.2rem;
  }

  .float {
    display: block;
  }
}

/* Intro */

.intro__text {
  max-width: 24em;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}

.intro__text em {
  font-style: normal;
  color: var(--ink-3);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(1rem, 3vw, 3rem);
  margin-top: clamp(3.5rem, 10vh, 7rem);
}

.facts div {
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.facts dd {
  font-weight: 600;
  font-stretch: 88%;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.facts dt {
  order: 2;
  color: var(--ink-2);
}

@media (min-width: 56.25em) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* How to play */

.how__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, var(--a, #123f60) 0%, var(--b, #4f9ac0) 100%);
  overflow: clip;
}

.how__stage {
  --phone-w: min(58%, 17rem);
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.steps {
  counter-reset: step;
}

.step {
  display: grid;
  gap: 0.6rem;
  padding: clamp(1.5rem, 3.4vh, 2.25rem) 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step__label {
  color: var(--ink-2);
}

.step p:last-child {
  max-width: 34rem;
  color: var(--ink-2);
}

@media (min-width: 56.25em) {
  .how__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }

  .how__stage {
    position: sticky;
    top: 1.5rem;
    min-height: min(84svh, 46rem);
  }
}

/* What waits at the lake */

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 20rem);
  gap: 1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.shots::-webkit-scrollbar {
  display: none;
}

.shot {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  scroll-snap-align: start;
}

.shot__stage {
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 0.6rem;
}

.shot__stage .phone {
  position: absolute;
  left: 17%;
  top: 11%;
  width: 66%;
  transition: transform 0.7s var(--ease-out);
}

.shot:hover .phone {
  transform: translateY(-3.5%);
}

.shot__label {
  color: var(--ink-2);
}

.shot p:last-child {
  color: var(--ink-2);
}

@media (min-width: 46em) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 2.4vw, 2rem);
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .shot:nth-child(2n) {
    margin-top: clamp(2.5rem, 7vw, 6rem);
  }
}

@media (min-width: 68em) {
  .shots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shot:nth-child(2n) {
    margin-top: 0;
  }

  .shot:nth-child(3n + 2) {
    margin-top: clamp(3rem, 6vw, 6rem);
  }
}

/* Watch */

.sheet {
  margin: clamp(6rem, 16vh, 11rem) clamp(0.4rem, 1.2vw, 1rem) 0;
  padding-block: clamp(4rem, 11vh, 8rem);
  border-radius: var(--sheet-radius);
  background: var(--sheet);
  color: var(--sheet-ink);
}

.sheet .label,
.sheet .spec p {
  color: var(--sheet-ink-2);
}

.wrist__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.wrist__head {
  margin-bottom: 0;
}

.wrist__lead {
  max-width: 22em;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.36;
  letter-spacing: -0.014em;
  color: var(--sheet-ink-2);
}

.watches {
  --watch-w: clamp(4.6rem, 21vw, 11.5rem);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.4rem);
  padding: 1rem 1rem 0 0.5rem;
}

.watches .watch:nth-child(2) {
  margin-top: clamp(1.5rem, 5vw, 4rem);
}

.spec {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--sheet-line);
}

.spec h3 {
  font-size: 1.2rem;
  font-weight: 570;
  letter-spacing: -0.018em;
}

@media (min-width: 56.25em) {
  .wrist__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: end;
  }

  .wrist__head {
    grid-column: 1 / -1;
  }

  .watches {
    justify-content: flex-start;
    padding-bottom: 1.5rem;
  }

  .spec {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}

/* Help */

.faq__group {
  display: grid;
  gap: 1rem clamp(2rem, 6vw, 6rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.faq__group + .faq__group {
  margin-top: clamp(3rem, 8vh, 5rem);
}

.faq__title {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.faq__title .t-mono {
  color: var(--ink-2);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  font-size: 1.14rem;
  font-weight: 540;
  letter-spacing: -0.014em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform 0.4s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--accent);
}

.answer {
  display: grid;
  gap: 0.8em;
  max-width: 38rem;
  padding: 0 2rem 1.5rem 0;
  color: var(--ink-2);
}

.answer ul {
  display: grid;
  gap: 0.45em;
}

.answer li {
  padding-left: 1.1em;
  text-indent: -1.1em;
}

.answer li::before {
  content: "· ";
  display: inline-block;
  width: 1.1em;
  text-indent: 0;
  color: var(--ink-3);
}

.answer strong {
  font-weight: 600;
  color: var(--ink);
}

.answer a,
.prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.answer a:hover,
.prose a:hover {
  color: var(--accent);
}

@media (min-width: 56.25em) {
  .faq__group {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }

  .faq__title {
    position: sticky;
    top: 1.5rem;
  }
}

/* Contact */

.contact {
  padding-bottom: clamp(5rem, 14vh, 9rem);
}

.contact__mail {
  display: inline-flex;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  font-weight: 560;
  font-stretch: 92%;
  font-size: clamp(1.25rem, 4.4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact__note {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--ink-2);
}

/* Footer */

.site-footer {
  padding: 0 var(--gutter) 2rem;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}

/* Winter page */

.winter {
  --horizon: 58%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  color: #fff;
  --sky-top: #04060d;
  --sky-low: #121a36;
  --water-top: #0c1630;
  --water-deep: #000;
  --sil: #05080f;
  --light: #e7ecf6;
}

.winter .scene {
  --orb-x: 84%;
  --orb-up: 44%;
}

@media (min-width: 56.25em) {
  .winter .scene {
    --orb-x: 53%;
    --orb-up: 40%;
  }
}

.winter__grid {
  display: grid;
  gap: 2.5rem;
  align-content: center;
  padding: 2rem var(--gutter) 4rem;
}

.winter__copy {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  align-content: center;
}

.winter__copy .label {
  color: rgb(255 255 255 / 0.72);
}

.winter__text {
  max-width: 31rem;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: rgb(255 255 255 / 0.86);
}

.winter__video {
  --phone-w: min(72vw, 21rem, 38svh);
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}

.winter__video .phone {
  aspect-ratio: 9 / 16;
  border-radius: 9% / 5.1%;
}

.winter__video figcaption {
  max-width: 22rem;
  text-align: center;
  color: rgb(255 255 255 / 0.66);
  text-transform: none;
  letter-spacing: 0.01em;
}

@media (min-width: 56.25em) {
  .winter__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 6vw, 6rem);
  }

  .winter__video {
    --phone-w: min(21rem, 38svh);
  }
}

/* Legal pages */

.legal {
  padding: clamp(2.5rem, 8vh, 5rem) 0 clamp(4rem, 12vh, 8rem);
}

.legal__head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 7vh, 4.5rem);
}

.prose {
  max-width: 43rem;
}

.prose h2 {
  margin: 2.6em 0 0.7em;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  font-weight: 590;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose p,
.prose ul,
.prose address {
  margin-bottom: 1em;
  color: var(--ink-2);
}

.prose ul {
  display: grid;
  gap: 0.35em;
}

.prose li {
  padding-left: 1.1em;
  text-indent: -1.1em;
}

.prose li::before {
  content: "· ";
  display: inline-block;
  width: 1.1em;
  text-indent: 0;
  color: var(--ink-3);
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.prose .summary {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.prose .summary p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.45;
  color: var(--ink);
}

/* Guide pages and the rows that link to them */

.article {
  padding: clamp(2.5rem, 8vh, 5rem) 0 clamp(4rem, 12vh, 8rem);
}

.article__lead {
  max-width: 40rem;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 480;
  line-height: 1.32;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}

.article__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 6rem);
}

.prose h3 {
  margin: 1.8em 0 0.4em;
  font-size: 1.1rem;
  font-weight: 590;
  letter-spacing: -0.014em;
  line-height: 1.3;
}

.prose .summary .t-mono {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  color: var(--ink-2);
}

.prose .summary ul {
  margin: 0;
  color: var(--ink);
}

.aside {
  display: grid;
  gap: 1rem;
  align-content: start;
  justify-items: start;
}

.aside > p:not(.label) {
  color: var(--ink-2);
}

.aside__stage {
  --phone-w: min(56%, 13rem);
  --watch-w: min(34%, 8.5rem);
  width: 100%;
  margin-bottom: 0.75rem;
  padding: clamp(1.75rem, 5vw, 2.75rem) 0;
}

.aside__stage--watch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 2.5rem);
}

.moon {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--card-radius);
  background: #0c1630;
  color: #e7ecf6;
}

.moon[hidden] {
  display: none;
}

.moon__disc {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
  filter: drop-shadow(0 0 1rem rgb(231 236 246 / 0.35));
}

.moon__disc circle {
  fill: #e7ecf6;
}

.moon__disc path {
  fill: #0c1630;
  opacity: 0.92;
}

.prose .moon p {
  margin: 0;
  color: inherit;
}

.prose .moon .moon__meta {
  margin-top: 0.6rem;
  color: #a9b4cc;
  line-height: 1.7;
}

.more {
  margin-top: clamp(4rem, 12vh, 7rem);
}

.more .label {
  margin-bottom: 1.25rem;
}

.guide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.4rem 1.5rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  transition: color 0.2s;
}

.guide-rows li:last-child .guide-row {
  border-bottom: 1px solid var(--line);
}

.guide-row .t-mono {
  grid-column: 1 / -1;
  color: var(--ink-2);
}

.guide-row__text {
  grid-column: 1;
  max-width: 34rem;
  color: var(--ink-2);
}

.guide-row .icon {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 1rem;
  height: 1rem;
  transition: transform 0.45s var(--ease-out);
}

.guide-row:hover {
  color: var(--accent);
}

.guide-row:hover .icon {
  transform: translate(3px, -3px);
}

@media (min-width: 56.25em) {
  .article__grid {
    grid-template-columns: minmax(0, 43rem) minmax(16rem, 22rem);
    justify-content: space-between;
    align-items: start;
  }

  .aside {
    position: sticky;
    top: 1.5rem;
  }

  .guide-row {
    grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr) auto;
  }

  .guide-row .t-mono,
  .guide-row__text,
  .guide-row .icon {
    grid-column: auto;
    grid-row: auto;
  }

  .more .guide-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  }
}

/* Entrances, only with JavaScript and without reduced motion */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .hero__title span {
    animation: rise 1.1s var(--ease-out) both;
  }

  .hero__title span + span {
    animation-delay: 0.09s;
  }

  .hero__devices > * {
    animation: rise 1.2s var(--ease-out) 0.15s both;
  }

  .hero__devices > * + * {
    animation-delay: 0.3s;
  }
}

@media print {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(2.2rem);
  }
}
