/* =====================================================================
   CALEDONIA BOX — Design System
   "A wee taste of home, delivered."
   Premium Scottish-heritage gift-box brand. Editorial serif + clean sans.
   Author: Art Direction system. Single shared stylesheet for all pages.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Palette */
  --navy:        #1a2456;
  --navy-deep:   #131b42;
  --thistle:     #6b4e9e;
  --thistle-soft:#8a71b8;
  --teal:        #2aa198;
  --teal-deep:   #1f7d76;
  --cream:       #f7f3ea;
  --cream-warm:  #f2ecdd;
  --gold:        #c9a24b;
  --gold-soft:   #dcbd7a;
  --ink:         #22252b;
  --ink-soft:    #4b4f57;
  --line:        #e4ddcd;
  --white:       #ffffff;

  /* Semantic */
  --bg:          var(--cream);
  --bg-alt:      var(--cream-warm);
  --surface:     var(--white);
  --text:        var(--ink);
  --text-muted:  var(--ink-soft);
  --heading:     var(--navy);
  --accent:      var(--gold);
  --brand:       var(--thistle);

  /* Typography */
  --serif: "Playfair Display", Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale (fluid) */
  --fs-xs:   clamp(0.72rem, 0.70rem + 0.10vw, 0.80rem);
  --fs-sm:   clamp(0.84rem, 0.81rem + 0.14vw, 0.94rem);
  --fs-base: clamp(1.00rem, 0.96rem + 0.20vw, 1.12rem);
  --fs-md:   clamp(1.15rem, 1.08rem + 0.34vw, 1.35rem);
  --fs-lg:   clamp(1.45rem, 1.30rem + 0.70vw, 1.95rem);
  --fs-xl:   clamp(1.90rem, 1.60rem + 1.40vw, 3.00rem);
  --fs-2xl:  clamp(2.50rem, 1.90rem + 2.80vw, 4.60rem);
  --fs-3xl:  clamp(3.10rem, 2.10rem + 4.60vw, 6.00rem);

  /* Spacing */
  --sp-1: 0.375rem;
  --sp-2: 0.625rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2.25rem;
  --sp-6: 3.25rem;
  --sp-7: 4.75rem;
  --sp-8: 6.5rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm:  0 1px 2px rgba(26,36,86,.06), 0 2px 6px rgba(26,36,86,.05);
  --sh-md:  0 6px 18px rgba(26,36,86,.09), 0 2px 6px rgba(26,36,86,.06);
  --sh-lg:  0 18px 46px rgba(26,36,86,.15), 0 6px 16px rgba(26,36,86,.08);
  --sh-gold:0 10px 30px rgba(201,162,75,.28);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Textures */
  --linen: repeating-linear-gradient(45deg,
            rgba(201,162,75,.014) 0 2px, transparent 2px 5px);
  --tartan:
    linear-gradient(0deg, rgba(26,36,86,.05) 0 3px, transparent 3px 26px),
    linear-gradient(90deg, rgba(26,36,86,.05) 0 3px, transparent 3px 26px),
    linear-gradient(0deg, rgba(42,161,152,.05) 12px, transparent 12px 26px),
    linear-gradient(90deg, rgba(42,161,152,.05) 12px, transparent 12px 26px);
}

/* ---------------------------------------------------------------------
   1. RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--linen);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
video { object-fit: cover; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--heading);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { color: var(--text); }
p + p { margin-top: var(--sp-3); }

a { color: var(--teal-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--thistle); }

strong { font-weight: 700; color: var(--heading); }
em { font-style: italic; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

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

::selection { background: var(--gold-soft); color: var(--navy-deep); }

/* ---------------------------------------------------------------------
   2. LAYOUT UTILITIES
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-4); }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--cream); }
.section--navy p { color: rgba(247,243,234,.82); }

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.flex { display: flex; gap: var(--sp-3); }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

/* spacing helpers */
.mt-1{margin-top:var(--sp-1)} .mt-2{margin-top:var(--sp-2)} .mt-3{margin-top:var(--sp-3)}
.mt-4{margin-top:var(--sp-4)} .mt-5{margin-top:var(--sp-5)} .mt-6{margin-top:var(--sp-6)}
.mb-2{margin-bottom:var(--sp-2)} .mb-3{margin-bottom:var(--sp-3)} .mb-4{margin-bottom:var(--sp-4)}
.mb-5{margin-bottom:var(--sp-5)} .mb-6{margin-bottom:var(--sp-6)}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }

/* horizontal-scroll wrapper for wide content */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll-x > * { min-width: max-content; }

/* ---------------------------------------------------------------------
   3. TYPOGRAPHIC ORNAMENTS
   --------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 26px; height: 1px; background: var(--gold);
}
.section--navy .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 60ch; margin-bottom: var(--sp-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--sp-2); }
.section-head p { color: var(--text-muted); font-size: var(--fs-md); margin-top: var(--sp-3); }

.lead { font-size: var(--fs-md); color: var(--text-muted); line-height: 1.6; }

.scots {
  font-family: var(--serif);
  font-style: italic;
  color: var(--thistle);
}

.divider-thistle {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; color: var(--gold); margin-block: var(--sp-4);
}
.divider-thistle::before, .divider-thistle::after {
  content: ""; height: 1px; width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider-thistle::after { transform: scaleX(-1); }

/* ---------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  padding: .95em 1.6em;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-gold); color: var(--navy-deep); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--gold); --btn-fg: var(--navy-deep); }
.btn--brand   { --btn-bg: var(--thistle); --btn-fg: var(--white); }
.btn--brand:hover { box-shadow: 0 10px 30px rgba(107,78,158,.32); color: var(--white); }
.btn--teal    { --btn-bg: var(--teal); --btn-fg: var(--white); }
.btn--teal:hover { box-shadow: 0 10px 30px rgba(42,161,152,.30); color: var(--white); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--cream); box-shadow: var(--sh-md); }

.btn--ghost-light {
  background: transparent; border-color: rgba(247,243,234,.5); color: var(--cream);
}
.btn--ghost-light:hover { background: var(--cream); color: var(--navy-deep); }

.btn--lg { font-size: var(--fs-base); padding: 1.1em 2em; }
.btn--sm { font-size: var(--fs-xs); padding: .7em 1.15em; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.btn-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------------
   5. HEADER / NAV  (checkbox hamburger — no JS)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,234,.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  height: var(--header-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

/* Brand / logo */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--thistle); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-weight: 700; font-size: 1.28rem;
  color: var(--navy); letter-spacing: -0.01em;
}
.brand__tag {
  font-family: var(--sans); font-size: .58rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--teal-deep); margin-top: .28rem;
}

/* nav links */
.nav__menu {
  display: flex; align-items: center; gap: var(--sp-4);
  list-style: none; padding: 0; margin: 0;
}
.nav__link {
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink); position: relative; padding-block: .4rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--navy); }

.nav__cta { margin-left: var(--sp-2); }

/* hamburger (hidden on desktop) */
.nav__toggle, .nav__toggle-label { display: none; }

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
}
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(19,27,66,.92) 0%, rgba(19,27,66,.62) 46%, rgba(26,36,86,.28) 100%),
    linear-gradient(0deg, rgba(19,27,66,.55), transparent 45%);
}
.hero__inner { max-width: var(--maxw); margin-inline: auto; padding: var(--sp-6) var(--sp-4); width: 100%; }
.hero__content { max-width: 620px; color: var(--cream); }
.hero__content .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: var(--cream);
  font-size: var(--fs-3xl);
  margin-top: var(--sp-3);
}
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero__sub {
  font-size: var(--fs-md); color: rgba(247,243,234,.86);
  margin-top: var(--sp-4); max-width: 46ch;
}
.hero .btn-row { margin-top: var(--sp-5); }
.hero__note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: rgba(247,243,234,.66); }

