/* Inner pages (services, work, about, policies) — layouts on top of site.css */
body.inner { overflow-x: hidden; }
body.inner .site { display: block; opacity: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: rgba(238, 241, 247, .7); transition: color .3s; }
.crumbs a:hover { color: var(--red-2); }
.crumbs i { font-style: normal; color: var(--red); }

/* Page hero */
.p-hero { min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 150px !important; padding-bottom: clamp(70px, 12vh, 130px) !important; }
.p-hero h1 { font-size: clamp(46px, min(9vw, 15vh), 170px); max-width: 14ch; }
.p-hero .p-lede { margin-top: 34px; max-width: 620px; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.45; color: rgba(238, 241, 247, .8); }
.p-hero .hero-ctas { margin-top: 40px; }
.p-hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair); font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.p-hero-meta b { color: var(--paper); font-weight: 500; margin-left: 8px; }

/* Grid of linked tiles (sub-services, disciplines) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 210px; padding: 26px; background: rgba(3, 5, 11, .82); backdrop-filter: blur(6px); overflow: hidden; transition: background .45s; }
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(54, 228, 208, .18), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover { background: rgba(10, 16, 28, .92); }
.tile:hover::after { opacity: 1; }
.tile .mono { font-size: 11px; letter-spacing: .16em; color: var(--red-2); }
.tile h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 1.7vw, 27px); line-height: 1.05; letter-spacing: -.01em; }
.tile p { color: rgba(238, 241, 247, .66); font-size: 15px; line-height: 1.5; }
.tile .round-arrow { position: absolute; right: 22px; top: 22px; width: 38px; height: 38px; font-size: 14px; }
.tile.is-current { background: rgba(54, 228, 208, .14); }
.tile.is-current .round-arrow { display: none; }

/* Discipline banner rows (services hub) */
.disc { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding: clamp(40px, 7vh, 80px) 0; border-top: 1px solid var(--hair); align-items: start; }
.disc:last-child { border-bottom: 1px solid var(--hair); }
.disc .idx { font: 500 13px var(--mono); color: var(--red-2); padding-top: 12px; }
.disc h2 { font-size: clamp(34px, 4.6vw, 76px); }
.disc h2 a { transition: color .35s; }
.disc h2 a:hover { color: var(--red-2); }
.disc p { font-size: 18px; line-height: 1.55; color: rgba(238, 241, 247, .74); margin-bottom: 24px; }
.disc .chips a { display: block; }

/* Work case page */
.case-media { aspect-ratio: 16 / 8; width: 100%; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(30px, 6vw, 100px); }
.case-facts { display: grid; gap: 22px; align-content: start; }
.case-facts div { padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.case-facts dt { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.case-facts dd { font-size: 18px; }
.case-body p { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.3; letter-spacing: -.01em; }
.case-note { margin-top: 40px; display: inline-flex; gap: 12px; align-items: center; padding: 14px 20px; border: 1px dashed rgba(127, 240, 226, .5); font: 500 12px var(--mono); letter-spacing: .1em; color: var(--red-2); text-transform: uppercase; }
.next-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.next-case .media { aspect-ratio: 16 / 10; }
.next-case h2 { font-size: clamp(44px, 7vw, 120px); margin-top: 16px; }

/* Policy pages */
.policy-box { max-width: 820px; padding: clamp(28px, 4vw, 54px); position: relative; }
.policy-box h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2vw, 30px); margin-bottom: 18px; }
.policy-box p { font-size: 18px; line-height: 1.6; color: rgba(238, 241, 247, .78); }
.policy-box p + p { margin-top: 16px; }
.policy-box a { color: var(--red-2); border-bottom: 1px solid currentColor; }

/* Closing call to action */
.p-cta { text-align: left; }
.p-cta h2 { font-size: clamp(44px, 8vw, 140px); max-width: 12ch; }
.p-cta .hero-ctas { margin-top: 44px; }
.p-cta .p-lede { margin-top: 28px; max-width: 520px; font-size: 20px; line-height: 1.5; color: rgba(238, 241, 247, .75); }

@media (max-width: 900px) {
  .disc { grid-template-columns: 1fr; gap: 14px; }
  .case-grid, .next-case { grid-template-columns: 1fr; }
  .p-hero { min-height: 80vh; }
}
