/* Wilderbeaster public site */

:root {
  --navy-950: #14110e;
  --navy-900: #1e3a2f;
  --navy-800: #2a4f3e;
  --navy-700: #3d6854;
  --teal-600: #6b4423;
  --teal-500: #c4a35a;
  --teal-300: #f3e0b5;
  --teal-50: #f6f1e6;
  --amber-400: #e7c27a;
  --ink: #1c1915;
  --text: #3f3a33;
  --muted: #6f675c;
  --line: #e6dfd2;
  --bg: #fffdf8;
  --bg-soft: #f6f1e6;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 21, .06), 0 1px 3px rgba(28, 25, 21, .08);
  --shadow: 0 10px 30px -12px rgba(28, 25, 21, .18);
  --shadow-lg: 0 30px 60px -20px rgba(28, 25, 21, .30);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.optional { color: var(--muted); font-weight: 400; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none; }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--teal-500); color: var(--navy-950); }
.btn-accent:hover { background: var(--teal-300); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(196, 163, 90, .7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }

.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; text-decoration: none; }
.text-link .icon { transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; }
.brand-name { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand-light, .brand-light:hover { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--text);
  text-decoration: none; font-weight: 550; font-size: .97rem;
}
.site-nav ul a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--teal-50); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 24px 28px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px; font-size: 1.05rem; }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-head--center { text-align: center; }
.section-head--left { margin-left: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #e7e1d4;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(231, 194, 122, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20, 48, 36, .75), transparent 60%),
    var(--navy-900);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: clamp(64px, 9vw, 120px) 24px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--teal-300); }
.hero .eyebrow { color: var(--teal-300); background: rgba(231, 194, 122, .14); padding: 6px 12px; border-radius: 999px; }
.hero-text { font-size: 1.18rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: #c9bba6; list-style: none; padding: 0; }
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--teal-300); }

