/* Doran Digital stylesheet. Colours are set once here so they are easy to change. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plus-jakarta-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }

:root {
  --bg: #FAF9F6;
  --bg-alt: #F1EFEA;
  --ink: #2B3740;          /* body text (charcoal family) */
  --charcoal: #36454F;     /* headings and dark surfaces, same as the logo D */
  --muted: #4A5762;        /* secondary text */
  --accent: #147A39;       /* deep green: buttons, links, icons (passes WCAG AA) */
  --accent-dark: #0F5E2B;  /* deep green on hover */
  --glow: #39FF14;         /* logo green: decoration only, never text, never behind white text (one exception: the button in the dark contact band, with charcoal text) */
  --on-dark: #FFFFFF;      /* text on the charcoal band */
  --on-dark-soft: #E4E9EC; /* secondary text on the charcoal band */
  --line: #E2DFD7;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { 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-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3, h4 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }

a { color: var(--accent); text-underline-offset: .15em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, .button:focus-visible, .menu-toggle:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; box-shadow: 0 0 0 3px var(--glow); border-radius: .25rem; }

/* Buttons */
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  padding: .75rem 1.4rem;
  border-radius: .5rem;
  line-height: 1.3;
  text-align: center;
}
.button:hover { background: var(--accent-dark); color: #fff; }
.button-small { padding: .5rem 1rem; font-size: .95rem; }
.text-link { font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; gap: 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand-full { display: block; height: 3.5rem; width: auto; }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: .5rem;
  color: var(--ink); font: inherit; font-weight: 500; font-size: .95rem;
  padding: .45rem .8rem; cursor: pointer;
}
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.nav-links a { color: var(--charcoal); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--accent); text-decoration: underline; }

/* Sections */
section { padding: 3.5rem 0; scroll-margin-top: 5.5rem; }
.alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }

.hero { padding: 4rem 0 3.5rem; }
.hero h1 { font-size: 2.2rem; max-width: 36rem; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-grid { display: block; }
.hero-mark { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.75rem 0 1.5rem; }
.small { font-size: .95rem; color: var(--muted); }

/* Small green bars (logo green, decoration only) */
h2::after, .prose h1::after { content: ""; display: block; width: 3rem; height: 4px; border-radius: 2px; background: var(--glow); margin-top: .6rem; }
.cards .card h3::before, .cards .card h4::before { content: ""; display: block; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--glow); margin-bottom: .75rem; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: .9rem; padding: 1.5rem; }
.card p { margin: 0; color: var(--muted); }
.card .price { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.01em; color: var(--charcoal); margin-bottom: .75rem; }
.card .price .price-from, .card .price .price-vat { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.card .price .price-from { display: block; line-height: 1.3; }
.tier-heading { font-size: 1.3rem; margin: 0 0 1.25rem; }
.tier-heading-care { margin-top: 3rem; }
.cards-custom { margin-top: 1.25rem; }
.card-wide { display: block; }
.card .turnaround { margin-top: .85rem; font-size: .95rem; font-weight: 500; color: var(--charcoal); }
.pricing-small { margin: 1.25rem 0 .5rem; font-size: .95rem; color: var(--muted); }
.pricing-capacity { max-width: 40rem; margin: 0; color: var(--muted); }
.tier-heading-promises { margin-top: 3rem; }
.promises { list-style: none; margin: 0; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--glow); border-radius: .9rem; }
.promises li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); }
.promises .tick { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .1rem; color: var(--accent); }
.pricing-note { max-width: 40rem; color: var(--muted); margin: 2rem 0 1.25rem; }
.icon { width: 2.5rem; height: 2.5rem; color: var(--accent); margin-bottom: 1rem; display: block; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.steps li { border-top: 4px solid var(--glow); padding-top: 1rem; }
.steps p { margin: 0; color: var(--muted); }

/* Contact band (dark) */
.contact { background: var(--charcoal); color: var(--on-dark-soft); }
.contact h2 { color: var(--on-dark); }
.contact .section-intro { color: var(--on-dark-soft); }
.contact p { color: var(--on-dark-soft); }
.contact a { color: var(--on-dark); }
.contact a:hover { color: var(--glow); }
.contact .small { color: var(--on-dark-soft); }
.contact-mark { display: block; height: 4.5rem; width: auto; margin-bottom: 1.25rem; }
.contact .button { background: var(--glow); color: var(--charcoal); font-weight: 600; margin-bottom: .5rem; }
.contact .button:hover { background: #FFFFFF; color: var(--charcoal); }
.contact a:focus-visible, .contact .button:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; box-shadow: none; }
.contact-quote { margin: .25rem 0 0; font-size: .95rem; }
.contact-email { margin: 1rem 0 1.5rem; }
.contact-email a { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; text-decoration: underline; text-decoration-thickness: 2px; word-break: break-word; }

/* Our work: one card per project, add more cards inside .work-list */
.work-list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.work-card { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; align-items: center; }
.work-card .work-text p { color: var(--muted); }
.work-card .work-text p:last-child { margin-bottom: 0; }
.browser { border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; background: var(--bg-alt); }
.browser-bar { display: flex; gap: .35rem; padding: .55rem .7rem; border-bottom: 1px solid var(--line); }
.browser-bar span { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); }
.browser img { display: block; width: 100%; height: auto; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
.about-mark img { display: block; width: 6rem; height: auto; }
.about p:last-child { margin-bottom: 0; max-width: 40rem; }

/* Privacy page and page not found */
.prose h1 { margin-bottom: 1.25rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }

/* Page not found ("Lost power"): the green power-symbol D flickers, goes dim, then the text and button fade in */
.lost { --power-on: #39FF14; --power-mid: #7FD36B; --power-dim: #9FB5A8; text-align: center; padding: 3rem 0 4rem; }
.lost-mark { display: block; width: min(14rem, 62vw); height: auto; margin: 0 auto 2rem; overflow: visible; }
.lost-mark .power { fill: var(--power-dim); animation: lost-flicker 3s linear .2s both; }
.lost h1 { font-size: 2.4rem; }
.lost-text { animation: lost-fade .8s ease-out 3.2s both; }
.lost-text p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.75rem; }
.lost-action { margin: 0; animation: lost-fade .8s ease-out 3.4s both; }

.power-button { display: inline-flex; flex-direction: column; align-items: center; gap: .85rem; padding: .5rem 1rem; text-decoration: none; color: var(--charcoal); }
.power-button:hover { color: var(--accent-dark); }
.power-disc { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--accent); animation: lost-pulse 2.4s ease-out 4.3s infinite; }
.power-button:hover .power-disc { background: var(--accent-dark); }
.power-label { font-weight: 500; font-size: 1.05rem; text-decoration: underline; text-underline-offset: .2em; }

