/* ==========================================================================
   Steve's Painting Services — Batemans Bay
   Static one-page site. No build step, no framework.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --yellow: #FFC107;
  --yellow-hover: #E5AC00;
  --ink: #14130F;
  --ink-soft: #211F1A;
  --base: #FAF9F5;
  --grey: #66625A;
  --grey-on-dark: #A9A49A;
  --hairline: #E7E3DA;
  --hairline-on-dark: rgba(250, 249, 245, 0.14);
  --white: #FFFFFF;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 75rem;
  --radius: 12px;
  --shadow-card: 0 1px 2px rgba(20, 19, 15, 0.05), 0 16px 48px rgba(20, 19, 15, 0.12);
  --header-h: 5.25rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--grey);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0 0 1.1rem;
}

/* Signage-style display type: expanded Archivo, uppercase, heavy */
h1, h2, .hero-headline {
  text-transform: uppercase;
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.02;
}

h1, .hero-headline {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
}

.hero-headline {
  font-family: var(--font-head);
  color: var(--ink);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Paint-swipe accent inside headings: ink text on a yellow stroke */
.accent {
  font-style: normal;
  color: var(--ink);
  background: linear-gradient(100deg, transparent 0.6%, var(--yellow) 3.2%, var(--yellow) 96.8%, transparent 99.4%);
  padding: 0.04em 0.22em 0.08em;
  margin-inline: -0.06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

ul, ol {
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Focus rings: charcoal on light, yellow on dark */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero :focus-visible,
.coast-band :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--yellow);
}

.hero .hero-form-card :focus-visible,
.contact .contact-form-panel :focus-visible {
  outline-color: var(--ink);
}

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: var(--base);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Kickers ---------- */
.kicker {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--yellow);
  flex: none;
}

.kicker-on-dark {
  color: var(--yellow);
}

.kicker-centered {
  justify-content: center;
}

.kicker-centered::after {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--yellow);
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

.btn-ink {
  background: var(--ink);
  color: var(--base);
}

.btn-ink:hover {
  background: var(--ink-soft);
}

.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--yellow);
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yellow);
  border-bottom: 1px solid rgba(20, 19, 15, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
  flex-wrap: wrap;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.header-logo img {
  height: 64px;
  width: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--ink);
}

.header-call {
  padding: 0.6rem 1.25rem;
}