/* compact page hero for interior pages */
.page-hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(107,78,158,.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding-block: var(--sp-7) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--tartan); opacity: .5; z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); margin-top: var(--sp-3); }
.page-hero p { color: rgba(247,243,234,.82); max-width: 56ch; margin: var(--sp-4) auto 0; font-size: var(--fs-md); }
.page-hero .eyebrow { color: var(--gold-soft); }

/* ---------------------------------------------------------------------
   7. CARDS
   --------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--gold-soft); }

.card__icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(42,161,152,.14), rgba(107,78,158,.14));
  color: var(--teal-deep); margin-bottom: var(--sp-3);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* media card (image top) */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card--media:hover .card__img img { transform: scale(1.05); }
.card--media .card__body { padding: var(--sp-4) var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.card__meta { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); font-weight: 700; }
.card__link { margin-top: auto; font-weight: 700; font-size: var(--fs-sm); color: var(--thistle); display: inline-flex; gap: .4em; align-items: center; }
.card__link::after { content: "→"; transition: transform .2s var(--ease); }
.card--media:hover .card__link::after { transform: translateX(4px); }

/* numbered step card */
.step { position: relative; padding-top: var(--sp-4); }
.step__num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700;
  color: var(--gold); line-height: 1; display: block; margin-bottom: var(--sp-2);
}
.step h3 { font-size: var(--fs-md); }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------
   8. PILLS / CHIPS / BADGES
   --------------------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  padding: .45em 1em; border-radius: var(--r-pill);
  background: rgba(42,161,152,.12); color: var(--teal-deep);
  border: 1px solid rgba(42,161,152,.24);
}
.pill--gold { background: rgba(201,162,75,.14); color: #97772c; border-color: rgba(201,162,75,.34); }
.pill--thistle { background: rgba(107,78,158,.12); color: var(--thistle); border-color: rgba(107,78,158,.26); }
.pill--navy { background: rgba(26,36,86,.08); color: var(--navy); border-color: rgba(26,36,86,.18); }

.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-size: var(--fs-sm); padding: .5em 1em; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
}

.badge-ribbon {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--thistle); color: var(--white);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em;
  padding: .4em .9em; border-radius: var(--r-pill); box-shadow: var(--sh-md);
}

/* ---------------------------------------------------------------------
   9. FEATURE BANDS / STAT ROW
   --------------------------------------------------------------------- */
.feature-band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-6);
  align-items: center;
}
.feature-band--reverse { grid-template-columns: 1fr 1.1fr; }
.feature-band--reverse .feature-band__media { order: -1; }
.feature-band__media {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  aspect-ratio: 5 / 4; background: var(--bg-alt);
  position: relative;
}
.feature-band__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-band__media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(201,162,75,.25); pointer-events: none;
}
.feature-list { list-style: none; padding: 0; margin-top: var(--sp-4); }
.feature-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-bottom: var(--sp-3); font-size: var(--fs-base); color: var(--text);
}
.feature-list li::before {
  content: ""; flex: none; margin-top: .45em;
  width: 16px; height: 16px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, var(--teal) 0 4px, transparent 5px),
    rgba(42,161,152,.16);
  box-shadow: 0 0 0 1px rgba(42,161,152,.3);
}

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  text-align: center;
}
.stat__num {
  font-family: var(--serif); font-size: var(--fs-xl); color: var(--gold); line-height: 1;
}
.section--navy .stat__num { color: var(--gold-soft); }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--sp-2); }
.section--navy .stat__label { color: rgba(247,243,234,.7); }

