/* ==========================================================================
   Agterpaaie Adventures — landing page
   ========================================================================== */

:root {
  /* Brand (sampled from the logo) */
  --ochre: #a65b3a;
  --ochre-600: #8e4b2f;
  --ochre-300: #d08a63;
  --olive: #4e6b2b;
  --olive-300: #9cbb6a;

  /* Neutrals */
  --ink: #14120f;
  --ink-2: #1e1b17;
  --ink-3: #2a2621;
  --sand: #f5f0e7;
  --sand-2: #ebe3d5;
  --stone: #d9cfbf;
  --muted: #6c6358;
  --white: #fffdf9;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgb(20 18 15 / .06), 0 12px 32px -12px rgb(20 18 15 / .18);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Spam honeypot on the registration form — hidden from people, filled in by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--ochre-300);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ochre);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
}

.sub-green { color: var(--olive-300); }
.sub-ochre { color: var(--ochre-300); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ochre);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 .95rem/1 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: 0 10px 24px -10px rgb(166 91 58 / .7); }
.btn-primary:hover { --btn-bg: var(--ochre-600); }

.btn-ghost {
  --btn-bg: rgb(255 255 255 / .06);
  --btn-bd: rgb(255 255 255 / .5);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }

.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { --btn-bg: var(--ochre); }

.btn-ghost-dark { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--stone); }
.btn-ghost-dark:hover { --btn-bd: var(--ink); }

.btn-sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 64px;
  background: rgb(20 18 15 / .86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgb(255 255 255 / .06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark { width: 52px; height: auto; }
.brand-word { width: 150px; height: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a:not(.btn) {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  opacity: .88;
  transition: opacity .2s;
}
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--ochre-300);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-menu a:not(.btn):hover { opacity: 1; }
.nav-menu a:not(.btn):hover::after,
.nav-menu a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / .1);
  color: inherit;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -1; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease);
  will-change: opacity, transform;
}
.hero-video.is-active,
.hero-video.is-leaving { animation: drift 12s linear forwards; }
.hero-video.is-active { opacity: 1; }
@keyframes drift {
  from { transform: scale(1.14); }
  to   { transform: scale(1.02); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgb(20 18 15 / .15), rgb(20 18 15 / .55) 100%),
    linear-gradient(180deg, rgb(20 18 15 / .65) 0%, rgb(20 18 15 / .1) 22%, rgb(20 18 15 / .15) 55%, rgb(20 18 15 / .9) 100%);
}

/* Film grain: masks the upscaled portrait footage on large screens */
.hero-grain {
  position: absolute;
  inset: -50%;
  opacity: .13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.hero-content {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 24px;
}

.hero-mark {
  width: clamp(110px, 14vw, 170px);
  height: auto;
  margin-bottom: clamp(18px, 3vh, 30px);
  filter: drop-shadow(0 6px 18px rgb(0 0 0 / .45));
}

.hero-title { width: min(88vw, 860px); }
.hero-title img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 24px rgb(0 0 0 / .45));
}

.hero-sub {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(14px, 2.4vh, 22px);
  font: 700 clamp(.82rem, 1.6vw, 1.15rem)/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgb(0 0 0 / .5);
}
.sub-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  opacity: .6;
}

.hero-lede {
  max-width: 38ch;
  text-wrap: balance;
  margin-top: clamp(22px, 4vh, 36px);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.5;
  color: rgb(255 253 249 / .9);
  text-shadow: 0 2px 16px rgb(0 0 0 / .55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(26px, 4.5vh, 40px);
}

/* Entrance */
.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1s var(--ease) forwards;
}
.hero-content > :nth-child(1) { animation-delay: .1s; }
.hero-content > :nth-child(2) { animation-delay: .25s; }
.hero-content > :nth-child(3) { animation-delay: .4s; }
.hero-content > :nth-child(4) { animation-delay: .55s; }
.hero-content > :nth-child(5) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Clip progress bar */
.hero-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
}