/* Clicked: switch the green D back on with a quick bright glow (0.4 s) */
.lost.on .power { animation: lost-switch-on .4s ease-out both; }

@keyframes lost-flicker {
  0%, 6%, 11%, 22%, 30%, 46%, 54%, 55%, 58%, 68%, 75%, 80% { fill: var(--power-on); filter: drop-shadow(0 0 .7rem rgba(57, 255, 20, .75)); }
  7%, 10%, 26%, 29%, 49%, 53%, 56%, 57%, 71%, 74%, 84%, 100% { fill: var(--power-dim); filter: drop-shadow(0 0 0 rgba(57, 255, 20, 0)); }
  23%, 25%, 47%, 48%, 69%, 70%, 81%, 83% { fill: var(--power-mid); filter: drop-shadow(0 0 .25rem rgba(57, 255, 20, .35)); }
}
@keyframes lost-fade { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@keyframes lost-pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 122, 57, .45); transform: scale(1); }
  50% { transform: scale(1.04); }
  70%, 100% { box-shadow: 0 0 0 1.2rem rgba(20, 122, 57, 0); transform: scale(1); }
}
@keyframes lost-switch-on {
  0% { fill: var(--power-dim); filter: drop-shadow(0 0 0 rgba(57, 255, 20, 0)); }
  45% { fill: var(--power-on); filter: drop-shadow(0 0 1.6rem rgba(57, 255, 20, 1)); }
  100% { fill: var(--power-on); filter: drop-shadow(0 0 .8rem rgba(57, 255, 20, .85)); }
}

/* Reduced motion: logo already dimmed, everything visible at once, no flicker or pulse */
@media (prefers-reduced-motion: reduce) {
  .lost-mark .power, .lost-text, .lost-action, .power-disc { animation: none; }
  .lost.on .power { animation: none; fill: var(--power-on); filter: drop-shadow(0 0 .8rem rgba(57, 255, 20, .85)); }
}

