/* ==========================================================================
   Alpha Globe Ltd — Design System
   Typefaces: Fraunces (display/serif, warmth + humanity) + Inter (body/UI)
   Signature motif: "The Arch" — a rounded doorway shape used throughout to
   symbolise welcome, new beginnings, and open doors to a better life.
   ========================================================================== */

:root {
  /* ---- Brand palette (Alpha Globe redesign palette) ---- */
  --teal-900:   #0E3B35;
  --teal-800:   #14524A;   /* primary */
  --teal-700:   #1B675D;
  --teal-100:   #CDE6E1;

  --terracotta-700: #9C4E2C; /* secondary */
  --terracotta-100: #F3D9CB;

  --amber-500:  #D9932E;    /* CTA */
  --amber-600:  #C27E1F;
  --amber-100:  #F7E3C2;

  --sage-700:   #456249;    /* deep sage / text-safe */
  --sage-500:   #6B8F71;    /* decorative sage */
  --sage-100:   #E8EFEA;    /* tint bg */

  --charcoal:   #2B2A28;    /* text */
  --charcoal-70: #4A4946;

  --ivory:      #FBF8F3;    /* page bg */
  --warm-gray:  #CFC9BC;    /* borders */
  --warm-gray-light: #E7E3D8;

  --brick-700:  #A23B2E;    /* alerts only */
  --brick-100:  #F6DEDA;

  --white: #FFFFFF;

  /* ---- Type ---- */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --arch-radius: 120px 120px 0 0;

  --shadow-sm: 0 2px 10px rgba(20, 82, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 82, 74, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 59, 53, 0.16);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--teal-900); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p.lede { font-size: 1.2rem; color: var(--charcoal-70); }
em.accent { font-style: italic; color: var(--terracotta-700); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 56px 0; }
.section--tint { background: var(--sage-100); }
.section--teal { background: var(--teal-800); color: var(--white); }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--ivory-line { border-top: 1px solid var(--warm-gray-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--amber-500);
  border-radius: 2px;
}
.section--teal .eyebrow { color: var(--amber-500); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-900); color: var(--white);
  padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 15px 30px; border-radius: 100px; border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber-500); color: var(--charcoal); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--amber-600); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--teal-800); color: var(--teal-800); }
.btn-outline:hover { background: var(--teal-800); color: var(--white); }
.btn-teal { background: var(--teal-800); color: var(--white); }
.btn-teal:hover { background: var(--teal-900); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--terracotta-700); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.top-bar {
  background: var(--teal-900); color: var(--white);
  font-size: 0.85rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.top-bar a { color: var(--white); text-decoration: none; opacity: 0.92; }
.top-bar a:hover { opacity: 1; text-decoration: underline; }
.top-bar__item { display: inline-flex; align-items: center; gap: 6px; }
.top-bar__item svg { width: 14px; height: 14px; }
.top-bar__right { display: flex; gap: 18px; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm-gray-light);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--teal-900); line-height: 1.1; }
.brand__text span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta-700); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-block; padding: 10px 16px; text-decoration: none;
  font-weight: 500; color: var(--charcoal); border-radius: 100px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav__link:hover { background: var(--sage-100); color: var(--teal-900); }
.nav__link[aria-current="page"] { color: var(--teal-800); font-weight: 700; background: var(--sage-100); }
.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--teal-900); }

@media (max-width: 940px) {
  .nav__list { display: none; }
  .nav__cta.btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .nav__list {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); padding: 12px 24px 20px; border-bottom: 1px solid var(--warm-gray-light);
    box-shadow: var(--shadow-md);
  }
  .site-header.is-open .nav__cta.btn { display: inline-flex; margin: 8px 0 0; }
  .site-header.is-open .nav__link { padding: 12px 16px; border-radius: 10px; }
  .top-bar__item--hours { display: none; }
}
@media (max-width: 560px) {
  .top-bar__right { gap: 12px; }
  .top-bar .container { justify-content: center; text-align: center; }
}

/* ==========================================================================
   HERO — signature Arch motif
   ========================================================================== */
.hero {
  position: relative;
  background: var(--teal-900);
  color: var(--white);
  overflow: hidden;
  padding: 88px 0 0;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-bottom: 0; }
