/* ==========================================================================
   Wolfeden Roofing — Design System
   "The Restored Roofline" — terracotta clay · slate charcoal · lime mortar
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Brand */
  --clay:        #c0592e;   /* terracotta tile — primary accent */
  --clay-600:    #a94a24;
  --clay-700:    #8f3d1d;   /* hover / deep */
  --clay-soft:   #e58b5c;
  --clay-tint:   #f6e6dc;

  /* Neutrals — warm slate */
  --ink:         #1a1c1f;   /* near-black text */
  --slate-900:   #202429;
  --slate-800:   #2b3037;
  --slate-700:   #3b424b;
  --slate-600:   #4d555f;   /* body text in cards / faq — better contrast */
  --slate-500:   #626b76;
  --slate-400:   #8a929c;
  --slate-300:   #b6bcc3;

  /* Surfaces — mortar / paper */
  --paper:       #f7f3ee;   /* page background */
  --paper-2:     #fcfaf6;
  --white:       #ffffff;
  --line:        #e7ded3;   /* hairlines */
  --line-2:      #efe8df;

  /* Feedback */
  --gold:        #e0a92e;   /* stars */
  --ok:          #2f8f5b;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Sora", var(--sans);

  /* Fluid type scale */
  --fs-eyebrow: 0.78rem;
  --fs-body:    clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-lead:    clamp(1.12rem, 1.02rem + 0.5vw, 1.32rem);
  --fs-h4:      clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-h3:      clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem);
  --fs-h2:      clamp(1.9rem, 1.45rem + 2vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.7rem + 3.6vw, 4.7rem);
  --fs-display: clamp(2.8rem, 1.6rem + 5.5vw, 6.2rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 7vw, 7rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(26,28,31,.06), 0 2px 8px rgba(26,28,31,.05);
  --shadow:    0 6px 22px rgba(26,28,31,.09), 0 2px 6px rgba(26,28,31,.05);
  --shadow-lg: 0 24px 60px rgba(26,28,31,.18), 0 6px 18px rgba(26,28,31,.10);
  --shadow-clay: 0 12px 30px rgba(192,89,46,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--slate-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--clay); border-radius: 2px;
}
.eyebrow.is-center::before { display: none; }

.lead { font-size: var(--fs-lead); color: var(--slate-700); line-height: 1.55; }
.muted { color: var(--slate-500); }
.clay-text { color: var(--clay-600); }

/* ---- Layout helpers ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--slate-900); color: var(--slate-300); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section-head { max-width: 660px; }
.section-head.is-center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .5rem; }
.section-head p { margin-top: 1rem; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --_bg: var(--clay); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--display); font-weight: 600; font-size: .98rem; letter-spacing: -0.01em;
  padding: .92em 1.5em; border-radius: 999px; white-space: nowrap;
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease, color .2s ease;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-clay); }
.btn--primary:hover { background: var(--clay-700); box-shadow: 0 16px 38px rgba(192,89,46,.36); }
.btn--dark { background: var(--slate-900); color: #fff; }
.btn--dark:hover { background: var(--ink); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--slate-300); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--onclay { background: #fff; color: var(--clay-700); }
.btn--onclay.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--onclay.btn--outline:hover { background: #fff; color: var(--clay-700); border-color: #fff; }
.btn--lg { padding: .95em 1.7em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Header ------------------------------------------------------------- */
.topbar {
  background: var(--slate-900); color: var(--slate-300);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; padding-block: .35rem; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--clay-soft); }
.topbar__meta { display: flex; align-items: center; gap: 1.4rem; }
.topbar__meta span { display: inline-flex; align-items: center; gap: .45em; }
.topbar__meta svg { width: 15px; height: 15px; color: var(--clay-soft); flex: none; }
@media (max-width: 780px) { .topbar__meta span.hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(252,250,246,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.brand__name span { display: block; font-family: var(--sans); font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clay-600); margin-top: .28em; }

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  font-family: var(--display); font-weight: 500; font-size: .96rem;
  color: var(--slate-700); padding: .5rem .85rem; border-radius: 8px; position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--ink); background: rgba(192,89,46,.07); }
