/* Veloscia — editorial defense/AI minimalism */
:root {
  --paper: #f5f3ee;
  --paper-2: #ecebe5;
  --ink: #0b1020;
  --ink-2: #1a2238;
  --ink-soft: #3a4357;
  --muted: #6c7589;
  --rule: rgba(11, 16, 32, 0.12);
  --rule-soft: rgba(11, 16, 32, 0.06);
  --lapis: #152FA8;
  --lapis-deep: #0a1860;
  --lapis-mid: #2a47c2;
  --gold: #FFE277;
  --gold-soft: #f8d65a;
  --wake: #FFE277;
  --accent-h: 232;
  --accent: #152FA8;
  --accent-soft: oklch(0.92 0.04 var(--accent-h));

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
img, video { display: block; max-width: 100%; }

/* ─── Tokens ─── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1.5px;
}

.tick {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}
h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.italic { font-style: italic; }

p { margin: 0; }
.lead { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: var(--ink-soft); max-width: 62ch; }
.copy { font-size: 14px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }

/* ─── Shell ─── */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ─── Top bar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in oklab, var(--paper) 78%, transparent);
  border-bottom: 1px solid var(--rule-soft);
  overflow: hidden;
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.topbar-spacer { display: block; }
.topbar-logo-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 84px;
  overflow: hidden;
  align-self: center;
}
.topbar-logo {
  height: 180px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: -8px;
  transition: transform 0.25s ease;
}
.topbar-logo-link:hover .topbar-logo { transform: scale(1.04); }
.topbar-badge-link {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: -34px;
  margin-bottom: -22px;
}
.topbar-wosb {
  height: 82px;
  width: auto;
  object-fit: contain;
}
.topbar-badge {
  width: 140px;
  height: 140px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(11,16,32,0.12));
  transition: transform 0.2s ease;
  transform-origin: bottom right;
  transform: translateY(0);
}
.topbar-badge-link:hover .topbar-badge {
  transform: translateY(0) scale(1.05);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
  filter: saturate(1.1);
}
.brand small {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase; margin-left: 2px;
}
.nav {
  display: flex; gap: 4px; justify-content: center;
}
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: 2px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.nav a:hover {
  color: var(--lapis);
}
.nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
  background: var(--lapis);
}
.nav a.active {
  color: var(--lapis);
}
.nav a.active::before {
  opacity: 1;
  transform: translateX(0);
  background: var(--lapis);
}
.nav a.active:hover {
  color: var(--lapis);
}
.nav a.active:hover::before {
  background: var(--lapis);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 2px 0 rgba(11,16,32,0.08), 0 2px 4px -1px rgba(11,16,32,0.06);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cta:hover {
  background: var(--lapis);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(11,16,32,0.18), 0 4px 6px -2px rgba(11,16,32,0.10);
  border-color: rgba(255,255,255,0.14);
}
.cta .arrow { transition: transform 0.25s ease; }
.cta:hover .arrow { transform: translateX(3px); }
.cta.ghost {
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: none;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.cta.ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
  box-shadow: none;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: clamp(64px, 10vh, 140px) 0 clamp(80px, 12vh, 160px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vh, 96px);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: end;
}
.hero-meta .col-l { grid-column: 1 / 8; }
.hero-meta .col-r { grid-column: 9 / 13; padding-bottom: 6px; }

.hero h1 .em {
  font-style: italic;
  color: var(--lapis);
}
.hero h1 .em-2 {
  font-style: italic;
  color: var(--ink);
  background: linear-gradient(transparent 78%, var(--gold) 78%, var(--gold) 95%, transparent 95%);
  background-size: 100% 100%;
  padding: 0 2px;
  position: relative;
}

.hero-line {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 32px;
}
.hero-line .rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.hero-image {
  position: relative;
  height: clamp(280px, 44vh, 520px);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  margin-top: clamp(28px, 4.5vh, 60px);
}
.hero-image img,
.hero-image video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,16,32,0) 30%, rgba(11,16,32,0.55) 100%);
  pointer-events: none;
}
.hero-image-meta {
  position: absolute;
  inset: auto 24px 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--paper);
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-image-meta .lat { opacity: 0.78; }

/* Atmospheric variant */
[data-view="atmospheric"] .hero-image {
  height: clamp(420px, 70vh, 720px);
}
[data-view="atmospheric"] .hero {
  padding-top: clamp(40px, 6vh, 80px);
}

