/* Tunturi-Noitka — river & birch.
   Layout: alternating dark "river night" and light "birch bark" bands, a topographic
   contour texture on light bands, a dealt photo deck in the hero.
   Tokens are carried over from the approved Lovable design. */
:root {
  --birch:        oklch(95.2% .0124 91.52);   /* page ground */
  --birch-card:   oklch(97.8% .008 91.52);
  --birch-muted:  oklch(90.6% .024 91.52);
  --line:         oklch(82% .027 91.52);
  --ink:          oklch(32.32% .0316 186.09); /* deep river */
  --ink-soft:     oklch(46% .032 186.09);
  --river:        oklch(54.82% .0572 189.41); /* primary */
  --river-strong: oklch(45.4% .05 189.41);
  --night:        oklch(27.5% .03 186);       /* dark bands */
  --night-2:      oklch(32.5% .032 186);
  --on-night:     oklch(95.2% .0124 91.52);
  --on-night-soft:oklch(82% .02 120);
  --cloudberry:   oklch(78.05% .0822 93.59);  /* accent */
  --cloudberry-ink: oklch(32.32% .0316 186.09);
  --witch-red:    #e8412a;
  --focus:        oklch(78.05% .0822 93.59);

  --bg: var(--birch);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --card: var(--birch-card);
  --muted: var(--birch-muted);
  --contour: oklch(32.32% .0316 186.09 / .07);
  --feature: oklch(45.4% .05 189.41);

  --f-display: "Lora", "Iowan Old Style", Georgia, serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2.2rem, 1.7rem + 2.6vw, 3.8rem);
  --step-4: clamp(2.9rem, 2rem + 4.4vw, 5.8rem);

  --radius: 1rem;
  --radius-lg: 1.75rem;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --sec-pad: clamp(4rem, 3rem + 5vw, 8rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(20.5% .022 190);
    --fg: oklch(93% .014 91.52);
    --fg-soft: oklch(78% .02 120);
    --card: oklch(25% .026 188);
    --muted: oklch(23.5% .024 188);
    --line: oklch(38% .03 188);
    --night: oklch(16.5% .02 190);
    --night-2: oklch(22% .024 188);
    --river: oklch(68% .065 189);
    --river-strong: oklch(58% .06 189);
    --contour: oklch(93% .014 91.52 / .05);
    --feature: oklch(38% .05 189);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: oklch(20.5% .022 190);
  --fg: oklch(93% .014 91.52);
  --fg-soft: oklch(78% .02 120);
  --card: oklch(25% .026 188);
  --muted: oklch(23.5% .024 188);
  --line: oklch(38% .03 188);
  --night: oklch(16.5% .02 190);
  --night-2: oklch(22% .024 188);
  --river: oklch(68% .065 189);
  --river-strong: oklch(58% .06 189);
  --contour: oklch(93% .014 91.52 / .05);
  --feature: oklch(38% .05 189);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--cloudberry); color: var(--cloudberry-ink); padding: .6rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cloudberry); }
.eyebrow--serif { font-family: var(--f-display); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: var(--step-0); color: var(--river); }
.sec--dark .eyebrow--serif, .hero .eyebrow--serif { color: var(--cloudberry); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px;
  font: 700 .95rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--on-night); color: oklch(32.32% .0316 186.09); }
