/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 */
/* Hallmark · genre: modern-minimal · macrostructure: product-proof proposal · designed-as-app */
:root {
  --navy-dark: #1b2e5c;
  --indigo: #2d3a8c;
  --blue: #0077b6;
  --teal: #00bfa6;
  --light-gray: #f0f4f8;
  --white: #ffffff;
  --navy-950: var(--navy-dark);
  --navy-900: var(--navy-dark);
  --navy-800: var(--indigo);
  --navy-700: var(--blue);
  --gold: var(--teal);
  --gold-dark: var(--teal);
  --mist: var(--light-gray);
  --line: rgba(27, 46, 92, 0.14);
  --ink: var(--navy-dark);
  --muted: rgba(27, 46, 92, 0.68);
  --shadow: 0 24px 70px rgba(7, 21, 46, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 45, 92, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: 180px;
  object-fit: contain;
}

.brand-mark,
.leader-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--teal), rgba(0, 191, 166, 0.18));
  border: 1px solid rgba(255, 200, 61, 0.45);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand strong {
  display: block;
  color: var(--navy-900);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  padding: 8px 0;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 56px);
  scroll-margin-top: 102px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 78px);
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 200, 61, 0.28), transparent 28%),
    linear-gradient(135deg, var(--navy-dark), var(--indigo) 68%, var(--blue));
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -34vw;
  width: 62vw;
  height: 62vw;
  min-width: 520px;
  min-height: 520px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 21px;
  line-height: 1.28;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.18;
}

.hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.screen-tab:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--navy-950);
  background: var(--gold);
  box-shadow: 0 14px 36px rgba(255, 200, 61, 0.26);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.fine-print {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 9 / 18.6;
  padding: 15px;
  background: linear-gradient(145deg, var(--navy-dark), var(--indigo));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-phone {
  transform: rotate(-3deg);
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 3;
  width: 82px;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  background: var(--light-gray);
  border-radius: 25px;
}

.mini-home,
.app-view {
  padding: 24px 18px 18px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 900;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.hello {
  margin-top: 22px;
  color: var(--navy-950);
  font-size: 22px;
  font-weight: 900;
}

.hero-metric,
.app-card {
  margin-top: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(15, 45, 92, 0.08);
}

.hero-metric strong,
.app-card strong {
  display: block;
  color: var(--navy-950);
  font-size: 26px;
  line-height: 1;
}

.hero-metric span,
.app-card span {
  color: var(--muted);
  font-size: 13px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mini-grid span {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius);
}

.mini-list {
  height: 46px;
  margin-top: 12px;
  background: linear-gradient(90deg, rgba(15, 45, 92, 0.12), rgba(255, 200, 61, 0.18));
  border-radius: var(--radius);
}

.mini-list.short {
  width: 72%;
}

.orbit-card {
  position: absolute;
  z-index: 2;
  width: 170px;
  padding: 16px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
}

.orbit-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.orbit-card strong {
  color: var(--navy-950);
  font-size: 18px;
}

.top-card {
  top: 80px;
  right: 20px;
}

.bottom-card {
  bottom: 80px;
  left: 6px;
}

.compact {
  background: var(--mist);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
}

.why-grid,
.scope-grid,
.leadership-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-card,
.scope-panel,
.leader-card,
.step,
.screen-detail,
.prototype-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(15, 45, 92, 0.08);
}

.why-card {
  min-height: 250px;
  padding: 26px;
}

.card-number,
.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 22px;
  color: var(--navy-950);
  background: var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
}

.why-card p,
.scope-panel li,
.leader-card p,
.step p,
.screen-detail p,
.screen-detail li {
  color: var(--muted);
}

.preview-section {
  background:
    linear-gradient(180deg, var(--white), var(--light-gray) 52%, var(--white));
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(300px, 420px) minmax(260px, 0.8fr);
  align-items: start;
  gap: 24px;
}

.screen-controls {
  display: grid;
  gap: 10px;
}

