/* BookingKY design system: Premium Kentucky Lodging */
:root {
  --navy: #112B39;
  --navy-2: #1C3A4A;
  --ivory: #F5F1E8;
  --white: #FCFBF8;
  --stone: #E3DCD0;
  --taupe: #B3A28C;
  --taupe-deep: #7A6852;
  --teal: #3F6E73;
  --teal-soft: #DCE7E6;
  --ink: #1B2830;
  --muted: #5C676C;
  --line: #E3DCD0;
  --on-dark: #DCE3E6;
  --on-dark-muted: #AFBDC3;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 18px 40px -24px rgba(17, 43, 57, .35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--ivory); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.7rem, 6.2vw, 4.8rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.white { background: var(--white); }
.section.stone { background: var(--stone); }
.section.navy { background: var(--navy); color: var(--on-dark); }
.section.navy h2, .section.navy h3, .section.navy h4 { color: var(--ivory); }
.eyebrow { font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; margin-bottom: 1em; display: block; }
.navy .eyebrow, .hero .eyebrow { color: var(--taupe); }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.navy .lead { color: var(--on-dark-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rule { width: 56px; height: 1px; background: var(--taupe); border: 0; margin: 0 0 1.4em; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .86rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 16px 26px; border-radius: 2px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: var(--navy-2); color: var(--white); }
.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: rgba(17, 43, 57, .06); color: var(--navy); }
.hero .btn-ghost, .navy .btn-ghost { color: var(--ivory); }
.hero .btn-ghost:hover, .navy .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.text-link { font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(179, 162, 140, .22); }
.header-bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-word { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.logo-word b { font-weight: 600; color: var(--taupe); }
.logo-tag { display: block; font-family: var(--sans); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 5px; }
.header-cta { padding: 13px 20px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); padding: 10px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
.primary-nav { border-top: 1px solid rgba(255, 255, 255, .07); }
.primary-nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: center; gap: clamp(16px, 1.7vw, 30px); }
.primary-nav a { display: block; white-space: nowrap; color: var(--on-dark); text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .01em; padding: 13px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: var(--white); }
.primary-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--taupe); }
.primary-nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 1300px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: fixed; inset: 76px 0 0 0; background: var(--navy); padding: 16px 0 32px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; visibility: hidden; }
  .primary-nav.open { transform: none; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; max-width: 720px; }
  .primary-nav a { font-size: 1.05rem; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .primary-nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .07); color: var(--taupe); }
  .primary-nav .nav-cta { display: block; margin-top: 20px; }
  .primary-nav .nav-cta a { border: 0; text-align: center; color: var(--navy); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) { .header-cta { display: none; } }

/* Hero */
.hero { position: relative; color: var(--ivory); min-height: min(86vh, 780px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 43, 57, .5) 0%, rgba(17, 43, 57, .3) 30%, rgba(17, 43, 57, .45) 55%, rgba(17, 43, 57, .9) 100%); }
.hero .crumbs, .hero .eyebrow { text-shadow: 0 1px 8px rgba(10, 24, 32, .6); }
.hero h1.property-title { max-width: 22ch; }
.h1-sub { display: block; font-size: .42em; letter-spacing: .04em; margin-top: .5em; color: #E4EAEC; }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(52px, 8vw, 104px); width: 100%; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p.lead { color: #E4EAEC; }
.hero.short { min-height: 54vh; }
.hero.plain { min-height: 0; }
.hero.plain::after { display: none; }
.hero.plain .wrap { padding-top: clamp(64px, 10vw, 116px); padding-bottom: clamp(48px, 7vw, 84px); }
.hero.plain h1 { max-width: 20ch; }
.brand-lockup { margin-bottom: 1.6em; }
.brand-lockup strong { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 500; color: var(--white); letter-spacing: .02em; }
.brand-lockup span { font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }

/* Breadcrumbs */
.crumbs { font-size: .82rem; margin-bottom: 1.4em; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--taupe); text-decoration: none; }
.crumbs [aria-current] { color: var(--on-dark-muted); }