/* ---------------------------------------------------------------------
   10. PRICING
   --------------------------------------------------------------------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  align-items: stretch;
}
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-3);
  box-shadow: var(--sh-sm); position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.price-card--featured {
  border: 1.5px solid var(--gold);
  box-shadow: var(--sh-md), 0 0 0 4px rgba(201,162,75,.10);
  background: linear-gradient(180deg, #fffdf8, var(--surface));
}
.price-card__term { font-family: var(--serif); font-size: var(--fs-md); color: var(--navy); }
.price-card__price { font-family: var(--serif); font-size: var(--fs-xl); color: var(--navy); line-height: 1; }
.price-card__price small { font-family: var(--sans); font-size: var(--fs-sm); color: var(--text-muted); font-weight: 500; }
.price-card__save { font-size: var(--fs-xs); font-weight: 700; color: var(--teal-deep); }
.price-card ul { list-style: none; padding: 0; margin: var(--sp-2) 0; }
.price-card li { font-size: var(--fs-sm); color: var(--text-muted); padding: .4em 0; border-bottom: 1px dashed var(--line); display: flex; gap: .5em; }
.price-card li::before { content: "✓"; color: var(--teal); font-weight: 700; }
.price-card .btn { margin-top: auto; }

/* comparison / shipping table */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
table.rate-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: var(--fs-sm); min-width: 480px; }
.rate-table th, .rate-table td { padding: 1em 1.15em; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table thead th { background: var(--navy); color: var(--cream); font-family: var(--sans); font-weight: 700; letter-spacing: .04em; font-size: var(--fs-xs); text-transform: uppercase; }
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.rate-table td strong { color: var(--navy); }

/* ---------------------------------------------------------------------
   11. TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-5);
  box-shadow: var(--sh-sm); position: relative; display: flex; flex-direction: column; gap: var(--sp-3);
}
.quote-card::before {
  content: "\201C"; font-family: var(--serif); font-size: 4.5rem; line-height: .6;
  color: var(--gold-soft); position: absolute; top: 1.1rem; right: 1.4rem; opacity: .6;
}
.quote-card p { font-family: var(--serif); font-style: italic; font-size: var(--fs-md); color: var(--ink); line-height: 1.5; }
.quote-card__author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.quote-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, var(--thistle), var(--teal));
  display: grid; place-items: center; color: var(--white); font-weight: 700; font-family: var(--serif);
  overflow: hidden;
}
.quote-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__name { font-weight: 700; font-size: var(--fs-sm); color: var(--navy); }
.quote-card__loc { font-size: var(--fs-xs); color: var(--text-muted); }
.stars { color: var(--gold); letter-spacing: .1em; font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------
   12. FORMS
   --------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }

.input, .textarea, .select {
  font-family: var(--sans); font-size: var(--fs-base); color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: .8em 1em; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #a7a293; }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(42,161,152,.14);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b4e9e' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.6em;
}

.checkbox { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; font-size: var(--fs-sm); color: var(--text); }
.checkbox input { width: 1.15em; height: 1.15em; accent-color: var(--thistle); margin-top: .22em; flex: none; }

/* inline newsletter */
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 200px; }

/* ---------------------------------------------------------------------
   13. FAQ ACCORDION (details/summary)
   --------------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq-item[open] { box-shadow: var(--sh-md); border-color: var(--gold-soft); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.15em 1.4em; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-size: var(--fs-md); font-weight: 700; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.6rem; color: var(--thistle);
  transition: transform .25s var(--ease); flex: none; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4em 1.3em; color: var(--text-muted); font-size: var(--fs-base); }
.faq-item .faq-body p + p { margin-top: var(--sp-2); }

/* ---------------------------------------------------------------------
   14. CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 15% 20%, rgba(42,161,152,.35), transparent 60%),
    radial-gradient(700px 320px at 90% 90%, rgba(107,78,158,.4), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream); border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-5); text-align: center; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: var(--tartan); opacity: .35; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(247,243,234,.82); max-width: 52ch; margin: var(--sp-3) auto var(--sp-5); font-size: var(--fs-md); }
.cta-band .eyebrow { color: var(--gold-soft); justify-content: center; }

/* ---------------------------------------------------------------------
   15. ARTICLE / PROSE (Journal & blog pages)
   --------------------------------------------------------------------- */
