/* Vamfyre website. One stylesheet. Sharp box shapes from the defence site (8px panels, 6px images, 4px controls). Light and airy: white ground, flat surfaces, frosted glass kept for
   the hero panel, header, sheets and closing band, dark ink text, ocean blue as the accent. */

@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Zalando Sans Expanded"; src: url("../assets/fonts/zalando-sans-expanded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../assets/fonts/open-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-2: #f3f8fb;
  --ink: #0f1d2b;
  --body: #3e4c5c;
  --muted: #667587;
  --line: rgba(15, 29, 43, 0.09);
  --accent: #0b93c9;
  --accent-ink: #086f99;
  --aqua: #00e6ff;
  --glass: rgba(255, 255, 255, 0.5);
  --glass-line: rgba(255, 255, 255, 0.8);
  --blur: blur(22px) saturate(1.5);
  --shadow: 0 30px 70px -30px rgba(16, 60, 96, 0.22), 0 2px 8px rgba(16, 60, 96, 0.04);
  --radius: 8px;
  --radius-sm: 6px;  /* images */
  --radius-xs: 4px; /* buttons, tags, tabs */
  --gutter: clamp(16px, 5vw, 96px);
  --head: Montserrat, system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 "Open Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: rgba(0, 230, 255, 0.28); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, .h1 { margin: 0; font-family: var(--head); font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }
/* One hero size on every page; section headings sit a clear step below it */
h1, .h1 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1.3vw, 1.25rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 12px 16px; border-radius: 8px; }