.screen-tab {
  width: 100%;
  min-height: 76px;
  padding: 14px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.screen-tab span {
  display: block;
  color: var(--navy-950);
  font-size: 16px;
  font-weight: 900;
}

.screen-tab small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.screen-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.screen-tab.active span,
.screen-tab.active small {
  color: var(--white);
}

.phone-stage {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.preview-phone {
  width: min(310px, 82vw);
  aspect-ratio: auto;
}

.preview-phone .phone-screen {
  height: auto;
  min-height: 0;
  background: var(--white);
}

.app-view {
  min-height: 100%;
  color: var(--navy-950);
  animation: screenIn 220ms ease;
}

.screen-image-view {
  overflow: hidden;
  background: var(--white);
  border-radius: 30px;
}

.screen-image-view img {
  display: block;
  width: 100%;
  height: auto;
}

.app-title {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
}

.app-sub {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.app-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px;
  color: var(--navy-900);
  background: rgba(15, 45, 92, 0.06);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
}

.app-progress {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(15, 45, 92, 0.1);
  border-radius: 999px;
}

.app-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: inherit;
}

.app-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.app-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-row b {
  color: var(--navy-950);
  font-size: 13px;
}

.app-row span {
  color: var(--muted);
  font-size: 12px;
}

.app-badge {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--navy-950);
  background: var(--gold);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
}

.map-block {
  position: relative;
  height: 260px;
  margin-top: 12px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 45, 92, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 45, 92, 0.08) 1px, transparent 1px),
    var(--light-gray);
  background-size: 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--white);
  background: var(--navy-800);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(15, 45, 92, 0.22);
  font-weight: 900;
}

.pin-a {
  top: 34px;
  left: 40px;
}

.pin-b {
  right: 54px;
  bottom: 52px;
  background: var(--gold-dark);
}

.prototype-note {
  width: min(420px, 100%);
  padding: 16px;
}

.prototype-note strong {
  display: block;
  color: var(--navy-950);
}

.prototype-note span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.screen-detail {
  padding: 24px;
}

