/* GWEMS site layout. Built on tokens.css and components.css.
   Light by default. Dark blocks opt in with data-theme="dark". */

/* Reset and page ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header clearance for anchor jumps. */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  overflow-x: hidden;
}

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

figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
  margin: 0;
}

p { text-wrap: pretty; }

a { color: inherit; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--brand-black);
  border-radius: var(--radius-md);
  transition: top 160ms ease;
}
.skip-link:focus { top: var(--space-4); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Shell ------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--space-6) * 2), 1120px);
  margin-inline: auto;
}
.shell--narrow { width: min(100% - (var(--space-6) * 2), 760px); }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--raised { background: var(--surface-raised); }
.section--bordered { border-block: 1px solid var(--border); }

.section__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 var(--space-3);
}

.section__title {
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.16;
  margin: 0 0 var(--space-4);
}

.section__intro {
  max-width: 62ch;
  margin: 0 0 var(--space-8);
  font-size: 17px;
  line-height: 27px;
  color: var(--ink-muted);
}

/* The W motif: a right-leaning rule that opens a section. */
.lean-rule {
  width: 120px;
  height: 8px;
  margin-bottom: var(--space-6);
  background: var(--brand-yellow);
  transform: skewX(-14deg);
  border-radius: var(--radius-sm);
}
.lean-rule--gold { background: var(--brand-gold); }

/* Scroll progress --------------------------------------------------------- */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 120;
  transform-origin: 0 50%;
  background: var(--brand-yellow);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: progress-grow linear both;
    animation-timeline: scroll(root block);
  }
}
@supports not (animation-timeline: scroll()) {
  /* Decorative only, so it simply stays out of the way. */
  .progress { display: none; }
}
@keyframes progress-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Header ------------------------------------------------------------------ */
.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: var(--brand-black);
  border-bottom: 1px solid var(--border);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-4);
  transition: padding-block 200ms ease;
}
.header[data-condensed="true"] .header__bar { padding-block: var(--space-2); }

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-right: var(--space-6);
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo {
  display: block;
  width: 132px;
  height: auto;
  transition: width 200ms ease;
}
.header[data-condensed="true"] .header__logo { width: 104px; }

.header__licence {
  margin: 0 0 0 auto;
  font-size: 14px;
  line-height: 20px;
  font-style: italic;
  color: var(--accent-text);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: var(--space-6); }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 3px;
  background: var(--brand-yellow);
  transform: skewX(-14deg) scaleX(0);
  transform-origin: 0 50%;
  transition: transform 200ms ease;
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: skewX(-14deg) scaleX(1); }
.nav__link[aria-current="true"] { color: var(--accent-text); }

.nav__toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav__bars { display: grid; gap: 3px; }
.nav__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .header__licence { display: none; }
  .nav__toggle { display: inline-flex; margin-left: auto; }
  .nav {
    /* Closed by default on small screens, opened by the toggle. */
    display: none;
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    gap: 0;
    padding: 0 var(--space-6) var(--space-6);
    background: var(--brand-black);
    border-bottom: 1px solid var(--border);
  }
  .header[data-nav-open="true"] .nav { display: grid; }
  .nav__list {
    display: grid;
    gap: 0;
    width: 100%;
  }
  .nav__list li { border-bottom: 1px solid var(--border); }
  .nav__link {
    display: block;
    width: 100%;
    padding-block: var(--space-4);
    font-size: 15px;
  }
  .nav__link::after { display: none; }
  .nav .gwems-btn { margin-top: var(--space-4); width: 100%; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-black);
  padding-block: clamp(64px, 11vw, 128px);
  isolation: isolate;
}

/* Background photo. The overlay keeps the hero dark: heaviest behind the copy
   on the left, lighter on the right where Grant stands. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.35) 0%, rgb(0 0 0 / 0) 25%, rgb(0 0 0 / 0) 75%, rgb(0 0 0 / 0.45) 100%),
    linear-gradient(90deg, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.84) 38%, rgb(0 0 0 / 0.5) 64%, rgb(0 0 0 / 0.45) 100%);
}
@media (max-width: 860px) {
  .hero__photo { object-position: 64% 50%; }
  .hero__media::after { background: rgb(0 0 0 / 0.8); }
}

/* Right-leaning slabs, the only graphic device in the brand. */
.hero__slabs {
  position: absolute;
  inset: -10% -5%;
  z-index: -1;
  pointer-events: none;
}
.hero__slab {
  position: absolute;
  inset-block: -10%;
  width: 64px;
  transform: skewX(-14deg);
  opacity: 0.55;
}
.hero__slab--1 { right: -1%; background: var(--brand-gold); opacity: 0.38; }
.hero__slab--2 { right: 6%;  background: var(--brand-yellow); opacity: 0.5; }
.hero__slab--3 { right: 13%; background: var(--brand-yellow); opacity: 0.16; }
.hero__slab--4 { right: 21%; background: var(--brand-gold); opacity: 0.12; }
/* The inner two would cut across Grant in the photo. */
.hero__slab--3, .hero__slab--4 { display: none; }