/* Grids & cards */
.grid { display: grid; gap: clamp(20px, 3vw, 36px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.grid-5 .feature { padding: 24px; }
.grid-5 .feature h3 { font-size: 1.3rem; }
.addons { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--radius); padding: 28px 32px; }
.addons .check-list { columns: 2 200px; column-gap: 32px; margin: 0; }
.addons .check-list li { break-inside: avoid; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split.rev > :first-child { order: 2; } }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.card-body .meta { color: var(--muted); font-size: .94rem; margin: 0; }
.card-body .btn-row { margin-top: auto; padding-top: 14px; }
.tag { position: absolute; top: 16px; left: 16px; background: var(--ivory); color: var(--navy); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 7px 11px; z-index: 1; }
.tag.dark { background: var(--navy); color: var(--ivory); }

.stay-card .card-media { aspect-ratio: 16 / 10; }
.stay-card .card-body { padding: 36px; }
.stay-card h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); }

.price { white-space: nowrap; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); line-height: 1; margin: 4px 0 0; }
.price span { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--teal); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.status.soon { color: var(--taupe-deep); }
.status.soon::before { background: var(--taupe); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 6px 0 0; font-size: .92rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--taupe); }
.hero .facts { color: #E4EAEC; font-size: 1rem; margin-top: 1.2em; }

.feature { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature h3 { font-size: 1.45rem; }
.feature p { color: var(--muted); margin: 0; }
.feature p + p { margin-top: 12px; }
.navy .feature { background: rgba(255, 255, 255, .03); border-color: rgba(179, 162, 140, .22); }
.navy .feature p { color: var(--on-dark-muted); }
.icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--taupe); color: var(--taupe-deep); margin-bottom: 16px; }
.navy .icon { color: var(--taupe); }
.icon svg { width: 21px; height: 21px; }
a.feature-link { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; display: block; }
a.feature-link:hover { border-color: var(--taupe); transform: translateY(-2px); }
a.feature-link h3 { color: var(--navy); }
.navy a.feature-link h3 { color: var(--ivory); }
.feature .more { display: inline-block; margin-top: 14px; font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--teal); }
.navy .feature .more { color: var(--taupe); }

.audience-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 32px; }
.audience-list li { border-bottom: 1px solid rgba(179, 162, 140, .25); }
.audience-list a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; color: var(--ivory); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }
.audience-list a::after { content: "→"; font-family: var(--sans); color: var(--taupe); }
.audience-list a:hover { color: var(--white); }

.amenities { columns: 2 220px; column-gap: 32px; padding: 0; margin: 0; list-style: none; }
.amenities li { break-inside: avoid; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; }
.amenities li::before { content: ""; position: absolute; left: 3px; top: 18px; width: 11px; height: 6px; border-left: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(-45deg); }
.feature-groups { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature-groups h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-deep); margin-bottom: 8px; font-weight: 600; }
.feature-groups .amenities { columns: 1; }

.note { border-left: 2px solid var(--taupe); background: rgba(179, 162, 140, .14); padding: 18px 22px; font-size: .95rem; color: var(--ink); }
.note.teal { border-left-color: var(--teal); background: var(--teal-soft); }
.navy .note { color: var(--on-dark); background: rgba(179, 162, 140, .12); }
.note strong { color: inherit; }
.note p:last-child { margin-bottom: 0; }

