/* =========================================================
   Tender Labs — built on anduril.com's design tokens
   Every text element uses one of the .t-* styles below (same values as Anduril).
   ========================================================= */
@font-face { font-family: "Space Mono"; src: url("assets/fonts/SpaceMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* fluid root size — same steps as anduril.com */
html { font-size: 14px; }
@media (min-width: 1280px) { html { font-size: calc(-2px + 1.25vw); } }
@media (min-width: 1440px) { html { font-size: calc(10px + .416667vw); } }
@media (min-width: 1920px) { html { font-size: calc(-6px + 1.25vw); } }
@media (min-width: 2400px) { html { font-size: 24px; } }

:root {
  --sans: "Helvetica Now Display", "HelveticaNowDisplay", "Helvetica Neue", Helvetica, "Inter Tight", Arial, sans-serif;
  --elios: "Space Mono", ui-monospace, Menlo, monospace;   /* stands in for Anduril's Elios */
  --ease: cubic-bezier(.65, 0, .35, 1);
  --m: 2rem;                 /* page margin */
  --cg: 1.125rem;            /* grid column gap */
  --rg: 1.25rem;             /* grid row gap */
}

/* ---------- colour blocks (Anduril palette) ---------- */
[data-theme="black"] { --bg: #010101; --fg: #ffffff; --line: rgba(255,255,255,.3); --bar: #161716; }
[data-theme="cream"] { --bg: #f1f0ea; --fg: #010101; --line: rgba(1,1,1,.2); --bar: #ffffff; }
[data-theme="white"] { --bg: #ffffff; --fg: #010101; --line: rgba(1,1,1,.16); --bar: #f1f0ea; }
[data-theme="stone"] { --bg: #8e9291; --fg: #010101; --line: rgba(1,1,1,.25); --bar: #a3a7a6; }
[data-theme="olive"] { --bg: #505544; --fg: #f1f0ea; --line: rgba(241,240,234,.3); --bar: #5f6452; }
[data-theme] { background: var(--bg); color: var(--fg); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #010101; scroll-behavior: smooth; }
body { margin: 0; background: #010101; color: #fff; font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
::selection { background: #fff; color: #010101; }
[data-theme] ::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: 400; }
ul, ol { list-style: none; margin: 0; padding: 0; }
svg { display: block; }
canvas.chart { display: block; width: 100%; height: 100%; }
main { position: relative; z-index: 1; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--cg); row-gap: var(--rg); }
.mute { opacity: .6; }

/* appear on scroll: short fade + rise, staggered with --d */
[data-anim] { opacity: 0; transform: translateY(1.5rem); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-anim].in { opacity: 1; transform: none; }

/* =========================================================
   TYPE TOKENS (anduril.com values)
   ========================================================= */
.t-display { font-size: 8.75rem; font-weight: 500; line-height: .95; letter-spacing: -0.0875rem; }
.t-h1 { font-size: 5rem;    font-weight: 700; line-height: 1.05; letter-spacing: -0.1rem; }
.t-h2 { font-size: 4rem;    font-weight: 400; line-height: 1.05; letter-spacing: -0.08rem; }
.t-h3 { font-size: 3.5rem;  font-weight: 400; line-height: 1.1;  letter-spacing: -0.07rem; }
.t-h4 { font-size: 2.5rem;  font-weight: 400; line-height: 1.15; letter-spacing: -0.05rem; }
.t-h5 { font-size: 2rem;    font-weight: 400; line-height: 1.15; letter-spacing: -0.02rem; }
.t-h6 { font-size: 1.5rem;  font-weight: 400; line-height: 1.15; letter-spacing: -0.015rem; }
.t-p    { font-size: 1.05rem;  font-weight: 400; line-height: 1.2; letter-spacing: -0.009rem; }
.t-body { font-size: .938rem;  font-weight: 400; line-height: 1.2; letter-spacing: -0.009rem; }
.t-detail { font-size: .75rem; font-weight: 500; line-height: 1.05; letter-spacing: .03rem; text-transform: uppercase; }
.t-elios  { font-family: var(--elios); font-size: .75rem; font-weight: 400; line-height: 1.05; letter-spacing: .03rem; text-transform: uppercase; }
.b { font-weight: 700; }

@media (max-width: 768px) {
  :root { --m: 1.428rem; --cg: .357rem; --rg: .357rem; }
  .t-display { font-size: 4rem; letter-spacing: -0.06rem; }
  .t-h1 { font-size: 2.714rem; line-height: 1; letter-spacing: -0.054rem; }
  .t-h2 { font-size: 2.571rem; line-height: 1; letter-spacing: -0.051rem; }
  .t-h3 { font-size: 2.429rem; line-height: 1.15; letter-spacing: -0.049rem; }
  .t-h4 { font-size: 2.286rem; line-height: 1.05; letter-spacing: -0.023rem; }
  .t-h5 { font-size: 1.929rem; letter-spacing: -0.019rem; }
  .t-h6 { font-size: 1.714rem; letter-spacing: -0.017rem; }
  .t-p    { font-size: 1.286rem; letter-spacing: -0.013rem; }
  .t-body { font-size: 1.143rem; letter-spacing: -0.011rem; }
  .t-detail, .t-elios { font-size: .929rem; letter-spacing: .037rem; }
}

/* underline that draws in on hover (Anduril LinkButton) */
.ul { position: relative; display: inline-block; }
.ul::after { content: ""; position: absolute; left: 0; bottom: -0.3rem; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ul:hover::after { transform: scaleX(1); }

/* secondary button (Anduril LinkButton.secondary) */
.btn-secondary {
  display: inline-block; width: fit-content; padding: .5rem .7rem; outline: 1px solid currentColor;
  font-size: 1.05rem; line-height: 1.05; letter-spacing: -0.01rem;
  transition: background-color .3s ease-out, color .3s ease-out;
}
.btn-secondary:hover { background: var(--fg); color: var(--bg); }

/* =========================================================
   HEADER — solid bar, Palantir layout: logo left, button + menu square right
   ========================================================= */
html { scroll-padding-top: 6rem; }   /* anchor jumps land below the bar */
/* detached full-width bar floating off the top and sides; its tone follows the section underneath
   (main.js sets data-theme). Over the footer it settles flush and full-bleed, with no background. */
.header { position: fixed; top: 1rem; left: var(--m); right: var(--m); z-index: 50; height: 4.25rem;
  transition: top .5s var(--ease), left .5s var(--ease), right .5s var(--ease); }
.header.is-flat { top: 0; left: 0; right: 0; }
.header.is-flat .hdr { background: transparent; padding: 0 var(--m); }
.hdr { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 .875rem 0 1.25rem; background: var(--bar); color: var(--fg);
  transition: padding .5s var(--ease); }
.hdr-logo { display: flex; }
.hdr-logo svg { height: 1.15rem; width: auto; aspect-ratio: 907 / 103; }
.roll { display: inline-flex; flex-direction: column; height: 1.2em; overflow: hidden; vertical-align: top; }
.roll b { font-weight: inherit; line-height: 1.2; transition: transform .45s var(--ease); }
a:hover > .roll b, a:hover .roll b { transform: translateY(-100%); }
.hdr-right { display: flex; align-items: center; gap: .5rem; }
.hdr-cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; min-width: 14rem; padding: 0 1.25rem;
  background: var(--fg); color: var(--bar);
  font-size: .938rem; line-height: 1.2; letter-spacing: -0.009rem;
  transition: opacity .3s ease-out;
}
.hdr-cta .ar { position: absolute; left: .9rem; top: 50%; width: .7rem; height: .7rem; transform: translateY(-50%); transition: transform .45s var(--ease); }
.hdr-cta .ar path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.hdr-cta:hover, .menu-btn:hover { opacity: .85; }
.header.is-flat .hdr-cta { color: var(--bg); }
.hdr-cta:hover .ar { transform: translateY(-50%) rotate(45deg); }
.menu-btn { position: relative; display: block; width: 2.5rem; height: 2.5rem; background: var(--fg); color: var(--bar); transition: opacity .3s ease-out; }
.header.is-flat .menu-btn { color: var(--bg); }
.menu-btn i { position: absolute; left: 50%; width: 1rem; margin-left: -.5rem; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:first-child { top: calc(50% - 3.5px); } .menu-btn i:last-child { top: calc(50% + 2.5px); }
body.menu-open .menu-btn i:first-child { top: calc(50% - .5px); transform: rotate(45deg); }
body.menu-open .menu-btn i:last-child { top: calc(50% - .5px); transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; padding: 8rem var(--m) 2rem; display: flex; flex-direction: column; gap: .6rem; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
.menu .label { margin-bottom: 1.5rem; opacity: .6; font-size: .75rem; font-weight: 500; letter-spacing: .03rem; text-transform: uppercase; }
.menu a { font-size: 2.286rem; line-height: 1.05; letter-spacing: -0.023rem; }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.nowrap { white-space: nowrap; }
.hdr-logo { padding: .75rem 0; margin: -.75rem 0; }
.menu .menu-cta { margin-top: 1.5rem; font-size: 1.125rem; text-decoration: underline; text-underline-offset: .25em; }

/* =========================================================
   START A LAUNCH — right-hand drawer (palantir.com "Get Started", 1:1 layout)
   ========================================================= */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(1, 1, 1, .6); opacity: 0; visibility: hidden; transition: opacity .35s ease-in-out, visibility 0s linear .35s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: 49%; min-width: 34rem; max-width: 100%;
  padding: 5rem 0 1.875rem; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden; transition: transform .35s ease-in-out, visibility 0s linear .35s; }
body.drawer-open .drawer-scrim { opacity: 1; visibility: visible; transition: opacity .35s ease-in-out; }
body.drawer-open .drawer { transform: none; visibility: visible; transition: transform .35s ease-in-out; }
body.drawer-open { overflow: hidden; }
.drawer-close { position: absolute; top: 1.25rem; left: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; }
.drawer-close svg { width: .875rem; height: .875rem; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.drawer-close:hover svg { transform: translate(2px, 2px); }
.drawer-body { padding: 0 1.875rem; }
.drawer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.875rem; }
.drawer-earmark, .drawer-aside, .fld > span, .drawer-note { font-size: .625rem; line-height: 1.6; letter-spacing: .03rem; text-transform: uppercase; }
.drawer-earmark { opacity: .55; }
.drawer-aside { position: relative; white-space: nowrap; }
.drawer-aside::after { transform: scaleX(1); bottom: -0.15rem; }
.drawer-aside:hover::after { transform: scaleX(0); transform-origin: right; }
.drawer-title { max-width: 26rem; margin: 5rem 0 3.75rem; font-size: 2.125rem; line-height: 1.18; font-weight: 400; letter-spacing: -0.02rem; }
.drawer-form { display: flex; flex-direction: column; gap: 2.5rem; }
.fld { display: flex; flex-direction: column; }
.fld i { font-style: normal; color: #ff4136; padding-left: .4rem; }
.fld input, .fld select, .fld textarea { width: 100%; height: 1.875rem; padding: 1px 2px; font: inherit; font-size: max(16px, 1rem);   /* 16px+ stops iOS zooming on focus */ color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid #636363; border-radius: 0; outline: none; appearance: none; transition: border-color .2s ease-out; }
.fld select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23010101'/%3E%3C/svg%3E") no-repeat right 2px center / .625rem; }
.fld textarea { height: auto; min-height: 7.5rem; margin-top: .5rem; padding: .5rem; border: 1px solid #636363; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: #010101; }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: #ff4136; }
.drawer-submit { align-self: flex-start; width: 13.4rem; height: 3.25rem; margin-top: .5rem; font-size: 1rem; border: 1px solid #636363; transition: background-color .25s ease-in-out, color .25s ease-in-out; }
.drawer-submit:hover { background: #010101; color: #fff; border-color: #010101; }
.drawer-note { text-transform: none; font-size: .75rem; letter-spacing: 0; opacity: .7; }
.drawer-note a { position: relative; }
.drawer-note a::after { transform: scaleX(1); bottom: 0; }
@media (max-width: 768px) {
  .FooterListSmallLink { display: inline-block; padding: .35rem 0; }
  .drawer { width: 100%; min-width: 0; padding-top: 4.5rem; }
  .drawer-title { font-size: 1.75rem; margin: 3rem 0 2.5rem; }
}

/* =========================================================
   HERO — Anduril subdomain header: big title, detail row beneath
   ========================================================= */
.hero { position: relative; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--m); }
/* video background, colour-graded with a gradient map per scene (hero-video.js) */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video, .hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; }                       /* source only — the canvas shows the graded image */
.hero-media.no-gl video { opacity: 1; filter: grayscale(1) contrast(1.05) brightness(.7); }
.hero-title, .hero-details { position: relative; }
/* headline centred, Palantir-style: each word rolls up through a mask twice, like a slot reel,
   staggered left to right, line two after line one (delays set in main.js) */
.hero-title { margin: 0; text-align: center; --lh: 1.12em; }
.hero-details { align-items: end; position: absolute !important; left: var(--m); right: var(--m); bottom: 2rem; }
.hd-2 { grid-column: 1 / 5; opacity: .6; max-width: 80%; }
.hd-3 { grid-column: 7 / 13; justify-self: end; display: flex; align-items: center; gap: 2rem; }
.hero-mark { width: 2.25rem; height: auto; }
.hero-title .line { display: block; }
.hero-title .w { display: inline-block; height: var(--lh); overflow: hidden; vertical-align: top; }
.hero-title .reel { display: flex; flex-direction: column; transform: translateY(var(--lh)); }
.hero-title .reel > span { display: block; height: var(--lh); line-height: var(--lh); white-space: nowrap; }
body.loaded .hero-title .reel { animation: reel 1.5s linear var(--d, 0s) both; }
@keyframes reel {
  0%   { transform: translateY(var(--lh)); animation-timing-function: cubic-bezier(.2, .75, .25, 1); }
  42%  { transform: translateY(0); animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  100% { transform: translateY(calc(-1 * var(--lh))); }
}
.hero-details { opacity: 0; transition: opacity .8s ease 1.4s; }
body.loaded .hero-details { opacity: 1; }

/* =========================================================
   SECTIONS
   ========================================================= */
section:not(.hero) { padding: 8rem var(--m); }

/* about — lead paragraph, two text columns beneath */
.about { padding-top: 10rem !important; padding-bottom: 10rem !important; }
.about-lead { grid-column: 1 / 10; max-width: 26em; }
.about-cols { margin-top: 8rem; }
.about-col:nth-child(1) { grid-column: 5 / 9; }
.about-col:nth-child(2) { grid-column: 9 / 13; }
.about-col-title { margin-bottom: 1.25rem; }
.about-col .t-p { max-width: 28rem; opacity: .75; }

/* services — media-slice content pattern */
.services-title { margin-bottom: 6rem; }
.svc { padding: 1rem 0 5rem; border-top: 1px solid var(--line); row-gap: 2rem; }
.svc-c1 { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 3rem; }
.decal { display: grid; grid-template-columns: 2fr 1fr; max-width: 32rem; }
.decal .t-detail { max-width: 12rem; text-wrap: balance; }
.svc-c2 { grid-column: 7 / 12; }
.svc-icon { width: 3.5rem; height: 3.5rem; }
.svc-icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.svc-icon .faint { stroke-opacity: .35; }
.svc-icon .dot, .ic-network .core { fill: currentColor; stroke: none; }
.ic-network .node { fill: var(--bg); }
.ic-launch .trail { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 3.2s cubic-bezier(.5,0,.2,1) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 80; } 70%, 100% { stroke-dashoffset: 0; } }
.ic-compass .needle { transform-origin: 32px 32px; animation: needle 5s ease-in-out infinite; }
@keyframes needle { 0% { transform: rotate(-40deg); } 30% { transform: rotate(18deg); } 45% { transform: rotate(-8deg); } 58% { transform: rotate(3deg); } 70%, 100% { transform: rotate(0); } }
.ic-network .orbit { transform-origin: 32px 32px; animation: spin 14s linear infinite; }
.ic-network .orbit--2 { animation-duration: 6s; animation-direction: reverse; }
.ic-network .core { animation: pulse 2.4s ease-in-out infinite; transform-origin: 32px 32px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.75); } }
.svc-c2 h3 { margin-bottom: 1rem; }
.svc-c2 > .t-p { margin-bottom: 2rem; }
.svc-items { margin-bottom: 2rem; }
.svc-items li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.svc-items li:last-child { border-bottom: 1px solid var(--line); }
.svc-items li span:last-child { opacity: .6; }
.svc-items .t-detail { padding-top: .15rem; }

/* track record — title, then three big numbers (shares the stone block with launches) */
.record { padding-top: 8rem !important; padding-bottom: 6rem !important; }
.record-head { margin-bottom: 5rem; }
.record-head h2 { grid-column: 1 / -1; }
.record-cells { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--cg); }
.cell { display: flex; flex-direction: column; gap: 1.5rem; }
.cell-label { opacity: .7; }
.cell .num { font-variant-numeric: tabular-nums; }

/* launches */
.launches { padding-top: 6rem !important; margin-top: -1px; position: relative; } /* same stone block as track record — no seam */
.launches-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 4rem; }
.launches-head .t-p { max-width: 22rem; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-card { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; transition: background-color .3s; }
.logo-card:hover { background: color-mix(in srgb, var(--fg) 4%, transparent); }
.logo-card .index { position: absolute; top: 1rem; left: 1rem; opacity: .6; }
.logo-card .arrow { position: absolute; top: 1rem; right: 1rem; width: .75rem; height: .75rem; opacity: .35; transition: transform .4s var(--ease), opacity .3s; }
.logo-card .arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.logo-card:hover .arrow { opacity: 1; transform: translate(3px, -3px); }
.logo-card .mark { display: flex; align-items: center; gap: .75rem; transition: transform .4s var(--ease); }
.logo-card:hover .mark { transform: scale(1.04); }
.logo-card .glyph { width: 2rem; height: 2rem; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo-card .glyph.wide { width: 8.5rem; height: 8.5rem; margin: -3.25rem 0; } /* wordmark sits inside a square icon box */
.logo-card img.color { width: 2rem; height: 2rem; border-radius: 50%; filter: grayscale(1) contrast(1.4) brightness(.45); transition: filter .4s; }
.logo-card:hover img.color { filter: none; }
.logo-card .star { position: absolute; bottom: 1rem; right: 1rem; opacity: .6; }

/* process */
.footnote { margin-top: 1.25rem; }
.process-title { margin-bottom: 4rem; }
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--cg); align-items: baseline; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.row > .t-elios { grid-column: 1 / 2; }
.row h3 { grid-column: 2 / 7; }
.row p { grid-column: 7 / 11; }
.row-tag { grid-column: 12 / 13; justify-self: end; }

/* =========================================================
   REVEAL — fixed underneath; main scrolls away to reveal it
   ========================================================= */
.reveal {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0;
  height: 100svh; max-height: 1080px; min-height: 640px;
  display: grid; grid-template-rows: 1fr auto; padding-top: 5rem;
}
.reveal-chart { position: relative; min-height: 0; }
.reveal-chart .chart { position: absolute; inset: 0; }

/* =========================================================
   FOOTER — anduril.com .Footer, 1:1
   ========================================================= */
.Footer { position: relative; z-index: 1; min-height: 22rem; padding: 3.5rem 0; }
.Footer .wrapper { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6rem; width: 100%; }
.Footer .top, .Footer .bottom { margin: 0 var(--m); position: relative; align-items: start; }
.Footer .top .spacer { grid-column: span 6; }
.Footer a.logo { position: absolute; top: 0; left: 0; display: block; width: 8rem; color: #fff; }
.Footer a.logo svg { width: 100%; height: auto; aspect-ratio: 907 / 103; }

.FooterListLinks { grid-column: span 2; display: grid; align-content: start; width: fit-content; }
.FooterListLinks .title-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 0 0 2rem; }
.FooterListLinks .title { font-size: .75rem; font-weight: 500; line-height: 1.05; letter-spacing: .03rem; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.FooterListLinks .plus-sign { display: none; position: relative; width: 1rem; height: 1rem; }
.FooterListLinks .plus-sign i { position: absolute; top: 50%; left: 50%; width: 100%; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform .3s ease-out; }
.FooterListLinks .plus-sign i:first-child { transform: translate(-50%, -50%) rotate(90deg); }
.FooterListLinks.isOpen .plus-sign i:first-child { transform: translate(-50%, -50%) rotate(0deg); }

.flink { display: flex; align-items: center; gap: .5rem; padding-top: .25rem; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.011rem; }
.flink:first-child { padding-top: 0; }
.flink span { white-space: nowrap; }
.flink .icon { position: relative; display: flex; align-items: flex-end; width: .75rem; min-width: .75rem; height: .75rem; margin-top: .15rem; overflow: clip; }
.flink svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s ease-out; }
.flink svg:first-child { transform: translate(-100%, 100%); }
.flink svg:nth-child(2) { transform: translate(-100%, 100%); }
.flink:hover svg:first-child { transform: translate(0, 0); }
.flink:hover svg:nth-child(2) { transform: translate(100%, -100%); }

.Footer .bottom .small-links { grid-column: span 6; display: flex; flex-direction: column; gap: .25rem; }
.Footer .copyright { width: max-content; margin: 0 0 .75rem; font-size: .75rem; font-weight: 500; line-height: 1.05; letter-spacing: .03rem; text-transform: uppercase; }
.FooterListSmallLink { display: block; width: max-content; font-size: .75rem; font-weight: 500; line-height: 1.05; letter-spacing: .03rem; text-transform: capitalize; opacity: .6; transition: opacity .2s; }
.FooterListSmallLink:hover { opacity: 1; }
.Footer .contact-container { grid-column: 11 / 13; min-width: fit-content; }
.Footer .contact-title { margin: 0 0 1.75rem; font-size: .75rem; font-weight: 500; line-height: 1.05; letter-spacing: .03rem; text-transform: uppercase; opacity: .6; }
.Footer .contact-email { font-size: 1.125rem; line-height: 1.15; letter-spacing: -0.011rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-c1, .svc-c2 { grid-column: 1 / -1; }
  .svc-c1 { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .row h3 { grid-column: 2 / 12; }
  .row p { grid-column: 2 / 12; margin-top: .75rem; }
  .row-tag { grid-row: 1; }
}
@media (max-width: 768px) {
  .header { top: .75rem; height: 3.5rem; }
  .hdr { padding: 0 .625rem 0 1rem; }
  .hdr-cta { min-width: 0; height: 2.25rem; padding: 0 .9rem 0 2.1rem; font-size: .875rem; }
  .hdr-cta .ar { left: .75rem; }
  .menu-btn { width: 2.25rem; height: 2.25rem; }
  .menu { padding-top: 6rem; }
  section:not(.hero) { padding: 6rem var(--m); }
  .hd-2 { grid-column: 1 / -1; max-width: 100%; }
  .hd-3 { grid-column: 1 / -1; justify-self: start; margin-top: 1.5rem; }
  .hero-go { display: none; }
  .about { padding-top: 6rem !important; padding-bottom: 6rem !important; }
  .about-lead, .about-col:nth-child(1), .about-col:nth-child(2) { grid-column: 1 / -1; }
  .about-cols { margin-top: 4rem; row-gap: 3rem; }
  .launches-head { flex-direction: column; align-items: flex-start; }
  .record-head { margin-bottom: 3rem; }
  .record-cells { grid-template-columns: 1fr; row-gap: 3rem; }
  .cell { gap: .75rem; }
  .reveal { min-height: 0; padding-top: 4.5rem; }
  .svc-items li { grid-template-columns: 1fr; gap: .35rem; }
  .row { grid-template-columns: 2.5rem 1fr auto; }
  .row h3, .row p { grid-column: 2 / 3; }
  .row-tag { grid-column: 3 / 4; }
  .logo-card .glyph.wide { width: 6rem; height: 6rem; margin: -2.25rem 0; }

  /* Anduril mobile footer: columns become accordions */
  .Footer { padding: 3.5rem 0 4.5rem; }
  .Footer .top, .Footer .bottom { margin: 0 var(--m); row-gap: 0; }
  .Footer .top .spacer { height: 4.75rem; grid-column: span 12; }
  .FooterListLinks { grid-column: span 12; width: 100%; border-top: 1px solid var(--line); }
  .FooterListLinks .title-wrapper { padding: 1.2rem 0 1.2rem; cursor: pointer; }
  .FooterListLinks .title { font-size: .929rem; letter-spacing: .037rem; }
  .FooterListLinks .plus-sign { display: block; }
  .FooterListLinks .links-wrapper { max-height: 0; overflow: clip; transition: max-height .3s ease-out, padding .3s ease-out; }
  .FooterListLinks.isOpen .links-wrapper { max-height: 20rem; padding-bottom: 1.5rem; }
  .flink { font-size: 1.643rem; letter-spacing: -0.016rem; padding-top: .75rem; }
  .flink .icon { width: 1rem; height: 1rem; margin-top: .4rem; }
  .Footer .wrapper { gap: 3rem; }
  .Footer .bottom .small-links { grid-column: span 12; }
  .Footer .copyright, .FooterListSmallLink { font-size: .929rem; letter-spacing: .037rem; }
  .Footer .contact-container { display: none; }
}

@media (max-width: 480px) {
  .hdr-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .hero-title .reel { transform: translateY(calc(-1 * var(--lh))); }
  .hero-details, [data-anim] { opacity: 1; transform: none; }
}