/* Technical variant */
[data-view="technical"] .hero {
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
}
[data-view="technical"] .section {
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ─── Section scaffold ─── */
.section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
  border-top: 1px solid var(--rule-soft);
}
.section.dark {
  background: var(--ink);
  color: var(--paper);
  border-top-color: rgba(255,255,255,0.06);
}
.section.dark .lead, .section.dark .copy { color: rgba(245,243,238,0.72); }
.section.dark .eyebrow { color: rgba(245,243,238,0.55); }
.section.dark .tick { color: rgba(245,243,238,0.55); }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-bottom: clamp(40px, 6vh, 72px);
  align-items: end;
}
.section-head .left { grid-column: 1 / 7; display: grid; gap: 18px; }
.section-head .right { grid-column: 8 / 13; }
.section-head h2 .em { font-style: italic; color: var(--lapis); }
.section.dark .section-head h2 .em { color: var(--wake); }

/* Index column */
.idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  gap: 10px;
}
.section.dark .idx { color: rgba(245,243,238,0.55); }

/* ─── Capability rows ─── */
.cap-list { border-top: 1px solid var(--rule); }
.section.dark .cap-list { border-top-color: rgba(255,255,255,0.1); }

.cap-row {
  display: grid;
  grid-template-columns: 60px 1.4fr 2fr 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}
.section.dark .cap-row { border-bottom-color: rgba(255,255,255,0.1); }
.cap-row:hover { background: linear-gradient(90deg, transparent, var(--paper-2) 30%, var(--paper-2) 70%, transparent); }
.section.dark .cap-row:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.04) 70%, transparent); }
.cap-row .cap-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.cap-row h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.1;
  font-style: italic;
}
.cap-row .desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.section.dark .cap-row .desc { color: rgba(245,243,238,0.7); }
.cap-row .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: flex-end;
}
.cap-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.section.dark .cap-row .tag { color: rgba(245,243,238,0.7); border-color: rgba(255,255,255,0.18); }

/* ─── Approach panels ─── */
.principles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.principle {
  grid-column: span 4;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: grid; gap: 12px;
}
.principle .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.principle h3 { font-size: 22px; line-height: 1.15; }
.principle p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.section.dark .principle { border-top-color: rgba(255,255,255,0.18); }
.section.dark .principle p { color: rgba(245,243,238,0.7); }

/* ─── Mission strip (full-bleed image with overlay text) ─── */
.bleed {
  margin: 0 calc(-1 * var(--pad));
  position: relative;
  height: clamp(380px, 60vh, 640px);
  overflow: hidden;
}
.bleed video, .bleed img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,16,32,0.2), rgba(11,16,32,0.7));
}
.bleed .bleed-content {
  position: absolute; inset: 0;
  z-index: 2;
  display: grid;
  align-items: end;
  padding: clamp(32px, 5vh, 64px) var(--pad);
  z-index: 2;
  color: var(--paper);
}
.bleed h2 {
  max-width: 18ch;
}
.bleed .bleed-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-top: 24px;
}
.bleed .bleed-meta p { color: rgba(245,243,238,0.75); max-width: 38ch; }

/* ─── Tradewinds card ─── */
.trade {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.trade::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lapis), transparent);
  opacity: 0.4;
}
.trade .badge-wrap {
  background: #070a14;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 24px;
  display: grid; place-items: center;
  aspect-ratio: 1.05 / 1;
}
.trade .badge-wrap img { width: 100%; max-width: 280px; height: auto; }
.trade h3 { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15; }
.trade .trade-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lapis);
  margin-bottom: 14px;
}
.trade .trade-tag::before {
  content: ""; width: 8px; height: 8px; background: var(--lapis); border-radius: 999px;
}
.trade ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.trade ul li {
  font-size: 14px; color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}
.trade ul li::before {
  content: "→";
  position: absolute; left: 0;
  font-family: var(--mono);
  color: var(--lapis);
}