.nav__links a[aria-current="page"] { color: var(--clay-700); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem; height: 2px;
  background: var(--clay); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__call { display: inline-flex; align-items: center; gap: .5em; font-family: var(--display); font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav__call svg { width: 18px; height: 18px; color: var(--clay); flex: none; }

.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(4px); }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: rotate(45deg); }
body.nav-open .nav__toggle span::after { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 1200px) {
  .nav__links, .nav__cta .btn, .nav__call { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 55; background: var(--slate-900);
  display: flex; flex-direction: column; padding: 6rem var(--gutter) 2.5rem;
  transform: translateY(-100%); transition: transform .45s var(--ease-out); visibility: hidden;
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav > a { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.7rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.mobile-nav > a:last-of-type { border-bottom: none; }
.mobile-nav__foot { margin-top: auto; display: grid; gap: .8rem; }
.mobile-nav__foot .btn { width: 100%; }

/* ---- Hero (scroll-scrub video) ----------------------------------------- */
.hero {
  position: relative;
  height: 210vh;               /* scroll length between the 3 text beats */
  background: var(--slate-900);
}
.hero__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,22,26,.60) 0%, rgba(20,22,26,.12) 26%, rgba(20,22,26,.18) 60%, rgba(20,22,26,.82) 100%);
}
.hero__vignette { position: absolute; inset: 0; box-shadow: inset 0 0 220px rgba(0,0,0,.45); pointer-events: none; }

.hero__content {
  position: absolute; inset: 0; z-index: 3;
  display: grid; align-items: center;
}
.hero__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.hero__beat { max-width: 840px; }
.hero .eyebrow { color: var(--clay-soft); }
.hero .eyebrow::before { background: var(--clay-soft); }
/* beats 2 & 3 use <h2> (only one <h1> per page for SEO) but must look identical */
.hero h1, .hero h2 { font-size: var(--fs-h1); color: #fff; margin-top: 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__sub { color: rgba(255,255,255,.9); font-size: var(--fs-lead); margin-top: 1.3rem; max-width: 560px; text-shadow: 0 1px 16px rgba(0,0,0,.4); }
.hero__cta { margin-top: 2rem; }
.hero__trust { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.8rem; color: rgba(255,255,255,.85); font-size: .9rem; }
.hero__trust .stars { color: var(--gold); letter-spacing: .1em; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust svg { width: 17px; height: 17px; color: var(--clay-soft); }

/* the 3 overlaid text "beats" fade in/out along the scrub */
.beat { opacity: 0; transition: opacity .5s ease, transform .6s var(--ease-out); transform: translateY(24px); }
.beat.is-active { opacity: 1; transform: translateY(0); }
.beat:not(.is-active) { pointer-events: none; }
.hero__beats { display: grid; }
.hero__beats > .beat { grid-area: 1 / 1; }

.hero__progress { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; }
.hero__progress i { width: 30px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__progress i b { display: block; height: 100%; width: 0; background: var(--clay-soft); }
.scroll-cue { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 4; color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: opacity .4s; }
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 640px) {
  .hero { height: 200vh; }
  .hero__media video, .hero__media img { object-position: center 45%; }
}

/* ---- Simple page banner (inner pages) ---------------------------------- */
.pagehead { position: relative; background: var(--slate-900); color: #fff; overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; opacity: .38; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,.5), rgba(20,22,26,.85)); }
.pagehead__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.pagehead h1 { color: #fff; }
.pagehead p { color: rgba(255,255,255,.85); max-width: 620px; margin-top: 1rem; font-size: var(--fs-lead); }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .84rem; color: rgba(255,255,255,.7); margin-bottom: 1.1rem; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--clay-soft); }

/* ---- Stat strip --------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--paper-2); padding: clamp(1.3rem, 3vw, 2rem); text-align: center; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); color: var(--clay-600); line-height: 1; letter-spacing: -.03em; }
.stat__label { margin-top: .55rem; font-size: .9rem; color: var(--slate-500); font-weight: 500; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Cards -------------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--clay-tint); color: var(--clay-700); margin-bottom: 1.15rem; }
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: var(--fs-h4); }
.card p { margin-top: .6rem; color: var(--slate-600, var(--slate-500)); font-size: .98rem; }
.card__link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .45em; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--clay-700); }
.card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Service card variant with top accent */
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--clay), var(--clay-soft)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover::before { transform: scaleX(1); }
.service-card ul { margin-top: 1rem; display: grid; gap: .5rem; }
.service-card li { display: flex; gap: .6em; align-items: flex-start; font-size: .95rem; color: var(--slate-700); }
.service-card li svg { width: 18px; height: 18px; color: var(--clay); flex: none; margin-top: .2em; }

/* ---- Split feature block ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center; }
.split.is-reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; }
.split__badge { position: absolute; left: 1.1rem; bottom: 1.1rem; background: rgba(26,28,31,.72); backdrop-filter: blur(8px); color: #fff; border-radius: 12px; padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem; }
.split__badge b { font-family: var(--display); font-size: 1.3rem; display: block; line-height: 1; }
.split__badge small { font-size: .74rem; color: rgba(255,255,255,.75); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.is-reverse .split__media { order: 0; } }

.ticklist { display: grid; gap: .85rem; margin-top: 1.5rem; }
.ticklist li { display: flex; gap: .8rem; align-items: flex-start; }
.ticklist .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--clay-tint); color: var(--clay-700); display: grid; place-items: center; margin-top: .1em; }
.ticklist .tick svg { width: 15px; height: 15px; }
.ticklist b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; }
.ticklist p { font-size: .95rem; color: var(--slate-500); margin-top: .1rem; }

/* ---- Process steps ------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.6rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--clay); opacity: .35; letter-spacing: -.04em; }
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--slate-500); }
.step::after { content: ""; position: absolute; top: 1.1rem; left: 3.2rem; right: -.75rem; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
@media (max-width: 900px) { .step::after { display: none; } }

/* ---- Portfolio gallery -------------------------------------------------- */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filterbtn { padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: .9rem; color: var(--slate-600, var(--slate-700)); background: var(--white); transition: all .2s ease; }
.filterbtn:hover { border-color: var(--clay); color: var(--clay-700); }
.filterbtn.is-active { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.7rem, 1.6vw, 1.1rem); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; background: var(--slate-800); cursor: pointer; box-shadow: var(--shadow-sm); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1rem .95rem; background: linear-gradient(transparent, rgba(20,22,26,.85)); color: #fff; transform: translateY(8px); opacity: 0; transition: all .35s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: translateY(0); opacity: 1; }
.tile__cap b { font-family: var(--display); font-size: 1rem; display: block; }
.tile__cap small { font-size: .8rem; color: rgba(255,255,255,.75); }
.tile__tag { position: absolute; top: .8rem; left: .8rem; background: rgba(255,255,255,.92); color: var(--clay-700); font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .02em; padding: .28rem .7rem; border-radius: 999px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15,16,18,.92); display: none; align-items: center; justify-content: center; padding: 4vw; opacity: 0; transition: opacity .3s ease; }
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 3vw; right: 3vw; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 2vw; } .lightbox__nav.next { right: 2vw; }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__cap { position: absolute; bottom: 3vw; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; }

