/* ============================================================
   Cotswold Wills and Estates Ltd — style.css
   Editorial heritage direction: Fraunces + Hanken Grotesk,
   forest-dominant surfaces, antique brass reserved as accent,
   the logo's —◆— diamond rule as the signature motif.
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Colour — drawn from the logo: woodland green + antique brass on warm paper */
  --ink:         #1E261F;   /* deep green-black — text + immersive surfaces */
  --forest:      #2C4A2E;   /* logo green — primary brand surface */
  --forest-deep: #213A24;   /* deeper forest for layered depth */
  --fern:        #5C7A5E;   /* sage — secondary */
  --moss:        #93AE93;   /* light moss — on-dark detail */
  --parchment:   #F4EFE5;   /* warm paper — resting page background */
  --stone:       #E7DECF;   /* warm stone — alternate band */
  --linen:       #FBF8F1;   /* near-white — cards / panels */
  --brass:       #A9791C;   /* antique brass — rules, marks */
  --brass-text:  #8A6310;   /* darker brass — AA-safe labels on light */
  --brass-soft:  #CBA45A;   /* light brass — marks on dark surfaces */

  /* Type families */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid editorial type scale */
  --text-xs:   0.78rem;
  --text-sm:   0.9rem;
  --text-base: 1.0625rem;       /* ~17px — comfortable for older readers */
  --text-lg:   1.2rem;
  --text-xl:   clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem);
  --text-2xl:  clamp(1.55rem, 1.2rem + 1.6vw, 2.1rem);
  --text-3xl:  clamp(1.9rem, 1.4rem + 2.4vw, 2.9rem);
  --text-4xl:  clamp(2.3rem, 1.5rem + 3.6vw, 3.6rem);
  --text-5xl:  clamp(2.7rem, 1.4rem + 5.4vw, 4.7rem);

  /* Layout */
  --max-width: 1140px;
  --measure: 64ch;
  --radius-card: 3px;
  --radius-btn: 2px;
  --shadow-card: 0 14px 40px -22px rgba(30, 38, 31, 0.5);
  --hairline: rgba(30, 38, 31, 0.14);

  --section-pad: 56px;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--brass-text); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }

strong { font-weight: 600; }

/* ---------- 3. Accessibility ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  z-index: 9999;
  background: var(--brass);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- 4. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--stone { background-color: var(--stone); }
.section--linen { background-color: var(--linen); }
.section--cream { background-color: var(--parchment); }
.section--warm  { background-color: var(--linen); }

.text-center { text-align: center; }

/* Eyebrow / kicker — the logo's brass diamond precedes a tracked small-caps label */
.eyebrow,
.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--text-xs);
  color: var(--brass-text);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

.eyebrow::before,
.kicker::before {
  content: "◆";
  font-size: 0.7em;
  color: var(--brass);
  letter-spacing: 0;
  transform: translateY(-1px);
}

.text-center .eyebrow { display: inline-flex; }

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.text-center .section-title { margin-left: auto; margin-right: auto; }

.section-intro {
  max-width: var(--measure);
  font-size: var(--text-lg);
  color: var(--ink);
  opacity: 0.86;
}

.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* The —◆— divider, drawn straight from the wordmark */
.brand-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--brass);
  margin: 0 auto;
}
.brand-rule::before,
.brand-rule::after {
  content: "";
  height: 1px;
  width: 56px;
  background-color: currentColor;
  opacity: 0.7;
}
.brand-rule span { font-size: 0.7rem; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.22s ease, color 0.22s ease,
    border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Forest fill — primary action on light surfaces */
.btn-primary {
  background-color: var(--forest);
  color: var(--linen);
  border-color: var(--forest);
}
.btn-primary:hover {
  background-color: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--linen);
  box-shadow: 0 16px 30px -16px rgba(33, 58, 36, 0.8);
}

/* Linen fill — for use on dark/forest surfaces */
.btn-light {
  background-color: var(--linen);
  color: var(--forest);
  border-color: var(--linen);
}
.btn-light:hover {
  background-color: #fff;
  color: var(--forest-deep);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.5);
}

