/* ==========================================================================
   ThinkAhead Corporation — thinkahead.tech
   A new mindset in forward thinking. Warm paper, deep ink, the brand sky-blue.
   ========================================================================== */

:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --ink: #0f1729;
  --ink-2: #2b3245;
  --muted: #5f677a;
  --line: rgba(15, 23, 41, 0.1);
  --sky: #48a8f8;
  --sky-deep: #1f7fd6;
  --sky-ink: #0f5fae;
  --amber: #f5b04c;
  --night: #0b1020;
  --night-2: #121a33;
  --cream: #f4f0e9;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cinzel", Georgia, "Times New Roman", serif;
  --pad-x: clamp(20px, 4.45vw, 64px);
  --wrap: 1312px;
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 4px 10px rgba(15, 23, 41, 0.05), 0 24px 60px rgba(15, 23, 41, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.2; color: var(--sky-ink); }
.eyebrow__bar { display: block; width: 22px; height: 1.5px; background: currentColor; opacity: 0.7; flex: none; }
.eyebrow--light { color: var(--sky); }
.eyebrow--dim { color: var(--muted); }
.eyebrow--center { justify-content: center; }
.kicker { font-family: var(--serif); font-weight: 700; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky-ink); }
.h2 { font-size: clamp(32px, 3.7vw, 54px); font-weight: 700; line-height: 1.08; letter-spacing: -0.032em; color: var(--ink); text-wrap: pretty; }
.h2--mid { font-size: clamp(28px, 3vw, 44px); }
.h2--display { font-size: clamp(38px, 4.9vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -0.036em; display: flex; flex-direction: column; }
.h2--display span { display: block; }
.h2--light, .lede--light strong { color: var(--cream); }
.lede { font-size: clamp(16px, 1.32vw, 19px); line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }
.lede--muted { color: var(--muted); }
.lede--light { color: rgba(244, 240, 233, 0.82); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.accent { color: var(--sky-deep); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 22px; border-radius: 14px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.btn svg, .textlink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--ink { background: var(--ink); color: var(--cream); box-shadow: 0 12px 30px rgba(15, 23, 41, 0.25); }
.btn--ink:hover { transform: translateY(-2px); background: #1b2440; box-shadow: 0 16px 36px rgba(15, 23, 41, 0.3); }
.btn--sky { background: var(--sky-deep); color: #fff; box-shadow: 0 12px 30px rgba(31, 127, 214, 0.35); }
.btn--sky:hover { transform: translateY(-2px); background: #2a8ce4; }
.btn--light { background: var(--cream); color: var(--ink); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.btn--light:hover { transform: translateY(-2px); background: #fff; }
.btn--ghost { background: rgba(15, 23, 41, 0.05); border: 1px solid rgba(15, 23, 41, 0.12); color: var(--ink); }
.btn--ghost:hover { background: rgba(15, 23, 41, 0.09); transform: translateY(-2px); }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid rgba(15, 23, 41, 0.3); padding-bottom: 3px; transition: border-color 0.25s var(--ease), gap 0.25s var(--ease); }
.textlink:hover { border-color: var(--ink); gap: 12px; }
.textlink--light { color: var(--cream); border-color: rgba(244, 240, 233, 0.35); }
.textlink--light:hover { border-color: var(--cream); }
.stores { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.stores img { height: 46px; width: auto; transition: transform 0.3s var(--ease); }
.stores a:hover img { transform: translateY(-2px); }

/* ---------- Motion ---------- */
.rise { opacity: 0; transform: translate3d(0, 22px, 0); animation: rise 1s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav { position: absolute; left: 0; right: 0; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 24px var(--pad-x); }
.nav--solid { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.nav:not(.nav--solid) .brand img { filter: brightness(0) invert(1); }
.nav__links { display: flex; align-items: center; gap: 28px; padding: 16px 26px; border-radius: 999px; background: rgba(15, 23, 41, 0.25); border: 1px solid rgba(244, 240, 233, 0.16); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav--solid .nav__links { background: rgba(15, 23, 41, 0.05); border-color: var(--line); }
.nav__links a { position: relative; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--cream); white-space: nowrap; transition: color 0.22s var(--ease); }
.nav--solid .nav__links a { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav .btn { height: 46px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(244, 240, 233, 0.12); border: 1px solid rgba(244, 240, 233, 0.2); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav--solid .burger { background: rgba(15, 23, 41, 0.05); border-color: var(--line); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); transition: transform 0.3s var(--ease); }
.nav--solid .burger span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; z-index: 6; left: var(--pad-x); right: var(--pad-x); top: 84px; padding: 14px; border-radius: 20px; background: rgba(247, 244, 238, 0.96); border: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { display: block; padding: 12px; border-radius: 12px; font-size: 16px; font-weight: 500; color: var(--ink); }
.mobile-menu nav a:hover { background: rgba(15, 23, 41, 0.05); }
.mobile-menu[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; height: clamp(660px, 100svh, 940px); overflow: hidden; background: var(--night); color: var(--cream); }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__video { z-index: 1; }
.hero__veil { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(11, 16, 32, 0.86) 0%, rgba(11, 16, 32, 0.6) 42%, rgba(11, 16, 32, 0.2) 78%, rgba(11, 16, 32, 0.1) 100%), linear-gradient(180deg, rgba(11, 16, 32, 0.5) 0%, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, 0) 65%, var(--paper) 100%); }
.hero .nav, .hero .mobile-menu, .hero__copy { z-index: 3; }
.hero__copy { position: absolute; left: var(--pad-x); bottom: clamp(96px, 14vh, 150px); width: min(800px, calc(100% - 2 * var(--pad-x))); display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__title { font-size: clamp(44px, 6.4vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--cream); display: flex; flex-direction: column; }
.hero__title span { display: block; }
.hero__title .accent { color: var(--sky); }
.hero__lede { max-width: 600px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; letter-spacing: -0.01em; color: rgba(244, 240, 233, 0.84); text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

/* ---------- Diluta band ---------- */
.feature { position: relative; padding: 0 0 clamp(72px, 8vw, 112px); }
.feature__card { position: relative; margin-top: calc(-1 * clamp(40px, 6vw, 90px)); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; border-radius: var(--radius); background: #fff; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow); padding: clamp(26px, 3vw, 44px); max-width: calc(var(--wrap) - 2 * var(--pad-x)); }
.feature__copy { display: flex; flex-direction: column; gap: 16px; }
.feature__badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(31, 127, 214, 0.1); color: var(--sky-ink); font-size: 12.5px; font-weight: 600; }
.feature__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-deep); box-shadow: 0 0 0 4px rgba(31, 127, 214, 0.18); }
.feature__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 8px; }
.feature__shot { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(15, 23, 41, 0.25); background: var(--night); }
.feature__shot img { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section--tint { background: var(--paper-2); }
.section__head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* Expertise */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 34px 0; margin-right: 26px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; margin-right: 0; }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(31, 127, 214, 0.1); color: var(--sky-ink); }
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.pillar p { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* Expertise figure */
.expertise__figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: clamp(32px, 4vw, 56px); background: var(--night); }
.expertise__figure img { width: 100%; height: clamp(300px, 34vw, 480px); object-fit: cover; object-position: 50% 45%; }
.expertise__figure figcaption { position: absolute; left: 22px; bottom: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(11, 16, 32, 0.55); color: var(--cream); font-size: 13px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Vision */
.vision { position: relative; overflow: hidden; background: var(--night); color: var(--cream); }
.vision__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0.6; }
.vision__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(11, 16, 32, 0.6) 30%, rgba(11, 16, 32, 0.75) 70%, var(--night) 100%); }
.vision .wrap { position: relative; }
.vision .h2 { color: var(--cream); }
.vision .lede { color: rgba(244, 240, 233, 0.72); }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story { position: relative; height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--night-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); display: block; }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.7); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.story:hover img { transform: scale(1.04); filter: saturate(0.9) brightness(0.85); }
.story__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0.1) 0%, rgba(11, 16, 32, 0.25) 45%, rgba(11, 16, 32, 0.92) 100%); }
.story__text { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.story__when { font-family: var(--serif); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.story h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--cream); line-height: 1.15; }
.story p { font-size: 15px; line-height: 1.45; color: rgba(244, 240, 233, 0.78); }
.story__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--cream); }
.story__cta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.story:hover .story__cta svg { transform: translateX(4px); }

