/* ============================================================
   Cryptopresale PR — Editorial design system
   Dark (default) + light "paper" theme via [data-theme]
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --gold: #e3a44a;
  --gold-deep: #c9852b;
  --gold-soft: rgba(227, 164, 74, 0.12);

  /* Dark theme (default) */
  --bg: #0c0d10;
  --bg-elevated: #101216;
  --bg-card: #14161b;
  --bg-inset: #0e1013;
  --border: rgba(233, 230, 223, 0.09);
  --border-strong: rgba(233, 230, 223, 0.18);
  --text: #d6d2c8;
  --text-muted: #9b968a;
  --text-faint: #6e6a60;
  --heading: #f3f0e7;
  --accent: #e3a44a;
  --accent-ink: #191104;
  --nav-bg: rgba(12, 13, 16, 0.88);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 16px 44px -20px rgba(0, 0, 0, 0.6);
  --photo-filter: saturate(0.92) contrast(1.02);

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f4ed;
  --bg-elevated: #fffdf8;
  --bg-card: #fffefb;
  --bg-inset: #efece3;
  --border: rgba(42, 36, 26, 0.12);
  --border-strong: rgba(42, 36, 26, 0.24);
  --text: #3a352b;
  --text-muted: #6d6759;
  --text-faint: #98917f;
  --heading: #211c12;
  --accent: #a8741f;
  --accent-ink: #ffffff;
  --nav-bg: rgba(247, 244, 237, 0.9);
  --shadow-card: 0 1px 2px rgba(42, 36, 26, 0.05), 0 14px 36px -18px rgba(42, 36, 26, 0.16);
  --photo-filter: saturate(0.96);

  color-scheme: light;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--heading); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

p { color: var(--text-muted); }

::selection {
  background: rgba(227, 164, 74, 0.35);
  color: var(--heading);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: min(var(--container), 100% - 2.75rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -52px;
  left: 16px;
  z-index: 300;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-s);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 12px; color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.35s ease;
}

.site-header.is-scrolled { border-bottom-color: var(--border); }

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--heading);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover { color: var(--heading); }

.brand-mark { width: 30px; height: 30px; flex: none; }

.brand span em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--heading); }

.nav-links a[aria-current="page"] {
  color: var(--heading);
  border-bottom-color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  background: transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  place-items: center;
  color: var(--text);
}

@media (max-width: 940px) {
  .nav-burger { display: grid; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1.2rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s var(--ease-out), opacity 0.28s ease, visibility 0.28s;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a { padding: 0.85rem 1rem; font-size: 1rem; border-bottom: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
  .nav-cta-desktop { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background 0.25s ease, border-color 0.25s ease, color 0.2s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--gold-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--heading);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.87rem; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
main { padding-top: var(--nav-h); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-head { max-width: 700px; margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

/* Legacy helper kept for older pages */
.text-gradient {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: var(--text-muted);
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  height: clamp(560px, 82vh, 780px);
  overflow: hidden;
  background: #0a0b0d;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide-media {
  position: absolute;
  inset: 0;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transform: scale(1.06);
  transition: transform 7s linear;
}

.slide.is-active .slide-media img { transform: scale(1); }

.slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(9, 10, 12, 0.88) 0%, rgba(9, 10, 12, 0.55) 48%, rgba(9, 10, 12, 0.2) 100%),
    linear-gradient(to top, rgba(9, 10, 12, 0.85) 0%, transparent 45%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding-bottom: 4.5rem;
}

.slide-content .eyebrow { color: var(--gold); }
.slide-content .eyebrow::before { background: var(--gold); }

.slide-content h1,
.slide-content h2 {
  color: #f6f3ea;
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  margin-bottom: 1.2rem;
}

.slide-content h1 em,
.slide-content h2 em { color: var(--gold); }

.slide-content p {
  color: rgba(240, 236, 226, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 520px;
  margin-bottom: 2.1rem;
}

.slide-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.slide-actions .btn-ghost {
  border-color: rgba(246, 243, 234, 0.4);
  color: #f6f3ea;
}

.slide-actions .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.slider-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 1.6rem;
}

.slider-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slider-dots { display: flex; gap: 0.55rem; }

.slider-dot {
  width: 34px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: rgba(246, 243, 234, 0.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}

.slider-dot.is-active { background: var(--gold); }

.slider-arrows { display: flex; gap: 0.5rem; }

.slider-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 243, 234, 0.35);
  background: rgba(9, 10, 12, 0.35);
  color: #f6f3ea;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.slider-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(9, 10, 12, 0.6);
}

@media (max-width: 640px) {
  .slide-content { padding-bottom: 5.5rem; }
  .slider-arrows { display: none; }
}

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.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: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.9rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.card:hover {
  border-color: rgba(227, 164, 74, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; }

.card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(227, 164, 74, 0.3);
  color: var(--accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.card-link svg { transition: transform 0.2s ease; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Photos ---------- */
.photo {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
}

.photo-caption {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-faint);
  font-style: italic;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: clamp(2.4rem, 5vw, 3.6rem) 0;
}

@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--heading);
}

.stat-value em { font-style: italic; color: var(--accent); }

.stat-label {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.stats-grid > div { border-left: 1px solid var(--border-strong); padding-left: 1.4rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.step {
  counter-increment: step;
  padding: 2rem 1.8rem;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.step:hover { background: var(--bg-elevated); }

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  height: 100%;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

.testimonial blockquote::before {
  content: "\201C";
  display: block;
  font-size: 2.6rem;
  line-height: 0.6;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--gold-soft);
  border: 1px solid rgba(227, 164, 74, 0.35);
}

.testimonial-author strong {
  display: block;
  color: var(--heading);
  font-size: 0.95rem;
}

.testimonial-author small { color: var(--text-faint); font-size: 0.82rem; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0 auto 2.6rem;
  padding: 4px;
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.billing-toggle button {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.billing-toggle button.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.billing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: -1.6rem;
  margin-bottom: 2.4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

.price-card { display: flex; flex-direction: column; padding: 2.2rem 1.9rem; }

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.32rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  white-space: nowrap;
}

.price-tier {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--heading);
}

.price-desc { margin-top: 0.4rem; font-size: 0.9rem; min-height: 2.7em; }

.price-value {
  margin: 1.3rem 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.02em;
  transition: opacity 0.25s ease;
}

.price-value.is-switching { opacity: 0; }

.price-value small {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0;
}

.price-features {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.price-features li { display: flex; gap: 0.65rem; align-items: flex-start; }

.price-features li::before {
  content: "✓";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  color: var(--accent);
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(227, 164, 74, 0.3);
}

.price-features li[hidden] { display: none; }

.price-card .btn { margin-top: auto; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 3.5rem; }

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--heading);
  padding-bottom: 1.2rem;
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-muted);
}

.compare thead th {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--heading);
  border-bottom: 2px solid var(--border-strong);
}

.compare tbody th { font-weight: 500; color: var(--text); }

.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--text-faint); }