/* Brass fill — reserved for the nav quote button (ties to logo gold) */
.btn-brass {
  background-color: var(--brass);
  color: #fff;
  border-color: var(--brass);
}
.btn-brass:hover {
  background-color: var(--brass-text);
  border-color: var(--brass-text);
  color: #fff;
}

/* Outline / ghost on dark */
.btn-outline {
  background: transparent;
  color: var(--linen);
  border-color: rgba(251, 248, 241, 0.5);
}
.btn-outline:hover {
  background: var(--linen);
  color: var(--forest);
  border-color: var(--linen);
}

.btn-forest { /* legacy alias used in CTA banners */
  background-color: var(--linen);
  color: var(--forest);
  border-color: var(--linen);
}
.btn-forest:hover {
  background-color: #fff;
  color: var(--forest-deep);
}

/* Editorial arrow link */
.text-link,
.link-arrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--forest);
  display: inline-block;
  margin-top: 0.4rem;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-position: 0 100%;
  background-size: 100% 1.5px;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: color 0.2s ease, background-size 0.3s ease, letter-spacing 0.2s ease;
}
.text-link:hover,
.link-arrow:hover {
  color: var(--brass-text);
  letter-spacing: 0.01em;
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--forest);
  border-bottom: 1px solid rgba(203, 164, 90, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  line-height: 1.05;
}
.nav-logo:hover { color: var(--linen); }

.nav-logo-mark {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  background-color: var(--linen);
  padding: 5px;
  border-radius: var(--radius-card);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.nav-logo-text {
  display: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  color: var(--linen);
}
.nav-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 4px;
}
@media (min-width: 768px) { .nav-logo-text { display: block; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px; width: 100%;
  background-color: var(--linen);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background-color: var(--forest);
  flex-direction: column;
  padding: 8px 24px 26px;
  box-shadow: 0 14px 18px rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(203, 164, 90, 0.28);
}
.nav-menu.is-open { display: flex; }

.nav-menu li { border-top: 1px solid rgba(147, 174, 147, 0.22); }

.nav-menu a {
  display: block;
  color: var(--linen);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 15px 4px;
  letter-spacing: 0.01em;
}
.nav-menu a:hover { color: var(--brass-soft); }
.nav-menu a.is-active { color: var(--brass-soft); }

.nav-cta { margin-top: 16px; }
.nav-cta .btn { width: 100%; }

/* ---------- 7. Hero (editorial, asymmetric) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(135% 120% at 12% 6%, #32442f 0%, rgba(30, 38, 31, 0) 52%),
    var(--ink);
  color: var(--linen);
  overflow: hidden;
}
/* fine film grain — tactile depth on the dark panel */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.hero-copy {
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero .kicker { color: var(--brass-soft); }
.hero .kicker::before { color: var(--brass-soft); }

.hero-title {
  color: var(--linen);
  font-size: var(--text-5xl);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.03;
  margin-bottom: 1.4rem;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-soft);
}

.hero-lede {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(251, 248, 241, 0.86);
  max-width: 44ch;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.hero-actions .btn { width: 100%; max-width: 340px; text-align: center; }
.hero-actions .text-link { color: var(--linen); }
.hero-actions .text-link:hover { color: var(--brass-soft); }

/* Figure — a framed 'portrait of place' */
.hero-figure {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.hero-figure-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keep the honey-stone warmth, gently brand-tinted — not a flat grey duotone */
  filter: grayscale(0.32) contrast(1.05) saturate(1.06) brightness(1.02);
  transform: scale(1.04);
  animation: hero-kenburns 26s ease-in-out infinite alternate;
}
@keyframes hero-kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12) translateY(-1.5%); }
}
/* brand tint in the shadows + bottom vignette for depth and plate legibility */
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(44, 74, 46, 0.42) 0%, rgba(30, 38, 31, 0) 44%),
    linear-gradient(0deg, rgba(30, 38, 31, 0.6) 0%, rgba(30, 38, 31, 0) 46%);
}
/* inset brass keyline — frames the photo like a print */
.hero-figure-frame {
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(203, 164, 90, 0.5);
  pointer-events: none;
}
/* floating parchment plate carrying the brand line */
.hero-figure-plate {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--parchment);
  color: var(--ink);
  padding: 13px 20px;
  box-shadow: 0 22px 50px -22px rgba(0, 0, 0, 0.7);
}
.hero-figure-plate em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}
.hero-figure-diamond { color: var(--brass); font-size: 0.7rem; }

