/* PRMACK.AI. Calm, neutral base. The one brick red is reserved for the things we want clicked.
   Light is the default. Dark follows the visitor's device, or the small switch in the footer. */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #faf7f2;          /* warm off-white page */
  --band: #f1ece3;        /* sand band */
  --card: #ffffff;
  --field: #ffffff;
  --field-line: #cbc3b5;
  --ink: #1c2433;         /* navy-charcoal headings */
  --text: #333a45;
  --muted: #646b76;
  --line: #e2dbce;
  --accent: #a8412f;      /* muted brick: buttons and small accents only */
  --accent-dark: #8a3324;
  --link: #8a3324;
  --ok: #3c6b57;
  --deep: #1c2433;        /* dark bands and footer */
  --deep-2: #131926;
  --on-deep: #d6dae1;
  --glow: #e6b9a6;        /* soft clay for small labels on dark */
  --logo-red: #a3121a;
  --shadow: 0 1px 2px rgba(30,25,15,.05), 0 14px 34px rgba(30,25,15,.08);
  --radius: 20px;
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
/* DARK-START (the same block is repeated for the manual switch below) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b1a18; --band: #232220; --card: #2a2826; --field: #1f1e1c; --field-line: #56524c;
    --ink: #f4f0e8; --text: #dcd7ce; --muted: #a9a399; --line: #3a3733;
    --accent: #b84a36; --accent-dark: #cf5a44; --link: #eda28f; --ok: #7fc0a2;
    --deep: #121110; --deep-2: #0b0a0a; --on-deep: #d6d2ca; --glow: #e6b9a6;
    --logo-red: #e5484d;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1b1a18; --band: #232220; --card: #2a2826; --field: #1f1e1c; --field-line: #56524c;
  --ink: #f4f0e8; --text: #dcd7ce; --muted: #a9a399; --line: #3a3733;
  --accent: #b84a36; --accent-dark: #cf5a44; --link: #eda28f; --ok: #7fc0a2;
  --deep: #121110; --deep-2: #0b0a0a; --on-deep: #d6d2ca; --glow: #e6b9a6;
  --logo-red: #e5484d;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px rgba(0,0,0,.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .45em; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 7.4vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.8vw, 2.9rem); }
h3 { font-size: 1.22rem; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: 76px 0; scroll-margin-top: 76px; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--link); margin-bottom: 1em; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 40em; }
.fine { font-size: .92rem; color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 100; }
[hidden] { display: none !important; }

/* Bands */
.alt { background: var(--band); }
.dark { background: var(--deep); color: var(--on-deep); }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--glow); }
.dark .lead { color: #c3c8d0; }
.dark .fine { color: #a7adb7; }
.dark a { color: var(--glow); }
.dark .card { color: var(--text); }
.dark .card h3 { color: var(--ink); }
.dark .card a:not(.btn) { color: var(--link); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Header: light and quiet */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 14px; }
.brand { color: var(--ink); display: inline-flex; align-items: center; text-decoration: none; }
.logo { display: block; height: 40px; width: auto; }
.logo .dk { display: none; }
footer .logo .lt { display: none; }
footer .logo .dk { display: inline; }
@media (max-width: 420px) { .logo { height: 32px; } }
.head-actions { display: flex; align-items: center; gap: 10px; }
.site-header .btn { padding: 10px 18px; font-size: .92rem; }
.nav { display: none; }
.nav a { color: var(--text); text-decoration: none; font-size: .97rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); border-color: var(--line); }
.nav a.on { color: var(--ink); font-weight: 650; border-color: var(--accent); }
.menu-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; background: transparent; border: 1.5px solid var(--field-line); border-radius: 999px; cursor: pointer; color: var(--ink); font: 600 .92rem var(--sans); }
.menu-btn i { display: grid; gap: 4px; width: 18px; }
.menu-btn i span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn.open i span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open i span:nth-child(2) { opacity: 0; }
.menu-btn.open i span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1019px) {
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); padding: 4px 22px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0,0,0,.12); }
  .nav.open a { font-family: var(--serif); font-size: 1.55rem; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav.open a.on { color: var(--link); }
  .site-header .head-actions .btn { display: none; }
}
@media (min-width: 480px) and (max-width: 1019px) { .site-header .head-actions .btn { display: inline-block; } }
@media (min-width: 1020px) { .nav { display: flex; gap: 26px; } .menu-btn { display: none; } }

