/* ==========================================================================
   The Hooks Collective — styles.css
   Redesign: cream / ink / gold. Shared across all four pages — there is no
   per-page stylesheet and no templating, so this file grows as each page is
   built (see the section markers below) rather than being rewritten per page.
   ========================================================================== */

:root {
  /* CUSTOMIZE: brand colors */
  --cream: #FAF4EF;        /* page background */
  --cream-deep: #F3EAE2;   /* alternating band background */
  --white: #FFFFFF;        /* card background */
  --ink: #141414;          /* headings, primary text */
  --body: #443F3B;         /* body copy */
  --muted: #6B645E;        /* captions, meta */
  --gold: #C4873D;         /* accent: rules, icons, script, active nav */
  --gold-deep: #A96F2C;    /* gold hover */
  --border: #E5D9CE;
  --black-band: #101010;   /* CTA banner background */

  --container-max: 1200px;
  --radius: 8px;
  --radius-lg: 16px;       /* portrait images */
  --shadow-card: 0 2px 12px rgba(20, 20, 20, 0.05);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Beau Rivage', cursive;
  --font-italic: 'Playfair Display', Georgia, serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Visually hidden but still readable by screen readers / present for SEO —
   e.g. About's <h1> now that the page no longer shows a large title. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography scale ---------- */

/* Page title (ABOUT, SERVICES, CONTACT) */
.page-title {
  font-size: clamp(3rem, 8vw, 5.25rem);
  line-height: 0.95;
}

/* Card heading (service cards, three-up teaser) */
.card-heading {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0;
}

/* Italic gold accent line (script-adjacent, e.g. hero subhead on Home) */
.italic-gold {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.btn-arrow { color: var(--gold); transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow { transform: translateX(4px); }

/* Outline — primary on light backgrounds */
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

/* Gold — for use on the black CTA band */
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-gold .btn-arrow { color: var(--ink); }
.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn-full { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: transparent;
  padding: 1.75rem 0;
}

/* Home only: the header floats fixed and transparent over the hero photo,
   like the pre-redesign single-page navbar did, instead of sitting in
   normal flow above the hero like the shared header on every other page.
   JS toggles .scrolled once the user scrolls past the hero. */
body.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              padding 0.35s var(--ease);
}
body.page-home .site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(20, 20, 20, 0.08);
  padding: 0.9rem 0;
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo lockup: the client's actual logo file (assets/HooksCollectiveLogo.png),
   keyed to transparent and cropped into a mark and a wordmark — not a
   font-based recreation. Nav uses both; the footer uses the wordmark alone,
   in its light-on-transparent variant since it sits on the black footer. */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-mark-img { flex: none; height: 52px; width: auto; }
.logo-wordmark-img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- CTA Banner ---------- */
.cta-banner-wrap { padding: 0 0 5rem; }
.cta-banner {
  background: var(--black-band);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.cta-banner-text { flex: 1; }
.cta-banner-heading {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: 1.5rem;
  color: var(--cream);
  margin: 0;
}
.cta-banner-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(250, 244, 239, 0.75);
  margin: 0.6rem 0 0;
}

.cta-banner-divider {
  flex: none;
  align-self: stretch;
  width: 1px;
  background: rgba(250, 244, 239, 0.25);
}

.cta-banner-action { flex: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black-band);
  border-top: 1px solid rgba(250, 244, 239, 0.12);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

/* Footer uses the wordmark alone (no mark), sized a bit larger since
   there's no mark beside it to set its scale. */
.footer .logo-wordmark-img { height: 56px; }

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--gold); }

.footer-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(250, 244, 239, 0.65);
  margin: 0;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(250, 244, 239, 0.45);
  margin: 0;
}

/* ---------- Home: Hero ---------- */
/* Restored to the pre-redesign hero: full-bleed photo with a soft cream
   wash and the wordmark + tagline overlaid on top of it, rather than the
   redesign's split text/photo grid. The header now sits above this
   section in normal flow (not overlaid on the photo) so its behavior
   stays consistent with the shared header on every other page. */
.hero {
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #EFE7DC 0%, #F3EBDF 55%, #F7F3EE 100%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(239, 231, 220, 0.92) 0%,
    rgba(239, 231, 220, 0.72) 42%,
    rgba(239, 231, 220, 0) 78%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 5rem 1.5rem 4rem clamp(1.5rem, 6vw, 4rem);
}

.hero-title { margin: 0 0 1.5rem; }

.hero-logo {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
}

.hero-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0;
}

