/* Christmas Wreath: an evergreen night with falling snow; the face's own gold and berry red as the
   accents, the face's own fonts (Cormorant Garamond italic as on "Merry Christmas", Outfit as the time). */
/* One look (Martin 8. 11.): an evergreen night, like the wreath; every colour is a token. */
:root {
  color-scheme: dark;
  --bg-1: #174632; --bg-2: #133d2c; --bg-3: #0f3326; --bg-4: #0c2a1e;   /* the page: evergreen, darker toward the foot */
  --head: rgba(18, 53, 38, 0.86);   /* the sticky header */
  --menu: #17402e;                  /* the language menu, the store bar */
  --panel: rgba(24, 64, 46, 0.72);  /* the edition cards */
  --sticky: #12352a;                /* the watch on a phone: solid, nothing shows through */
  --band: rgba(255, 255, 255, 0.035);
  --rim: rgba(232, 203, 122, 0.2);  /* hairlines: a breath of gold */
  --snow: #f4f9fb;                  /* text */
  --heading: #f4f9fb;
  --frost: #c4d4c9;                 /* secondary text */
  --gold: #e8cb7a;                  /* the countdown's gold on the dial: links, the chosen choice */
  --gold-deep: #c99a3a;
  --berry: #c8121c;                 /* the holly berries */
  --btn-bg: linear-gradient(180deg, #f3dc98, #e8cb7a 55%, #c99a3a);
  --btn-fg: #1c1306;
  --btn-line: #e8cb7a;
  --chip: rgba(255, 255, 255, 0.05);
  --chip-on: rgba(232, 203, 122, 0.16);
  --flake: rgba(240, 246, 250, 0.75);
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Outfit", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; color: var(--snow); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background: var(--bg-4) linear-gradient(180deg, var(--bg-1) 0, var(--bg-2) 38%, var(--bg-3) 78%, var(--bg-4) 100%) no-repeat; background-size: 100% 100%; min-height: 100vh; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
header, main, footer { position: relative; z-index: 1; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.note { font-size: 15px; color: var(--frost); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--head); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rim); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { font: italic 600 27px/1 var(--serif); color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }   /* a 44 px touch target (audit 23. 11.) */
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--frost); text-decoration: none; font-size: 16px; }
.top nav a:hover { color: var(--snow); }
details.lang { position: relative; margin-left: auto; }
.top nav + details.lang { margin-left: 0; }
details.lang summary, span.lang { list-style: none; cursor: pointer; font: 500 15px/1 var(--sans); color: var(--frost); padding: 8px 10px; min-height: 44px; min-width: 44px; justify-content: center; box-sizing: border-box; display: inline-flex; align-items: center; border: 1px solid var(--rim); border-radius: 8px; }
details.lang summary::-webkit-details-marker { display: none; }
.langs { position: absolute; right: 0; top: 40px; background: var(--menu); border: 1px solid var(--rim); border-radius: 10px; padding: 6px; display: grid; min-width: 150px; }
.langs a { display: flex; align-items: center; min-height: 44px; box-sizing: border-box; color: var(--snow); text-decoration: none; padding: 7px 10px; border-radius: 6px; font-size: 15px; }
.langs a:hover, .langs a[aria-current] { background: var(--chip-on); }