.hero-graphic { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .25)); }
.hero-graphic text { fill: #f3e0b5; font: 700 13px var(--font); letter-spacing: .16em; }
.hero-graphic .hg-center { fill: #fff; font-size: 14px; font-weight: 800; }
.hero-graphic .hg-sub { fill: var(--teal-300); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hg-links line { stroke-dasharray: 5 9; animation: hg-dash 1.8s linear infinite; }
.hg-pulse { fill: rgba(20, 184, 166, .45); transform-box: fill-box; transform-origin: center; animation: hg-pulse 2.6s ease-out infinite; animation-delay: var(--d, 0s); }
.hg-ring { transform-box: fill-box; transform-origin: center; animation: hg-breathe 4s ease-in-out infinite; }
@keyframes hg-dash { to { stroke-dashoffset: -28; } }
@keyframes hg-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }
@keyframes hg-breathe { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.06); opacity: 1; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
}

/* Inner page hero */
.page-hero {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(231, 194, 122, .16), transparent 60%),
    var(--navy-900);
  color: #e7e1d4; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); max-width: 820px; }
.page-hero .eyebrow { color: var(--teal-300); }
.page-hero p { font-size: 1.15rem; max-width: 680px; margin-bottom: 0; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card h3 { margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }

.icon-tile {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--teal-50); color: var(--teal-600);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--navy { background: var(--navy-900); color: var(--teal-300); }

.audience-card { padding: 40px; display: flex; flex-direction: column; }
.audience-card .lead { font-size: 1.05rem; }
.audience-card .btn { margin-top: auto; align-self: flex-start; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon {
  color: var(--teal-600); background: var(--teal-50); border-radius: 999px; padding: 4px;
  width: 24px; height: 24px; margin-top: 2px;
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-900); color: var(--teal-300); font-weight: 800; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > .form-card { order: -1; } }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.principle { display: flex; gap: 16px; }
.principle h3 { font-size: 1.08rem; margin: 4px 0 6px; }
.principle p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

.panel {
  background: var(--navy-900); color: #e7e1d4; border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 194, 122, .35), transparent 70%);
}
.panel h3 { color: #fff; }
.panel .check-list .icon { background: rgba(231, 194, 122, .16); color: var(--teal-300); }
.panel .check-list li { color: #f6f1e6; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal-600); }
.post-card p { color: var(--muted); font-size: .97rem; }
.post-card .text-link { margin-top: auto; }

.sample-issue {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.sample-issue h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 12px 0 10px; }
.sample-issue h3 a { color: var(--ink); text-decoration: none; }
.sample-issue h3 a:hover { color: var(--teal-600); }
.sample-issue p { color: var(--muted); font-size: 1.05rem; }
.sample-issue .check-list { margin: 0; }
@media (max-width: 800px) { .sample-issue { grid-template-columns: 1fr; } }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  background: var(--bg-soft); color: var(--navy-800);
}
.badge--newsletter { background: var(--teal-50); color: var(--teal-600); }
.badge--statement { background: #e7efe9; color: #1e3a2f; }
.badge--announcement { background: #fff7ed; color: #b45309; }

.empty-state {
  text-align: center; padding: 56px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); background: #fff;
}
.empty-state .icon-tile { margin-bottom: 16px; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none;
  color: var(--text); font-weight: 600; font-size: .93rem; background: #fff;
}
.filters a:hover { border-color: var(--ink); color: var(--ink); }
.filters a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 48px; }

/* Article */
.article-header { padding: clamp(48px, 7vw, 88px) 0 32px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.article-header h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 18px 0 16px; }
.article-header .summary { font-size: 1.2rem; color: var(--muted); margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--muted); font-size: .95rem; }
.back-link:hover { color: var(--ink); }

.prose { font-size: 1.08rem; line-height: 1.8; color: #2a2622; }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--teal-500);
  color: var(--navy-800); font-size: 1.12rem; font-style: italic;
}
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose pre { background: var(--navy-950); color: #f6f1e6; padding: 18px; border-radius: 12px; overflow: auto; font-size: .9rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose > :first-child { margin-top: 0; }

.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal .updated { color: var(--muted); font-size: .95rem; }

/* Newsletter band */
.news-band {
  position: relative; overflow: hidden; border-radius: 28px; color: #e7e1d4;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(231, 194, 122, .28), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(20, 48, 36, .9), transparent 60%),
    var(--navy-900);
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.news-band h2 { color: #fff; }
.news-band p { margin: 0; }
@media (max-width: 900px) { .news-band { grid-template-columns: 1fr; } }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field-label { font-weight: 650; color: var(--ink); font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #d9d0c2; border-radius: 12px; padding: .75em .95em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(30, 58, 47, .15); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center;
}

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal-600); flex: none; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.form-status { margin: 12px 0 0; font-size: .95rem; font-weight: 550; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); background: var(--success-bg); padding: 12px 14px; border-radius: 10px; }
.form-status.is-error { color: var(--danger); background: var(--danger-bg); padding: 12px 14px; border-radius: 10px; }
form.is-done .subscribe-row, form.is-done .topic-options, form.is-done .consent, form.is-done .field, form.is-done .form-actions { display: none; }

.subscribe-form { position: relative; }
.subscribe-row { display: flex; gap: 10px; }
.subscribe-row input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 1.2em; }
.subscribe-form .consent { margin-top: 14px; }
.topic-options { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.topic-options legend { font-weight: 650; font-size: .9rem; margin-bottom: 8px; padding: 0; }
@media (max-width: 480px) { .subscribe-row { flex-direction: column; } }

.news-band .subscribe-form, .site-footer .subscribe-form { color: #e7e1d4; }
.news-band .check a, .site-footer .check a { color: var(--teal-300); }
.news-band .topic-options legend { color: #fff; }
.news-band .check strong { color: #fff; }
.news-band .muted { color: #c9bba6; }
.news-band input[type="email"], .site-footer input[type="email"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.news-band input[type="email"]::placeholder, .site-footer input[type="email"]::placeholder { color: #c9bba6; }

.subscribe-form--compact .subscribe-row input { padding: .65em 1em; font-size: .95rem; }
.subscribe-form--compact .btn { padding: .65em 1.1em; font-size: .92rem; }
.subscribe-form--compact .consent { font-size: .82rem; }

/* Message card */
.message-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 6vw, 56px); box-shadow: var(--shadow); }
.message-card h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.message-card p { color: var(--muted); font-size: 1.08rem; }
.message-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 20px;
  background: var(--success-bg); color: var(--success);
}
.message-icon .icon { width: 30px; height: 30px; }
.message-card--error .message-icon { background: var(--danger-bg); color: var(--danger); }
.message-card--info .message-icon { background: var(--teal-50); color: var(--teal-600); }
.message-actions { margin: 28px 0 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 16px 0;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal-600); font-weight: 500; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { max-width: 620px; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.contact-list .icon-tile .icon { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy-950); color: #c9bba6; padding: 72px 0 0; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.4fr; gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 360px; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col ul, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #f3e0b5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--teal-300); margin-top: 3px; }
.footer-news p { margin-bottom: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