/* On narrow screens the slabs would run straight through the copy. */
@media (max-width: 860px) {
  .hero__slab--1, .hero__slab--2 { opacity: 0.22; }
}

@supports (animation-timeline: view()) {
  .hero__slab {
    animation: slab-drift linear both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}
@keyframes slab-drift {
  from { transform: skewX(-14deg) translateY(-4%); }
  to   { transform: skewX(-14deg) translateY(6%); }
}

.hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.hero__title {
  font-size: clamp(34px, 6.4vw, 60px);
  line-height: 1.04;
  margin: 0 0 var(--space-6);
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  color: var(--accent-text);
}

.hero__lede {
  max-width: 54ch;
  margin: 0 0 var(--space-8);
  font-size: 18px;
  line-height: 28px;
  color: var(--ink-muted);
}

/* Headshot beside the two buttons, stacked so the pair matches its height. */
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.hero__thumb {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-bottom: 4px solid var(--brand-yellow);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--surface-raised);
}
.hero__actions {
  display: grid;
  gap: var(--space-3);
  min-width: 180px;
}

.hero__proof {
  display: grid;
  /* Two up at most, so the fourth item is never left on its own. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6) var(--space-6);
  margin: 0;
  padding: var(--space-6) 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.hero__proof li {
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}
.hero__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}
@media (min-width: 480px) {
  .hero__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Service lists ----------------------------------------------------------- */
.panel {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--elevation-1);
  container-type: inline-size;
}
.section--raised .panel { background: var(--surface); }

.service-list {
  display: grid;
  gap: var(--space-4) var(--space-8);
  margin: 0;
  padding-left: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
}
@container (min-width: 620px) {
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.service-list .gwems-service { margin-bottom: 0; }

/* Two-up content ---------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

.callout {
  padding: var(--space-6);
  background: var(--surface-raised);
  border-left: 6px solid var(--brand-yellow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.section--raised .callout { background: var(--surface); }
.callout p { margin: 0; }
.callout p + p { margin-top: var(--space-4); }

/* Photos ------------------------------------------------------------------ */
/* Crops are baked into the files by tools/build-photos.py, so the frame just
   keeps the shape stable while the image loads. */
.photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
}
.photo--split {
  aspect-ratio: 4 / 3;
  margin-top: var(--space-8);
}

/* Why me ------------------------------------------------------------------ */
.reasons {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
}
.reason {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-yellow);
  border-radius: var(--radius-lg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.reason:hover {
  transform: translateY(-3px);
  box-shadow: var(--elevation-1);
}
.reason h3 {
  font-size: 17px;
  line-height: 24px;
  margin: 0 0 var(--space-2);
}
.reason p {
  margin: 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--ink-muted);
}

.why-photos {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.why-photos .photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
}
@media (max-width: 760px) {
  .why-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
}

/* Reviews ----------------------------------------------------------------- */
/* Two up at most. With an odd count the last card runs full width, so no card
   is ever left on its own. */