/* About */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__copy { display: flex; flex-direction: column; gap: 20px; }
.about__copy .lede { color: var(--ink-2); }
.about__figure { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow); padding: 28px; }
.about__figure img { width: 100%; }
.about__figure figcaption { margin-top: 16px; font-size: 13.5px; color: var(--muted); text-align: center; }
.quote { padding: 6px 0 6px 22px; border-left: 2px solid var(--sky-deep); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--muted); }

/* Portfolio */
.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.work { position: relative; grid-column: span 2; height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--night-2); box-shadow: var(--shadow); display: block; }
.work--wide { grid-column: span 3; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work--futbol img { height: 134%; object-position: 50% 0; }
.work__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, 0.88) 100%); }
.work__text { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; color: var(--cream); }
.work__kind { font-family: var(--serif); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.work h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.work p { font-size: 14.5px; color: rgba(244, 240, 233, 0.8); }

/* Stories & insights */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1.2; }
.post p { font-size: 15px; line-height: 1.55; color: var(--muted); flex: 1; text-wrap: pretty; }
.post .textlink { align-self: flex-start; font-size: 14px; }
.archive { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-size: 14.5px; color: var(--muted); }
.archive a { color: var(--ink); font-weight: 500; border-bottom: 1px solid rgba(15, 23, 41, 0.25); transition: border-color 0.25s var(--ease); }
.archive a:hover { border-color: var(--ink); }

