/* Greenleaf IPS, design concept by SD Mac Tech */
@view-transition { navigation: auto; }

:root {
  --stone-50: #f5f1ea;
  --stone-100: #ede7dc;
  --stone-200: #ddd3c3;
  --stone-300: #c9bda9;
  --ink: #142019;
  --ink-2: #3c4a41;
  --ink-3: #5b675e;
  --forest: #1b3324;
  --forest-2: #13261a;
  --forest-3: #0d1a12;
  --leaf: #93c26a;
  --leaf-deep: #4f7d34;
  --on-dark: #f1ede4;
  --on-dark-2: #c3cbbd;
  --on-dark-3: #97a392;
  --line: rgba(20, 32, 25, 0.12);
  --line-dark: rgba(241, 237, 228, 0.14);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1520px;
  --radius: 14px;
  --header-h: 76px;
}

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

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--leaf); color: var(--forest-3); }
:focus-visible { outline: 2px solid var(--leaf-deep); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .on-dark :focus-visible { outline-color: var(--leaf); }

.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; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--forest); color: var(--on-dark); padding: 10px 16px; border-radius: 999px; transition: top 200ms var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(3.1rem, 1.6rem + 7.4vw, 10.5rem); line-height: 0.9; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 6.25rem); line-height: 0.96; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.05; }
em, .it { font-style: italic; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.eyebrow {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 0.75em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.dark .eyebrow, .on-dark .eyebrow { color: var(--on-dark-2); }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: var(--on-dark);
  position: relative; display: inline-flex; align-items: center; gap: 0.7em;
  height: 52px; padding: 0 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0;
  overflow: hidden; isolation: isolate;
  transition: transform 160ms var(--ease-out), background-color 240ms ease, color 240ms ease;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--leaf);
  clip-path: inset(100% 0 0 0); transition: clip-path 420ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arr { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--forest-3); }
  .btn:hover::after { clip-path: inset(0 0 0 0); }
  .btn:hover .arr { transform: translateX(3px); }
}
.btn--light { --bg: var(--on-dark); --fg: var(--forest-3); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--sm { height: 42px; padding: 0 1.15em; font-size: 0.875rem; }
.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-u:hover { background-size: 0 1px; background-position: 100% 100%; }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--ink);
  transition: transform 500ms var(--ease-drawer), color 300ms ease;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 241, 234, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 300ms ease;
}
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header[data-theme="dark"]:not(.is-solid) { color: var(--on-dark); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand-word { font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }
.brand-stack { display: flex; flex-direction: column; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a:not(.btn) { font-size: 0.92rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease-out);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}
.header[data-theme="dark"]:not(.is-solid) .btn { --bg: var(--on-dark); --fg: var(--forest-3); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform 400ms var(--ease-out), opacity 200ms ease; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--forest-2); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 600ms var(--ease-io), visibility 0s linear 600ms;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 600ms var(--ease-io), visibility 0s; }
.menu-open .header { color: var(--on-dark); }
.menu-open .header::before { opacity: 0 !important; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 12vw, 4.5rem); line-height: 1.08; letter-spacing: -0.02em; padding: 4px 0; }
.mobile-menu li { opacity: 0; transform: translateY(24px); transition: opacity 400ms ease, transform 600ms var(--ease-out); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(2) { transition-delay: 60ms; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: 120ms; }
.menu-open .mobile-menu li:nth-child(4) { transition-delay: 180ms; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: 240ms; }
.mobile-menu .mm-foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 6px; color: var(--on-dark-2); font-size: 0.95rem; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  :root { --header-h: 64px; }
  .brand-word { font-size: 1.5rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1200px;
  color: var(--on-dark); overflow: hidden; background: var(--forest-3);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media canvas { opacity: 0; transition: opacity 600ms ease; }
.hero.gl-ready .hero-media canvas { opacity: 1; }
.hero.gl-ready .hero-media img { visibility: hidden; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 26, 18, 0.55) 0%, rgba(13, 26, 18, 0) 22%),
    linear-gradient(0deg, rgba(10, 20, 14, 0.88) 0%, rgba(10, 20, 14, 0.5) 34%, rgba(10, 20, 14, 0) 62%),
    linear-gradient(90deg, rgba(10, 20, 14, 0.62) 0%, rgba(10, 20, 14, 0.25) 45%, rgba(10, 20, 14, 0) 70%);
}
.hero-content {
  position: absolute; inset: auto 0 0 0; padding-bottom: clamp(28px, 5vh, 64px);
}
.hero-content .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.hero h1 { max-width: 11ch; text-wrap: balance; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero-sub { margin-top: clamp(18px, 2.6vh, 28px); max-width: 34em; color: var(--on-dark-2); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vh, 32px); }
.hero-meta { text-align: right; font-size: 0.8rem; color: var(--on-dark-2); display: grid; gap: 6px; justify-items: end; }
.hero-meta .scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; font-weight: 600; }
.scroll-cue i { display: block; width: 1px; height: 46px; background: rgba(241, 237, 228, 0.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--on-dark); transform: translateY(-100%); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.hero-eyebrow { margin-bottom: clamp(16px, 2.4vh, 26px); color: var(--on-dark-2); }
.hero-eyebrow::before { background: var(--leaf); opacity: 1; }
@media (max-width: 760px) {
  .hero-content .wrap { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
  .hero h1 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
}

/* intro animation states (JS adds .is-loaded) */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero .hero-fade { opacity: 0; transform: translateY(14px); }
.js .is-loaded .hero h1 .line > span { transform: none; transition: transform 1100ms var(--ease-out); }
.js .is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: 90ms; }
.js .is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: 180ms; }
.js .is-loaded .hero .hero-fade { opacity: 1; transform: none; transition: opacity 800ms ease 420ms, transform 900ms var(--ease-out) 420ms; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(56px, 12vh, 140px)); padding-bottom: clamp(40px, 8vh, 96px); }
.page-hero h1 { font-size: clamp(3rem, 1.6rem + 6.6vw, 9rem); max-width: 12ch; }
.page-hero .lede { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: end; gap: 48px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 24px; } }
.page-hero .crumb { margin-bottom: 28px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 13vw, 200px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 120px); }
.dark { background: var(--forest-2); color: var(--on-dark); }
.dark .lede, .dark .muted { color: var(--on-dark-2); }
.stone { background: var(--stone-100); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.dark .rule { border-color: var(--line-dark); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.sec-head h2 { max-width: 12ch; }
.sec-head .lede { justify-self: end; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } .sec-head .lede { justify-self: start; } }

/* ---------- Intro statement + stats ---------- */
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 1.1rem + 3.2vw, 4.4rem); line-height: 1.08; letter-spacing: -0.022em; max-width: 26ch; text-wrap: pretty; }
.statement .w { color: var(--ink); transition: color 300ms ease; }
.js .statement[data-fill] .w { color: rgba(20, 32, 25, 0.18); }
.js .statement[data-fill] .w.on { color: var(--ink); }
.statement em { color: var(--leaf-deep); }
.intro-grid { display: grid; grid-template-columns: 0.32fr 1fr; gap: 40px; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; gap: 24px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px 22px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Services hover list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.svc-item { border-bottom: 1px solid var(--line-dark); }
.svc-link {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 40px) 0; position: relative;
}
.svc-no { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--on-dark-3); font-variant-numeric: tabular-nums; }
.svc-title { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3.4vw, 5rem); line-height: 1; letter-spacing: -0.025em; transition: transform 600ms var(--ease-out), color 300ms ease; }
.svc-desc { max-width: 30ch; font-size: 0.95rem; color: var(--on-dark-2); text-align: right; transition: opacity 400ms ease; }
.svc-arrow { display: none; }
.svc-thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .svc-list:hover .svc-title { color: rgba(241, 237, 228, 0.3); }
  .svc-list .svc-link:hover .svc-title { color: var(--on-dark); transform: translateX(18px); }
  .svc-list:hover .svc-desc { opacity: 0.35; }
  .svc-list .svc-link:hover .svc-desc { opacity: 1; }
}
.svc-float {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(260px, 22vw, 380px); aspect-ratio: 4 / 5;
  pointer-events: none; border-radius: 10px; overflow: hidden;
  clip-path: inset(50% 50% 50% 50% round 10px);
  transition: clip-path 600ms var(--ease-out);
  will-change: transform;
}
.svc-float.on { clip-path: inset(0 0 0 0 round 10px); }
.svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 400ms ease, transform 900ms var(--ease-out); }
.svc-float img.on { opacity: 1; transform: scale(1); }
@media (max-width: 900px), (hover: none) {
  .svc-link { grid-template-columns: 1fr 88px; grid-template-areas: "no thumb" "title thumb" "desc desc"; gap: 6px 16px; }
  .svc-no { grid-area: no; }
  .svc-title { grid-area: title; }
  .svc-desc { grid-area: desc; text-align: left; margin-top: 10px; }
  .svc-thumb { display: block; grid-area: thumb; width: 88px; height: 88px; border-radius: 8px; overflow: hidden; align-self: center; }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-float { display: none; }
}