/* ─── Work / case readout ─── */
.work {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.work-item {
  grid-column: span 6;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: grid;
  gap: 14px;
}
.work-item .img {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.work-item .img img, .work-item .img video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.work-item:hover .img img, .work-item:hover .img video { transform: scale(1.02); }
.work-item .meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-item h3 { font-size: 24px; }

/* ─── Numbers ─── */
.figs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.section.dark .figs { border-top-color: rgba(255,255,255,0.18); }
.fig { display: grid; gap: 6px; }
.fig .n {
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.fig .n .em { font-style: italic; color: var(--lapis); }
.section.dark .fig .n .em { color: var(--wake); }
.fig .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section.dark .fig .l { color: rgba(245,243,238,0.6); }

/* ─── Contact ─── */
.contact-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(40px, 6vh, 72px);
}
.contact-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-left h2 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.contact-divider {
  height: 1px;
  background: var(--rule);
  margin: clamp(24px, 3vh, 36px) 0;
}
.contact-meta-block {
  display: grid;
  gap: 8px;
}
.contact-meta-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-meta-value {
  font-size: 14.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.contact-meta-link {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.contact-meta-link:hover { color: var(--lapis); }
.contact-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #2dba6c;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 3px rgba(45,186,108,0.18);
}

/* ─── Contact form ─── */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(28px, 3vw, 40px);
  display: grid;
  gap: clamp(18px, 2.2vh, 26px);
}
.cf-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.cf-field {
  display: grid;
  gap: 8px;
}
.cf-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 14.5px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--lapis);
  background: rgba(21,47,168,0.03);
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  line-height: 1.55;
}
.cf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cf-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cf-chip:hover {
  border-color: var(--ink);
}
.cf-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}
.cf-foot-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.cf-submit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 12px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cf-submit:hover {
  background: var(--lapis);
  border-color: var(--lapis);
  transform: translateY(-1px);
}
.cf-submit .arrow { transition: transform 0.25s ease; }
.cf-submit:hover .arrow { transform: translateX(3px); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cf-row.two { grid-template-columns: 1fr; }
  .contact-meta-row { grid-template-columns: 1fr; }
}

/* ─── Footer ─── */
.foot {
  border-top: 1px solid var(--rule-soft);
  padding: 40px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot .right { text-align: right; }

/* Wake — the brand mark animation: a quiet trailing line */
.wake-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lapis) 40%, var(--lapis) 60%, transparent);
  opacity: 0.4;
  margin: 4px 0 0;
}

/* ─── Core values banner (uses .bleed shell) ─── */
.core-bleed {
  height: clamp(420px, 64vh, 680px);
}
.core-bleed img { filter: saturate(0.9) contrast(1.05) brightness(0.9); object-position: 70% 30%; }
.core-bleed .core-beam {
  display: none;
}
.core-bleed .bleed-content { z-index: 2; }
.core-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
  max-width: 980px;
}

/* Wake smoke: only renders LEFT of the jet (jet at ~78%), drifts leftward.
   The mask cuts hard at the jet so smoke never appears in front of it; the
   SVG's own gradient handles the soft origin point at the jet's tail. */
.wake-smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 8%,
    rgba(0,0,0,1) 62%,
    rgba(0,0,0,0) 67%
  );
          mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 8%,
    rgba(0,0,0,1) 62%,
    rgba(0,0,0,0) 67%
  );
}
.wake-smoke svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.85;
}

/* Pulsing glow over the rocket flare baked into zyanya-velo.png.
   The image (3840×2160, 16:9) is rendered with object-fit: cover inside the
   640px-tall bleed. On wider viewports the image is scaled by WIDTH and the
   top/bottom are cropped equally, which means the flare's horizontal %
   position is stable but its vertical position drifts.
   Anchor with container query units so the glow tracks the flare regardless
   of viewport width. */
