:root {
  color-scheme: dark;
  --wine-900: #26090f;
  --wine-800: #35101a;
  --wine-700: #4b1423;
  --wine-600: #641c2e;
  --wine-500: #7d2940;
  --ink: #12090c;
  --ink-soft: #1a0d12;
  --ivory: #f6f0e8;
  --ivory-muted: #cfc2b7;
  --gold: #c7a36a;
  --gold-bright: #e1c28f;
  --line: rgba(199, 163, 106, 0.22);
  --surface: rgba(246, 240, 232, 0.055);
  --surface-strong: rgba(246, 240, 232, 0.09);
  --shadow: 0 32px 80px rgba(5, 1, 2, 0.36);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --content: 1180px;
  --header-height: 78px;
  --product: var(--wine-500);
  --product-bright: var(--gold-bright);
  --product-deep: var(--wine-900);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--wine-500) var(--ink);
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 4%, rgba(100, 28, 46, 0.28), transparent 28rem),
    radial-gradient(circle at 0% 40%, rgba(74, 17, 34, 0.18), transparent 32rem),
    var(--ink);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(18, 9, 12, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: url("/assets/images/vermillion-dragon-mark-512.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
}

.brand-mark::before {
  content: none;
}

.brand-copy { display: grid; min-width: 0; line-height: 1.05; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0.035em;
}
.brand-subtitle {
  margin-top: 5px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 7px; }
.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ivory-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(246, 240, 232, 0.08);
  color: var(--ivory);
}
.site-nav .nav-accent {
  margin-left: 6px;
  border: 1px solid rgba(199, 163, 106, 0.38);
  color: var(--gold-bright);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ivory);
}
.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

main { flex: 1 0 auto; overflow: hidden; }

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 100svh);
  padding: calc(var(--header-height) + 82px) 0 92px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 9%;
  right: -10%;
  width: min(55vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(199, 163, 106, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7vw rgba(100, 28, 46, 0.035),
    inset 0 0 0 14vw rgba(100, 28, 46, 0.025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.04;
}
h1 { max-width: 860px; margin-bottom: 28px; font-size: clamp(48px, 7vw, 92px); }
h2 { margin-bottom: 22px; font-size: clamp(36px, 5vw, 62px); }
h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.25; }

.text-gradient {
  background: linear-gradient(105deg, var(--ivory) 15%, var(--gold-bright) 95%);
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--ivory-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ivory); color: var(--ink); }
.button-primary:hover { background: white; }
.button-secondary { border-color: var(--line); background: var(--surface); color: var(--ivory); }
.button-secondary:hover { border-color: rgba(199, 163, 106, 0.5); background: var(--surface-strong); }
.button-product { background: var(--product); color: white; box-shadow: 0 16px 40px color-mix(in srgb, var(--product) 28%, transparent); }

.page-back-link {
  position: absolute;
  z-index: 20;
  top: calc(var(--header-height) + 22px);
  left: max(20px, calc((100% - var(--content)) / 2));
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ivory-muted);
  background: rgba(18, 9, 12, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.page-back-link:hover,
.page-back-link:focus-visible {
  border-color: var(--product-bright);
  color: var(--ivory);
  transform: translateX(-2px);
}

.hero-seal {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  justify-self: end;
}
.seal-orbit,
.seal-core { position: absolute; border-radius: 50%; }
.seal-orbit { inset: 0; border: 1px solid rgba(199, 163, 106, 0.22); }
.seal-orbit::before,
.seal-orbit::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(199, 163, 106, 0.14);
  border-radius: inherit;
}
.seal-orbit::after { inset: 23%; border-style: dashed; }
.seal-core {
  inset: 14%;
  display: grid;
  place-items: center;
  background: url("/assets/images/vermillion-dragon-mark-512.png") center / contain no-repeat;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.42));
  font-size: 0;
}
.seal-note {
  position: absolute;
  right: 4%;
  bottom: 12%;
  max-width: 180px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 9, 12, 0.84);
  color: var(--ivory-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
}

.section { position: relative; padding: clamp(82px, 11vw, 145px) 0; }
.section-compact { padding: clamp(60px, 8vw, 96px) 0; }
.section-tinted {
  border-block: 1px solid rgba(199, 163, 106, 0.11);
  background: linear-gradient(135deg, rgba(100, 28, 46, 0.11), rgba(246, 240, 232, 0.025));
}
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading p { color: var(--ivory-muted); font-size: 18px; }

.principles-grid,
.services-grid,
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.principle,
.service-card,
.feature-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--surface-strong), rgba(246, 240, 232, 0.025));
}
.card-number {
  display: block;
  margin-bottom: 36px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}
.principle p,
.service-card p,
.feature-card p { margin-bottom: 0; color: var(--ivory-muted); font-size: 14px; }

