/* OAK Interio — editorial stylesheet
   Tailwind (CDN) handles utility layout; this file owns tokens + components. */

:root {
  --teal: #0b1f20;
  --teal-2: #12302f;
  --bone: #f4f0e8;
  --bone-2: #e9e3d6;
  --oak: #b08a5a;
  --oak-deep: #8c6a3f;
  --ink: #0b1f20;
  --muted: #6f7773;
  --line: rgba(11, 31, 32, 0.16);
  --line-light: rgba(244, 240, 232, 0.22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(20px, 4vw, 64px);
  --safe-top: env(safe-area-inset-top, 0px);
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-ui: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.svc-desc { display: none; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body.site {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--bone); color: var(--teal); padding: 10px 16px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.h-xl { font-size: clamp(3rem, 8.6vw, 8.5rem); }
.h-lg { font-size: clamp(2.4rem, 5.4vw, 5.2rem); }
.h-md { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.label {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem, 3.3vw, 3.1rem); line-height: 1.2; }
.copy { max-width: 62ch; color: inherit; opacity: .82; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 168px); }
.dark { background: var(--teal); color: var(--bone); }
.dark .line { border-color: var(--line-light); }
.line { border-color: var(--line); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding: calc(var(--safe-top) + 22px) var(--pad) 22px;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--bone);
  transition: transform .7s var(--ease), background-color .5s, color .5s;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-solid { background: rgba(11, 31, 32, .92); backdrop-filter: blur(10px); padding-block: calc(var(--safe-top) + 14px) 14px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: .14em; }
.brand span { font-size: 9px; letter-spacing: .5em; text-transform: uppercase; opacity: .75; margin-top: 5px; padding-left: 2px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; }
.menu-btn .bars { width: 28px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
.menu-open .menu-btn .bars::before { transform: translateY(4.5px) rotate(20deg); }
.menu-open .menu-btn .bars::after { transform: translateY(-4.5px) rotate(-20deg); }

/* ---------- full screen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--teal); color: var(--bone);
  display: grid; grid-template-columns: 1fr; align-content: center;
  padding: calc(var(--safe-top) + 110px) var(--pad) 48px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s linear .9s;
  overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.menu-links { list-style: none; margin: 0; padding: 0; }
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: translateY(105%); }
.menu-open .menu .mask > span { transform: none; transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 260ms); }
.menu-links a { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.08; display: inline-block; transition: color .3s, transform .5s var(--ease); }
.menu-links a:hover, .menu-links a[aria-current="page"] { color: var(--oak); }
.menu-side { font-size: 14px; opacity: .85; display: grid; gap: 22px; }
.menu-side a:hover { color: var(--oak); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--bone); background: var(--teal); }
.hero-media { position: absolute; inset: -8% 0; will-change: transform; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: drift 14s ease-out forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,32,.55) 0%, rgba(11,31,32,.1) 38%, rgba(11,31,32,.78) 100%); }
.hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(36px, 8vh, 96px); display: grid; gap: 28px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: end; }
.hero-count { display: flex; gap: 10px; }
.hero-count button { width: 34px; height: 2px; background: rgba(244,240,232,.35); position: relative; overflow: hidden; }
.hero-count button::after { content: ""; position: absolute; inset: 0; background: var(--bone); transform: scaleX(0); transform-origin: left; }
.hero-count button.is-active::after { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue i { width: 1px; height: 42px; background: rgba(244,240,232,.4); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--bone); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- reveal helpers ---------- */
.line-mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line-mask > span { display: block; will-change: transform; }
.js [data-split] { visibility: hidden; }
.js [data-split].is-split { visibility: visible; }
.js [data-fade] { opacity: 0; transform: translateY(24px); }
.frame { position: relative; overflow: hidden; background: var(--bone-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.parallax img { height: 118%; margin-top: -9%; will-change: transform; }
.js [data-clip] { clip-path: inset(100% 0 0 0); }

/* ---------- links / buttons ---------- */
.link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px; position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .7s var(--ease); }
.link:hover::after { transform: scaleX(.0); transform-origin: left; }
.link svg { width: 22px; height: 10px; transition: transform .5s var(--ease); }
.link:hover svg { transform: translateX(6px); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; padding: 16px 30px; transition: background-color .5s, color .5s, border-color .5s; }
.btn:hover { background: var(--bone); color: var(--teal); border-color: var(--bone); }
.btn.solid { background: var(--oak); border-color: var(--oak); color: var(--teal); }
.btn.solid:hover { background: var(--bone); border-color: var(--bone); }
.btn.ink:hover { background: var(--teal); color: var(--bone); border-color: var(--teal); }

/* ---------- featured (pinned cross fade) ---------- */
.feature { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--teal); color: var(--bone); }
.feature-stack { position: absolute; inset: 0; }
.feature-stack figure { position: absolute; inset: 0; margin: 0; opacity: 0; }
.feature-stack figure:first-child { opacity: 1; }
.feature-stack img { width: 100%; height: 100%; object-fit: cover; }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,32,.78) 0%, rgba(11,31,32,.15) 60%), linear-gradient(0deg, rgba(11,31,32,.6), transparent 40%); }
.feature-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px, 7vh, 80px); display: grid; gap: 22px; max-width: 760px; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.feature-meta div { display: grid; gap: 2px; }
.feature-meta dt { opacity: .6; } .feature-meta dd { margin: 0; }
.feature-cap { position: absolute; right: var(--pad); bottom: clamp(32px, 7vh, 80px); text-align: right; display: grid; gap: 10px; }
.feature-ticks { display: flex; gap: 8px; justify-content: flex-end; }
.feature-ticks i { width: 26px; height: 2px; background: rgba(244,240,232,.3); transition: background-color .5s, width .6s var(--ease); }
.feature-ticks i.on { background: var(--bone); width: 44px; }
@media (max-width: 700px) { .feature-cap { left: var(--pad); text-align: left; bottom: auto; top: 110px; } .feature-ticks { justify-content: flex-start; } }