.hero__eyebrow { color: var(--amber-500); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--amber-500); }
.hero p.lede { color: rgba(255,255,255,0.82); max-width: 46ch; margin: 22px 0 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__figure {
  position: relative;
  border-radius: var(--arch-radius);
  background: linear-gradient(180deg, var(--sage-500), var(--teal-700));
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__figure .arch-caption {
  position: relative; z-index: 2;
  background: rgba(14, 59, 53, 0.55);
  color: var(--white); width: 100%;
  padding: 20px 24px 24px;
  font-size: 0.95rem;
  backdrop-filter: blur(3px);
}
.hero__badge {
  position: absolute; left: 6%; bottom: -30px; z-index: 3;
  background: var(--white); color: var(--teal-900);
  border-radius: var(--radius-md); padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; gap: 14px; align-items: center;
  max-width: 260px;
}
.hero__badge svg { width: 30px; height: 30px; color: var(--amber-600); flex-shrink: 0; }
.hero__badge strong { display: block; font-size: 1.05rem; }
.hero__badge span { font-size: 0.85rem; color: var(--charcoal-70); }
.hero__blob {
  position: absolute; border-radius: 50%; opacity: 0.14; background: var(--sage-500);
}
.hero__blob--1 { width: 480px; height: 480px; top: -180px; right: -120px; }
.hero__blob--2 { width: 300px; height: 300px; bottom: -140px; left: 20%; background: var(--amber-500); opacity: 0.10; }

@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__figure { max-width: 420px; margin: 0 auto; }
}

/* ---- Page header (non-home hero, shorter) ---- */
.page-header {
  background: var(--teal-900); color: var(--white);
  padding: 64px 0 96px; position: relative; overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; max-width: 820px; }
.page-header h1 { color: var(--white); }
.page-header p.lede { color: rgba(255,255,255,0.82); margin-top: 16px; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.breadcrumb a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.page-header .hero__blob--1 { top: -220px; right: -160px; }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid > * { min-width: 0; }
.form-grid > * { min-width: 0; }
.footer-top > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--warm-gray-light);
  border-radius: var(--radius-md); padding: 32px 28px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sage-100); color: var(--teal-800);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--charcoal-70); }
.card .link-arrow { margin-top: 16px; }

.card--stat { text-align: center; }
.card--stat .stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--teal-800); font-weight: 600; display: block; }
.card--stat .stat-label { color: var(--charcoal-70); font-size: 0.95rem; }

.value-card { display: flex; gap: 18px; align-items: flex-start; }
.value-card__icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--terracotta-100); color: var(--terracotta-700);
  display: flex; align-items: center; justify-content: center;
}
.value-card__icon svg { width: 22px; height: 22px; }

/* Arch image frame — signature element reused across pages */
.arch-frame {
  border-radius: var(--arch-radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-500), var(--teal-700));
  position: relative;
  box-shadow: var(--shadow-md);
}
.arch-frame::after {
  content: attr(data-caption);
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(14,59,53,0.55); color: var(--white);
  font-size: 0.85rem; padding: 12px 18px; backdrop-filter: blur(2px);
}
.arch-frame.ratio-square { aspect-ratio: 1/1; }
.arch-frame.ratio-portrait { aspect-ratio: 3/4; }
.arch-frame.ratio-wide { aspect-ratio: 16/10; }
.arch-frame { width: 100%; max-width: 100%; }
.arch-frame iframe { width: 100% !important; max-width: 100%; height: 100%; display: block; border: 0; }

/* Team */
.team-card { text-align: center; }
.team-card .arch-frame { margin-bottom: 18px; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--terracotta-700); font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.team-card p.bio { color: var(--charcoal-70); font-size: 0.95rem; }

/* Testimonials */
.testimonial {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px; border: 1px solid var(--warm-gray-light); box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial svg.quote { width: 34px; height: 34px; color: var(--amber-500); margin-bottom: 14px; }
.testimonial p { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal-900); font-style: italic; }
.testimonial footer { margin-top: 18px; font-size: 0.9rem; color: var(--charcoal-70); font-style: normal; }

/* CTA banner */
.cta-banner {
  background: var(--terracotta-700); color: var(--white);
  border-radius: var(--radius-lg); padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.85); }

