/* ============================================================
   evagoras.co.uk - site-wide stylesheet
   Mobile-first. Reused across every page of the site.
   ============================================================ */

:root {
  --ink: #211d1a;          /* near-black, warm */
  --paper: #faf8f5;        /* warm off-white background */
  --paper-alt: #f1ede7;    /* alternate section background */
  --line: #ddd6cc;         /* hairlines and borders */
  --bronze: #8a6f4d;       /* accent - links, buttons, details */
  --muted: #6f675e;        /* secondary text */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: 1.25rem;          /* section side padding, mobile */
  --max: 1200px;           /* content max width */
  --nav-h: 68px;           /* sticky header height, used for subnav top offset */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-radius: 8px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
}

/* ---------- Placeholders (delete this block once real images are in) ---------- */
.placeholder {
  background: linear-gradient(135deg, #e5ded3, #d3c9b9);
  position: relative;
}
.placeholder::after {
  content: attr(data-note);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d8272;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover, .btn:focus-visible { background: var(--bronze); border-color: var(--bronze); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-logo { height: 42px; width: auto; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--pad) 1rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--bronze); }
.nav-cta { color: var(--bronze); font-weight: 500; }
.nav-client { color: var(--muted); }
.nav-client:hover, .nav-client:focus-visible { color: var(--bronze); }

/* ---------- Menu groups (Weddings, Christenings, Events, Corporate, Portraits) ---------- */
.nav-group { border-bottom: 1px solid var(--line); }
/* Mobile: tap the group label to expand its panel; opening one closes any other open group (see js/nav.js) */
.nav-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  cursor: pointer;
}
.nav-group-label::after {
  content: '+';
  font-size: 1rem;
  color: var(--muted);
}
.nav-group.is-open .nav-group-label::after { content: '\2212'; } /* minus sign */
.nav-group-panel {
  display: none;
  flex-direction: column;
  padding-bottom: 0.5rem;
}
.nav-group.is-open .nav-group-panel { display: flex; }
.nav-group-panel a {
  border-bottom: 0 !important;
  padding: 0.5rem 0 0.5rem 1rem !important;
  font-size: 0.8rem !important;
  color: var(--muted);
}
.nav-group-panel a:hover, .nav-group-panel a:focus-visible { color: var(--bronze); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }

.hero-media {
  width: 100%;
  height: 72vh;
  min-height: 420px;
}
.hero-img {
  width: 100%;
  height: 72vh;
  min-height: 420px;
  object-fit: cover;
}

.hero-text {
  padding: 2.5rem var(--pad) 3rem;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.9rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero-intro {
  max-width: 46ch;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

/* ============================================================
   SERVICE PAGE HERO BANNER
   Used on /services/{slug}/ pages. Title sits overlaid on the
   image (unlike the homepage .hero, where text sits below).
   ============================================================ */
.service-hero-banner {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 500px;
  overflow: hidden;
}
.service-hero-banner picture,
.service-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33,29,26,0.75) 0%, rgba(33,29,26,0.15) 45%, rgba(33,29,26,0) 70%);
  pointer-events: none;
}
.service-hero-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem var(--pad) 2rem;
  max-width: var(--max);
  margin: 0 auto;
  z-index: 1;
}
.service-hero-title h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

@media (max-width: 640px) {
  .service-hero-banner { height: 62vh; min-height: 400px; }
  .service-hero-title { padding: 1.25rem var(--pad) 1.5rem; }
}

/* Visually hidden but still readable by screen readers / SEO.
   Used on the service-page <h1> when the hero banner already
   shows the title on screen. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   CORPORATE LOGO STRIP
   Scrolling banner of client logos, used on the corporate-events
   service page. Same infinite-loop technique as the locations
   ticker above: the PHP renders the logo list twice back to
   back, and the animation scrolls exactly -50% to loop cleanly.
   ============================================================ */