/* Duotone — unifies stock photography into the brand so it reads art-directed */
.duotone { position: relative; }
.duotone img { filter: grayscale(1) contrast(1.04) brightness(1.02); }
.duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--forest) 0%, var(--ink) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}
.duotone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(30,38,31,0) 55%, rgba(30,38,31,0.45) 100%);
  pointer-events: none;
}

/* Inner-page hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  color: var(--linen);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30,38,31,0.30) 0%, rgba(30,38,31,0.78) 100%),
    linear-gradient(150deg, rgba(44,74,46,0.55), rgba(30,38,31,0.55));
  mix-blend-mode: multiply;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  flex-direction: column;
}
.page-hero-inner .breadcrumb { order: -1; }   /* breadcrumb above the title regardless of markup order */
.page-hero h1 {
  color: var(--linen);
  font-size: var(--text-4xl);
  margin-bottom: 0.6rem;
  max-width: 18ch;
}
.page-hero p {
  color: rgba(251, 248, 241, 0.9);
  font-weight: 300;
  font-size: var(--text-lg);
  max-width: 52ch;
}

.hero-areas    { background-image: url("images/cotswold-riverside-village.jpg"); }
.hero-services { background-image: url("images/cotswold-drystone-wall.webp"); }
.hero-about    { background-image: url("images/cotswold-cafe-village-hall.avif"); }
.hero-contact  { background-image: url("images/cotswold-cottages.jpg"); }

/* Breadcrumb */
.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: var(--text-sm);
  margin-bottom: 1.2rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--brass-soft); }
.breadcrumb a:hover { color: var(--linen); }
.breadcrumb li[aria-current="page"] { color: rgba(251,248,241,0.8); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--moss); }

/* ---------- 8. Trust strip (typographic) ---------- */
.trust-bar {
  background-color: var(--linen);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 34px 24px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 18px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.trust-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-align: left;
}
.trust-item svg { display: none; }            /* drop the stock icons for a quieter, editorial row */
.trust-item::before {
  content: "◆";
  color: var(--brass);
  font-size: 0.6rem;
  transform: translateY(-2px);
  flex-shrink: 0;
}
.trust-item span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--ink);
  letter-spacing: 0;
}

/* ---------- 9. Editorial services list (home) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.card {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  transition: padding-left 0.25s ease;
}
.card::before { content: none; }
.card:hover { padding-left: 14px; }
.card-icon { display: none; }                 /* type does the work, not stock icons */
.card h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
}
.card p {
  font-size: var(--text-base);
  color: var(--ink);
  opacity: 0.82;
  max-width: 52ch;
  margin-bottom: 0.4rem;
}

/* ---------- 10. Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.split-img {
  position: relative;
}
.split-img img {
  width: 100%;
  border-radius: var(--radius-card);
}
/* brass corner frame — quiet heritage detail */
.split-img::after {
  content: "";
  position: absolute;
  top: 14px; right: -14px; bottom: -14px; left: 14px;
  border: 1px solid var(--brass);
  border-radius: var(--radius-card);
  z-index: -1;
  opacity: 0.5;
}
.split-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: 1.2rem;
}