/* ---- Reviews ------------------------------------------------------------ */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); position: relative; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .12em; }
.review blockquote { margin-top: .9rem; font-size: 1.05rem; color: var(--slate-800); line-height: 1.6; }
.review__by { margin-top: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.review__by b { font-family: var(--display); color: var(--ink); }
.review__by small { display: block; color: var(--slate-500); font-size: .82rem; }
.review__quote { position: absolute; top: 1.1rem; right: 1.4rem; font-family: var(--display); font-size: 3.4rem; color: var(--clay-tint); line-height: 1; }

.review--featured { background: var(--slate-900); color: #fff; border-color: transparent; }
.review--featured blockquote { color: #fff; font-size: 1.2rem; }
.review--featured .review__by b { color: #fff; }
.review--featured .review__quote { color: rgba(255,255,255,.09); }

/* ---- Logos / trust row -------------------------------------------------- */
.trustrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.4rem; }
.trust-chip { display: inline-flex; align-items: center; gap: .6em; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--slate-700); }
.trust-chip svg { width: 22px; height: 22px; color: var(--clay); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--clay-700), var(--clay) 55%, var(--clay-600)); color: #fff; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Cpath d='M0 30 L30 6 L60 30' fill='none' stroke='%23ffffff' stroke-width='1' opacity='.10'/%3E%3C/svg%3E"); background-size: 60px 30px; opacity: .6; }
.cta-band__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .8rem; max-width: 520px; }
.cta-band__actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { align-items: flex-start; } }