.logo-strip {
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
  margin-bottom: 22px;
  border-top: 1px solid rgba(33,29,26,0.08);
  border-bottom: 1px solid rgba(33,29,26,0.08);
}
.logo-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoScroll 48s linear infinite;
}
.logo-strip-item {
  flex: 0 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-strip-item img {
  height: 150px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .logo-strip { padding: 1.25rem 0; }
  .logo-strip-item { padding: 0 1rem; }
  .logo-strip-item img { height: 100px; max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-strip-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ============================================================
   LOCATIONS TICKER
   ============================================================ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 0.8rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1.5rem;
  position: relative;
}
.ticker-track span::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bronze);
  transform: translateY(-50%);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SECTIONS - shared
   ============================================================ */
.section {
  padding: 4rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  /* Anchor links stop short of the sticky header: one header-height of clearance
     plus a bit of breathing room. Adjust here if the header changes size. */
  scroll-margin-top: 6rem;
}
.section-alt {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: var(--paper-alt);
}
.section-alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section-head { margin-bottom: 2.5rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  max-width: 22ch;
  margin-bottom: 0.75rem;
}
.section-sub { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* The quote form partial is narrower (1000px) by design on its own
   standalone page. Wherever it's embedded elsewhere (homepage, service
   pages both give it id="quote"), widen it to match the site's 1200px
   grid so its heading lines up with every other section title. */
#quote.quote-page { max-width: var(--max) !important; }

/* The embedded quote form carries its own "Get a quote" heading + subtext,
   which is redundant right under the homepage's own Enquire heading.
   Scoped to the homepage only (body.home) - service pages and quote.php
   keep the heading as normal. */
body.home #quote > .section-head { display: none; }

/* Tighten the gap between the Enquire heading and the quote form:
   the Enquire section holds only the heading, so drop its bottom
   padding and pull the form's top padding in. Homepage only. */
body.home #enquire.section { padding-bottom: 0; }
body.home #quote.section { padding-top: 1.2rem; }

/* ============================================================
   WORK
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-bottom: 2rem;
}
.filter {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.filter:hover, .filter:focus-visible { color: var(--ink); }
.filter.is-active {
  color: var(--ink);
  border-bottom-color: var(--bronze);
}

/* Justified row gallery: JS (js/justified-gallery.js) reads each image's
   real aspect ratio and packs full rows left-to-right, top-to-bottom,
   scaling every image in a row to the same height. No cropping - each
   image keeps its natural ratio, only its size changes. */
.work-grid {
  display: block;
  /* Full-bleed: breaks out to the true viewport edges, however deep the
     nesting or however much padding sits above it. left:50% offsets by
     half of the *container's* width, translateX(-50%) pulls back by half
     of *this element's own* width (100vw) - those two different
     reference frames cancel out the container's position exactly. */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  padding: 0 20px;
}
@media (min-width: 720px) {
  .work-grid { padding: 0 100px; }
}
.gallery-row {
  display: flex;
  gap: 7px;
  margin-bottom: 7px;
}
.gallery-row:last-child { margin-bottom: 0; }

.work-item {
  margin: 0;
  flex-shrink: 0;
}
.work-item img {
  display: block;
  width: 100%;
  height: 100%;
}
.work-item[hidden] { display: none; }
/* Before JS has measured and laid images out, keep them from stacking full-
   width and jumping. Hidden rather than shown-then-resized. */
.work-grid:not(.is-laid-out) .work-item { visibility: hidden; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-content {
  max-width: 75vw;
  max-height: 75vh;
}
.lightbox-img {
  display: block;
  max-width: 75vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
}
.lightbox-close:hover { opacity: 0.75; }

/* ---------- Info block under the gallery: switches with the active filter ---------- */
.work-info-wrap { margin-top: 2.25rem; }
.work-info[hidden] { display: none; }
.work-info p { color: var(--muted); max-width: 58ch; }
.work-info ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 0.65rem;
}
.work-info li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.35;
}
.work-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background-color: var(--bronze);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
}

@media (max-width: 480px) {
  .work-info ul { grid-template-columns: 1fr; }
}

/* Action link boxes: slightly darker shade than the chips above them */
.service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.9rem;
}
.service-links a {
  flex: 1;
  min-width: 200px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: #e6dfd4;
  padding: 0.85rem 1.75rem;
  transition: background 0.2s, color 0.2s;
}
.service-links a:hover, .service-links a:focus-visible {
  background: var(--bronze);
  color: #fff;
}

.work-passport-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.work-passport-note a { color: var(--bronze); }

/* ============================================================
   STORY
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.story-media {
  aspect-ratio: 3 / 4;
  max-width: 420px;
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
.story-text p { color: var(--muted); max-width: 58ch; margin-bottom: 1rem; }

/* ============================================================
   WORDS
   ============================================================ */
.words-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.word-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
}
.word-card p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.word-card footer {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ============================================================
   GET IN TOUCH - contact details
   ============================================================ */
.contact-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 480px;
}
.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--bronze);
}
.contact-links a,
.contact-links span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
.contact-links a:hover, .contact-links a:focus-visible {
  color: var(--bronze);
  border-bottom-color: var(--bronze);
}

