/* ============================================================
   VULCORE SHARED COMPONENTS
   Layer 2 of 3. Values come from /brand-kit/tokens.css (layer 1);
   this file holds only selectors and layout. Pages add their own
   <style> after it (layer 3). No color, font, radius, or size
   literal belongs here: use var(--...).
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--vulcore-black);
  color: var(--steel);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Film grain, identical across all pages */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.02;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

::selection { background: rgba(215, 154, 43, 0.26); color: #FFFFFF; }

/* The parts the browser draws carry the brand too: the keyboard focus ring, the text cursor, the scrollbar.
   A component that restyles its own focus (the primary button, the form fields) still wins by specificity. */
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
input, textarea, select { caret-color: var(--accent); }
html { scrollbar-color: var(--line-strong) var(--bg); }

/* ---------- LINE BREAKS ---------- */
/* Headings and labels even out their lines; running text never ends on one word.
   The longhand changes only where lines break, never whether they wrap, and :where()
   keeps any component's own text-wrap in charge. */
:where(h1, h2, h3, h4, h5, .field-label) { text-wrap-style: balance; }
:where(p, li, dd, dt, figcaption, blockquote, td) { text-wrap-style: pretty; }
/* A dimmed second line after a break balances on its own (one block per line). */
:where(h1, h2, h3) br + .dim { display: block; }

/* ---------- ICONS ---------- */
/* One stroke-based language. Symbols live in each page's <svg defs>. */
.vc-icon {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}
.vc-icon--sm { width: 34px; height: 34px; }
.vc-icon--lg { width: 64px; height: 64px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 6, 7, 0.9), rgba(5, 6, 7, 0.45));
  border-bottom: 1px solid var(--line);
}
.nav-left { display: flex; align-items: center; gap: 28px; }
/* the logo: letters take the text color, the core takes the amber for the ground (IDENTITY.md 5) */
.wm-l { fill: currentColor; }
.wm-c { fill: var(--ico-amber); }
/* the wordmark is a 20px-tall anchor; carry its hit area to 44px without moving it */
.nav-left > a[aria-label="Vulcore home"] { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.nav-wordmark { height: 20px; display: block; color: var(--text); }
.nav-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--text-2);
  text-transform: uppercase;
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
  line-height: 1;
}
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: var(--silver);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.nav-link:hover { color: var(--steel); }
.nav-cta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.20em;
  color: var(--steel);
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav-cta::after {
  content: '→';
  font-family: var(--sans);
  font-size: 13px;
  transition: transform 0.3s var(--ease);
}
.nav-cta:hover { border-color: var(--signal-amber); color: var(--signal-amber); }
.nav-cta:hover::after { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px var(--gutter);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,7,0.5) 0%, rgba(5,6,7,0.2) 38%, rgba(5,6,7,0.8) 92%, var(--vulcore-black) 100%),
    linear-gradient(90deg, rgba(5,6,7,0.5) 0%, transparent 58%);
}
.hero-inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.26em;
  color: var(--signal-amber);
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  animation: vcFadeIn 0.8s 0.2s forwards;
}
.hero-tagline {
  font-family: var(--sans);
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 1.07;
  color: var(--steel);
  max-width: 900px;
  margin-bottom: 30px;
  letter-spacing: -0.026em;
  text-wrap: balance;
  opacity: 0;
  animation: vcFadeUp 1.1s 0.5s forwards;
}
.hero-sub {
  font-family: var(--sans);
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 660px;
  opacity: 0;
  animation: vcFadeUp 1.1s 0.9s forwards;
}

/* ---------- SECTION ---------- */
.sec-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.26em;
  color: var(--signal-amber);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.section {
  padding: var(--section-y) var(--gutter);
  position: relative;
}
.section-inner { max-width: var(--container); margin: 0 auto; }

.section-head {
  font-family: var(--sans);
  font-size: var(--t-head);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--steel);
  margin-bottom: var(--head-mb);
  max-width: 1040px;
  text-wrap: balance;
}
.section-head .dim { color: var(--dim); font-weight: 300; }

/* ---------- THREE-COLUMN (shared) ---------- */
.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.column-block { display: flex; flex-direction: column; }
.column-mark { margin-bottom: 28px; }
.column-title {
  font-family: var(--sans);
  font-size: var(--t-title);
  font-weight: 400;
  color: var(--steel);
  margin-bottom: 16px;
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.column-body {
  font-family: var(--sans);
  font-size: var(--t-body-sm);
  line-height: 1.66;
  color: var(--ink-body);
  max-width: 38ch;
}

/* ---------- STATEMENT (shared) ---------- */
.statement-section {
  background: var(--graphite);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 88px;
  align-items: center;
}
.statement {
  font-family: var(--sans);
  font-size: var(--t-statement);
  font-weight: 300;
  line-height: 1.2;
  color: var(--steel);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-wrap: balance;
}
.statement-body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--ink-body);
  max-width: var(--measure);
}
.statement-body + .statement-body { margin-top: 20px; }