/* Accordion (FAQ) */
.accordion-item { border-bottom: 1px solid var(--warm-gray-light); }
.accordion-item summary {
  list-style: none; cursor: pointer; padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--teal-900);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .plus { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.accordion-item summary .plus::before, .accordion-item summary .plus::after {
  content: ""; position: absolute; background: var(--terracotta-700); border-radius: 2px;
}
.accordion-item summary .plus::before { width: 100%; height: 2.5px; top: 50%; left: 0; transform: translateY(-50%); }
.accordion-item summary .plus::after { height: 100%; width: 2.5px; left: 50%; top: 0; transform: translateX(-50%); transition: transform 0.2s ease; }
.accordion-item[open] summary .plus::after { transform: translateX(-50%) scaleY(0); }
.accordion-item .accordion-body { padding: 0 4px 24px; color: var(--charcoal-70); max-width: 70ch; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.94rem; }
.field .req { color: var(--brick-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1.5px solid var(--warm-gray); background: var(--white);
  font-size: 1rem; transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-800); outline: none; }
.field textarea { resize: vertical; min-height: 140px; }
.field.checkbox { display: flex; gap: 10px; align-items: flex-start; }
.field.checkbox input { width: auto; margin-top: 5px; }
.field.checkbox label { font-weight: 400; font-size: 0.92rem; color: var(--charcoal-70); }
.form-note { font-size: 0.85rem; color: var(--charcoal-70); margin-top: 6px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: var(--sage-100); color: var(--sage-700); }
.form-status.err { display: block; background: var(--brick-100); color: var(--brick-700); }

/* Info / notice boxes */
.notice { border-radius: var(--radius-md); padding: 24px 26px; display: flex; gap: 16px; }
.notice svg { width: 26px; height: 26px; flex-shrink: 0; }
.notice--info { background: var(--sage-100); color: var(--sage-700); }
.notice--info svg { color: var(--sage-700); }
.notice--warn { background: var(--brick-100); color: var(--brick-700); }
.notice--warn svg { color: var(--brick-700); }
.notice h4 { color: inherit; margin-bottom: 6px; font-family: var(--font-body); }
.notice p { color: inherit; opacity: 0.92; }
.notice a { text-decoration: underline; font-weight: 600; }

/* Blog */
.post-card { display: flex; flex-direction: column; }
.post-card .arch-frame { margin-bottom: 20px; }
.post-card .meta { font-size: 0.85rem; color: var(--terracotta-700); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.post-card h3 { margin-bottom: 10px; }
.post-card p { color: var(--charcoal-70); margin-bottom: 16px; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.4em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.5em; }
.prose p { margin-bottom: 1.3em; color: var(--charcoal-70); font-size: 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; color: var(--charcoal-70); }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
  border-left: 4px solid var(--amber-500); padding: 4px 0 4px 22px; margin: 2em 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--teal-900);
}

/* Legal pages */
.legal h2 { margin-top: 2.2em; margin-bottom: 0.6em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--charcoal-70); }
.legal ul, .legal ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border: 1px solid var(--warm-gray-light); font-size: 0.94rem; }
.legal th { background: var(--sage-100); color: var(--teal-900); }
.toc { background: var(--sage-100); border-radius: var(--radius-md); padding: 24px 28px; margin-bottom: 2.5em; }
.toc h2 { margin: 0 0 14px; font-size: 1.1rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--teal-800); font-weight: 600; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.82); }
.site-footer .container { padding-top: 72px; padding-bottom: 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand__text { color: var(--white); }
.site-footer .brand__text span { color: var(--amber-500); }
.footer-about p { margin: 16px 0 20px; font-size: 0.95rem; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--amber-500); }
.footer-social svg { width: 17px; height: 17px; color: var(--white); }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.96rem; }
.footer-links a:hover { color: var(--amber-500); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.94rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--amber-500); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom { padding-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; font-size: 0.88rem; }
.footer-legal-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-legal-links a:hover { text-decoration: underline; }
.footer-legal-links .sep { color: rgba(255,255,255,0.35); padding: 0 4px; }
.footer-credit { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-credit a { color: var(--amber-500); text-decoration: none; font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }
.footer-copyright { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 900;
  max-width: 620px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--warm-gray-light);
  padding: 26px 28px; display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h4 { margin-bottom: 8px; }
.cookie-banner p { font-size: 0.92rem; color: var(--charcoal-70); margin-bottom: 18px; }
.cookie-banner p a { color: var(--teal-800); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-prefs { margin-top: 16px; border-top: 1px solid var(--warm-gray-light); padding-top: 16px; display: none; }
.cookie-prefs.is-visible { display: block; }
.cookie-pref-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--warm-gray-light); }
.cookie-pref-row:last-child { border-bottom: none; }
.cookie-pref-row strong { display: block; font-size: 0.94rem; }
.cookie-pref-row span { font-size: 0.82rem; color: var(--charcoal-70); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--warm-gray); border-radius: 100px; cursor: pointer; transition: 0.2s; }
.switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--white); border-radius: 50%; transition: 0.2s; }
.switch input:checked + .slider { background: var(--teal-800); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }

/* Back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-800); color: var(--white); border: none;
  display: none; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible { display: flex; }
.back-to-top svg { width: 20px; height: 20px; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 12px; } .gap-md { gap: 20px; } .gap-lg { gap: 32px; }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: var(--sage-100); color: var(--teal-800); border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
}
.pill svg { width: 15px; height: 15px; }
.divider { height: 1px; background: var(--warm-gray-light); border: none; margin: 0; }
.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;
}

/* 404 */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .arch-frame { width: 100%; max-width: 320px; margin: 0 auto 32px; aspect-ratio: 4/5; }
.error-code { font-family: var(--font-display); font-size: 5rem; color: var(--terracotta-700); line-height: 1; }