/* the opening: text and settings on the left, the watch on the right (sticky) */
.hero { padding-block: 32px 72px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "text stage" "setup stage"; column-gap: 56px; row-gap: 28px; align-items: start; }
.hero-text { grid-area: text; }
.stage { grid-area: stage; position: sticky; top: 80px; display: grid; gap: 18px; justify-items: center; isolation: isolate; }
.setup { grid-area: setup; }
h1 { margin: 0; font: italic 600 clamp(52px, 6.6vw, 92px)/0.95 var(--serif); color: var(--heading); text-wrap: balance; }
.lede { font-size: 20px; line-height: 1.5; max-width: 30em; margin: 18px 0 0; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 500 17px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn.solid { color: var(--btn-fg); background: var(--btn-bg); }
.btn.line { color: var(--snow); border: 1.5px solid var(--btn-line); }
.hero-text .note { margin: 16px 0 0; }
.badge { display: inline-flex; align-self: center; border-radius: 10px; }
.badge img { display: block; width: 147px; height: 50px; }
.note.store { margin-top: 14px; }   /* the badge under the compatibility line, as on Isohypse */

/* the watch: a dark bezel, a warm glow behind it like candlelight */
.watch { position: relative; box-sizing: border-box; aspect-ratio: 1; width: 100%; max-width: 100%; height: auto; flex: none; align-self: center; border-radius: 50%; padding: 2.4%;
  background: radial-gradient(circle at 30% 25%, #4a4d55, #1b1c20 60%, #0b0b0d); box-shadow: inset 0 0 0 1px #5a5d66, 0 30px 60px rgba(0, 0, 0, 0.6); }
.watch.big { max-width: 440px; }
.watch.big::before { content: ""; position: absolute; inset: -16%; z-index: -1; border-radius: 50%; filter: blur(34px); opacity: 0.5;
  background: radial-gradient(circle at 40% 40%, rgba(255, 179, 71, 0.55), transparent 55%), radial-gradient(circle at 65% 70%, rgba(200, 18, 28, 0.35), transparent 55%); }
.face { position: relative; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; }
.face .dial { position: absolute; left: 0; top: 0; width: 454px; height: 454px; transform-origin: 0 0; }
.face .dial svg { position: absolute; left: 0; top: 0; filter: saturate(1.35); }   /* AMOLED: the watch's pictures are 35 % more saturated (render_art.py vivid) */

/* the season as an Advent calendar: paper doors with gold numbers; Advent Sundays carry a flame, Christmas Eve a star */
.season-ctl { width: min(100%, 480px); display: grid; gap: 10px; }
.calh { margin: 0; font: italic 600 22px/1.1 var(--serif); color: var(--gold); }
.calendar { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.calendar button { position: relative; aspect-ratio: 0.86; min-width: 0; border: 1px solid rgba(232, 203, 122, 0.22); border-radius: 7px; cursor: pointer; padding: 3px 0 0;
  display: grid; align-content: center; justify-items: center; gap: 0; color: var(--snow);
  background: linear-gradient(160deg, #6e1a28, #3d0d16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.calendar button:nth-child(3n+2) { background: linear-gradient(160deg, #1d5a3d, #0c3322); }
.calendar button:nth-child(5n+4) { background: linear-gradient(160deg, #22406e, #0f2142); }
.calendar small { font: 500 9px/1 var(--sans); color: #d6dfda; text-transform: lowercase; }
.calendar b { font: italic 600 20px/1 var(--serif); color: #f0d68e; }
.calendar em { position: absolute; top: 2px; right: 4px; font: normal 500 8px/1 var(--sans); color: #d6dfda; }
.calendar .advent::after, .calendar .eve::after, .calendar .ny::after { position: absolute; left: 4px; top: 3px; font-size: 10px; line-height: 1; }
.calendar .advent::after { content: ""; width: 5px; height: 8px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fff4c2, #ffb347 60%, transparent 70%); }
.calendar .eve::after { content: "★"; color: #f0d68e; }
.calendar .ny::after { content: "✦"; color: #f3dc98; }
.calendar .today { box-shadow: inset 0 0 0 2px #f4f9fb; }   /* today, while the season runs */
.calendar button[aria-pressed="true"] { border-color: #e8cb7a; background: linear-gradient(160deg, #f3dc98, #e8cb7a 55%, #c99a3a); }
.calendar button[aria-pressed="true"] b, .calendar button[aria-pressed="true"] small, .calendar button[aria-pressed="true"] em { color: #1c1306; }
.dayout { margin: 0; font-size: 16px; min-height: 1.6em; }
.edition { margin: 0; font-size: 15px; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--rim); padding-bottom: 2px; }
/* the display under the watch: AMOLED or MIP (64 colours, the face's own palette rule) */
.under { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; }
.disp { display: inline-flex; padding: 3px; border: 1px solid var(--rim); border-radius: 999px; }
.disp button { min-height: 44px; border: 0; background: none; color: var(--frost); font: 500 13px/1 var(--sans); letter-spacing: 0.06em; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.disp button[aria-pressed="true"] { background: var(--chip-on); color: var(--gold); }
.face.mip .dial svg { filter: none; }   /* MIP: no AMOLED saturation, the 64-colour filter inside the SVG instead */
/* 1.1.0: AM/PM above and the seconds below on the right of the time, centred together with it (page.js timeAndData);
   the small tree before the shortened countdown when the data field is on */
.face .tgrp { position: relative; display: inline-block; padding-right: 34px; }
.face .side { position: absolute; right: 0; top: 0; width: 30px; height: 100%; letter-spacing: 0; font-family: Outfit, sans-serif; font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums; }
.face .side b { position: absolute; left: 0; font-weight: 500; }
.face .dial svg.tree { position: static; filter: none; margin-right: 8px; }
.edition:hover { border-bottom-color: var(--gold); }
.soon { margin: 14px 0 0; color: var(--gold); font: italic 600 21px/1.3 var(--serif); }
.maker { margin-top: 6px !important; }

/* chips, swatches and tags */
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--rim);
  background: var(--chip); color: var(--snow); font: 400 15px/1 var(--sans); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--gold); background: var(--chip-on); }
.dot { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--gold); }
.dot[data-pro]::after { content: attr(data-pro); position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); font: 600 11px/1 var(--sans); color: var(--gold); }
.tag { font: 600 11px/1 var(--sans); color: var(--gold); margin-left: 4px; letter-spacing: 0.02em; }
.sw { display: flex; flex-wrap: wrap; gap: 10px 10px; align-items: center; padding-bottom: 6px; }
/* a choice shown as a piece of the wreath */
.sw:has(.pick) { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px 12px; align-items: start; }
.pick { display: grid; gap: 7px; justify-items: center; align-content: start; border: 0; background: none; color: var(--snow); padding: 0; cursor: pointer; font: 400 14px/1.25 var(--sans); text-align: center; }
.pick img, .swatch img { filter: saturate(1.35); }
.pick img { width: 88px; height: 88px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px var(--rim), 0 8px 20px rgba(0, 0, 0, 0.45); }
.pick span { text-wrap: balance; }
.pick .tag { display: block; margin: 3px 0 0; }   /* "Full" under the name, never squeezed beside it */
.pick[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--gold); }
.pick[aria-pressed="true"] span { color: var(--gold); }

/* the settings: the sections of the watch's menu as tabs (scrolling sideways on a phone) */
.seth { margin: 0 0 14px; font: italic 600 34px/1 var(--serif); color: var(--heading); }
.tabs { display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; border-bottom: 1px solid var(--rim); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 0 0 auto; border: 0; background: none; color: var(--frost); font: 500 15px/1 var(--sans); padding: 13px 9px 13px; min-height: 44px; box-sizing: border-box; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--snow); border-bottom-color: var(--gold); }
.panel { display: grid; gap: 22px; align-content: start; padding: 22px 2px 4px; }   /* rows at the top, the panel only as tall as the tallest section */
.field h3 { margin: 0 0 10px; font: 500 16px/1.2 var(--sans); color: var(--frost); }
.check { display: flex; gap: 12px; align-items: center; font-size: 17px; cursor: pointer; }
.panel > .check + .check { margin-top: -10px; }   /* switches of one section sit together */
.panel > .chip { justify-self: start; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }
.range { display: grid; gap: 6px; }
/* the own greeting (1.2.0): a box for the text and a sample button; notes under a switch */
.greet { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.greet input { flex: 1 1 200px; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; font: 400 16px/1.2 var(--sans); color: var(--snow);
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--rim); border-radius: 12px; padding: 10px 14px; min-height: 44px; }
.greet input::placeholder { color: var(--frost); opacity: 0.8; }
.greet input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field > .check + .note, .field > .greet + .note { margin: 6px 0 0; font-size: 14px; }
.field > .check + .note { margin-left: 32px; }
.range label { font: 500 16px/1.2 var(--sans); color: var(--frost); }
.range output { font-size: 15px; color: var(--frost); }

/* sections */
section { padding-block: 88px; border-top: 1px solid var(--rim); }
.hero { border-top: 0; }
.band { background: var(--band); }
.sech { margin: 0; color: var(--heading); font: italic 600 clamp(40px, 5vw, 62px)/1 var(--serif); text-wrap: balance; }
.secp { max-width: 36em; color: var(--frost); margin: 16px 0 0; }
.cards { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.card { border: 0; background: none; color: var(--snow); padding: 0; cursor: pointer; display: grid; gap: 12px; justify-items: center; text-align: center; font: 500 16px/1.3 var(--sans); }
.cards li { display: contents; }
.card .watch { max-width: 200px; }
.cards > *, .card { min-width: 0; }
.card span { overflow-wrap: anywhere; hyphens: auto; }   /* long wreath names (Nordmanntanne) never widen the page */
.card[aria-pressed="true"] span { color: var(--gold); }

/* what the full edition adds: a quiet strip under the opening */
.adds { padding-block: 26px; background: var(--band); }
.adds-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.addh { margin: 0; font: italic 600 26px/1.1 var(--serif); color: var(--gold); }
.adds ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; flex: 1 1 420px; }
.adds li::before { content: "✦ "; color: var(--gold); }
.iso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.iso-pic img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.iso .btn { margin-top: 22px; }
/* the social profiles: a quiet strip like the one under the opening */
.follow { padding-block: 30px; background: var(--band); }
.follow-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.follow-in p { margin: 6px 0 0; color: var(--frost); }
.follow-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.follow-links .btn { gap: 8px; min-height: 46px; padding: 0 18px; }

/* the colours: close-ups of the wreath full of ornaments */
.swatches { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 40px; max-width: 1040px; }
.swatch { display: grid; gap: 10px; justify-items: center; border: 0; background: none; color: var(--snow); padding: 0; cursor: pointer; font: 500 16px/1.2 var(--sans); }
.swatch img { width: 100%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px var(--rim); }
.swatch[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--gold), 0 18px 40px rgba(0, 0, 0, 0.5); }
.swatch[aria-pressed="true"] span { color: var(--gold); }
.feats { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; }
.feats h3 { margin: 0 0 10px; font: italic 600 27px/1.1 var(--serif); color: var(--heading); }
.feats p { margin: 0; color: var(--frost); }
.feats .watch { width: min(230px, 70%); margin: 0 0 18px; }   /* a live dial for each of the three main points */
.feats.more { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--rim); }
.feats.more h3 { font-size: 21px; margin-bottom: 6px; }
.feats.more p { font-size: 15px; }
@media (min-width: 961px) { .feats.more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   /* four points (1.2.0: the Advent calendar), two by two */
.help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.help h3 { margin: 0 0 10px; font: italic 600 28px/1.1 var(--serif); }
.help p { margin: 0; color: var(--frost); }
.social { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* the editions */
.eds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.ed { border: 1px solid var(--rim); border-radius: 22px; padding: 30px; display: grid; gap: 14px; align-content: start; background: var(--panel); }
.ed.full { border: 1.5px solid var(--gold); }
.ed.asked { box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(232, 203, 122, 0.25); }
.ed h3 { margin: 0; font: italic 600 36px/1 var(--serif); }
.ed h3 span { font: 400 17px var(--sans); color: var(--frost); font-style: normal; margin-left: 8px; }
.ed p { margin: 0; color: var(--frost); }
.ed ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ed li::marker { color: var(--gold); }
.ed .btn { justify-self: start; margin-top: 8px; }

/* questions */
.faq > * { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rim); padding-block: 18px; }
.faq details:first-of-type { margin-top: 30px; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 19px; }
.faq p { color: var(--frost); margin: 12px 0 0; max-width: 40em; }

footer { border-top: 1px solid var(--rim); padding-block: 40px 56px; }
footer p { margin: 0 0 8px; }
.err { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 40; background: #5a1010; color: #fff; padding: 12px 16px; border-radius: 10px; }

/* the store bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center; pointer-events: none; transition: transform 0.3s, opacity 0.3s;
  padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.bar.off { transform: translateY(120%); opacity: 0; }
.bar-in { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--menu); border: 1px solid var(--rim); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7); }
.bar-in .bar-name { display: grid; gap: 3px; font: italic 600 20px/1 var(--serif); color: var(--gold); white-space: nowrap; }
.bar-in .bar-name small { font: 500 11px/1 var(--sans); font-style: normal; color: var(--frost); letter-spacing: 0.02em; }
.bar-in .btn { min-height: 46px; min-width: 112px; justify-content: center; padding: 0 20px; font-size: 15px; white-space: nowrap; }   /* wide enough to hit on a phone, as on Isohypse */
.bar-in .short { display: none; }
@media (max-width: 420px) { .bar-in .long { display: none; } .bar-in .short { display: inline; } }   /* short words on narrow phones (Dutch, French) */
.bar-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rim); background: none; color: var(--frost); cursor: pointer; font-size: 15px; line-height: 1; }
@media (max-height: 499px) { .bar { display: none; } }
/* the privacy page */
.doc { padding-block: 48px 80px; }
.doc .wrap > * { max-width: 760px; }
.doc h1 { font-size: clamp(44px, 7vw, 76px); margin: 10px 0 0; }
.doc h2 { font: italic 600 32px/1.1 var(--serif); margin: 40px 0 0; }
.doc .eyebrow { margin: 28px 0 0; color: var(--frost); font-weight: 500; }
.doc .lede { font-size: 20px; }
.doc p { margin: 14px 0 0; }
.backlink { text-decoration: none; }
/* the guides (docs/seo-clanky.md) */
.guide h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.05; hyphens: auto; }
.guide h3 { font: 600 20px/1.3 var(--sans); margin: 26px 0 0; }
.guide ol { margin: 14px 0 0; padding-left: 1.3em; }
.guide li { margin: 8px 0 0; }
.guide figure { margin: 0; }
.guide figure img { display: block; width: 100%; height: auto; border-radius: 18px; }
.guide figcaption { margin-top: 8px; color: var(--frost); font-size: 15px; }
.guide .hero-pic { margin-top: 32px; }
.guide .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.guide figure.one { margin-top: 22px; max-width: 420px; }
.guide ul { margin: 14px 0 0; padding-left: 1.2em; }
.guide .gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* phones: three dials in a row are too small to see the ornaments */
@media (max-width: 600px) { .guide .gallery.three { grid-template-columns: minmax(0, 300px); justify-content: center; } }
.guide p a, .guide li a { color: var(--gold); }
/* the watch pictures: cut to the round watch, no other green around it */
.guide .gallery img, .guide figure.one img { border-radius: 50%; }
footer .guides { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* the guides on the page: a card per guide, its title picture, title and description */
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin-top: 22px; }
.guide-card { display: grid; gap: 14px; padding: 14px; border: 1px solid var(--rim); border-radius: 22px; background: var(--panel); color: var(--frost); text-decoration: none; }
.guide-card img { display: block; width: 100%; height: auto; border-radius: 14px; }
.guide-card span { display: grid; gap: 6px; padding: 0 4px 6px; }
.guide-card strong { font: italic 600 24px/1.15 var(--serif); color: var(--gold); }
.guide-card:hover strong, .guide-card:focus-visible strong { text-decoration: underline; }
/* a single guide: picture and text side by side on wider screens */
@media (min-width: 760px) {
  .guide-cards:has(> .guide-card:only-child) { grid-template-columns: minmax(0, 960px); }
  .guide-card:only-child { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 26px; }
  .guide-card:only-child strong { font-size: 30px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "stage" "setup"; }
  .stage { position: static; }
  .eds { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top nav { display: none; }
  /* the sections: one row, scrolling sideways */
  /* on a phone the watch and the calendar stay at the top while the settings below change them */
  .stage { position: relative; z-index: 5; gap: 8px; padding-block: 10px 8px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px)));
    background: var(--sticky); }
  .stage::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; pointer-events: none; background: linear-gradient(180deg, var(--sticky), transparent); }
  .watch.big { max-width: min(58vw, 300px); }
  .season-ctl { width: 100%; }
  .calh { display: none; }
  .calendar { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-inline: 20px; gap: 6px; }
  .calendar::-webkit-scrollbar { display: none; }
  .calendar button { flex: 0 0 46px; height: 54px; aspect-ratio: auto; scroll-snap-align: center; }
  .dayout, .edition { padding-inline: 20px; text-align: center; font-size: 14px; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .help, .feats, .iso { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .top nav + details.lang { margin-left: auto; }
}
@media (max-width: 960px) and (max-height: 760px) { .watch.big { max-width: min(42vw, 220px); } }
/* phones in the settings (page.js watchCompact): the stage as one narrow row fixed at the top: the watch on the left,
   the chosen day, the display switch and the edition beside it, the calendar in one sideways row under them; the tabs
   stick under it, the header slides away (the store bar hides in page.js) */
@media (max-width: 960px) {
  .top { transition: transform 0.25s; }
  body.compact .top { transform: translateY(-100%); }
  .stage-ph { grid-area: stage; }
  body.compact .stage { position: fixed; top: 0; left: 0; right: 0; z-index: 25; margin: 0; padding: 8px 0 8px;
    grid-template-columns: 150px minmax(0, 1fr); grid-template-areas: "watch day" "watch under" "cal cal"; align-items: center; justify-items: start;
    gap: 4px 22px; border-bottom: 1px solid var(--rim); }
  body.compact .watch.big { grid-area: watch; width: 150px; max-width: 150px; margin-left: max(16px, env(safe-area-inset-left, 0px)); }
  body.compact .watch.big::before { display: none; }
  body.compact .season-ctl { display: contents; }
  body.compact .dayout { grid-area: day; align-self: end; padding: 0 16px 0 0; text-align: left; font-size: 13px; line-height: 1.35; min-height: 0; }
  body.compact .calendar { grid-area: cal; width: 100%; padding-inline: 16px; margin-top: 6px; }
  body.compact .calendar button { flex-basis: 40px; height: 44px; }
  body.compact .under { grid-area: under; align-self: start; justify-content: flex-start; gap: 6px 12px; padding-right: 16px; }
  body.compact .disp button { min-height: 40px; padding: 6px 10px; font-size: 12px; }
  body.compact .edition { padding: 0; text-align: left; font-size: 13px; line-height: 1.35; }
  body.compact .tabs { position: sticky; top: var(--compact-h, 0px); z-index: 6; background: var(--sticky); }
}
@media (max-width: 560px) {
  h1 { font-size: clamp(38px, 11vw, 52px); }   /* the long headlines (German) in two lines, the watch higher */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding-block: 64px; }
  .bar-in .bar-name { display: none; } .bar-in { padding-left: 8px; gap: 6px; } .bar-in .btn { min-width: 104px; padding: 0 16px; font-size: 15px; }
  /* "Connect IQ Store" above the buttons on phones, where the name beside them does not fit */
  .bar-in { flex-wrap: wrap; justify-content: center; border-radius: 26px; padding: 6px 8px 8px; row-gap: 4px; }
  .bar-in .bar-name { display: block; flex: 0 0 100%; text-align: center; font-size: 0; }
  .bar-in .bar-name small { display: block; font-size: 11px; letter-spacing: 0.04em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar { transition: none; } }

/* "Check your watch" in the editions (page.js checkWatch) */
.watchcheck { display: grid; gap: 8px; max-width: 520px; margin: 0 0 28px; }
.watchcheck label { font: 600 16px/1.3 var(--sans); color: var(--snow); }
.watchcheck input { width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; font: 400 16px/1.2 var(--sans); color: var(--snow); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--rim); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.watchcheck input::placeholder { color: var(--frost); opacity: 0.8; }
.watchcheck input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.check-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.check-out li { padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.2); color: var(--frost); }
.check-out li strong { color: var(--snow); font-weight: 600; }
.check-out li.yes::before, .check-out li.lite::before { content: "✓ "; color: var(--gold); }
.check-out li.none, .check-out li.more { background: none; padding-inline: 0; }
/* the store's QR code under each edition's button, on computers only (on a phone the button opens the store) */
.qr { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; }
.qr img { width: 104px; height: 104px; border-radius: 8px; background: #fff; flex: none; }
.qr figcaption { font-size: 13px; color: var(--frost); max-width: 22ch; line-height: 1.4; }
@media (max-width: 960px), (hover: none) { .qr { display: none; } }
/* the statistics opt-out on the privacy page (tools/site-src/stats.js, data-stats-optout) */
.optout { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--rim); background: transparent; color: var(--snow); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.optout:hover { border-color: var(--gold); }

/* transitions: colours of choices ease, a new settings section fades in, the compact row on a phone slides in */
.chip, .dot, .pick img, .pick span, .card span, .swatch img, .swatch span, .disp button, .tabs button, .calendar button, .btn {
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.panel.fade { animation: fade-in 0.15s ease-out; }
@keyframes slide-down { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
body.compact .stage { animation: slide-down 0.22s ease-out; }   /* body.compact only on phones (page.js PHONE) */
@media (prefers-reduced-motion: reduce) { .panel.fade, body.compact .stage { animation: none; }
  .chip, .dot, .pick img, .pick span, .card span, .swatch img, .swatch span, .disp button, .tabs button, .calendar button, .btn { transition: none; } }
/* visually hidden, read by screen readers */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