/* Steps (leasing process) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 36px 72px; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 46px; height: 46px; border: 1px solid var(--taupe); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: var(--navy); background: var(--white); }
.steps > li::after { content: ""; position: absolute; left: 23px; top: 50px; bottom: 6px; width: 1px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.55rem; margin-bottom: .3em; }
.steps p { color: var(--muted); }
.steps .check-list { color: var(--ink); }
.steps.compact > li { padding-bottom: 22px; }
.steps.compact h3 { font-size: 1.3rem; }

/* Gallery */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } .gallery .g-wide { grid-column: span 2; } .gallery .g-tall { grid-row: span 2; } .gallery .g-big { grid-column: span 2; grid-row: span 2; } }
.gallery button { all: unset; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; display: block; aspect-ratio: 4 / 3; background: var(--navy-2); }
@media (min-width: 760px) { .gallery button { aspect-ratio: auto; } }
.gallery button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.025); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 24, 32, .95); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 56px 16px 72px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; }
.lightbox figcaption { color: var(--on-dark); text-align: center; margin-top: 12px; font-size: .92rem; }
.lb-btn { position: fixed; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

figure.framed { margin: 0; }
figure.framed img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figure.framed figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.navy figure.framed figcaption { color: var(--on-dark-muted); }

/* Side panel */
.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; border-top: 3px solid var(--navy); }
.panel h3 { margin-bottom: .3em; }
.panel .btn { width: 100%; margin-top: 10px; }
.panel small { display: block; color: var(--muted); margin-top: 14px; line-height: 1.55; font-size: .84rem; }
.panel .spec { margin: 16px 0 6px; }
@media (min-width: 900px) { .sticky { position: sticky; top: 140px; } }
.layout-side { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .layout-side { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.content-block + .content-block { margin-top: 52px; }
.content-block h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.home-option { padding: 14px 0; border-bottom: 1px solid var(--line); }
.home-option h4 { margin: 0 0 4px; font-size: 1.3rem; }
.home-option h4 a { color: var(--navy); text-decoration: none; }
.home-option h4 a:hover { text-decoration: underline; }
.home-option .meta { margin: 0; color: var(--muted); font-size: .88rem; }

/* Forms */
form.stack { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
label, .legend { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 6px; }
label .opt, .legend .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid #CFC6B7; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(63, 110, 115, .18); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #A4443A; }
textarea { min-height: 140px; resize: vertical; }
textarea.large { min-height: 240px; }
.hint { font-size: .85rem; color: var(--muted); margin: -2px 0 8px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.choice legend { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 10px; padding: 0; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.choices label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid #D8D0C2; border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; cursor: pointer; font-size: .95rem; line-height: 1.4; }
.choices label:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.choices input, .check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--teal); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 14px 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-soft); color: var(--navy); }
.form-status.warn { background: rgba(179, 162, 140, .2); color: var(--ink); }

/* Housing request wizard */
.wizard { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); }
.progress { margin-bottom: 32px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.progress-label strong { color: var(--navy); font-weight: 600; }
.progress-bar { height: 3px; background: var(--stone); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 11%; background: var(--teal); transition: width .3s ease; }
.no-js .progress { display: none; }
.step { display: grid; gap: 22px; }
.is-stepped .step { display: none; }
.is-stepped .step.active { display: grid; }
.no-js .step + .step { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.step-title { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.5rem); color: var(--navy); line-height: 1.1; padding: 0; margin-bottom: 4px; }
.step-title:focus { outline: none; }
.step-num { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-deep); font-weight: 600; margin-bottom: 10px; }
.step-intro { color: var(--muted); margin: 0; }
.step-error { background: #F6E4E1; color: #7A2E25; padding: 12px 16px; font-size: .92rem; margin: 0; }
.step-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav .spacer { flex: 1; }
.no-js [data-prev], .no-js [data-next] { display: none; }
.review { display: grid; gap: 18px; }
.review section { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.review header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.review h4 { margin: 0; font-size: 1.25rem; }
.review button { all: unset; cursor: pointer; color: var(--teal); font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.review button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.review dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.review .empty { color: var(--muted); font-size: .9rem; margin: 0; }
.wizard-done { text-align: center; padding: 24px 0; }
.wizard-done h2 { margin-top: 8px; }
.wizard-done textarea { min-height: 220px; font-size: .88rem; margin-top: 12px; text-align: left; }

/* Lists & tables */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { padding: 6px 0 6px 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 11px; height: 6px; border-left: 1.5px solid var(--taupe-deep); border-bottom: 1.5px solid var(--taupe-deep); transform: rotate(-45deg); }
.navy .check-list li::before { border-color: var(--taupe); }
table.data { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--navy); color: var(--ivory); font-weight: 600; }
table.data tbody th { color: var(--navy); font-weight: 600; width: 34%; }
.table-scroll { overflow-x: auto; }
.pill { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--taupe); color: var(--taupe-deep); white-space: nowrap; }

details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--taupe-deep); }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 18px; color: var(--muted); }

.quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.45; color: var(--navy); }
.letter p { font-size: 1.08rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--teal); }
.stat-strip { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); background: rgba(179, 162, 140, .3); overflow: hidden; border-radius: var(--radius); }
.stat-strip div { background: var(--navy); padding: 22px; text-align: center; }
.stat-strip strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--ivory); line-height: 1.1; }
.stat-strip span { font-size: .82rem; color: var(--on-dark-muted); }
.ext::after { content: " ↗"; font-size: .85em; }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 72px 0 30px; font-size: .92rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin: 0; max-width: 52ch; }
.footer-grid h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
.no-js .reveal { opacity: 1; transform: none; }
