/* The One Company — site styles
   Palette from brand files: maroon #6B2430 · ivory #FAF9F0 · ink #141311
   Type: Poppins (matches the wordmark) + DM Mono for labels */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #141311;
  --maroon: #6B2430;
  --maroon-deep: #4E1721;
  --ivory: #FAF9F0;
  --paper: #F4F1E6;
  --sand: #ECE6D8;
  --muted: #5F5750;
  --muted-on-dark: #CFC6BC;
  --line: rgba(20, 19, 17, 0.2);
  --line-light: rgba(250, 249, 240, 0.28);
  --gut: clamp(20px, 4.2vw, 56px);
  --max: 1280px;
  --f-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.7 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.on-dark :focus-visible, .on-maroon :focus-visible { outline-color: var(--ivory); }
.skip { position: absolute; left: -999px; top: 0; background: var(--maroon); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(72px, 10vw, 144px); position: relative; overflow-x: clip; }
.sec-tight { padding-block: clamp(56px, 7vw, 96px); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.on-maroon { background: var(--maroon); color: var(--ivory); }
.on-dark { background: var(--ink); color: var(--ivory); }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- type ---------- */
.display { font-weight: 300; font-size: clamp(2.5rem, 6.4vw, 6rem); line-height: 1.04; letter-spacing: -0.025em; }
.display b, .h2 b, .h3-l b { font-weight: 700; color: var(--maroon); }
.on-maroon .display b, .on-maroon .h2 b, .on-dark .display b, .on-dark .h2 b { color: var(--ivory); }
.h2 { font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.h3-l { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -0.015em; }
.h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.6; font-weight: 300; max-width: 40em; }
.muted { color: var(--muted); }
.on-maroon .muted, .on-dark .muted { color: var(--muted-on-dark); }
.eyebrow {
  font: 400 12px/1.4 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--maroon);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-maroon .eyebrow, .on-dark .eyebrow { color: var(--ivory); opacity: 0.85; }
.prose p { max-width: 38em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border: 1px solid currentColor;
  font: 500 14px/1 var(--f-sans); letter-spacing: 0.02em;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.btn-solid:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); }