/* ---------- Horizontal work ---------- */
.hwork { position: relative; overflow: hidden; }
.hwork-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.hwork-progress { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hwork-bar { width: 140px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hwork-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0.08); }
.hwork-track { display: flex; gap: clamp(16px, 2vw, 32px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.hcard { flex: none; width: clamp(280px, 34vw, 560px); position: relative; }
.hcard:nth-child(3n+2) { width: clamp(260px, 26vw, 420px); margin-top: clamp(0px, 7vw, 120px); }
.hcard:nth-child(3n) { width: clamp(280px, 30vw, 500px); margin-top: clamp(0px, 3vw, 48px); }
.hcard-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone-200); aspect-ratio: 4 / 5; }
.hcard:nth-child(3n+2) .hcard-media { aspect-ratio: 3 / 4; }
.hcard:nth-child(3n) .hcard-media { aspect-ratio: 1 / 1; }
.hcard-media img { position: absolute; inset: -4% -8%; width: 116%; max-width: none; height: 108%; object-fit: cover; transition: transform 1100ms var(--ease-out); }
.hcard-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; align-items: baseline; }
.hcard-title { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem); line-height: 1.05; letter-spacing: -0.015em; }
.hcard-tag { font-size: 0.78rem; color: var(--ink-3); white-space: nowrap; font-weight: 500; }
.hcard-blurb { color: var(--ink-3); font-size: 0.95rem; margin-top: 6px; max-width: 34ch; }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover .hcard-media img { transform: scale(1.04); }
}
.hcard--end { display: flex; align-items: center; justify-content: center; width: clamp(240px, 24vw, 380px) !important; margin-top: 0 !important; }
.hcard--end a { display: grid; place-items: center; text-align: center; aspect-ratio: 1; width: 100%; border-radius: 50%; border: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.1; transition: background-color 400ms ease, color 400ms ease, transform 160ms var(--ease-out); }
.hcard--end a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .hcard--end a:hover { background: var(--forest); color: var(--on-dark); } }
/* mobile / reduced: native scroll row */
.hwork.native .hwork-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hwork.native .hwork-track::-webkit-scrollbar { display: none; }
.hwork.native .hcard { scroll-snap-align: start; scroll-margin-left: var(--gutter); width: min(78vw, 420px); margin-top: 0; }
.hwork.native .hcard:nth-child(3n+2), .hwork.native .hcard:nth-child(3n) { width: min(78vw, 420px); margin-top: 0; }
.hwork.native .hcard .hcard-media { aspect-ratio: 4 / 5; }
.hwork.native .hcard--end { width: min(60vw, 300px) !important; }

