/* The Giant Reach — static site styles
   Palette: navy, golden yellow, white. Type: Bricolage Grotesque (display) + Public Sans (body). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0b1f4b;
  --navy-800: #16306f;
  --navy-950: #071433;
  --gold: #f5b829;
  --gold-600: #e2a40f;
  --gold-100: #fff3cf;
  --paper: #ffffff;
  --mist: #f4f6fb;
  --line: #dce2ef;
  --text: #3a4764;
  --on-navy: #c9d4ee;
  --green: #1e7f4f;
  --green-100: #e3f4ea;
  --danger: #b3261e;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-optical-sizing: auto; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 1.2rem + 2.7vw, 3.2rem); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .section--navy :focus-visible, .site-footer :focus-visible, .mobile-cta :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--navy); padding: .7rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 44rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p { margin-top: 1rem; font-size: 1.125rem; max-width: 40rem; }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; max-width: none; flex-wrap: wrap; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; max-width: 36rem; }
.prose-width { max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body);
  border: 2px solid transparent; border-radius: 8px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-600); text-decoration: none; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); text-decoration: none; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .95rem 1.7rem; font-size: 1.0625rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.text-link { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__logo { display: block; height: 42px; width: auto; }
.site-header .brand { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.site-nav__links a { display: inline-block; padding: .35rem 0; font-weight: 500; color: #fff; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding-block: clamp(2.75rem, 6vw, 5.25rem) clamp(3.25rem, 7vw, 6rem); }
.hero h1 { color: #fff; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .lede { color: var(--on-navy); margin-top: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__note { margin-top: 1.5rem; max-width: 32rem; font-size: .95rem; color: #9fb0d6; }
.hero--page { padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero--page .hero__grid { grid-template-columns: minmax(0, 1fr); }
.breadcrumb { font-size: .9rem; margin-bottom: 1.25rem; color: #9fb0d6; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: #c9d4ee; }
.section .breadcrumb { color: var(--text); }
.section .breadcrumb a { color: var(--navy); }

/* Product board illustration (hero) */
.board { background: #fff; border-radius: 14px; overflow: hidden; color: var(--navy); font-size: .8rem; line-height: 1.35; box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .55); }
.board__bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; background: var(--mist); border-bottom: 1px solid var(--line); }
.board__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.board__title { margin-left: .5rem; font-weight: 600; }
.board__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; padding: .85rem; background: var(--mist); }
.col__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55rem; font-weight: 650; font-size: .76rem; }
.col__count { min-width: 20px; padding: 0 .3rem; text-align: center; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .7rem; }
.kcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .6rem .65rem; margin-bottom: .55rem; }
.kcard__who { display: flex; align-items: center; gap: .45rem; font-weight: 650; }
.kcard__av { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .62rem; font-weight: 700; }
.kcard__meta { margin-top: .25rem; color: var(--text); font-size: .72rem; }
.kcard--focus { border-color: var(--navy); }
.check { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; font-size: .72rem; }
.check svg { width: 14px; height: 14px; flex: none; }
.check .tick-box { fill: var(--gold); }
.check .tick-mark { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; }
.check--1 .tick-mark { animation: tick .35s .7s backwards; }
.check--2 .tick-mark { animation: tick .35s 1.2s backwards; }
.check--3 .tick-mark { animation: tick .35s 1.7s backwards; }
.meter { height: 4px; margin-top: .55rem; background: var(--line); border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; animation: fill 1.4s .6s backwards ease-out; }
.kcard:has(.stamp) { padding-bottom: 2.3rem; }
.stamp { position: absolute; right: .5rem; bottom: .55rem; padding: .2rem .55rem; border: 2px solid var(--navy); border-radius: 6px; background: var(--gold-100); color: var(--navy); font: 700 .72rem/1.2 var(--font-display); transform: rotate(-8deg); box-shadow: inset 0 0 0 2px var(--gold-100), inset 0 0 0 3px var(--navy); animation: stamp .45s 2.4s backwards cubic-bezier(.2, 1.4, .4, 1); }
@keyframes tick { from { stroke-dashoffset: 16; } }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.9); } 60% { opacity: 1; } }
.board__caption { padding: .55rem .9rem; border-top: 1px solid var(--line); font-size: .72rem; color: var(--text); background: #fff; }

/* Ruled lists (audience, what we build) */
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 2.5rem; list-style: none; }
.rule-grid > li { border-top: 2px solid var(--navy); padding-top: 1rem; }
.rule-grid h3 { margin-bottom: .45rem; }
.section--navy .rule-grid > li { border-top-color: var(--gold); }