.btn--ghost { border-color: oklch(95% .012 91.5 / .4); color: var(--on-night); }
.btn--ghost:hover { border-color: var(--cloudberry); color: var(--cloudberry); }
.btn--gold { background: var(--cloudberry); color: var(--cloudberry-ink); }
.btn--gold:hover { background: oklch(84% .08 93.6); }
.btn--outline { border-color: var(--line); color: var(--fg); }
.btn--outline:hover { border-color: var(--river); color: var(--river); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-night);
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.topbar.is-scrolled { background: oklch(27.5% .03 186 / .88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 oklch(95% .012 91.5 / .08); }
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; color: var(--on-night); }
.brand__mark svg { height: 56px; width: auto; display: block; transition: height .3s ease; }
.topbar.is-scrolled .brand__mark svg { height: 44px; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: oklch(95% .012 91.5 / .86); transition: color .2s, background-color .2s; }
.nav a:hover, .nav a.is-active { color: var(--on-night); background: oklch(95% .012 91.5 / .1); }
.topbar__end { display: flex; align-items: center; gap: .75rem; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid oklch(95% .012 91.5 / .22); }
.lang a { min-width: 2.25rem; height: 2rem; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: oklch(95% .012 91.5 / .75); }
.lang a[aria-current="true"] { background: var(--on-night); color: oklch(32.32% .0316 186.09); }
.lang a:not([aria-current="true"]):hover { color: var(--on-night); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid oklch(95% .012 91.5 / .25); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-night); transition: transform .3s ease, top .3s ease; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .nav {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    flex-direction: column; gap: .25rem; padding: .75rem;
    background: oklch(27.5% .03 186 / .97); backdrop-filter: blur(14px);
    border-radius: var(--radius); border: 1px solid oklch(95% .012 91.5 / .1);
    box-shadow: 0 20px 40px oklch(15% .02 186 / .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .85rem 1rem; font-size: 1rem; }
  .topbar__end { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--on-night);
  padding-top: calc(76px + env(safe-area-inset-top, 0px) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: saturate(.8); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 40%, transparent 0%, var(--night) 75%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__text { display: grid; gap: 1.4rem; min-width: 0; }
.hero__title { font-size: var(--step-4); font-weight: 500; letter-spacing: -.025em; line-height: .98; }
.hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--on-night-soft); max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(1.2rem, 3vw, 2.5rem); margin: 1rem 0 0; padding-top: 1.4rem; border-top: 1px solid oklch(95% .012 91.5 / .14); }
.facts div { display: grid; gap: .15rem; }
.facts dt { font-family: var(--f-display); font-size: var(--step-2); line-height: 1; color: var(--cloudberry); font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; font-size: var(--step--1); color: var(--on-night-soft); }
.hero__place { position: relative; display: flex; align-items: center; gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--step--1); color: var(--on-night-soft); letter-spacing: .04em; }
.hero__place svg { width: 18px; height: 18px; fill: none; stroke: var(--cloudberry); stroke-width: 1.4; }

/* deck */
.deck { margin: 0; min-width: 0; position: relative; }
.deck__stage { position: relative; aspect-ratio: 4 / 3.15; max-width: 100%; }
.deck__card {
  position: absolute; inset: 0; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px -20px oklch(10% .02 186 / .6), 0 0 0 1px oklch(95% .012 91.5 / .08);
  transform-origin: 30% 110%;
  transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
  background: var(--night-2);
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card[data-pos="0"] { z-index: 4; opacity: 1; transform: none; }
.deck__card[data-pos="1"] { z-index: 3; opacity: .85; transform: translateX(4.5%) rotate(3deg) scale(.96); }
.deck__card[data-pos="2"] { z-index: 2; opacity: .5; transform: translateX(8.5%) rotate(5.5deg) scale(.92); }
.deck__card[data-pos="hide"] { z-index: 1; opacity: 0; transform: translateX(12%) rotate(7deg) scale(.9); }
.deck__card[data-pos="out"] { z-index: 5; opacity: 0; transform: translateX(-18%) rotate(-8deg) scale(1.02); }
.deck__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding-right: 8%; }
.deck__caption { font-family: var(--f-display); font-style: italic; font-size: var(--step-0); color: var(--on-night-soft); min-width: 0; }
.deck__ctrl { display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.deck__count { font-size: .8rem; letter-spacing: .08em; color: var(--on-night-soft); font-variant-numeric: tabular-nums; margin-right: .35rem; }
.deck__count b { color: var(--on-night); font-weight: 700; }
.deck__btn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; background: transparent; color: var(--on-night); border: 1px solid oklch(95% .012 91.5 / .28); transition: background-color .2s, color .2s, border-color .2s; }
.deck__btn:hover { background: var(--on-night); color: oklch(32.32% .0316 186.09); border-color: var(--on-night); }
.deck__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__lead { max-width: 40ch; }
  .deck__stage { aspect-ratio: 4 / 3.3; margin-right: 6%; }
  .deck__bar { padding-right: 0; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .deck__caption { font-size: .92rem; }
  .deck__count { display: none; }
}

/* ---------- sections ---------- */
.sec { position: relative; isolation: isolate; padding-block: var(--sec-pad); }
.sec--light { background: var(--bg); color: var(--fg); }
.sec--muted { background: var(--muted); color: var(--fg); }
.sec--dark { background: var(--night); color: var(--on-night); }
.sec--dark .sec__lead { color: var(--on-night-soft); }
.sec__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.sec__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .09; mix-blend-mode: luminosity; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec__head > div { display: grid; gap: .9rem; }
.sec__lead { color: var(--fg-soft); max-width: 46ch; font-size: var(--step-0); }
@media (max-width: 800px) { .sec__head { grid-template-columns: minmax(0, 1fr); } }

