/* Clark Development Co. — shared styles
   1 Fonts  2 Tokens  3 Base  4 Header/nav  5 Buttons  6 Heroes  7 Sections
   8 Components  9 Forms  10 Footer  11 Motion  12 Breakpoints */

/* 1. Fonts (self-hosted, OFL) ---------------------------------------------- */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }

/* 2. Tokens (brand colors carried over from the live site) ----------------- */
:root {
  --cream: #f8f7f3;
  --paper: #faf9f6;
  --stone: #efede6;
  --ink: #3f4742;
  --ink-deep: #2b312d;
  --muted: #5f645e;        /* darkened from #6d716b for AA body contrast on cream */
  --sage: #515b50;
  --sage-dark: #414c40;
  --line: #cdd0c5;
  --cedar: #9a5f33;        /* warm accent from the photos; used sparingly */
  --white: #ffffff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 76px;
}

/* 3. Base ------------------------------------------------------------------ */
*, *::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; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--sage-dark); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 0.5em; color: var(--ink-deep); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid #1f6feb; outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink-deep); color: #fff; padding: 12px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.muted { color: var(--muted); }

/* Visible TODO placeholders: meant to look unfinished so none ships by accident */
.todo { background: #ffe94d; color: #2b2400; padding: 0.05em 0.3em; border-radius: 3px; box-shadow: 0 0 0 1px #c9a800 inset; font-family: var(--sans); font-style: normal; font-size: 0.92em; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* 4. Header / nav ---------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: #fff; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(18,22,20,.45), rgba(18,22,20,0)); pointer-events: none; transition: opacity .3s ease; }
.site-header.is-solid, .site-header.is-open { background: rgba(248,247,243,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before, .site-header.is-open::before { opacity: 0; }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(248,247,243,.88); backdrop-filter: blur(10px); } }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; min-height: 44px; }
.brand:hover { color: inherit; }
.brand .mark { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brand .wordmark { width: 118px; height: 38px; fill: currentColor; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 10px 0; color: inherit; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; color: inherit; }
.nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { margin-left: 6px; border-bottom: 0; padding: 0 20px; }
.menu-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; font: 500 0.9375rem var(--sans); padding: 0 16px; min-height: 44px; border-radius: 3px; cursor: pointer; }
.page-plain .site-header { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.page-plain .site-header::before { display: none; }

/* 5. Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 3px; border: 1px solid var(--sage); background: var(--sage); color: #fff; font: 500 0.9688rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--sage-dark); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage); color: #fff; }
.on-dark .btn-outline, .btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.75); }
.on-dark .btn-outline:hover { background: #fff; color: var(--ink-deep); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink-deep); border-color: #fff; }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink-deep); }
.btn .arrow { font-size: 1.05em; line-height: 1; }
.site-header:not(.is-solid):not(.is-open) .nav .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.8); }
.site-header:not(.is-solid):not(.is-open) .nav .btn:hover { background: #fff; color: var(--ink-deep); }
.page-plain .site-header .nav .btn { background: var(--sage); border-color: var(--sage); }
.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--cedar); text-decoration-thickness: 2px; }

/* 6. Heroes ---------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(620px, 92svh); color: #fff; overflow: hidden; background: #2b312d; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media.zoom img { animation: slowzoom 28s ease-in-out infinite alternate; transform-origin: 60% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(16,20,18,.72) 0%, rgba(16,20,18,.45) 45%, rgba(16,20,18,.12) 75%),
    linear-gradient(0deg, rgba(16,20,18,.7) 0%, rgba(16,20,18,0) 55%); }
.hero-content { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 64px) var(--gutter) clamp(56px, 9vh, 104px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 0.4em; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.hero .lede { color: rgba(255,255,255,.94); max-width: 40rem; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.door { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 250px; min-height: 60px; padding: 14px 20px; background: rgba(255,255,255,.96); color: var(--ink-deep); text-decoration: none; border-radius: 3px; border: 1px solid #fff; transition: transform .2s ease, background-color .2s ease; }
.door:hover { background: #fff; color: var(--ink-deep); transform: translateY(-2px); }
.door .door-label { font-weight: 600; font-size: 1.0313rem; display: flex; justify-content: space-between; gap: 20px; }
.door .door-sub { font-size: 0.875rem; color: var(--muted); }
.door.ghost { background: rgba(20,24,22,.35); color: #fff; border-color: rgba(255,255,255,.8); }
.door.ghost .door-sub { color: rgba(255,255,255,.85); }
.door.ghost:hover { background: rgba(20,24,22,.55); color: #fff; }
.hero-video { background: #2b312d url("/assets/video/hero-northpark-poster-1280.webp") center / cover no-repeat; }
.hero-video video { opacity: 0; transition: opacity .8s ease; }
.hero-video video.is-playing { opacity: 1; }
.hero-short { min-height: max(420px, 58svh); }
.hero-short h1 { max-width: 18ch; }

/* 7. Sections -------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-paper { background: var(--paper); }
.bg-stone { background: var(--stone); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split .media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 2px; }
.prose { max-width: 40rem; }
.prose p { font-size: 1.125rem; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Two-door band */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.door-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s ease, transform .25s ease; }
.door-card:hover { border-color: var(--sage); color: inherit; transform: translateY(-3px); }
.door-card .img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.door-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.door-card:hover img { transform: scale(1.03); }
.door-card .body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.door-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0; }
.door-card p { color: var(--muted); font-size: 1.0625rem; margin: 0; }
.door-card .go { margin-top: auto; padding-top: 10px; font-weight: 500; color: var(--sage-dark); }
.door-card .go span { display: inline-block; transition: transform .2s ease; }
.door-card:hover .go span { transform: translateX(4px); }