.reviews { display: grid; gap: var(--space-6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reviews > .review:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
}

.review {
  /* Browsers give figure a 40px inline margin by default. */
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.review__quote {
  margin: 0;
  font-size: 16px;
  line-height: 25px;
}
.review__quote p { margin: 0; }
.review__quote p + p { margin-top: var(--space-3); }
.review__foot {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}
.review__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.review__who { font-weight: 700; font-size: 15px; line-height: 20px; }
.review__where { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.review__stars { display: flex; gap: 2px; margin: 0; }
/* Yellow alone is 1.4:1 on white, so the gold keyline gives each star an edge. */
.review__star {
  display: block;
  width: 20px;
  height: 20px;
  fill: var(--brand-yellow);
  stroke: var(--brand-gold);
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.review__star--empty { fill: transparent; }
.reviews__more { margin: var(--space-8) 0 0; }

/* FAQ --------------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-3); }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 200ms ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__item[open] summary { background: var(--surface-raised); }
.faq__answer {
  margin: 0;
  padding: var(--space-4) var(--space-6) var(--space-6);
  font-size: 16px;
  line-height: 25px;
  color: var(--ink-muted);
}

/* Quote section and form -------------------------------------------------- */
.quote-section {
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding-block: clamp(56px, 9vw, 104px);
}
.quote-section .section__eyebrow,
.quote-section .section__intro { color: var(--brand-black); }
.quote-section .lean-rule { background: var(--brand-black); }

.quote-grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
@media (max-width: 860px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
}

.quote-contact { display: grid; gap: var(--space-6); }
.quote-contact dl { margin: 0; display: grid; gap: var(--space-4); }
.quote-contact dt {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quote-contact dd {
  margin: var(--space-1) 0 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}
.quote-contact dd a {
  color: var(--brand-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--brand-white);
  border: 2px solid var(--brand-black);
  border-radius: var(--radius-lg);
}

.form__title {
  margin: 0 0 var(--space-2);
  font-size: 24px;
  line-height: 30px;
}
.form__note {
  margin: 0 0 var(--space-6);
  font-size: 14px;
  line-height: 21px;
  color: var(--ink-muted);
}

.field { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }

.field > label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.field .req { color: var(--ink); }

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: var(--space-3);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--brand-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  field-sizing: content;
  max-height: 320px;
}
.field input:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
}

/* Only flag a field once the visitor has actually left it. */
.field input[data-touched="true"]:not(:placeholder-shown):invalid,
.field textarea[data-touched="true"]:not(:placeholder-shown):invalid {
  border-color: #a11b00;
  box-shadow: inset 3px 0 0 0 #a11b00;
}

.field__error {
  font-size: 13px;
  line-height: 19px;
  font-weight: 700;
  color: #8f1800;
  min-height: 0;
}

.field--half { display: grid; }
.form__row {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

/* Honeypot, hidden from people but visible to naive bots. */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.form__privacy {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--ink-muted);
}

.form__status {
  margin: var(--space-4) 0 0;
  padding: var(--space-4);
  font-size: 15px;
  line-height: 23px;
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.form__status[hidden] { display: none; }

/* Footer ------------------------------------------------------------------ */
.footer {
  background: var(--brand-black);
  padding-block: clamp(40px, 6vw, 64px);
}
.footer__grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}
.footer h2 {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 var(--space-4);
}
.footer p, .footer li {
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-muted);
  margin: 0;
}
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.footer__logo { width: 140px; margin-bottom: var(--space-4); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
}
.footer__base p { font-size: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer__licence { font-style: italic; color: var(--accent-text); }

/* Mobile call bar --------------------------------------------------------- */
.callbar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 110;
  display: none;
  gap: 1px;
  background: var(--brand-black);
  border-top: 2px solid var(--brand-yellow);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform 260ms ease;
}
.callbar[data-visible="true"] { transform: translateY(0); }
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.callbar__call { background: var(--brand-yellow); color: var(--brand-black); }
.callbar__quote { background: var(--brand-black); color: var(--brand-yellow); }

@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 0; }
}

/* Reveal on scroll -------------------------------------------------------- */
/* No JS means everything is visible from the start. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 90ms; }
.js .reveal[data-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-delay="3"] { transition-delay: 270ms; }

/* Cross-page transitions -------------------------------------------------- */
@view-transition { navigation: auto; }

/* Sub-pages --------------------------------------------------------------- */
.page-head {
  background: var(--brand-black);
  padding-block: clamp(48px, 8vw, 88px);
}
.page-head h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  color: var(--ink);
}
.page-head p {
  margin: var(--space-4) 0 0;
  max-width: 60ch;
  color: var(--ink-muted);
}
.page-head .section__eyebrow { margin: 0 0 var(--space-3); }

/* Service pages: breadcrumb, head buttons, photo and closing quote panel. */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-muted);
}
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); }
.crumbs a { color: var(--ink); text-underline-offset: 3px; }

.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.photo--page {
  aspect-ratio: 4 / 3;
  margin: 0 0 var(--space-8);
}

.reason h3 a { text-underline-offset: 3px; }

.page-cta { margin-top: var(--space-12); }

.prose { max-width: 70ch; }
.prose h2 {
  font-size: 22px;
  line-height: 29px;
  margin: var(--space-8) 0 var(--space-3);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; line-height: 25px; color: var(--ink-muted); }
.prose p { margin: 0 0 var(--space-4); }
.prose ul { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-2); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* Motion preferences ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .callbar { transform: translateY(0); }
}