/* ============================================================
   ENQUIRE FORM (kept for reuse on future pages)
   ============================================================ */
.enquire-form { max-width: 640px; }
.enquire-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.enquire-form input,
.enquire-form select,
.enquire-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
}
.enquire-form input:focus,
.enquire-form select:focus,
.enquire-form textarea:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem var(--pad);
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}
.footer-motto {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0.5rem 0 1rem;
}
.footer-small { font-size: 0.8rem; color: var(--muted); }
.footer-small a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-small a:hover, .footer-small a:focus-visible { color: var(--bronze); }

/* ============================================================
   TABLET AND UP
   ============================================================ */
@media (min-width: 720px) {
  :root { --pad: 2.5rem; }

  .hero-media, .hero-img { height: 80vh; }

  .service-links { gap: 0.65rem; }

  .story-grid { grid-template-columns: 2fr 3fr; align-items: center; gap: 3.5rem; }

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

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

/* ============================================================
   DESKTOP NAV - switch from mobile hamburger to full nav
   ============================================================ */
@media (min-width: 1260px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: none;
    border: 0;
    padding: 0;
  }
  .site-nav a { border: 0; padding: 0.25rem 0; font-size: 0.8rem; }

  .nav-group { border-bottom: 0; position: relative; }
  .nav-group-label {
    width: auto;
    padding: 0.25rem 0;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
  }
  .nav-group-label::after { content: ''; }
  .nav-group-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0.6rem 0;
    min-width: 220px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(33, 29, 26, 0.08);
  }
  .nav-group:hover .nav-group-panel,
  .nav-group:focus-within .nav-group-panel,
  .nav-group.is-open .nav-group-panel { display: flex; }
  .nav-group-panel a { padding: 0.6rem 1.25rem !important; }
}

/* ============================================================
   ACTION BUTTONS - under service intro
   ============================================================ */
.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.work-actions .btn {
  flex: 1;
  min-width: 200px;
  text-align: center;
  background: #e6dfd4;
  border-color: #e6dfd4;
  color: var(--ink);
}
.work-actions .btn:hover,
.work-actions .btn:focus-visible {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

/* ============================================================
   SERVICE PAGES - about copy section
   ============================================================ */
.service-page-body { padding-top: 0; }
.service-copy {
  max-width: 62ch;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.service-copy p { color: var(--ink); }

.service-copy-block + .service-copy-block { margin-top: 2.25rem; }
.service-copy-block h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 0.6rem;
}
.service-copy-block ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0.25rem 0;
}
.service-copy-block li {
  color: var(--ink);
  padding-left: 1.1rem;
  position: relative;
}
.service-copy-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}

/* Service page H1 needs its own size - the shared h1,h2,h3 rule has
   no font-size, so it was falling back to the browser default
   (~2em, fixed), which is smaller than .section-head h2's clamp
   (up to 2.6rem) on wide screens. This keeps H1 clearly the
   largest heading on the page without touching .section-head h2,
   which is shared across the whole site. */
.service-page-head h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
.service-page-head { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* ============================================================
   SERVICE PAGES - jump to quote pill
   ============================================================ */
.quote-jump-nav {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.quote-jump-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.quote-jump-btn {
  background: var(--bronze);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(33, 29, 26, 0.28);
  cursor: pointer;
  white-space: nowrap;
}
.quote-jump-btn:hover, .quote-jump-btn:focus-visible { background: var(--ink); }

/* ============================================================
   TABLET CARDS
   ============================================================ */
@media (min-width: 720px) {
  .work-actions { gap: 1.25rem; }
  .work-actions .btn { flex: 0 1 auto; }
}

/* ============================================================
   DESKTOP CARDS - 4 columns
   ============================================================ */
@media (min-width: 1100px) {
}

/* ============================================================
   FAQ ACCORDION
   Shared between faq.php and the "Common Questions" snippet on
   service pages (services/index.php).
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-question:hover, .faq-question:focus-visible { color: var(--bronze); }
.faq-icon {
  flex: none;
  position: relative;
  width: 1rem;
  height: 1rem;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 100%; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 100%; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 0 1.25rem; max-width: 65ch; }
.faq-answer p { color: var(--muted); }
.faq-no-results { color: var(--muted); padding: 2rem 0; }