.btn-line:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.on-maroon .btn-solid, .on-dark .btn-solid { background: var(--ivory); color: var(--maroon); border-color: var(--ivory); }
.on-maroon .btn-solid:hover, .on-dark .btn-solid:hover { background: transparent; color: var(--ivory); }
.on-maroon .btn-line:hover, .on-dark .btn-line:hover { background: var(--ivory); color: var(--maroon); border-color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a.nl { font-size: 14px; font-weight: 400; letter-spacing: 0.01em; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a.nl:hover { border-color: var(--line); }
.nav a.nl[aria-current="page"] { border-color: var(--maroon); color: var(--maroon); font-weight: 500; }
.nav .btn { padding: 12px 20px; font-size: 13px; }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); width: 46px; height: 46px; padding: 0; cursor: pointer; color: var(--ink); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 28px;
    border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a.nl { font-size: 20px; font-weight: 300; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a.nl[aria-current="page"] { border-bottom-color: var(--maroon); }
  .nav .btn { margin-top: 20px; justify-content: center; padding: 16px; font-size: 14px; }
}

/* ---------- hero (home) — echoes the logo's crosshair composition ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(56px, 8vw, 112px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: clamp(0px, 13vw, 170px) minmax(0, 1fr); }
.hero-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding-right: 20px; }
.coord { font: 400 11px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coord b { display: block; font-weight: 500; color: var(--ink); }
.hero-main { min-width: 0; --pl: clamp(22px, 3.4vw, 52px); position: relative; border-left: 1px solid var(--ink); padding-left: var(--pl); }
.hero-main::before, .hero-main::after { content: ""; position: absolute; left: -1px; width: 1px; height: 64px; background: var(--ink); }
.hero-main::before { top: -64px; } .hero-main::after { bottom: -64px; }
.hero h1 { font-size: clamp(2.5rem, 6.3vw, 5.8rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 .l2 { display: block; font-weight: 700; color: var(--maroon); letter-spacing: -0.035em; }
.hero .hr { display: block; position: relative; height: 1px; background: var(--ink); margin: clamp(20px, 3vw, 36px) 0 clamp(20px, 3vw, 36px) -100vw; width: 200vw; }
.hero .hr img { position: absolute; top: 50%; left: calc(100vw - var(--pl) - 0.5px); transform: translate(-50%, -50%); width: clamp(36px, 4.4vw, 60px); height: auto; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1.05fr) auto; gap: 32px 56px; align-items: end; margin-top: clamp(28px, 4vw, 52px); }
.hero-copy p { max-width: 30em; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 300; line-height: 1.65; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { display: none; }
  .hero-main { --pl: 22px; }
  .hero-copy { grid-template-columns: 1fr; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: clip; padding-block: clamp(64px, 9vw, 128px) clamp(56px, 8vw, 104px); }
.page-hero .wrap { position: relative; }
.page-hero .ph-in { border-left: 1px solid var(--ink); padding-left: clamp(22px, 3.4vw, 52px); max-width: 980px; position: relative; }
.page-hero .ph-in::before, .page-hero .ph-in::after { content: ""; position: absolute; left: -1px; width: 1px; height: 48px; background: var(--ink); }
.page-hero .ph-in::before { top: -48px; } .page-hero .ph-in::after { bottom: -48px; }
.page-hero .lead { margin-top: 32px; }
.page-hero .lead + .lead { margin-top: 16px; }
.wm { position: absolute; right: -8%; top: 50%; width: min(52vw, 620px); transform: translateY(-50%); opacity: 0.075; pointer-events: none; }
.on-maroon .wm, .on-dark .wm { opacity: 0.09; }
.page-hero.on-maroon .ph-in, .page-hero.on-dark .ph-in { border-color: var(--ivory); }
.page-hero.on-maroon .ph-in::before, .page-hero.on-maroon .ph-in::after, .page-hero.on-dark .ph-in::before, .page-hero.on-dark .ph-in::after { background: var(--ivory); }
@media (max-width: 700px) { .wm { right: -30%; width: 90vw; } }

/* ---------- discipline strip ---------- */
.strip { background: var(--maroon); color: var(--ivory); overflow: hidden; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding-block: 22px; }
.strip li { font: 500 clamp(13px, 1.6vw, 17px)/1.2 var(--f-sans); letter-spacing: .04em; display: flex; align-items: center; gap: 32px; }
.strip li:not(:last-child)::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ivory); opacity: .6; }
@media (max-width: 700px) { .strip li::after { display: none !important; } .strip ul { justify-content: flex-start; } }

/* ---------- two-col blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split.even { grid-template-columns: 1fr; } }

/* ---------- service index rows ---------- */
.svc-list { border-top: 1px solid var(--ink); margin-top: clamp(36px, 5vw, 64px); }
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 60px; gap: 16px 40px; align-items: start; padding: clamp(26px, 3.4vw, 44px) clamp(0px, 1vw, 16px); border-bottom: 1px solid var(--ink); transition: background .25s, color .25s, padding .25s; }
.svc h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }
.svc .tagline { font-weight: 500; font-size: 1.02rem; margin: 0 0 8px; line-height: 1.5; }
.svc p { margin: 0; }
.svc .desc { color: var(--muted); font-size: .98rem; }
.svc .go { justify-self: end; align-self: center; width: 44px; height: 44px; border: 1px solid currentColor; display: grid; place-items: center; border-radius: 50%; }
.svc .go svg { width: 18px; height: 18px; }
.svc .explore { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 13px/1 var(--f-sans); letter-spacing: .02em; color: var(--maroon); }
.svc:hover { background: var(--maroon); color: var(--ivory); padding-inline: clamp(12px, 2vw, 28px); }
.svc:hover .desc, .svc:hover .explore { color: var(--ivory); }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr 44px; }
  .svc .body { grid-column: 1 / -1; grid-row: 2; }
  .svc h3 { grid-column: 1; }
  .svc .go { grid-row: 1; grid-column: 2; }
}

/* ---------- statement ---------- */
.statement { font-size: clamp(2rem, 4.8vw, 4.2rem); line-height: 1.12; font-weight: 300; letter-spacing: -0.025em; max-width: 19em; }
.statement span { display: block; opacity: .62; text-wrap: balance; }
.statement b { font-weight: 700; display: block; margin-top: .35em; opacity: 1; }
.on-dark .statement b { color: var(--ivory); }

/* ---------- why grid ---------- */
.why { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(36px, 5vw, 64px); }
.why > div { padding: 30px 22px 40px 0; border-bottom: 1px solid var(--ink); }
.why > div + div { padding-left: 22px; border-left: 1px solid var(--ink); }
.why h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; color: var(--maroon); line-height: 1.3; }
.why p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
@media (max-width: 1100px) {
  .why { grid-template-columns: 1fr; }
  .why > div, .why > div + div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 32px; padding: 24px 0 26px; border-left: 0; }
  .why h3 { margin: 0; }
}
@media (max-width: 640px) { .why > div, .why > div + div { grid-template-columns: 1fr; } }

/* ---------- featured work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(36px, 5vw, 64px); }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: clamp(20px, 2.4vw, 32px); }
.tile .k { font: 400 11px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.tile h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.tile .soon { font: 400 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; opacity: .75; }
.tile-photo { grid-column: span 7; grid-row: span 3; min-height: 520px; color: var(--ivory); }
.tile-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,19,17,.82), rgba(20,19,17,0) 62%); }
.tile-photo > *:not(img) { position: relative; z-index: 1; }
.tile-photo:hover img.bg { transform: scale(1.03); }
.tile-side { grid-column: span 5; min-height: 168px; justify-content: space-between; flex-direction: row; align-items: flex-end; gap: 16px; }
.tile-side .txt { min-width: 0; }
.tile-side .tm { width: 54px; opacity: .22; flex: none; align-self: flex-start; }
.t-maroon { background: var(--maroon); color: var(--ivory); }
.t-ink { background: var(--ink); color: var(--ivory); }
.t-sand { background: var(--sand); color: var(--ink); }
@media (max-width: 860px) { .tile-photo, .tile-side { grid-column: 1 / -1; } .tile-photo { min-height: 440px; grid-row: auto; } }

/* ---------- markets band ---------- */
.markets { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-light); }
.mk { padding: 36px 32px 8px 0; }
.mk + .mk { padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--line-light); }
.mk .code { font-size: clamp(3rem, 7vw, 6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.mk .coord { color: var(--muted-on-dark); margin: 12px 0 20px; }
.mk .coord b { color: var(--ivory); display: inline; margin-right: 8px; }
.mk p { color: var(--ivory); font-size: .98rem; }
@media (max-width: 700px) { .markets { grid-template-columns: 1fr; } .mk + .mk { border-left: 0; border-top: 1px solid var(--line-light); padding-left: 0; margin-top: 24px; padding-top: 32px; } }

/* ---------- approach ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: clamp(36px, 5vw, 64px); }
.step { padding: 28px 24px 12px 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--ink); }
.step .n { font: 400 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--maroon); }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 12px; }
.step p { margin: 0; font-size: .98rem; }
.step .sub { font-weight: 500; margin-bottom: 8px; }
.step .p2 { color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--ink); margin-top: 24px; padding-top: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 26px 0 26px; border-left: 0; } .step + .step { border-top: 1px solid var(--ink); } .step:nth-child(n+3) { margin-top: 0; } }

/* big step rows (approach page) */
.big-step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(44px, 6vw, 88px); border-top: 1px solid var(--ink); }
.big-step:last-of-type { border-bottom: 1px solid var(--ink); }
.big-step .n { font: 400 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--maroon); display: block; margin-bottom: 18px; }
.big-step h2 { font-weight: 700; font-size: clamp(2.4rem, 5.4vw, 4.8rem); letter-spacing: -0.035em; line-height: 1; }
.big-step .sub { font-size: clamp(1.3rem, 2.2vw, 1.9rem); font-weight: 300; line-height: 1.25; margin-bottom: 20px; }
.big-step .qs p { font-weight: 500; margin-bottom: .35em; }
@media (max-width: 800px) { .big-step { grid-template-columns: 1fr; } }

/* ---------- clients ---------- */
.cl-show { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.cl-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); box-shadow: 0 30px 60px -40px rgba(20,19,17,.5); }
.cl-panel { position: absolute; inset: 0; display: grid; place-items: center; background: var(--cbg, var(--ivory)); opacity: 0; transform: scale(1.035); transition: opacity .55s ease, transform .9s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.cl-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.cl-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(.72); }
.cl-panel-text { background: var(--sand); color: var(--maroon); text-align: center; padding: 24px; }
.cl-panel-text span { font-size: clamp(1.8rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.cl-list { border-top: 1px solid var(--ink); }
.cl-list li { border-bottom: 1px solid var(--ink); }
.cl-row { appearance: none; background: none; border: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font: inherit; font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 400; letter-spacing: -.01em; text-align: left; color: var(--muted); cursor: pointer; transition: color .3s, padding .35s cubic-bezier(.2,.7,.2,1); }
.cl-row:hover, .cl-row:focus-visible { color: var(--ink); padding-left: 14px; }
.cl-row.is-active { color: var(--maroon); font-weight: 500; padding-left: 14px; }
.cl-row .cl-ar { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s; color: var(--maroon); }
.cl-row.is-active .cl-ar, .cl-row:hover .cl-ar { opacity: 1; transform: none; }
.cl-row:focus-visible { outline-offset: -3px; }
@media (max-width: 860px) { .cl-show { grid-template-columns: 1fr; } .cl-stage { aspect-ratio: 16 / 11; } }
@media (prefers-reduced-motion: reduce) { .cl-panel, .cl-row { transition: none; } }

/* ---------- CTA band ---------- */
.cta { padding-block: clamp(72px, 9vw, 128px); position: relative; overflow: clip; }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.cta .h2 { font-size: clamp(2.2rem, 5.4vw, 4.8rem); max-width: 14em; }
.cta p { margin: 22px 0 0; font-size: 1.15rem; font-weight: 300; max-width: 30em; }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.svc-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.svc-page .side { position: sticky; top: 108px; align-self: start; }
.svc-page .idx { font: 400 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); margin-bottom: 18px; display: block; }
.svc-page h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.svc-page .side .h3-l { margin-top: 22px; font-weight: 300; }
.svc-page .body .big { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 300; line-height: 1.4; margin-bottom: 1em; letter-spacing: -0.01em; }
.svc-page .body .big b { font-weight: 600; color: var(--maroon); }
.svc-page .list-h { font: 400 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin: 44px 0 16px; padding-top: 20px; border-top: 1px solid var(--ink); }
.svc-page ul.what { columns: 2; column-gap: 40px; margin-bottom: 40px; }
.svc-page ul.what li { break-inside: avoid; padding: 9px 0 9px 22px; position: relative; border-bottom: 1px solid var(--line); font-size: .98rem; }
.svc-page ul.what li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--maroon); }
.svc-page .sub-h { font-size: 1.15rem; font-weight: 600; margin: 0 0 8px; }
.on-maroon .svc-page .idx, .on-dark .svc-page .idx { color: var(--ivory); opacity: .8; }
.on-maroon .svc-page h2 b, .on-dark .svc-page h2 b { color: var(--ivory); }
.on-maroon ul.what li, .on-dark ul.what li { border-color: var(--line-light); }
.on-maroon ul.what li::before, .on-dark ul.what li::before { background: var(--ivory); }
.on-maroon .list-h, .on-dark .list-h { border-color: var(--ivory); }
.on-maroon .svc-page .body .big b, .on-dark .svc-page .body .big b { color: var(--ivory); }
.svc-sec { scroll-margin-top: 76px; }
@media (max-width: 860px) { .svc-page { grid-template-columns: 1fr; } .svc-page .side { position: static; } .svc-page ul.what { columns: 1; } }

/* ---------- about ---------- */
.belief { display: grid; gap: 0; margin-top: 40px; }
.belief p { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 300; line-height: 1.35; letter-spacing: -0.01em; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--line-light); max-width: none; }
.belief p:first-child { border-top: 1px solid var(--line-light); }
.belief em { font-style: normal; font-weight: 600; }
.promise { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); margin-top: 40px; }
.promise p { margin: 0; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--ink); font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 300; line-height: 1.4; }
.promise p:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--ink); }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } .promise p, .promise p:nth-child(even) { padding: 22px 0; border-left: 0; } }

/* ---------- work page ---------- */
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; padding: 8px 12px; }
.case-hero { margin-top: 28px; position: relative; }
.case-hero img { width: 100%; height: clamp(300px, 46vw, 620px); object-fit: cover; }
.case-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.case-cols h3 { font: 400 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 18px; }
.delivered { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.delivered li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--ink); }
.delivered li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ink); }
.delivered b { display: block; font-weight: 600; margin-bottom: 4px; }
.delivered span { color: var(--muted); font-size: .96rem; display: block; line-height: 1.55; }
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(40px, 5vw, 72px); }
.mosaic figure { margin: 0; overflow: hidden; background: var(--sand); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic figure:hover img { transform: scale(1.03); }
.mo-a { grid-column: span 4; aspect-ratio: 3/4; } .mo-b { grid-column: span 4; aspect-ratio: 3/4; } .mo-c { grid-column: span 4; aspect-ratio: 3/4; }
.mo-d { grid-column: span 6; aspect-ratio: 3/2; } .mo-e { grid-column: span 6; aspect-ratio: 3/2; }
@media (max-width: 800px) { .case-cols { grid-template-columns: 1fr; } .delivered { grid-template-columns: 1fr; } .delivered li, .delivered li:nth-child(even) { padding: 20px 0; border-left: 0; } .mo-a, .mo-b, .mo-c { grid-column: span 6; } .mo-c { grid-column: span 12; aspect-ratio: 3/2; } .mo-d, .mo-e { grid-column: span 12; } }
.pending-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: 32px; }
.pending-cases .tile { min-height: 300px; justify-content: space-between; }
.pending-cases .tile .tm { width: 54px; opacity: .22; }
.pending-cases.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .pending-cases, .pending-cases.two { grid-template-columns: 1fr; } .pending-cases .tile { min-height: 200px; } }

/* ---------- markets page ---------- */
.mk-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.mk-page .code { font-size: clamp(4rem, 11vw, 9rem); font-weight: 700; letter-spacing: -0.05em; line-height: .9; color: var(--maroon); }
.on-maroon .mk-page .code { color: var(--ivory); }
.mk-page .coord { margin-top: 20px; }
.on-maroon .mk-page .coord { color: var(--muted-on-dark); } .on-maroon .mk-page .coord b { color: var(--ivory); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag-list li { border: 1px solid currentColor; padding: 10px 16px; font-size: .92rem; }
@media (max-width: 860px) { .mk-page { grid-template-columns: 1fr; } }
.explore-list { columns: 2; column-gap: 40px; margin: 28px 0 40px; }
.explore-list li { break-inside: avoid; padding: 11px 0 11px 22px; position: relative; border-bottom: 1px solid var(--line-light); }
.explore-list li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--ivory); }
@media (max-width: 700px) { .explore-list { columns: 1; } }

/* ---------- insights ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.cats > div { padding: 26px 20px 30px 0; border-bottom: 1px solid var(--ink); }
.cats > div + div { padding-left: 20px; border-left: 1px solid var(--ink); }
.cats h3 { font-size: 1.15rem; font-weight: 600; color: var(--maroon); margin-bottom: 8px; }
.cats p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 1000px) { .cats { grid-template-columns: 1fr 1fr; } .cats > div, .cats > div + div { padding: 22px 16px 26px 0; border-left: 0; } .cats > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--ink); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } .cats > div:nth-child(even) { padding-left: 0; border-left: 0; } }
.articles { border-top: 1px solid var(--ink); margin-top: 32px; counter-reset: a; }
.article { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--ink); }
.article .n { font: 400 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--maroon); }
.article h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); font-weight: 300; letter-spacing: -0.015em; line-height: 1.25; }
.article .status { font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; padding: 8px 12px; white-space: nowrap; }
@media (max-width: 700px) { .article { grid-template-columns: 1fr; gap: 10px; } .article .status { justify-self: start; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label, .field legend { display: block; font: 400 12px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 12px 0; font: 400 1.05rem/1.5 var(--f-sans); color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; border: 1px solid var(--ink); padding: 14px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--maroon); box-shadow: 0 1px 0 var(--maroon); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--maroon); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { display: inline-block; margin: 0; padding: 10px 16px; border: 1px solid var(--ink); font: 400 .9rem/1.2 var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.opts label:hover { background: var(--sand); }
.opts input:checked + label { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.opts input:focus-visible + label { outline: 2px solid var(--maroon); outline-offset: 3px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-status { min-height: 1.6em; font-weight: 500; color: var(--maroon); margin: 0; }
.details { border-top: 1px solid var(--ink); }
.details > div { padding: 24px 0; border-bottom: 1px solid var(--ink); }
.details .k { font: 400 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); display: block; margin-bottom: 10px; }
.details p { margin: 0; }
.details a { border-bottom: 1px solid currentColor; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.4rem; font-weight: 500; margin: 2em 0 .5em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--ivory); padding-block: clamp(56px, 7vw, 96px) 32px; position: relative; overflow: clip; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.foot-brand img { width: min(300px, 70vw); height: auto; }
.foot-brand p { margin: 24px 0 0; color: var(--muted-on-dark); max-width: 26em; font-weight: 300; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.foot-cols h4 { font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 18px; }
.foot-cols li { margin-bottom: 8px; font-size: .95rem; }
.foot-cols a { border-bottom: 1px solid transparent; }
.foot-cols a:hover { border-color: var(--ivory); }
.soc { display: inline-flex; gap: 10px; }
.soc a, .foot-cols .soc a, .details .soc a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.soc svg { width: 21px; height: 21px; }
.soc a:hover { transform: translateY(-2px); }
.details .soc a { color: var(--ink); } .details .soc a:hover { background: var(--maroon); border-color: var(--maroon); color: var(--ivory); }
.foot-cols .soc a { border-color: var(--line-light); color: var(--ivory); } .foot-cols .soc a:hover { background: var(--ivory); border-color: var(--ivory); color: var(--maroon); }
.foot-bottom { margin-top: clamp(40px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .84rem; color: var(--muted-on-dark); }
.foot-bottom a:hover { color: var(--ivory); }
.foot-bottom .lg { display: flex; gap: 20px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.svc .explore svg { width: 14px; height: 14px; }
body { overflow-x: clip; }

.tile .soon svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-left: 6px; }

/* ---------- Our Work: client rows + case-study modal ---------- */
.client-showcase { padding-bottom: clamp(56px, 7vw, 104px); }
.work-rows { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); }
.work-rows li { border-bottom: 1px solid var(--ink); }
.wr { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; align-items: center; gap: 16px 32px; min-height: 92px; padding: 18px clamp(4px, 1.4vw, 20px); overflow: hidden; isolation: isolate; transition: background .35s, color .35s, padding .35s; }
.wr-name { font-size: clamp(1.25rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.wr-tags { font: 400 11px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .35s; }
.wr-go { font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.wr-go i { font-style: normal; display: inline-block; transition: transform .35s; }
a.wr { cursor: pointer; }
a.wr:hover, a.wr:focus-visible { background: var(--maroon); color: var(--ivory); padding-inline: clamp(16px, 2.4vw, 36px); }
a.wr:hover .wr-tags, a.wr:focus-visible .wr-tags { color: var(--muted-on-dark); }
a.wr:hover .wr-go i, a.wr:focus-visible .wr-go i { transform: translateX(6px); }
a.wr:focus-visible { outline-offset: -3px; outline-color: var(--ivory); }
.wr-img { position: absolute; right: clamp(150px, 16vw, 230px); top: 50%; width: 148px; height: 62px; object-fit: cover; transform: translate(14px, -50%); opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; z-index: -1; }
a.wr:hover .wr-img, a.wr:focus-visible .wr-img { opacity: .9; transform: translate(0, -50%); }
.wr-soon { color: var(--muted); }
.wr-soon .wr-go { opacity: .8; }
@media (max-width: 800px) { .wr { grid-template-columns: 1fr auto; min-height: 0; } .wr-tags { grid-column: 1 / -1; grid-row: 2; } .wr-img { display: none; } }

/* case studies: hidden behind the client rows when JS is on; fully visible without it */
.js .case-store { display: none; }
.case { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.case-modal { border: 0; padding: 0; width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; background: var(--ivory); color: var(--ink); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -30px rgba(0,0,0,.6); }
.case-modal[open] { animation: case-in .35s cubic-bezier(.2,.7,.2,1); }
.case-modal::backdrop { background: rgba(20,19,17,.74); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
@keyframes case-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
.case-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(18px, 3vw, 36px); background: var(--ivory); border-bottom: 1px solid var(--line); }
.case-bar-t { font: 400 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.case-close { font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ivory); background: var(--maroon); border: 0; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.case-close:hover { background: var(--maroon-deep); }
.case-close span { font-size: 15px; margin-left: 4px; }
.case-modal .case-body { padding: clamp(24px, 4.5vw, 64px) clamp(18px, 4.5vw, 64px) clamp(40px, 6vw, 80px); }
.case-modal .case-hero img { height: clamp(220px, 40vw, 520px); }
html.case-open { overflow: hidden; }
@media (max-width: 700px) { .case-modal { width: 100vw; max-height: 100dvh; height: 100dvh; } }
@media (prefers-reduced-motion: reduce) { .case-modal[open] { animation: none; } }
