:root {
  --ink: #19141f;
  --muted: #5f5866;
  --brand: #4c355f;
  --brand-deep: #2e203a;
  --brand-soft: #efe9f4;
  --surface: #ffffff;
  --surface-alt: #f7f4f1;
  --line: #ded7e4;
  --accent: #b08a43;
  --accent-2: #4d725f;
  --shadow: 0 18px 50px rgba(46, 32, 58, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav-wrap {
  width: min(1160px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}

.brand-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
  background: var(--brand-deep);
  box-shadow: 0 4px 14px rgba(46, 32, 58, 0.25);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--brand);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: wrap;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
}

.primary-nav a {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 2px 10px rgba(46, 32, 58, 0.12);
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Pinned logo dive: logo animates in, scroll zooms into the V gap, then the page begins */
.hero-cinema {
  position: relative;
  height: 170vh;
  background: #fff;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
  background: #fff;
  color: var(--ink);
}

.hero-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 82%;
  object-fit: contain;
  transform: scale(1);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: logoIn 0.7s ease-out backwards; }
  @keyframes logoIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
  }
  .hero-hint { animation: hintFloat 2.2s ease-in-out infinite; }
  @keyframes hintFloat {
    50% { transform: translate(-50%, 6px); }
  }
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 9vh;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85));
  will-change: opacity, transform;
}

.hero-stage .hero-tag { color: var(--muted); }
.hero-stage .button.secondary {
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}
.hero-cinema .eyebrow { color: var(--accent); }

.hero-hint {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  will-change: opacity;
}

/* Header stays chromeless over the whole page; the gold underline marks the active page. */
.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  background: transparent;
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 7vw, 6.8rem);
  font-weight: 790;
}