.core-bleed { position: relative; container-type: inline-size; }
.core-rocket-glow {
  position: absolute;
  /* Flare in source image is at ~74% x, ~30% y.
     Image is 16:9, rendered with object-fit: cover, object-position: 70% 30%
     inside the 640px-tall bleed.
     For wide viewports (container aspect > 16:9, the common case),
     image fills width and overflows vertically. With object-position-y: 30%,
     the flare-Y settles at exactly 30% of container height (math:
     0.30 × image_h − 0.30 × (image_h − container_h) = 0.30 × container_h).
     Flare-X is just 74% of container width since there is no horizontal crop. */
  left: 74%;
  top: 30%;
  width: clamp(96px, 9cqi, 220px);
  aspect-ratio: 1;
  height: auto;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle,
    rgba(255, 244, 210, 0.55) 0%,
    rgba(255, 230, 170, 0.28) 22%,
    rgba(255, 220, 150, 0.10) 45%,
    rgba(255, 220, 150, 0) 70%
  );
  mix-blend-mode: screen;
  filter: blur(2px);
  animation: coreRocketPulse 2.6s ease-in-out infinite;
}
@keyframes coreRocketPulse {
  0%, 100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .core-rocket-glow { animation: none; opacity: 0.7; }
}
.core-card {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(245,243,238,0.28);
  border-radius: 0;
  padding: 18px 0 0 0;
  display: grid; gap: 10px;
  transition: border-color 0.3s ease;
}
.core-card:hover {
  transform: none;
  background: transparent;
  border-color: var(--wake);
}
.core-card .core-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--wake);
  text-transform: uppercase;
}
.core-card h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1;
}
.core-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.4;
  color: rgba(245,243,238,0.72);
  letter-spacing: -0.005em;
}
@media (max-width: 880px) {
  .core-cards { grid-template-columns: 1fr; }
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
/* ─── GAIAM block (Tradewinds intro) ─── */
.gaiam {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 2vw, 32px);
  margin-bottom: clamp(48px, 7vh, 96px);
}
.gaiam-video {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  min-height: clamp(360px, 52vh, 520px);
  color: var(--paper);
}
.gaiam-video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.gaiam-video-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(31,58,138,0.10), transparent 70%),
    linear-gradient(180deg, rgba(11,16,32,0.10), rgba(11,16,32,0.28));
}
.gaiam-corner {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.7);
  z-index: 2;
}
.gaiam-corner-tl { top: 18px; left: 22px; }
.gaiam-corner-tr { top: 18px; right: 22px; }
.gaiam-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: clamp(96px, 10vw, 132px);
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}
.gaiam-quote {
  position: absolute;
  bottom: 22px; left: 24px;
  right: 24px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--paper);
  letter-spacing: -0.01em;
  z-index: 2;
  max-width: 36ch;
}
.gaiam-panel {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: 6px;
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gaiam-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.gaiam-title {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.gaiam-copy {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.gaiam-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: grid;
  gap: 0;
}
.gaiam-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.4;
}
.gaiam-list li:last-child { border-bottom: 1px solid var(--rule-soft); }
.gaiam-list li span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--lapis);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .gaiam { grid-template-columns: 1fr; }
  .gaiam-video { min-height: 320px; }
}

/* ─── Hero overlay composition (THE DISCIPLINE) ─── */
.hero-overlay {
  height: auto !important;
  min-height: clamp(580px, 80vh, 780px);
  border-radius: 8px;
  display: grid;
}
.hero-overlay video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.hero-overlay::after { display: none; }
.hero-overlay-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(31,58,138,0.28), transparent 70%),
    linear-gradient(180deg, rgba(11,16,32,0.55), rgba(11,16,32,0.78));
  z-index: 1;
}
.hero-overlay-content {
  position: relative;
  z-index: 2;
  background-image: radial-gradient(circle at 25% 40%, rgba(37, 99, 235, 0.10), transparent 60%);
  /* Subtle vignette to frame the section without darkening the perimeter visibly */
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.28);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: clamp(20px, 3vh, 36px);
  padding: clamp(24px, 4vh, 44px) clamp(24px, 4vw, 48px);
  height: 100%;
  color: var(--paper);
}
.hero-overlay-rule {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-overlay-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--wake);
  text-transform: uppercase;
  white-space: nowrap;
}
.rule-line {
  flex: 1; height: 1px;
  background: rgba(245,243,238,0.28);
}
.hero-overlay-subnote {
  color: var(--wake);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 14px 0 0;
  font-weight: 500;
  opacity: 0.85;
  max-width: 588px;
  width: 100%;
  margin-left: auto;
  text-align: right;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.hero-overlay-head > * { min-width: 0; }
.hero-overlay-title { overflow-wrap: anywhere; }
.hero-overlay-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.hero-overlay-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-weight: 400;
}
.hero-overlay-copy {
  color: rgb(255, 255, 255);
  font-weight: 600;
  text-align: left;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245,243,238,0.78);
  max-width: 52ch;
}
.hero-overlay-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}
.ho-card {
  background: rgba(245,243,238,0.05);
  border: 1px solid rgba(245,243,238,0.16);
  border-radius: 4px;
  padding: 18px 22px 22px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  align-content: stretch;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
  min-height: 250px;
}
.ho-card:hover {
  background: rgba(245,243,238,0.12);
  border-color: var(--wake);
  transform: translateY(-2px);
}
.ho-card-top {
  display: flex; justify-content: space-between; align-items: center;
}
.ho-card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--wake);
}
.ho-card-dash {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245,243,238,0.45);
  letter-spacing: 0.4em;
}
.ho-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
}
.ho-card-title {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.2;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.ho-card-desc {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(245,243,238,0.72);
}
.hero-overlay-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.7);
  padding-top: 8px;
}
.hero-overlay-foot .lat { opacity: 0.78; }