/* contour texture: drawn once in JS-free SVG, tinted by token via mask */
.contours::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--contour);
  -webkit-mask: url("../img/contours.svg") center / 1400px auto repeat;
          mask: url("../img/contours.svg") center / 1400px auto repeat;
}

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.price {
  display: grid; gap: 1.6rem; align-content: start;
  padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.price:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px oklch(32% .03 186 / .35); }
.price__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price__boats { display: inline-flex; gap: 5px; }
.price__boats svg { width: 30px; height: 14px; fill: currentColor; color: var(--river); }
.price--feature { background: var(--feature); border-color: transparent; color: var(--on-night); }
.price--feature .price__boats svg { color: var(--cloudberry); }
.price__rates { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.price--feature .price__rates { border-color: oklch(95% .012 91.5 / .2); }
.price__rates dt { font-size: var(--step--1); color: var(--fg-soft); }
.price--feature .price__rates dt { color: var(--on-night-soft); }
.price__rates dd { margin: .2rem 0 0; font-family: var(--f-display); font-size: var(--step-2); line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .btn { justify-self: start; }
.price--feature .btn--outline { border-color: oklch(95% .012 91.5 / .35); color: var(--on-night); }
.price--feature .btn--outline:hover { border-color: var(--cloudberry); color: var(--cloudberry); }
@media (max-width: 860px) { .prices { grid-template-columns: minmax(0, 1fr); } .price__rates dd { font-size: var(--step-2); } }

/* equipment */
.eq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.eq__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 30px 60px -25px oklch(8% .02 186 / .7); }
.eq__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; transition: transform 1.2s ease; }
.eq__photo:hover img { transform: scale(1.04); }
.eq__intro { display: grid; gap: 1.1rem; min-width: 0; }
.checks { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--on-night); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: oklch(78% .082 93.6 / .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23d6bf7b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.eq__grid { grid-column: 1 / -1; display: grid; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(1rem, 3vw, 2rem); }
.panel { padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: var(--radius-lg); background: oklch(95% .012 91.5 / .05); border: 1px solid oklch(95% .012 91.5 / .12); display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.panel h3 { font-size: var(--step-1); }
.panel--gold { background: var(--cloudberry); color: var(--cloudberry-ink); border-color: transparent; }
.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--on-night-soft); font-size: .97rem; }
.dots li { position: relative; padding-left: 1.1rem; }
.dots li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 999px; background: var(--cloudberry); }
.specs { margin: 0; display: grid; gap: .85rem; }
.specs div { display: grid; gap: .1rem; padding-bottom: .85rem; border-bottom: 1px solid oklch(32% .03 186 / .16); }
.specs div:last-child { border-bottom: 0; padding-bottom: 0; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; font-size: .95rem; opacity: .85; }
@media (max-width: 960px) {
  .eq { grid-template-columns: minmax(0, 1fr); }
  .eq__photo { aspect-ratio: 3 / 2; }
  .eq__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 640px) and (max-width: 960px) { .eq__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel--gold { grid-column: 1 / -1; } }

/* experiences */
.exp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.exp__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4.2; color: var(--on-night); isolation: isolate; background: var(--night-2); }
.exp__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.exp__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, oklch(18% .025 186 / .92) 0%, oklch(18% .025 186 / .55) 42%, transparent 72%); }
.exp__card:hover img { transform: scale(1.05); }
.exp__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.2rem, 2vw, 1.6rem); display: grid; gap: .45rem; }
.exp__body h3 { font-size: var(--step-2); }
.exp__body p { color: oklch(92% .015 100); font-size: .95rem; line-height: 1.5; min-height: 4.5em; }
@media (max-width: 560px) { .exp__body p { min-height: 0; } }
@media (max-width: 1000px) { .exp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .exp__card { aspect-ratio: 4 / 4.2; } }
@media (max-width: 560px) { .exp { grid-template-columns: minmax(0, 1fr); } .exp__card { aspect-ratio: 4 / 3.4; } }

/* about */
.about { position: relative; isolation: isolate; color: var(--on-night); padding-block: clamp(6rem, 5rem + 8vw, 12rem); overflow: hidden; background: var(--night); }
.about__bg { position: absolute; inset: 0; z-index: -1; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.about__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(20% .03 186 / .85) 0%, oklch(20% .03 186 / .55) 55%, oklch(20% .03 186 / .2) 100%); }
.about__inner { display: grid; gap: 1.5rem; }
.about__quote { margin: 0; }
.about__quote p { font-family: var(--f-display); font-style: italic; font-size: var(--step-3); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; max-width: 19ch; }
.about__text { max-width: 52ch; color: oklch(92% .015 100); font-size: var(--step-1); line-height: 1.55; }