.hero-overlay .container {
  display: grid;
  gap: 0;
  justify-items: start;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.button.light {
  color: var(--brand-deep);
  background: #fff;
  border-color: var(--line);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  outline: none;
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 56px 0;
}

.section.alt {
  background: #fff;
}

.section.brand-band {
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 790px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.brand-band .section-head p,
.brand-band .muted,
.brand-band p {
  color: var(--muted);
}

h2 {
  color: var(--brand-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 780;
}

.brand-band h2 {
  color: var(--brand-deep);
}

.brand-band h1 {
  max-width: 1000px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h3 {
  color: var(--brand-deep);
  font-size: 1.25rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  min-height: 148px;
  padding: 24px;
  background: var(--surface);
}

.metric strong {
  display: block;
  color: var(--brand);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--brand);
}

.feature-media img {
  width: 100%;
  min-height: 320px;
  object-fit: contain;
  object-position: center;
  background: var(--brand-deep);
  padding: 28px;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.text-stack li {
  color: var(--muted);
}

.text-stack p {
  margin: 0;
}

.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border: 3px solid var(--accent);
  border-radius: 50%;
}

.plain-list {
  display: grid;
  gap: 10px;
}

.plain-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.founder {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.founder + .founder {
  margin-top: 18px;
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-soft);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait.placeholder {
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border: 10px solid var(--accent-2);
  font-size: 4rem;
  font-weight: 800;
}

.founder h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.role {
  margin: 8px 0 18px;
  color: var(--accent-2);
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.project {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.project + .project {
  margin-top: 18px;
}

.project-mark {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 8px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  text-align: center;
}

.project-mark span {
  max-width: 220px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.05;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-link {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.contact-link span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-link strong {
  display: block;
  margin-top: 8px;
  color: var(--brand);
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  outline: none;
}

.site-footer {
  padding: 44px 0;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 118px;
  max-height: 54px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--brand-deep);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  color: var(--brand-deep);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f2d68f;
  outline: none;
}

/* ===== VCESR Apple-minimal upgrade ===== */
.vista {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 96px 0;
}
.vista .section-head { margin-bottom: 28px; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { display: grid; gap: 14px; align-content: start; }
.product-card .mark {
  display: grid; place-items: center;
  min-height: 150px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand-deep);
  overflow: hidden;
}
.product-card .mark img { width: 100%; height: 150px; object-fit: contain; }
.product-card .mark.gold { background: var(--brand-soft); }
.product-card .mark.light { background: var(--brand-soft); color: var(--brand-deep); }

/* chromeless nav + underline */
.primary-nav a { position: relative; }
.primary-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; opacity: 0;
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1); opacity: 1;
}
.retro-toggle {
  min-height: 40px; padding: 8px 14px; margin-left: 8px;
  border: 1px solid var(--line); border-radius: 8px;
  background: transparent; color: var(--brand-deep);
  font: inherit; font-size: 0.86rem; font-weight: 750; cursor: pointer;
  white-space: nowrap;
}
.retro-toggle:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.nav-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].is-visible { transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
}

/* magnetic buttons */
.button { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform 0.18s ease, box-shadow 0.18s ease; }
}

/* hero parallax + zoom */
.hero { overflow: clip; }
.hero-tag {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.26rem);
}

/* ticker */
.ticker { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.ticker-track {
  display: flex; gap: 0; width: max-content; margin: 0; padding: 12px 0;
  list-style: none; font-weight: 700; font-size: 0.92rem; color: var(--brand-deep);
}
.ticker-track li { padding: 0 26px; border-right: 1px solid var(--line); white-space: nowrap; }
.ticker-track b { color: var(--brand); }
.ticker-track .gold { color: var(--accent); }
.ticker-track .green { color: var(--accent-2); }
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tick 36s linear infinite; }
  @keyframes tick { to { transform: translateX(-50%); } }
}

/* econ visuals */
.econ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-paper {
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.heat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
.heat span {
  aspect-ratio: 1.4; display: grid; place-items: center;
  border-radius: 6px; font-size: 0.8rem; font-weight: 800; color: #fff;
}
.bars { display: flex; align-items: end; gap: 10px; min-height: 180px; margin-top: 16px; }
.bars i {
  flex: 1; border-radius: 6px 6px 0 0; background: var(--brand);
  transform-origin: bottom; transform: scaleY(var(--h, 0.4));
}
.bars i:nth-child(odd) { background: var(--accent); }
.bars i:nth-child(3n) { background: var(--accent-2); }
@media (prefers-reduced-motion: no-preference) {
  .bars.grow i { transition: transform 0.9s ease; transition-delay: var(--d, 0s); }
}
.econ-svg { width: 100%; height: auto; display: block; }
#ts-svg { width: min(100%, 640px); margin: 0 auto; transform-origin: 97.4% 49.2%; will-change: transform; }
.econ-table { border-collapse: collapse; width: 100%; margin-top: 12px; font-size: 0.9rem; }
.econ-table th, .econ-table td { border: 1px solid var(--line); padding: 6px 8px; text-align: right; }
.econ-table th:first-child, .econ-table td:first-child { text-align: left; }

/* tilt cards */
@media (prefers-reduced-motion: no-preference) {
  .card, .product-card, .project { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .tilt:hover { box-shadow: var(--shadow); }
}

/* scroll-zoom time series */
.zoom-wrap { position: relative; }
.zoom-sticky {
  position: sticky; top: 66px; height: calc(100vh - 66px); height: calc(100svh - 66px);
  overflow: clip;
  background: #fff; color: var(--ink); border-radius: 0;
}
.zoom-track { display: flex; height: 100%; will-change: transform; }
.zoom-slide { flex: 0 0 100%; min-width: 0; display: grid; align-items: center; overflow: clip; }
.zoom-slide .container { width: min(920px, calc(100% - 32px)); }
.zoom-slide .section { padding: 28px 0; }
.zoom-slide .section-head { margin-bottom: 24px; }
.zoom-sticky h2 { color: var(--brand-deep); }
.zoom-sticky .muted-light { color: var(--muted); }
.zoom-callout {
  position: absolute; max-width: 260px; padding: 14px 16px;
  border-radius: 8px; background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow); opacity: 0; font-size: 0.92rem;
}
.zoom-progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.zoom-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.zoom-steps { height: 240vh; }

/* hermetic detail */
.hermetic-band { background: #fff; color: var(--ink); }
.hermetic-band h2 { color: var(--brand-deep); }
.hermetic-band p { color: var(--muted); }
.hermetic-media { background: transparent; border-color: var(--line); }
.hermetic-media img { background: transparent; }

/* ===== Retro / Simple mode (required kill-switch) ===== */
html.retro, html.retro body { background: #fffff0; color: #000; }
html.retro body {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 17px; line-height: 1.55;
  max-width: 720px; margin: 0 auto; padding: 0 16px;
}
html.retro .site-header, html.retro .nav-wrap, html.retro main,
html.retro .container, html.retro .hero-inner, html.retro .section-head,
html.retro footer, html.retro .footer-grid {
  width: auto; max-width: 720px; margin: 0; padding: 0;
  background: transparent; border: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  display: block; position: static;
}
html.retro .site-header { border-bottom: 2px solid #000; padding: 12px 0; }
html.retro .site-footer { border-top: 2px solid #000; margin-top: 32px; padding: 16px 0; color: #000; background: transparent; }
html.retro h1, html.retro h2, html.retro h3, html.retro p,
html.retro li, html.retro strong, html.retro span { color: #000 !important; background: transparent !important; }
html.retro a { color: #0000EE !important; text-decoration: underline !important; }
html.retro a:visited { color: #551A8B !important; }
html.retro img { max-width: 220px; height: auto; border: 1px solid #000; box-shadow: none !important; border-radius: 0 !important; filter: none !important; }
html.retro .button, html.retro .retro-toggle {
  display: inline; padding: 0; border: 0; background: transparent;
  color: #0000EE; text-decoration: underline; font: inherit;
  box-shadow: none; border-radius: 0; min-height: 0;
}
html.retro .card, html.retro .product-card, html.retro .project,
html.retro .founder, html.retro .contact-link, html.retro .metric,
html.retro .feature-media, html.retro .zoom-callout, html.retro .project-mark {
  background: transparent !important; border: 0 !important; border-top: 1px solid #000 !important;
  border-radius: 0 !important; box-shadow: none !important; padding: 12px 0 !important;
  display: block !important; transform: none !important; opacity: 1 !important;
}
html.retro .hero-cinema { height: auto; background: transparent; }
html.retro .hero-stage { position: relative; height: auto; min-height: 0; display: block; background: transparent; color: #000; padding: 16px 0; }
html.retro .hero-logo { position: static; width: 100%; height: auto; object-fit: contain; transform: none !important; animation: none !important; }
html.retro .hero-overlay { position: static; padding: 12px 0; background: transparent; opacity: 1 !important; transform: none !important; }
html.retro .hero-hint, html.retro .hero-veil { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-cinema { height: auto; }
  .hero-stage { position: relative; height: auto; min-height: 88vh; }
}
html.retro .vista { min-height: 0; display: block; padding: 16px 0; }
html.retro .grid, html.retro .grid.two, html.retro .grid.three,
html.retro .product-grid, html.retro .econ-grid, html.retro .split,
html.retro .metric-row, html.retro .contact-grid { display: block !important; }
html.retro .ticker-track { animation: none !important; width: auto; flex-wrap: wrap; }
html.retro .zoom-sticky { position: static; min-height: 0; background: transparent; color: #000; display: block; }
html.retro .zoom-steps { height: auto; }
html.retro .zoom-track { display: block; }
html.retro .zoom-slide { display: block; }
html.retro .zoom-callout { position: static; opacity: 1 !important; border-top: 1px solid #000; box-shadow: none; max-width: none; }
html.retro .zoom-progress, html.retro .econ-svg, html.retro canvas { display: none !important; }
html.retro .retro-data-table { display: table !important; }
html.retro [data-reveal] { opacity: 1 !important; transform: none !important; }
html.retro .primary-nav { display: block !important; background: transparent !important; border: 0 !important; padding: 0 !important; }
html.retro .primary-nav a, html.retro .site-header.scrolled, html.retro .brand-link img { box-shadow: none !important; border-radius: 0 !important; }
html.retro * {
  animation: none !important; transition: none !important;
  scroll-behavior: auto !important; text-shadow: none !important;
}
.retro-data-table { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .product-grid, .econ-grid { grid-template-columns: 1fr; }
  .zoom-slide .section { padding: 20px 0; }
  .zoom-slide .econ-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .zoom-slide .bars { min-height: 110px; }
  .zoom-slide .bars i { height: 110px !important; }
  .zoom-slide .heat span { font-size: 0.65rem; }
  .vista { min-height: 0; padding: 64px 0; }
  .zoom-callout { max-width: 200px; font-size: 0.85rem; }
  .nav-row { width: 100%; }
}

.footer-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .hero-cinema { height: 150vh; }
  .hero-overlay { padding-bottom: 14vh; }
  .hero-logo { transform-origin: 51% 36%; }

  .section {
    padding: 64px 0;
  }

  .grid.two,
  .grid.three,
  .metric-row,
  .split,
  .split.reverse,
  .founder,
  .project,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .founder {
    padding: 20px;
  }

  .portrait {
    max-width: 260px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-text span {
    display: none;
  }

  .primary-nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .hero-hint { display: none; }

  .button {
    width: 100%;
  }

  .card,
  .project,
  .contact-link {
    padding: 20px;
  }
}