/* cursor bubble */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: var(--leaf); color: var(--forest-3);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transform: translate3d(-200px, -200px, 0) scale(0.4); opacity: 0;
  transition: opacity 250ms ease;
}
.cursor.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Feature split / parallax ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 120px); align-items: center; }
.feature--flip { grid-template-columns: 0.9fr 1.1fr; }
.feature--flip .feature-media { order: 2; }
@media (max-width: 900px) { .feature, .feature--flip { grid-template-columns: 1fr; } .feature--flip .feature-media { order: 0; } }
.pmedia { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone-200); }
.dark .pmedia { background: var(--forest-3); }
.pmedia > img { position: absolute; left: 0; top: -10%; width: 100%; max-width: none; height: 120%; object-fit: cover; will-change: transform; }
.ar-45 { aspect-ratio: 4 / 5; }
.ar-34 { aspect-ratio: 3 / 4; }
.ar-11 { aspect-ratio: 1 / 1; }
.ar-43 { aspect-ratio: 4 / 3; }
.ar-169 { aspect-ratio: 16 / 9; }
.ar-21 { aspect-ratio: 21 / 9; }
.feature-copy h2 { margin-bottom: 28px; }
.feature-copy .lede { margin-bottom: 32px; }
.cap { font-size: 0.8rem; color: var(--ink-3); margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; }
.dark .cap { color: var(--on-dark-3); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.82rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.dark .tag { border-color: var(--line-dark); color: var(--on-dark-2); }

/* full-bleed band */
.band { position: relative; height: clamp(420px, 90vh, 980px); overflow: hidden; color: var(--on-dark); background: var(--forest-3); }
.band > img { position: absolute; left: 0; top: -12%; width: 100%; max-width: none; height: 124%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 20, 14, 0.85), rgba(10, 20, 14, 0.2) 62%, rgba(10, 20, 14, 0.3)), linear-gradient(90deg, rgba(10, 20, 14, 0.55), rgba(10, 20, 14, 0) 60%); }
.band .eyebrow, .hero-eyebrow { color: var(--on-dark); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.band .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(32px, 6vw, 80px); }
.band h2 { max-width: 14ch; }
.band .lede { color: var(--on-dark-2); margin-top: 24px; }
.band .row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 120px); }
.process-sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: clamp(28px, 3.5vw, 48px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--leaf-deep); font-style: italic; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 46ch; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-sticky { position: static; } .step { grid-template-columns: 52px 1fr; gap: 12px; } .step-no { font-size: 2rem; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.8rem); line-height: 1.25; letter-spacing: -0.01em; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.4em; line-height: 0.6; color: var(--leaf); margin-bottom: 0.1em; height: 0.45em; }
.quote figcaption { font-size: 0.88rem; color: var(--on-dark-2); }
.quote figcaption strong { display: block; color: var(--on-dark); font-weight: 600; }
.quote--lead { grid-column: span 2; }
.quote--lead blockquote { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem); }
@media (max-width: 1000px) { .quotes { grid-template-columns: 1fr; } .quote--lead { grid-column: auto; } }
.dark .quote, .on-dark .quote { border-color: var(--line-dark); }
.light-quotes .quote { border-color: var(--line); }
.light-quotes .quote figcaption { color: var(--ink-3); }
.light-quotes .quote figcaption strong { color: var(--ink); }
.light-quotes .quote blockquote::before { color: var(--leaf-deep); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(20px, 2.6vw, 36px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 60s linear infinite; }
.marquee-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee-track li { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 3rem); white-space: nowrap; padding-inline: clamp(18px, 2vw, 32px); display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); letter-spacing: -0.01em; }
.marquee-track li::after { content: ""; width: 9px; height: 9px; border-radius: 50% 0; background: var(--leaf-deep); transform: rotate(-45deg); flex: none; margin-left: clamp(18px, 2vw, 32px); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta h2 { font-size: clamp(2.8rem, 1.5rem + 5.6vw, 8rem); max-width: 11ch; }
.cta-side { display: grid; gap: 24px; justify-items: start; }
.cta-phone { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3.4rem); letter-spacing: -0.02em; line-height: 1; }
.cta-leaf { position: absolute; right: -6vw; top: -8vw; width: clamp(220px, 34vw, 560px); opacity: 0.08; pointer-events: none; color: var(--leaf); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--forest-3); color: var(--on-dark-2); padding-top: clamp(64px, 9vw, 128px); padding-bottom: calc(28px + env(safe-area-inset-bottom)); font-size: 0.95rem; }
.footer a:not(.btn) { color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: clamp(48px, 7vw, 96px); }
.footer h4 { margin: 0 0 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer address { font-style: normal; line-height: 1.7; }
.footer-word { font-family: var(--serif); font-size: clamp(5rem, 27.5vw, 30rem); line-height: 1; padding-bottom: 0.14em; letter-spacing: -0.045em; color: var(--on-dark); white-space: nowrap; margin-bottom: clamp(24px, 3vw, 40px); }
.footer-word span { display: inline-block; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-dark-3); }
.footer-bottom a { color: var(--on-dark-2); }
.credit a { display: inline-flex; align-items: center; gap: 8px; }
.credit i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); display: inline-block; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* concept ribbon */
.ribbon {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px;
  background: rgba(13, 26, 18, 0.78); color: var(--on-dark); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 160ms var(--ease-out), opacity 300ms ease;
}
.ribbon i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.ribbon:active { transform: scale(0.97); }
.menu-open .ribbon { opacity: 0; pointer-events: none; }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 900ms ease, transform 1100ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1300ms var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-clip] > img { transform: scale(1.18); transition: transform 1800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-clip].in { clip-path: inset(0 0 0 0); }
.js [data-clip].in > img { transform: none; }
.js [data-clip].pmedia > img { transform: none; }
.js .split-lines .ln { display: block; overflow: hidden; }
.js .split-lines .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1100ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0ms)); }
.js .split-lines.in .ln > span { transform: none; }