.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-card {
  --card-accent: var(--wine-500);
  position: relative;
  grid-column: span 6;
  min-height: 380px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--card-accent) 40%, transparent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 94% 10%, color-mix(in srgb, var(--card-accent) 27%, transparent), transparent 44%),
    linear-gradient(145deg, rgba(246, 240, 232, 0.075), rgba(246, 240, 232, 0.025));
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}
.project-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--card-accent) 75%, white 10%); }
.project-card.featured { grid-column: span 8; }
.project-card.narrow { grid-column: span 4; }
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 65px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 46%, transparent);
  border-radius: 999px;
  color: var(--ivory-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.project-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--card-accent); box-shadow: 0 0 16px var(--card-accent); }
.project-name { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 52px); }
.project-card p { max-width: 570px; margin-bottom: 25px; color: var(--ivory-muted); }
.project-link { color: color-mix(in srgb, var(--card-accent) 60%, white 40%); font-size: 14px; font-weight: 750; }
.project-monogram {
  position: absolute;
  right: 28px;
  bottom: -20px;
  color: color-mix(in srgb, var(--card-accent) 28%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(110px, 18vw, 220px);
  line-height: 1;
  pointer-events: none;
}
.project-gestoq { --card-accent: #2f8a60; }
.project-remotium { --card-accent: #0ea5e9; }
.project-athletium { --card-accent: #ef5350; }
.project-enginium { --card-accent: #6c63ff; }
.project-equestro { --card-accent: #c9a96e; }
.project-nutritium { --card-accent: #2ecc71; }
.project-projetarium { --card-accent: #f59e0b; }
.project-fpga { --card-accent: #14b8a6; }

.process-list { counter-reset: process; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.process-step { position: relative; padding: 24px 20px 24px 0; border-top: 1px solid var(--line); }
.process-step::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 32px; color: var(--gold); font-family: Georgia, serif; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: -3px; right: 18px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.process-step p { margin: 0; color: var(--ivory-muted); font-size: 13px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  border: 1px solid rgba(199, 163, 106, 0.36);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--wine-700), var(--wine-900));
  box-shadow: var(--shadow);
}
.cta-panel::after { content: "V"; position: absolute; right: 2%; bottom: -46%; color: rgba(246, 240, 232, 0.045); font-family: Georgia, serif; font-size: 340px; line-height: 1; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { max-width: 650px; color: var(--ivory-muted); font-size: 18px; }

.site-footer { flex: 0 0 auto; border-top: 1px solid var(--line); padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 0.8fr); gap: 40px; }
.footer-intro { max-width: 410px; color: var(--ivory-muted); font-size: 14px; }
.footer-title { margin-bottom: 15px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--ivory-muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--ivory); }
.footer-links [aria-current="page"] { color: var(--ivory); font-size: 14px; font-weight: 700; cursor: default; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(199, 163, 106, 0.13); color: #8f8178; font-size: 12px; }

/* Product pages */
.product-remotium { --product: #087aa8; --product-bright: #38bdf8; --product-deep: #031b28; }
.product-athletium { --product: #c62828; --product-bright: #ef5350; --product-deep: #190809; }
.product-enginium { --product: #6c63ff; --product-bright: #a39dff; --product-deep: #100f27; }
.product-equestrocare { --product: #7a5230; --product-bright: #c9a96e; --product-deep: #21160c; }
.product-nutritium { --product: #238b4f; --product-bright: #57df8e; --product-deep: #071b10; }
.product-gestoq { --product: #2f8a60; --product-bright: #8de0b4; --product-deep: #071a10; }
.product-projetarium { --product: #b66a08; --product-bright: #fbbf24; --product-deep: #211305; }
.product-fpga { --product: #0f766e; --product-bright: #2dd4bf; --product-deep: #041c1a; }

.product-page {
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--product) 30%, transparent), transparent 32rem),
    radial-gradient(circle at 5% 55%, color-mix(in srgb, var(--product) 15%, transparent), transparent 36rem),
    var(--ink);
}
.product-page .brand-mark { background-image: url("/assets/images/vermillion-dragon-mark-512.png"); }
.product-page .eyebrow,
.product-page .brand-subtitle,
.product-page .footer-title { color: var(--product-bright); }

.product-hero { min-height: auto; padding-top: calc(var(--header-height) + 105px); }
.product-hero .hero-grid { grid-template-columns: 1fr 0.8fr; }
.product-hero h1 { font-size: clamp(52px, 8vw, 104px); }
.product-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid color-mix(in srgb, var(--product) 43%, transparent);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--product) 18%, transparent), rgba(246, 240, 232, 0.025));
  box-shadow: var(--shadow);
}
.product-visual::before,
.product-visual::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--product-bright) 23%, transparent); border-radius: 50%; }
.product-visual::before { inset: 15%; }
.product-visual::after { inset: 28%; border-style: dashed; }
.product-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--product-bright); font-family: Georgia, serif; font-size: clamp(96px, 15vw, 180px); }
.product-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 0; }
.product-chip { padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--product) 50%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--product) 10%, transparent); color: var(--ivory-muted); font-size: 12px; }

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-icon { display: grid; width: 43px; height: 43px; margin-bottom: 28px; place-items: center; border: 1px solid color-mix(in srgb, var(--product) 52%, transparent); border-radius: 13px; background: color-mix(in srgb, var(--product) 14%, transparent); color: var(--product-bright); font-family: Georgia, serif; font-size: 18px; }