/* ---------- drag slider ---------- */
.rail { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; padding-inline: var(--pad); scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.card { flex: 0 0 clamp(260px, 30vw, 440px); scroll-snap-align: start; display: grid; gap: 16px; }
.card .frame { aspect-ratio: 3 / 4; }
.card img { transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card h3 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 1.9rem; line-height: 1.1; }

/* ---------- services list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.svc { border-bottom: 1px solid var(--line-light); transition: opacity .5s; }
.svc-head { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; text-align: left; padding-block: clamp(18px, 2.6vw, 34px); }
.svc-name { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 4.8vw, 4.4rem); line-height: 1.04; text-transform: lowercase; transition: transform .7s var(--ease), color .4s; }
.svc-desc { max-width: 56ch; opacity: .75; font-size: 15px; margin: 0; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc-body > div { overflow: hidden; }
.svc.is-open .svc-body { grid-template-rows: 1fr; }
.svc-body .frame { aspect-ratio: 16 / 10; margin-bottom: 24px; }
.svc-body p { margin: 0 0 24px; opacity: .8; }
@media (hover: hover) and (pointer: fine) {
  .svc-list:hover .svc { opacity: .35; }
  .svc-list .svc:hover { opacity: 1; }
  .svc:hover .svc-name { transform: translateX(14px); color: var(--oak); }
  .svc-body { display: none; }
  .svc-desc { display: block; grid-column: 1; margin-top: -4px; }
  .svc-head .label { opacity: .6; }
}
.peek { position: fixed; left: 0; top: 0; width: clamp(240px, 24vw, 380px); aspect-ratio: 4 / 5; pointer-events: none; z-index: 60; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); background: var(--teal-2); }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.peek img.on { opacity: 1; }

/* ---------- process / values ---------- */
.steps { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { border-left: 1px solid var(--line); } .steps li:first-child { border-left: 0; } }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { padding: 28px 24px 36px 0; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .steps li { padding-left: 24px; } .steps li:first-child { padding-left: 0; } }
.steps .n { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--oak-deep); }
.steps h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.steps p { margin: 0; opacity: .78; font-size: 15px; }
.values { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.values h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1.1; }
.values p { margin: 0; opacity: .78; font-size: 15px; }