/* ---------- BUTTONS / CTA (shared) ----------
   One primary per view: steel fill, black mono label, amber on hover.
   Ghost for everything else. No other fills on marketing pages. */
.btn-primary {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--bg);
  text-transform: uppercase;
  text-decoration: none;
  background: var(--text);
  border: 1px solid var(--text);
  padding: 16px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary::after {
  content: '→';
  font-family: var(--sans);
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent); border-color: var(--accent); outline: 0; }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(4px); }
.btn-ghost {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--steel);
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 16px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-ghost::after {
  content: '→';
  font-family: var(--sans);
  font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover { border-color: var(--signal-amber); color: var(--signal-amber); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---------- CONTACT FORM (shared) ---------- */
.contact { padding: var(--section-y) var(--gutter); scroll-margin-top: 80px; }
.contact-inner { max-width: var(--container); margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 110px;
  align-items: start;
}
.contact-head {
  font-family: var(--sans);
  font-size: var(--t-head);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--steel);
  margin-bottom: 28px;
}
.contact-head .dim { color: var(--dim); font-weight: 300; }
.contact-body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 44ch;
}
.contact-form { display: flex; flex-direction: column; gap: 0; }
.field {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 24px 0 14px;
  transition: border-color 0.3s var(--ease);
}
.field:focus-within { border-bottom-color: var(--signal-amber); }
.field-label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  color: var(--silver);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
}
.field:focus-within .field-label { color: var(--signal-amber); }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--steel);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.005em;
  padding: 0;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); font-weight: 300; }
.field textarea { min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%),
                    linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% + 2px), calc(100% - 8px) calc(50% + 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}
.field select option { background: var(--graphite); color: var(--steel); }
.contact-submit {
  margin-top: 40px;
  align-self: flex-start;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-submit::after {
  content: '→'; font-family: var(--sans); font-size: 14px;
  transition: transform 0.3s var(--ease);
}
.contact-submit { transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.contact-submit:hover { background: var(--accent); border-color: var(--accent); }
.contact-submit:hover::after { transform: translateX(4px); }
.contact-submit:disabled { opacity: 0.5; cursor: wait; }
.contact-success {
  display: none;
  padding: 32px 30px;
  border: 1px solid var(--signal-amber);
  background: var(--amber-wash);
}
.contact-success.visible, .contact-success.show { display: block; }
.contact-success-label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.22em;
  color: var(--signal-amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.contact-success-msg {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--steel);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.contact-error {
  display: none;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--error);
}
.contact-error.visible, .contact-error.show { display: block; }
/* Hidden trap field: people never see or fill it, form bots do. */
/* the line under Send: what happens to the details, and the policy */
.contact-note { margin-top: 18px; font-size: var(--t-body-sm); line-height: 1.6; color: var(--text-3); }
.contact-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.contact-note a:hover, .contact-note a:focus-visible { color: var(--accent); }
.contact-trap { position: absolute; left: -9999px; width: 0; height: 0; border: 0; padding: 0; opacity: 0; }

/* ---------- DOC PAGE (shared): /faq and /rules ----------
   A page title instead of a full-screen hero, then chapters on alternating grounds:
   a sticky side label on the left, the content on the right. */
.doc-head { padding: 176px var(--gutter) 96px; }
.doc-head .hero-tagline { margin-bottom: 28px; font-size: clamp(40px, 6vw, 86px); line-height: 1.02; letter-spacing: -0.03em; }
.doc-head .hero-tagline .dim { color: var(--muted); }
.doc-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.doc-jump-link {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  padding: 14px 18px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease);
}
.doc-jump-link:hover, .doc-jump-link:focus-visible { color: var(--accent); border-color: var(--accent); outline: 0; }
.doc-section { padding-top: 120px; padding-bottom: 120px; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.doc-section--band { background: var(--bg-2); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 88px; align-items: start; }
.doc-side { position: sticky; top: 120px; }
.doc-h2 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--t-statement);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
  text-wrap: balance;
}
.doc-note { font-size: var(--t-body-sm); line-height: 1.6; color: var(--text-3); max-width: 30ch; }
.doc-body p {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text-2);
  max-width: var(--measure);
}
.doc-body p + p { margin-top: 22px; }
.doc-list { list-style: none; border-top: 1px solid var(--line); }
.doc-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 820px;
}
.doc-list li b {
  display: block;
  font-weight: 400;
  font-size: var(--t-title);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--text);
  margin-bottom: 6px;
}
.doc-close { border-top: 1px solid var(--line); }
.doc-close .section-head { margin-bottom: 40px; }
/* links inside running text: steel, with an amber underline that brightens on hover */
.doc-body a, .doc-list a, .faq-a a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--t-hover) var(--ease), text-decoration-color var(--t-hover) var(--ease);
}
.doc-body a:hover, .doc-list a:hover, .faq-a a:hover { color: var(--accent-hi); text-decoration-color: var(--accent-hi); }
@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-side { position: static; }
}
@media (max-width: 900px) {
  .doc-head { padding: 132px var(--gutter) 72px; }
  .doc-section { padding: 88px var(--gutter); }
}
@media (max-width: 600px) {
  .doc-head .hero-tagline { font-size: clamp(32px, 9vw, 44px); }
  .doc-jump-link { flex: 1 1 100%; }
  .doc-list li b { font-size: 19px; }
  .doc-list li, .doc-body p { font-size: var(--t-body-sm); }
}