/* ─── Mobile burger button & drawer ─── */
.topbar-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(7, 6, 8, 0.25);
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.topbar-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink, #070608);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.topbar-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.topbar-burger.is-open span:nth-child(2) { opacity: 0; }
.topbar-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,16,32,0.97);
  backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 96px 28px 40px;
  height: 100%;
  overflow-y: auto;
}
.mobile-nav nav a {
  display: block;
  padding: 16px 4px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,243,238,0.08);
}
.mobile-nav nav a.active { color: var(--wake, #f9e277); }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto; }
  .topbar-spacer { display: none; }
  .hero-meta .col-l, .hero-meta .col-r { grid-column: 1 / 13; }
  .section-head .left, .section-head .right { grid-column: 1 / 13; }
  .cap-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .cap-row .desc, .cap-row .tags { grid-column: 2; }
  .cap-row .tags { justify-content: flex-start; }
  .principle { grid-column: span 12; }
  .work-item { grid-column: span 12; }
  .figs { grid-template-columns: repeat(2, 1fr); }
  .trade { grid-template-columns: 1fr; }
  .contact h2, .contact .right { grid-column: 1 / 13; }
  .hero-overlay-head { grid-template-columns: 1fr; }
  .hero-overlay-cards { grid-template-columns: repeat(2, 1fr); }
  .topbar-burger { display: flex; }
  .mobile-nav { display: block; }
  .topbar-logo { height: 110px !important; }
  .topbar-wosb { height: 56px !important; width: auto !important; margin: -16px !important; }
  .topbar-badge { height: 88px !important; width: 88px !important; }
}
@media (max-width: 640px) {
  .shell { padding-left: 16px; padding-right: 16px; }
  .topbar-inner { gap: 8px !important; height: 72px !important; }
  .topbar-logo-link { height: 72px !important; }
  .topbar-logo { height: 72px !important; margin: -6px 0 0 -4px !important; }
  .topbar-wosb { height: 36px !important; margin: 0 !important; margin-bottom: -4px !important; }
  .topbar-badge { height: 52px !important; width: 52px !important; margin: 0 !important; }
  .topbar-badge-link { margin-bottom: 0 !important; }
  .topbar-right { gap: 8px !important; flex-shrink: 0; }
  .topbar-burger { width: 40px !important; height: 40px !important; flex-shrink: 0; }
  .foot { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .foot .right { text-align: left; }
  .gaiam-corner { font-size: 10px !important; }
  .gaiam-corner-tl { top: 12px !important; left: 14px !important; }
  .gaiam-corner-tr { top: 12px !important; right: 14px !important; }
  .gaiam-corner-tr img { height: 88px !important; }
  .contact-meta-row { gap: 24px; }
  .cf-input, .cf-textarea { font-size: 16px !important; }
  .bleed-content h2 { font-size: clamp(28px, 7vw, 40px) !important; line-height: 1.1 !important; }
  .bleed-content h2 br { display: none; }
}
@media (max-width: 640px) {
  /* Prevent any horizontal overflow on mobile */
  html, body { overflow-x: hidden; }
  /* Approach bleed — keep content inside viewport */
  .bleed { margin: 0 !important; }
  .bleed-content { padding-left: 16px !important; padding-right: 16px !important; }
  .principles { grid-template-columns: 1fr !important; gap: 20px !important; }
  .principle { grid-column: 1 / -1 !important; }
  .principle h3 { font-size: 20px !important; word-break: break-word; }
  .principle p { font-size: 14px !important; }
  /* CORE dark section — constrain copy + cards */
  .core-bleed { margin: 0 !important; width: 100% !important; max-width: 100vw !important; box-sizing: border-box !important; overflow: hidden !important; height: auto !important; min-height: 480px; padding: 24px 0 !important; }
  .core-bleed .bleed-content { position: relative !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; left: 0 !important; right: 0 !important; inset: auto !important; }
  .core-bleed .bleed-content > div { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .core-cards { grid-template-columns: 1fr !important; gap: 16px !important; width: 100% !important; max-width: 100% !important; }
  .core-card { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .core-card h3 { font-size: 20px !important; word-break: break-word; }
  .core-card p, .core-bleed p, .core-bleed .lead, .core-bleed .copy, .core-bleed .hero-overlay-copy { word-break: break-word !important; max-width: 100% !important; width: 100% !important; }
  /* Topbar badge — drop to bottom aligned with hamburger */
  .topbar-right { align-items: flex-end !important; gap: 10px !important; padding-bottom: 4px !important; }
  .topbar-badge-link { display: flex !important; align-items: flex-end !important; justify-content: flex-end !important; align-self: flex-end !important; margin: 0 !important; }
  .topbar-badge { width: 50px !important; height: 50px !important; margin: 0 !important; transform: translateY(6px) !important; }
  .topbar-burger { align-self: flex-end !important; }
  /* Hero overlay mobile constraints */
  .hero-overlay-content { height: auto !important; min-height: 0 !important; padding: 20px 16px !important; }
  .hero-overlay-head { grid-template-columns: 1fr !important; gap: 16px !important; align-items: start !important; }
  .hero-overlay-subnote { max-width: 100% !important; width: 100% !important; margin: 0 !important; text-align: left !important; }
  .hero-overlay-copy { max-width: 100% !important; }
  .hero-overlay-cards { grid-template-columns: 1fr !important; gap: 12px !important; margin: 16px 0 0 !important; }
  .ho-card { width: 100% !important; height: auto !important; min-height: 0 !important; }
  .hero-overlay-foot { flex-wrap: wrap; gap: 8px; }
  .ho-card-title, .ho-card-desc { overflow-wrap: anywhere; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px) !important; line-height: 1.05 !important; word-break: break-word; hyphens: auto; }
  h2 { font-size: clamp(26px, 7.5vw, 38px) !important; line-height: 1.1 !important; word-break: break-word; hyphens: auto; }
  h3 { word-break: break-word; hyphens: auto; }
  /* Wake / Approach inline overrides — neutralize too-large clamps and nowrap */
  .bleed h2, .section h2 { max-width: 100% !important; }
  .bleed h2 [style*="nowrap"], h2 [style*="nowrap"] { white-space: normal !important; }
  /* Trade / CDAO heading */
  .trade h3 { font-size: clamp(22px, 6.5vw, 30px) !important; line-height: 1.15 !important; overflow-wrap: anywhere; word-break: break-word; }
  .trade { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .trade > * { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
  .trade > div > * { max-width: 100% !important; min-width: 0 !important; }
  .trade .copy, .trade p, .trade ul, .trade ul li { max-width: 100% !important; min-width: 0 !important; overflow-wrap: anywhere; word-break: break-word; }
  .trade .badge-wrap { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 4px 0 0 !important; padding: 24px !important; }
  .trade .badge-wrap img { width: min(100%, 280px) !important; max-width: 100% !important; height: auto !important; display: block !important; margin: 0 auto !important; }
  /* Contact heading */
  .contact-left h2 { font-size: clamp(34px, 9vw, 44px) !important; }
  /* Section eyebrows / mono labels — wrap instead of overflow */
  .eyebrow, .contact-tag, .work-meta { letter-spacing: 0.12em !important; }
  /* Hero CTA buttons stack */
  .hero-actions { flex-wrap: wrap; gap: 12px !important; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .hero-overlay-cards {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ho-card {
    height: auto !important;
    min-height: 180px;
    margin: 0 !important;
  }
  .figs { grid-template-columns: 1fr; }
  .topbar-wosb { display: none !important; }
  .topbar-badge { height: 56px !important; width: 56px !important; }
  h1, h2 { hyphens: auto; word-break: break-word; }
}
@media (max-width: 560px) {
  .hero-overlay-cards {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ho-card {
    height: auto !important;
    min-height: 180px;
    margin: 0 !important;
  }
}
@media (max-width: 980px) {
  .hero-overlay-cards {
    margin: 24px 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 640px) {
  .topbar-burger { z-index: 110 !important; position: relative; }
  .mobile-nav {
    display: block !important;
    opacity: 0;
    pointer-events: none;
    z-index: 90;
  }
  .mobile-nav.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ─── Tradewinds awardability strip (sits under topbar) ─── */
.tw-strip {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  background:
    radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.18), transparent 60%),
    linear-gradient(90deg, #0a1340, #111d54);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  transition: background 0.3s ease;
}
.tw-strip-cta { text-decoration: none; }
.tw-strip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55) 30%, rgba(59, 130, 246, 0.55) 70%, transparent);
  opacity: 0.45;
}
.tw-strip:hover {
  background:
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.22), transparent 60%),
    linear-gradient(90deg, #0c1648, #14215c);
}
.tw-strip-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  min-height: 40px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.tw-strip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 226, 119, 0.18);
  flex-shrink: 0;
  animation: tw-strip-pulse 2.4s ease-in-out infinite;
  transition: background 0.25s ease;
}
@keyframes tw-strip-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 226, 119, 0.18); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(255, 226, 119, 0.04); opacity: 0.85; }
}
.tw-strip:hover .tw-strip-dot {
  background: #fff1a8;
  animation: tw-strip-pulse-hover 1.1s ease-in-out infinite;
}
@keyframes tw-strip-pulse-hover {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(255, 226, 119, 0.45),
      0 0 12px 2px rgba(255, 226, 119, 0.55),
      0 0 22px 6px rgba(255, 226, 119, 0.25);
    opacity: 1;
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(255, 226, 119, 0.10),
      0 0 24px 6px rgba(255, 226, 119, 0.85),
      0 0 40px 14px rgba(255, 226, 119, 0.35);
    opacity: 1;
    transform: scale(1.18);
  }
}
.tw-strip-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.78);
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.tw-strip-eyebrow:hover {
  color: rgba(147, 197, 253, 0.95);
}
.tw-strip-sep {
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.55), transparent);
  flex-shrink: 0;
}
.tw-strip-sep-old-anchor {
  display: none;
}
.tw-strip-copy {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: rgba(245,243,238,0.86);
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}
.tw-strip-copy strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.tw-strip-gaiam-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tw-strip-gaiam-link strong {
  color: var(--gold);
  font-weight: 700;
}
.tw-strip-gaiam-link:hover {
  border-bottom-color: var(--gold);
  color: #fff1a8;
}
.tw-strip-gaiam-link:hover strong {
  color: #fff1a8;
}
.tw-strip-gaiam-link:focus { outline: none; }
.tw-strip-gaiam-link:focus-visible {
  outline: none;
  border-bottom-color: var(--gold);
  border-bottom-width: 1.5px;
}
.tw-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.tw-strip-cta:hover {
  color: #fff1a8;
  text-shadow: 0 0 12px rgba(255, 226, 119, 0.35);
}
.tw-strip-arrow {
  transition: transform 0.25s ease;
  display: inline-block;
}
.tw-strip:hover .tw-strip-arrow {
  transform: translateX(3px);
}
@media (max-width: 900px) {
  .tw-strip-eyebrow { display: none; }
  .tw-strip-sep { display: none; }
}
@media (max-width: 640px) {
  .tw-strip-copy { font-size: 12px; }
  .tw-strip-cta { font-size: 10px; letter-spacing: 0.14em; }
}

