/* A'CAPPELLA MUSIC OÜ — design system
   Alternating dark/light bands · amber & mustard · Outfit + Nunito Sans
   Overlapping card panels · diagonal stripes · large radius, soft light */

:root {
  --ink: #17120a;
  --ink-2: #221a0e;
  --ink-3: #2e2414;
  --paper: #fdf8ee;
  --paper-2: #f5ead3;
  --card: #fffdf8;
  --amber: #f5a524;
  --amber-hi: #ffc24d;
  --mustard: #d4a017;
  --amber-deep: #8a5200;
  --text-on-dark: #f6efe1;
  --muted-on-dark: #cdbfa5;
  --text-on-light: #241c10;
  --muted-on-light: #5c503c;
  --line-dark: rgba(255, 210, 140, 0.16);
  --line-light: rgba(60, 40, 10, 0.14);
  --danger: #a3271b;
  --ok: #2f6b2a;

  --font-head: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --glow-amber: 0 24px 60px -24px rgba(245, 165, 36, 0.55);
  --soft-light: 0 30px 60px -32px rgba(70, 45, 0, 0.38), 0 2px 0 rgba(255, 255, 255, 0.6) inset;
  --soft-dark: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 220, 160, 0.08) inset;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--paper);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--amber-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
code { font-size: 0.92em; background: var(--paper-2); padding: 0.1em 0.4em; border-radius: 6px; }

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

.sr-only {
  position: absolute; 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(--amber); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Bands ---------- */
.band--dark { background: var(--ink); color: var(--text-on-dark); }
.band--dark a:not(.btn) { color: var(--amber-hi); }
.band--dark p { color: var(--muted-on-dark); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--text-on-dark); }
.band--light { background: var(--paper); color: var(--text-on-light); }
.section { padding: var(--section-y) 0; position: relative; }

