/* PENTA Defence — site design system (Tasarım 2).
   Layer 1: brand tokens + light/dark themes (from the approved remix, remix-tokens.css).
   Layer 2: shell + home components (from the approved remix, styles.css) — keep visually identical.
   Layer 3: inner-page components (page hero, sections, cards, forms, prose, CTA band) built from the same tokens.
   Page/module stylesheets may only ADD rules that use these tokens; they never redefine them. */

/* ================= 1. FONTS (self-hosted, SIL OFL 1.1) ================= */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-tight-latin-wght.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: 300 700; font-display: swap;
  src: url(../fonts/inter-tight-latin-ext-wght.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../fonts/geist-mono-latin-wght.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: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(../fonts/geist-mono-latin-ext-wght.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ================= 1b. TOKENS ================= */
:root {
  --paper: #04060B;            /* page + editorial surface (theme dependent, see below) */
  --paper-bg: #04060B;
  --raised: #0F1E3D;           /* cards, footer, menu */
  --gap: #04060B;              /* hairline between photo tiles */
  --ink: #EAEFF8;              /* headings on paper */
  --body: #A3AEC4;             /* body copy on paper */
  --accent: #C9A24B;           /* gold fills + gold text on dark/photo */
  --accent-light: #E8C873;
  --accent-ink: #04060B;       /* text on a gold fill */
  --accent-text: #C9A24B;      /* gold TEXT on paper (darker in light theme for contrast) */
  --accent-large: #C9A24B;     /* gold text >= 24px on paper */
  --dark: #04060B;             /* photo tiles, hero, globe band (fixed in both themes) */
  --navy: #0F1E3D;
  --on-dark: #EAEFF8;
  --muted: #8E9AB3;            /* secondary text on photos/scrims */
  --space-copy: #B4BFD3;
  --space-line: #EAEFF81f;
  --divider: #EAEFF82b;
  --topo: #C9A24B26;
  --card-edge: #EAEFF81f;
  --menu-bg: #04060B; --menu-ink: #EAEFF8; --menu-muted: #8E9AB3; --menu-accent: #C9A24B;
  --focus: #C9A24B;
  --hdr-bg: rgba(4, 6, 11, .82);
  --hdr-line: #EAEFF81f;
  --logo-acik: none;           /* light-ground logo */
  --logo-koyu: block;          /* dark-ground logo */
  --field-bg: #0B1630;
  --danger: #F08A7E;
  --ok: #8FD3A8;

  --pad: clamp(16px, 2.95vw, 56px);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --track-head: -0.005em;
  --scan: #E8C8730A;
  color-scheme: dark;
}
/* LIGHT THEME — surfaces #F4F6FA / #FFFFFF · ink #0F1E3D · body #4A5878 · gold text #7A5F22 */
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #F4F6FA; --paper-bg: #F4F6FA; --raised: #FFFFFF; --gap: #F4F6FA;
  --ink: #0F1E3D; --body: #4A5878; --accent-text: #7A5F22; --accent-large: #97772D;
  --divider: #0F1E3D2e; --topo: #0F1E3D1f; --card-edge: #0F1E3D1f;
  --menu-bg: #F4F6FA; --menu-ink: #0F1E3D; --menu-muted: #4A5878; --menu-accent: #97772D; --focus: #97772D;
  --hdr-bg: rgba(244, 246, 250, .88); --hdr-line: #0F1E3D1f;
  --logo-acik: block; --logo-koyu: none;
  --field-bg: #FFFFFF; --danger: #B3261E; --ok: #1E7A43;
}
:root[data-theme="dark"] {
  --paper-bg:
    radial-gradient(ellipse 70% 38% at 88% 0%, #0F1E3Dcc 0, transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 100%, #0F1E3D99 0, transparent 70%),
    #04060B;
}
/* No-JS fallback: follow the OS */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --paper: #F4F6FA; --paper-bg: #F4F6FA; --raised: #FFFFFF; --gap: #F4F6FA;
    --ink: #0F1E3D; --body: #4A5878; --accent-text: #7A5F22; --accent-large: #97772D;
    --divider: #0F1E3D2e; --topo: #0F1E3D1f; --card-edge: #0F1E3D1f;
    --menu-bg: #F4F6FA; --menu-ink: #0F1E3D; --menu-muted: #4A5878; --menu-accent: #97772D; --focus: #97772D;
    --hdr-bg: rgba(244, 246, 250, .88); --hdr-line: #0F1E3D1f;
    --logo-acik: block; --logo-koyu: none;
    --field-bg: #FFFFFF; --danger: #B3261E; --ok: #1E7A43;
  }
}