.screen-detail ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.screen-detail li {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.split-section {
  color: var(--white);
  background: var(--navy-950);
}

.split-section h2 {
  color: var(--white);
}

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

.scope-panel {
  padding: 28px;
}

.scope-panel.accent {
  background: linear-gradient(145deg, rgba(0, 191, 166, 0.12), var(--white));
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

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

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  content: "";
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 4px;
}

.disclaimer {
  max-width: 900px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.about-section {
  background: var(--mist);
}

.about-section h2 {
  max-width: 920px;
}

.about-copy p:not(.eyebrow) {
  max-width: 850px;
  color: var(--muted);
}

.experience-strip {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr;
  gap: 1px;
  margin: 34px 0 24px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.experience-strip div {
  padding: 24px;
  background: var(--white);
}

.experience-strip strong,
.experience-strip span {
  display: block;
}

.experience-strip strong {
  color: var(--navy-950);
  font-size: 21px;
  line-height: 1.2;
}

.experience-strip span {
  margin-top: 6px;
  color: var(--muted);
}

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

.leader-card {
  display: block;
  padding: 28px;
}

.leader-card strong {
  display: block;
  margin-top: 6px;
  color: var(--gold-dark);
}

.approach-section {
  background: var(--white);
}

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

.step {
  min-height: 250px;
  padding: 24px;
}

.cta-section {
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 200, 61, 0.24), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.cta-section h2,
.cta-section p {
  margin-right: auto;
  margin-left: auto;
  color: var(--white);
}

.cta-section p {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-section .hero-actions {
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .hero,
  .preview-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
  }

  nav {
    justify-content: flex-start;
    gap: 12px;
    font-size: 13px;
  }

  .section {
    padding: 62px 18px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .orbit-card {
    width: 150px;
  }

  .top-card {
    top: 38px;
    right: 0;
  }

  .bottom-card {
    bottom: 38px;
    left: 0;
  }

  .why-grid,
  .scope-grid,
  .leadership-grid,
  .timeline,
  .experience-strip {
    grid-template-columns: 1fr;
  }

  .check-list,
  .screen-controls {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}

/* Brand polish layer: softer typography + premium Arinova Labs header */
:root {
  --font-display: "DM Serif Display", "Noto Sans Thai", Georgia, "Times New Roman", serif;
  --font-ui: "Plus Jakarta Sans", "Noto Sans Thai", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Noto Sans Thai", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-cream: var(--light-gray);
  --brand-ice: var(--light-gray);
  --brand-rule: rgba(9, 31, 69, 0.1);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-family: var(--font-display);
}

h2,
h3,
.hero-subtitle,
.button,
.screen-tab,
.brand,
.site-nav {
  font-family: var(--font-ui);
}

h1 {
  font-weight: 400;
}

h2 {
  font-weight: 750;
}

h3 {
  font-weight: 730;
}

p,
li {
  font-weight: 400;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 54px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.78));
  border-bottom: 1px solid var(--brand-rule);
  box-shadow: 0 18px 46px rgba(9, 31, 69, 0.06);
}

.brand {
  gap: 13px;
  min-width: 252px;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  color: var(--navy-950);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(145deg, var(--light-gray), var(--teal) 60%, var(--blue));
  border: 1px solid rgba(255, 200, 61, 0.78);
  border-radius: 15px;
  box-shadow:
    0 16px 32px rgba(201, 151, 30, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.brand-mark::before {
  inset: 9px;
  border: 1px solid rgba(7, 21, 46, 0.16);
  transform: rotate(-26deg);
}

.brand-mark::after {
  right: 7px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  background: var(--navy-950);
  box-shadow: -26px -22px 0 rgba(7, 21, 46, 0.2);
}

.brand-orbit {
  position: absolute;
  inset: 13px 9px 12px;
  border-bottom: 2px solid rgba(7, 21, 46, 0.52);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.brand-letter {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 25px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-line strong,
.brand strong {
  color: var(--navy-950);
  font-size: 21px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.brand-line small,
.brand small {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  margin: 0;
  padding: 3px 8px 4px;
  color: var(--navy-950);
  background: var(--brand-cream);
  border: 1px solid rgba(255, 200, 61, 0.52);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.brand-tagline {
  color: rgba(11, 31, 69, 0.58);
  font-size: 10.5px;
  font-weight: 560;
  line-height: 1.1;
}

.site-nav,
nav {
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 5px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 45, 92, 0.09);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 34px rgba(9, 31, 69, 0.06);
  backdrop-filter: blur(18px);
}

.site-nav a,
nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(11, 31, 69, 0.78);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
nav a:hover {
  color: var(--navy-950);
  background: rgba(255, 200, 61, 0.18);
  transform: translateY(-1px);
}

.site-nav a[href="#preview"],
nav a[href="#preview"] {
  color: var(--navy-950);
  background: rgba(255, 200, 61, 0.16);
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
}

.hero-text,
.section-heading p:not(.eyebrow),
.why-card p,
.screen-detail p,
.screen-detail li,
.leader-card p,
.step p {
  font-weight: 400;
}

.button {
  font-weight: 780;
}

.screen-tab span {
  font-weight: 760;
}

.screen-tab small {
  font-family: var(--font-body);
  font-weight: 500;
}

@media (max-width: 760px) {
  .site-header {
    align-items: stretch;
    gap: 14px;
    padding: 14px 18px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand-line strong,
  .brand strong {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 10px;
  }

  .site-nav,
  nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 3px;
    padding: 5px;
  }

  .site-nav a,
  nav a {
    min-height: 34px;
    padding: 7px 4px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 340px) {
  .site-nav a,
  nav a {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Redesign layer: STC ONE product showcase */
:root {
  --glass: rgba(255, 255, 255, 0.76);
  --cyan: var(--teal);
  --green: var(--teal);
  --pink: var(--indigo);
  --soft-blue: var(--light-gray);
}

html,
body {
  overflow-x: clip;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 200, 61, 0.13), transparent 28%),
    linear-gradient(180deg, var(--light-gray), var(--white) 22%, var(--light-gray));
}

.site-header {
  background: rgba(248, 251, 255, 0.78);
}

.hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  background:
    radial-gradient(circle at 68% 18%, rgba(81, 199, 243, 0.25), transparent 25%),
    radial-gradient(circle at 88% 72%, rgba(255, 200, 61, 0.26), transparent 26%),
    linear-gradient(135deg, var(--navy-dark), var(--indigo) 54%, var(--blue));
}

.hero h1 {
  font-size: clamp(64px, 9vw, 128px);
}

.hero-visual {
  min-height: 610px;
}

.hero-shot {
  position: relative;
  width: min(850px, 100%);
  margin: 0;
  padding: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.34);
  transform: perspective(1100px) rotateY(-8deg) rotateX(4deg);
}

.hero-shot img,
.concept-image img,
.wide-ui-reference img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-safe {
  position: relative;
}

.logo-cover {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border: 1px solid rgba(255, 200, 61, 0.42);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(7, 21, 46, 0.24);
  line-height: 1.05;
  pointer-events: none;
}

.logo-cover strong {
  display: block;
  color: var(--white);
  font-weight: 950;
  letter-spacing: 0;
}

.logo-cover small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: clamp(5px, 0.62vw, 9px);
  font-weight: 850;
  letter-spacing: 0;
}

.logo-cover-app {
  top: 2.3%;
  left: 2.35%;
  width: 17%;
  height: 5.2%;
  padding-left: clamp(5px, 0.75vw, 11px);
  font-size: clamp(9px, 1.25vw, 18px);
}

.logo-cover-mascot {
  top: 2%;
  left: 1.2%;
  width: 18.2%;
  height: 9.2%;
  padding-left: clamp(7px, 1vw, 16px);
  font-size: clamp(12px, 1.8vw, 27px);
}

.hero-shot figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 330px;
  padding: 16px;
  color: var(--white);
  background: rgba(7, 21, 46, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.hero-shot figcaption strong,
.hero-shot figcaption span {
  display: block;
}

.hero-shot figcaption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.signal-card {
  position: absolute;
  z-index: 4;
  width: min(260px, 42vw);
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.signal-card span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.signal-card strong {
  display: block;
  margin-top: 4px;
  line-height: 1.22;
}

.signal-grade {
  top: 44px;
  left: 0;
}

.signal-campus {
  right: 8px;
  bottom: 56px;
}

.phone {
  width: min(380px, 86vw);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(7, 21, 46, 0.18);
}

.phone-speaker {
  display: none;
}

.phone-screen {
  background:
    radial-gradient(circle at 50% 0%, rgba(21, 88, 255, 0.08), transparent 28%),
    var(--light-gray);
  border: 1px solid rgba(15, 45, 92, 0.08);
  border-radius: 30px;
}

.preview-section {
  background:
    radial-gradient(circle at 80% 15%, rgba(81, 199, 243, 0.2), transparent 25%),
    linear-gradient(180deg, var(--white), var(--light-gray) 52%, var(--white));
}

.screen-tab {
  background: rgba(255, 255, 255, 0.82);
}

.screen-tab.active {
  background: linear-gradient(135deg, var(--navy-900), var(--blue));
  border-color: rgba(21, 88, 255, 0.26);
  box-shadow: 0 16px 36px rgba(21, 88, 255, 0.18);
}

.app-view {
  position: relative;
  padding-bottom: 88px;
}

.app-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 900;
}

.grade-hero {
  position: relative;
  min-height: 122px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(82, 255, 166, 0.55), transparent 18%),
    linear-gradient(135deg, var(--navy-dark), var(--blue) 55%, var(--indigo));
  border: 0;
}

.grade-hero strong,
.grade-hero span {
  color: var(--white);
}

.grade-ring {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--white);
  border: 7px solid rgba(105, 255, 173, 0.72);
  border-left-color: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 32px;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(105, 255, 173, 0.45);
}

.bottom-nav {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 45, 92, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 45, 92, 0.1);
}

.bottom-nav span {
  display: grid;
  place-items: center;
  height: 28px;
  color: rgba(15, 45, 92, 0.38);
  font-size: 13px;
  font-weight: 900;
  border-radius: 12px;
}

.bottom-nav span.active {
  color: var(--white);
  background: var(--blue);
}

.visual-system-section {
  background: var(--white);
}

.concept-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.68fr);
  gap: 24px;
  align-items: stretch;
}

.concept-image,
.wide-ui-reference {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 45, 92, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 45, 92, 0.12);
}

.concept-notes {
  display: grid;
  gap: 14px;
}

.concept-notes article {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.92));
  border: 1px solid rgba(15, 45, 92, 0.1);
  border-radius: var(--radius);
}

