/* Gramcor Corporation — shared stylesheet
   Brand: Pantone 2728 (#0047BB), navy ink, generous white, hairline rules. */

:root {
  --blue: #0047BB;
  --blue-dark: #003692;
  --ink: #101B33;
  --ink-deep: #0D1526;
  --body: #3B4557;
  --muted: #5C6679;
  --tint: #EEF3FC;
  --tint-2: #F7F9FD;
  --line: #DCE3EF;
  --line-strong: #C3CEE2;
  --gold-ink: #7A5C13;
  --gold-bg: #FAF4E4;
  --white: #FFFFFF;

  --wrap: 1200px;
  --gutter: 24px;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mark: "Jost", "Futura", "Century Gothic", sans-serif;

  --step-eyebrow: 0.72rem;
  --step-small: 0.875rem;
  --step-body: 1rem;
  --step-lead: 1.125rem;
  --h4: 1.0625rem;
  --h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --h2: clamp(1.6rem, 3vw, 2.25rem);
  --h1: clamp(2rem, 4.6vw, 3.25rem);

  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.62;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); letter-spacing: -0.02em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-lockup:hover { text-decoration: none; }
.brand-lockup svg { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-mark); font-weight: 500; font-size: 1.12rem;
  letter-spacing: 0.15em; color: var(--blue); text-transform: uppercase;
}
.brand-sub {
  font-family: var(--font-mark); font-size: 0.5rem; letter-spacing: 0.34em;
  color: #7D879A; text-transform: uppercase; margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.875rem; color: var(--ink); padding: 10px 12px;
  letter-spacing: 0.005em; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav .btn { margin-left: 12px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  width: 42px; height: 38px; border-radius: 2px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  padding: 13px 22px; border-radius: 2px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--tint); color: var(--blue); border-color: var(--blue); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--tint); color: var(--blue); border-color: var(--tint); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  font-size: 0.875rem; font-weight: 500; color: var(--blue);
  display: inline-flex; align-items: center; gap: 7px;
}
.textlink::after { content: "→"; transition: transform 0.2s var(--ease); }
.textlink:hover { text-decoration: none; }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--font-display); font-size: var(--step-eyebrow); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue);
  margin: 0 0 18px; display: block;
}
.eyebrow-line { display: flex; align-items: center; gap: 14px; }
.eyebrow-line::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.lead { font-size: var(--step-lead); line-height: 1.6; color: var(--body); }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.mb0 { margin-bottom: 0; }
.measure { max-width: 62ch; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-tint { background: var(--tint-2); }
.section-blue { background: var(--blue); color: #fff; }
.section-ink { background: var(--ink-deep); color: #C9D2E4; }
.section-blue h2, .section-blue h3, .section-ink h2, .section-ink h3 { color: #fff; }
.section-blue .eyebrow { color: #BBD0F5; }
.section-ink .eyebrow { color: #8FB2F0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint + .section-tint, .section-blue + .section, .section-ink + .section { border-top: 0; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; background: var(--white); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px;
}
@media (max-width: 900px) { .hero-figure img { aspect-ratio: 4 / 3; } }
.split .figure-wide img { aspect-ratio: 4 / 3; }
.split-top { align-items: start; }
.hero-figure figcaption {
  font-size: 0.75rem; color: var(--muted); margin-top: 10px; letter-spacing: 0.01em;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px;
  font-size: 0.8125rem; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: ""; width: 5px; height: 5px; background: var(--blue); border-radius: 50%;
}

/* page hero (interior pages) */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Stat band ---------- */
.stat-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat {
  padding: 32px 28px 32px 0; border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600; color: var(--blue); line-height: 1; letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 12px; font-size: 0.8125rem; color: var(--muted); line-height: 1.45;
  max-width: 24ch;
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.card p { font-size: 0.9375rem; }
.card-num {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--blue);
}
.card.brand-card { padding: 0; overflow: hidden; }
.brand-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.brand-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cols-5 .brand-card-body { padding: 18px 18px 20px; gap: 9px; }
.cols-5 .brand-card h3 { font-size: 1.03rem; }
.cols-5 .brand-card p { font-size: 0.855rem; }
.cols-5 .brand-card .badge { font-size: 0.625rem; letter-spacing: 0.07em; }
.brand-card h3 { margin: 0; font-size: 1.125rem; }
.brand-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.brand-card .textlink { margin-top: auto; padding-top: 8px; }
a.card:hover { border-color: var(--line-strong); text-decoration: none; }

.badge {
  display: inline-block; font-family: var(--font-display); font-size: 0.6875rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue); background: var(--tint); border: 1px solid #D8E3F8;
  padding: 5px 9px; border-radius: 2px; align-self: flex-start;
  max-width: 100%; overflow-wrap: break-word;
}
.badge-dev { color: var(--gold-ink); background: var(--gold-bg); border-color: #EEE2C3; }

/* ---------- Brand detail rows ---------- */
.brand-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.brand-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.brand-row:nth-child(even) .brand-row-media { order: -1; }
.brand-row + .brand-row { margin-top: 0; }
.detail-list { list-style: none; margin: 0 0 22px; padding: 0; }
.detail-list li {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 0.9375rem;
}
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list dt, .detail-list .k {
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted);
  padding-top: 3px;
}
.detail-list .v { color: var(--ink); }

/* ---------- Numbered process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n {
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--blue); padding-top: 4px;
}
.steps h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.steps p { font-size: 0.9375rem; margin: 0; }

/* ---------- Feature figure ---------- */
.figure-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; }
.figure-wide figcaption { font-size: 0.75rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) {
  .figure-wide img { aspect-ratio: 4 / 3; }
}

/* ---------- Leadership ---------- */
.leader-card {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 26px;
  align-items: start; border: 1px solid var(--line); padding: 28px; border-radius: 2px;
}
.avatar {
  width: 108px; height: 108px; border-radius: 2px; background: var(--blue);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: 0.02em;
}
.role {
  font-size: 0.8125rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.1em; margin: 0 0 14px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.tag-list li {
  font-size: 0.75rem; color: var(--ink); background: var(--tint); border: 1px solid #E1E9F8;
  padding: 5px 10px; border-radius: 2px;
}
.note {
  font-size: 0.8125rem; color: var(--muted); border-left: 2px solid var(--line-strong);
  padding-left: 14px;
}

/* ---------- News ---------- */
.news-item {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.news-item:last-of-type { border-bottom: 1px solid var(--line); }
.news-date {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 4px;
}
.news-item h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.news-item p { font-size: 0.9375rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label {
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
input, select, textarea {
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 12px 13px; width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--ink) 50%), linear-gradient(-45deg, transparent 49%, var(--ink) 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 38px; }
textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 2px solid rgba(0,71,187,0.18); outline-offset: 0; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1 1 240px; }

.contact-block { border: 1px solid var(--line); padding: 26px; border-radius: 2px; background: var(--tint-2); }
.contact-block dl { margin: 0; }
.contact-block dt {
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 18px;
}
.contact-block dt:first-child { margin-top: 0; }
.contact-block dd { margin: 5px 0 0; font-size: 0.9375rem; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { padding: 72px 0; }
.cta-band .split { align-items: center; gap: 40px; }
.cta-band p { color: rgba(255,255,255,0.82); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #A9B4C9; padding: 64px 0 30px; font-size: 0.875rem; }
.site-footer a { color: #D6DEEE; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7C879C; }
.footer-brand p { font-size: 0.8125rem; color: #98A3B8; margin-top: 18px; max-width: 34ch; }
.footer-col h4 {
  color: #fff; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col li { font-size: 0.8125rem; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-start;
}
.legal { font-size: 0.75rem; color: #8B96AB; max-width: 68ch; line-height: 1.6; }
.legal p { margin: 0 0 6px; max-width: none; }
.social { display: inline-flex; align-items: center; gap: 8px; color: #D6DEEE; font-size: 0.8125rem; }
.social svg { width: 18px; height: 18px; }
.social-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 0.8125rem; font-weight: 500; }
.social-link svg { width: 16px; height: 16px; }
.social-link:hover { color: var(--blue-dark); }


/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .hero-grid, .brand-row { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); border-left-color: var(--blue); padding-left: 10px; }
  .nav .btn { margin: 16px 0 0; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 24px 20px 24px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero-grid, .split, .brand-row { grid-template-columns: minmax(0, 1fr); }
  .brand-row:nth-child(even) .brand-row-media { order: 0; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 0; }
}

@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4, .cols-5 { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .leader-card { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .detail-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .stat-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .stat:last-child { border-bottom: 0; }
  .brand-name { font-size: 1rem; letter-spacing: 0.12em; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 200px; }
  .inline-form .btn { width: 100%; }
  .card { padding: 22px; }
  .section { padding: 48px 0; }
}

@media (max-width: 1024px) {
  .leader-card { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .leader-card .avatar { width: 76px; height: 76px; font-size: 1.5rem; }
  .leader-card h3 { overflow-wrap: break-word; }
}

/* ================= Warmth pass: softer radii ================= */
.btn { border-radius: 7px; }
.card, .leader-card, .contact-block, .tag-list li, .badge { border-radius: 8px; }
.card.brand-card { border-radius: 12px; }
.brand-card img, .brand-row img, .hero-figure img, .figure-wide img { border-radius: 10px; }
input, select, textarea { border-radius: 8px; }
.nav-toggle { border-radius: 8px; }

/* ================= Dark hero (homepage) ================= */
.hero-dark {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-deep); color: #E6ECF7;
  padding: clamp(84px, 12vw, 148px) 0 clamp(72px, 9vw, 116px);
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url("../img/hero-dusk.jpg");
  background-size: cover; background-position: center 62%;
  transform: scale(1.04);
}
.hero-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(9,16,32,0.95) 0%, rgba(9,16,32,0.86) 42%, rgba(9,16,32,0.42) 78%, rgba(9,16,32,0.30) 100%),
    linear-gradient(to top, rgba(0,32,86,0.55), rgba(9,16,32,0) 62%);
}
.hero-dark .eyebrow { color: #9CC0FF; }
.hero-dark h1 {
  color: #fff; max-width: 21ch; margin-bottom: 26px;
  font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em;
}
.hero-dark h1 .accent { color: #7FB0FF; }
.hero-dark .lead { color: rgba(255,255,255,0.86); max-width: 56ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); background: transparent; }
.hero-dark .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.hero-note {
  margin-top: 26px; font-size: 0.9375rem; color: rgba(255,255,255,0.72);
  display: flex; align-items: center; gap: 10px; max-width: 60ch;
}
.hero-note::before { content: ""; width: 26px; height: 1px; background: rgba(255,255,255,0.45); flex: 0 0 auto; }
.hero-dark-inner { position: relative; }

/* ================= Proof points ================= */
.proof-row { border-bottom: 1px solid var(--line); background: #fff; }
.proof-row .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.proof {
  padding: 30px 26px 32px 0; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.proof:last-child { border-right: 0; padding-right: 0; }
.proof-k {
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em;
}
.proof-k .n { color: var(--blue); }
.proof-v { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.5; max-width: 30ch; }

/* ================= Logo wall ================= */
.logo-wall {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.logo-tile {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  min-height: 128px; display: flex; align-items: center; justify-content: center;
  padding: 22px 26px; transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.logo-tile:hover { border-color: var(--line-strong); box-shadow: 0 8px 26px rgba(16,27,51,0.07); text-decoration: none; }
.logo-tile img { max-height: 70px; height: auto !important; width: auto !important; max-width: 100%; object-fit: contain !important; aspect-ratio: auto !important; }
.logo-caption { margin-top: 18px; font-size: 0.8125rem; color: var(--muted); }

/* logo slot inside portfolio cards */
.logo-slot { height: 40px; display: flex; align-items: center; }
.logo-slot img { max-height: 38px; height: auto !important; width: auto !important; max-width: 100%; object-fit: contain !important; aspect-ratio: auto !important; }

/* ================= Doors ================= */
.door {
  display: flex; flex-direction: column; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px 26px;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.door:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,71,187,0.10); text-decoration: none; }
.door-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--tint);
  color: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px;
}
.door h3 { margin: 0; font-size: 1.25rem; }
.door p { margin: 0; font-size: 0.9375rem; color: var(--body); }
.door .textlink { margin-top: 8px; }

/* ================= In-development strip ================= */
.dev-card { padding: 0; overflow: hidden; border-radius: 12px; }
.dev-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.dev-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.dev-card-body h3 { margin: 0; }
.dev-card-body p { margin: 0; font-size: 0.9375rem; }
.kicker {
  font-size: 0.8125rem; color: var(--muted); font-style: normal;
}

/* ================= Responsive additions ================= */
@media (max-width: 900px) {
  .proof-row .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { padding: 22px 20px 24px 0; }
  .proof:nth-child(2) { border-right: 0; padding-right: 0; }
  .proof:nth-child(1), .proof:nth-child(2) { border-bottom: 1px solid var(--line); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .proof-row .wrap { grid-template-columns: minmax(0, 1fr); }
  .proof { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0 20px; }
  .proof:last-child { border-bottom: 0; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-tile { min-height: 96px; padding: 16px; }
  .logo-tile img { max-height: 46px; }
  .hero-dark { padding: 64px 0 56px; }
}

/* ---------- Partner + brand logos in content ---------- */
.locate-logo { width: 132px !important; height: auto !important; object-fit: contain !important; aspect-ratio: auto !important; display: block; }
.locate-logo-lg { width: 168px !important; }
.brand-mark { height: 58px !important; width: auto !important; max-width: 280px; object-fit: contain !important; aspect-ratio: auto !important; margin-bottom: 20px; display: block; }
@media (max-width: 620px) { .brand-mark { height: 46px; } .locate-logo { width: 118px; } }
.brand-mark-tall { height: 80px !important; }
@media (max-width: 620px) { .brand-mark-tall { height: 66px !important; } }

/* ================= Feature band (flagship concept) ================= */
.feature-band {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(16,27,51,0.06);
}
.feature-band-media img {
  width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; display: block; border-radius: 0;
}
.feature-band-body { padding: 38px 40px 40px; }
.feature-band-body h3 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.14;
  letter-spacing: -0.02em; color: var(--ink); margin: 14px 0 12px;
}
.lead-sm { font-size: 1.0625rem; line-height: 1.62; color: var(--body); max-width: 62ch; margin: 0 0 26px; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0; margin-bottom: 24px;
}
.pillar-n {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--blue); display: block; margin-bottom: 8px;
}
.pillar h4 {
  font-family: var(--font-display); font-size: 1rem; line-height: 1.28; color: var(--ink);
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.pillar p { font-size: 0.875rem; line-height: 1.55; color: var(--muted); margin: 0; }
.feature-note { font-size: 0.9375rem; line-height: 1.62; color: var(--body); margin: 0 0 12px; max-width: 76ch; }

/* ================= Retail + mobile model pairing ================= */
.model-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 6px; }
.model-shot { margin: 0; }
.model-shot img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block;
}
.model-shot figcaption {
  font-size: 0.8125rem; color: var(--muted); margin-top: 9px; letter-spacing: 0.01em;
}
.model-shot figcaption strong {
  color: var(--blue); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem;
}
.media-note { margin: 16px 0 0; }
.media-note img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; display: block; }
.media-note figcaption { font-size: 0.8125rem; line-height: 1.55; color: var(--muted); margin-top: 9px; }

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
  .feature-band-body { padding: 30px 26px 32px; }
  .feature-band-media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .pillar-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feature-band-body { padding: 24px 20px 26px; }
  .feature-band-media img { aspect-ratio: 4 / 3; }
  .model-pair { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ================= Restructure pass ================= */

/* Proof band: label first, then value, then blurb */
.proof-label {
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
}
.proof { gap: 6px; }
.proof .proof-v { margin-top: 2px; }

/* Four-across brand cards */
.brand-card-row { gap: 20px; }
.cols-4 .brand-card-body { padding: 20px 20px 22px; gap: 10px; }
.cols-4 .brand-card h3 { font-size: 1.0625rem; }
.cols-4 .brand-card p { font-size: 0.875rem; }
.cols-4 .brand-card .badge { font-size: 0.625rem; letter-spacing: 0.07em; }

/* Logos are never clipped: no rounded corners, no cropping, always padded */
.logo-slot, .logo-tile { overflow: visible; }
.logo-slot { height: auto; min-height: 50px; padding: 4px 0 4px; }
.logo-slot img,
.logo-tile img,
.brand-mark,
.locate-logo {
  border-radius: 0 !important; clip-path: none !important;
  object-fit: contain !important; aspect-ratio: auto !important;
}
.logo-slot img { max-height: 44px; }
.brand-mark { padding: 2px 0; }

/* Concept cards are links on the homepage */
a.dev-card { color: inherit; }
a.dev-card:hover { border-color: var(--line-strong); text-decoration: none; }
a.dev-card:hover .textlink::after { transform: translateX(3px); }
.dev-card-body .textlink { margin-top: auto; padding-top: 6px; }

/* Flagship page hero (brands) */
.page-hero-feature {
  background: linear-gradient(180deg, var(--tint) 0%, #fff 92%);
  padding: 76px 0 56px; border-bottom: 1px solid var(--line);
}
.page-hero-feature h1 {
  max-width: 26ch; font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1.06; letter-spacing: -0.025em;
}
.page-hero-feature .lead { max-width: 66ch; }
.hero-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-jump a {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 15px; transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-jump a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
@media (max-width: 620px) {
  .hero-jump a { font-size: 0.6875rem; padding: 7px 12px; }
  .page-hero-feature { padding: 52px 0 40px; }
}

/* Contrast: every blue surface keeps light text */
.section-blue, .section-blue p, .section-blue li, .section-blue .lead,
.section-blue .kicker, .section-blue .small { color: rgba(255,255,255,0.88); }
.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4, .section-blue strong { color: #fff; }
.section-blue a:not(.btn) { color: #fff; text-decoration: underline; }
.section-blue .note { color: rgba(255,255,255,0.82); border-left-color: rgba(255,255,255,0.4); }
.section-blue .detail-list .k, .section-blue .detail-list .v { color: rgba(255,255,255,0.9); }

/* Nav Contact button: keep white text on the blue pill (was inheriting nav ink) */
.nav a.btn, .nav a.btn:hover, .nav a.btn:focus { color: #fff; }
.nav a.btn[aria-current="page"] { color: #fff; border-bottom-color: transparent; }

/* Square-ish brand marks need more height to stay legible */
.logo-slot-tall { min-height: 66px; }
.logo-slot-tall img { max-height: 62px; }

/* Long brand articles: media aligned to the top of the copy */
#sport-fundamentals, #daytime-concept, #dapper-doughnut { align-items: start; }
#sport-fundamentals .brand-row-media, #daytime-concept .brand-row-media { position: sticky; top: 92px; }
/* Keep every card in the brand row on the same baseline */
.brand-card-row .logo-slot { min-height: 66px; }

/* ---- Opportunity pass: asset tiles, LP panel, founder weighting, credentials ---- */
.figure-open img { aspect-ratio: 16 / 9; object-position: 50% 46%; }
@media (max-width: 640px) { .figure-open img { aspect-ratio: 4 / 3; } }

.asset-tiles { align-items: stretch; }
.asset-tile {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.asset-tile:hover { box-shadow: 0 18px 44px rgba(16, 27, 51, .12); transform: translateY(-2px); }
.asset-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.asset-tile-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.asset-label {
  font-family: var(--font-display); font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.asset-tile-body h3 {
  font-family: var(--font-display); font-size: 1.16rem; letter-spacing: -0.015em;
  color: var(--ink); margin: 0;
}
.asset-tile-body p { margin: 0; font-size: .95rem; }

.opp-panel {
  margin-top: 56px; background: var(--blue); color: #fff;
  border-radius: 16px; padding: 38px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.opp-panel .eyebrow { color: rgba(255,255,255,.78); }
.opp-panel h3 {
  font-family: var(--font-display); color: #fff; font-size: 1.6rem;
  letter-spacing: -0.02em; margin: 8px 0 10px; max-width: 22ch;
}
.opp-panel p { color: rgba(255,255,255,.9); max-width: 62ch; }
.opp-panel-cta { display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .opp-panel { grid-template-columns: 1fr; padding: 30px 26px; }
  .opp-panel-cta { justify-content: flex-start; }
  .opp-panel h3 { font-size: 1.35rem; }
}

.founder-pair { grid-template-columns: 1.28fr 1fr; align-items: start; }
@media (max-width: 900px) { .founder-pair { grid-template-columns: 1fr; } }
.leader-card-lead { border-color: #C9D6EE; box-shadow: 0 14px 40px rgba(0, 71, 187, .08); }
.cred-label {
  display: block; margin: 18px 0 8px;
  font-family: var(--font-display); font-size: .64rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.cred-chips li {
  background: #EEF3FC; border-color: #C9D6EE; color: var(--blue-dark); font-weight: 600;
}