/* ---------- Services page ---------- */
.svc-page { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 96px); }
.svc-index { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.svc-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.svc-index a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; color: var(--ink-3); font-size: 0.92rem; transition: color 200ms ease; }
.svc-index a span { font-size: 0.72rem; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.svc-index a.active, .svc-index a:hover { color: var(--ink); }
.svc-index a.active::before { content: ""; width: 14px; height: 1px; background: currentColor; align-self: center; }
.svc-block { padding-bottom: clamp(72px, 10vw, 160px); scroll-margin-top: calc(var(--header-h) + 24px); }
.svc-block + .svc-block { padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.svc-block h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5.4rem); max-width: 14ch; }
.svc-block .kicker { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.svc-cols h3 { font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem); margin-bottom: 12px; }
.svc-cols p { color: var(--ink-2); }
.svc-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.svc-gallery .pmedia:first-child { grid-row: span 2; }
.svc-gallery .pmedia:not(:first-child) { aspect-ratio: auto; min-height: 0; }
.pmedia.still > img { top: 0; height: 100%; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.checklist li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.checklist li::before { content: ""; width: 7px; height: 7px; border-radius: 50% 0; background: var(--leaf-deep); transform: rotate(-45deg) translateY(-2px); flex: none; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; background: rgba(255, 255, 255, 0.35); }
.tier .t-name { font-family: var(--serif); font-size: 2rem; line-height: 1; }
.tier .t-count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf-deep); }
.tier p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.note { font-size: 0.92rem; color: var(--ink-3); margin-top: 20px; }
@media (max-width: 1000px) {
  .svc-page { grid-template-columns: 1fr; }
  .svc-index { display: none; }
  .svc-cols, .checklist { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .svc-gallery { grid-template-columns: 1fr 1fr; }
  .svc-gallery .pmedia:first-child { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Work page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--ink-2); transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.chip sup { font-size: 0.7em; margin-left: 3px; opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { border-color: var(--ink-3); color: var(--ink); } }
.grid-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.wcard { grid-column: span 4; transition: opacity 400ms ease; }
.wcard.is-wide { grid-column: span 8; }
.wcard.is-hidden { display: none; }
.wcard button { display: block; width: 100%; text-align: left; }
.wcard .hcard-media { aspect-ratio: 4 / 5; }
.wcard.is-wide .hcard-media { aspect-ratio: 16 / 10; }
.wcard .hcard-media img { inset: 0; width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .wcard button:hover .hcard-media img { transform: scale(1.04); } }
@media (max-width: 1000px) { .wcard, .wcard.is-wide { grid-column: span 6; } .wcard.is-wide .hcard-media { aspect-ratio: 4 / 5; } }
@media (max-width: 640px) { .wcard, .wcard.is-wide { grid-column: 1 / -1; } .wcard .hcard-media, .wcard.is-wide .hcard-media { aspect-ratio: 4 / 3; } }

/* project dialog */
.pdialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.pdialog::backdrop { background: rgba(10, 20, 14, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 400ms ease; }
.pdialog[open]::backdrop { opacity: 1; }
.pdialog .sheet {
  position: absolute; inset: clamp(0px, 2vw, 24px) clamp(0px, 2vw, 24px) 0; top: clamp(24px, 5vh, 56px);
  background: var(--stone-50); border-radius: 18px 18px 0 0; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(100%); transition: transform 560ms var(--ease-drawer);
}
.pdialog.show .sheet { transform: none; }
.pdialog .close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(20, 32, 25, 0.82); color: var(--on-dark); display: grid; place-items: center;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 160ms var(--ease-out);
}
.pdialog .close:active { transform: scale(0.94); }
.pd-head { padding: clamp(32px, 5vw, 72px) var(--gutter) 0; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: end; }
.pd-head h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 7rem); }
.pd-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 32px; justify-content: end; font-size: 0.9rem; }
.pd-facts dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.pd-facts dd { margin: 4px 0 0; }
.pd-gallery { display: flex; gap: 12px; overflow-x: auto; padding: clamp(28px, 4vw, 48px) var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pd-gallery figure { margin: 0; flex: none; height: clamp(300px, 62vh, 720px); scroll-snap-align: center; border-radius: 12px; overflow: hidden; background: var(--stone-200); }
.pd-gallery img { height: 100%; width: auto; object-fit: cover; }
.pd-body { padding: 0 var(--gutter) clamp(56px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.pd-body h3 { font-size: 1.6rem; margin-bottom: 12px; }
.pd-body .overview { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem); line-height: 1.2; letter-spacing: -0.012em; max-width: 34ch; }
.pd-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); }
.pd-body li { padding-left: 20px; position: relative; }
.pd-body li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 7px; border-radius: 50% 0; background: var(--leaf-deep); transform: rotate(-45deg); }
.pd-next { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .pd-head { grid-template-columns: 1fr; }
  .pd-facts { justify-content: start; }
  .pd-body { grid-template-columns: 1fr; }
  .pdialog .sheet { inset: 12px 0 0 0; }
  .pd-gallery figure { height: 58vh; max-width: 86vw; }
  .pd-gallery img { width: 100%; }
}

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.value { padding: 32px 28px 0 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.value h3 { font-size: 1.7rem; margin-bottom: 14px; }
.value p { color: var(--on-dark-2); font-size: 0.97rem; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } .value:nth-child(3) { padding-left: 0; border-left: 0; } .value:nth-child(n+3) { border-top: 1px solid var(--line-dark); margin-top: 24px; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding-left: 0; border-left: 0; } .value + .value { border-top: 1px solid var(--line-dark); margin-top: 24px; } }
.person { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.person-card { border-radius: var(--radius); background: var(--forest); color: var(--on-dark); aspect-ratio: 4 / 5; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); }
.person-card .initials { position: absolute; top: 20px; left: clamp(24px, 3vw, 40px); font-family: var(--serif); font-size: clamp(7rem, 4rem + 9vw, 15rem); line-height: 0.9; color: var(--leaf); opacity: 0.9; font-style: italic; letter-spacing: -0.04em; }
.person-card .pname { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.person-card .prole { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 10px; font-weight: 600; }
@media (max-width: 900px) { .person { grid-template-columns: 1fr; } .person-card { aspect-ratio: 16 / 11; } }
.sectors { columns: 3 260px; column-gap: clamp(24px, 3vw, 48px); }
.sector { break-inside: avoid; padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.sector h3 { font-size: 1.6rem; margin-bottom: 12px; }
.sector ul { list-style: none; margin: 0; padding: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 128px); }
.info-list { display: grid; gap: 28px; }
.info-list dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.info-list dd { margin: 0; font-size: 1.12rem; }
.info-list .big { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea {
  font: inherit; font-size: 1.1rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--stone-300);
  padding: 10px 0 12px; border-radius: 0; transition: border-color 250ms ease; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--forest); box-shadow: 0 1px 0 0 var(--forest); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.seg legend { margin-bottom: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg label span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--stone-300); font-size: 0.95rem; transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-2); }