/* Purpose */
.purpose { position: relative; overflow: hidden; background: var(--night); color: var(--cream); }
.purpose__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0.5; filter: saturate(0.75); }
.purpose__veil { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 40%, rgba(11, 16, 32, 0.5) 0%, rgba(11, 16, 32, 0.75) 70%, var(--night) 100%); }
.purpose .wrap { position: relative; }
.purpose .h2 { color: var(--cream); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value { padding: 28px 26px; border-radius: var(--radius); background: rgba(244, 240, 233, 0.06); border: 1px solid rgba(244, 240, 233, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 12px; }
.value__n { font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em; color: var(--sky); }
.value h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; }
.value p { font-size: 15px; line-height: 1.55; color: rgba(244, 240, 233, 0.76); text-wrap: pretty; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__copy { display: flex; flex-direction: column; gap: 18px; }
.socials { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.socials a span { color: var(--muted); font-weight: 400; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--sky-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__note { font-size: 13px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--serif); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: #9aa1b0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(31, 127, 214, 0.18); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { align-self: flex-start; margin-top: 4px; }
.form__status { min-height: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form__status.is-error { color: #c2410c; }
.form__status.is-ok { color: var(--sky-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--cream); padding: 44px 0 36px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; font-size: 13.5px; font-weight: 500; color: rgba(244, 240, 233, 0.7); }
.footer__links a:hover { color: var(--cream); }
.footer__copy { width: 100%; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(244, 240, 233, 0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(244, 240, 233, 0.5); }

/* ==========================================================================
   Content pages (press, blog, legal)
   ========================================================================== */
.pagehero { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: clamp(150px, 18vw, 210px) 0 clamp(64px, 7vw, 96px); }
.pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: saturate(0.7); }
.pagehero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 16, 32, 0.9) 0%, rgba(11, 16, 32, 0.7) 60%, rgba(11, 16, 32, 0.5) 100%), linear-gradient(180deg, rgba(11, 16, 32, 0.6) 0%, rgba(11, 16, 32, 0) 40%, var(--night) 100%); }
.pagehero .wrap { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pagehero h1 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.038em; max-width: 14ch; color: var(--cream); text-wrap: pretty; }
.pagehero .lede { max-width: 700px; color: rgba(244, 240, 233, 0.8); }
.pagehero__meta { font-size: 13.5px; color: rgba(244, 240, 233, 0.55); }
.pagehero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 6px; }
.subnav { position: sticky; top: 0; z-index: 4; background: rgba(247, 244, 238, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 14px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; color: var(--muted); white-space: nowrap; transition: color 0.2s var(--ease); }
.subnav a:hover { color: var(--ink); }

.prose { max-width: 820px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); margin-top: 2.2em; text-wrap: pretty; }
.prose h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.68; color: var(--ink-2); text-wrap: pretty; }
.prose .lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-deep); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 2px solid var(--sky-deep); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }
.prose blockquote + p { color: var(--muted); font-size: 14.5px; margin-top: -0.4em; }
.prose img { border-radius: 16px; box-shadow: var(--shadow); margin: 1.6em 0; }
.prose a { color: var(--sky-ink); border-bottom: 1px solid rgba(15, 95, 174, 0.35); }
.prose a:hover { border-color: var(--sky-ink); }
.prose strong { color: var(--ink); }
.prose dl { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; }
.prose dt { font-family: var(--serif); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
.prose dd { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .updated, .prose .notice { font-size: 14px; color: var(--muted); }
.prose .notice { padding: 14px 16px; border-radius: 12px; background: rgba(31, 127, 214, 0.08); color: var(--ink-2); }
.prose .back-link, .prose .site-header, .prose .legal-subtitle { display: none; }
.prose--wide { max-width: none; }
.pane { padding: clamp(64px, 7vw, 100px) 0; border-top: 1px solid var(--line); }
.pane--dark { background: var(--night); color: var(--cream); border-top: 0; }
.pane--dark .prose h2, .pane--dark .prose h3, .pane--dark .prose blockquote, .pane--dark .prose strong { color: var(--cream); }
.pane--dark .prose p, .pane--dark .prose li { color: rgba(244, 240, 233, 0.78); }
.pane--dark .prose blockquote + p { color: rgba(244, 240, 233, 0.55); }
.pane--dark .prose a { color: var(--sky); border-color: rgba(72, 168, 248, 0.4); }
.pane--tint { background: var(--paper-2); }
.pane__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot { display: flex; flex-direction: column; gap: 12px; }
.shot img { border-radius: 14px; box-shadow: var(--shadow); background: var(--night); }
.shot h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.shot p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.downloads a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.downloads a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.downloads a::after { content: "↓"; color: var(--sky-ink); }
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.founder img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.facts dl { grid-template-columns: 200px 1fr; }
.contactcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contactcard h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.contactcard p { color: var(--muted); margin-top: 8px; font-size: 15.5px; line-height: 1.55; }
.contactcard__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { padding: 26px 24px 28px 0; }
  .pillar:nth-child(2) { border-right: 0; margin-right: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work, .work--wide { grid-column: auto; height: 320px; }
  .stories, .posts, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story:last-child, .post:last-child, .value:last-child { grid-column: span 2; }
  .shots, .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .feature__card { grid-template-columns: 1fr; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 360px; }
  .contactcard { grid-template-columns: 1fr; }
  .prose dl, .facts dl { grid-template-columns: 1fr; gap: 4px 0; }
  .prose dd { margin-bottom: 12px; }
}
@media (max-width: 820px) {
  .nav { display: flex; justify-content: space-between; padding: 18px var(--pad-x); }
  .nav__links, .nav .btn { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: block; top: 76px; }
  .mobile-menu[hidden] { display: none; }
  .brand img { height: 26px; }
  .hero { height: clamp(620px, 100svh, 820px); }
  .hero__veil { background: linear-gradient(180deg, rgba(11, 16, 32, 0.6) 0%, rgba(11, 16, 32, 0.2) 30%, rgba(11, 16, 32, 0.7) 60%, rgba(11, 16, 32, 0.95) 85%, var(--paper) 100%); }
  .hero__copy { bottom: 72px; gap: 18px; }
  .hero__title { font-size: clamp(40px, 11vw, 60px); }
  .hero__lede { font-size: 16px; }
  .hero .eyebrow, .pagehero .eyebrow { font-size: 10.5px; letter-spacing: 0.16em; }
  .feature__card { margin-top: 0; padding: 22px 20px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; margin-right: 0; padding: 22px 0; }
  .pillar:nth-child(n + 2) { border-top: 1px solid var(--line); }
  .stories, .posts, .values, .works, .shots, .downloads { grid-template-columns: 1fr; }
  .story:last-child, .post:last-child, .value:last-child { grid-column: auto; }
  .story { height: 380px; }
  .work { height: 280px; }
  .work--futbol img { height: 100%; object-position: 50% 50%; }
  .pagehero { padding-top: 120px; }
  .pagehero h1 { max-width: none; }
  .footer__row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .story img, .work img, .btn, .textlink, .post { transition: none; }
}
