/* =========================================================
   Carolina Tech Wizards — shared stylesheet
   Aesthetic: rustic / craftsman, professional + trustworthy
   Accent: burnt copper  ·  Display: Fraunces  ·  Body: Work Sans
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --ink:        #2b2320;   /* espresso ink — headings, primary text */
  --ink-soft:   #4c4038;   /* muted body copy */
  --ink-faint:  #6f6156;   /* captions / meta */
  --cream:      #f4ede1;   /* parchment page background */
  --parchment:  #faf6ee;   /* lifted panels / cards */
  --panel:      #efe6d6;   /* secondary panel */
  --espresso:   #221b17;   /* dark contrast section */
  --espresso-2: #2f251f;   /* dark section lifted card */

  --copper:       #b5651d; /* accent */
  --copper-dark:  #8c4b13;
  --copper-deep:  #6f3c10;
  --copper-light: #d6883f;
  --copper-tint:  #f0d9bf; /* soft accent wash */

  --line:      rgba(43, 35, 32, 0.14);
  --line-soft: rgba(43, 35, 32, 0.08);
  --line-dark: rgba(244, 237, 225, 0.16);

  --ok: #3a5a40;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* spacing scale (8pt-ish) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(34, 27, 23, 0.08), 0 2px 6px rgba(34, 27, 23, 0.06);
  --shadow:    0 6px 20px rgba(34, 27, 23, 0.10), 0 2px 6px rgba(34, 27, 23, 0.06);
  --shadow-lg: 0 18px 44px rgba(34, 27, 23, 0.16);

  --container: 1140px;
  --header-h: 74px;

  /* faint paper grain, generated inline so there are no external requests */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::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(--ink-soft);
  background-color: var(--cream);
  background-image: var(--grain);
  background-size: 200px 200px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 var(--s-4);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.35rem, 6vw, 3.9rem); font-weight: 640; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 var(--s-4); }
a { color: var(--copper-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--copper-deep); }

ul { margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.container-narrow { max-width: 780px; }

.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.section-parchment { background: var(--parchment); border-block: 1px solid var(--line-soft); }
.section-panel { background: var(--panel); }

.section-dark {
  background-color: var(--espresso);
  background-image: var(--grain);
  color: #e9dfd0;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fbf6ee; }
.section-dark .eyebrow { color: var(--copper-light); }
.section-dark a { color: var(--copper-light); }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: var(--s-4); }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-dark);
  margin: 0 0 var(--s-3);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.eyebrow-center::before { display: none; }

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section-head { max-width: 64ch; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85em 1.4em;
  border-radius: 11px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--copper); color: #fff; border-color: var(--copper-dark); }
.btn-accent:hover { background: var(--copper-dark); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #1c1512; color: var(--cream); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(43,35,32,0.05); color: var(--ink); border-color: rgba(43,35,32,0.28); }

.btn-on-dark {
  background: var(--parchment);
  color: var(--ink);
}
.btn-on-dark:hover { background: #fff; color: var(--ink); }

.btn-outline-light {
  background: transparent;
  color: #f4ede1;
  border-color: var(--line-dark);
  box-shadow: none;
}
.btn-outline-light:hover { background: rgba(244,237,225,0.08); color: #fff; border-color: rgba(244,237,225,0.4); }

.btn-lg { font-size: 1.08rem; padding: 1em 1.7em; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 237, 225, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-tag {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-dark);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: var(--s-2); }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  list-style: none;
}
.nav-link {
  display: inline-block;
  padding: 0.5em 0.8em;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(43,35,32,0.05); }
.nav-link[aria-current="page"] {
  color: var(--copper-deep);
  font-weight: 600;
}
.nav-link[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin: 3px 0.35em 0;
  border-radius: 2px;
  background: var(--copper);
}
.nav-cta { margin-left: var(--s-3); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  overflow: hidden;
}
.hero::after {
  /* soft copper glow, top-right */
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 55vw; height: 55vw;
  max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(214,136,63,0.22), rgba(214,136,63,0) 62%);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-title { margin-bottom: var(--s-5); }
.hero-title .amp { color: var(--copper); font-style: italic; }
.hero-lead { margin-bottom: var(--s-6); }
.hero-meta {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); flex: none; }

/* hero side card / receipt */
.hero-card {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-6);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--line);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.hero-card-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.ticket-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) 0;
}
.ticket-row + .ticket-row { border-top: 1px dotted var(--line); }
.ticket-check {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--copper-tint);
  color: var(--copper-deep);
  display: grid;
  place-items: center;
}
.ticket-check svg { width: 15px; height: 15px; }
.ticket-row span { font-size: 0.98rem; color: var(--ink-soft); }
.hero-card-foot {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
}

/* ---------- Trust strip / seals ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.seal {
  text-align: center;
  padding: var(--s-4) var(--s-3);
}
.seal-num {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.02em;
}
.section-dark .seal-num { color: var(--copper-light); }
.seal-label {
  margin-top: var(--s-2);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.section-dark .seal-label { color: #c9bcab; }

/* ---------- Card grid (services preview) ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(181,101,29,0.4); }
.card h3 { margin-bottom: var(--s-2); }
.card p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.98rem; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
  background: var(--copper-tint);
  color: var(--copper-deep);
  border: 1px solid rgba(181,101,29,0.25);
}
.icon-badge svg { width: 26px; height: 26px; }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-4);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--copper-dark);
}
.card-link:hover .card-more { gap: 10px; }
.card-more svg { width: 15px; height: 15px; }

/* ---------- How it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  counter-reset: step;
}
.step { position: relative; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 1.4rem;
  color: var(--copper-deep);
  background: var(--parchment);
  border: 2px solid var(--copper);
  margin-bottom: var(--s-4);
}
.section-dark .step-num { background: var(--espresso-2); color: var(--copper-light); }
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--ink-soft); margin-bottom: 0; }
.section-dark .step p { color: #cdbfae; }

/* ---------- Feature list (services page rows) ---------- */
.services-list { display: grid; gap: var(--s-5); }
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-5);
  align-items: start;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.service-row h3 { margin-bottom: var(--s-2); }
.service-row p { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--copper-deep);
  background: var(--copper-tint);
  border: 1px solid rgba(181,101,29,0.22);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Note / callout ---------- */
.note {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-sm);
  padding: var(--s-5);
}
.note svg { width: 26px; height: 26px; color: var(--copper-dark); flex: none; }
.note p { margin: 0; color: var(--ink-soft); }

/* ---------- Stat tiles (results page) ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.stat-tile {
  position: relative;
  text-align: center;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-7) var(--s-5);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
}
.stat-tile.stat-feature {
  background: var(--espresso);
  background-image: var(--grain);
  border-color: transparent;
  color: #e9dfd0;
}
.stat-tile.stat-feature .stat-num { color: var(--copper-light); }
.stat-num { overflow-wrap: break-word; }
.stat-num-word { font-size: clamp(1.6rem, 4.5vw, 2.4rem); letter-spacing: 0; }
.stat-tile.stat-feature .stat-label { color: #cdbfae; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: var(--s-3);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
}
.stat-sub {
  margin-top: var(--s-2);
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.stat-tile.stat-feature .stat-sub { color: #b7a897; }

/* badge/seal medallion for star rating */
.medallion {
  width: 120px; height: 120px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--copper-deep);
  background: radial-gradient(circle at 50% 38%, var(--parchment), var(--copper-tint));
  border: 2px dashed var(--copper);
  box-shadow: inset 0 0 0 6px rgba(244,246,238,0.6);
}
.medallion .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
}
.medallion .small { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }

.stars { color: var(--copper); letter-spacing: 2px; font-size: 1.15rem; }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: #fbf6ee;
  margin: 0 0 var(--s-5);
  font-style: italic;
}
.quote .mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.4;
  color: var(--copper-light);
  display: block;
  margin-bottom: var(--s-4);
}
.quote-attr { color: #c9bcab; font-size: 0.95rem; letter-spacing: 0.04em; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: var(--s-6); justify-content: center; }
.member {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.member-placeholder { border-style: dashed; background: var(--panel); }
.avatar {
  width: 108px; height: 108px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 2.4rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--parchment);
  outline: 1px solid var(--line);
}
.avatar-1 { background: linear-gradient(150deg, var(--copper), var(--copper-deep)); }
.avatar-2 { background: linear-gradient(150deg, #3a5a40, #24402b); }
.avatar-3 { background: linear-gradient(150deg, #6f6156, #463c34); }
.avatar-photo { object-fit: cover; object-position: center 30%; background: var(--parchment); }
.member h3 { margin-bottom: 2px; }
.member-role {
  color: var(--copper-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.member-bio { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-list { list-style: none; display: grid; gap: var(--s-5); }
.contact-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-item .icon-badge { margin-bottom: 0; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: 2px; font-family: var(--font-body); font-weight: 700; }
.contact-item a { font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--copper-deep); }
.contact-item p { margin: 0; color: var(--ink-faint); font-size: 0.95rem; }

.hours { list-style: none; display: grid; gap: var(--s-1); margin-top: var(--s-2); }
.hours li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 4px 0; border-bottom: 1px dotted var(--line); font-size: 0.98rem; }
.hours li span:last-child { color: var(--ink); font-weight: 600; }

/* form */
.form-card {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--s-5); }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.field label .req { color: var(--copper-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7em 0.85em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(181,101,29,0.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: var(--s-4); }

/* ---------- CTA band ---------- */
.cta-band {
  background-color: var(--espresso);
  background-image: var(--grain);
  color: #eadfce;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -40%; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 60%;
  background: radial-gradient(ellipse, rgba(181,101,29,0.28), rgba(181,101,29,0) 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fbf6ee; margin-bottom: var(--s-3); }
.cta-band p { color: #cdbfae; max-width: 52ch; margin-inline: auto; margin-bottom: var(--s-6); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(3rem, 6vw, 4.75rem);
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -50%; right: -6%;
  width: 40vw; height: 40vw;
  max-width: 420px; max-height: 420px;
  background: radial-gradient(circle, rgba(214,136,63,0.16), rgba(214,136,63,0) 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: var(--s-4); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--espresso);
  background-image: var(--grain);
  color: #c9bcab;
  padding-block: var(--s-8) var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); text-decoration: none; }
.footer-brand .brand-mark { width: 42px; height: 42px; }
.footer-brand .brand-name { color: #fbf6ee; }
.footer-about { max-width: 34ch; font-size: 0.96rem; color: #b7a897; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; display: grid; gap: var(--s-2); }
.footer-col a { color: #d7cabb; text-decoration: none; font-size: 0.98rem; }
.footer-col a:hover { color: #fff; }
.footer-contact a { color: #d7cabb; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  padding-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #a99a89;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-bottom nav a { color: #a99a89; text-decoration: none; }
.footer-bottom nav a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .grid-3, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--parchment);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: var(--s-4);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav-link { padding: 0.8em 0.9em; border-radius: 10px; font-size: 1.05rem; }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] { background: rgba(181,101,29,0.1); }
  .nav-cta { margin: var(--s-3) 0 0; display: block; text-align: center; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .steps { grid-template-columns: 1fr; gap: var(--s-5); }
  .grid-3, .grid-2, .team-grid, .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .service-row { grid-template-columns: 1fr; gap: var(--s-4); }
  .brand-tag { display: none; }
  .hero-meta { gap: var(--s-2) var(--s-4); }
}