.stripes { position: relative; isolation: isolate; }
.stripes::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(245, 165, 36, 0.09) 0 2px, transparent 2px 18px);
  -webkit-mask-image: linear-gradient(105deg, transparent 20%, #000 75%);
          mask-image: linear-gradient(105deg, transparent 20%, #000 75%);
}
.stripes-faint {
  background-image: repeating-linear-gradient(135deg, rgba(245, 165, 36, 0.05) 0 2px, transparent 2px 22px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-hi) !important; margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 10px; border-radius: var(--r-pill);
  background: repeating-linear-gradient(135deg, var(--amber) 0 3px, transparent 3px 6px);
}
.eyebrow--dark { color: var(--amber-deep) !important; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 40rem; }
.note { font-size: 0.95rem; color: var(--muted-on-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: var(--r-pill); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.95rem; }
.btn--amber { background: linear-gradient(135deg, var(--amber-hi), var(--amber)); color: var(--ink); box-shadow: var(--glow-amber); }
.btn--amber:hover { box-shadow: 0 28px 60px -20px rgba(245, 165, 36, 0.75); }
.btn--dark { background: var(--ink); color: var(--text-on-dark); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost-light { background: transparent; color: var(--text-on-dark); border-color: rgba(246, 239, 225, 0.4); }
.btn--ghost-light:hover { border-color: var(--amber); color: var(--amber-hi); }
.btn--choice { background: var(--paper); color: var(--ink); border-color: var(--paper); min-width: 9.5rem; }
.btn--choice:hover { background: var(--amber-hi); border-color: var(--amber-hi); }

.link-arrow { font-family: var(--font-head); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; flex-wrap: wrap; }
.brand {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em;
  color: var(--text-on-dark) !important; text-decoration: none; padding: 0.4rem 0;
}
.brand:hover { color: var(--amber-hi) !important; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.site-nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav ul a {
  display: block; padding: 0.55rem 0.9rem; border-radius: var(--r-pill);
  color: var(--text-on-dark) !important; text-decoration: none; font-weight: 600;
}
.site-nav ul a:hover { background: var(--ink-3); }
.site-nav ul a[aria-current="page"] { background: var(--ink-3); color: var(--amber-hi) !important; }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; background: transparent; color: var(--text-on-dark);
  border: 2px solid var(--line-dark); border-radius: var(--r-pill); padding: 0.5rem 1rem; min-height: 44px;
  font: 600 0.95rem var(--font-head); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; padding: 0 0 1.25rem; flex-direction: column; align-items: stretch; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { padding: 0.8rem 1rem; }
}

/* ---------- Panels ---------- */
.panel {
  background: var(--card); color: var(--text-on-light);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--soft-light); position: relative;
}
.panel p { color: var(--muted-on-light); }
.panel h2, .panel h3 { color: var(--text-on-light); }
.panel a:not(.btn) { color: var(--amber-deep); }
.panel--raised { border-radius: var(--r-xl); }
.panel--dark { background: var(--ink-2); color: var(--text-on-dark); box-shadow: var(--soft-dark); border: 1px solid var(--line-dark); }
.panel--dark p { color: var(--muted-on-dark); }
.panel--dark h2, .panel--dark h3 { color: var(--text-on-dark); }
.panel--dark a:not(.btn) { color: var(--amber-hi); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(7rem, 12vw, 9.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hl {
  color: var(--amber-hi);
  background: linear-gradient(transparent 70%, rgba(245, 165, 36, 0.28) 70%);
  border-radius: 4px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-art { position: relative; }
.hero-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-svg g[data-depth] { will-change: transform; }

.facts-band { position: relative; z-index: 2; }
.fact-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: -4.5rem 0 0; padding: 0; overflow: hidden;
}
.fact-strip > div { padding: 1.4rem 1.6rem; border-right: 1px solid var(--line-light); }
.fact-strip > div:last-child { border-right: 0; }
.fact-strip dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-on-light); font-weight: 700; }
.fact-strip dd { margin: 0.3rem 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--text-on-light); }

/* ---------- Self-check ---------- */
.check-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.check-panel { border: 1px solid var(--line-light); }
.check-panel fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; }
.check-panel legend { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.9rem; }
.check-row {
  display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.85rem 1rem; margin-bottom: 0.5rem;
  border-radius: var(--r-md); background: var(--paper); cursor: pointer; border: 2px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.check-row:hover { border-color: rgba(245, 165, 36, 0.5); }
.check-row:has(input:checked) { background: #fff3d9; border-color: var(--amber); }
.check-row input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--amber-deep); flex: none; }
.check-results:has(*) { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 2px dashed var(--line-light); }
.check-results ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.check-results li { padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--paper-2); }
.check-results li > a:first-child { font-family: var(--font-head); font-weight: 700; display: block; color: var(--text-on-light); }
.check-results li span { display: block; color: var(--muted-on-light); font-size: 0.97rem; margin: 0.2rem 0 0.4rem; }

/* ---------- Section heads ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }

/* ---------- Overlapping service cards ---------- */
.card-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  padding: 2rem 1.8rem 1.8rem; box-shadow: var(--soft-dark); position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; z-index: 1;
}
.card:hover { transform: translateY(-6px); border-color: rgba(245, 165, 36, 0.45); z-index: 3; }
.card-num {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-md);
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  background: linear-gradient(135deg, var(--amber-hi), var(--mustard)); margin-bottom: 1.2rem;
  box-shadow: var(--glow-amber);
}
.card h3 { font-size: 1.3rem; }
@media (min-width: 981px) {
  .card-stack { gap: 0; padding-bottom: 3rem; }
  .card { margin: 0 -0.6rem; }
  .card:nth-child(3n+2) { transform: translateY(2.5rem); background: var(--ink-3); }
  .card:nth-child(3n+2):hover { transform: translateY(calc(2.5rem - 6px)); }
  .card:nth-child(n+4) { margin-top: 1.2rem; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.steps .panel { border: 1px solid var(--line-light); }
.step-num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--amber-deep); margin-bottom: 1rem;
}
@media (min-width: 981px) {
  .steps { gap: 0; }
  .steps .panel { margin-right: -1rem; }
  .steps .panel:nth-child(2) { margin-top: 2rem; }
  .steps .panel:nth-child(3) { margin-top: 4rem; }
  .steps .panel:nth-child(4) { margin-top: 6rem; margin-right: 0; }
  .steps .panel:nth-child(even) { background: var(--paper-2); }
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (min-width: 981px) {
  .why-list li:nth-child(even) { transform: translateY(2.5rem); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { background: var(--card); border-radius: var(--r-md); box-shadow: var(--soft-light); margin-bottom: 0.8rem; border: 1px solid var(--line-light); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3.4rem 1.15rem 1.4rem; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--amber-deep); font-size: 1.3rem; line-height: 1;
}
.faq[open] summary::after { content: "−"; background: var(--amber); color: var(--ink); }
.faq p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted-on-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-dl { margin: 1.6rem 0 0; display: grid; gap: 0.9rem; }
.contact-dl dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--amber-hi); }
.contact-dl dd { margin: 0.1rem 0 0; color: var(--text-on-dark); }
.contact-dl--light dt { color: var(--amber-deep); }
.contact-dl--light dd { color: var(--text-on-light); }
.form-panel { border: 1px solid var(--line-light); }
@media (min-width: 981px) { .contact-band .form-panel { margin-top: -9rem; } }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.95rem; color: var(--text-on-light); }
.optional { font-weight: 400; color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text-on-light); background: var(--paper);
  border: 2px solid var(--line-light); border-radius: var(--r-sm); padding: 0.75rem 0.9rem; min-height: 48px; width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245, 165, 36, 0.25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger) !important; font-size: 0.9rem; margin: 0; font-weight: 600; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.75rem; }