/* steps */
.steps { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; position: relative; }
.steps__list::before { content: ""; position: absolute; top: 1.4rem; left: 1.4rem; right: 1.4rem; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.steps__list li { display: grid; gap: 1rem; align-content: start; position: relative; }
.steps__n { width: 2.8rem; height: 2.8rem; border-radius: 999px; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--river); color: var(--river); font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.steps__list li:last-child .steps__n { background: var(--feature); border-color: var(--feature); color: var(--on-night); }
.steps__list p { color: var(--fg-soft); max-width: 26ch; }
@media (max-width: 860px) {
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .steps__list::before { top: 1.4rem; bottom: 1.4rem; left: 1.4rem; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
  .steps__list li { grid-template-columns: auto 1fr; align-items: center; }
  .steps__list p { max-width: none; }
}

/* reviews */
.reviews .wrap { display: grid; gap: 1rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.review { margin: 0; padding: 2rem; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); display: grid; gap: 1rem; }
.review blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: var(--step-1); }
.review figcaption { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); }
@media (max-width: 700px) { .reviews__grid { grid-template-columns: minmax(0, 1fr); } }

/* terms */
.terms { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.terms > div:first-child { display: grid; gap: .9rem; position: sticky; top: 100px; }
.acc { display: grid; gap: .75rem; min-width: 0; }
.acc details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--f-display); font-size: var(--step-1); font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%234f8582' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s ease; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 1.4rem 1.35rem; color: var(--fg-soft); max-width: 65ch; }
@media (max-width: 860px) { .terms { grid-template-columns: minmax(0, 1fr); } .terms > div:first-child { position: static; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__intro { display: grid; gap: 1rem; }
.mini-steps { list-style: none; counter-reset: m; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; color: var(--on-night-soft); }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; align-items: baseline; }
.mini-steps li::before { content: counter(m, decimal-leading-zero); font-family: var(--f-display); color: var(--cloudberry); }
.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem;
  padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius-lg);
  background: var(--birch-card); color: oklch(32.32% .0316 186.09);
  box-shadow: 0 40px 80px -40px oklch(8% .02 186 / .7);
}
.field { display: grid; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%;
  min-height: 48px; padding: .7rem .9rem; border-radius: .7rem;
  border: 1.5px solid oklch(82% .027 91.52); background: oklch(99% .004 91.5);
  font: 500 1rem/1.4 var(--f-body); color: oklch(32.32% .0316 186.09);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
  color-scheme: light;
}
.field input[type="date"] { display: block; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field select { background: oklch(99% .004 91.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%234f8582' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right .8rem center / 14px no-repeat; padding-right: 2.4rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: oklch(54.82% .0572 189.41); box-shadow: 0 0 0 3px oklch(54.82% .0572 189.41 / .2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b4452f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: .88rem; color: oklch(46% .032 186.09); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__status { font-size: .95rem; font-weight: 600; min-width: 0; flex: 1 1 14rem; }
.form__status.is-ok { color: oklch(45.4% .05 189.41); }
.form__status.is-err { color: #a33a26; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.footer { background: var(--night); color: var(--on-night-soft); padding-block: 2.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); font-size: var(--step--1); border-top: 1px solid oklch(95% .012 91.5 / .08); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.footer__mark { color: var(--on-night); }
.footer__mark svg { height: 40px; width: auto; display: block; }
.footer__top { margin-left: auto; text-decoration: none; font-weight: 700; color: var(--on-night); }
.footer__top:hover { color: var(--cloudberry); }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .8s cubic-bezier(.22,1,.36,1) both; }
  .hero__text > * { animation: rise .9s cubic-bezier(.22,1,.36,1) both; }
  .hero__text > *:nth-child(2) { animation-delay: .06s; }
  .hero__text > *:nth-child(3) { animation-delay: .12s; }
  .hero__text > *:nth-child(4) { animation-delay: .18s; }
  .hero__text > *:nth-child(5) { animation-delay: .24s; }
  .deck { animation: deal 1.1s .15s cubic-bezier(.22,1,.36,1) both; }
  @keyframes rise { from { opacity: .001; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes deal { from { opacity: .001; transform: translateX(10%) rotate(6deg); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