/* Hamburger: enhanced by JS only; without JS the nav simply wraps below */
.nav-toggle {
  appearance: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.nav-toggle-box {
  display: block;
  width: 1.25rem;
  height: 0.875rem;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-box::before { top: 0; }
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-box::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box::before {
  transform: translateY(0.375rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::after {
  transform: translateY(-0.375rem) rotate(-45deg);
}

@media (min-width: 921px) {
  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 920px) {
  .header-inner {
    gap: 0.75rem 1rem;
  }

  .site-nav {
    order: 4;
    flex-basis: 100%;
  }

  .site-nav ul {
    gap: 0.15rem 1.2rem;
    padding-bottom: 0.5rem;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(20, 19, 15, 0.15);
    padding-block: 0.5rem;
  }

  .js .site-nav a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.05rem;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-logo img {
    height: 52px;
  }

  .header-call {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .nav-toggle {
    padding: 0.5rem 0.6rem;
  }
}

/* Anchor targets clear the sticky header */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ink scrim so type and card always sit on solid ground */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 19, 15, 0.92) 0%, rgba(20, 19, 15, 0.72) 44%, rgba(20, 19, 15, 0.38) 100%),
    linear-gradient(0deg, rgba(20, 19, 15, 0.55) 0%, rgba(20, 19, 15, 0) 35%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero .hero-headline {
  color: var(--base);
  margin: 0 0 1.4rem;
  max-width: 13ch;
}

/* The H1 is the small keyword kicker; keep kicker sizing when it's a heading */
h1.kicker {
  font-size: 0.76rem;
  font-stretch: 112%;
  line-height: 1.5;
}


.hero-subhead {
  font-size: 1.13rem;
  line-height: 1.75;
  color: rgba(250, 249, 245, 0.88);
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
}

.hero-trust li {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--base);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-trust li::before {
  content: "★";
  color: var(--yellow);
  font-size: 0.9em;
}

/* Hero quote card */
.hero-form-card {
  background: var(--base);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
  border-top: 5px solid var(--yellow);
  max-width: 30rem;
  justify-self: stretch;
}

@media (min-width: 960px) {
  .hero-form-card {
    justify-self: end;
    width: 100%;
  }
}

.hero-form-title {
  font-size: 1.7rem;
  margin-bottom: 0.35rem;
}

.hero-form-note {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hero-form-alt {
  text-align: center;
  font-size: 0.92rem;
  margin: 1rem 0 0;
}

/* ---------- Credentials strip ---------- */
.cred-strip {
  background: var(--base);
  border-bottom: 1px solid var(--hairline);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.cred {
  border-left: 1px solid var(--hairline);
  padding-inline: clamp(1.25rem, 2.5vw, 2.5rem) 1rem;
}

.cred:first-child {
  border-left: none;
  padding-left: 0;
}

.cred dt {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.3rem;
}

.cred dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.cred-with-icon dd {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cred-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
}

.cred-badge {
  display: flex;
  align-items: center;
}

.cred-badge dd {
  margin: 0;
}

.cred-badge img {
  height: clamp(3.4rem, 5.5vw, 4.25rem);
  width: auto;
}

@media (max-width: 900px) {
  .cred-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 0;
  }

  .cred:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 420px) {
  .cred-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cred {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--hairline);
    padding-top: 1.25rem;
  }

  .cred:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ---------- Section scaffolding ---------- */
.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-intro {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* ---------- Services: sticky intro + ruled list ---------- */
.services-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1.55fr;
  }

  .services-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.services-cta {
  margin: 1.75rem 0 0;
}

.service-list {
  list-style: none;
  border-bottom: 1px solid var(--hairline);
}

.service-item {
  position: relative;
  border-top: 1px solid var(--hairline);
  padding: clamp(1.6rem, 3vw, 2.25rem) 0;
  transition: padding-left 0.25s ease;
}

/* Paint edge drawn in on hover */
.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(1.6rem, 3vw, 2.25rem);
  bottom: clamp(1.6rem, 3vw, 2.25rem);
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .service-item:hover {
    padding-left: 1.4rem;
  }

  .service-item:hover::before {
    transform: scaleY(1);
  }
}

.service-item h3 {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.015em;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.15;
}

.service-item p {
  margin: 0;
  font-size: 0.98rem;
  max-width: 56ch;
}

/* ---------- Coast band: full-bleed image with ink scrim ---------- */
.coast-band {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(20, 19, 15, 0.9), rgba(20, 19, 15, 0.78)),
    url("assets/steves-painting-coastal-specialist-background.webp");
  background-size: cover;
  background-position: center;
  color: var(--grey-on-dark);
  padding-block: clamp(5rem, 11vw, 9rem);
}

/* Parallax reveal: the coastline stays planted while the page scrolls over it.
   Desktop fine-pointer only; touch browsers and reduced-motion get a static image. */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .coast-band {
    background-attachment: fixed, fixed;
  }
}

.coast-band h2 {
  color: var(--base);
  max-width: 26ch;
}

.coast-inner > p:not(.kicker) {
  max-width: 58ch;
  color: rgba(250, 249, 245, 0.82);
}

/* Stat row: hairlines, no boxes */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  margin: 2.75rem 0 0;
}

.stat {
  border-left: 1px solid var(--hairline-on-dark);
  padding: 0.25rem 1.5rem 0.25rem 1.25rem;
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat dt {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat {
    border-left: none;
    border-top: 1px solid var(--hairline-on-dark);
    padding: 1.25rem 0 0;
  }

  .stat:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 940px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
}

@media (max-width: 939px) {
  .about-media {
    margin-inline: 0 1.25rem;
  }
}

.about-copy > p:not(.kicker) {
  max-width: 58ch;
}

.credential-list {
  list-style: none;
  margin-top: 1.9rem;
  display: grid;
  gap: 0;
}

@media (min-width: 640px) {
  .credential-list {
    grid-template-columns: 1fr;
  }
}

.credential-list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  padding-block: 0.8rem;
}

.credential-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--yellow);
  transform: rotate(45deg) translateY(-1px);
  flex: none;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--white);
  border-block: 1px solid var(--hairline);
}

.review-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 860px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  margin: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
}

.stars {
  color: var(--yellow);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.review-card blockquote {
  margin: 0 0 1.5rem;
  flex: 1;
}

.review-card blockquote p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  max-width: 34rem;
}

.review-card figcaption strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.review-card figcaption span {
  color: var(--grey);
  font-size: 0.82rem;
}

/* ---------- Service area ---------- */
.service-area {
  text-align: center;
}

.service-area .section-intro {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.area-towns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0;
  margin: 0;
}

.area-towns span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}