.field--check input { width: 1.3rem; height: 1.3rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--amber-deep); flex: none; }
.field--check label { font-weight: 400; flex: 1; min-width: 0; }
.field--check .field-error { flex-basis: 100%; }
.form-privacy { font-size: 0.92rem; margin: 0; padding: 0.9rem 1rem; border-radius: var(--r-sm); background: var(--paper-2); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-md); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.form-status h3 { margin-bottom: 0.3rem; }
.form-status p { margin: 0; }
.form-status--ok { background: #e7f3e3; border: 2px solid var(--ok); }
.form-status--error { background: #fbe6e3; border: 2px solid var(--danger); }
.form-status--error p { color: var(--danger) !important; font-weight: 600; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(8rem, 13vw, 10rem); }
.page-hero h1 { max-width: 52rem; }
.page-hero--compact h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section--pull { padding-top: 0; }
.section--pull > .wrap > :first-child { margin-top: -5.5rem; z-index: 2; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-grid .prose { padding-top: 3rem; }
.details-dl { margin: 0 0 1.4rem; display: grid; gap: 0; }
.details-dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-light); }
.details-dl dt { font-weight: 700; color: var(--muted-on-light); font-size: 0.93rem; }
.details-dl dd { margin: 0; overflow-wrap: anywhere; }

.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: var(--muted-on-light); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.legal { max-width: 56rem; margin-left: auto; margin-right: auto; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1.4rem; font-size: 0.95rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.legal-table th { background: var(--paper-2); font-family: var(--font-head); font-weight: 600; }

.cta-block { text-align: center; max-width: 44rem; }
.cta-block p { margin-left: auto; margin-right: auto; }

.service-jump ul { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.service-jump a {
  display: inline-flex; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-dark); background: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.service-jump a span { color: var(--amber); font-family: var(--font-head); }
.service-jump a:hover { border-color: var(--amber); }

.service-list { display: grid; gap: 0; }
.service-detail {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line-light); scroll-margin-top: 1.5rem; width: 92%;
}
.service-detail + .service-detail { margin-top: -1.2rem; }
.service-detail:nth-child(even) { background: var(--paper-2); }
.service-detail--offset { margin-left: auto; }
.service-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.service-body h3 { margin-top: 1.4rem; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.55rem; }
.tick-list li { position: relative; padding-left: 2rem; color: var(--muted-on-light); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35rem; width: 1.15rem; height: 1.15rem; border-radius: 6px;
  background: repeating-linear-gradient(135deg, var(--amber) 0 3px, var(--mustard) 3px 6px);
}
.service-fit { padding: 0.9rem 1.1rem; background: var(--card); border-radius: var(--r-sm); border-left: 4px solid var(--amber); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }

.contact-page-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-side { display: grid; gap: 1.2rem; padding-top: 2rem; }
.contact-side address { font-style: normal; margin-bottom: 1rem; color: var(--muted-on-light); }
.contact-side .contact-dl { margin-top: 0.4rem; }
.contact-side .panel + .panel { margin-top: -0.4rem; }

.notfound { padding-bottom: clamp(5rem, 10vw, 8rem); }
.notfound-inner { text-align: left; }
.notfound-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Sticky CTA bar ---------- */
.cta-bar { background: var(--ink-2); color: var(--text-on-dark); border-top: 1px solid var(--line-dark); }
.cta-bar-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0.9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cta-bar p { margin: 0; color: var(--muted-on-dark); }
.cta-bar strong { color: var(--text-on-dark); font-family: var(--font-head); }
.js .cta-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 40; width: min(calc(100% - 32px), 860px);
  border: 1px solid var(--line-dark); border-radius: var(--r-pill); box-shadow: var(--soft-dark);
  transform: translate(-50%, 140%); transition: transform 0.35s ease; visibility: hidden;
}
.js .cta-bar-inner { padding: 0.55rem 0.6rem 0.55rem 1.6rem; }
.js .cta-bar.is-visible { transform: translate(-50%, 0); visibility: visible; }
.js .site-footer { padding-bottom: 6rem; }
@media (max-width: 640px) {
  .cta-bar span { display: none; }
  .js .cta-bar-inner { padding-left: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .js .cta-bar { transition: none; } }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 0.8fr; gap: 2.2rem; }
.brand--footer { display: inline-block; margin-bottom: 0.8rem; font-size: 1.3rem; }
.footer-about p { font-size: 0.97rem; }
.footer-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-hi) !important; margin-bottom: 1rem; }
.footer-dl { margin: 0 0 1rem; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer-dl dt { color: var(--muted-on-dark); font-size: 0.8rem; }
.footer-dl dd { margin: 0; color: var(--text-on-dark); }
.footer-registry { font-size: 0.93rem; }
.footer-contact { font-style: normal; display: grid; gap: 0.55rem; font-size: 0.95rem; color: var(--text-on-dark); overflow-wrap: anywhere; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.footer-links a { color: var(--text-on-dark) !important; text-decoration: none; }
.footer-links a:hover { color: var(--amber-hi) !important; text-decoration: underline; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 2rem; font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  width: min(calc(100% - 32px), 980px); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--ink-2); color: var(--text-on-dark);
  border: 1px solid rgba(245, 165, 36, 0.35); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { padding: 1.4rem 1.6rem; display: grid; gap: 1.1rem; }
.cookie-banner h2 { font-size: 1.25rem; margin-bottom: 0.4rem; color: var(--text-on-dark); }
.cookie-banner h3 { font-size: 1.05rem; color: var(--text-on-dark); }
.cookie-banner p { margin: 0; color: var(--muted-on-dark); font-size: 0.97rem; }
.cookie-banner a { color: var(--amber-hi); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: flex-end; }
.cookie-prefs { display: grid; gap: 0.8rem; padding: 1.1rem; border-radius: var(--r-md); background: var(--ink); border: 1px solid var(--line-dark); }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs .btn { justify-self: start; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); }
.cookie-option label { font-weight: 700; color: var(--text-on-dark); }
.cookie-option p { font-size: 0.9rem; }
.switch {
  -webkit-appearance: none; appearance: none; flex: none; width: 52px; height: 30px; border-radius: var(--r-pill);
  background: #5a4d37; position: relative; cursor: pointer; margin: 0; transition: background-color 0.2s ease;
}
.switch::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); transition: transform 0.2s ease;
}
.switch:checked { background: var(--amber); }
.switch:checked::after { transform: translateX(22px); }
.switch:disabled { opacity: 0.6; cursor: not-allowed; }
.cookie-open .cta-bar { visibility: hidden !important; }

/* ---------- Scroll reveal for overlapping panels ---------- */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity 0.6s ease, translate 0.6s ease; }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; translate: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .check-grid, .why-grid, .faq-grid, .contact-grid, .about-grid, .scope-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; }
  .card-stack { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > div:nth-child(2) { border-right: 0; }
  .fact-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; width: 100%; }
  .about-grid .prose, .contact-side { padding-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .card-stack, .steps, .why-list, .footer-grid, .contact-form { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div { border-right: 0 !important; border-bottom: 1px solid var(--line-light); }
  .fact-strip > div:last-child { border-bottom: 0; }
  .details-dl > div { grid-template-columns: 1fr; gap: 0.1rem; }
  .cookie-inner { padding: 1.2rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn { width: 100%; }
}