/* ─── Philosophy treatments (subtle) ─── */
.philosophy-whisper {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  max-width: 820px;
}
.philosophy-whisper-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  white-space: nowrap;
  padding-top: 4px;
  flex-shrink: 0;
}
.philosophy-whisper p {
  font-family: var(--serif, "Newsreader", serif);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(0,0,0,0.62);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: 0;
}
.philosophy-whisper p:last-child { margin-bottom: 0; }
.philosophy-whisper p em {
  color: rgba(0,0,0,0.82);
  font-style: italic;
  font-weight: 500;
}

.philosophy-margin {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 24px;
  max-width: 720px;
}
.philosophy-margin-rule {
  background: linear-gradient(180deg, var(--gold, #f9df75), transparent);
  border-radius: 2px;
}
.philosophy-margin-body p {
  font-family: var(--serif, "Newsreader", serif);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,0.65);
  font-style: italic;
  margin: 6px 0 0;
}
.philosophy-margin-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
}

.philosophy-corefoot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 760px;
}
.philosophy-corefoot-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249, 223, 117, 0.7);
  display: block;
  margin-bottom: 10px;
}
.philosophy-corefoot p {
  font-family: var(--serif, "Newsreader", serif);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.72);
  font-style: italic;
  margin: 0;
}
.philosophy-corefoot p em {
  color: rgba(249, 223, 117, 0.92);
  font-style: italic;
  font-weight: 500;
}
@media (max-width: 720px) {
  .philosophy-whisper { flex-direction: column; gap: 12px; }
}