/* ---------- film ---------- */
.film { position: relative; width: min(100%, 380px); aspect-ratio: 478 / 850; margin-inline: auto; background: var(--teal-2); overflow: hidden; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film button { position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 46px; height: 46px; border: 1px solid rgba(244,240,232,.7); border-radius: 50%; display: grid; place-items: center; color: var(--bone); background: rgba(11,31,32,.35); backdrop-filter: blur(6px); transition: background-color .4s; }
.film button:hover { background: rgba(11,31,32,.7); }

/* ---------- team ---------- */
.person { display: grid; gap: 16px; }
.person .frame { aspect-ratio: 4 / 5; }
.person img { filter: grayscale(1); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.person:hover img { filter: grayscale(0); transform: translateY(-6px) scale(1.02); }
.monogram { display: grid; place-items: center; width: 100%; height: 100%; background: var(--teal-2); color: var(--oak); font-family: var(--font-display); font-size: 6rem; font-weight: 300; }
.person h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }

/* ---------- projects index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.filters button { padding: 8px 0; opacity: .5; border-bottom: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.filters button:hover { opacity: 1; }
.filters button[aria-pressed="true"] { opacity: 1; border-color: currentColor; }
.grid-projects { display: grid; gap: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 32px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-projects { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: grid; gap: 14px; align-content: start; }
.pcard .frame { aspect-ratio: 3 / 4; }
.pcard.wide .frame { aspect-ratio: 4 / 3; }
.pcard img { transition: transform 1.3s var(--ease); }
.pcard:hover img { transform: scale(1.05); }
.pcard h3 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1.08; }
.pcard .meta { display: flex; justify-content: space-between; gap: 12px; opacity: .7; }
.pcard .more { overflow: hidden; height: 1.4em; }
.pcard .more span { display: block; transition: transform .6s var(--ease); }
.pcard:hover .more span { transform: translateY(-110%); }
.pcard .more span + span { color: var(--oak-deep); }

/* ---------- gallery / lightbox ---------- */
.masonry { columns: 1; column-gap: clamp(12px, 1.6vw, 24px); }
@media (min-width: 600px) { .masonry { columns: 2; } }
@media (min-width: 1000px) { .masonry { columns: 3; } }
@media (min-width: 1500px) { .masonry { columns: 4; } }
.masonry button { display: block; width: 100%; break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); overflow: hidden; background: var(--bone-2); position: relative; }
.masonry img { width: 100%; height: auto; transition: transform 1.2s var(--ease); min-height: 120px; }
.masonry button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8, 20, 21, .96); color: var(--bone); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; width: min(92vw, 1500px); height: 80vh; display: grid; grid-template-rows: 1fr auto; gap: 14px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; align-self: center; }
.lightbox figcaption { opacity: .75; font-size: 13px; text-align: center; }
.lb-btn { position: absolute; width: 56px; height: 56px; display: grid; place-items: center; color: var(--bone); opacity: .8; transition: opacity .3s; }
.lb-btn:hover { opacity: 1; }
.lb-close { top: calc(var(--safe-top) + 14px); right: 14px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: var(--pad); top: calc(var(--safe-top) + 28px); }