/* Surfaces: glass is reserved for the hero panel and closing band; everything else is a flat white panel */
.glass, .cta {
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card, .grid > *, .table-card, .partners, .rows-card, .flow > div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
a.card, .grid > a { transition: border-color .25s var(--ease), transform .25s var(--ease); }
a.card:hover, .grid > a:hover { border-color: rgba(11, 147, 201, 0.45); transform: translateY(-2px); }

/* Labels and tags */
.eyebrow, .label { font-family: var(--head); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow .sep { color: var(--muted); letter-spacing: 0; font-weight: 400; }

/* Buttons and text links */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-xs); font-family: var(--head); font-weight: 600; font-size: 0.92rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn.primary { background: #1592cf; color: #fff; box-shadow: 0 12px 28px -12px rgba(18, 140, 210, 0.7); }
.btn.ghost { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn.ghost:hover { background: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 0.95rem; color: var(--accent-ink); }
.more::after { content: "\2192"; transition: transform .25s var(--ease); }
.more:hover::after, a:hover > .more::after { transform: translateX(4px); }

/* Product wordmarks: every logo shares one cap height (--h). The logo SVGs are cropped to their lettering, so the
   image height is the cap height. Logos are never squeezed: if space runs short they scale down (object-fit) rather
   than distort. The files are white, so they are inked here. Bluea has no logo file, so it is set in
   Zalando Sans Expanded (cap height 0.714 em) at the same cap height. */
.wordmark { --h: 22px; display: inline-flex; align-items: flex-start; gap: calc(var(--h) * .12); align-self: flex-start; line-height: 1; color: var(--ink); }
.wordmark img { height: var(--h); width: auto; min-width: 0; object-fit: contain; object-position: left center; filter: brightness(0); opacity: .9; }
/* Uppercase like the other logos. Weight 500 gives the same stem thickness as the POSEIDON logo (0.175 of cap height);
   0.728 is the rendered cap height of the font, so the caps match the logo images exactly */
.wordmark b { font: 500 calc(var(--h) / .728) / .728 "Zalando Sans Expanded", Montserrat, sans-serif; letter-spacing: 0; text-transform: uppercase; }
.wordmark sup { font: 400 calc(var(--h) * .42) / 1 "Open Sans", sans-serif; margin-top: calc(var(--h) * -.15); }
sup.r { font-size: .4em; line-height: 0; vertical-align: .9em; margin-left: .05em; }

/* Header: always frosted. Plain uppercase links; the current page gets an accent underline at the header's edge */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255, 255, 255, 0.52); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom: 1px solid transparent; transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.scrolled, .site-header.open { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(16, 60, 96, 0.25); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { filter: brightness(0); opacity: .9; }
.brand .mark { width: 46px; height: 46px; }
.brand .word { width: 158px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; height: 84px; border-bottom: 2px solid transparent; font-family: var(--head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); transition: border-color .25s; }
.nav a:hover { border-bottom-color: rgba(15, 29, 43, 0.25); }
.nav a[aria-current] { border-bottom-color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 26px; }
.open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.open .menu-btn span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* Menu button below 1100px: the spaced uppercase links need about 1080px beside the logo */
@media (max-width: 1100px) {
  .site-header .wrap { height: 68px; }
  .brand .mark { width: 38px; height: 38px; }
  .brand .word { width: 132px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--line); }
  .open .nav { display: flex; }
  .nav a { height: 58px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current] { border-bottom: 2px solid var(--accent); }
}

/* Hero: full-screen media with a compact frosted glass panel */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-2); }
.hero .stage { position: absolute; inset: 0; }
.hero .stage .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero > .wrap { padding-top: 130px; padding-bottom: clamp(48px, 8vh, 96px); }
.hero .glass { border: 0; box-shadow: 0 18px 50px -18px rgba(5, 20, 35, 0.35); position: relative; z-index: 2; max-width: 840px; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 20px); background: rgba(255, 255, 255, 0.5); }
.hero .glass .lead { font-size: clamp(1.02rem, 1.2vw, 1.15rem); max-width: none; color: #1c2a39; }
.hero .glass .label { color: #06587a; }
.hero .glass .wordmark { --h: clamp(22px, 2.2vw, 32px); }
@media (max-width: 760px) {
  .hero > .wrap { padding-top: 110px; padding-bottom: 20px; }
  .hero .glass { padding: 24px; }
}

/* Sections */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.flush { padding-top: clamp(40px, 5vw, 72px); }
.section.alt { background: var(--bg-2); }
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(28px, 3.4vw, 44px); max-width: 920px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split.flip > :first-child { order: 2; }
.stack { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 26px); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* Framed media */
.frame { margin: 0; }
.frame img, .frame video { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
/* Product render on a transparent background: no frame */
.frame.cutout img { border-radius: 0; box-shadow: none; }

/* ShadowRay modes: images side by side, each with a glass caption chip */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.modes figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.modes img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.modes.tall img { aspect-ratio: 4 / 3; }
.modes figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: var(--radius-xs); background: rgba(255, 255, 255, 0.8); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
@media (max-width: 600px) { .modes { grid-template-columns: 1fr; } }

/* Definition rows: steps, application details, spec sheets */
.rows { margin: 0; }
.rows > div { display: grid; grid-template-columns: minmax(120px, 0.36fr) 1fr; gap: 8px 36px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 0; }
.rows dt { font-family: var(--head); font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.35; color: var(--ink); }
.rows dd { margin: 0; color: var(--body); }
.rows.small dt { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 5px; }
.rows-card { padding: 8px clamp(22px, 2.6vw, 36px); overflow: hidden; }
@media (max-width: 600px) { .rows > div { grid-template-columns: 1fr; gap: 4px; } }

/* Numbered steps */
.rows.steps { counter-reset: step; }
.rows.steps dt { display: flex; align-items: flex-start; gap: 14px; }
.rows.steps dt::before { counter-increment: step; content: counter(step); flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--radius-xs); background: rgba(0, 230, 255, 0.14); color: var(--accent-ink); font-size: 0.85rem; font-weight: 600; }

/* Big numbers */
.figures { display: flex; flex-wrap: wrap; gap: 16px; }
.figures > div { flex: 1 1 150px; padding: 18px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.figures b { display: block; white-space: nowrap; font-family: var(--head); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; color: var(--ink); }
.figures span { font-family: var(--head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.note { font-size: 0.9rem; color: var(--muted); }

/* Cards: image on top, text below (home systems, applications) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; }
.card .media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card > div { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2vw, 28px); flex: 1; }
.card .wordmark { --h: clamp(20px, 1.8vw, 26px); }
.card p { color: var(--body); }
.card .more { margin-top: auto; padding-top: 6px; }
.cards.five { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.cards.five .media { aspect-ratio: 4 / 3; }
/* One cap height for the whole row, sized so the widest logo (ShadowHawk, 12.7:1) fits the card */
.cards.five .card > div { container-type: inline-size; }
.cards.five .wordmark { --h: min(17px, 100cqi / 13); }
.cards.five .label { font-size: 0.66rem; letter-spacing: 0.12em; }

/* Grid of short items */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; }
.grid > * { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 10px; }
.grid .more { margin-top: auto; padding-top: 6px; }
.grid p { color: var(--body); }
.grid .label { font-size: 0.7rem; }

/* Comparison table */
.table-card { padding: 8px clamp(18px, 2.4vw, 32px); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 22px 18px 0; border-bottom: 1px solid var(--line); }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead .wordmark { --h: 17px; }
.compare thead a { display: block; }
.compare thead .label { color: var(--muted); }
.compare tbody th { font-family: var(--head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); width: 18%; }
.compare tbody th.name { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.compare td { color: var(--body); }
/* Platform range table: one row per platform; stacks into cards on narrow screens */
.compare.range { min-width: 0; }
.compare.range tbody th { width: 15%; }
.compare.range tbody th .wordmark { --h: 17px; }
@media (min-width: 1001px) {
  .compare.range th, .compare.range td { vertical-align: middle; padding: 20px 14px; }
  .compare.range thead th, .compare.range td { text-align: center; }
  .compare.range tbody th { padding-left: 0; }
  .compare.range tbody th .wordmark { vertical-align: middle; }
  .compare.range td[data-label="Length"], .compare.range td[data-label="Payload capacity"] { white-space: nowrap; }
}
@media (max-width: 1000px) {
  .compare.range thead { display: none; }
  .compare.range tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .compare.range tr:last-child { border-bottom: 0; }
  .compare.range th, .compare.range td { display: grid; grid-template-columns: minmax(7.5rem, 30%) 1fr; gap: 12px; width: auto; padding: 6px 0; border: 0; }
  .compare.range tbody th { display: block; padding-bottom: 10px; }
  .compare.range td::before { content: attr(data-label); font-family: var(--head); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
}

/* System diagram: operator, POSEIDON, platforms, results */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.flow > div { position: relative; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.flow > div:not(:last-child)::after { content: "\2192"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.2rem; }
.flow b { font-family: var(--head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.flow p { font-size: 0.95rem; color: var(--body); }
.flow .wordmark { --h: 17px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow > div:not(:last-child)::after { content: "\2193"; right: auto; left: 28px; top: auto; bottom: -28px; transform: none; }
}

/* Cross-domain layers, sky to seabed. ShadowRay's layers share a tinted band so its reach reads at a glance. */
.layers { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.layers > div { display: grid; grid-template-columns: 9rem 1fr; gap: 6px 24px; padding: 22px clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line); }
.layers > div:first-child { border-top: 0; }
.layers > .ray { background: rgba(0, 230, 255, 0.07); border-left: 3px solid var(--accent); }
.layers dt { display: flex; flex-direction: column; gap: 4px; }
.layers dt b { font-family: var(--head); font-weight: 600; color: var(--ink); }
.layers dd { margin: 0; display: flex; flex-direction: column; gap: 12px; color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; border-radius: var(--radius-xs); border: 1px solid var(--line); background: #fff; font-family: var(--head); font-weight: 500; font-size: 0.82rem; color: var(--ink); }
.chip.key { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 600px) { .layers > div { grid-template-columns: 1fr; } }

/* Application audience line and the "You receive" row */
.who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--head); font-weight: 500; font-size: 1.02rem; color: var(--ink); }
.rows .get { background: var(--bg-2); margin: 0 calc(-1 * clamp(22px, 2.6vw, 36px)); padding-left: clamp(22px, 2.6vw, 36px); padding-right: clamp(22px, 2.6vw, 36px); }
.rows .get dt { color: var(--accent-ink); }
.rows .get:last-child { margin-bottom: -8px; padding-bottom: 28px; }
.rows dt a { color: inherit; }
/* Product names in a definition list share one cap height, sized so the widest (ShadowSwarm™, about 15:1) fits the column */
.rows dt:has(.wordmark) { container-type: inline-size; }
.rows dt .wordmark { --h: min(20px, 100cqi / 15.5); }
.rows > div:has(> dt .wordmark) { grid-template-columns: minmax(230px, 0.42fr) 1fr; }
@media (max-width: 600px) { .rows > div:has(> dt .wordmark) { grid-template-columns: 1fr; } }
.rows dt a:hover { color: var(--accent-ink); }

/* In-page jump links */
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 9px 18px; border-radius: var(--radius-xs); border: 1px solid var(--line); background: #fff; font-family: var(--head); font-weight: 500; font-size: 0.92rem; transition: border-color .25s; }
.jump a:hover { border-color: var(--accent); }
.hero .jump { gap: 6px; }
.hero .jump a { padding: 7px 14px; font-size: 0.85rem; white-space: nowrap; }

/* Vehicle block header (logo + description + tag) */
.vehicle-head { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }
.vehicle-head .wordmark { --h: clamp(20px, 2vw, 28px); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; justify-items: center; gap: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px); padding: clamp(28px, 3.6vw, 52px); }
.partners img { height: 34px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0); opacity: .72; }
.partners .nvidia { height: 60px; filter: none; opacity: 1; } /* official colours, per NVIDIA brand rules */
.partners .viavi { height: 46px; }
.partners .vicom { height: 44px; }

/* Closing call to action: a tinted glass band */
.cta { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 76px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
  background: rgba(226, 245, 251, 0.62); }
.cta .lead { max-width: 56ch; }
.cta.split { display: grid; align-items: start; }
/* Anchored sections clear the fixed header */
section[id] { scroll-margin-top: 84px; }
.email { align-self: flex-start; font-family: var(--head); font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 2rem); color: var(--accent-ink); border-bottom: 2px solid rgba(11, 147, 201, 0.35); padding-bottom: 4px; word-break: break-word; transition: border-color .25s; }
.email:hover { border-bottom-color: var(--accent); }

/* Specification sheet: full-screen frosted dialog with tabs */
dialog.sheet { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(250, 252, 254, 0.78); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); color: var(--ink); }
dialog.sheet::backdrop { background: rgba(15, 29, 43, 0.2); }
dialog.sheet[open] { display: flex; flex-direction: column; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--gutter) 0; }
.sheet-top .title { display: flex; flex-direction: column; gap: 12px; }
.sheet-top .title .wordmark { --h: 22px; }
.tabs { display: flex; gap: 8px; padding: 0 var(--gutter); overflow-x: auto; margin-top: 24px; flex-shrink: 0; }
.tabs button { height: 42px; padding: 0 18px; border-radius: var(--radius-xs); font-family: var(--head); font-weight: 500; font-size: 0.92rem; color: var(--body); white-space: nowrap; transition: background .25s; }
.tabs button:hover { background: rgba(15, 29, 43, 0.05); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .tabs { flex-wrap: wrap; gap: 6px; } .tabs button { height: 38px; padding: 0 14px; font-size: 0.88rem; } }
.sheet-body { flex: 1; overflow-y: auto; padding: 24px var(--gutter) 48px; }
.sheet-body .rows { max-width: 1200px; }
.sheet-body .note { margin-top: 24px; }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p { color: var(--muted); }
.footer-brand > a:last-child { color: var(--accent-ink); }
.footer-col h4 { margin: 0 0 16px; font-family: var(--head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--body); }
.footer-col a:hover, .footer-brand a:hover { color: var(--accent-ink); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Scroll reveal (class added by JS, so content shows without it) */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Intro hero without a stage (Bluea, Contact): text left, framed media or details right */
.intro { padding-top: clamp(120px, 12vw, 170px); padding-bottom: clamp(48px, 6vw, 88px); }
.intro .wordmark { --h: clamp(28px, 2.8vw, 40px); }
