/* =========================================================
   FARO DESIGN CONCEPTS — a night at the lighthouse
   A fixed 3D world behind the page. Bold capitals with
   serif-italic accents in the lamp's amber.
   ========================================================= */
:root {
  /* olive and terracotta: linen ground, deep garden olive, clay accents */
  --night: #efe7d8;          /* linen page ground */
  --night-2: #e4d9c4;        /* sand */
  --paper-rgb: 239, 231, 216;
  --card-rgb: 247, 241, 230;
  --ink: #2a2620;
  --ink-rgb: 42, 38, 32;
  --ink-2: #4c463c;
  --ink-3: #5f584c;
  --amber: #9a4828;          /* terracotta (dark enough for small text) */
  --amber-2: #c46a43;
  --olive: #2f4a3a;
  --olive-2: #24382c;
  --on-dark: #f4efe4;
  --line: rgba(42, 38, 32, 0.14);

  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; color-scheme: light; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--olive); color: var(--on-dark); }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 300; background: var(--amber); color: #000; padding: 10px 14px; }
.skip:focus { left: 10px; }

/* type: heavy capitals, serif italic accents */
.mega, .big { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.88; }
.mega { font-size: clamp(3.4rem, 1rem + 9.6vw, 11.5rem); }
.big { font-size: clamp(2.6rem, 1rem + 5vw, 6.4rem); }
.mega em, .big em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; color: var(--amber); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.lead strong { color: var(--ink); font-weight: 600; }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .4s var(--ease), background .25s, color .25s; }
.btn--amber { background: var(--olive); color: var(--on-dark); }
.btn--amber:hover { background: var(--amber); transform: translateY(-2px); }
.btn--big { min-height: 54px; padding: 0 26px; font-size: 16px; }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--night); display: grid; place-content: center; justify-items: center; gap: 10px; transition: opacity .9s var(--ease), visibility .9s; }
.loader.is-done { opacity: 0; visibility: hidden; }
/* a doorway whose two leaves swing open */
.loader__door { width: 44px; height: 64px; border: 2px solid var(--ink); border-bottom: 0; display: flex; perspective: 160px; margin-bottom: 6px; }
.loader__door i { flex: 1; background: var(--amber); transform-origin: left center; animation: leaf 2.2s var(--ease) infinite alternate; }
.loader__door i + i { transform-origin: right center; animation-name: leaf2; }
@keyframes leaf { to { transform: rotateY(-70deg); opacity: .5; } }
@keyframes leaf2 { to { transform: rotateY(70deg); opacity: .5; } }
.loader__word { font: 800 44px/1 var(--sans); text-transform: uppercase; letter-spacing: -0.03em; }
.loader__note { font-size: 13px; color: var(--ink-3); letter-spacing: 0.06em; }
.loader__note b { color: var(--amber); font-weight: 600; font-variant-numeric: tabular-nums; }
.loader__bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .3s; }

/* =========================================================
   THE WORLD
   ========================================================= */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(var(--paper-rgb),.78) 0%, rgba(var(--paper-rgb),.35) 38%, transparent 62%); }
html.no-webgl #world { background: url("assets/timber-lounge.jpg") center / cover; opacity: .35; }