.hero-subhead {
  font-size: 1.6rem;
  margin: 0.35rem 0 1.5rem;
  display: block;
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 34ch;
  margin: 0 0 2.5rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.scroll-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(20, 20, 20, 0.55);
  border-bottom: 2px solid rgba(20, 20, 20, 0.55);
  transform: rotate(45deg);
  animation: bob 2.2s var(--ease) infinite;
}
@keyframes bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ---------- Home: Three-up teaser ---------- */
.teaser { padding: 6rem 0; background: var(--cream); }

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin: 0;
}
.section-heading-row { text-align: center; margin-bottom: 3.5rem; }

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.teaser-card { text-align: left; }
.teaser-icon { color: var(--gold); width: 56px; height: 56px; margin-bottom: 1.5rem; }
.teaser-card .card-heading { margin-bottom: 0.75rem; }
.teaser-desc { font-size: 0.95rem; margin: 0; }

.teaser-cta { text-align: center; margin-top: 3.5rem; }

/* ---------- Home: Quote band ---------- */
.quote-band {
  background: var(--cream-deep);
  padding: 5rem 0;
  text-align: center;
}
.quote-text {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--ink);
  max-width: 26ch;
  margin: 0 auto;
  line-height: 1.35;
}
.quote-attribution {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-top: 1.5rem;
}

/* ---------- Page header (About, Services, Contact) ---------- */
/* Page title + gold rule + one-line intro, used at the top of every
   non-Home page. Header sits above this as a normal sibling (not nested,
   unlike Home's hero) — on mobile it goes position:fixed, so this block
   carries the top padding needed to clear it. */
.page-header { padding: 6rem 0 4rem; background: var(--cream); }
.page-intro {
  max-width: 62ch;
  margin-top: 1.5rem;
  font-size: 1rem;
}

/* ---------- Services: card list ---------- */
.services-list { padding: 0 0 6rem; background: var(--cream); }
.service-cards { display: flex; flex-direction: column; gap: 1.25rem; }

.service-card {
  display: grid;
  grid-template-columns: 180px 1px 1fr;
  align-items: start;
  gap: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.25rem 2.5rem;
  transition: box-shadow 0.25s var(--ease);
}
.service-card:hover { box-shadow: 0 6px 24px rgba(20, 20, 20, 0.09); }

.service-card-icon {
  display: grid;
  place-items: center;
}
.service-icon {
  color: var(--gold);
  width: 90px;
  height: 90px;
}

.service-card-divider { align-self: stretch; width: 1px; background: var(--border); }

.service-card-body .card-heading { margin-bottom: 0.9rem; }

/* ---------- About ---------- */
/* No .page-header on this page (the client asked to drop the large
   "About" title), so .about carries its own top clearance — matching
   what .page-header used to provide, including clearing the fixed
   mobile nav (see the mobile override below). */
.about { padding: 6rem 0 6rem; background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 0.9fr;
  grid-template-areas: "allana div1 story div2 portrait";
  gap: 3.5rem;
  align-items: start;
}
.about-col-allana { grid-area: allana; }
.about-divider-1 { grid-area: div1; background: var(--border); align-self: stretch; }
.about-col-story { grid-area: story; }
.about-divider-2 { grid-area: div2; background: var(--border); align-self: stretch; }
.about-col-portrait { grid-area: portrait; position: sticky; top: 3rem; }

.about-portrait-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-portrait-caption {
  font-size: 1.35rem;
  text-align: center;
  margin: 1.5rem 0 0;
}

/* About-only script accents (Pinyon Script / Corinthia) — loaded via
   about.html's own Google Fonts <link>, not the shared one, so these
   two families never reach any other page. */
.brand-script-pinyon {
  font-family: 'Pinyon Script', cursive;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--gold);
}

.brand-script-corinthia {
  font-family: 'Corinthia', cursive;
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  color: var(--gold);
}

/* Mixed script/caps heading: "Meet ALLANA", "Our STORY" — a flex row so
   the two differently-sized words share a baseline regardless of each
   font's own metrics. */
.about-mixed-heading {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.about-mixed-heading .brand-script-pinyon { font-size: clamp(2.8rem, 5vw, 3.5rem); }
.about-heading-word {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.4rem);
  color: var(--ink);
}

.about-lead { font-size: 1.05rem; }
.about-emphasis { font-weight: 500; color: var(--ink); }

