/* ==========================================================
   Arcadia World — site styles
   ========================================================== */

/* Fonts (self-hosted, from Fontsource) */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-tight-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-tight-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-tight-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-tight-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fff;
  --ink: #0d0d0d;
  --ink-2: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e7e7e7;
  --soft: #f5f5f3;
  /* Brand colours, sampled from the logo's three lines */
  --red: #e2231a;
  --yellow: #f5b400;
  --blue: #1d6fc4;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --gut: 32px;
  --hdr: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hdr); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; }
.skip:focus { left: 16px; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.label { font-size: 13px; color: var(--muted); }

/* Section eyebrow: the small title beside or above a block of text.
   (Not `.label.dark`: `.dark` is the black section style and would paint the label black.) */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; align-self: start; justify-self: start; margin-top: .55em; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--ink); white-space: nowrap; }
.eyebrow::before { content: ""; flex: none; width: 24px; height: 2px; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--yellow) 33.3% 66.6%, var(--blue) 66.6%); }
.dark .eyebrow { color: #fff; }

/* Brand stripe: the three logo lines */
.tri { display: inline-flex; gap: 3px; vertical-align: middle; }
.tri i { width: 14px; height: 2px; }
.tri i:nth-child(1) { background: var(--red); }
.tri i:nth-child(2) { background: var(--yellow); }
.tri i:nth-child(3) { background: var(--blue); }

/* Type scale */
.display { font-size: clamp(48px, 8.4vw, 128px); line-height: .93; letter-spacing: -0.045em; }
.h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.04em; }
.h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: .98; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; }
.lede { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 34px); line-height: 1.14; letter-spacing: -0.015em; }
.lede .ind { display: inline-block; width: 16%; }
.big-serif { font-family: var(--serif); font-size: clamp(34px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.03em; }
em.s { font-family: var(--serif); font-style: normal; letter-spacing: -0.02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; cursor: pointer; background: transparent; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: #333; border-color: #333; }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: #000; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.arrow-link::after { content: "→"; transition: transform .25s; }
.arrow-link:hover::after { transform: translateX(4px); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================
   Header + menu
   ========================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(0,0,0,.04); }
.site-header .bar { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { display: inline-block; justify-self: start; }
/* logo-trim.png is the original logo with its empty margin removed */
.logo img { height: 63px; width: auto; }
.menu { display: flex; gap: 6px; }
.menu a { position: relative; padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.menu a:hover { color: var(--ink); background: var(--soft); }
.menu a[aria-current="page"] { color: var(--ink); }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 30px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66%); }
.hdr-cta { justify-self: end; display: flex; align-items: center; gap: 18px; }
.hdr-cta .tel { font-size: 14px; color: var(--ink-2); }
.hdr-cta .tel:hover { color: var(--ink); }
.burger { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; }
.burger .lines { width: 18px; height: 10px; position: relative; }
.burger .lines::before, .burger .lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.burger .lines::before { top: 0; } .burger .lines::after { top: 8px; }
.burger[aria-expanded="true"] .lines::before { top: 4px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .lines::after { top: 4px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mnav { position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; background: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gut) 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; }
.mnav.open { opacity: 1; visibility: visible; transform: none; }
.mnav ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mnav li { border-bottom: 1px solid var(--line); }
.mnav li a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-size: 36px; letter-spacing: -0.03em; line-height: 1.05; }
.mnav li a::before { counter-increment: m; content: "0" counter(m); font-size: 12px; color: var(--muted); letter-spacing: 0; width: 22px; }
.mnav li a[aria-current="page"] { font-family: var(--serif); }
.mnav .mfoot { margin-top: 32px; display: grid; gap: 6px; color: var(--ink-2); }
.mnav .mfoot .btn { margin-top: 14px; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ==========================================================
   Shared page pieces
   ========================================================== */
/* Vertical only, so `.section.container` keeps the container's side gutters */
.section { padding-top: 120px; padding-bottom: 120px; }
.section.tight { padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }

.page-hero { padding-top: 72px; padding-bottom: 64px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; margin-right: 8px; color: #ccc; }
.page-hero .row { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gut); margin-top: 48px; }
.page-hero .row .lede { grid-column: 3; }

.split { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gut); }
.split > .wide { grid-column: 3; }

.bleed { height: min(100vh, 900px); min-height: 460px; overflow: hidden; background: var(--soft); }
.bleed img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* ==========================================================
   Home
   ========================================================== */
.hero { position: relative; height: calc(100vh - var(--hdr)); min-height: 520px; overflow: hidden; color: #fff; background: #1b1b1b; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s linear; }
.hero .slide.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); pointer-events: none; }
.hero .inner { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: .96; letter-spacing: -0.04em; max-width: 900px; }
.hero .meta { text-align: right; font-size: 14px; display: grid; gap: 14px; justify-items: end; }
.hero .meta a { border-bottom: 1px solid rgba(255,255,255,.6); }
.hero .dots { display: flex; gap: 6px; }
.hero .dots button { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero .dots button.on { background: #fff; }

.statement { text-align: center; padding-top: 140px; padding-bottom: 100px; }
.statement .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 60px; margin-top: 48px; text-align: left; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: 96px 1fr; row-gap: 14px; column-gap: 16px; align-content: start; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

.lists { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: var(--gut); }
.lists ul { list-style: none; margin: 0; padding: 0; }
.lists li { margin-bottom: 16px; }
.lists li b { display: block; font-weight: 500; }
.lists li span { color: var(--muted); }

/* Staggered project grid (home) */
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); }
.pcard { display: block; }
.pcard .ph { overflow: hidden; background: var(--soft); }
.pcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pcard.tall img { aspect-ratio: 4/5; }
.pcard:hover img { transform: scale(1.05); }
.pcard .cap { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: 12px; }
.pcard .cap b { font-weight: 500; }
.pcard .cap .muted { grid-column: 1; font-size: 14px; }
.pcard .cap .go { grid-row: 1; grid-column: 2; font-size: 14px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.pcard:hover .cap .go { opacity: 1; transform: none; }
.pgrid .pcard:nth-child(1) { grid-column: 1 / 7; }
.pgrid .pcard:nth-child(2) { grid-column: 8 / 13; margin-top: 140px; }
.pgrid .pcard:nth-child(3) { grid-column: 1 / 4; margin-top: 120px; }
.pgrid .pcard:nth-child(4) { grid-column: 5 / 10; margin-top: 40px; }
.pgrid .pcard:nth-child(5) { grid-column: 10 / 13; margin-top: 300px; }
.pgrid .pcard:nth-child(6) { grid-column: 2 / 7; margin-top: 60px; }
.pgrid .pcard:nth-child(7) { grid-column: 8 / 12; margin-top: 160px; }

/* Radial services */
.radial { position: relative; height: 100vh; min-height: 640px; max-height: 1000px; display: grid; place-items: center; overflow: hidden; }
.radial .wheel { position: absolute; width: min(84vh, 84vw); max-width: 840px; aspect-ratio: 1; }
.radial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.radial .num { position: absolute; transform: translate(-50%, -50%); font-size: 12px; color: var(--muted); white-space: nowrap; text-align: center; }
.radial .num b { display: block; font-weight: 400; color: var(--ink); font-family: var(--serif); font-size: 18px; }
.radial .center { position: relative; z-index: 2; text-align: center; }
.radial .center p { color: var(--muted); margin-top: 16px; }
.radial .mlist { display: none; }

/* Dark band */
.dark { background: #0b0b0b; color: #fff; }
.dark .muted, .dark .label { color: #8d8d8d; }
.people { position: relative; padding: 140px 0 140px; overflow: hidden; }
.people h2 { font-family: var(--serif); font-size: clamp(34px, 4.8vw, 70px); line-height: 1.02; letter-spacing: -0.025em; max-width: 900px; }
.ring-wrap { position: relative; height: 720px; margin-top: 40px; overflow: hidden; }
.ring { position: absolute; left: calc(30% - 750px); top: 40px; width: 1500px; height: 1500px; }
.ring img { position: absolute; width: 170px; height: 210px; object-fit: cover; left: 50%; top: 0; margin-left: -85px; transform-origin: 85px 750px; }
.stats { position: absolute; right: 0; top: 40px; display: grid; gap: 40px; }
.stat { opacity: .3; transition: opacity .6s; }
.stat.in { opacity: 1; }
.stat b { display: block; font-weight: 400; font-size: clamp(48px, 5vw, 76px); letter-spacing: -0.04em; line-height: .95; }
.stat span { display: block; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.02; padding-left: 1.2em; letter-spacing: -0.02em; }

.cta-band { padding: 160px 0; text-align: center; }
.cta-band h2 { margin-bottom: 44px; }

/* ==========================================================
   Projects listing
   ========================================================== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filters button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button sup { font-size: 10px; margin-left: 3px; opacity: .6; }
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 72px var(--gut); }
.plist .pcard img { aspect-ratio: 4/3; }
.plist .pcard:nth-child(even) { margin-top: 120px; }
.plist .pcard .cap { padding-top: 16px; }
.plist .pcard .cap b { font-size: 20px; letter-spacing: -0.02em; }
.plist .pcard .tags { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { display: inline-block; font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.empty { padding: 60px 0; color: var(--muted); }

/* ==========================================================
   Project detail
   ========================================================== */
.p-head { padding-top: 64px; padding-bottom: 48px; }
.p-head .top { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gut); margin-top: 56px; align-items: start; }
.p-head .top .lede { grid-column: 3; }
.p-cover { height: min(88vh, 860px); overflow: hidden; background: var(--soft); }
.p-cover img { width: 100%; height: 112%; object-fit: cover; }
.p-body { padding-top: 100px; padding-bottom: 100px; }
.p-body .wide p + p { margin-top: 1em; }
.gallery { columns: 3; column-gap: var(--gut); }
.gallery button { display: block; width: 100%; margin: 0 0 var(--gut); padding: 0; border: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.gallery button:hover img { transform: scale(1.03); }
.next-proj { display: block; border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 80px; }
.next-proj .label { display: block; margin-bottom: 16px; }
.next-proj .h1 { display: inline-block; transition: translate .6s cubic-bezier(.2,.7,.2,1); }
.next-proj:hover .h1 { translate: 24px 0; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox .lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.lightbox .lb-btn:hover { background: #fff; color: #000; }
.lightbox .prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .close { right: 24px; top: 24px; }
.lightbox .count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #aaa; font-size: 13px; }

/* ==========================================================
   News
   ========================================================== */
.nlist { border-top: 1px solid var(--line); }
.nrow { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gut); padding: 40px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.nrow:hover { background: var(--soft); }
.nrow .date b { display: block; font-size: 56px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.nrow h3 { margin-bottom: 14px; }
.nrow p { color: var(--ink-2); max-width: 720px; }
.nrow .arrow-link { margin-top: 20px; }
.article { padding-top: 72px; padding-bottom: 120px; }
.article .split { margin-top: 56px; }
.article .body p { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -0.01em; }
.article .body p + p { margin-top: 1em; }
.article .body p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .85; padding: 6px 10px 0 0; }
.share { display: flex; gap: 10px; margin-top: 48px; }

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.cblock { padding: 28px 0; border-top: 1px solid var(--line); }
.cblock .label { display: block; margin-bottom: 10px; }
.cblock a { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; display: inline-block; }
.cblock a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s; }
.cblock a:hover { background-size: 100% 1px; }
.cblock p { font-size: 18px; }
form .field { position: relative; margin-bottom: 26px; }
form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
form input, form textarea { width: 100%; border: 0; border-bottom: 1px solid #cfcfcf; padding: 10px 0; font: inherit; font-size: 18px; background: transparent; border-radius: 0; transition: border-color .2s; }
form textarea { min-height: 140px; resize: vertical; }
form input:focus, form textarea:focus { outline: none; border-color: var(--ink); }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
form .note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
form .err { color: var(--red); font-size: 12px; margin-top: 6px; display: none; }
form .field.invalid .err { display: block; }
form .field.invalid input, form .field.invalid textarea { border-color: var(--red); }
.form-done { display: none; padding: 40px 0; }
/* Spam trap: invisible to people, filled in by bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done.show { display: block; }
.map { height: 460px; filter: grayscale(1) contrast(1.05); border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================
   About
   ========================================================== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.values > div { padding: 40px 32px 48px 0; }
.values > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.values .n { font-size: 13px; color: var(--muted); }
.values h3 { margin: 40px 0 14px; }
.values p { color: var(--ink-2); max-width: 340px; }
.svc-list { border-top: 1px solid var(--line); }
.svc-list li { list-style: none; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gut); padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.svc-list li .h2 { transition: translate .5s cubic-bezier(.2,.7,.2,1); }
.svc-list li:hover .h2 { translate: 16px 0; }
.svc-list li .h2 { grid-column: 3; }
.svc-list ul { margin: 0; padding: 0; }
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
.founder .card { aspect-ratio: 4/5; background: var(--soft); display: grid; place-items: center; position: relative; }
.founder .card img { width: 60%; }
.founder .card .tri { position: absolute; left: 24px; bottom: 24px; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: #0b0b0b; color: #fff; padding: 80px 0 28px; }
.site-footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr 1.3fr; gap: var(--gut); }
.flogo img { height: 63px; width: auto; filter: invert(1) hue-rotate(180deg) brightness(1.15); }
.flogo p { margin-top: 24px; color: #9a9a9a; max-width: 300px; }
.site-footer h4 { font-size: 13px; color: #8d8d8d; margin-bottom: 16px; }
.site-footer .col a, .site-footer .col p { display: block; color: #e6e6e6; margin: 0 0 8px; }
.site-footer .col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .tagline { margin-top: 100px; font-size: clamp(40px, 7vw, 112px); line-height: .92; letter-spacing: -0.045em; }
.site-footer .base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #222; color: #777; font-size: 13px; flex-wrap: wrap; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .hdr-cta .tel { display: none; }
  .menu a { padding: 10px 12px; }
}
@media (max-width: 960px) {
  :root { --gut: 20px; --hdr: 76px; }
  .logo img { height: 48px; }
  .site-header .bar { grid-template-columns: 1fr auto; }
  .menu, .hdr-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .split, .page-hero .row, .p-head .top { grid-template-columns: 1fr; gap: 20px; }
  .split > .wide, .page-hero .row .lede, .p-head .top .lede { grid-column: auto; }
  .lists { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pgrid { display: flex; flex-direction: column; gap: 48px; }
  .pgrid .pcard { margin: 0 !important; }
  .pgrid .pcard.tall { width: 75%; }
  .plist { grid-template-columns: 1fr; gap: 48px; }
  .plist .pcard:nth-child(even) { margin-top: 0; }
  .radial { height: auto; min-height: 0; padding: 100px 0; }
  .radial .wheel { display: none; }
  .radial .mlist { display: block; margin-top: 36px; font-family: var(--serif); font-size: 24px; line-height: 1.5; }
  .ring-wrap { height: auto; }
  .ring { position: relative; left: auto; top: 0; width: auto; height: auto; display: flex; gap: 10px; overflow-x: auto; transform: none !important; padding-bottom: 6px; }
  .ring img { position: static; transform: none !important; margin: 0; flex: 0 0 150px; height: 190px; }
  .stats { position: static; margin-top: 56px; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery button { margin-bottom: 12px; }
  .nrow { grid-template-columns: 1fr; gap: 12px; }
  .contact-grid, .founder { grid-template-columns: 1fr; gap: 56px; }
  .values { grid-template-columns: 1fr; }
  .values > div, .values > div + div { padding: 32px 0; border-left: 0; }
  .values > div + div { border-top: 1px solid var(--line); }
  .values h3 { margin-top: 16px; }
  .svc-list li { grid-template-columns: 40px 1fr; }
  .svc-list li .h2 { grid-column: 2; }
  .svc-list li > :nth-child(2) { display: none; }
  .site-footer .top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .site-footer .flogo { grid-column: 1 / -1; }
  .hero .meta .cap { display: none; }
  .lightbox img { max-width: calc(100vw - 24px); }
  .lightbox .prev, .lightbox .next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 560px) {
  .statement { padding-top: 96px; padding-bottom: 72px; }
  .statement .cols { grid-template-columns: 1fr; gap: 20px; }
  .hero .inner { flex-direction: column; align-items: flex-start; }
  .hero .meta { justify-items: start; text-align: left; }
  .lists { grid-template-columns: 1fr; }
  form .row2 { grid-template-columns: 1fr; gap: 0; }
  .site-footer .top { grid-template-columns: 1fr; }
  .mnav li a { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero .slide { transition: opacity .3s; transform: none; }
}

/* ==========================================================
   Shared motion components (animated by motion.js; readable without it)
   ========================================================== */
/* GSAP drives .rv when motion is on, so the CSS fallback transition must not fight it */
html.motion .rv { transition: none; }
/* ScrollTrigger jumps the scroll position while it measures; CSS smooth scrolling turns those
   jumps into glides and corrupts the measurements (pinned sections then let go mid-scroll) */
html.motion { scroll-behavior: auto; }

/* Masked lines for headline reveals */
.h-lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-lines .line > span { display: inline-block; will-change: transform; }

/* Text that darkens word by word */
.scrub-text { font-family: var(--serif); font-size: clamp(30px, 3.9vw, 58px); line-height: 1.08; letter-spacing: -0.025em; }
.scrub-text + .scrub-text { margin-top: .6em; }
.scrub-text .w, [data-words] .w { display: inline-block; }

/* Stacking cards: each keeps its label bar visible once the next card covers it */
.stack { --bar: 64px; --card-h: min(560px, calc(100vh - var(--hdr) - 48px - 2 * var(--bar))); }
.stack-head { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gut); margin-bottom: 60px; }
.stack .card { position: sticky; top: calc(var(--hdr) + 24px + var(--i) * var(--bar)); height: calc(var(--card-h) + var(--bar)); margin-bottom: 32px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.stack .bar { height: var(--bar); flex: none; display: flex; align-items: center; gap: 20px; padding: 0 28px; border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.stack .bar .n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; width: 24px; }
.stack .bar .t { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.stack .bar i { margin-left: auto; width: 36px; height: 3px; background: var(--c); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.stack .body { flex: 1; min-height: 0; display: grid; grid-template-columns: 5fr 7fr; }
.stack .txt { padding: 40px 40px 44px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--soft); }
.stack h3 { font-size: clamp(38px, 4.2vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.stack p { margin-top: 16px; font-size: 18px; line-height: 1.4; max-width: 340px; color: var(--ink-2); }
.stack .ph { position: relative; overflow: hidden; background: var(--soft); }
/* GSAP moves .ph-in (scroll depth); CSS zooms the img on hover, so they never fight */
.stack .ph-in { position: absolute; left: 0; right: 0; top: -8%; height: 116%; }
.stack .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.stack .card:hover .ph img { transform: scale(1.05); }
.stack .card:hover .bar i { width: 72px; }
.stack .shade { position: absolute; inset: var(--bar) 0 0 0; background: #fff; opacity: 0; pointer-events: none; z-index: 3; }

/* Endless text rows */
.marquee { padding: 64px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.marquee .row { overflow: hidden; }
.marquee .track { display: flex; width: max-content; will-change: transform; }
.marquee .item { display: inline-flex; align-items: center; white-space: nowrap; font-size: clamp(40px, 6vw, 96px); line-height: 1.1; letter-spacing: -0.04em; }
.marquee .r2 .item { font-family: var(--serif); letter-spacing: -0.025em; color: #9b9b9b; }
.marquee .item::after { content: ""; width: .14em; height: .14em; border-radius: 50%; margin: 0 .55em; background: var(--dot); flex: none; }

/* Services list */
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--sx, 1)); }
.svc li:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); }
.svc a { position: relative; display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; gap: var(--gut); padding: 30px 0; transition: opacity .4s ease; }
.svc .n { font-size: 13px; color: var(--muted); }
/* Hover moves with `translate` and never changes the font, so nothing reflows or bounces;
   `transform` stays free for GSAP */
.svc .name { font-size: clamp(34px, 4.6vw, 72px); letter-spacing: -0.045em; line-height: 1; transition: translate .5s cubic-bezier(.2,.7,.2,1); }
.svc .go { font-size: 14px; color: var(--muted); transition: color .3s, translate .5s cubic-bezier(.2,.7,.2,1); }
.svc:hover a { opacity: .28; }
.svc a:hover { opacity: 1; }
.svc a::before { content: ""; position: absolute; left: 80px; top: 50%; width: 0; height: 3px; margin-top: -1.5px; background: var(--c, var(--blue)); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.svc li:nth-child(3n+1) a { --c: var(--red); }
.svc li:nth-child(3n+2) a { --c: var(--yellow); }
.svc a:hover::before { width: 28px; }
.svc a:hover .name { translate: 44px 0; }
.svc a:hover .go { color: var(--ink); translate: -8px 0; }
.svc-float { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.svc-float img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.svc-float span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* Large call-to-action */
.cta-band .magnet { height: 64px; padding: 0 36px; font-size: 15px; }
.cta-band h2 { margin-bottom: 52px; }

@media (max-width: 960px) {
  .stack-head { grid-template-columns: 1fr; gap: 28px; }
  .stack { --bar: 52px; --card-h: min(520px, calc(100vh - var(--hdr) - 32px - 2 * var(--bar))); }
  .stack .card { top: calc(var(--hdr) + 12px + var(--i) * var(--bar)); }
  .stack .bar { padding: 0 18px; }
  .stack .body { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .stack .ph { order: -1; }
  .stack .txt { padding: 22px 20px 24px; }
  .stack h3 { font-size: 34px; }
  .stack p { font-size: 16px; }
  .marquee { padding: 56px 0; }
  .svc a { grid-template-columns: 40px 1fr; padding: 22px 0; }
  .svc .go { display: none; }
  .svc a::before { left: 40px; }
}

/* ==========================================================
   Page builder sections (Content pages)
   ========================================================== */
.text-image { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.text-image.image-left .ti-image { order: -1; }
.ti-text { display: grid; gap: 24px; align-content: start; }
.ti-text p { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.ti-image { overflow: hidden; background: var(--soft); }
.ti-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ti-image:hover img { transform: scale(1.04); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gut); margin-top: 32px; border-top: 1px solid var(--line); }
.stat-grid > div { padding-top: 24px; }
.stat-grid b { display: block; font-weight: 400; font-size: clamp(64px, 8vw, 128px); line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.stat-grid span { color: var(--muted); }

.big-quote { margin: 28px 0 0; font-family: var(--serif); font-size: clamp(32px, 4.6vw, 70px); line-height: 1.04; letter-spacing: -0.025em; max-width: 1150px; }

.bleed-figure { margin: 0; }
.bleed-figure figcaption { padding-top: 14px; }

@media (max-width: 960px) {
  .text-image { grid-template-columns: 1fr; gap: 40px; }
  .text-image.image-left .ti-image { order: 0; }
}