/* Intro band (home positioning paragraph) */
.intro-band p { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.5; color: var(--ink-deep); max-width: 52rem; }

/* Photo bands */
.photo-band { position: relative; isolation: isolate; color: #fff; background: #2b312d; overflow: hidden; }
.photo-band > picture, .photo-band > img { position: absolute; inset: 0; z-index: -2; }
.photo-band picture img, .photo-band > img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18,22,20,.62); }
.photo-band.deep::after { background: linear-gradient(0deg, rgba(18,22,20,.82), rgba(18,22,20,.55)); }
.photo-band .wrap { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(96px, 14vw, 180px); }
.photo-band h2, .photo-band h3 { color: #fff; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.25; max-width: 30ch; margin: 0 auto; text-align: center; text-wrap: balance; }
.cta-band .wrap { text-align: left; }
.cta-band h2 { max-width: 18ch; }
.cta-band .contact-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 20rem)); gap: 28px 48px; margin-top: 36px; }
.cta-band .contact-lines a { color: #fff; }
.cta-band .contact-lines .name { font-weight: 600; display: block; margin-bottom: 4px; }

/* Steps (true sequences only) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--cedar); margin-bottom: 18px; }
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; }

/* Card grids */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards > div { background: var(--paper); padding: clamp(24px, 3vw, 36px); }
.cards h3 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0; margin-bottom: 10px; }
.cards p { color: var(--muted); font-size: 1rem; }

/* Buy box */
.buybox { margin: 0; display: grid; gap: 0; }
.buybox div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.buybox div:last-child { border-bottom: 1px solid var(--line); }
.buybox dt { font-weight: 600; }
.buybox dd { margin: 0; color: var(--ink); }

/* Founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.portrait { position: relative; width: 120px; aspect-ratio: 4 / 5; background: var(--stone); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; color: var(--muted); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait .todo { position: absolute; left: 6px; right: 6px; bottom: 6px; font-size: 0.6875rem; line-height: 1.25; text-align: center; padding: 3px; }
.founder h3 { margin-bottom: 4px; }
.founder .role { color: var(--muted); font-size: 0.9375rem; margin-bottom: 14px; }
.founder p { font-size: 1rem; }
.founders-close { margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.45; color: var(--ink-deep); max-width: 46rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ink); }
.timeline li { position: relative; display: grid; grid-template-columns: 9rem 1fr; gap: 24px; padding: 0 0 34px 32px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); border: 1px solid var(--ink); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--cedar); border-color: var(--cedar); }
.timeline .when { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; color: var(--cedar); }
.timeline .what { font-size: 1.0625rem; padding-top: 3px; }

/* Quiet pull-quote */
.quiet { border-left: 2px solid var(--cedar); padding: 6px 0 6px clamp(20px, 3vw, 36px); max-width: 46rem; }
.quiet h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.quiet p { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; color: var(--ink-deep); }

/* Contacts */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--paper); padding: clamp(24px, 3vw, 36px); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--muted); margin-bottom: 16px; }
.person a { display: block; width: fit-content; padding: 6px 0; font-weight: 500; }
.contact-line { font-size: 1.0625rem; }
.contact-line a { font-weight: 500; }

/* Partners */
.partner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-list article { background: var(--paper); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.partner-list h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 0; }
.partner-list p { color: var(--muted); margin: 0; }
.partner-list a { margin-top: auto; width: fit-content; }

/* Legal / plain pages */
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.disclaimer { font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 48px; max-width: 46rem; }

/* 9. Forms ----------------------------------------------------------------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 46rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: 0.9375rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.4 var(--sans); color: var(--ink-deep); background: #fff; border: 1px solid #9ca197; border-radius: 3px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #1f6feb; outline-offset: 1px; border-color: var(--sage); }
.field input:user-invalid, .field select:user-invalid { border-color: #a12c1f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: 0.875rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 16px 18px; background: #e9eee4; border-left: 3px solid var(--sage); border-radius: 2px; }
.form-status[hidden] { display: none; }
.contact-block { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: start; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: rgba(255,255,255,.86); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 0.9375rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: #fff; margin: 0 0 12px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 22rem; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: 0.875rem; color: rgba(255,255,255,.75); }

/* 11. Motion --------------------------------------------------------------- */
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 12. Breakpoints ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .founders { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .js .nav { display: none; }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); font-weight: 600; }
  .nav .btn { margin: 18px 0 0; min-height: 52px; }
  .site-header .nav .btn, .site-header:not(.is-solid):not(.is-open) .nav .btn { background: var(--sage); border-color: var(--sage); color: #fff; }
}
@media (max-width: 820px) {
  .split, .doors, .contact-block, .people, .partner-list { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .split.keep .media { order: 0; }
  .cta-band .contact-lines { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(0deg, rgba(16,20,18,.86) 0%, rgba(16,20,18,.55) 55%, rgba(16,20,18,.3) 100%); }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand .mark { width: 32px; height: 32px; }
  .brand .wordmark { width: 102px; height: 33px; }
  .hero { min-height: max(580px, 88svh); }
  .hero-actions { flex-direction: column; }
  .door { width: 100%; }
  .steps, .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .buybox div { grid-template-columns: 1fr; gap: 4px; }
  .founder { grid-template-columns: 88px 1fr; gap: 18px; }
  .portrait { width: 88px; font-size: 1.7rem; }
  .portrait .todo { font-size: 0.625rem; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