.compare td.hl { background: var(--gold-soft); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border-strong);
  transition: background 0.25s ease;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0.4rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--heading);
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 0.4rem 1.4rem;
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 660px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-l);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.6rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(227, 164, 74, 0.25);
  border-radius: calc(var(--radius-l) - 8px);
  pointer-events: none;
}

.cta-band h2 { margin-bottom: 1rem; }

.cta-band p {
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1.04rem;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.4rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 1.1rem; max-width: 820px; }
.page-hero .lead { max-width: 640px; }

/* Legacy background helpers kept harmless for older pages */
.hero-bg, .hero-grid-lines { display: none; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field { display: grid; gap: 0.45rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--heading);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 164, 74, 0.18);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-faint); }

.form-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

.form-success {
  display: none;
  margin-top: 1.2rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius-s);
  background: var(--gold-soft);
  border: 1px solid rgba(227, 164, 74, 0.4);
  color: var(--accent);
  font-weight: 500;
  font-size: 0.94rem;
}

.form-success.is-visible { display: block; }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; display: grid; gap: 1.1rem; }

.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }

.contact-list .card-icon { width: 42px; height: 42px; margin: 0; }

.contact-list strong {
  display: block;
  color: var(--heading);
  font-size: 0.95rem;
}

.contact-list a, .contact-list span { font-size: 0.92rem; color: var(--text-muted); }
.contact-list a:hover { color: var(--accent); }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split .section-head { margin-bottom: 1.4rem; }

.checklist {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.checklist li::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  color: var(--accent);
  border-radius: 4px;
  background: var(--gold-soft);
  border: 1px solid rgba(227, 164, 74, 0.3);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.team-card-media {
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #14161b;
}

.team-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-card:hover .team-card-media img { transform: scale(1.05); }

.team-card-body { padding: 1.3rem 1.4rem 1.5rem; }

.team-card h3 { font-size: 1.18rem; margin-bottom: 0.15rem; }

.team-role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.team-card p { font-size: 0.88rem; }

/* ---------- Blog ---------- */
.blog-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }

.blog-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card-media img { transform: scale(1.04); }

.blog-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }

.blog-meta {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 0.8rem;
}

.blog-tag {
  padding: 0.2rem 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--gold-soft);
  border-radius: 3px;
}

.blog-card h3 { font-size: 1.25rem; line-height: 1.3; }
.blog-card h3 a { color: var(--heading); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { margin-top: 0.6rem; font-size: 0.93rem; }
.blog-card .card-link { margin-top: auto; padding-top: 1.2rem; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }

.article-header { margin-bottom: 2.2rem; }
.article-header h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 1rem 0; }

.article-hero { margin-bottom: 2.6rem; }

.article-body > * + * { margin-top: 1.35rem; }

.article-body h2 {
  font-size: 1.7rem;
  margin-top: 2.8rem;
}

.article-body h3 { font-size: 1.25rem; margin-top: 2.2rem; }

.article-body p, .article-body li { color: var(--text-muted); font-size: 1.04rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; display: grid; gap: 0.55rem; }
.article-body strong { color: var(--heading); }

.article-body blockquote {
  padding: 1.3rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-card);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
}

.article-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-about p {
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.92rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }

.footer-col a { font-size: 0.93rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-social { display: flex; gap: 0.6rem; }

.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.error-hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-code {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.text-center { text-align: center; }