/* ---------- FAQ (shared): the homepage block and /faq ----------
   Native <details>, so every answer ships in the HTML and reads without script.
   The question is a heading inside <summary>; the mark turns from plus to minus. */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  min-height: 44px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ''; }
.faq-qt {
  font-family: var(--sans);
  font-size: var(--t-title);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--text);
  text-wrap: balance;
}
.faq-mark { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-mark::before,
.faq-mark::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
  background: var(--text-3);
  transition: transform var(--t-ui) var(--ease), background var(--t-hover) var(--ease);
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item[open] .faq-mark::after { transform: rotate(0deg); }
.faq-item[open] .faq-mark::before,
.faq-item[open] .faq-mark::after { background: var(--accent); }
.faq-q:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.faq-a {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--text-2);
  max-width: var(--measure);
  padding: 0 46px 30px 0;
}
.faq-more { margin-top: 48px; }
@media (hover: hover) and (pointer: fine) {
  .faq-q:hover .faq-mark::before,
  .faq-q:hover .faq-mark::after { background: var(--text); }
  .faq-item[open] .faq-q:hover .faq-mark::before,
  .faq-item[open] .faq-q:hover .faq-mark::after { background: var(--accent-hi); }
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: vcFaqOpen var(--t-ui) var(--ease); }
}
@keyframes vcFaqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .faq-q { padding: 22px 0; gap: 20px; }
  .faq-qt { font-size: 19px; }
  .faq-a { font-size: var(--t-body-sm); padding-right: 0; }
}

/* ---------- CODA (last word before footer) ---------- */
.coda {
  padding: 116px var(--gutter) 104px;
  background: var(--vulcore-black);
}
.coda-inner { max-width: var(--container); margin: 0 auto; }
.coda p {
  max-width: 32ch;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--dim);
  text-wrap: pretty;
}
.coda p b { font-weight: 300; color: var(--steel); display: block; }
@media (max-width: 780px) { .coda { padding: 66px var(--gutter) 56px; } }

/* ---------- THE SHEET (shared): one light section per page, and its bookend ----------
   A section carrying .vc-light remaps every token to the light theme (tokens.css); it sits on paper,
   not white. The coda before the footer may carry the same class so the device appears twice. */
.section.vc-light { background: var(--bg-2); color: var(--text); }
.coda.vc-light { background: var(--bg-2); }
/* the fixed nav goes solid while a light block passes under it, so its fade never reads as grey on paper
   (assets/nav-over-light.js toggles the class) */
.nav.over-light { background: linear-gradient(to bottom, rgba(5, 6, 7, 0.97), rgba(5, 6, 7, 0.97)); }

/* ---------- FOOTER (shared) ---------- */
.footer {
  /* the bottom padding clears the chat launcher (a 53 px circle 20 px in from the corner),
     so the last row of links never sits under it or shares its tap area */
  padding: 40px var(--gutter) 88px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-container { max-width: var(--container); margin: 0 auto; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  /* the link labels sit on the copyright line instead of floating in their 44 px tap boxes */
  align-items: last baseline;
  flex-wrap: wrap;
  gap: 32px;
}
/* the wordmark's viewBox is its ink, so it shares the text's left edge */
.footer-wordmark { height: 18px; display: block; margin-bottom: 12px; opacity: 0.9; color: var(--text); }
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.9;
}
/* The public footer: wordmark left, three short columns of links right, then a base line with the
   copyright and the profile marks. (.footer-inner and .footer-nav below remain for the one-row footer
   on the brand system page.) */
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer-top .footer-wordmark { margin: 2px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); column-gap: 88px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
/* a column heading is set like the links under it (mono, uppercase, same size and tracking);
   full steel and the rule beneath are what mark it as a heading and not a link */