.concept-notes span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 30px;
  margin-bottom: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: var(--radius);
  font-weight: 950;
}

.concept-notes p {
  margin-bottom: 0;
  color: var(--muted);
}

.wide-ui-reference {
  margin-top: 38px;
  padding: 10px;
}

.wide-ui-reference figcaption {
  padding: 12px 6px 4px;
  color: var(--muted);
  font-size: 13px;
}

.split-section {
  background:
    radial-gradient(circle at 78% 24%, rgba(21, 88, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--navy-dark), var(--indigo) 68%, var(--navy-dark));
}

.cta-section {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 200, 61, 0.24), transparent 28%),
    radial-gradient(circle at 78% 76%, rgba(81, 199, 243, 0.22), transparent 26%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

@media (max-width: 1060px) {
  .hero,
  .concept-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    gap: 22px;
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 68px);
  }

  .hero-subtitle {
    margin-top: 12px;
    font-size: 22px;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero .fine-print {
    display: none;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-shot {
    transform: none;
    border-radius: 16px;
  }

  .hero-shot figcaption {
    position: static;
    max-width: none;
    margin-top: 8px;
    background: rgba(7, 21, 46, 0.92);
  }

  .signal-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .concept-image,
  .wide-ui-reference {
    border-radius: 12px;
  }
}

/* Viewport-fit corrections: keep anchored sections and concept screens visible. */
.hero-shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 620px);
  max-height: min(760px, calc(100svh - 128px));
}