/* ---------- 11. Why-choose (forest band) ---------- */
.why {
  background-color: var(--forest);
  color: var(--linen);
}
.why h2 {
  color: var(--linen);
  font-size: var(--text-3xl);
  margin-bottom: 2rem;
  max-width: 20ch;
}
.why-list {
  max-width: 880px;
  display: grid;
  gap: 0;
}
.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.45;
  padding: 20px 0;
  border-top: 1px solid rgba(203, 164, 90, 0.22);
}
.why-list li:last-child { border-bottom: 1px solid rgba(203, 164, 90, 0.22); }
.why-list li::before {
  content: "◆";
  color: var(--brass-soft);
  font-size: 0.7rem;
  transform: translateY(-2px);
}

/* ---------- 12. Signature: oversized italic legacy statement ---------- */
.quote-block {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 6px;
}
.quote-block::before {
  content: "“";
  position: absolute;
  top: -0.46em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 9vw, 6.5rem);
  line-height: 1;
  color: var(--brass);
  opacity: 0.22;
  z-index: 0;
}
.quote-block blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.36;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.quote-block cite {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--text-xs);
  color: var(--brass-text);
}
/* on the forest band, lift the quote colours */
.why .quote-block blockquote { color: var(--linen); }
.why .quote-block cite { color: var(--brass-soft); }
.why .quote-block::before { color: var(--brass-soft); opacity: 0.3; }

/* ---------- 13. Areas preview ---------- */
.areas-prose {
  max-width: var(--measure);
  font-size: var(--text-lg);
  line-height: 1.6;
}
.text-center .areas-prose { margin-left: auto; margin-right: auto; }
.areas-prose strong { color: var(--forest); font-weight: 600; }

/* ---------- 14. Town grid ---------- */
.town-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: var(--hairline);
  border: 1px solid var(--hairline);
}
.town-grid li {
  background-color: var(--parchment);
  padding: 18px 14px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.town-grid li:hover { background-color: var(--forest); }
.town-grid strong {
  color: var(--forest);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  transition: color 0.2s ease;
}
.town-grid li:hover strong { color: var(--linen); }

/* ---------- 15. CTA banner (forest) ---------- */
.cta-banner {
  background-color: var(--forest);
  color: var(--linen);
  text-align: center;
  padding: var(--section-pad) 24px;
  position: relative;
}
.cta-banner h2 {
  color: var(--linen);
  font-size: var(--text-3xl);
  margin-bottom: 0.8rem;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.cta-banner p {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(251, 248, 241, 0.88);
  margin-bottom: 1.9rem;
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}

/* ---------- 16. Services detail (articles) ---------- */
.service-article {
  background: transparent;
  border: none;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
  padding: 44px 0;
}
.service-article:first-of-type { border-top: none; padding-top: 8px; }
.service-article h2 {
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.service-article h2 svg { display: none; }
.service-article h2::before {
  content: "◆";
  color: var(--brass);
  font-size: 0.5em;
  transform: translateY(-0.4em);
}
.service-article > p { max-width: var(--measure); font-size: var(--text-lg); }
.service-article ul.ticks {
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 12px;
  max-width: var(--measure);
}
.service-article ul.ticks li {
  position: relative;
  padding-left: 1.7em;
}
.service-article ul.ticks li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.42em;
  color: var(--brass);
  font-size: 0.55rem;
}

/* Pricing note + disclaimer */
.note-box {
  background-color: var(--linen);
  border-left: 3px solid var(--brass);
  padding: 26px 30px;
  margin-top: 16px;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
}
.disclaimer-box {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  margin-top: 28px;
  color: var(--ink);
  opacity: 0.78;
  font-size: var(--text-sm);
  font-style: italic;
}

/* ---------- 17. Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.value-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
  padding: 30px 0;
  text-align: left;
}
.value-card svg {
  width: 26px; height: 26px;
  stroke: var(--brass);
  margin: 0 0 14px;
}
.value-card h3 { font-size: var(--text-2xl); margin-bottom: 0.4rem; }
.value-card p { color: var(--ink); opacity: 0.82; max-width: 46ch; }

/* ---------- 18. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.contact-info {
  background-color: var(--forest);
  color: var(--linen);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  align-self: start;
}
.contact-info-photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 50%;
  border: 3px solid var(--brass-soft);
  margin-bottom: 1.6rem;
}
.contact-info h2 { color: var(--linen); font-size: var(--text-2xl); margin-bottom: 1.4rem; }
.contact-info dl { display: grid; gap: 18px; }
.contact-info dt {
  font-weight: 700;
  color: var(--brass-soft);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 3px;
}
.contact-info dd { font-size: var(--text-base); color: rgba(251,248,241,0.92); }
.contact-info dd a { color: var(--linen); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brass-soft); text-underline-offset: 3px; }
.contact-info dd a:hover { color: var(--brass-soft); }
.contact-info dd small { display: block; color: var(--moss); font-size: var(--text-xs); margin-top: 2px; }

/* ---------- 19. Form ---------- */
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: 7px;
  color: var(--forest);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background-color: var(--linen);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-btn);
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 121, 28, 0.18);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: var(--text-sm); color: var(--ink); opacity: 0.75; margin-top: 14px; }
.form-note a { color: var(--forest); text-decoration: underline; }
#submit-btn { width: 100%; }