/* ================= 2. SHELL ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 18px/1.45 var(--font); letter-spacing: .005em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 450; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; font-family: var(--font-mono); font-size: 13px; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------- Header ---------------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 18px var(--pad);
  color: var(--on-dark); border-bottom: 1px solid transparent;
  transition: color .25s, background-color .25s, border-color .25s;
}
.hdr.hdr-solid { background: var(--hdr-bg); border-bottom-color: var(--hdr-line); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }
.logo { position: relative; display: block; flex: none; }
.logo img { height: 30px; width: auto; transition: opacity .25s; }
.logo .logo-on-light { position: absolute; inset: 0; opacity: 0; }
.hdr.hdr-dark .logo .logo-on-dark { opacity: 0; }
.hdr.hdr-dark .logo .logo-on-light { opacity: 1; }
.hdr-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.hdr-nav a { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; transition: opacity .2s; white-space: nowrap; }
.hdr-nav a:hover { opacity: .7; }
.hdr-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
.btn-join { color: var(--accent); border: 1px solid var(--accent); padding: 5px 9px; font-size: 12px !important; }
.btn-join:hover { background: var(--accent); color: var(--accent-ink); opacity: 1 !important; }
.hdr.hdr-dark .btn-join { color: var(--accent-text); border-color: var(--accent-large); }
.hdr.hdr-dark .btn-join:hover { background: var(--accent-large); color: #fff; }
.theme-toggle {
  width: 36px; height: 36px; margin-left: 20px; padding: 0; flex: none; display: grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: 50%; cursor: pointer; color: inherit; position: relative; z-index: 60;
  transition: border-color .2s, color .25s;
}
.theme-toggle:hover { border-color: currentColor; }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: var(--logo-koyu); }
.theme-toggle .i-moon { display: var(--logo-acik); }
.burger { width: 36px; height: 24px; margin-left: 12px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; display: flex; flex-direction: column; justify-content: center; gap: 3px; color: inherit; flex: none; }
.burger span { display: block; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.hdr.hdr-dark { color: var(--ink); }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------------- Menu overlay ---------------- */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--menu-bg); color: var(--menu-ink);
  padding: 120px var(--pad) 48px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-langs { display: flex; gap: 16px; align-self: start; font-family: var(--font-mono); font-size: 14px; }
.menu-langs a { color: var(--menu-muted); }
.menu-langs a[aria-current] { color: var(--menu-accent); }
.menu-langs a:hover { color: var(--menu-ink); }
.menu-list { font-family: var(--font-display); font-size: clamp(32px, 4vw, 64px); line-height: 1.1; letter-spacing: var(--track-head); }
.menu-list > li { margin-bottom: 14px; }
.menu-list > li > a:hover, .menu-list > li > a[aria-current] { color: var(--menu-accent); }
.menu-list .has-sub > a, .menu-list .has-sub > span { display: inline-block; }
.menu-list .has-sub ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 8px 0 18px; padding-top: 12px; border-top: 1px solid var(--divider); font-size: clamp(18px, 1.6vw, 26px); letter-spacing: 0; }
.menu-list .has-sub ul a { color: var(--menu-muted); }
.menu-list .has-sub ul a:hover { color: var(--menu-accent); }

