/* ============================================================
   Seniors Tech Assistance — Shared theme stylesheet
   Aesthetic: warm cream paperback, English serif, terracotta accents,
   hand-drawn touches. Accessible to 65+ readers.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400;600;700&display=swap');

:root {
  /* ── Paper palette ── */
  --paper:   #fbf6e9;
  --paper-2: #f3eada;
  --paper-3: #e8d9b8;

  /* ── Ink palette (warm dark — never pure black) ── */
  --ink:     #1f2e2c;
  --ink-2:   #3d524e;
  --mute:    #7a8a85;

  /* ── Accents ── */
  --terra:        #c0552a;
  --terra-dark:   #9a4220;
  --terra-soft:   #e8a382;
  --butter:       #e8b75e;
  --butter-dark:  #b88a2f;
  --sage:         #7a9876;
  --sage-dark:    #56705a;

  /* ── Utility ── */
  --rule:    rgba(31, 46, 44, 0.18);
  --rule-strong: rgba(31, 46, 44, 0.42);
  --shadow:  0 4px 20px rgba(31, 46, 44, 0.08);
  --shadow-card: 0 8px 32px rgba(31, 46, 44, 0.10);

  /* ── Type ── */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'PT Serif', Georgia, 'Times New Roman', serif;
  --font-hand:    'Caveat', 'Brush Script MT', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga", "onum";
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--terra); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; font-weight: 700; }
a:hover { color: var(--terra-dark); text-decoration-thickness: 2.5px; }
a:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ── Paper texture overlay (subtle) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14   0 0 0 0 0.10   0 0 0 0 0.06   0 0 0 0.20 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.45;
}
main, header, footer, nav, section { position: relative; z-index: 2; }

/* ── Containers ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

/* ── Top contact strip ── */
.topstrip {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 17px;
  border-bottom: 4px solid var(--terra);
}
.topstrip-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.topstrip a { color: var(--paper); text-decoration: none; font-weight: 700; }
.topstrip a:hover { color: var(--butter); text-decoration: none; }
.topstrip .phone { font-size: 19px; letter-spacing: 0.01em; }
.topstrip .phone::before { content: '☎ '; font-size: 17px; margin-right: 4px; }

/* ── Header ── */
header.site-header {
  background: var(--paper);
  padding: 24px 0 22px;
  border-bottom: 1.5px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; line-height: 1.05; }
.brand .mark {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.brand .mark .amp { color: var(--terra); font-style: italic; padding: 0 2px; }
.brand .tagline {
  font-family: var(--font-hand);
  font-size: 19px;
  color: var(--terra);
  font-weight: 600;
  margin-top: -4px;
  letter-spacing: 0.02em;
  transform: rotate(-1.2deg);
  transform-origin: left;
}

nav.site-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}
nav.site-nav a {
  padding: 10px 16px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17.5px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
nav.site-nav a:hover,
nav.site-nav a.current {
  color: var(--terra);
  border-bottom-color: var(--terra);
  text-decoration: none;
}
nav.site-nav a.btn-cta {
  background: var(--terra);
  color: var(--paper);
  border-bottom: 3px solid var(--terra-dark);
  border-radius: 2px;
  margin-left: 8px;
  padding: 10px 22px;
}
nav.site-nav a.btn-cta:hover { background: var(--terra-dark); color: var(--paper); }

/* ────────────────────────────────────────────────────────────
   BUTTONS — chunky, stamped, English-shop-window character
   ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--terra);
  color: var(--paper);
  border-color: var(--terra-dark);
  box-shadow: 0 4px 0 var(--terra-dark), var(--shadow);
}
.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--terra-dark), 0 8px 24px rgba(31,46,44,0.18);
  color: var(--paper);
  text-decoration: none;
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--terra-dark); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  text-decoration: none;
}

/* ────────────────────────────────────────────────────────────
   PHONE BLOCK — the most important element on the page.
   Hand-rendered "business card" style.
   ──────────────────────────────────────────────────────────── */
.phone-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
  border: 3px double var(--ink);
  padding: 16px 26px 18px;
  text-decoration: none;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 6px 6px 0 var(--terra);
}
.phone-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--terra);
  text-decoration: none;
}
.phone-card .label {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--terra);
  font-weight: 600;
  transform: rotate(-1.5deg);
  transform-origin: left;
  margin-bottom: -2px;
}
.phone-card .number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 44px);
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.phone-card .hours {
  font-size: 14px;
  color: var(--mute);
  margin-top: 6px;
  font-style: italic;
}

/* ────────────────────────────────────────────────────────────
   HEADINGS — characterful, with hand-drawn underline accents
   ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400; /* DM Serif Display only has 400; it's already bold-feeling */
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.08;
}
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: clamp(24px, 3vw, 32px); }
h4 { font-size: clamp(20px, 2.5vw, 26px); }

em, .italic {
  font-style: italic;
  color: var(--terra);
}

/* Hand-drawn underline (SVG bg) — apply via .underline */
.underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em;
}
.underline::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: -0.04em;
  height: 0.22em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q 30 2 60 6 T 120 5 T 198 7' stroke='%23c0552a' stroke-width='3' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Hand-written "kicker" eyebrow above section titles */
.kicker {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--terra);
  font-weight: 600;
  transform: rotate(-1.5deg);
  transform-origin: left;
  margin-bottom: 8px;
  line-height: 1;
}

/* ────────────────────────────────────────────────────────────
   FLEURON / SECTION DIVIDERS — three dots, ornamental
   ──────────────────────────────────────────────────────────── */
.fleuron {
  text-align: center;
  color: var(--terra);
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.5em;
  padding: 30px 0;
  line-height: 0.6;
  user-select: none;
}
.fleuron::before { content: '· · ·'; }

/* ────────────────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────────────────── */
.hero {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1.5px solid var(--rule);
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-text { max-width: 32em; }
.hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--terra); }
.hero .lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 36px;
  max-width: 28em;
}
.hero-cta-row { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hero-promises {
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  position: relative;
}
.hero-promises::before {
  content: '"My promise to you"';
  position: absolute;
  top: -16px;
  left: 18px;
  background: var(--paper-2);
  padding: 2px 12px;
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--terra);
  font-weight: 600;
  transform: rotate(-1.2deg);
}
.hero-promises ul { list-style: none; }
.hero-promises li {
  font-size: 18px;
  padding: 5px 0 5px 30px;
  position: relative;
  color: var(--ink);
}
.hero-promises li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--terra);
  font-weight: 700;
  font-size: 22px;
}

/* Hero video frame with hand-drawn corner brackets */
.hero-video-frame {
  position: relative;
  padding: 14px;
}
.hero-video-frame::before,
.hero-video-frame::after {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  border: 3px solid var(--terra);
  pointer-events: none;
}
.hero-video-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-video-frame::after  { bottom: 0; right: 0; border-left: none; border-top: none; }
.hero-video-inner {
  border: 2px solid var(--ink);
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
  aspect-ratio: 9 / 16;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 14px 50px rgba(31,46,44,0.18);
}
.hero-video-inner video { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 22px;
  color: var(--paper);
  text-align: center;
  padding: 30px;
  background: radial-gradient(ellipse at center, var(--sage-dark) 0%, var(--ink) 100%);
}
.hero-video-placeholder .label-small {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--butter);
  font-weight: 600;
  letter-spacing: 0.04em;
  transform: rotate(-1.5deg);
}
.hero-video-placeholder .play-btn {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--paper);
  border: 3px solid var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  padding-left: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.hero-video-placeholder .play-btn:hover {
  background: var(--butter); color: var(--ink); transform: scale(1.07);
}
.hero-video-placeholder .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  color: var(--paper);
  max-width: 32ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ────────────────────────────────────────────────────────────
   SECTIONS
   ──────────────────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
.section + .section { border-top: 1.5px dashed var(--rule); }
.section.tinted { background: var(--paper-2); }
.section.ink {
  background: var(--ink);
  color: var(--paper);
}
.section.ink h1, .section.ink h2, .section.ink h3, .section.ink h4 { color: var(--paper); }
.section.ink em, .section.ink .italic { color: var(--butter); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-head h2 { margin-bottom: 18px; }
.section-head h2 em { font-style: italic; color: var(--terra); }
.section-head .standfirst { font-size: 21px; line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin: 0 auto; }
.section.ink .section-head .standfirst { color: rgba(251, 246, 233, 0.85); }

/* ────────────────────────────────────────────────────────────
   CARDS (3-up service grid)
   ──────────────────────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 36px 32px 32px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 6px 6px 0 var(--ink);
}
.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--terra);
}
.service-card .badge {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  padding: 4px 14px;
  transform: rotate(-2deg);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 10px 0 14px;
  color: var(--ink);
}
.service-card p { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-bottom: 22px; }
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--terra);
  text-decoration: none;
  border-bottom: 2px solid var(--terra);
  padding-bottom: 2px;
  transition: gap 0.2s;
}
.service-card .learn-more:hover { gap: 14px; color: var(--terra-dark); }
.service-card .learn-more::after { content: '→'; }

/* ────────────────────────────────────────────────────────────
   TRUST PROMISES (4-up, simple text)
   ──────────────────────────────────────────────────────────── */
.promises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 70px;
  max-width: 920px;
  margin: 0 auto;
}
.promise {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: flex-start;
}
.promise .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--terra);
  line-height: 1;
}
.section.ink .promise .num { color: var(--butter); }
.promise h4 { font-size: 24px; margin-bottom: 8px; }
.promise p { font-size: 18.5px; line-height: 1.55; color: var(--ink-2); }
.section.ink .promise p { color: rgba(251, 246, 233, 0.78); }

/* ────────────────────────────────────────────────────────────
   HOW IT WORKS — three numbered steps with hand-drawn arrows
   ──────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 30px;
  align-items: stretch;
}
.step {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 36px 30px 32px;
  text-align: center;
  position: relative;
}
.step .step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 32px;
  border-radius: 50%;
  margin-bottom: 18px;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--terra-dark);
}
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  color: var(--terra);
  font-size: 60px;
  font-weight: 700;
  padding: 0 10px;
}
.step-arrow::before { content: '➜'; transform: translateY(-12px); }

/* ────────────────────────────────────────────────────────────
   TESTIMONIALS
   ──────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.testimonial {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 36px 36px 30px;
  position: relative;
  box-shadow: 6px 6px 0 var(--butter);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 0; left: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 100px;
  color: var(--terra);
  line-height: 0.8;
}
.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin: 28px 0 22px;
  padding-left: 14px;
}
.testimonial cite {
  display: block;
  font-family: var(--font-hand);
  font-style: normal;
  font-size: 24px;
  color: var(--terra);
  font-weight: 600;
  transform: rotate(-1deg);
  transform-origin: left;
}
.testimonial cite::before { content: '— '; opacity: 0.6; }

/* ────────────────────────────────────────────────────────────
   ARTICLE CARDS (blog teaser)
   ──────────────────────────────────────────────────────────── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 32px 30px 30px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.article-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 var(--sage);
}
.article-card .tag {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 20px;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 12px;
  transform: rotate(-1deg);
}
.article-card h3 { font-size: 26px; margin-bottom: 14px; line-height: 1.18; }
.article-card p { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-bottom: 18px; }
.article-card a {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--terra);
  text-decoration: none;
  border-bottom: 2px solid var(--terra);
  padding-bottom: 2px;
}
.article-card a:hover { color: var(--terra-dark); border-color: var(--terra-dark); }

/* ────────────────────────────────────────────────────────────
   BIG CTA STRIP
   ──────────────────────────────────────────────────────────── */
.cta-strip {
  padding: 90px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  position: relative;
}
.cta-strip::before, .cta-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8'><path d='M0 4 L20 0 L40 4 L20 8 Z' fill='%23c0552a'/></svg>");
  background-repeat: repeat-x;
  background-size: 24px 8px;
}
.cta-strip::before { top: 0; }
.cta-strip::after { bottom: 0; }
.cta-strip h2 { color: var(--paper); margin-bottom: 18px; }
.cta-strip h2 em { color: var(--butter); }
.cta-strip p { font-size: 22px; margin-bottom: 38px; color: rgba(251, 246, 233, 0.9); max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-strip .phone-card {
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 6px 6px 0 var(--terra), 12px 12px 0 var(--butter);
}
.cta-strip .phone-card:hover { box-shadow: 8px 8px 0 var(--terra), 14px 14px 0 var(--butter); }
.cta-strip .phone-card .number { color: var(--ink); }

/* ────────────────────────────────────────────────────────────
   INNER-PAGE HERO (smaller than homepage)
   ──────────────────────────────────────────────────────────── */
.page-hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  text-align: center;
  border-bottom: 1.5px solid var(--rule);
}
.page-hero .kicker { display: block; margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 18px; max-width: 18ch; margin-left: auto; margin-right: auto; }
.page-hero h1 em { font-style: italic; color: var(--terra); }
.page-hero .lede { font-size: 22px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 0 auto; }
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--mute);
  margin-bottom: 30px;
}
.breadcrumbs a { color: var(--mute); text-decoration: none; font-weight: 400; }
.breadcrumbs a:hover { color: var(--terra); }
.breadcrumbs::before { content: '« '; opacity: 0.6; }

/* ────────────────────────────────────────────────────────────
   PROSE — long-form content pages
   ──────────────────────────────────────────────────────────── */
.prose {
  font-size: 21px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 70ch;
  margin: 0 auto;
}
.prose p { margin-bottom: 24px; }
.prose p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 80px;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 8px;
  color: var(--terra);
  font-style: italic;
}
.prose h2 { margin: 50px 0 20px; font-size: clamp(28px, 4vw, 38px); }
.prose h3 { margin: 36px 0 14px; font-size: clamp(22px, 3vw, 28px); }
.prose ul, .prose ol { margin: 0 0 26px 24px; }
.prose li { margin-bottom: 10px; line-height: 1.6; }
.prose blockquote {
  margin: 36px 0;
  padding: 26px 30px;
  background: var(--paper-2);
  border-left: 4px solid var(--terra);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
}
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 700; }

/* ────────────────────────────────────────────────────────────
   FORMS
   ──────────────────────────────────────────────────────────── */
.form-block {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 44px 44px 38px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 8px 8px 0 var(--terra);
  position: relative;
}
.form-block::before {
  content: '"Please fill this in"';
  position: absolute;
  top: -18px; left: 24px;
  background: var(--paper-2);
  padding: 2px 14px;
  font-family: var(--font-hand);
  font-size: 24px;
  color: var(--terra);
  font-weight: 700;
  transform: rotate(-1.5deg);
}
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 19px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(192, 85, 42, 0.18);
}
.form-field .help { font-size: 16px; color: var(--mute); font-style: italic; margin-top: 6px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.form-checkbox input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--terra); }
.form-checkbox label { font-size: 18px; line-height: 1.4; cursor: pointer; }

/* ────────────────────────────────────────────────────────────
   PRICING TABLE — friendly, not aggressive
   ──────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 40px 34px 36px;
  position: relative;
  text-align: center;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--terra);
}
.price-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--terra);
  transform: scale(1.03);
}
.price-card.featured h3,
.price-card.featured .price { color: var(--paper); }
.price-card.featured .price-suffix { color: var(--butter); }
.price-card.featured ul li { color: rgba(251, 246, 233, 0.92); }
.price-card.featured ul li::before { color: var(--butter); }
.price-card.featured .featured-tag {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  background: var(--butter);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  padding: 4px 18px;
  white-space: nowrap;
}
.price-card h3 { font-size: 26px; margin-bottom: 8px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--terra);
  line-height: 1;
  margin: 14px 0 6px;
}
.price-card.featured .price { color: var(--butter); }
.price-card .price-suffix { font-size: 16px; color: var(--mute); display: block; margin-bottom: 24px; font-style: italic; }
.price-card ul { list-style: none; text-align: left; margin: 24px 0; }
.price-card li {
  padding: 8px 0 8px 30px;
  font-size: 17px;
  position: relative;
  color: var(--ink);
  line-height: 1.5;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: 700;
  font-size: 20px;
}

/* ────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 0 36px;
  position: relative;
  border-top: 6px solid var(--terra);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-brand .mark {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--paper);
}
.footer-brand .mark .amp { color: var(--butter); font-style: italic; }
.footer-brand .tagline {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--butter);
  font-weight: 600;
  margin-top: 6px;
  transform: rotate(-1deg); transform-origin: left;
}
.footer-brand p { font-size: 17px; line-height: 1.55; color: rgba(251, 246, 233, 0.78); margin-top: 16px; max-width: 32ch; }
.footer-brand .phone-card {
  background: transparent;
  border: 2px dashed var(--butter);
  margin-top: 22px;
  box-shadow: none;
}
.footer-brand .phone-card .label { color: var(--butter); }
.footer-brand .phone-card .number { color: var(--paper); }
.footer-brand .phone-card .hours { color: rgba(251, 246, 233, 0.7); }
footer h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--butter);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 11px; }
footer ul a {
  color: rgba(251, 246, 233, 0.85);
  font-weight: 400;
  font-size: 17px;
  text-decoration: none;
  transition: color 0.15s;
}
footer ul a:hover { color: var(--butter); text-decoration: none; }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(251, 246, 233, 0.18);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 15px;
  color: rgba(251, 246, 233, 0.6);
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  html, body { font-size: 19px; }
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-3, .articles-grid, .pricing-grid { grid-template-columns: 1fr; }
  .promises-grid { grid-template-columns: 1fr; gap: 32px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step-arrow { transform: rotate(90deg); padding: 6px 0; }
  .step-arrow::before { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 60px 0; }
  nav.site-nav a { padding: 8px 12px; font-size: 16px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topstrip-inner { justify-content: center; text-align: center; }
  .price-card.featured { transform: none; }
  .header-inner { justify-content: center; }
  nav.site-nav a.btn-cta { width: 100%; text-align: center; margin: 8px 0 0; }
}

/* ── Accessibility — reduced motion + high contrast ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #0a1614; --mute: #3d524e; --rule: rgba(31, 46, 44, 0.42); }
}

/* ── Print ── */
@media print {
  body::before { display: none; }
  body { background: white; }
  .topstrip, header.site-header, footer.site-footer, .cta-strip { display: none; }
  a { color: var(--ink) !important; }
}

/* ── Reveal animation (one-shot at page load) ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.rise-1, .rise-2, .rise-3, .rise-4 {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.18s; }
.rise-3 { animation-delay: 0.34s; }
.rise-4 { animation-delay: 0.5s; }

/* ── cookie consent banner ─────────────────────────────────── */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:80;
  background:var(--ink-1, #1f2e2c); color:#fbf6e9;
  border-top:3px solid var(--butter, #e8b75e);
  box-shadow:0 -10px 30px rgba(0,0,0,.18);
  padding:18px 0;
}
.cookie-banner[hidden]{ display:none !important; }
.cookie-banner-inner{
  display:flex; gap:24px; align-items:center; flex-wrap:wrap;
  justify-content:space-between;
}
.cookie-banner p{
  margin:0; max-width:780px;
  font-family: 'PT Serif', Georgia, serif;
  font-size:17px; line-height:1.55; color:#fbf6e9;
}
.cookie-banner a{ color:var(--butter, #e8b75e); text-decoration:underline; }
.cookie-banner .btn{ flex-shrink:0; }
@media (max-width: 640px){
  .cookie-banner-inner{ flex-direction:column; align-items:flex-start; }
  .cookie-banner .btn{ width:100%; }
}