.seg input:checked + span { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.seg input:focus-visible + span { outline: 2px solid var(--leaf-deep); outline-offset: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-msg { grid-column: 1 / -1; border-radius: var(--radius); background: var(--forest); color: var(--on-dark); padding: 24px 28px; display: none; gap: 6px; }
.form-msg.on { display: grid; animation: msg 500ms var(--ease-out); }
.form-msg strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
@keyframes msg { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; } }

/* utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }
.kumiko { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--forest-2); color: var(--on-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 5vw, 72px); }
.kumiko p { color: var(--on-dark-2); }
.kumiko svg { width: 100%; height: auto; color: var(--leaf); opacity: 0.9; }
@media (max-width: 900px) { .kumiko { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-reveal] { transform: none; transition: opacity 400ms ease; }
  .js [data-clip] { clip-path: none; transition: none; }
  .js [data-clip] > img { transform: none; transition: none; }
  .js .split-lines .ln > span, .js .hero h1 .line > span { transform: none; transition: none; }
  .js .hero .hero-fade { opacity: 1; transform: none; transition: none; }
  .js .statement[data-fill] .w { color: var(--ink); }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track ul[aria-hidden] { display: none; }
  .marquee-track ul { flex-wrap: wrap; }
  .pmedia > img, .band > img { top: 0; height: 100%; }
  .hcard-media img { inset: 0; width: 100%; height: 100%; }
  .pdialog .sheet { transition: opacity 250ms ease; transform: none; opacity: 0; }
  .pdialog.show .sheet { opacity: 1; }
  .mobile-menu { transition: opacity 250ms ease, visibility 0s linear 250ms; clip-path: none; opacity: 0; }
  .menu-open .mobile-menu { opacity: 1; transition: opacity 250ms ease; }
  .mobile-menu li { transform: none; }
  .svc-float { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .header::before { background: var(--stone-50); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ribbon { background: var(--forest-3); }
}
.quote--wide { grid-column: 2 / -1; }
@media (max-width: 1000px) { .quote--wide { grid-column: auto; } }
.gl .hero-media img { opacity: 0; }
.js:not(.gl) .hero-media img { transform: scale(1.08); transition: transform 2400ms var(--ease-out); }
.js:not(.gl) .is-loaded .hero-media img { transform: none; }

@media (max-width: 760px) {
  .ribbon { display: none; }
  .hwork-head { flex-direction: column; align-items: flex-start; }
  .hwork-progress { display: none; }
}
.hwork.native .hwork-progress { display: none; }