/* ─── Philosophy easter egg (Figures band) ─── */
.philosophy-egg {
  margin-top: 120px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 243, 238, 0.08);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 12px;
  cursor: default;
  position: relative;
  width: max-content;
  outline: none;
}
.philosophy-egg-mark {
  font-family: var(--serif, "Newsreader", serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(249, 223, 117, 0.55);
  line-height: 1;
  display: inline-block;
  transition: color 220ms ease, transform 220ms ease;
}
.philosophy-egg-hint {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.28);
  transition: color 220ms ease, opacity 220ms ease;
  white-space: nowrap;
}
.philosophy-egg-body {
  grid-column: 1 / -1;
  max-width: 720px;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 380ms ease, opacity 320ms ease, margin-top 380ms ease;
  margin-top: 0;
}
.philosophy-egg-body > * {
  overflow: hidden;
  min-height: 0;
}
.philosophy-egg:hover .philosophy-egg-mark,
.philosophy-egg:focus-within .philosophy-egg-mark {
  color: rgba(249, 223, 117, 0.95);
  transform: translateY(-1px);
}
.philosophy-egg:hover .philosophy-egg-hint,
.philosophy-egg:focus-within .philosophy-egg-hint {
  color: rgba(245, 243, 238, 0.7);
}
.philosophy-egg:hover .philosophy-egg-body,
.philosophy-egg:focus-within .philosophy-egg-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px;
}
.philosophy-egg-tag {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(249, 223, 117, 0.7);
  margin-bottom: 10px;
}
.philosophy-egg-body p {
  font-family: var(--serif, "Newsreader", serif);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.78);
  font-style: italic;
  margin: 0;
}
.philosophy-egg-body p em {
  color: rgba(249, 223, 117, 0.95);
  font-style: italic;
}

