/* I-GHA · Inclusive Global Health Alliance · v1 */
:root {
  --ink: #111111;
  --paper: #ffffff;
  --sand: #f4f1ec;
  --red: #b00e28;
  --red-dark: #7e0a1d;
  --red-light: #ff8a9a;
  --grey-1: #333333;
  --grey-2: #444444;
  --grey-3: #555555;
  --rule: #d4d4d4;
  --rule-sand: #c9c4bc;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3 { text-wrap: balance; font-weight: 400; margin: 0; }
p { text-wrap: pretty; margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 96px); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-red { background: var(--red); color: #fff; }

.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }
.kicker--muted { color: var(--grey-3); font-size: 12px; letter-spacing: 1.5px; }
.h-hero { font-family: var(--serif); font-size: clamp(48px, 7.2vw, 108px); line-height: 0.96; letter-spacing: -1.5px; }
.h-section { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 64px); line-height: 1; }
.h-hero i, .accent { color: var(--red); }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--grey-1); max-width: 580px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 17px; padding: 18px 28px; border: 0; cursor: pointer; font-family: inherit; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; color: #fff; }
.btn--dark .arrow { color: #ff6b7f; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sand); color: var(--ink); }
.link-u { color: var(--ink); font-weight: 600; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }

/* Logo (approved monogram) */
.logo { display: inline-flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.logo__mark { width: 64px; height: 64px; background: var(--red); display: flex; align-items: center; justify-content: center; flex: none; }
.logo__mark span { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 1; color: #fff; margin-top: 4px; }
.logo__name { display: flex; flex-direction: column; gap: 4px; }
.logo__word { font-family: var(--serif); font-size: 40px; line-height: 0.9; letter-spacing: -0.5px; }
.logo__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; }
.logo--sm .logo__mark { width: 44px; height: 44px; }
.logo--sm .logo__mark span { font-size: 37px; margin-top: 3px; }
.logo--sm .logo__word { font-size: 30px; color: #fff; }

/* Utility bar + masthead */
.util { background: var(--ink); color: #fff; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; }
.util .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 10px; }
.util a { color: #fff; }
.util a.util__cta { color: var(--red-light); }
.util__links { display: flex; gap: 24px; }
.mast .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-block: 28px 20px; background: linear-gradient(var(--ink), var(--ink)) center bottom / calc(100% - 2 * var(--gutter)) 2px no-repeat; }
.menu-btn { display: none; font: inherit; font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; background: none; border: 1px solid var(--ink); color: var(--ink); padding: 10px 14px; min-height: 44px; cursor: pointer; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--red); }
.nav a.nav__share { color: var(--red); border: 1px solid var(--red); padding: 8px 14px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-block: 72px 88px; }
.hero__text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__fig { flex: 1 1 460px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.collage { position: relative; padding-bottom: 96px; }
.collage__main { width: calc(100% - 48px); aspect-ratio: 730 / 633; object-fit: cover; }
.collage__inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; border: 8px solid #fff; }
.tag { position: absolute; left: 0; top: 24px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; padding: 8px 12px; }
.caption { font-size: 14px; color: var(--grey-3); line-height: 1.5; }

/* Seen & heard */
.seen { border-block: 1px solid var(--rule); }
.seen .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 44px; padding-block: 24px; }
.seen__name { font-family: var(--serif); font-size: 24px; }

/* Section heads */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.head--ruled { border-bottom: 2px solid var(--ink); padding-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 40px; }

/* Stories */
.stories { display: flex; flex-wrap: wrap; gap: 48px; }
.story-lead { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cover { aspect-ratio: 16 / 9; background: var(--ink); color: #fff; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; }
.cover__label { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: #cfcfcf; }
.cover__word { font-family: var(--serif); font-size: clamp(80px, 12vw, 176px); line-height: 0.85; letter-spacing: -2px; }
.cover__word span { color: #ff6b7f; }
.cover__line { display: flex; flex-direction: column; gap: 12px; }
.cover__line::before { content: ""; width: 64px; height: 4px; background: var(--red); }
.cover__line em { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); color: #e6e6e6; }
.story-lead h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; }
.story-lead p { font-size: 17px; line-height: 1.65; color: var(--grey-1); }
.byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: 14px; color: var(--grey-2); }
.byline b { color: var(--ink); }
.byline__links { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.story-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.mini { display: flex; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.mini:last-child { border-bottom: 0; padding-bottom: 0; }
.mini img { width: 128px; height: 128px; object-fit: cover; flex: none; }
.mini__body { display: flex; flex-direction: column; gap: 8px; }
.mini__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--red); }
.mini h3 { font-family: var(--serif); font-size: 23px; line-height: 1.15; }
.mini__meta { font-size: 13px; color: var(--grey-2); }
.bw { filter: grayscale(1) contrast(1.05); }
.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.soon__card { border: 1px dashed #9a9a9a; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.soon__card--wide { grid-column: span 2; }
.soon__card--cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; border: 0; background: var(--sand); color: var(--ink); text-decoration: none; }
.soon__title { font-family: var(--serif); font-size: 22px; }

.astory { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.astory__title { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.astory__text { font-size: 16px; line-height: 1.55; color: var(--grey-2); }
.astory__meta { font-size: 13px; color: var(--grey-3); }
.astory__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 600; margin-top: auto; }

/* How it works */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 56px; }
.path { display: flex; flex-direction: column; gap: 20px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: s; }
.steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule-sand); font-size: 17px; line-height: 1.5; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--red); width: 40px; flex: none; }

/* Get connected */
.connect { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 2px solid var(--ink); }
.connect a { color: var(--ink); text-decoration: none; padding: 28px 24px 32px 0; border-bottom: 1px solid var(--rule-sand); display: flex; flex-direction: column; gap: 14px; }
.connect a:hover .connect__go { text-decoration: underline; }
.connect__num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--red); }
.connect__title { font-size: 21px; font-weight: 600; }
.connect__text { font-size: 16px; line-height: 1.55; color: var(--grey-2); }
.connect__go { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; color: var(--red); }