@media (min-width: 48rem) {
  .lost { padding: 4.5rem 0 5.5rem; }
  .lost-mark { width: 15rem; }
  .lost h1 { font-size: 3rem; }
}

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 1.5rem 0; font-size: .95rem; color: var(--muted); }
.footer-bar { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.footer-sep { display: none; }
.footer-bar a { color: var(--accent); }
.footer-logo { display: block; width: auto; height: 2.25rem; flex: none; }

/* Phone: collapsible menu (needs the small script; without it the links simply show) */
@media (max-width: 47.99rem) {
  .js .menu-toggle { display: inline-block; }
  .header-bar { flex-wrap: wrap; gap: .6rem; padding-top: .7rem; padding-bottom: .7rem; }
  .brand-full { height: 2.75rem; }
  section { scroll-margin-top: 4.5rem; }
  .header-bar nav { flex-basis: 100%; order: 5; }
  .nav-links { flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin-top: .35rem; }
  .nav-links a { display: block; padding: .8rem 0; }
  .js .nav-links { display: none; }
  .js .nav-links.open { display: flex; }
}

@media (min-width: 48rem) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 3rem; }
  .hero { padding: 6rem 0 5rem; }
  section { padding: 5rem 0; }
  .cards { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cards-custom { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .card-wide { display: grid; grid-template-columns: 1fr 2fr; grid-template-areas: "title text" "price text"; column-gap: 2.5rem; align-items: center; }
  .card-wide h4 { grid-area: title; }
  .card-wide .price { grid-area: price; margin-bottom: 0; }
  .card-wide .card-text { grid-area: text; }
  .card-wide .card-text p + p { margin-top: .6rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .promises { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; padding: 1.5rem 1.75rem; }
  .work-card { grid-template-columns: 1.6fr 1fr; gap: 2.5rem; padding: 1.5rem; }
  .about { grid-template-columns: 9rem 1fr; gap: 2.5rem; }
  .about-mark img { width: 9rem; }
  .hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
  .hero-mark { display: block; width: 17.5rem; height: auto; }
  .footer-bar { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
  .footer-sep { display: inline; }
  .footer-contact { gap: 0 .6rem; }
  .footer-privacy { margin-left: auto; }
}

@media (min-width: 64rem) {
  .cards-websites { grid-template-columns: repeat(4, 1fr); }
  .hero-mark { width: 21rem; }
}

/* ===== County pages (DD-15, DD-16), live since DD-17 ===== */

/* Top of each page */
.county-top { padding: 2.25rem 0 2.5rem; }
.county-top h1 { max-width: 42rem; }
.county-top .lead { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }
.top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.75rem 0 0; }
.crumbs { font-size: .92rem; color: var(--muted); margin: 0 0 1.25rem; }
.crumbs a { color: var(--accent); }
.crumbs span { margin: 0 .45rem; }
.crumbs span:last-child { margin: 0; }

/* A little air above sub-headings and later headings in the longer text sections */
.narrow h3, .two-col-main h3 { margin-top: 1.5rem; }
.narrow h2 + h3, .narrow h2 + p + h3, .two-col-main h2 + h3 { margin-top: .75rem; }
.two-col-main h2:not(:first-child) { margin-top: 2.75rem; }

/* Towns as a grid of tiles */
.town-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .9rem; }
.town-grid li { background: var(--bg); border: 1px solid var(--line); border-radius: .7rem; padding: .9rem 1.1rem; }
.town-grid strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--charcoal); }
.town-grid span { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.county-index li { padding: 0; }
.county-index a { display: block; padding: .9rem 1.1rem; text-decoration: none; }
.county-index a:hover strong { color: var(--accent); text-decoration: underline; }

/* Businesses as a numbered list */
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: sector; }
.sector-list li { position: relative; padding: 0 0 0 3.25rem; counter-increment: sector; }
.sector-list li::before { content: counter(sector); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.sector-list h3 { margin-bottom: .25rem; }
.sector-list p { margin: 0; }

/* Businesses as bullets */
.bullets { margin: 0 0 1rem; padding-left: 1.25rem; }
.bullets li { margin-bottom: .9rem; }
.bullets strong { font-family: var(--font-head); color: var(--charcoal); }

/* Businesses as open/close rows (works without JavaScript) */
.detail { border: 1px solid var(--line); border-radius: .7rem; background: var(--bg); margin-bottom: .75rem; }
.detail summary { cursor: pointer; padding: .9rem 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--charcoal); }
.detail summary:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; border-radius: .5rem; }
.detail p { margin: 0; padding: 0 1.1rem 1rem; color: var(--muted); }

