/* Inner pages (/work/, /sectors/, /reviews/, /contact/). Loaded after styles.css: same tokens, header, footer, cards,
   case and review styles (header nav links too); this file adds only what those pages need. No 3D; scroll-reveal
   reuses the homepage's [data-reveal]/[data-stagger]/[data-rise] styles, driven by js/pages.js. */

/* page header */
.page-hero { padding: calc(64px + clamp(56px, 9vw, 112px)) 0 clamp(48px, 7vw, 88px); text-align: center; }
.page-hero h1 { max-width: 18ch; margin: 18px auto 0; font-size: clamp(40px, 7vw, 80px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.page-hero .lede { max-width: 60ch; margin: 24px auto 0; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.jump a { padding: 8px 16px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; transition: background 250ms; }
.jump a:hover { background: var(--tint); }
.jump a small { margin-left: 6px; color: var(--muted); font-size: 12px; }
.section-tight { padding-block: clamp(64px, 9vw, 112px); }
.year-label { display: flex; align-items: center; gap: 16px; margin: clamp(48px, 7vw, 80px) 0 24px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--muted); }
.year-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.year-label:first-child { margin-top: 0; }

/* work: the full case studies (no 3D scenes here), plus a quote block for cases told through the founder */
@media (min-width: 900px) { .cases .case { grid-template-columns: 1fr 1fr; } }
.case { scroll-margin-top: 96px; }
.case-quote { margin: 0; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); }
.case-quote blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--navy); }
.case-quote figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.case-did { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.case-did li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); font-size: 13px; font-weight: 500; color: var(--navy); }
.case.c-white { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

/* sectors */
.sector-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); border-radius: var(--r); background: var(--soft); }
.sector-card .glyph { width: 52px; height: 52px; padding: 10px; border-radius: 16px; background: var(--white); }
.sector-card h2 { font-size: 22px; letter-spacing: -0.015em; }
.sector-card p { margin: 0; color: var(--muted-strong); font-size: 16px; line-height: 1.55; }
.sector-card .proof { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sector-card .proof b { color: var(--navy); font-weight: 600; }
.sector-card.is-ask { background: var(--navy); color: var(--white); }
.sector-card.is-ask h2 { color: var(--white); }
.sector-card.is-ask p { color: rgba(255, 255, 255, 0.75); }
.sector-card.is-ask .glyph { background: rgba(255, 255, 255, 0.1); stroke: var(--yellow); }
.sector-card.is-ask .link { color: var(--yellow); margin-top: auto; }
.stages { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: st; }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(5, 1fr); } }
.stages li { padding: 22px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-1); }
.stages li::before { counter-increment: st; content: "0" counter(st); display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--blue); }
.stages b { display: block; color: var(--navy); font-size: 17px; }
.stages span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted-strong); }

/* reviews */
.quotes-featured { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes-featured { grid-template-columns: repeat(2, 1fr); } }
.quote-wall { columns: 1; column-gap: 16px; }
@media (min-width: 720px) { .quote-wall { columns: 2; } }
@media (min-width: 1040px) { .quote-wall { columns: 3; } }
.quote-wall .card { break-inside: avoid; margin-bottom: 16px; }
.quote-wall blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--navy); }
.quote-wall figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.quote-wall figcaption b { display: block; color: var(--navy); font-weight: 600; }
.sub-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sub-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; }
.sub-head p { margin-top: 14px; color: var(--muted-strong); }

/* contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 340px minmax(0, 1fr); } }
.expect { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: ex; }
.expect li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.expect li::before { counter-increment: ex; content: counter(ex); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--blue); font-weight: 700; font-size: 15px; }
.expect b { display: block; color: var(--navy); }
.expect span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted-strong); line-height: 1.5; }
.contact-other { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.contact-other h2 { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--muted); }
.contact-other a { color: var(--navy); }
.contact-grid .calendly { max-width: none; margin: 0; }

/* closing band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(34px, 5.5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; }
.cta-band p { max-width: 52ch; margin: 20px auto 32px; color: var(--muted-strong); }
.case.c-white .case-did li, .case.c-white .case-quote { background: var(--soft); }
.quote-wall figcaption span { display: block; }

/* homepage look: soft tint glow behind the page header, depth on glyph tiles, calm hover on tiles */
.page-hero { background: radial-gradient(70% 60% at 50% 0%, rgba(226, 234, 255, 0.75), rgba(226, 234, 255, 0) 70%); }
.page-hero h1 { font-size: clamp(44px, 8vw, 92px); line-height: 0.98; }
.jump a { box-shadow: 0 0 0 1px var(--line); }
.sector-card .glyph { grid-row: auto; background: linear-gradient(180deg, var(--white), var(--tint)); box-shadow: inset 0 1px 0 var(--white), 0 6px 16px rgba(0, 95, 252, 0.12); }
.sector-card:hover .glyph { transform: rotate(-8deg) scale(1.08); }
.sector-card.is-ask .glyph { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.case-body .link { justify-self: start; }
.quotes-featured .review { background: var(--soft); }
.bg-cream .quote-wall .card { background: var(--white); }
.contact-grid > div:first-child { padding: clamp(24px, 3vw, 32px); border-radius: var(--r); background: var(--soft); }
.expect li::before { background: linear-gradient(180deg, var(--white), var(--tint)); box-shadow: inset 0 1px 0 var(--white), 0 4px 10px rgba(0, 95, 252, 0.12); }

/* case study detail pages (/work/flown/, /work/windowseat/) */
.case-hero { padding-bottom: clamp(36px, 5vw, 56px); }
.case-hero .eyebrow a { color: inherit; text-decoration: none; }
.case-hero .eyebrow a:hover { color: var(--navy); }
.case-hero h1 { max-width: 20ch; font-size: clamp(40px, 6.6vw, 80px); }
.section-cover { padding-bottom: clamp(64px, 9vw, 112px); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: clamp(20px, 3vw, 32px); background: var(--soft); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.shot-cover img { border-radius: clamp(24px, 4vw, 40px); background: var(--tint); }
.shot figcaption { margin-top: 16px; text-align: center; }
.gallery { display: grid; gap: clamp(48px, 7vw, 88px); max-width: 1120px; }
.case-brief { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) { .case-brief { grid-template-columns: 1fr 1fr; } }
.case-brief .case-did li { background: var(--white); box-shadow: var(--shadow-1); }
.pull-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.pull-quote blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.32; letter-spacing: -0.015em; color: var(--navy); text-wrap: pretty; }
.pull-quote figcaption { margin-top: 24px; color: var(--muted); font-size: 15px; }
.case-next { display: flex; justify-content: space-between; gap: 16px; padding-block: clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--line); }
.case-next .link:first-child:hover .arrow { transform: translateX(-4px); }
.case-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