.hero-shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(680px, calc(100svh - 190px));
  object-fit: contain;
}

.hero-shot figcaption {
  position: static;
  width: 100%;
  max-width: none;
  margin-top: 12px;
}

.hero .signal-card {
  display: none;
}

.preview-layout,
.screen-controls,
.phone-stage,
.screen-detail {
  min-width: 0;
}

.preview-phone {
  width: auto;
  height: clamp(520px, calc(100svh - 280px), 680px);
  aspect-ratio: var(--screen-ratio, 496 / 1520);
}

.preview-phone .phone-screen,
.screen-image-view,
.screen-image-view img {
  width: 100%;
  height: 100%;
}

.screen-image-view {
  aspect-ratio: var(--screen-ratio, 496 / 1520);
}

.screen-image-view img {
  object-fit: contain;
}

@media (max-width: 1060px) {
  .hero-shot {
    max-height: none;
  }

  .hero-shot img {
    max-height: min(760px, 78svh);
  }

  .preview-phone {
    height: min(680px, 78svh);
  }
}

@media (max-width: 760px) {
  .section {
    scroll-margin-top: 24px;
  }

  .hero-shot {
    width: 100%;
    max-height: none;
  }

  .hero-shot img {
    max-height: none;
  }

  .preview-phone {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: var(--screen-ratio, 496 / 1520);
  }

  .preview-phone .phone-screen,
  .screen-image-view,
  .screen-image-view img {
    height: auto;
  }
}

/* Executive proposal layer: phase clarity, assumptions and decision framing. */
.phase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phase-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 16px;
  padding: 5px 10px;
  color: var(--navy-950);
  background: rgba(255, 200, 61, 0.7);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.scope-assumptions {
  margin-top: 18px;
  padding: 22px 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.scope-assumptions h3 {
  color: var(--white);
  font-size: 18px;
}

.assumption-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.assumption-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.assumption-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 860px;
  margin: 28px auto 0;
  text-align: left;
}

.decision-card {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.decision-card strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
}

.decision-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.decision-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.decision-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 1060px) {
  .phase-grid,
  .assumption-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .decision-grid {
    grid-template-columns: 1fr;
  }
}

/* Arinova Labs brand lockup and palette finish. */
.brand {
  min-width: 150px;
  gap: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 68px;
  max-width: 180px;
  object-fit: contain;
}

.site-nav,
nav {
  background: rgba(255, 255, 255, 0.88);
}

.hero {
  background:
    radial-gradient(circle at 72% 16%, rgba(0, 191, 166, 0.18), transparent 26%),
    linear-gradient(135deg, var(--navy-dark), var(--indigo) 62%, var(--blue));
}

.split-section {
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 119, 182, 0.24), transparent 28%),
    linear-gradient(135deg, var(--navy-dark), var(--indigo) 68%, var(--navy-dark));
}

.cta-section {
  background:
    radial-gradient(circle at 22% 16%, rgba(0, 191, 166, 0.2), transparent 28%),
    linear-gradient(135deg, var(--navy-dark), var(--indigo));
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 18px;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(0, 191, 166, 0.7);
  text-underline-offset: 3px;
}

.contact-links a:hover {
  color: var(--teal);
}

@media (max-width: 760px) {
  .brand-logo {
    height: 58px;
    max-width: 150px;
  }
}

/* Static proposal mode: the removed app preview no longer needs reveal JS. */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Compact editorial header: keep the exact logo readable without a large blank band. */
.site-header {
  background: rgba(240, 244, 248, 0.96);
  border-bottom: 1px solid rgba(0, 191, 166, 0.22);
  box-shadow: 0 12px 32px rgba(27, 46, 92, 0.1);
}

.site-nav,
nav {
  background: rgba(255, 255, 255, 0.92);
}

.eyebrow,
.phase-label,
.decision-card strong,
.contact-links a {
  font-family: var(--font-ui);
}