/* ---------------- Home: hero ---------------- */
.hero { position: relative; height: 100svh; max-height: 1080px; overflow: hidden; background: var(--dark); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 60% at 80% 38%, #C9A24B2e 0, transparent 70%),
    radial-gradient(ellipse 60% 80% at 75% 30%, #0F1E3D 0, transparent 75%),
    linear-gradient(115deg, #02040A 0%, #050A16 45%, #0C1834 72%, #03060D 100%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 3px); }
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1.5%); } }
.hero-word {
  position: absolute; left: 0; right: 0; bottom: -0.11em; color: var(--on-dark); font-weight: 500; text-align: center; white-space: nowrap;
  font-size: 13vw; line-height: 1; letter-spacing: -0.035em;
}

/* ---------------- Home: manifesto ---------------- */
.manifesto { position: relative; height: 100svh; max-height: 1080px; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: 54px var(--pad); display: flex; align-items: center; }
.manifesto-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 20% 42% at 86% 35%, #C9A24Bb0 0, #97772D66 32%, transparent 72%),
    radial-gradient(ellipse 50% 70% at 80% 45%, #0F1E3D 0, transparent 70%),
    linear-gradient(90deg, #02040A 0%, #060C1C 45%, #0F1E3D 100%);
}
.manifesto-inner { position: relative; width: 100%; }
.manifesto h2 { color: var(--on-dark); font-size: clamp(40px, 5.75vw, 110px); line-height: .92; letter-spacing: -0.015em; text-indent: 1.4em; }
.manifesto-copy { margin: 56px 0 0 16.5%; max-width: 600px; font-size: 20px; line-height: 28px; color: var(--on-dark); }
.manifesto-copy p + p { margin-top: 26px; }

/* ---------------- Photo tiles (home products; reusable) ---------------- */
.products { display: grid; gap: 2px; background: var(--gap); }
.prod { position: relative; aspect-ratio: 1808 / 847; background: var(--dark); overflow: hidden; color: var(--on-dark); scroll-margin-top: var(--hdr-h, 66px); display: block; }
.prod-media {
  position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  background: radial-gradient(ellipse 45% 16% at 64% 80%, #C9A24B2e 0, transparent 70%), linear-gradient(180deg, #0F1E3D 0%, #091530 55%, #04060B 100%);
}
.prod:hover .prod-media { transform: scale(1.03); }
.prod-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #04060Bd9 0%, #04060B66 28%, transparent 52%), linear-gradient(90deg, #04060B66 0%, transparent 46%); }
.prod-plate, .bg-plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.prod-media picture, .hero-bg picture, .manifesto-bg picture, .page-hero-bg picture { position: absolute; inset: 0; }
/* A real product cutout over a plain scene (when no composite plate exists) */
.prod-cutout { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); max-height: 70%; max-width: 46%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px #000a); }
.manifesto-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #04060Bcc 0%, #04060B66 50%, transparent 80%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #04060B99 0%, transparent 35%), linear-gradient(180deg, #04060B88 0%, transparent 18%); }
.prod-text { position: absolute; left: var(--pad); bottom: var(--pad); right: var(--pad); }
.prod-eyebrow { display: block; margin-bottom: 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.prod h3, .prod .prod-sub { font-family: var(--font-display); font-size: clamp(30px, 2.5vw, 48px); line-height: 1.04; letter-spacing: var(--track-head); color: var(--on-dark); }
.prod .prod-sub { color: var(--muted); }
.prod-spec { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-family: var(--font-mono); font-size: 13px; line-height: 18px; color: var(--on-dark); }
.prod-spec dt { color: var(--muted); }
.prod-spec div { display: flex; gap: 8px; }
.prod-spec dd { margin: 0; }
.btn-ghost {
  display: inline-block; margin-top: 20px; border: 1px solid var(--on-dark); padding: 7px 18px; color: var(--on-dark);
  font-family: var(--font-mono); font-size: 14px; line-height: 22px; letter-spacing: .03em; transition: background .2s, color .2s, border-color .2s;
}
.btn-ghost:hover, .prod:hover .btn-ghost { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.prod-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.prod-half { aspect-ratio: 903 / 847; }
.prod-bright .prod-media::after { background: linear-gradient(0deg, #04060Bf2 0%, #04060Bb8 30%, #04060B33 56%, transparent 66%), linear-gradient(90deg, #04060B80 0%, transparent 50%); }

/* ---------------- Editorial ("paper") area ---------------- */
.paper { position: relative; overflow: hidden; padding: 72px 0 70px; background: var(--paper-bg); color: var(--body); }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.topo path { fill: none; stroke: var(--topo); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wrap { scroll-margin-top: 80px; position: relative; padding: 0 var(--pad); max-width: 2000px; margin: 0 auto; }
.wrap-narrow { max-width: 1180px; }
.eyebrow { display: block; font-family: var(--font-mono); font-size: 14px; line-height: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.fields-lead, .lead-xl { margin: 24px 0 32px; color: var(--ink); font-size: clamp(28px, 2.55vw, 48px); line-height: 1.08; letter-spacing: var(--track-head); max-width: 1450px; }
.fields-grid { display: grid; grid-template-columns: 62.5% 1fr; gap: 16px; }
.fields-photo { position: relative; aspect-ratio: 970 / 555; overflow: hidden; background: linear-gradient(160deg, #0F1E3D 0%, #04060B 100%); box-shadow: 0 0 0 1px var(--card-edge); }
.fields-photo picture { display: block; height: 100%; }
.fields-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.lines { margin: 0; max-width: 520px; border-top: 1px solid var(--divider); }
.lines li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; padding: 14px 0; border-bottom: 1px solid var(--divider); }
.lines .n { font-family: var(--font-mono); font-size: 13px; line-height: 25px; color: var(--accent-text); }
.lines strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 25px; color: var(--ink); }
.lines li > span:last-child { grid-column: 2; font-size: 16px; line-height: 22px; color: var(--body); }
.link-accent { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--accent-text); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.link-accent svg { width: 7px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.link-accent:hover { color: var(--ink); }
.link-accent:hover svg { transform: translateX(3px); }
.news { margin-top: 72px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.news-img { position: relative; aspect-ratio: 476 / 266; overflow: hidden; margin-bottom: 14px; transition: filter .3s; box-shadow: 0 0 0 1px var(--card-edge); background: linear-gradient(180deg, #0F1E3D 0%, #04060B 100%); }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card:hover .news-img { filter: brightness(1.18); }
.news-meta { display: block; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--body); }
.news-title { display: block; margin-top: 10px; font-family: var(--font-display); font-size: clamp(18px, 1.3vw, 24px); line-height: 1.3; font-weight: 450; color: var(--ink); }
.news-card:hover .news-title { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.scene-badge { background: repeating-radial-gradient(circle at 50% 55%, transparent 0 22px, #C9A24B40 22px 23px), radial-gradient(circle at 50% 55%, #C9A24B 0 7%, transparent 7.4%), linear-gradient(180deg, #0F1E3D 0%, #04060B 100%); }

/* ---------------- Globe band (always dark) ---------------- */
.globe-band { background: var(--dark); scroll-margin-top: var(--hdr-h, 66px); border-top: 1px solid var(--space-line); padding: clamp(64px, 7vw, 120px) var(--pad) 36px; text-align: center; color: var(--on-dark); }
.globe-head { max-width: 780px; margin: 0 auto; }
.globe-eyebrow { display: block; font-family: var(--font-mono); font-size: 13px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.globe-head h2 { margin-top: 18px; font-size: clamp(40px, 4.4vw, 84px); line-height: 1; letter-spacing: var(--track-head); color: var(--on-dark); }
.globe-head p { margin: 22px auto 0; max-width: 640px; font-size: 18px; line-height: 26px; color: var(--space-copy); }
.globe-stage { position: relative; height: clamp(460px, 56vw, 780px); max-width: 1180px; margin: clamp(8px, 1.5vw, 24px) auto 0; }
.globe-cities { display: grid; grid-template-columns: repeat(8, auto); justify-content: center; gap: 14px 40px; max-width: 1240px; margin: 20px auto 0; padding-top: 24px; border-top: 1px solid var(--space-line); text-align: left; }
.globe-cities li { display: flex; flex-direction: column; gap: 7px; }
.globe-cities strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1; color: var(--on-dark); }
.globe-cities span { font-family: var(--font-mono); font-size: 11px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.globe-cities .is-hq strong, .globe-cities .is-hq span { color: var(--accent); }
.globe-credit { margin-top: 30px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* ---------------- Footer ---------------- */
.ftr { background: var(--raised); color: var(--ink); padding: 24px var(--pad); font-size: 13px; border-top: 1px solid var(--divider); }
.logo-footer .logo-acik { display: var(--logo-acik); }
.logo-footer .logo-koyu { display: var(--logo-koyu); }
.logo-footer img { height: 44px; width: auto; }
.ftr-top { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 24px; min-height: 160px; padding: 16px 0 8px; }
.ftr-top ul li { margin-bottom: 9px; }
.ftr-top a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.ftr-h { display: block; margin-bottom: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.ftr-cta { font-family: var(--font-display); font-size: 20px; line-height: 1.15; color: var(--ink); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--divider); font-size: 11px; font-family: var(--font-mono); color: var(--body); }
.ftr-bottom nav { display: flex; gap: 16px; }
.ftr-bottom a:hover { color: var(--ink); }

/* ================= 3. INNER PAGES ================= */
/* Page hero: dark photo band under the transparent header (acts as the "hero" for header tone). */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: 140px var(--pad) clamp(40px, 5vw, 72px); }
.page-hero.is-compact { min-height: clamp(300px, 40vh, 420px); }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 40% 60% at 82% 30%, #C9A24B26 0, transparent 70%), radial-gradient(ellipse 60% 80% at 75% 30%, #0F1E3D 0, transparent 75%), linear-gradient(115deg, #02040A 0%, #050A16 45%, #0C1834 72%, #03060D 100%); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #04060Bf0 0%, #04060B99 38%, #04060B33 70%, #04060B88 100%), linear-gradient(90deg, #04060Bcc 0%, transparent 70%); }
.page-hero-bg .hero-scan { z-index: 1; }
.page-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 2000px; margin: 0 auto; }
.page-hero h1 { color: var(--on-dark); font-size: clamp(44px, 6.4vw, 120px); line-height: .95; letter-spacing: -0.02em; font-weight: 500; max-width: 16ch; }
.page-hero .page-lead { margin-top: 24px; max-width: 640px; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.45; color: var(--space-copy); }
.page-hero .prod-eyebrow { margin-bottom: 20px; }
.page-hero .actions { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--on-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

/* Sections inside .paper */
.section { padding-block: clamp(56px, 6vw, 104px); }
.section + .section { border-top: 1px solid var(--divider); }
.paper > .section:first-of-type, .paper > .wrap:first-of-type .section:first-child { padding-top: clamp(24px, 3vw, 48px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 3vw, 48px); }
.section-head h2 { font-size: clamp(30px, 3vw, 56px); line-height: 1.04; letter-spacing: var(--track-head); font-weight: 450; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--body); font-size: 18px; line-height: 1.5; max-width: 640px; }
.section-head.is-stacked { grid-template-columns: 1fr; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 32px); background: var(--raised); box-shadow: 0 0 0 1px var(--card-edge); color: var(--body); }
a.card { transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: 0 0 0 1px var(--accent); }
.card .n, .card .card-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.card h3 { font-size: clamp(20px, 1.5vw, 26px); line-height: 1.2; font-weight: 500; }
.card p { font-size: 16px; line-height: 1.5; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tag { display: inline-block; padding: 3px 8px; border: 1px solid var(--divider); font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--body); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--divider); }
.stat { padding: 22px 20px 6px 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--divider); }
.stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 4vw, 72px); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--body); }
.checklist li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--divider); color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent-text); border-bottom: 1.5px solid var(--accent-text); transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.media-frame { position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--card-edge); background: linear-gradient(160deg, #0F1E3D 0%, #04060B 100%); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons on paper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 22px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); font-family: var(--font-mono); font-size: 14px; line-height: 20px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn-line { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--ink); color: var(--ink); font-family: var(--font-mono); font-size: 14px; line-height: 20px; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn-line:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn-ghost { margin-top: 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--body); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; background: var(--field-bg); border: 1px solid var(--divider); border-radius: 0; color: var(--ink); font-size: 17px; line-height: 1.4; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field .error { font-size: 14px; color: var(--danger); }
.field-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--body); }
.field-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.field-check a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 16px 18px; border: 1px solid var(--divider); border-left: 3px solid var(--accent); background: var(--raised); color: var(--ink); }
.notice.is-ok { border-left-color: var(--ok); }
.notice.is-error { border-left-color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Long-form text (blog, legal) */
.prose { max-width: 72ch; color: var(--body); font-size: 19px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(26px, 2vw, 34px); line-height: 1.15; font-weight: 500; }
.prose h3 { margin-top: 1.6em; font-size: 22px; line-height: 1.25; font-weight: 500; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--ink); }
.prose img { box-shadow: 0 0 0 1px var(--card-edge); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--divider); text-align: left; vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: .9em; }

/* Spec table (products) */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 0; border-bottom: 1px solid var(--divider); text-align: left; vertical-align: top; }
.spec-table th { width: 42%; padding-right: 16px; font-weight: 400; color: var(--body); font-size: 16px; }
.spec-table td { font-family: var(--font-mono); font-size: 15px; color: var(--ink); }

/* Closing CTA band (before footer) */
.cta-band { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: clamp(56px, 7vw, 120px) var(--pad); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 30% 70% at 88% 50%, #C9A24B33 0, transparent 70%), linear-gradient(90deg, #02040A 0%, #0F1E3D 100%); }
.cta-band-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: 2000px; margin: 0 auto; }
.cta-band h2 { color: var(--on-dark); font-size: clamp(30px, 3.4vw, 64px); line-height: 1.02; letter-spacing: -0.01em; max-width: 20ch; }
.cta-band .actions .btn-ghost:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cta-band .actions .btn-ghost:first-child:hover { background: var(--accent-light); border-color: var(--accent-light); }

/* Pagination (Laravel simple markup) */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; font-family: var(--font-mono); font-size: 14px; }
.pager a, .pager span { padding: 8px 14px; border: 1px solid var(--divider); color: var(--ink); }
.pager a:hover { border-color: var(--accent); }
.pager [aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pager .is-disabled { opacity: .4; }

/* ---------------- Reveal on scroll ---------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1280px) {
  .hdr-nav a:not(.btn-join) { display: none; }
  .theme-toggle { margin-left: 12px; }
}
@media (max-width: 1024px) {
  .manifesto-copy { margin-left: 0; }
  .fields-grid, .split { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
  .globe-cities { grid-template-columns: repeat(4, auto); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .ftr-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 767px) {
  .logo img { height: 24px; }
  .btn-join { display: none; }
  .prod { aspect-ratio: 375 / 671; }
  .prod-pair { grid-template-columns: 1fr; }
  .prod-half { aspect-ratio: 375 / 671; }
  .prod-cutout { right: 50%; top: 30%; transform: translate(50%, -50%); max-width: 78%; max-height: 46%; }
  .prod-media::after { background: linear-gradient(0deg, #04060Bf0 0%, #04060Bb3 34%, transparent 56%); }
  .manifesto-bg::after { background: #04060B8c; }
  .news-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .news-grid { gap: 32px; }
  .manifesto h2 { text-indent: 0; }
  .manifesto-copy { font-size: 17px; line-height: 23px; margin-top: 32px; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-bottom { flex-direction: column; }
  .globe-stage { height: 440px; margin-inline: calc(var(--pad) * -1); }
  .globe-cities { grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 18px 16px; }
  .globe-head p { font-size: 16px; line-height: 23px; }
  .page-hero { padding-top: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 17px; }
}
