/* ============================================================
   racehorsetrainer.com.au — editorial directory design (2026)
   Design language: warm cream paper, Fraunces display serif,
   Inter body, clay/gold/teal accents, hairline borders.
   ============================================================ */

:root {
  --paper: #fdf8ec;
  --paper-soft: #fffdf7;
  --card: #ffffff;
  --ink: #1c1a14;
  --ink-soft: #4a463c;
  --ink-mute: #6b6558;
  --line: #e7e3da;
  --clay: #a14a2c;
  --clay-dark: #82391f;
  --gold: #a76300;
  --teal: #0d6776;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(19, 17, 11, .04), 0 4px 14px rgba(19, 17, 11, .04);
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: Fraunces, "Source Serif Pro", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1600px) { .wrap { max-width: 1360px; } }

h1, h2, h3, .stat b {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--clay); }

/* skip link */
.skiplink {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skiplink:focus { left: 0; }

/* ---------- eyebrow section label ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--clay);
  margin-bottom: .6rem;
}

/* ---------- header ---------- */
.sitehead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 248, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.sitehead .bar {
  display: flex; align-items: center; gap: 1rem;
  padding-top: .8rem; padding-bottom: .8rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink); font-family: var(--font-display);
  font-weight: 600; font-size: 1.15rem;
  letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--clay); }
.brandlogo { width: 1.8rem; height: 1.8rem; }
.sitenav {
  display: flex; flex-wrap: wrap; gap: .1rem 1.4rem;
  margin-left: auto;
}
.sitenav a {
  color: var(--ink-soft); font-weight: 500; font-size: .9rem;
  text-decoration: none; padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.sitenav a:hover { color: var(--ink); border-bottom-color: var(--clay); }
.sitenav a[aria-current="page"] { color: var(--clay); border-bottom-color: var(--clay); }
.navtoggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink); border-radius: 8px;
  font-size: 1.1rem; line-height: 1; padding: .4rem .65rem;
  cursor: pointer;
}

/* ---------- breadcrumbs ---------- */
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: .35rem; padding: 1rem 0 0; margin: 0;
  font-size: .8rem; color: var(--ink-mute);
}
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #b9b2a2; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--clay); text-decoration: underline; }

/* ---------- hero band ---------- */
main { padding-bottom: 2.5rem; }
.pagehead {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(167, 99, 0, .06), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-soft) 65%, #fff);
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  margin: 1.1rem 0 1.4rem;
}
.pagehead h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  max-width: 22ch;
}
.pagehead h1 + .hero { margin-top: 1.2rem; }
.hero { margin: .4rem 0 0; }
.hero img {
  border-radius: var(--radius);
  display: block;
  border: 1px solid var(--line);
  background: #fff;
}

/* ---------- chips / section nav pills ---------- */
.sectionnav { margin: 0 0 1.2rem; }
.sectionnav ul {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; padding: 0; margin: 0;
}
.sectionnav a {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  padding: .45rem 1.1rem;
  font-weight: 500; font-size: .88rem;
  color: var(--ink-soft); text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.sectionnav a:hover {
  border-color: var(--clay);
  color: var(--clay);
  background: #fff;
}

/* ---------- content card ---------- */
.content {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 3vw, 2.4rem);
}
.content h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  margin: 1.2em 0 .5em; line-height: 1.25;
}
.content h3 { font-size: 1.15rem; margin: 1.1em 0 .35em; }
.content h2:first-child, .content h3:first-child { margin-top: .2em; }
.content p { margin: .6em 0; color: var(--ink-soft); max-width: 75ch; }
.content strong, .content b { color: var(--ink); }
.content ul, .content ol { padding-left: 1.4rem; color: var(--ink-soft); }
.content li { margin: .3em 0; }
.content hr { border: none; border-top: 1px solid var(--line); margin: 1.6em 0; }

/* figures */
figure { margin: 0; }
figure.ph { margin: 1.2rem 0; text-align: center; }
figure.ph img {
  display: inline-block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px;
}
figure.ph figcaption {
  margin-top: .5rem;
  font-size: .88rem; color: var(--ink-mute);
}
.gallery { margin-top: 1.8rem; border-top: 1px dashed var(--line); padding-top: 1.2rem; }