.form-success, .form-error {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  font-size: var(--text-base);
}
.form-success { background-color: #e7efe5; border: 1px solid var(--fern); color: var(--forest-deep); }
.form-error { background-color: #f6e7e3; border: 1px solid #b35442; color: #8a2e1f; }

/* ---------- 20. Image banner ---------- */
.image-banner { width: 100%; height: 280px; overflow: hidden; position: relative; }
.image-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 21. Footer ---------- */
.site-footer {
  background-color: var(--ink);
  color: var(--linen);
  padding: 64px 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--linen);
  margin-bottom: 0.7rem;
}
.footer-col h4 {
  color: var(--brass-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(251, 248, 241, 0.86); }
.footer-col a:hover { color: var(--brass-soft); }
.footer-tagline { color: var(--moss); font-size: var(--text-sm); max-width: 30ch; font-style: italic; }
.footer-contact p { margin-bottom: 9px; font-size: var(--text-sm); color: rgba(251,248,241,0.86); }
.footer-contact a { color: var(--linen); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(147, 174, 147, 0.2);
  margin-top: 52px;
  padding: 26px 0 34px;
  font-size: var(--text-xs);
  color: var(--moss);
  text-align: center;
  line-height: 1.8;
}
.footer-bottom .container { max-width: 920px; }

/* ---------- 22. Motion: hero load + scroll reveal ---------- */
.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.40s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 23. Tablet (≥768px) ---------- */
@media (min-width: 768px) {
  :root { --section-pad: 92px; }

  .hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
  }
  .hero-copy {
    padding-top: 108px;
    padding-bottom: 108px;
    padding-right: 64px;
  }
  .hero-figure {
    min-height: 560px;
    align-self: stretch;
    border-left: 1px solid rgba(203, 164, 90, 0.22); /* full-height brass divider between columns */
  }
  .hero-figure-frame { inset: 22px; }
  .hero-figure-plate { left: 22px; bottom: 22px; padding: 15px 24px; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; min-width: 200px; }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }

  .card-grid { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .card { padding: 34px 0; }

  .split { grid-template-columns: 1.05fr 1fr; gap: 56px; }

  .town-grid { grid-template-columns: repeat(3, 1fr); }

  .values-grid { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .values-grid .value-card { border-bottom: none; border-top: 2px solid var(--brass); padding-top: 24px; }

  .form-row { grid-template-columns: 1fr 1fr; gap: 20px; }

  .contact-layout { grid-template-columns: 3fr 2fr; gap: 56px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }

  .image-banner { height: 420px; }

  .page-hero { min-height: 380px; }
}

/* ---------- 24. Desktop (≥1024px) ---------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .nav-menu li { border-top: none; }
  .nav-menu a { padding: 6px 0; position: relative; }
  .nav-menu a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 2px;
    background-color: var(--brass-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .nav-menu a:not(.btn):hover::after,
  .nav-menu a.is-active::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; margin-left: 10px; }
  .nav-cta .btn { width: auto; }

  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .town-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-copy > *, .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