/* ---------- project sequence ---------- */
.seq { display: grid; gap: clamp(20px, 3vw, 48px); }
.seq .row { display: grid; gap: clamp(16px, 2vw, 32px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 800px) {
  .seq .two { grid-template-columns: 1fr 1fr; }
  .seq .offset { grid-template-columns: 7fr 5fr; }
  .seq .offset.flip { grid-template-columns: 5fr 7fr; }
  .seq .offset > :nth-child(2) { margin-top: 18vh; }
  .seq .offset.flip > :nth-child(1) { margin-top: 18vh; }
  .seq .offset.flip > :nth-child(2) { margin-top: 0; }
}
.seq button { display: block; width: 100%; text-align: left; }
.seq .frame { width: 100%; }
.ar-land { aspect-ratio: 4 / 3; } .ar-port { aspect-ratio: 3 / 4; } .ar-wide { aspect-ratio: 16 / 9; } .ar-sq { aspect-ratio: 1; }
.seq figcaption { margin-top: 10px; opacity: .65; font-size: 13px; }
.credits { display: grid; gap: 18px 40px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.credits dt { opacity: .55; margin-bottom: 4px; } .credits dd { margin: 0; }
.next { position: relative; display: block; height: 70vh; min-height: 420px; overflow: hidden; color: var(--bone); }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.next:hover img { transform: scale(1.04); }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,31,32,.72), rgba(11,31,32,.2)); }
.next .in { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: clamp(28px, 6vh, 70px); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field input, .field textarea, .field select { width: 100%; background: transparent; color: inherit; border: 0; border-bottom: 1px solid currentColor; padding: 12px 0; font: inherit; border-radius: 0; }
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: .45; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--oak); }
.form-note { font-size: 13px; opacity: .65; }
.form-status { min-height: 1.5em; color: var(--oak); }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--teal); color: var(--bone); isolation: isolate; }
.footer-bg { position: absolute; inset: 0; z-index: -1; }
.footer-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.footer-bg img.on { opacity: .32; }
.footer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--teal) 0%, rgba(11,31,32,.55) 40%, rgba(11,31,32,.9) 100%); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-links a { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1.12; display: inline-block; transition: transform .6s var(--ease), color .3s; }
.footer-links a:hover { transform: translateX(14px); color: var(--oak); }
.footer small, .footer .small { font-size: 13px; opacity: .7; }
.social { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.social a:hover { color: var(--oak); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,240,232,.5); background: rgba(11,31,32,.85); color: var(--bone); display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease), background-color .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--oak); color: var(--teal); }
.whatsapp { position: fixed; left: 18px; bottom: 18px; z-index: 70; display: none; }
@media (max-width: 700px) { .whatsapp { display: inline-flex; } }

/* ---------- cursor + transitions ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; pointer-events: none; display: grid; place-items: center; background: var(--bone); color: var(--teal); mix-blend-mode: normal; transform: translate(-100px, -100px) scale(0); transition: opacity .3s; }
.cursor span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 301; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--oak); pointer-events: none; transform: translate(-100px, -100px); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot, .peek { display: none !important; } }
.wipe { position: fixed; inset: 0; z-index: 500; background: var(--teal); transform: scaleY(0); transform-origin: bottom; pointer-events: none; display: grid; place-items: center; color: var(--bone); }
.js .wipe { transform: scaleY(1); transform-origin: top; }
.wipe b { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; letter-spacing: .3em; opacity: .9; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { min-height: 62vh; display: grid; align-content: end; padding: calc(var(--safe-top) + 150px) var(--pad) clamp(40px, 7vw, 96px); background: var(--teal); color: var(--bone); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-split], .js [data-fade], .js [data-clip] { visibility: visible; opacity: 1; transform: none; clip-path: none; }
  .js .wipe { transform: scaleY(0); }
}
@media print { .site-header, .menu, .to-top, .wipe, .cursor, .cursor-dot { display: none !important; } }

/* ---------- layout helpers (kept in CSS so the page holds together even if the Tailwind CDN is blocked) ---------- */
.cols { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .cols.c-2 { grid-template-columns: 1fr 1fr; }
  .cols.c-5-7 { grid-template-columns: 5fr 7fr; }
  .cols.c-7-5 { grid-template-columns: 7fr 5fr; }
  .cols.c-4-8 { grid-template-columns: 4fr 8fr; }
  .cols.center { align-items: center; }
}
.team { display: grid; gap: clamp(20px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(240px, 340px)); }
.why { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .why { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 80px); } }
.why li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.why b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.why span { opacity: .75; font-size: 15px; }
.facts { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.facts dt { opacity: .55; margin-bottom: 2px; } .facts dd { margin: 0; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tick-list li { padding-left: 30px; position: relative; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 1px; background: var(--oak); }
.stack-s > * + * { margin-top: 20px !important; } .stack-m > * + * { margin-top: 32px !important; } .stack-l > * + * { margin-top: 56px !important; }
.row-between { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: end; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .hr { background: var(--line-light); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bg-alt { background: var(--bone-2); }
.bg-teal2 { background: var(--teal-2); color: var(--bone); }
.hero .h-xl { max-width: 15ch; }
.page-hero .h-xl { max-width: 16ch; }