.clip-progress {
  flex: 1;
  display: flex;
  gap: 6px;
  max-width: 420px;
}
.clip-seg {
  position: relative;
  flex: 1;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.clip-seg::before,
.clip-seg span {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
}
.clip-seg::before { background: rgb(255 255 255 / .28); transition: background-color .2s; }
.clip-seg:hover::before { background: rgb(255 255 255 / .5); }
.clip-seg span {
  background: var(--white);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.clip-seg.is-done span { --p: 1; }

.clip-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.clip-count {
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  opacity: .8;
}
.clip-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1.5px solid rgb(255 255 255 / .4);
  border-radius: 50%;
  background: rgb(255 255 255 / .06);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background-color .2s, border-color .2s;
}
.clip-toggle:hover { background: rgb(255 255 255 / .18); border-color: var(--white); }
.clip-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.clip-toggle .icon-play { display: none; }
.clip-toggle.is-paused .icon-play { display: block; }
.clip-toggle.is-paused .icon-pause { display: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgb(255 255 255 / .55);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.definition {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.definition::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--ochre);
}
.def-word {
  font: 800 clamp(2rem, 4vw, 2.9rem)/1 var(--font-display);
  font-stretch: 110%;
  letter-spacing: -.01em;
}
.def-meta { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.def-text {
  margin-top: 18px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.about-copy h2 { margin-bottom: 22px; }
.about-copy p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(56px, 8vw, 96px);
}
.feature {
  padding: 28px 24px;
  border-top: 2px solid var(--ink);
}
.feature svg {
  width: 34px; height: 34px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--ochre);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { margin-bottom: 10px; text-transform: uppercase; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Tours ---------- */
.tours { background: var(--sand-2); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px;
  padding: 0 18px;
  border: 1.5px solid var(--stone);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 .88rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: translate .4s var(--ease), box-shadow .4s var(--ease);
}
.js .tour-card.reveal {
  transition: opacity .9s var(--ease), transform .9s var(--ease), translate .4s var(--ease), box-shadow .4s var(--ease);
}
.tour-card:hover {
  translate: 0 -4px;
  box-shadow: 0 1px 2px rgb(20 18 15 / .06), 0 24px 48px -16px rgb(20 18 15 / .28);
}
.tour-card[hidden] { display: none; }

.tour-media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--stone);
}
.tour-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.tour-card:hover .tour-media img { transform: scale(1.05); }
.tour-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgb(20 18 15 / .3));
}

.tour-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--ochre);
  color: var(--white);
  font: 600 .72rem/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tour-badge-olive { background: var(--olive); }

.tour-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 22px;
}
.tour-region {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.tour-body h3 {
  margin-top: 8px;
  font-size: 1.45rem;
  text-transform: uppercase;
}
.tour-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}

.tour-level {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgb(20 18 15 / .55);
  backdrop-filter: blur(8px);
  color: var(--white);
  font: 600 .78rem/1 var(--font-body);
}
.tour-level .level i { background: rgb(255 255 255 / .3); }
.tour-level .level[data-level="1"] i:nth-child(-n+1),
.tour-level .level[data-level="2"] i:nth-child(-n+2),
.tour-level .level[data-level="3"] i:nth-child(-n+3) { background: var(--ochre-300); }

.tour-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0 0;
  padding: 16px 0;
  border-block: 1px solid var(--sand-2);
}
.tour-meta dt {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.tour-meta dd {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}

.level { display: inline-flex; gap: 2px; }
.level i {
  width: 4px; height: 12px;
  border-radius: 1px;
}

.tour-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.tour-date { font-weight: 600; font-size: .95rem; }
.tour-price { color: var(--muted); font-size: .85rem; }
.tour-price strong { color: var(--ink); font-weight: 600; }

.tours-empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

/* ---------- How it works ---------- */
.how {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.how-bg {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(60%, 820px);
  background: url("assets/img/cliff-gallery.jpg") center / cover no-repeat;
  opacity: .4;
  filter: saturate(.8);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.how .eyebrow { color: var(--ochre-300); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid rgb(255 255 255 / .12);
  border-radius: var(--radius);
  background: rgb(255 255 255 / .04);
  backdrop-filter: blur(6px);
}
.step-num {
  display: block;
  margin-bottom: 26px;
  font: 800 2.6rem/1 var(--font-display);
  font-stretch: 125%;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ochre-300);
}
.step h3 { margin-bottom: 12px; text-transform: uppercase; }
.step p { color: rgb(255 253 249 / .72); font-size: .97rem; }

.included {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgb(255 255 255 / .12);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px 40px;
  align-items: start;
}
.included h3 { text-transform: uppercase; font-size: 1.1rem; }
.included ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.included li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: rgb(255 253 249 / .85);
  font-size: .95rem;
}
.included li::before {
  content: "";
  flex: none;
  width: 14px; height: 8px;
  border-left: 2px solid var(--olive-300);
  border-bottom: 2px solid var(--olive-300);
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- Register ---------- */
.register { background: var(--sand); }

.register-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.register-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.register-intro h2 { margin-bottom: 20px; }
.register-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

.register-points {
  display: grid;
  gap: 18px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.register-points li {
  display: grid;
  gap: 2px;
  padding-left: 20px;
  border-left: 2px solid var(--ochre);
}
.register-points strong { font-weight: 600; }
.register-points span { color: var(--muted); font-size: .93rem; }

.register-contact { font-size: .93rem; color: var(--muted); }
.register-contact a { color: var(--ochre); font-weight: 600; }

.register-card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form { display: grid; gap: 22px; }
.form[hidden] { display: none; }
.form-row { display: grid; gap: 22px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-tour { grid-template-columns: 1fr 150px; }

.field { display: grid; align-content: start; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend {
  padding: 0;
  font-size: .85rem;
  font-weight: 600;
}
.field legend { margin-bottom: 8px; }
.optional { margin-left: 6px; font-weight: 400; color: var(--muted); }

.field input:not([type="radio"]):not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: #a39a8e; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bfb3a1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ochre);
  box-shadow: 0 0 0 4px rgb(166 91 58 / .14);
}
.field [aria-invalid="true"] { border-color: #b3261e !important; }

.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.stepper:focus-within { border-color: var(--ochre); box-shadow: 0 0 0 4px rgb(166 91 58 / .14); }
.stepper button {
  border: 0;
  background: var(--sand);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color .2s;
}
.stepper button:hover { background: var(--sand-2); }
.field .stepper input {
  min-height: 47px;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.segmented label { position: relative; cursor: pointer; }
.segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  transition: border-color .2s, background-color .2s, color .2s;
}
.segmented label:hover span { border-color: #bfb3a1; }
.segmented input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.segmented input:focus-visible + span { outline: 2px solid var(--ochre); outline-offset: 2px; }
.segmented.is-invalid span { border-color: #b3261e; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem !important;
  font-weight: 400 !important;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ochre);
  cursor: pointer;
}

.field-error {
  min-height: 0;
  font-size: .82rem;
  color: #b3261e;
}
.field-error:empty { display: none; }

.form-status { font-size: .9rem; color: #b3261e; text-align: center; }
.form-status:empty { display: none; }

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgb(255 255 255 / .4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.is-loading .btn-spinner { display: block; }
.is-loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 32px 8px;
  text-align: center;
  outline: none;
}
.form-success[hidden] { display: none; }
.form-success svg {
  width: 64px; height: 64px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--olive);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw .8s var(--ease) forwards; }
.form-success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 1.8rem; text-transform: uppercase; }
.form-success p { max-width: 42ch; color: var(--muted); }
.form-success p strong { color: var(--ink); }
.form-success .btn { margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand-2); }
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-more { margin-top: 20px; color: var(--muted); }
.faq-more a { color: var(--ochre); font-weight: 600; }

.faq-list { border-top: 1px solid var(--stone); }
.faq-list details { border-bottom: 1px solid var(--stone); }
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font: 700 1.1rem/1.3 var(--font-display);
  font-stretch: 105%;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--white);
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 48px 24px 0;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ochre);
  color: var(--white);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(48px, 6vw, 72px);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta-band .btn-primary {
  --btn-bg: var(--ink);
  box-shadow: none;
}
.cta-band .btn-primary:hover { --btn-bg: var(--white); --btn-fg: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgb(255 253 249 / .72);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
}
.footer-mark { width: 72px; height: auto; margin-bottom: 14px; }
.footer-word { width: 190px; height: auto; }
.footer-tag {
  margin-top: 10px;
  font: 700 .72rem/1 var(--font-display);
  font-stretch: 125%;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 8px;
}
.footer-nav a, .footer-contact a {
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { padding-top: 8px; text-align: right; }
.footer-base {
  padding-bottom: 24px;
  font-size: .85rem;
  color: rgb(255 253 249 / .5);
}
.footer-base p {
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / .1);
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; z-index: 2; }
  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgb(20 18 15 / .97);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; }
  .nav-menu a:not(.btn) {
    font: 800 1.8rem/1 var(--font-display);
    font-stretch: 115%;
    text-transform: uppercase;
  }
  .nav-menu .btn { min-height: 52px; padding: 0 32px; font-size: 1rem; }

  .brand-mark { width: 44px; }
  .brand-word { width: 124px; }

  .about-grid,
  .register-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .register-intro { position: static; }

  .steps { grid-template-columns: 1fr; }
  .included ul { grid-template-columns: 1fr 1fr; }
  .how-bg {
    width: 100%;
    height: 70%;
    opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent);
    mask-image: linear-gradient(180deg, #000, transparent);
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

@media (max-width: 600px) {
  .hero-bar { padding-bottom: 20px; }
  .clip-count { display: none; }
  .scroll-cue { display: none; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-sub { flex-direction: column; gap: 8px; letter-spacing: .26em; font-size: .8rem; }
  .sub-dot { display: none; }

  .features { grid-template-columns: 1fr; gap: 0; }
  .feature { padding: 24px 0; }

  .form-row-2,
  .form-row-tour { grid-template-columns: 1fr; }
  .segmented { grid-template-columns: 1fr; }
  .segmented span { justify-content: flex-start; padding-inline: 16px; }
  .included ul { grid-template-columns: 1fr; }

  .tour-meta { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .faq-list details p { padding-right: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-grain { display: none; }
  .hero-video.is-active { animation: none; transform: none; }
}