/* ---- Forms -------------------------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .45rem; }
.field .req { color: var(--clay); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 4px rgba(192,89,46,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--slate-500); margin-top: .3rem; }
.chip-select { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip-select label { display: inline-flex; cursor: pointer; }
.chip-select input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-select span { padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-family: var(--display); font-weight: 500; color: var(--slate-700); background: var(--paper-2); transition: all .2s; }
.chip-select input:checked + span { background: var(--clay); border-color: var(--clay); color: #fff; }
.chip-select input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }

.form-success { display: none; text-align: center; padding: 1rem; }
.form-success.is-visible { display: block; animation: pop .4s var(--ease-out); }
.form-success__icon { width: 68px; height: 68px; border-radius: 50%; background: var(--clay-tint); color: var(--clay-700); display: grid; place-items: center; margin: 0 auto 1.1rem; }
.form-success__icon svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---- Contact info blocks ------------------------------------------------ */
.info-list { display: grid; gap: 1.1rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--clay-tint); color: var(--clay-700); display: grid; place-items: center; }
.info-item__ic svg { width: 22px; height: 22px; }
.info-item b { font-family: var(--display); color: var(--ink); display: block; }
.info-item a, .info-item p { color: var(--slate-600, var(--slate-700)); }
.info-item a:hover { color: var(--clay-700); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16/10; background: var(--line-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---- Booking page ------------------------------------------------------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
.assurance { display: grid; gap: 1rem; margin-top: 1.5rem; }
.assurance li { display: flex; gap: .75rem; align-items: flex-start; font-size: .96rem; }
.assurance svg { width: 20px; height: 20px; color: var(--clay); flex: none; margin-top: .15em; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .3rem 1.3rem; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-family: var(--display); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--clay); transition: transform .3s var(--ease); font-weight: 400; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--slate-600, var(--slate-500)); font-size: .97rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__name { color: #fff; }
.footer-about p { margin-top: 1rem; font-size: .93rem; max-width: 320px; }
.footer-col h5 { font-family: var(--display); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .95rem; color: var(--slate-400); transition: color .2s; }
.footer-col a:hover { color: var(--clay-soft); }
/* Keep buttons in the footer rendering as buttons (footer link styles above are more specific than .btn) */
.site-footer a.btn { display: inline-flex; width: auto; padding: .95em 1.7em; color: #fff; }
.site-footer a.btn--ghost { color: var(--ink); }
.site-footer a.btn:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--clay-soft); flex: none; margin-top: .25em; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transition: all .2s; }
.footer-social a:hover { background: var(--clay); border-color: var(--clay); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bar { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .84rem; }
.footer-bar a:hover { color: #fff; }

/* ---- Sticky mobile action bar ------------------------------------------ */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(252,250,246,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-bar .btn { width: 100%; padding: .85em 1em; }
@media (max-width: 1000px) { .mobile-bar { display: grid; } body { padding-bottom: 76px; } }

/* ---- Live chat widget --------------------------------------------------- */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; background: var(--clay); color: #fff; box-shadow: var(--shadow-clay); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.chat-fab:hover { transform: scale(1.06); background: var(--clay-700); }
.chat-fab svg { width: 27px; height: 27px; }
.chat-fab__dot { position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--ok); border: 2px solid var(--paper); }
body.nav-open .chat-fab, body.nav-open .chat-panel { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 1000px) { .chat-fab { bottom: 88px; right: 14px; width: 56px; height: 56px; } }

.chat-panel { position: fixed; right: 20px; bottom: 94px; z-index: 71; width: min(370px, calc(100vw - 32px)); background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; visibility: hidden; transform-origin: bottom right; transition: all .3s var(--ease-out); border: 1px solid var(--line); }
.chat-panel.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
@media (max-width: 1000px) { .chat-panel { bottom: 150px; right: 14px; } }
.chat-head { background: linear-gradient(120deg, var(--clay-700), var(--clay)); color: #fff; padding: 1.15rem 1.25rem; display: flex; gap: .8rem; align-items: center; }
.chat-head__av { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; }
.chat-head__av svg { width: 22px; height: 22px; }
.chat-head b { font-family: var(--display); font-size: 1rem; display: block; }
.chat-head small { font-size: .8rem; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: .4em; }
.chat-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7be0a3; }
.chat-close { margin-left: auto; color: #fff; opacity: .85; } .chat-close:hover { opacity: 1; }
.chat-close svg { width: 20px; height: 20px; }
.chat-body { padding: 1.2rem; max-height: 320px; overflow-y: auto; background: var(--paper-2); display: flex; flex-direction: column; gap: .7rem; }
.msg { max-width: 85%; padding: .7rem .95rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.msg--bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--clay); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1.2rem 1rem; background: var(--paper-2); }
.chat-quick button { font-family: var(--sans); font-size: .84rem; font-weight: 500; padding: .45rem .8rem; border: 1.5px solid var(--clay); color: var(--clay-700); border-radius: 999px; background: #fff; transition: all .2s; }
.chat-quick button:hover { background: var(--clay); color: #fff; }
.chat-foot { display: flex; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--line); background: #fff; }
.chat-foot input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .6rem 1rem; background: var(--paper-2); }
.chat-foot input:focus { outline: none; border-color: var(--clay); }
.chat-foot button { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; }
.chat-foot button svg { width: 18px; height: 18px; }

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  /* Beats are stacked in one grid cell — only ever show the active one,
     otherwise all three headlines render on top of each other. */
  .beat { transform: none !important; transition: none !important; }
  .beat.is-active { opacity: 1 !important; }
  .beat:not(.is-active) { opacity: 0 !important; }
  .scroll-cue::after { animation: none; }
}

/* ---- Utilities ---------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.maxw-720 { max-width: 720px; } .maxw-620 { max-width: 620px; }
.mx-auto { margin-inline: auto; }
.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; }
.divider { height: 1px; background: var(--line); border: none; }
.pill { display: inline-flex; align-items: center; gap: .5em; background: var(--clay-tint); color: var(--clay-700); font-family: var(--display); font-weight: 600; font-size: .82rem; padding: .4rem .9rem; border-radius: 999px; }
.pill svg { width: 15px; height: 15px; }

/* ---- Hero fit on small / short phones ----------------------------------
   The three stacked "beats" are ~520px tall, which overflows shorter phone
   screens (e.g. 667px) and collides with the scroll cue. Tighten the type
   and spacing so a beat always fits inside the sticky viewport. */
@media (max-width: 640px) {
  .hero h1, .hero h2 { font-size: clamp(1.85rem, 1.2rem + 3vw, 2.5rem); }
  .hero__sub { font-size: 1rem; margin-top: .85rem; }
  .hero__cta { margin-top: 1.35rem; }
  .hero .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .hero__trust { margin-top: 1.25rem; gap: .6rem 1.1rem; font-size: .82rem; }
}
/* Very short viewports: trim further and drop the scroll cue for room */
@media (max-width: 900px) and (max-height: 720px) {
  .hero h1, .hero h2 { font-size: 1.75rem; }
  .hero__sub { font-size: .95rem; margin-top: .7rem; }
  .hero__cta { margin-top: 1.1rem; }
  .hero__trust { display: none; }
  .scroll-cue { display: none; }
}

/* Very short screens (small phones, phone landscape): the supporting line
   wraps to ~6 lines and pushes the hero past the fold. Headline + buttons
   are what convert, so drop the sub-copy here. */
@media (max-width: 900px) and (max-height: 620px) {
  .hero__sub { display: none; }
  .hero h1, .hero h2 { font-size: 1.6rem; }
  .hero__cta { margin-top: 1rem; }
  .hero__cta .btn { padding: .8em 1.3em; font-size: .95rem; }
}
/* Keep the small uppercase labels readable on phones */
@media (max-width: 640px) {
  .hero .eyebrow { font-size: .72rem; }
}

/* On very short viewports (small phones, phone landscape) the dark topbar
   plus header consume ~145px of a ~390-570px screen, pushing the hero
   below the fold. The phone number stays available in the sticky bottom bar. */
@media (max-height: 620px) {
  .topbar { display: none; }
  .nav { min-height: 58px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1rem; }
}

/* Grid items default to min-width:auto, so long stat labels stop the 1fr
   columns shrinking and the strip overflows its container (seen at ~1024px).
   min-width:0 lets them shrink and wrap properly. */
.stats > .stat { min-width: 0; }
.stat__label, .stat__num { overflow-wrap: break-word; }

/* ---- Hero beats: hard guarantee only one is ever rendered --------------
   Opacity alone proved fragile (a stray `opacity:1` anywhere makes all
   three headlines stack). visibility can't be defeated by an opacity rule,
   and the delayed transition keeps the cross-fade smooth. */
.beat { transition: opacity .5s ease, transform .6s var(--ease-out), visibility 0s linear .5s; }
.beat:not(.is-active) { visibility: hidden; }
.beat.is-active { visibility: visible; transition-delay: 0s, 0s, 0s; }
@media (prefers-reduced-motion: reduce) {
  .beat { transition: none !important; }
  .beat:not(.is-active) { visibility: hidden !important; opacity: 0 !important; }
  .beat.is-active { visibility: visible !important; opacity: 1 !important; }
}