.hero h1 {
  font-size: clamp(66px, 8.8vw, 118px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subtitle {
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 0;
    padding: 10px 14px 12px;
  }

  .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  .brand-logo {
    height: 50px;
    max-width: 128px;
  }

  .site-nav {
    flex: 1 1 100%;
    width: 100%;
    gap: 2px;
    padding: 3px;
  }

  .site-nav a {
    min-height: 32px;
    padding: 6px 4px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 6px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand-logo {
    height: 46px;
    max-width: 116px;
  }

  .site-nav a {
    font-size: 10px;
  }
}

/* Reference-inspired motion layer: editorial header, scroll cue and gentle parallax. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  min-height: 0;
  padding: 22px clamp(22px, 5vw, 72px);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

.site-header.is-scrolled {
  background: rgba(27, 46, 92, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(10, 24, 58, 0.16);
  backdrop-filter: blur(18px);
}

.brand-logo {
  height: 64px;
  max-width: 152px;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.96;
  transition: opacity 240ms ease, transform 240ms ease;
}

.brand:hover .brand-logo {
  opacity: 1;
  transform: translateY(-1px);
}

.site-nav,
nav {
  display: flex;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  gap: clamp(18px, 3vw, 42px);
  padding: 0;
  font-size: 13px;
}

.site-nav a,
nav a {
  position: relative;
  padding: 9px 0;
  color: inherit;
  font-weight: 650;
  transition: color 220ms ease, transform 220ms ease;
}

.site-nav a::after,
nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
nav a:hover,
nav a.is-active {
  color: var(--white);
  background: transparent;
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a.is-active::after,
nav a:hover::after,
nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  min-height: 100svh;
  padding-top: clamp(148px, 19vh, 210px);
  padding-bottom: clamp(72px, 9vw, 120px);
  isolation: isolate;
  --pointer-x: 72%;
  --pointer-y: 18%;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(
    ellipse 52% 62% at var(--pointer-x) var(--pointer-y),
    rgba(0, 191, 166, 0.16),
    transparent 68%
  );
  pointer-events: none;
}

.hero-copy {
  max-width: 700px;
}

.hero-shot {
  --hero-shift: 0px;
  will-change: transform;
  transform: perspective(1100px) rotateY(-8deg) rotateX(4deg) translate3d(0, var(--hero-shift), 0);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 360ms ease;
}

.hero-shot:hover {
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: clamp(22px, 5vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue-line {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--teal);
  animation: cuePulse 1800ms ease-in-out infinite;
}

.scroll-cue-arrow {
  color: var(--teal);
  font-size: 18px;
  line-height: 1;
  animation: cueFloat 1800ms ease-in-out infinite;
}

.hero-index {
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  bottom: 28px;
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 700;
}

.hero-index span {
  position: relative;
  padding-bottom: 8px;
}

.hero-index span::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero-index .is-active {
  color: var(--teal);
}

body.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease var(--reveal-delay, 0ms), transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0ms);
}

body.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes cuePulse {
  0%,
  100% { opacity: 0.42; transform: scaleX(0.7); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes cueFloat {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand-logo {
    height: 48px;
    max-width: 116px;
  }

  .site-nav {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    gap: clamp(9px, 3vw, 18px);
    padding: 0;
  }

  .site-nav a {
    min-height: 0;
    padding: 7px 0;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-scroll-cue,
  .hero-index {
    display: none;
  }

  .hero-shot {
    transform: none;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-logo {
    height: 42px;
    max-width: 100px;
  }

  .site-nav a {
    font-size: 9px;
  }
}

/* Final draft scale: give the brand header enough presence for a formal proposal. */
.site-header {
  padding: 30px clamp(28px, 5.5vw, 84px);
}

.brand-logo {
  height: 82px;
  max-width: 190px;
}

.site-nav {
  gap: clamp(24px, 4vw, 58px);
  padding: 4px clamp(18px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(27, 46, 92, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-nav a {
  padding: 15px 12px;
  font-size: 16px;
}

.hero {
  padding-top: clamp(190px, 23vh, 270px);
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand-logo {
    height: 54px;
    max-width: 128px;
  }

  .site-nav {
    gap: 8px;
    padding: 2px 8px;
  }

  .site-nav a {
    padding: 9px 4px;
    font-size: 10px;
  }

  .hero {
    padding-top: 148px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding: 14px 12px;
  }

  .brand-logo {
    height: 46px;
    max-width: 108px;
  }

  .site-nav {
    gap: 4px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .site-nav a {
    padding: 8px 3px;
    font-size: 9px;
  }
}