/* Buttons: the only strong color on the page */
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font: 650 1.02rem/1.25 var(--sans); padding: 16px 30px; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; text-align: center; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { background: #8a3324; border-color: #8a3324; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(138,51,36,.28); }
.btn.big { font-size: 1.12rem; padding: 19px 36px; }
.btn.ghost { background: transparent; color: var(--link); border-color: currentColor; }
.btn.ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.ghost-light:hover { background: #fff; color: #1c2433; border-color: #fff; box-shadow: none; }
.btn.block { display: block; width: 100%; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.go { color: var(--link); font-weight: 650; font-size: .98rem; }

/* HOME hero: photo, headline, one action */
.hero { position: relative; color: #e8eaee; background: #131926; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("assets/hero.jpg"), url("assets/room.jpg"); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17,22,34,.96) 0%, rgba(17,22,34,.86) 44%, rgba(17,22,34,.42) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
@media (min-width: 900px) { .hero .wrap { padding-top: 116px; padding-bottom: 124px; } }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(17,22,34,.78) 0%, rgba(17,22,34,.95) 70%); } }
.hero .where { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); margin-bottom: 20px; }
.hero h1 { color: #fff; max-width: 11.5em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--glow); }
.hero .lead { color: #d5d9e0; font-size: 1.26rem; max-width: 31em; margin-top: 1em; }
.hero .next-up { margin-top: 2.2em; padding-top: 1.6em; border-top: 1px solid rgba(255,255,255,.22); max-width: 640px; }
.hero .next-up .k { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--glow); }
.hero .next-up .t { font-family: var(--serif); font-size: 1.75rem; color: #fff; line-height: 1.2; margin: .25em 0 .2em; }
.hero .next-up .d { color: #d0d5dc; font-size: 1.02rem; margin: 0; }
.hero .more { color: #fff; font-weight: 600; align-self: center; }

/* Proof row */
.proof { padding: 0; border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 34px 0; display: grid; gap: 26px 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .proof ul { grid-template-columns: repeat(4, 1fr); padding: 44px 0; } }
.proof strong { display: block; font-family: var(--serif); font-size: 2.5rem; font-weight: 600; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.proof li { font-size: .96rem; line-height: 1.45; color: var(--muted); }

/* Business / Personal choice */
.chooser { padding: 0; }
.chooser .q { text-align: center; padding: 72px 22px 34px; }
.chooser .q h2 { margin: 0; }
.choice { display: grid; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .choice { grid-template-columns: 1fr 1fr; } }
.choice a { display: block; padding: 40px 22px 48px; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); transition: background .3s; }
@media (min-width: 800px) { .choice a { padding: 56px clamp(28px, 6vw, 96px) 72px; } .choice a + a { border-left: 1px solid var(--line); } .choice a:first-child { text-align: right; } }
.choice a:hover { background: var(--band); }
.choice .k { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--link); }
.choice .t { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; color: var(--ink); margin: .2em 0 .35em; letter-spacing: -.02em; }
.choice .d { display: block; color: var(--muted); max-width: 24em; }
@media (min-width: 800px) { .choice a:first-child .d { margin-left: auto; } }
.choice .go { display: inline-block; margin-top: 1em; transition: transform .25s; }
.choice a:hover .go { transform: translateX(6px); }

/* Photo + story */
.story-split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .story-split { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.pic img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.pic figcaption, .room figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
figure { margin: 0; }
blockquote.pull { margin: 0 0 .8em; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.35rem); line-height: 1.22; color: var(--ink); letter-spacing: -.015em; }
.dark blockquote.pull { color: #fff; }

/* Numbered area list (home) */
.arealist { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.arealist a { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px 16px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: padding .25s; }
.arealist a:hover { padding-left: 12px; }
.arealist .num { font-family: var(--serif); font-size: 1.1rem; color: var(--link); }
.arealist .t { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--ink); line-height: 1.15; letter-spacing: -.015em; }
.arealist .d { grid-column: 2; color: var(--muted); max-width: 38em; }
.arealist .arrow { grid-row: 1; grid-column: 3; font-size: 1.5rem; color: var(--link); transition: transform .25s; }
.arealist a:hover .arrow { transform: translateX(6px); }

/* Headlines (home teaser) */
.heads { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 34px; }
@media (min-width: 860px) { .heads { grid-template-columns: repeat(3, 1fr); gap: 44px; } }
.heads a { text-decoration: none; color: var(--text); display: block; border-top: 2px solid var(--ink); padding-top: 18px; }
.heads h3 { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; line-height: 1.2; transition: color .2s; }
.heads p { font-size: 1rem; color: var(--muted); }
.heads a:hover h3 { color: var(--link); }

/* Grids and soft panels */
.grid3, .grid4 { display: grid; gap: 28px; }
@media (min-width: 820px) { .grid3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } .grid4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.plain3 > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.plain3 .num { font-family: var(--serif); color: var(--link); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; font-size: 1.06rem; color: var(--ink); }
.dark .note { color: #fff; }

/* Service sections */
.split { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; gap: 64px; } .split > aside { position: sticky; top: 96px; } }
.checks { list-style: none; padding: 0; margin: 0 0 1.3em; }
.checks li { padding-left: 34px; position: relative; margin-bottom: 11px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 15px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.dark .checks li::before { border-color: var(--glow); }
.dark .card .checks li::before { border-color: var(--ok); }
.facts { margin: 0; }
.facts div { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { width: 88px; flex: none; font-weight: 650; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; padding-top: 5px; }
.facts dd { margin: 0; }
.pricebox .big { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; color: var(--ink); line-height: 1; }
.pricebox .was { color: var(--muted); font-size: .98rem; margin: 8px 0 18px; }
.pricebox .btn + .btn { margin-top: 10px; }

/* Services row (business page) */
.ways { padding: 64px 0 40px; }
.ways-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ways-head h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.1rem); }
.ways-nav { display: flex; gap: 8px; }
.ways-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--field-line); background: var(--card); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s; }
.ways-nav button:hover { border-color: var(--accent); color: var(--link); }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 6px 28px; margin: 0 -6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > .card { flex: 0 0 84%; scroll-snap-align: start; display: flex; flex-direction: column; transition: transform .25s; }
.carousel > .card:hover { transform: translateY(-4px); }
@media (min-width: 640px) { .carousel > .card { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 980px) { .carousel > .card { flex-basis: calc((100% - 40px) / 3); } }
.door h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.door .price { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.door .price small { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--link); }
.door .meta { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.door p { flex: 1; }

/* Inner page banner: calm sand, not a color block */
.pagehero { background: var(--band); padding: 60px 0 56px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .pagehero { padding: 92px 0 84px; } }
.pagehero h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); max-width: 14em; }
.pagehero .btn.ghost-light { color: var(--link); border-color: currentColor; }
.pagehero .btn.ghost-light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.jump { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 1.6em 0 0; }
.jump a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 600; border: 1.5px solid var(--field-line); border-radius: 999px; padding: 8px 17px; transition: background .2s, color .2s, border-color .2s; }
.jump a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Forms */
form { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: .97rem; color: var(--ink); display: block; }
label .opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; margin-top: 6px; padding: 14px; font: inherit; font-size: 17px; color: var(--text); border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--field); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); outline: none; }
textarea { min-height: 104px; resize: vertical; }
.check { display: flex; gap: 11px; align-items: flex-start; font-weight: 400; color: var(--text); }
.check input { width: 22px; height: 22px; margin-top: 4px; flex: none; accent-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 600; font-size: .97rem; color: var(--ink); padding: 0; margin-bottom: 10px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { font-weight: 600; padding: 13px 16px; border-radius: 12px; display: none; }
.form-msg.ok { display: block; background: #e4f2ea; color: #245a43; }
.form-msg.err { display: block; background: #fdeceb; color: #9b1c12; }
.signup { display: grid; gap: 12px; margin-top: 1.6em; max-width: 900px; }
@media (min-width: 820px) { .signup { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; } .signup .form-msg, .signup .fine { grid-column: 1 / -1; } }
.dark .signup label { color: #fff; }

/* About */
.about { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .about.has-pic { grid-template-columns: 340px 1fr; gap: 64px; } }
.portrait img { display: block; width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--ink); padding: 22px 40px 22px 0; list-style: none; position: relative; line-height: 1.25; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--sans); font-size: 1.7rem; font-weight: 300; color: var(--link); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 22px; max-width: 44em; }

/* Room photo */
.room { margin: 2em 0 0; }
.room img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Events */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.events li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px 26px; align-items: center; }
@media (min-width: 760px) { .events li { grid-template-columns: 180px 1fr auto; } }
.events .when strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.events .when span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.events li.open .when strong { color: var(--link); }
.events h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.events p { margin: 0; color: var(--muted); }
.events .btn { padding: 12px 24px; white-space: nowrap; justify-self: start; }

/* Learn */
.story { border-top: 2px solid var(--ink); padding: 26px 0 30px; scroll-margin-top: 84px; }
.story h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 .6em; }
.story .lbl { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; color: var(--link); margin: 16px 0 3px; }
.story p { margin: 0 0 .5em; max-width: 44em; }
.story p.go { margin-top: 14px; }
.gloss { margin: 30px 0 0; display: grid; gap: 0 56px; }
@media (min-width: 820px) { .gloss { grid-template-columns: 1fr 1fr; } }
.gloss div { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.gloss dt { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.gloss dd { margin: 0; }
.five { margin: 1.4em 0 0; padding: 0; list-style: none; counter-reset: q; }
.five li { counter-increment: q; position: relative; padding: 18px 0 18px 58px; border-top: 1px solid rgba(255,255,255,.16); }
.five li::before { content: counter(q); position: absolute; left: 0; top: 12px; font-family: var(--serif); font-size: 2.2rem; color: var(--glow); line-height: 1.1; }
.five strong { display: block; color: #fff; font-weight: 650; margin-bottom: 2px; }

/* Closing band on every page */
.next { padding: 0 0 84px; }
.cta-band { background: var(--deep); color: var(--on-deep); border-radius: 28px; padding: 48px 28px; }
@media (min-width: 860px) { .cta-band { padding: 72px 72px; } }
.cta-band h2 { color: #fff; max-width: 16em; }
.cta-band p { max-width: 38em; }

/* Footer */
footer { background: var(--deep-2); color: #a4abb6; padding: 60px 0 44px; font-size: .96rem; line-height: 1.9; }
footer a { color: #dfe3e9; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .cols4 { display: grid; gap: 30px; }
@media (min-width: 780px) { footer .cols4 { grid-template-columns: 2fr 1fr 1fr 1fr; } }
footer strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
footer .logo { height: 40px; color: #fff; margin-bottom: 14px; --logo-red: #e5484d; }
.foot-end { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.theme-btn { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #dfe3e9; font: 500 .88rem var(--sans); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.theme-btn:hover { border-color: #fff; color: #fff; }

/* Phone action bar */
.actionbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: color-mix(in srgb, var(--card) 96%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; box-shadow: 0 -8px 26px rgba(30,25,15,.1); }
.actionbar .txt { flex: 1; font-size: .86rem; line-height: 1.3; color: var(--muted); }
.actionbar .txt strong { color: var(--ink); display: block; font-size: .97rem; }
.actionbar .btn { padding: 12px 24px; white-space: nowrap; }
@media (min-width: 1020px) { .actionbar { display: none; } }
@media (max-width: 1019px) { footer { padding-bottom: 124px; } }

/* Terms / thanks */
.page { padding: 56px 22px 84px; max-width: 780px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.page h2 { font-size: 1.6rem; margin-top: 1.8em; }

/* Small finishing rules */
.cta-band .eyebrow { color: var(--glow); }
.about > div { max-width: 44em; }
.arealist li { margin: 0; }
.heads li { margin: 0; }
footer .logo { display: block; }
@media (min-width: 900px) { .story-split.flip { grid-template-columns: 1.05fr 1fr; } }
@media (max-width: 899px) { .story-split.flip .pic { order: -1; } }
.wide-pic { margin: 0 0 48px; }
.wide-pic img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 700px) { .wide-pic img { aspect-ratio: 3 / 2; } }
.hero::before { background-position: center 60%; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .lt { display: none; } :root:not([data-theme="light"]) .logo .dk { display: inline; } }
:root[data-theme="dark"] .logo .lt { display: none; }
:root[data-theme="dark"] .logo .dk { display: inline; }
.arealist .ask { grid-column: 2; font-weight: 600; color: var(--link); margin-top: 4px; }