/* Comparison table */
.compare-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font: 650 .95rem/1.3 var(--font-display); border-bottom: 0; }
.compare thead th:last-child { background: var(--navy); color: var(--gold); }
.compare tbody th { width: 20%; color: var(--navy); font-weight: 650; }
.compare tbody td:nth-child(3) { background: #fffbee; color: var(--navy); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Features */
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; list-style: none; }
.feature { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--gold-100); color: var(--navy); }
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: .35rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; list-style: none; counter-reset: step; }
.step { counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 1.05rem/1 var(--font-display); }
.step h3 { margin-bottom: .4rem; }

/* Product catalogue */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip { min-height: 42px; padding: .5rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 600 .95rem/1 var(--font-body); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; }
.tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--navy); transform: translateY(-2px); }
.tile__cover { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--mist); border-bottom: 1px solid var(--line); }
.tile__cover svg { width: 78%; height: auto; }
.tile__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.tile__body { display: flex; flex-direction: column; flex: 1; gap: .6rem; padding: 1.25rem 1.3rem 1.4rem; }
.tile__body h3 { font-size: 1.3rem; }
.tile__body p { font-size: 1rem; }
.tile__foot { margin-top: auto; padding-top: .6rem; }
.catalog__lead { grid-column: span 2; }
.tile--lead { flex-direction: row; }
.tile--lead .tile__cover { flex: 0 0 58%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.tile--lead .tile__body { padding: 1.7rem 1.8rem; }
.tile--lead .tile__body h3 { font-size: 1.7rem; }
.badge { align-self: flex-start; display: inline-block; padding: .2rem .65rem; border-radius: 999px; font: 600 .8rem/1.4 var(--font-body); }
.badge--live { background: var(--green-100); color: var(--green); }
.badge--build { background: var(--gold-100); color: var(--navy); }
.badge--soon { background: var(--mist); color: var(--text); border: 1px solid var(--line); }
.catalog-count { margin: -.9rem 0 1.25rem; font-size: .95rem; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.founder__photo { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.founder__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.founder blockquote { margin: 1.25rem 0 0; padding: 0; font: 500 clamp(1.15rem, 1rem + .6vw, 1.4rem)/1.5 var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.founder cite { display: block; margin-top: 1rem; font: 600 1rem/1.4 var(--font-body); font-style: normal; color: var(--text); }
.creds { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.25rem; }
.creds li { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; background: #fff; }

/* FAQ */
.faq-list { max-width: none; border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font: 650 1.12rem/1.35 var(--font-display); color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq p { padding: 0 2.5rem 1.25rem 0; max-width: 46rem; }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.cta-band h2 { max-width: 28rem; }
.cta-band p { margin-top: .8rem; max-width: 32rem; }

/* Two-column custom band */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split p { margin-top: 1rem; font-size: 1.125rem; max-width: 34rem; }
.split .btn { margin-top: 1.75rem; }
.build-list { list-style: none; }
.build-list li { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 600; }
.build-list li span { display: block; margin-top: .15rem; font-weight: 400; color: var(--on-navy); font-size: .98rem; }
.build-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .22); }

/* Forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; font: inherit; color: var(--navy); background: #fff; border: 1.5px solid #b4bfd8; border-radius: 8px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field[data-invalid="true"] input, .field[data-invalid="true"] select, .field[data-invalid="true"] textarea { border-color: var(--danger); }
.field__error { margin-top: .35rem; font-size: .92rem; color: var(--danger); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 1rem 1.15rem; border-radius: 8px; font-weight: 500; }
.form__status--error { background: #fdecea; color: #7a1a14; border: 1px solid #f3b7b2; }
.form__status--ok { background: var(--green-100); color: #124d30; border: 1px solid #b6dfc7; }
.form__status a { color: inherit; }
.aside-panel { padding: 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.aside-panel + .aside-panel { margin-top: 1.25rem; }
.aside-panel h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.aside-panel ul { list-style: none; display: grid; gap: .55rem; margin-top: .9rem; }
.aside-panel .btn { margin-top: 1rem; }

/* Article */
.article-meta { margin-top: 1.1rem; color: var(--on-navy); font-size: .98rem; }
.prose { max-width: 68ch; }
.prose h2 { margin: 2.6rem 0 .9rem; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); }
.prose h3 { margin: 1.9rem 0 .6rem; }
.prose p { margin: 0 0 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.prose li { margin-bottom: .45rem; padding-left: .2rem; }
.prose li::marker { color: var(--navy); font-weight: 600; }
.prose strong { color: var(--navy); }
.prose a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.article-cta { margin-top: 3rem; padding: 1.75rem; border-radius: 12px; background: var(--navy); color: var(--on-navy); }
.article-cta h2 { margin: 0 0 .6rem; color: #fff; font-size: 1.5rem; }
.article-cta .btn { margin-top: 1.1rem; margin-right: .6rem; }
.post-list { list-style: none; max-width: 52rem; }
.post-list li { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 1.45rem; }
.post-list h2 a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.post-list h2 a:hover { text-decoration-color: var(--navy); }
.post-list p { margin-top: .5rem; }
.post-list .meta { margin-top: .5rem; font-size: .92rem; }

/* Legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal p { margin-bottom: 1rem; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-navy); padding-block: 3.5rem 2rem; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.site-footer h2 { margin-bottom: 1rem; font: 650 1rem/1.3 var(--font-display); color: var(--gold); letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid, .split, .founder, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .founder__photo { max-width: 260px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.25rem 1.25rem 1.5rem; background: var(--navy-800); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .55); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__links a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .site-header .btn--sm { min-height: 50px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: block; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 76px; }
}
@media (max-width: 700px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .catalog__lead { grid-column: auto; }
  .tile--lead { flex-direction: column; }
  .tile--lead .tile__cover { flex: none; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody th { width: 100%; padding-bottom: .3rem; border-bottom: 0; background: var(--mist); }
  .compare td { padding-top: .6rem; border-bottom: 0; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: .15rem; font: 650 .85rem/1.3 var(--font-display); color: var(--navy); }
  .compare tbody td:nth-child(3) { border-bottom: 1px solid var(--line); }
  .board__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board__cols .col:nth-child(1) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .mobile-cta, .hero__actions { display: none; }
}

/* Real product screenshot */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .55); background: #0b0d12; }
.shot figcaption { margin-top: .7rem; font-size: .8rem; color: #9fb0d6; }
.showcase { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.showcase__text p { margin-top: 1rem; max-width: 30rem; font-size: 1.1rem; }
.shot { max-width: 560px; }
.showcase .shot img { border-color: var(--line); box-shadow: 0 30px 60px -28px rgba(11, 31, 75, .55); }
.showcase .shot figcaption { color: var(--text); }
.showcase .shot { justify-self: end; width: 100%; }
.showcase__cta { margin-top: 2rem; }

.tile--lead .tile__cover img { object-position: left center; }
.tile__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

/* ---------- Layout v2: no orphaned cards, no dead space ---------- */
.rule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile__cover { position: relative; }
.tile__tag { position: absolute; left: .75rem; top: .75rem; z-index: 1; padding: .22rem .65rem; border-radius: 999px; background: rgba(11, 31, 75, .9); color: #fff; font: 600 .75rem/1.4 var(--font-body); }
.tile__points { list-style: none; display: grid; gap: .55rem; margin: .5rem 0 .4rem; }
.tile__points li { position: relative; padding-left: 1.7rem; font-size: 1rem; font-weight: 500; color: var(--navy); }
.tile__points li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.4 7.4 6 10l4.6-5.2' fill='none' stroke='%230b1f4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.catalog__full { grid-column: 1 / -1; }
.tile--row { flex-direction: row; }
.tile--row .tile__cover { flex: 0 0 42%; aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--line); }
.tile--row .tile__cover img { position: absolute; inset: 0; }
.tile--row .tile__body { justify-content: center; padding: 1.7rem 1.8rem; }
.tile--row .tile__foot { margin-top: 1rem; }
.tile--lead .tile__cover { flex-basis: 54%; min-height: 440px; }
.catalog[data-visible="1"] > li { grid-column: 1 / -1; }
.catalog[data-visible="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase .shot { justify-self: end; width: 100%; }
.faq p { max-width: 46rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(0, 300px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-side { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.article-side h2 { font-size: 1.25rem; }
.article-side p { margin-top: .6rem; font-size: .98rem; }
.article-side .btn { margin-top: 1.1rem; width: 100%; }
.article-side .text-link { display: inline-block; margin-top: .9rem; }

@media (max-width: 1000px) {
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog__tail { grid-column: 1 / -1; }
  .hero .shot { max-width: 620px; margin-inline: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { display: none; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .tile--row-md { flex-direction: row; }
  .tile--row-md .tile__cover { flex: 0 0 42%; aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--line); }
  .tile--row-md .tile__cover img { position: absolute; inset: 0; }
  .tile--row-md .tile__body { justify-content: center; }
  .founder { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
  .founder__photo { max-width: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .showcase { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .showcase .shot { justify-self: stretch; max-width: none; }
}
@media (max-width: 700px) {
  .tile--row, .tile--row-md { flex-direction: column; }
  .tile--row .tile__cover, .tile--lead .tile__cover { flex: none; aspect-ratio: 16 / 10; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .tile--row .tile__cover img { position: static; }
  .catalog__full, .catalog__tail, .catalog[data-visible="1"] > li { grid-column: auto; }
  .catalog[data-visible="4"] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rule-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Scope note under "Who uses VisaByte" */
.vb-scope{margin-top:1.75rem;max-width:62ch;padding-left:1rem;border-left:3px solid var(--gold);color:var(--text)}
.vb-scope a{color:var(--navy);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* Mobile fixes */
.btn { white-space: nowrap; }
@media (max-width: 760px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase .shot { max-width: 460px; margin-inline: auto; justify-self: center; }
}

/* ---------- Portfolio ---------- */
.pf-hero .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pf-pill { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .9rem; color: var(--on-navy); }
.pf-pill span { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.pf-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.6rem); letter-spacing: -0.04em; }
.pf-role { margin-top: .6rem; font: 600 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.2 var(--font-display); color: var(--gold); }
.pf-caps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin-top: 2rem; color: #9fb0d6; font-size: .95rem; }
.pf-caps li { position: relative; padding-left: 1.1rem; }
.pf-caps li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pf-photo { justify-self: center; width: min(100%, 400px); padding: 10px; border-radius: 50%; background: linear-gradient(145deg, var(--gold), rgba(245, 184, 41, .15)); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.pf-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--navy); background: var(--navy-800); }
.projects { display: grid; }
.project { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project:nth-child(even) .project__media { order: 2; }
.project__media { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); box-shadow: 0 30px 60px -34px rgba(11, 31, 75, .5); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.project__art { display: grid; place-items: center; height: 100%; padding: .5rem; background: linear-gradient(180deg, #fff, var(--mist)); }
.project__art svg { width: 100%; height: 100%; }
.project__body { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.project__body h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.project__type { font-weight: 600; color: var(--navy); }
.project__body .creds { margin-top: .4rem; }
.project__links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: .9rem; }
.pf-note { margin-top: 1.5rem; font-size: .92rem; }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rule-grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-list { list-style: none; border-top: 1px solid var(--line); }
.social-list li { border-bottom: 1px solid var(--line); }
.social-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.05rem .25rem; text-decoration: none; color: var(--navy); }
.social-list a:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.social-list span { color: var(--text); font-size: .95rem; }
@media (max-width: 1000px) {
  .pf-hero .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pf-photo { width: min(70%, 320px); }
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project { grid-template-columns: minmax(0, 1fr); }
  .project:nth-child(even) .project__media { order: 0; }
}
@media (max-width: 560px) {
  .rule-grid--six, .steps--four { grid-template-columns: minmax(0, 1fr); }
  .pf-photo { width: min(80%, 300px); }
}

/* Founder section actions */
.founder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