/* a fine paper grain over the whole page */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .25  0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* =========================================================
   NAV + HUD
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 20px var(--gutter); transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: grid; line-height: 1; }
.brand__a { font: 800 22px/1 var(--sans); text-transform: uppercase; letter-spacing: -0.02em; }
.brand__b { font: italic 400 15px/1.1 var(--serif); color: var(--amber); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__toggle { display: none; }

.hud { position: fixed; z-index: 40; right: calc(var(--gutter) + 24px); top: 86px; display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(var(--card-rgb), .9); border: 1px solid var(--line); min-width: 190px; transition: opacity .5s; }
.hud__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.hud__label:not(:first-child) { margin-top: 8px; }
.hud__value { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hud__dim { color: var(--ink-3); font-weight: 500; }
.is-past .hud, .is-past .progress { opacity: 0; pointer-events: none; }
.progress { transition: opacity .5s; }
.progress { position: fixed; z-index: 40; right: var(--gutter); top: 50%; translate: 0 -50%; width: 2px; height: 160px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; width: 100%; height: 100%; background: var(--amber); transform: scaleY(0); transform-origin: top; }

/* =========================================================
   THE JOURNEY — chapters hold their text while the camera moves
   ========================================================= */
main { position: relative; z-index: 2; }
/* the words float over the 3D; clicks pass through to the framed pictures */
.journey { pointer-events: none; }
.journey a, .journey button { pointer-events: auto; }
.chapter { position: relative; }
.chapter--hero { height: 120vh; }
.chapter--light { height: 160vh; }
.chapter--lens { height: 460vh; }
.chapter--work { height: 800vh; }
.chapter__inner { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 120px var(--gutter) 110px; display: flex; flex-direction: column; }
html.motion .chapter__inner > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.motion .chapter.is-on .chapter__inner > * { opacity: 1; transform: none; }
html.motion .chapter.is-on .chapter__inner > *:nth-child(2) { transition-delay: .08s; }
html.motion .chapter.is-on .chapter__inner > *:nth-child(3) { transition-delay: .16s; }

.chapter--hero .chapter__inner { justify-content: flex-end; align-items: flex-start; text-align: left; padding-bottom: clamp(90px, 14vh, 150px); }
.chapter--hero .mega { max-width: 9.5ch; }
.chapter--hero .mega { margin-top: 18px; }
.hero__sub { margin-top: 24px; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); max-width: 44ch; }
.scroll-cue { position: absolute; bottom: 36px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue span { width: 1px; height: 44px; background: linear-gradient(var(--amber), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.chapter--light .chapter__inner { justify-content: flex-end; }
.panel-text { max-width: 640px; }
.panel-text .lead { margin-top: 22px; }
.mini-stats { margin-top: 30px; display: flex; gap: 34px; }
.mini-stats dt { font: 800 40px/1 var(--sans); letter-spacing: -0.03em; }
.mini-stats dd { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

.chapter--lens .chapter__inner { align-items: center; justify-content: space-between; text-align: center; }
.big--center { text-shadow: 0 2px 40px rgba(var(--paper-rgb),.9); }
.steps { display: flex; gap: 10px; width: min(100%, 1100px); }
.step { flex: 1; text-align: left; padding: 16px 16px 18px; border-radius: 16px; background: rgba(var(--card-rgb),.9); border: 1px solid var(--line); opacity: .45; transition: opacity .5s, border-color .5s, transform .6s var(--ease); }
.step b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.step span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.step.is-on { opacity: 1; border-color: var(--amber); transform: translateY(-6px); }
.step.is-on b { color: var(--amber); }

.chapter--work .chapter__inner { justify-content: space-between; }
.caption { align-self: flex-start; text-align: left; max-width: 560px; text-shadow: 0 2px 30px rgba(var(--paper-rgb),.95); }
.caption__cat { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.caption__title { font: italic 400 clamp(2.4rem, 1rem + 3.6vw, 4.6rem)/1 var(--serif); margin-top: 6px; transition: opacity .35s; }
.caption__hint { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.caption.is-swapping .caption__title { opacity: 0; }

/* =========================================================
   SHEETS — the content after the journey, over the dark sea
   ========================================================= */
.sheet { position: relative; padding: clamp(110px, 13vw, 190px) var(--gutter); background: rgba(var(--paper-rgb), 0.96); }
.disciplines { background: linear-gradient(rgba(47,74,58,0), var(--olive) 300px); padding-top: clamp(160px, 18vw, 260px); }

.rows { margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 120px 36px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.row:hover::after { transform: scaleX(1); }
.row__name { font: 800 clamp(2.2rem, 0.8rem + 3.5vw, 5rem)/0.9 var(--sans); text-transform: uppercase; letter-spacing: -0.035em; transition: color .4s; }
.row:hover .row__name { color: var(--amber); }
.row__desc { font: italic 400 clamp(18px, 1.5vw, 24px)/1.25 var(--serif); color: var(--ink-2); }
.row img { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; opacity: .7; transform: scale(.94); transition: opacity .4s, transform .6s var(--ease); }
.row:hover img { opacity: 1; transform: none; }
.row__go { font-size: 24px; color: var(--ink-3); justify-self: end; transition: color .3s, transform .4s var(--ease); }
.row:hover .row__go { color: var(--amber); transform: translate(3px, -3px); }

.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { background: var(--olive); border-color: var(--olive); color: var(--on-dark); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.g-card { grid-column: span 4; }
.g-card:nth-child(6n+1) { grid-column: span 7; }
.g-card:nth-child(6n+2) { grid-column: span 5; margin-top: 80px; }
.g-card:nth-child(6n+6) { grid-column: span 4; margin-top: -40px; }
.g-card.is-hidden { display: none; }
.g-card button { all: unset; display: block; width: 100%; cursor: pointer; }
.g-card button:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.g-card__img { overflow: hidden; border-radius: 14px; aspect-ratio: 4/3; background: var(--night-2); }
.g-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; filter: saturate(.85); }
.g-card button:hover img { transform: scale(1.05); filter: saturate(1.05); }
.g-card__meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.g-card__title { font: italic 400 24px/1.1 var(--serif); }
.g-card__cat { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.clients { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.clients__globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; touch-action: pan-y; cursor: grab; }
.clients__globe canvas { width: 100%; height: 100%; display: block; }
.clients__hint { position: absolute; bottom: 0; left: 50%; translate: -50% 0; font-size: 12px; color: var(--ink-3); transition: opacity .4s; }
.clients__globe.is-touched .clients__hint { opacity: 0; }
.clients .lead { margin-top: 22px; }
.cities { margin-top: 30px; border-top: 1px solid var(--line); }
.city { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .4s var(--ease), color .3s; }
.city:hover, .city.is-active { padding-left: 10px; color: var(--amber); }
.city__name { font: italic 400 28px/1.1 var(--serif); }
.city__country { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.city__time { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-2); }

.founder__quote { font: italic 400 clamp(2rem, 1rem + 3.4vw, 4.4rem)/1.08 var(--serif); max-width: 22ch; letter-spacing: -0.01em; }
.founder__quote em { color: var(--amber); }
.founder__grid { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.founder__role { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.timeline { margin-top: 32px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline span { font-size: 14px; color: var(--ink-3); }
.timeline b { font-weight: 600; }
.tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.mega--contact { font-size: clamp(3rem, 1rem + 6.6vw, 8.5rem); }
.contact .lead { margin-top: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__types { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__types legend { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.form__types label { position: relative; }
.form__types input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form__types span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: .25s; }
.form__types input:checked + span { background: var(--olive); color: var(--on-dark); border-color: var(--olive); }
.form__types input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 400 19px var(--sans); padding: 10px 0; min-height: 46px; resize: vertical; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field input[aria-invalid="true"] { border-color: #ff7a66; }
.field__err { min-height: 1.1em; font-size: 13px; color: #ff9a8a; }
.form .btn { justify-self: start; }
.form__status { grid-column: 1 / -1; color: var(--amber-2); }

.footer { position: relative; z-index: 2; background: var(--night); padding: 40px var(--gutter) 28px; overflow: hidden; }
.footer__mark { font: 800 clamp(6rem, 30vw, 28rem)/.78 var(--sans); letter-spacing: -0.06em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(var(--ink-rgb),.25); user-select: none; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__row a:hover { color: var(--amber); }

/* reveals for the sheets */
html.motion .reveal { opacity: 0; transform: translateY(36px); }
html.motion .reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(var(--paper-rgb),.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--ink); }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; animation: fade .4s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-height: 76dvh; width: auto; border-radius: 14px; animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }
.lightbox figcaption { display: grid; text-align: center; gap: 2px; }
#lbCat { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
#lbTitle { font: italic 400 32px/1.1 var(--serif); }
.lightbox__nav, .lightbox__close { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: rgba(var(--ink-rgb),.04); font-size: 26px; justify-self: center; transition: background .25s; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(var(--ink-rgb),.1); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* gallery rooms: words stay small and out of the way of the pictures */
.chapter--lens .chapter__inner, .chapter--work .chapter__inner { padding-top: 96px; padding-bottom: 28px; }
.chapter--lens .chapter__inner { align-items: flex-start; text-align: left; }
.chapter--lens .big, .chapter--work .big { font-size: clamp(1.7rem, 0.9rem + 1.8vw, 3rem); text-shadow: none; }
.steps { gap: 6px; width: min(100%, 980px); }
.step { padding: 10px 14px 11px; }
.step b { font-size: 15px; }
.step span { display: none; }
.step.is-on span { display: block; font-size: 13px; }
.step.is-on { transform: none; }
.caption { padding: 12px 16px 13px; border-radius: 14px; background: rgba(var(--card-rgb),.9); border: 1px solid var(--line); text-shadow: none; }
.caption__title { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); }
/* WhatsApp contact */
.wa { display: grid; gap: 22px; align-content: start; }
.btn--wa { justify-self: start; gap: 12px; background: #25d366; color: #052e16; font-weight: 700; }
.btn--wa:hover { background: #1fbd5a; transform: translateY(-2px); }
.wa__icon { width: 22px; height: 22px; fill: currentColor; }
.wa__note { font-size: 14px; color: var(--ink-2); }
.wa-float {
  position: fixed; z-index: 55; right: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px;
  border-radius: 999px; background: #25d366; color: #052e16; font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(5, 46, 22, .25); transition: transform .4s var(--ease), background .25s;
}
.wa-float:hover { background: #1fbd5a; transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 560px) { .wa-float { padding: 0; width: 54px; justify-content: center; } .wa-float__label { display: none; } }
/* colour blocks: whole sections in deep olive, with the tokens flipped inside */
.sheet--olive, .footer {
  --ink: #f4efe4; --ink-rgb: 244, 239, 228; --ink-2: #d9d2c2; --ink-3: #b9b19f;
  --line: rgba(244, 239, 228, 0.2); --amber: #e8a27a; --amber-2: #f0b893;
  background: var(--olive); color: var(--ink);
}
.footer { background: var(--olive-2); padding-bottom: 96px; }
.sheet--olive .row img { opacity: .85; }
.disciplines.sheet--olive { background: linear-gradient(rgba(47,74,58,0), var(--olive) 300px); }
.clients { background: rgba(228, 217, 196, .97); }
.btn--amber:hover { background: var(--amber); }
@media (max-width: 1024px) {
  .steps { flex-wrap: wrap; }
  .step { flex: 1 1 30%; }
  .row { grid-template-columns: minmax(0, 1fr) 36px; }
  .row__desc { grid-column: 1; grid-row: 2; }
  .row img { display: none; }
  .row__go { grid-row: 1; grid-column: 2; }
}
@media (max-width: 860px) {
  .nav { gap: 14px; }
  .nav > .btn { margin-left: auto; }
  .nav__toggle { display: grid; gap: 6px; place-content: center; width: 42px; height: 42px; background: none; border: 0; padding: 0; }
  .nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav nav { position: fixed; inset: 0; z-index: -1; margin: 0; background: rgba(var(--paper-rgb),.97); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav.is-open nav { opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; align-items: center; gap: 18px; }
  .nav__links a { font: 800 2.4rem/1 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
  .hud { display: none; }
  .vignette { background: linear-gradient(0deg, rgba(var(--paper-rgb),.92) 0%, rgba(var(--paper-rgb),.6) 38%, transparent 62%); }
  .progress { right: 10px; height: 110px; }
  .chapter__inner { padding: 100px var(--gutter) 70px; }
  .steps { flex-direction: column; flex-wrap: nowrap; gap: 6px; }
  .step { flex: none; padding: 10px 14px; }
  /* on phones the floating WhatsApp button would sit on the step cards and captions: it waits until the walk is over */
  .wa-float { transition: opacity .4s, transform .4s var(--ease); }
  body:not(.is-past) .wa-float { opacity: 0; pointer-events: none; transform: translateY(16px); }
  .step:not(.is-on) span { display: none; }
  .clients, .contact, .founder__grid { grid-template-columns: 1fr; }
  .clients__globe { max-width: 420px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-card, .g-card:nth-child(n) { grid-column: span 1; margin-top: 0; }
  .g-card:nth-child(3n+1) { grid-column: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav > .btn { display: none; }
  .nav__toggle { margin-left: auto; }
  .mini-stats { gap: 22px; }
  .mini-stats dt { font-size: 32px; }
  .caption { align-self: flex-start; text-align: left; }
  .form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .g-card:nth-child(n) { grid-column: span 1; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .city { grid-template-columns: 1fr auto; }
  .city__country { grid-column: 1; grid-row: 2; }
  .city__time { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html.motion .chapter__inner > *, html.motion .reveal { opacity: 1; transform: none; }
}