.about-signature {
  margin-top: 1.5rem;
  /* Corinthia's descenders (the tails on "y", the flourish under the
     dash) can get clipped by the following element without this. */
  padding-bottom: 0.2em;
}
.about-signature .brand-script-corinthia { font-size: clamp(1.8rem, 3vw, 2.4rem); }

/* ---------- Contact ---------- */
.contact { padding: 0 0 6rem; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-aside {
  /* Matches .contact-form-card's own padding-top, so the first info row
     lines up with "First name" rather than with the card's outer edge —
     the grid's align-items: start only aligns the boxes, not what's
     visually first inside each of them. */
  padding-top: 2.5rem;
}

.contact-info-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: 0.1rem; }
.contact-info-list a { color: var(--gold); text-decoration: none; }
.contact-info-list a:hover { color: var(--gold-deep); text-decoration: underline; }

.contact-location { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-location-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.contact-location-sub { color: var(--body); }

.contact-disclaimer {
  background: var(--cream-deep);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.contact-form-card {
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
}

.field { margin-bottom: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.contact-form label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 244, 239, 0.7);
  margin-bottom: 0.6rem;
}
.contact-form .optional { text-transform: none; letter-spacing: normal; font-weight: 400; color: rgba(250, 244, 239, 0.4); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 135, 61, 0.28);
}
.contact-form .invalid { border-color: #b3382c; }

.hidden-field { position: absolute; left: -9999px; }

.form-error {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #ff8a75;
  margin: 0.75rem 0 0;
}

.form-success { text-align: center; padding: 1.5rem 0; }
.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--gold);
}
.form-success-icon svg { width: 26px; height: 26px; }
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.form-success p { margin-bottom: 1.5rem; color: rgba(250, 244, 239, 0.75); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cta-banner { padding: 2rem; }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "portrait" "allana" "story";
    gap: 3rem;
  }
  .about-divider-1, .about-divider-2 { display: none; }
  .about-col-allana, .about-col-story { border-top: 1px solid var(--border); padding-top: 2.5rem; }
  .about-col-portrait { position: static; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--cream);
    padding: 1.1rem 0;
  }

  /* Home only: stay transparent over the hero photo until scrolled, same
     as desktop, instead of the solid cream every other page uses. */
  body.page-home .site-header {
    background: transparent;
    padding: 1.1rem 0;
  }
  body.page-home .site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(20, 20, 20, 0.08);
    padding: 0.7rem 0;
    backdrop-filter: blur(8px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.75rem;
    padding: 2rem;
    background: var(--white);
    box-shadow: -8px 0 32px rgba(20, 20, 20, 0.12);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 101;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 0.95rem; }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.5rem;
  }
  .cta-banner-divider { width: 100%; height: 1px; }
  .cta-banner-action .btn { width: 100%; justify-content: center; }

  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 1.25rem 1.75rem; }

  /* Home hero: the header floats transparent above it (see body.page-home
     .site-header above), so no top padding is needed to clear it — the
     photo runs edge to edge behind the nav, same as the old design. */
  .hero {
    min-height: auto;
    display: block;
  }

  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-overlay { display: none; }

  .hero-content {
    position: relative;
    z-index: auto;
    max-width: none;
    padding: 0.85rem 1.5rem 0.9rem;
  }

  .hero-title { margin: 0 0 0.5rem; }
  .hero-logo { width: 165px; }

  .hero-kicker { font-size: 0.75rem; }
  .hero-subhead { font-size: 1.05rem; margin: 0.15rem 0 0.5rem; }

  .hero-tagline {
    max-width: none;
    font-size: 0.8rem;
    margin: 0 0 0.7rem;
  }

  .hero-cta .btn { width: 100%; justify-content: center; padding: 0.7rem 1rem; font-size: 0.75rem; }

  .scroll-indicator { display: none; }

  .teaser { padding: 3.5rem 0; }
  .teaser-grid { grid-template-columns: 1fr; gap: 2.75rem; }

  .quote-band { padding: 3.5rem 0; }

  /* Page header: same fixed-nav clearance as .hero on Home. */
  .page-header { padding: 6.5rem 0 3rem; }
  .about { padding-top: 6.5rem; }

  /* Services cards: single column — icon on top (smaller), divider goes
     from a full-height vertical line to a full-width horizontal rule. */
  .services-list { padding-bottom: 3.5rem; }
  .service-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
  }
  .service-icon { width: 64px; height: 64px; }
  .service-card-divider { width: 100%; height: 1px; align-self: auto; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 1.75rem 1.5rem; }
}

/* ---------- Scroll reveal ---------- */
/* Toggled by IntersectionObserver in js/main.js. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