/* Two columns with an at-a-glance box */
.two-col { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.glance { background: var(--bg); border: 1px solid var(--line); border-radius: .9rem; padding: 1.4rem 1.5rem; }
.glance .glance-h { font-size: 1.25rem; }
.glance h2::after { margin-top: .5rem; }
.glance h3 { margin-top: 1.4rem; }
.glance-list { list-style: none; margin: 0; padding: 0; }
.glance-list li { padding: .3rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.glance-list li:last-child { border-bottom: 0; }

/* Price blocks */
.care-line { max-width: 44rem; color: var(--muted); margin: 1.5rem 0 0; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; max-width: 46rem; }
.price-list li { padding: 0 0 .9rem; border-bottom: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list strong { font-family: var(--font-head); color: var(--charcoal); }
.price-dl { margin: 0; max-width: 46rem; }
.price-dl dt { font-family: var(--font-head); font-weight: 700; color: var(--charcoal); margin-top: 1.1rem; }
.price-dl dt span { display: inline-block; margin-left: .6rem; font-weight: 600; color: var(--accent-dark); }
.price-dl dd { margin: .15rem 0 0; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; background: var(--bg); border: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.price-table thead th { font-family: var(--font-head); background: var(--bg-alt); color: var(--charcoal); }
.price-table tbody th { font-family: var(--font-head); font-weight: 600; color: var(--charcoal); }
.pt-price { white-space: nowrap; font-weight: 500; }
.neighbours { margin: 0; color: var(--muted); }

/* Footer link to the areas page */
.footer-areas { color: var(--accent); }

@media (max-width: 47.99rem) {
  .price-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { border: 0; padding: .1rem 0; }
  .pt-price { white-space: normal; color: var(--accent-dark); }
}

@media (min-width: 48rem) {
  .county-top { padding: 3rem 0 3.25rem; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1.7fr 1fr; gap: 3rem; }
  .glance { position: sticky; top: 6.5rem; }
  .footer-areas { margin-left: auto; }
  .footer-areas + .footer-privacy { margin-left: 0; }
}

@media (min-width: 64rem) {
  .town-grid { grid-template-columns: repeat(3, 1fr); }
}

/* County map, county colours and map credit (DD-16). Decoration only: text colours are unchanged. */
.county-colours { display: flex; height: 6px; }
.county-colours i, .tile-colours i { display: block; flex: 1 1 0; }
.cc-green { background: #009A44; }
.cc-red { background: #D2232A; }
.cc-yellow { background: #FFD500; }
.cc-gold { background: #E8B923; }
.cc-saffron { background: #F5A01A; }
.cc-amber { background: #FFB300; }
.cc-blue { background: #1D4FA3; }
.cc-skyblue { background: #4FB3E8; }
.cc-navy { background: #0A1F5C; }
.cc-maroon { background: #7B1E3A; }
.cc-purple { background: #6B2C91; }
.cc-black { background: #1B1B1B; }
.cc-primrose { background: #F5E27E; box-shadow: inset 0 0 0 1px #6F7C84; }
.cc-white { background: #FFFFFF; box-shadow: inset 0 0 0 1px #6F7C84; }

.county-hero { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
.county-map { order: -1; margin: 0; }
.county-map img { display: block; width: auto; height: 11rem; max-width: 100%; }

.county-index li { position: relative; overflow: hidden; }
.county-index a { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.15rem; }
.county-index .county-thumb { flex: none; width: 4.5rem; height: auto; }
.county-index .tile-text { margin: 0; flex: 1 1 auto; min-width: 0; }
.county-index .tile-text span { margin-top: .15rem; }
.county-index .tile-colours { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; margin: 0; display: flex; }

.footer-credit { flex: 0 0 100%; margin: 0; font-size: .85rem; }

@media (min-width: 48rem) {
  .county-hero { grid-template-columns: 1fr 14rem; gap: 2.5rem; }
  .county-map { order: 0; }
  .county-map img { height: auto; width: 100%; }
}

/* ===== FAQ page (DD-14 draft, live since DD-17) ===== */
.faq-title { margin-bottom: 1rem; }
.faq-group { margin: 2.5rem 0 .9rem; font-size: 1.3rem; }
.faq-group::before { content: ""; display: block; width: 1.75rem; height: 3px; border-radius: 2px; background: var(--glow); margin-bottom: .6rem; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: .7rem; margin: 0 0 .6rem; }
.alt .faq-item { background: var(--bg); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1rem 3rem 1rem 1.25rem; min-height: 3.25rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.35; color: var(--charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 1.35rem; width: .6rem; height: .6rem;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); top: 1.6rem; }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-item summary:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 2px; box-shadow: 0 0 0 3px var(--glow); border-radius: .5rem; }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--ink); }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.faq-end { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }
