/* Dizzy Adventure, v2. The page is the Code-Kraker route map: teal ground with beige contours,
   beige paper for reading, eTrex orange only for the route, the waypoint numbers and the quote. */

@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ground: #F4EADF;
  --ink: #10201F;
  --accent: #F26A1B;
  --teal: #0A4545;
  --teal-deep: #062F2F;
  --teal-line: #1B5B5A;
  --beige: #E6CDB2;
  --muted: #4A5B59;
  --orange-press: #D9550B;
  --radius: 4px;
  --gutter: clamp(20px, 5vw, 64px);
  --head-h: 76px;
  --max: 1200px;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-size: 1.0625rem; line-height: 1.6; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---- type ---------------------------------------------------------------- */

h1, h2, h3 { font-weight: 800; letter-spacing: 0.005em; text-transform: uppercase; }
h1 { font-size: clamp(2.9rem, 6vw, 4.7rem); line-height: 1; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; }
.readout + h1, .readout + h2, .readout + h3 { margin-top: 1rem; }
p + p { margin-top: 0.9em; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.5; }

/* The GPS readout: coordinates, waypoint numbers, small labels. */
.readout {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.wp-num { color: var(--accent); }

/* ---- links and buttons ---------------------------------------------------- */

a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease; }
a:hover { text-decoration-thickness: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.3em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
}
.btn-go { background: var(--accent); color: var(--ink); }
.btn-go:hover { background: #FF8540; text-decoration: none; }
.btn-go:active { background: var(--orange-press); transform: translateY(1px); }
.btn-line { border-color: currentColor; color: inherit; }
.btn-line:hover { background: rgba(230, 205, 178, 0.14); text-decoration: none; }
.on-paper .btn-line:hover, .on-sand .btn-line:hover { background: rgba(10, 69, 69, 0.08); }
.btn-line:active { transform: translateY(1px); }
.btn-go::after, .arrow::after { content: "→"; font-weight: 400; }

.text-link { font-weight: 600; color: inherit; }
.text-link:hover { color: var(--accent); }
.on-paper .text-link:hover, .on-sand .text-link:hover { color: var(--orange-press); }

/* ---- header --------------------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--teal);
  color: var(--beige);
  border-bottom: 1px solid var(--teal-line);
}
.head-in { display: flex; align-items: center; gap: 1.5rem; height: var(--head-h); }
.brand { display: flex; align-items: flex-start; gap: 0.8rem; text-decoration: none; color: var(--beige); align-self: stretch; }
.brand-tile {
  display: grid;
  place-items: center;
  width: 84px;
  height: 92px;
  background: var(--beige);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 6px 0 -2px rgba(6, 47, 47, 0.5);
}
.brand-tile img { width: 68px; height: 68px; }
.brand:hover .brand-tile { background: #F0DCC6; }
.brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; align-self: center; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav ul { display: flex; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav ul a { padding: 0.4em 0; border-bottom: 2px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--accent); }
.nav ul a[aria-current="page"] { border-bottom-color: var(--beige); }
.nav .lang { display: flex; gap: 0.2rem; font-size: 0.85rem; letter-spacing: 0.1em; }
.nav .lang a, .nav .lang span { padding: 0.35em 0.5em; border-radius: var(--radius); }
.nav .lang span { background: rgba(230, 205, 178, 0.16); }
.nav .lang a:hover { background: rgba(230, 205, 178, 0.12); }
.nav .btn { min-height: 44px; padding: 0.5em 1em; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .brand-name { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin-left: auto;
    min-height: 44px;
    padding: 0.4em 0.9em;
    border: 2px solid var(--beige);
    border-radius: var(--radius);
    color: var(--beige);
    font-weight: 600;
    cursor: pointer;
  }
  .nav-toggle:hover { background: rgba(230, 205, 178, 0.14); }
  .nav-toggle:active { transform: translateY(1px); }
  .nav {
    display: none;
    position: absolute;
    top: var(--head-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.2rem var(--gutter) 1.6rem;
    background: var(--teal-deep);
    border-bottom: 3px solid var(--accent);
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 0.75em 0; border-bottom: 1px solid var(--teal-line); font-size: 1.1rem; }
  .nav .btn { justify-content: center; }
  .brand-tile { width: 70px; height: 80px; }
  .brand-tile img { width: 56px; height: 56px; }
}

/* ---- map ground ---------------------------------------------------------- */

.map-ground {
  position: relative;
  background-color: var(--teal);
  background-image: url("img/contours.svg");
  background-size: cover;
  background-position: center;
  color: var(--beige);
  isolation: isolate;
}
.map-ground::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 69, 69, 0.92) 0%, rgba(10, 69, 69, 0.55) 55%, rgba(10, 69, 69, 0.35) 100%);
}

/* ---- home hero ----------------------------------------------------------- */

.hero { padding: clamp(2.6rem, 6vw, 4.5rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero .readout { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--beige); opacity: 0.9; }
.hero .readout b { color: var(--accent); font-weight: 600; }
.hero h1 { margin-top: 1.3rem; color: #F7EBDD; }
.hero .lead { margin-top: 1.3rem; max-width: 34rem; color: #EADBC9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* The route: four badges as waypoints on the orange line. */
.route { position: relative; aspect-ratio: 600 / 560; width: 100%; max-width: 620px; justify-self: end; }
.route svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 14; }
.route-reveal { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s 0.2s cubic-bezier(.45,.05,.35,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.camp { fill: var(--accent); }
.camp-label { fill: var(--beige); font: 600 15px var(--font-body); letter-spacing: 0.14em; }
.route ol { position: absolute; inset: 0; }
.wp {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(84px, 19%, 124px);
  transform: translate(-50%, -50%);
  animation: pin 0.6s cubic-bezier(.3,1.6,.5,1) backwards;
  animation-delay: var(--d);
}
@keyframes pin { from { transform: translate(-50%, -64%); } to { transform: translate(-50%, -50%); } }
.wp a { display: block; text-decoration: none; text-align: center; color: var(--beige); }
.wp img { width: 100%; height: auto; transition: transform .2s ease; filter: drop-shadow(0 4px 0 rgba(6, 47, 47, 0.6)); }
.wp a:hover img { transform: scale(1.06) rotate(-3deg); }
.wp a:active img { transform: scale(0.98); }
.wp span { display: block; margin-top: 0.35rem; font-family: var(--font-heading); font-weight: 800; font-size: clamp(0.95rem, 1.6vw, 1.2rem); text-transform: uppercase; line-height: 1; white-space: nowrap; }
.wp span b { color: var(--accent); font-family: var(--font-body); font-size: 0.75em; letter-spacing: 0.12em; margin-right: 0.3em; }
.wp a:hover span { color: #fff; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(230, 205, 178, 0.35); }
.facts li { padding: 1.1rem 1.2rem 1.3rem 0; }
.facts li + li { padding-left: 1.2rem; border-left: 1px solid rgba(230, 205, 178, 0.35); }
.facts strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; color: #F7EBDD; }
.facts span { display: block; margin-top: 0.3rem; font-size: 0.95rem; color: #E3D1BD; }
.facts .phone strong { font-size: clamp(1.35rem, 2.2vw, 1.75rem); padding-top: 0.25em; }
.facts a { text-decoration: none; }
.facts a:hover strong { color: var(--accent); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .route { justify-self: center; max-width: 520px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(230, 205, 178, 0.35); }
}

/* ---- page head (inner pages) --------------------------------------------- */

.page-head { padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.6rem); }
.page-head .readout { color: var(--beige); opacity: 0.9; }
.page-head h1 { margin-top: 1.25rem; color: #F7EBDD; max-width: 14ch; }
.page-head .lead { margin-top: 1.1rem; max-width: 40rem; color: #EADBC9; }
.page-head .hero-actions { margin-top: 1.5rem; }

.index { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.index a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.4em 0.9em 0.4em 0.5em; border: 1px solid rgba(230, 205, 178, 0.45); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.index a:hover { border-color: var(--accent); background: rgba(242, 106, 27, 0.12); }
.index img { width: 34px; height: 34px; }
.index b { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.12em; }

/* ---- sections ------------------------------------------------------------- */

.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band-tight { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.on-paper { background: var(--ground); color: var(--ink); }
.on-sand { background: #EBDCCB; color: var(--ink); }
.on-teal { background: var(--teal); color: var(--beige); }
.on-teal h2, .on-teal h3 { color: #F7EBDD; }

.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem 1.2rem; align-items: end; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head .readout { grid-column: 1 / -1; color: var(--muted); }
.on-teal .sec-head .readout { color: var(--beige); opacity: .85; }

/* Diamond bullets: the badge's shape as a list marker. */
.diamonds li { position: relative; padding-left: 1.6rem; }
.diamonds li + li { margin-top: 0.55rem; }
.diamonds li::before { content: ""; position: absolute; left: 0.2rem; top: 0.55em; width: 0.6rem; height: 0.6rem; border: 2px solid var(--accent); border-radius: 2px; transform: rotate(45deg); }

/* Intro split on the home page. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.statement { font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 0.95; color: var(--teal); }
.statement em { font-style: normal; color: var(--accent); }
.prose { max-width: 38rem; }
.prose .text-link { display: inline-block; margin-top: 1.2rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Games as waypoint rows (home). */
.legs { border-top: 2px solid var(--teal); }
.leg { display: grid; grid-template-columns: 5.5rem 88px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid rgba(10, 69, 69, 0.25); }
.leg .num { font-family: var(--font-heading); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.leg .badge { width: 88px; height: 88px; background: var(--teal); border-radius: var(--radius); padding: 8px; }
.leg h3 { color: var(--teal); }
.leg p { margin-top: 0.35rem; color: var(--muted); max-width: 40rem; }
.leg .text-link { white-space: nowrap; }
.leg:hover .badge { background: var(--teal-deep); }
@media (max-width: 760px) {
  .leg { grid-template-columns: 64px minmax(0, 1fr); gap: 0.5rem 1rem; }
  .leg .num { display: none; }
  .leg .badge { width: 64px; height: 64px; grid-row: span 2; align-self: start; padding: 6px; }
  .leg .text-link { grid-column: 2; justify-self: start; }
}

/* A photo band with its text beside. */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.feature.flip .feature-img { order: 2; }
.feature-img { position: relative; }
.feature-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.feature-img .tag { position: absolute; left: 1rem; bottom: 1rem; padding: 0.4em 0.7em; background: var(--teal-deep); color: var(--beige); border-radius: var(--radius); }
.feature h2 { margin-bottom: 1.1rem; }
.feature .diamonds { margin-top: 1.2rem; }
.feature .hero-actions { margin-top: 1.6rem; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-img { order: 0; }
}

/* Proof: rating, clients, quote. */
.proof { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.score { font-family: var(--font-heading); font-weight: 800; font-size: clamp(5rem, 12vw, 8.5rem); line-height: 0.85; color: #F7EBDD; }
.score small { font-size: 0.35em; color: var(--beige); margin-left: 0.15em; }
.score { margin-top: 0.6rem; }
.score-note { margin-top: 0.7rem; }
.clients { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.clients li { padding: 0.45em 0.9em; border: 1px solid rgba(230, 205, 178, 0.45); border-radius: var(--radius); font-weight: 600; }
.quote { margin-top: 2rem; padding-left: 1.4rem; border-left: 3px solid var(--accent); }
.quote p { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; text-transform: uppercase; color: #F7EBDD; }
.quote footer { margin-top: 0.6rem; }
.clients-ink li { border-color: rgba(10, 69, 69, 0.35); color: var(--teal); }
.quote-ink p { color: var(--teal); }
.quote-ink footer { color: var(--muted); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; } }

/* Call to action strip. */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { max-width: 18ch; }
.cta .hero-actions { margin-top: 0; }

/* ---- games page ---------------------------------------------------------- */

.game { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.game-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.4rem; align-items: center; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.game-head .badge { width: clamp(84px, 11vw, 128px); height: auto; padding: 10px; background: var(--teal); border-radius: var(--radius); }
.on-teal .game-head .badge { background: var(--teal-deep); }
.game-head .readout { color: var(--muted); }
.on-teal .game-head .readout { color: var(--beige); opacity: .85; }
.game-head .readout + h2 { margin-top: 1rem; }
.game-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.game-body h3 { margin-bottom: 0.9rem; }
.game-body .hero-actions { margin-top: 1.8rem; }
.facts-list { display: grid; gap: 0; border-top: 2px solid currentColor; }
.facts-list div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(10, 69, 69, 0.22); }
.on-teal .facts-list div { border-bottom-color: rgba(230, 205, 178, 0.28); }
.facts-list dt { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.2em; }
.steps { counter-reset: step; }
.steps li { position: relative; padding: 0 0 1.1rem 3.2rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -0.1em; font-family: var(--font-heading); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--accent); }
.steps li::after { content: ""; position: absolute; left: 0.9rem; top: 1.9rem; bottom: 0.3rem; border-left: 2px dotted var(--accent); }
.steps li:last-child::after { display: none; }
@media (max-width: 860px) {
  .game-body { grid-template-columns: 1fr; }
  .facts-list div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* Gallery with a viewer. */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.8rem; margin-top: clamp(2rem, 5vw, 3rem); }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); grid-column: span 4; background: var(--teal-deep); }
.gallery a.wide { grid-column: span 8; }
.gallery a.half { grid-column: span 6; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease, opacity .2s ease; }
.gallery a.tall img { aspect-ratio: auto; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:active img { opacity: .85; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a, .gallery a.half { grid-column: span 1; }
  .gallery a.wide { grid-column: span 2; }
}
.viewer { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 92vh; }
.viewer::backdrop { background: rgba(6, 47, 47, 0.9); }
.viewer img { max-width: 100%; max-height: 86vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.viewer button { position: fixed; top: 1rem; right: 1rem; min-height: 44px; padding: 0.4em 1em; background: var(--accent); color: var(--ink); border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.viewer button:hover { background: #FF8540; }

/* The Spy Game file: no photo, the badge carries it. */
.dossier { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--teal-deep); color: var(--beige); border-radius: var(--radius); border-top: 4px solid var(--accent); }
.dossier .readout { color: var(--accent); }
.dossier h3 { margin: 0.5rem 0 1rem; color: #F7EBDD; }
.dossier .diamonds li::before { border-color: var(--beige); }
.dossier .seal { position: absolute; right: 1rem; top: -2.2rem; width: 96px; height: 96px; }

/* ---- stay, about --------------------------------------------------------- */

.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.person { padding: 1.3rem 1.4rem; border: 1px solid rgba(10, 69, 69, 0.3); border-radius: var(--radius); background: #FBF5EE; }
.person h3 { color: var(--teal); }
.person p { margin-top: 0.3rem; color: var(--muted); }
.person a { display: inline-block; margin-top: 0.7rem; }

.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.place { padding: 1.4rem; border-top: 3px solid var(--accent); background: rgba(6, 47, 47, 0.45); border-radius: 0 0 var(--radius) var(--radius); }
.place h3 { margin: 0.4rem 0 0.6rem; }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }

/* ---- quote page ----------------------------------------------------------- */

.quote-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: grid; gap: 0.35rem; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label, .check span { font-weight: 600; font-size: 0.95rem; }
.field label i { font-style: normal; color: var(--orange-press); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65em 0.8em;
  border: 1.5px solid #9DAAA6;
  border-radius: var(--radius);
  background: #FFFCF8;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(242, 106, 27, 0.45); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field .err { color: #B3261E; font-size: 0.9rem; font-weight: 600; }
.check { display: flex; align-items: center; gap: 0.7rem; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--teal); }
.check:hover span { color: var(--teal); }
.check input:hover { outline: 2px solid rgba(242, 106, 27, 0.5); outline-offset: 1px; }
.form-note { font-size: 0.92rem; color: var(--muted); }
.form-ok { padding: 1rem 1.2rem; border-left: 4px solid var(--accent); background: #FFF6EC; font-weight: 600; }
.form button { justify-self: start; }

.contact-card { padding: clamp(1.4rem, 3vw, 2rem); background: var(--teal); color: var(--beige); border-radius: var(--radius); }
.contact-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #F7EBDD; }
.contact-card .lines { margin-top: 1.1rem; display: grid; gap: 0.9rem; }
.contact-card .lines a { font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.contact-card .lines a:hover { color: var(--accent); }
.contact-card .readout { opacity: .8; display: block; }
.addr { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(230, 205, 178, 0.3); }
.addr + .addr { margin-top: 1.2rem; }
.addr h3 { font-size: 1.35rem; color: #F7EBDD; }
.addr p { margin-top: 0.3rem; }
.routes { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.6rem; }
.routes a { font-weight: 600; }
.routes a:hover { color: var(--accent); }
.map { margin-top: 1rem; }
.map img { width: 100%; max-width: 760px; height: auto; border-radius: var(--radius); }

/* ---- legal pages ---------------------------------------------------------- */

.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2rem 0 0.8rem; color: var(--teal); }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: minmax(10rem, auto) 1fr; gap: 0.5rem 1.5rem; }
.legal dt { font-weight: 600; }
.legal ul { list-style: none; }
.legal li { position: relative; padding-left: 1.4rem; }
.legal li::before { content: ""; position: absolute; left: 0.15rem; top: 0.6em; width: 0.5rem; height: 0.5rem; border: 2px solid var(--accent); transform: rotate(45deg); }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 0.1rem; } .legal dd { margin-bottom: 0.6rem; } }

/* ---- footer ---------------------------------------------------------------- */

.site-foot { background: var(--teal-deep); color: var(--beige); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.foot-grid h2 { font-size: 1.15rem; letter-spacing: 0.08em; margin-bottom: 0.8rem; color: #F7EBDD; }
.foot-grid li + li { margin-top: 0.35rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent); text-decoration: underline; }
.foot-brand { display: flex; gap: 1rem; align-items: flex-start; }
.foot-brand .brand-tile { width: 64px; height: 64px; border-radius: var(--radius); box-shadow: none; flex: none; }
.foot-brand .brand-tile img { width: 52px; height: 52px; }
.foot-brand strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1; margin-bottom: 0.4rem; color: #F7EBDD; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--teal-line); font-size: 0.9rem; }
.foot-legal a:hover { color: var(--accent); }
.foot-legal .credit { margin-left: auto; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal .credit { margin-left: 0; }
}

/* ---- reveal (only below the first screen, added by script.js) ------------ */

.js .reveal-wait { opacity: 0; transform: translateY(18px); }
.js .reveal-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