.architecture { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 22px; }
.architecture-node { padding: 30px; border: 1px solid color-mix(in srgb, var(--product) 44%, transparent); border-radius: var(--radius-md); background: var(--surface); }
.architecture-node strong { display: block; margin-bottom: 8px; font-size: 19px; }
.architecture-node span { color: var(--ivory-muted); font-size: 14px; }
.architecture-link { display: grid; place-items: center; color: var(--product-bright); font-size: 24px; }

.status-banner { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border: 1px solid color-mix(in srgb, var(--product) 44%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--product) 10%, transparent); }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--product-bright); box-shadow: 0 0 18px var(--product); }
.status-banner p { margin: 0; color: var(--ivory-muted); }
.support-email-banner { align-items: center; }
.support-email-banner p { min-width: 0; }
.copy-control {
  flex: 0 0 auto;
  min-height: 38px;
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--product-bright) 52%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--product) 13%, transparent);
  color: var(--ivory);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.copy-control:hover { border-color: var(--product-bright); background: color-mix(in srgb, var(--product) 24%, transparent); transform: translateY(-1px); }
.copy-control:focus-visible { outline: 3px solid color-mix(in srgb, var(--product-bright) 48%, transparent); outline-offset: 3px; }
.copy-control.is-copied { border-color: var(--product-bright); color: var(--product-bright); }
.support-actions { margin-top: 20px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legal and support */
.content-hero { padding: calc(var(--header-height) + 92px) 0 64px; border-bottom: 1px solid var(--line); }
.content-hero h1 { max-width: 900px; font-size: clamp(44px, 7vw, 76px); }
.content-shell { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; gap: 70px; padding: 72px 0 120px; }
.content-nav { position: sticky; top: calc(var(--header-height) + 28px); align-self: start; display: grid; gap: 5px; }
.content-nav a { padding: 8px 12px; border-left: 1px solid var(--line); color: var(--ivory-muted); font-size: 13px; text-decoration: none; }
.content-nav a:hover { border-color: var(--product-bright); color: var(--ivory); }
.prose { min-width: 0; }
.prose h2 { margin-top: 70px; padding-top: 20px; border-top: 1px solid var(--line); font-size: clamp(30px, 4vw, 44px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; color: var(--product-bright); }
.prose p,
.prose li { color: var(--ivory-muted); }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--ivory); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ivory-muted); font-size: 13px; }
.notice { margin: 28px 0; padding: 19px 21px; border-left: 3px solid var(--product-bright); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--product) 11%, transparent); color: var(--ivory-muted); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.support-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.support-card p { margin-bottom: 0; color: var(--ivory-muted); font-size: 14px; }

[data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-reveal-pending { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-reveal-pending.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid,
  .product-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-seal { width: min(80vw, 390px); justify-self: center; }
  .product-visual { width: min(100%, 620px); }
  .principles-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card,
  .project-card.featured { grid-column: span 7; }
  .project-card.narrow { grid-column: span 5; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .menu-button { display: block; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 30px 20px;
    background: rgba(18, 9, 12, 0.98);
    transform: translateX(105%);
    transition: transform 200ms ease;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { padding: 14px 18px; border-radius: 12px; font-size: 17px; }
  .site-nav .nav-accent { margin: 8px 0 0; text-align: center; }
  .brand-subtitle { display: none; }
  .page-back-link {
    top: calc(var(--header-height) + 14px);
    left: 14px;
  }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 64px); }
  h1 { font-size: clamp(43px, 14vw, 67px); }
  .hero-seal { width: min(82vw, 340px); }
  .principles-grid,
  .services-grid,
  .feature-grid,
  .support-grid { grid-template-columns: 1fr; }
  .projects-grid { display: grid; grid-template-columns: 1fr; }
  .project-card,
  .project-card.featured,
  .project-card.narrow { grid-column: auto; min-height: 340px; }
  .project-status { margin-bottom: 48px; }
  .process-list { grid-template-columns: 1fr; }
  .process-step:not(:last-child)::after { display: none; }
  .architecture { grid-template-columns: 1fr; }
  .architecture-link { transform: rotate(90deg); }
  .content-shell { grid-template-columns: 1fr; gap: 40px; padding-top: 42px; }
  .content-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 450px) {
  .brand-name { font-size: 16px; }
  .hero-seal { width: 92vw; margin-left: -6vw; }
  .seal-note { right: 0; }
  .button-row .button { width: 100%; }
  .support-email-banner { flex-wrap: wrap; }
  .support-email-banner p { flex: 1 1 calc(100% - 32px); }
  .copy-control { width: 100%; margin: 4px 0 0 23px; }
  .content-nav { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { grid-column: 1 !important; }
}

@media (max-width: 380px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { flex-basis: 36px; width: 36px; height: 36px; }
  .brand-name { font-size: 14px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .site-footer, .content-nav, .button-row { display: none !important; }
  body { background: white; color: #111; }
  .content-hero { padding: 30px 0; }
  .content-shell { display: block; padding: 30px 0; }
  .prose p, .prose li, .legal-meta { color: #333; }
  .prose h2 { border-color: #bbb; }
}