/* data tables */
table.data {
  width: 100%; border-collapse: collapse;
  margin: 1.2rem 0; font-size: .93rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
table.data th, table.data td {
  border-bottom: 1px solid var(--line);
  padding: .6rem .9rem; text-align: left;
}
table.data th {
  background: var(--paper);
  font-weight: 600; color: var(--ink);
  font-size: .85rem; text-transform: uppercase; letter-spacing: .04em;
}
table.data tr:last-child td { border-bottom: none; }

/* ---------- search form ---------- */
form[role="search"] {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem; margin: 1.2rem 0;
}
.searchrow { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 0; }
.searchrow label { font-weight: 600; color: var(--ink); }
input[type="text"], input[type="search"], input[type="email"] {
  font: inherit; padding: .55rem .85rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); min-width: 240px;
}
input[type="submit"], button {
  font: inherit; font-weight: 600;
  background: var(--clay); color: #fff;
  border: none; border-radius: 8px;
  padding: .6rem 1.4rem; cursor: pointer;
  transition: background .15s ease;
}
input[type="submit"]:hover, button:hover { background: var(--clay-dark); }
.searchhint { font-size: .84rem; color: var(--ink-mute); margin: .6rem 0 0; }

map + img, img[usemap] { cursor: pointer; }

/* ---------- stats band ---------- */
.statsband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.6rem 0;
}
.statsband .stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
  padding: 1.2rem 1.3rem;
}
.statsband .stat b {
  display: block;
  font-size: 2.1rem;
  color: var(--clay);
  line-height: 1.1;
}
.statsband .stat span {
  font-size: .85rem;
  color: var(--ink-mute);
}

/* ---------- carousel ---------- */
.carousel {
  position: relative;
  margin: 1.4rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.carousel-track { display: flex; transition: transform .45s ease; }
.carousel-slide { min-width: 100%; margin: 0; position: relative; }
.carousel-slide img {
  display: block;
  width: 100%; height: clamp(240px, 36vw, 440px);
  object-fit: cover;
}
.carousel-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(19, 17, 11, .82));
  color: #fff; padding: 2.4rem 1.3rem 1rem;
  font-size: .95rem;
}
.carousel-slide figcaption a { color: #f3e3c8; font-weight: 600; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  background: rgba(28, 26, 20, .55);
  color: #fff; border: none;
  width: 2.7rem; height: 2.7rem; border-radius: 999px;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(161, 74, 44, .9); }
.carousel-btn.prev { left: .9rem; }
.carousel-btn.next { right: .9rem; }
.carousel-dots {
  position: absolute; bottom: .8rem; right: 1.1rem; z-index: 5;
  display: flex; gap: .4rem;
}
.carousel-dots button {
  width: .6rem; height: .6rem; border-radius: 999px;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .5);
}
.carousel-dots button[aria-current="true"] { background: #f3e3c8; }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
  margin: 1.4rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .12s ease;
}
.card:hover { border-color: #cfc7b4; transform: translateY(-2px); }
.card img {
  width: 100%; height: 150px; object-fit: cover; display: block;
  border-bottom: 1px solid var(--line);
}
.card .card-body { padding: 1rem 1.2rem 1.2rem; }
.card h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.card p { margin: 0 0 .8rem; font-size: .89rem; color: var(--ink-mute); }
.card .cardlink {
  font-weight: 600; font-size: .88rem; color: var(--clay); text-decoration: none;
}
.card .cardlink:hover { text-decoration: underline; }

/* ---------- accordion ---------- */
.accordion { margin: 1.4rem 0; }
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: .7rem;
  overflow: hidden;
}
.accordion-item h3 { margin: 0; font-family: var(--font-body); }
.accordion-trigger {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; cursor: pointer;
  padding: 1rem 1.3rem;
  font: inherit; font-weight: 600; text-align: left;
  color: var(--ink);
  border: none; background: transparent; border-radius: var(--radius);
  transition: background .15s ease;
}
.accordion-trigger:hover { background: var(--paper); }
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) { background: var(--paper); }
.accordion-trigger .chev {
  flex: none; margin-left: .9rem;
  color: var(--clay); font-size: 1rem;
  transition: transform .18s ease;
}
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(90deg); }
.accordion-panel {
  padding: 0 1.3rem;
  max-height: 0; overflow: hidden;
  transition: max-height .22s ease, padding .22s ease;
}
.accordion-item:has(.accordion-trigger[aria-expanded="true"]) .accordion-panel {
  padding: 0 1.3rem 1.1rem;
}
.accordion-panel p { margin: .2rem 0 .5rem; color: var(--ink-soft); font-size: .93rem; max-width: 70ch; }

/* ---------- CTA band ---------- */
.ctaband {
  margin: 2rem 0 0;
  border-radius: var(--radius-lg);
  border: 1px solid #e2d3b8;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(167, 99, 0, .08), transparent 60%),
    linear-gradient(120deg, var(--paper), var(--paper-soft));
  padding: 1.8rem 2rem;
  color: var(--ink);
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
}
.ctaband h2 { margin: 0 0 .35rem; font-size: 1.4rem; }
.ctaband p { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: 36rem; }
.ctaband button {
  background: var(--clay); color: #fff;
  font-weight: 600; font-size: .95rem;
  padding: .75rem 1.6rem; border-radius: 999px;
  white-space: nowrap;
}
.ctaband button:hover { background: var(--clay-dark); }