@media (max-width: 640px) {
  .philosophy-egg {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
    margin-top: 72px;
  }
  .philosophy-egg-mark { grid-column: 1; }
  .philosophy-egg-hint {
    grid-column: 1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.4;
    letter-spacing: 0.16em;
  }
  .philosophy-egg-body {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .philosophy-egg-body > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .philosophy-egg-tag,
  .philosophy-egg-body p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }
  .philosophy-egg-body p {
    font-size: clamp(14px, 4.8vw, 16px);
    line-height: 1.55;
  }
}
@media (max-width: 480px) {
  .philosophy-egg-hint {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}

/* ─── Reduced motion + safe area ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  video[autoplay] {
    /* Replace looping background videos with their poster frame */
    display: none !important;
  }
  .gaiam-video video,
  .hero-overlay-bg video,
  .core-bleed video {
    display: none !important;
  }
}

@supports (padding: env(safe-area-inset-top)) {
  .topbar { padding-top: env(safe-area-inset-top); }
  .mobile-nav {
    padding-top: max(24px, calc(env(safe-area-inset-top) + 16px));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* Mobile mono-label legibility floor */
@media (max-width: 640px) {
  .eyebrow, .trade-tag, .gaiam-tag, .contact-tag,
  .work-meta, .ho-card-num, .ho-card-dash,
  .hero-overlay-tag, .philosophy-egg-hint,
  .philosophy-corefoot-tag, .philosophy-margin-tag {
    font-size: 11px !important;
  }
  /* Tap target floor */
  .nav a, .btn, .cf-submit, .topbar-burger,
  .topbar-badge-link, .topbar-logo-link {
    min-height: 44px;
  }
}