.footer-label {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  align-self: stretch;
}
.footer-cols .footer-link { min-height: 36px; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 32px;
  margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line);
}
.footer-base .footer-profiles { column-gap: 28px; }
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-top .footer-wordmark { margin-top: 0; }
  .footer-cols { column-gap: 72px; justify-content: start; }
  .footer-cols .footer-link { min-height: 44px; }   /* touch widths keep the 44 px target */
}
@media (max-width: 600px) {
  /* phones: product on the left; company above legal on the right */
  .footer-cols { grid-template-columns: auto auto; grid-template-areas: "p c" "p l"; column-gap: 56px; row-gap: 20px; }
  .footer-col--product { grid-area: p; } .footer-col--company { grid-area: c; } .footer-col--legal { grid-area: l; }
}
@media (max-width: 400px) { .footer-cols { column-gap: 32px; } }
.footer-cols .footer-link { white-space: nowrap; }
/* the narrowest phones: tighter tracking so "AI infrastructure" and "Customer rules" each stay on one line */
@media (max-width: 360px) { .footer-cols { column-gap: 22px; } .footer-cols .footer-link, .footer-label { letter-spacing: 0.10em; } }
.footer-seg { white-space: nowrap; }
/* the Texas Capitol dome beside "Austin, Texas": a small mark of where the company is from */
.footer-city { width: 15px; height: 15px; display: inline-block; vertical-align: -3px; margin-right: 8px; color: var(--text-2); }   /* a line breaks at a dot, never inside "Austin, Texas" */
.footer-nav { display: flex; column-gap: 28px; row-gap: 0; align-items: center; flex-wrap: wrap; }
@media (max-width: 400px) { .footer-nav { column-gap: 16px; } }  /* keeps the links on two even rows, Contact with its row */
.footer-profiles { display: inline-flex; column-gap: inherit; }  /* LinkedIn and X wrap as a pair, so X never sits alone on a line */
/* profile links are marks, not labels: white on the black footer, full steel on hover */
.footer-social { color: var(--text-2); }   /* 44px tall from .footer-link; the row gap keeps the two targets apart */
.footer-social-mark { width: 16px; height: 16px; display: block; }
/* both marks fill their box, but the X is four open strokes to the corners and reads larger than LinkedIn's solid square; a smaller box evens them by eye */
.footer-social[href*="x.com"] .footer-social-mark { width: 14px; height: 14px; }
.footer-link {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.20em;
  color: var(--text-3);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--t-hover) var(--ease);
  /* touch target: the glyphs are 18px tall, so carry the hit area to 44px.
     inline-flex keeps the label optically centred, so nothing moves. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* same hover as the header links: steel, not amber (amber marks one focal element per screen) */
.footer-link:hover { color: var(--text); }

/* ---------- ANIMATIONS ---------- */
@keyframes vcFadeIn { to { opacity: 1; } }
@keyframes vcFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-tagline, .hero-sub { animation: none; opacity: 1; }
}

/* ---------- RESPONSIVE (shared) ---------- */
@media (max-width: 1024px) {
  .three-column { gap: 44px; }
  .statement-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 900px) {
  .nav { padding: 16px var(--gutter); }
  .nav-tag { display: none; }
  .nav-link { display: none; }
  .hero { padding: 120px var(--gutter); }
  .three-column { grid-template-columns: 1fr; gap: 48px; }
  .column-body { max-width: var(--measure); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero-tagline { font-size: clamp(30px, 8vw, 44px); }
  /* compact nav: keep wordmark + CTA on one line, no wrap */
  .nav { padding: 14px var(--gutter); }
  .nav-wordmark { height: 12px; }
  .nav-cta { font-size: 10px; letter-spacing: 0.16em; padding: 14px 13px; white-space: nowrap; }
  .nav-cta::after { display: none; }
  .section-head { font-size: 30px; }
  .statement { font-size: 25px; }
}

/* Read by screen readers and crawlers, not drawn: a section heading the page shows some other way */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* the smallest phones: the wordmark gives the CTA room */
@media (max-width: 360px) {
  .nav-wordmark { height: 10px; }
  .nav-cta { padding: 14px 8px; letter-spacing: 0.1em; }
}