/* Expert */
.expert { display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.expert__fig { flex: 1 1 340px; min-width: 0; margin: 0; position: relative; }
.expert__fig img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.06); }
.expert__fig .tag { top: auto; bottom: 24px; }
.expert__body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.expert__body .kicker { color: var(--red-light); }
.expert__body p { font-size: 18px; line-height: 1.65; color: #e6e6e6; max-width: 620px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 20px; border-top: 1px solid #444; padding-top: 20px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.stat span { font-size: 14px; color: #cfcfcf; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 32px; font-size: 16px; line-height: 1.5; color: #e6e6e6; }
.creds li { padding: 12px 0; border-top: 1px solid #444; }

/* The alliance */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
.partner { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 20px; }
.partner__name { font-family: var(--serif); font-size: 34px; line-height: 1; }
.partner p { font-size: 16px; line-height: 1.6; color: var(--grey-2); }
.partner__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 600; margin-top: auto; }
.pstories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.pstory { background: var(--sand); color: var(--ink); text-decoration: none; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pstory:hover .connect__go { text-decoration: underline; }
.pstory__title { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.pstory__text { font-size: 16px; line-height: 1.55; color: var(--grey-2); }
.pstory .connect__go { margin-top: auto; }

/* Quotes */
.quotes { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.quotes__fig { flex: 1 1 320px; min-width: 0; margin: 0; }
.quotes__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: rotate(-1.5deg); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.quotes__fig figcaption { margin-top: 22px; }
.quotes__list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.quote blockquote::before { content: "\201C"; color: var(--red); }
.quote--big { border-bottom: 1px solid var(--rule); padding-bottom: 32px; }
.quote--big blockquote { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; }
.quote figcaption { font-size: 15px; color: var(--grey-2); }
.quote figcaption b { color: var(--ink); }
.quotes__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }

/* Watch */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.video { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.video__thumb { display: block; aspect-ratio: 16 / 9; position: relative; background: #2a2a2a; overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video:hover .video__thumb img { transform: scale(1.03); }
.video__play { position: absolute; left: 16px; bottom: 16px; }
.video__time { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; padding: 3px 6px; }
.video__title { font-size: 19px; font-weight: 600; line-height: 1.35; }

.vfeature { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.videos--side { display: contents; }
.video--lead { grid-column: span 2; grid-row: span 2; }
.video--lead .video__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.vfeature .video:not(.video--lead) .video__title { font-size: 16px; }
.vfeature .video:not(.video--lead) .video__play { width: 40px; height: 40px; left: 10px; bottom: 10px; }
@media (max-width: 1000px) { .vfeature { grid-template-columns: repeat(2, minmax(0, 1fr)); } .video--lead { grid-row: auto; } }
@media (max-width: 560px) { .vfeature { grid-template-columns: minmax(0, 1fr); } .video--lead { grid-column: auto; } }
.archive { display: flex; flex-direction: column; gap: 12px; }
.archive__list { list-style: none; margin: 0; padding: 0; columns: 2 340px; column-gap: 48px; border-top: 1px solid var(--ink); }
.archive__list li { break-inside: avoid; border-bottom: 1px solid var(--rule-sand); }
.archive__list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.4; }
.archive__list a:hover span:first-child { color: var(--red); text-decoration: underline; }
.archive__list a::after { content: "↗"; color: var(--red); }
.archive__time { font-family: var(--mono); font-size: 13px; color: var(--grey-3); margin-left: auto; white-space: nowrap; }

/* Share: two ways */
.share__head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.way { position: relative; background: var(--sand); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.way--dark { background: var(--ink); color: #fff; }
.way--dark .kicker { color: var(--red-light); }
.way.way--dark p, .way.way--dark .way__steps { color: #e6e6e6; }
.way__num { font-family: var(--serif); font-size: 96px; line-height: 0.8; color: var(--red); }
.way--dark .way__num { color: #ff6b7f; }
.way__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.way p { font-size: 17px; line-height: 1.6; color: var(--grey-1); }
.way__steps { margin: 0; padding: 0 0 0 1.4em; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--grey-1); }
.way__steps li::marker { font-family: var(--mono); color: var(--red); }
.way--dark .way__steps li::marker { color: #ff6b7f; }
.way .btn { align-self: flex-start; margin-top: auto; }
.ways__note { font-size: 15px; color: var(--grey-2); border-left: 3px solid var(--red); padding-left: 12px; }

/* Share: chooser */
.chooser { border: 2px solid var(--ink); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; background: #fff; }
.chooser__q { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; display: flex; flex-direction: column; gap: 8px; }
.chooser__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.chooser__result { font-size: 16px; line-height: 1.5; color: var(--ink); min-height: 1.5em; }
.chooser__result:empty { display: none; }
.chooser__result b { color: var(--red); }

/* Pick cards (radio/checkbox styled as cards) */
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick__body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 44px 16px 16px; border: 1px solid var(--rule-sand); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.pick__body b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.pick__body small { font-size: 14px; line-height: 1.4; color: var(--grey-3); }
.pick__body::after { content: ""; position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border: 1.5px solid #9a9a9a; border-radius: 50%; transition: all .2s; }
.pick:hover .pick__body { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(17,17,17,.08); }
.pick input:focus-visible + .pick__body { outline: 3px solid var(--red); outline-offset: 2px; }
.pick input:checked + .pick__body { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fff8f9; }
.pick input:checked + .pick__body::after { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--red); animation: pop .3s ease; }
.cards { display: grid; gap: 12px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.cards--auto { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1px solid #9a9a9a; border-radius: 999px; font-size: 15px; background: #fff; transition: all .18s; }
.chip:hover span { border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before { content: "✓"; color: #ff8a9a; font-weight: 700; }

/* Ways: recommendation state */
.way__badge { position: absolute; top: 0; right: 0; background: var(--red); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 12px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.way { transition: opacity .35s, transform .35s, box-shadow .35s; }
.way.is-recommended { box-shadow: 0 0 0 3px var(--red); transform: translateY(-4px); }
.way.is-recommended .way__badge { opacity: 1; transform: none; }
.way.is-dimmed { opacity: .55; }
.way.is-dimmed:hover { opacity: 1; }

/* Wizard */
.wizard-wrap { scroll-margin-top: 24px; }
.wizard { position: relative; border: 2px solid var(--ink); background: #fff; padding: clamp(20px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.wizard input[type=text], .wizard input[type=email], .wizard input[type=url], .wizard textarea { width: 100%; max-width: 100%; min-width: 0; font: inherit; font-size: 16px; padding: 14px; border: 1px solid #8a8a8a; border-radius: 0; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.wizard input::placeholder, .wizard textarea::placeholder { color: #8a8a8a; }
.wizard input:hover, .wizard textarea:hover { border-color: var(--ink); }
.wizard input:focus, .wizard textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(176,14,40,.15); }
.wizard textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.wizard .is-invalid input, .wizard input.is-invalid, .wizard textarea.is-invalid { border-color: var(--red); background: #fff8f9; }
.wizard .is-invalid.chips, .wizard .is-invalid.cards { outline: 2px dashed var(--red); outline-offset: 6px; }
.wizard__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; }
.wizard__head > div { display: flex; flex-direction: column; gap: 8px; }
.wizard__title { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1; }
.wizard__saved { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--grey-3); display: inline-flex; align-items: center; gap: 8px; }
.wizard__saved::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2e8b57; }
.wizard__saved.is-flash::before { animation: pulse 1s ease; }

.wizard__progress { display: none; list-style: none; margin: 0; padding: 0; counter-reset: d; gap: 8px; }
.js .wizard__progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wizard__progress li { counter-increment: d; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--grey-3); min-width: 0; }
.wizard__progress li::before { content: counter(d); flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid #9a9a9a; border-radius: 50%; font-family: var(--mono); font-size: 13px; background: #fff; transition: all .3s; }
.wizard__progress li.is-active { color: var(--ink); font-weight: 600; }
.wizard__progress li.is-active::before { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(176,14,40,.15); }
.wizard__progress li.is-done { color: var(--ink); cursor: pointer; }
.wizard__progress li.is-done::before { content: "✓"; border-color: var(--ink); background: var(--ink); color: #fff; }
.wizard__bar { display: none; height: 4px; background: var(--sand); overflow: hidden; }
.js .wizard__bar { display: block; }
.wizard__bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--red), #e2324f); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.wizard__status { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--grey-3); margin-top: -12px; }
.wizard__status:empty { display: none; }

.wstep { min-width: 0; margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 20px; }
.wstep + .wstep { border-top: 1px solid var(--rule); padding-top: 28px; }
.js .wstep { display: none; border-top: 0; padding-top: 0; }
.js .wstep.is-active { display: flex; animation: stepIn .45s cubic-bezier(.2,.8,.2,1); }
.js .wstep.is-active.is-back { animation-name: stepBack; }
.wstep__title { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; padding: 0; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.field__label em { font-style: normal; font-weight: 400; color: var(--grey-3); font-size: 13px; }
.field__hint { font-size: 13px; line-height: 1.45; color: var(--grey-3); font-weight: 400; }
.field__hint--inline { font-size: 13px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px 24px; }
.qnum { flex: none; width: 26px; height: 26px; display: inline-grid; place-items: center; background: var(--red); color: #fff; font-family: var(--mono); font-size: 13px; }
.tip { font-size: 15px; line-height: 1.55; background: var(--sand); border-left: 3px solid var(--red); padding: 12px 16px; }
.tip::before { content: "Tip  "; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--red); text-transform: uppercase; }
.js [data-show-for] { display: none; }
.js [data-show-for].is-shown { display: flex; animation: fadeIn .35s ease; }
.js p[data-show-for].is-shown { display: block; }

.meter { display: flex; align-items: center; gap: 14px; }
.meter__track { flex: 1; height: 6px; background: var(--sand); overflow: hidden; }
.meter__track span { display: block; height: 100%; width: 0; background: #c9c4bc; transition: width .4s ease, background .4s; }
.meter.is-ok .meter__track span { background: #2e8b57; }
.meter.is-mid .meter__track span { background: #d08a1e; }
.meter__text { font-family: var(--mono); font-size: 12px; letter-spacing: .5px; color: var(--grey-2); white-space: nowrap; }
.meter:not(.is-js) { display: none; }

.review { margin: 0; display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto; border-top: 1px solid var(--ink); }
.review:empty { display: none; }
.review > * { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; font-size: 15px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.review dt { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--grey-3); padding-right: 16px; }
.review dd { white-space: pre-line; }
.review button { font: inherit; font-size: 14px; background: none; border: 0; border-bottom: 1px solid var(--rule); color: var(--red); cursor: pointer; text-decoration: underline; padding: 12px 0 12px 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; padding: 14px 16px; border: 1px solid var(--rule-sand); transition: border-color .2s, background .2s; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }
.consent:has(input:checked) { border-color: var(--ink); background: #fbfaf8; }

.wizard__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 1px solid var(--rule); padding-top: 24px; }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.js .wizard__nav [data-prev], .js .wizard__nav [data-next] { display: inline-flex; }
.wizard__nav [data-prev], .wizard__nav [data-next] { display: none; }
.js .wizard__nav [data-prev][hidden], .js .wizard__nav [data-next][hidden], .js .wizard__nav [data-submit][hidden] { display: none; }
.btn--ghost { background: none; color: var(--ink); border: 1px solid var(--ink); padding: 17px 24px; }
.btn--ghost:hover { background: var(--sand); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__error { margin: 0; padding: 12px 14px; border-left: 4px solid var(--red); background: #fdecee; color: var(--red-dark); font-size: 15px; }
.form__error[hidden] { display: none; }
.form__alt { font-size: 15px; color: var(--grey-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,139,87,.6); } 100% { box-shadow: 0 0 0 10px rgba(46,139,87,0); } }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 30%, 70% { transform: translateX(4px); } 50% { transform: translateX(-4px); } }
.is-shake { animation: shake .4s ease; }

/* Places */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; border-top: 2px solid var(--ink); padding-top: 32px; }
.place { display: flex; flex-direction: column; gap: 12px; }
.place__name { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.place p { font-size: 16px; line-height: 1.6; color: var(--grey-2); }
.place--row { flex-direction: row; gap: 16px; align-items: flex-start; }
.place--row img { width: 112px; height: 112px; object-fit: cover; flex: none; }
.place--row .place__name { font-size: 24px; }

/* CTA + footer */
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-block: 88px; }
.cta h2 { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 1; max-width: 760px; }
.footer { background: var(--ink); color: #cfcfcf; font-size: 14px; line-height: 1.6; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer p { max-width: 560px; }
.footer__partners { display: flex; flex-direction: column; gap: 6px; }
.footer__partners a { color: #ffffff; text-decoration: none; }
.footer__partners a:hover { text-decoration: underline; color: #ffffff; }

@media (max-width: 720px) {
  .mast .wrap { align-items: center; }
  .logo__mark { width: 52px; height: 52px; }
  .logo__mark span { font-size: 44px; }
  .logo__word { font-size: 32px; }
  .mast .wrap { gap: 16px 12px; }
  .logo { gap: 12px; min-width: 0; }
  .logo__tag { font-size: 9px; letter-spacing: 1.2px; max-width: 150px; line-height: 1.4; }
  .js .menu-btn { display: inline-flex; align-items: center; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; border-top: 1px solid var(--rule); }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .js .nav a.nav__share { margin-top: 12px; text-align: center; padding: 14px; }
  .soon__card--wide { grid-column: auto; }
  .util__place { display: none; }
  .hero { padding-block: 48px 64px; gap: 40px; }
  .mini img { width: 96px; height: 96px; }
  .place--row { flex-direction: column; }
  .wizard__progress li { font-size: 0; gap: 0; justify-content: center; }
  .wizard__progress li.is-active { font-size: 0; }
  .review { grid-template-columns: minmax(0, 1fr) auto; }
  .review dt { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 0; }
  .review dd { padding-top: 4px; }
  .review button { padding-top: 4px; }
  .wizard__nav .btn { padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video__thumb img { transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