.area-towns span + span::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: var(--yellow);
  transform: rotate(45deg);
  margin-inline: 1.1rem;
}

/* ---------- Gallery ---------- */
.gallery {
  padding-top: 0;
}

.gallery-grid {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid li {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  background: var(--hairline);
}

.gallery-grid li.wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-grid li:hover img {
    transform: scale(1.04);
  }
}

/* ---------- FAQ ---------- */
.faq-inner {
  max-width: 50rem;
}

.faq-list details {
  border-bottom: 1px solid var(--hairline);
}

.faq-list details:first-child {
  border-top: 1px solid var(--hairline);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0.25rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-list summary:hover h3 {
  color: var(--yellow-hover);
}

.faq-marker {
  flex: none;
  position: relative;
  width: 0.9rem;
  height: 0.9rem;
}

.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.faq-marker::before {
  left: 0;
  top: calc(50% - 1px);
  width: 100%;
  height: 2px;
}

.faq-marker::after {
  top: 0;
  left: calc(50% - 1px);
  height: 100%;
  width: 2px;
}

.faq-list details[open] .faq-marker::after {
  transform: rotate(90deg);
}

.faq-list details p {
  padding: 0 0.25rem 1.4rem;
  margin: 0;
  max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--ink);
  color: var(--grey-on-dark);
}

.contact h2 {
  color: var(--base);
}

.contact-intro {
  font-size: 1.08rem;
  color: rgba(250, 249, 245, 0.8);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.contact-intro a {
  color: var(--base);
  text-decoration-color: var(--yellow);
}

.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-panel {
  background: var(--base);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 5px solid var(--yellow);
  box-shadow: var(--shadow-card);
}

/* ---------- Form ---------- */
.quote-form {
  display: grid;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field .optional {
  font-weight: 400;
  color: var(--grey);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 5rem;
}

/* Honeypot: hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-weight: 500;
  min-height: 0;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--yellow);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.form-status.is-error {
  color: #7A1F1F;
  background: #FBF3F2;
  border: 1px solid #E4C7C2;
  border-left: 4px solid #B03A2E;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

/* ---------- Contact trust stack + pull quote ---------- */
.trust-stack {
  list-style: none;
  display: grid;
  gap: 0;
  margin-bottom: 2.25rem;
}

.trust-stack li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-top: 1px solid var(--hairline-on-dark);
  padding-block: 1.1rem;
}

.trust-stack .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--yellow);
  margin-top: 0.15rem;
}

.trust-stack strong {
  display: block;
  font-family: var(--font-head);
  color: var(--base);
  font-size: 0.98rem;
}

.trust-stack span {
  font-size: 0.88rem;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.final-cta h2 {
  margin-bottom: 0.5rem;
}

.final-cta p {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--grey-on-dark);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hairline-on-dark);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .footer-details {
    display: flex;
    gap: 3.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* Reversed logo variant (off-white marks, gold tagline) sits straight on the ink */
.footer-logo {
  margin: 0;
}

.footer-logo img {
  width: clamp(220px, 26vw, 300px);
  height: auto;
}

.footer-details p {
  margin: 0;
  line-height: 1.9;
  font-size: 0.95rem;
}

.footer-nap {
  color: var(--base);
  font-weight: 500;
}

.site-footer a {
  color: var(--base);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 193, 7, 0.5);
}

.site-footer a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none;
}

@media (max-width: 760px) {
  .mobile-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 16px rgba(20, 19, 15, 0.2);
  }

  .mobile-call-bar:hover,
  .mobile-call-bar:active {
    background: var(--yellow-hover);
  }

  body {
    padding-bottom: 3.6rem;
  }
}

/* ---------- Scroll reveal (JS enhancement only) ----------
   Content is fully visible by default. Only when JS runs (html.js) AND
   the user allows motion do elements animate in. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .js .reveal.in {
    opacity: 1;
    transform: none;
  }

  .js .reveal-group .reveal:nth-child(2) { transition-delay: 0.06s; }
  .js .reveal-group .reveal:nth-child(3) { transition-delay: 0.12s; }
  .js .reveal-group .reveal:nth-child(4) { transition-delay: 0.18s; }
  .js .reveal-group .reveal:nth-child(5) { transition-delay: 0.24s; }
  .js .reveal-group .reveal:nth-child(6) { transition-delay: 0.3s; }

  .js .stat-row .stat:nth-child(2) { transition-delay: 0.06s; }
  .js .stat-row .stat:nth-child(3) { transition-delay: 0.12s; }
}