/* ---------- contact modal ---------- */
.rht-modal label {
  display: block; font-weight: 600; font-size: .9rem;
  margin: .8rem 0 .25rem; color: var(--ink);
}
.rht-modal input, .rht-modal textarea {
  width: 100%; font: inherit;
  padding: .55rem .8rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff;
}
.rht-modal textarea { min-height: 90px; resize: vertical; }
.rht-modal .modalnote { font-size: .82rem; color: var(--ink-mute); margin: .8rem 0 0; }

/* ---------- about grid ---------- */
.aboutgrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.8rem;
  align-items: center;
  margin: 1.4rem 0;
}
.aboutgrid img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%; object-fit: cover; height: 100%; min-height: 200px;
}
.lead { font-size: 1.08rem; color: var(--ink); }

/* ---------- footer ---------- */
.sitefoot {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-mute);
  margin-top: 2.5rem;
  padding: 1.8rem 0 2rem;
  font-size: .88rem;
}
.sitefoot a { color: var(--clay); text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.sitefoot p { margin: .3rem 0; }
.sitefoot .wrap > p:last-child { color: #a39c8c; font-size: .8rem; }

/* ---------- modal (lightbox + contact) ---------- */
.rht-modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(19, 17, 11, .66);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; transition: opacity .18s ease;
}
.rht-modal-overlay.rht-open { opacity: 1; }
.rht-modal {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(19, 17, 11, .3);
  max-width: min(92vw, 760px); max-height: 88vh; overflow: auto;
  padding: 1.3rem 1.5rem 1.5rem;
  transform: translateY(8px) scale(.985);
  transition: transform .18s ease;
}
.rht-modal-overlay.rht-open .rht-modal { transform: none; }
.rht-modal h2 { margin-top: 0; font-size: 1.5rem; }
.rht-modal-close {
  float: right;
  background: var(--paper); color: var(--ink-mute);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 1.15rem; line-height: 1; padding: .3rem .65rem;
}
.rht-modal-close:hover { background: var(--line); color: var(--ink); }
.rht-lightbox-img {
  display: block; max-width: 100%; max-height: 68vh;
  margin: 0 auto .6rem; border-radius: var(--radius);
}
.rht-lightbox-cap { text-align: center; color: var(--ink-mute); font-size: .95rem; }

/* back to top */
.rht-to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  border-radius: 999px; width: 2.7rem; height: 2.7rem; padding: 0;
  font-size: 1.15rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.rht-to-top.rht-show { opacity: 1; pointer-events: auto; }

/* component buttons: their hover styles must beat generic button:hover */
.accordion-trigger, .accordion-trigger:hover { background: transparent; }
.accordion-trigger:hover { background: var(--paper); color: var(--ink); }
.navtoggle, .navtoggle:hover { background: transparent; }
.carousel-btn, .carousel-btn:hover { background: rgba(28, 26, 20, .55); }
.carousel-btn:hover { background: rgba(161, 74, 44, .9); }
.rht-modal-close, .rht-modal-close:hover { background: var(--paper); color: var(--ink-mute); }
.rht-to-top, .rht-to-top:hover { background: var(--clay); }
.rht-to-top:hover { background: var(--clay-dark); }
.carousel-dots button, .carousel-dots button:hover {
  background: rgba(255, 255, 255, .5); padding: 0;
}
.carousel-dots button[aria-current="true"],
.carousel-dots button[aria-current="true"]:hover { background: #f3e3c8; }
.ctaband button, .ctaband button:hover { background: var(--clay); color: #fff; }
.ctaband button:hover { background: var(--clay-dark); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .navtoggle { display: block; }
  .sitenav {
    display: none; width: 100%;
    flex-direction: column; gap: 0;
    padding: .4rem 0 .8rem;
  }
  .sitenav.open { display: flex; }
  .sitenav a { padding: .55rem 0; border-bottom: 1px solid var(--line); }
  .content { padding: 1.1rem 1.2rem; }
  .pagehead { padding: 1.4rem 1.3rem; }
  input[type="text"] { min-width: 0; width: 100%; }
  .searchrow { flex-direction: column; align-items: stretch; }
  .aboutgrid { grid-template-columns: 1fr; }
  .carousel-slide img { height: 230px; }
  .ctaband { flex-direction: column; align-items: flex-start; }
}

/* ---------- header site search ---------- */
.rht-sitesearch {
  position: relative;
  margin: 0 .5rem 0 1.5rem;
  display: flex;
  align-items: center;
}
.rht-sitesearch input[type="search"] {
  min-width: 200px;
  font: inherit; font-size: .88rem;
  padding: .5rem 2.2rem .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.rht-sitesearch input[type="search"]:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(161, 74, 44, .12);
}
.rht-sitesearch::after {
  content: "\1F50D";
  position: absolute;
  right: .8rem;
  font-size: .8rem;
  opacity: .5;
  pointer-events: none;
}
.rht-searchdrop {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 320px;
  max-width: 90vw;
  max-height: 60vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(19, 17, 11, .14);
  z-index: 90;
  padding: .35rem;
}
.rht-hit {
  display: flex; flex-direction: column; gap: .1rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  text-decoration: none;
}
.rht-hit:hover, .rht-hit:focus {
  background: var(--paper);
  text-decoration: none;
}
.rht-hit-title {
  font-weight: 600; font-size: .9rem; color: var(--ink);
}
.rht-hit:hover .rht-hit-title { color: var(--clay); }
.rht-hit-sub {
  font-size: .76rem; color: var(--ink-mute);
}

@media (max-width: 760px) {
  .rht-sitesearch {
    order: 3;
    width: 100%;
    margin: .5rem 0 0;
  }
  .rht-sitesearch input[type="search"] { width: 100%; min-width: 0; }
  .rht-searchdrop { left: 0; right: 0; min-width: 0; }
}

/* home-page search results */
.rht-homeresults {
  margin-top: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: .4rem;
  max-height: 320px;
  overflow: auto;
}

/* ============================================================
   Section colour divisions — each home section gets its own
   tinted band so the page reads as distinct blocks (2026-10-08)
   ============================================================ */

/* shared band treatment */
section[aria-label="Australian racing photo tour"],
section[aria-labelledby="browse-states"],
section[aria-labelledby="faq-heading"],
.aboutgrid {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  margin: 1.6rem 0;
}

/* 1 — photo tour: deep ink band, photos pop against dark */
section[aria-label="Australian racing photo tour"] {
  background:
    radial-gradient(800px 320px at 85% 0%, rgba(167, 99, 0, .14), transparent 60%),
    linear-gradient(140deg, #2a2618, #1c1a14 55%, #23200f);
  border-color: #3a3423;
}
section[aria-label="Australian racing photo tour"] .carousel {
  margin: 0;
  border-color: #3a3423;
  background: #14120c;
}
section[aria-label="Australian racing photo tour"] .carousel-btn {
  background: rgba(253, 248, 236, .14);
}
section[aria-label="Australian racing photo tour"] .carousel-btn:hover {
  background: var(--clay);
}

/* 2 — at a glance: warm clay-tinted band, white stat cards */
.statsband {
  background:
    linear-gradient(150deg, #f5ddc4, #f0d3b4);
  border: 1px solid #e5c49e;
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
.statsband .stat { background: #fffdf8; border-color: #e8cdab; }
.statsband .stat b { color: var(--clay); }

/* 3 — browse by state: soft paper band so white cards stand out */
section[aria-labelledby="browse-states"] {
  background: linear-gradient(170deg, #f8f1de, #f5edd8);
  border-color: #e8dcc0;
}
section[aria-labelledby="browse-states"] .card { border-color: #e3d7bd; }
section[aria-labelledby="browse-states"] .card:hover { border-color: var(--gold); }

/* 4 — about: cool teal-tinted band (contrast to the warm sections) */
.aboutgrid {
  background:
    radial-gradient(700px 300px at 8% 100%, rgba(13, 103, 118, .08), transparent 60%),
    linear-gradient(160deg, #e9f1ef, #e3edeb);
  border-color: #c9dcd8;
}
.aboutgrid .eyebrow { color: var(--teal); }
.aboutgrid img { border-color: #c9dcd8; }

/* 5 — FAQ: gold-tinted band, accordion stays white */
section[aria-labelledby="faq-heading"] {
  background: linear-gradient(155deg, #faf0d7, #f7ebcb);
  border-color: #ecdcae;
}
section[aria-labelledby="faq-heading"] .eyebrow { color: var(--gold); }
section[aria-labelledby="faq-heading"] .accordion-item { border-color: #e6d5a8; }
section[aria-labelledby="faq-heading"] .accordion-trigger:hover,
section[aria-labelledby="faq-heading"] .accordion-item:has(.accordion-trigger[aria-expanded="true"]) {
  background: #fdf6e3;
}

/* 6 — CTA: solid clay band, the strong closing division (all pages) */
.ctaband {
  border: none;
  background:
    radial-gradient(700px 300px at 92% 0%, rgba(255, 255, 255, .14), transparent 55%),
    linear-gradient(120deg, var(--clay), var(--clay-dark));
  color: #fdf4ea;
}
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(253, 244, 234, .85); }
.ctaband button {
  background: #fdf8ec; color: var(--clay-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.ctaband button:hover { background: #fff; color: var(--clay-dark); }

/* inner-page content card: subtle clay top edge for division */
.content { border-top: 3px solid var(--clay); }