.prose { max-width: 68ch; margin-inline: auto; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--sp-5); }
.prose p { font-size: var(--fs-md); line-height: 1.8; color: var(--ink); }
.prose img { border-radius: var(--r-lg); box-shadow: var(--sh-md); margin-block: var(--sp-4); }
.prose blockquote {
  border-left: 3px solid var(--gold); padding: .5em 0 .5em 1.4em;
  font-family: var(--serif); font-style: italic; font-size: var(--fs-lg); color: var(--thistle);
}
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { font-size: var(--fs-md); line-height: 1.7; }
.prose a { border-bottom: 1px solid var(--gold-soft); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--text-muted); font-size: var(--fs-sm); }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.drop-cap::first-letter {
  font-family: var(--serif); float: left; font-size: 3.6em; line-height: .8;
  padding: .05em .12em 0 0; color: var(--thistle); font-weight: 700;
}

/* ---------------------------------------------------------------------
   16. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep); color: rgba(247,243,234,.72);
  padding-block: var(--sp-7) var(--sp-4); position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--thistle), var(--teal), var(--gold), var(--thistle));
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--sp-5);
  padding-bottom: var(--sp-6); border-bottom: 1px solid rgba(247,243,234,.12);
}
.footer-brand .brand__name { color: var(--cream); }
.footer-brand .brand__mark { color: var(--gold-soft); }
.footer-blurb { font-size: var(--fs-sm); margin-top: var(--sp-3); max-width: 34ch; color: rgba(247,243,234,.66); }
.footer-col h4 { color: var(--cream); font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(247,243,234,.72); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--gold-soft); }

.footer-news p { font-size: var(--fs-sm); color: rgba(247,243,234,.66); margin-bottom: var(--sp-3); }
.footer-news .input { background: rgba(247,243,234,.06); border-color: rgba(247,243,234,.2); color: var(--cream); }
.footer-news .input::placeholder { color: rgba(247,243,234,.45); }

.socials { display: flex; gap: .6rem; margin-top: var(--sp-4); }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(247,243,234,.08); color: var(--cream);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
  padding-top: var(--sp-4); font-size: var(--fs-xs); color: rgba(247,243,234,.5);
}
.footer-legal a { color: rgba(247,243,234,.55); }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-legal__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   17. MISC
   --------------------------------------------------------------------- */
.tartan-accent { background-image: var(--tartan); }
.rule-gold { height: 3px; width: 64px; background: var(--gold); border: none; border-radius: 2px; }
.overflow-guard { max-width: 100%; overflow-x: hidden; }
.img-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); position: relative; }
.img-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(201,162,75,.28); border-radius: var(--r-xl); }

.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line); }

/* ---------------------------------------------------------------------
   18. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer-brand { grid-column: 1 / -1; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  /* mobile nav */
  .nav__toggle-label {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer; padding: 10px;
    border-radius: var(--r-sm);
  }
  .nav__toggle-label span {
    display: block; height: 2px; width: 100%; background: var(--navy);
    border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
  }
  .nav__toggle:checked ~ .nav__toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle:checked ~ .nav__toggle-label span:nth-child(2) { opacity: 0; }
  .nav__toggle:checked ~ .nav__toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream);
    padding: var(--sp-3) var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav__toggle:checked ~ .nav__menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: .95rem .2rem; font-size: var(--fs-base); }
  .nav__link::after { display: none; }
  .nav__cta { margin: var(--sp-3) 0 0; }
  .nav__cta .btn { width: 100%; }
}

@media (max-width: 720px) {
  .split, .feature-band, .feature-band--reverse { grid-template-columns: 1fr; gap: var(--sp-5); }
  .feature-band--reverse .feature-band__media { order: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: var(--sp-6); }
  .hero__inner { padding-block: var(--sp-5); }
  .section { padding-block: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .btn--block-mobile { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
  .cta-band, .page-hero { padding-inline: var(--sp-3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
