/* WestHills Management — styles
   Tokens are taken from the Framer design (westhillsmanagement.framer.website). */

/* ---------- Fonts (self-hosted, latin subset, variable weight) ---------- */
@font-face {
  font-family: "Google Sans Flex";
  src: url("/assets/fonts/google-sans-flex-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --navy: #222f38;          /* buttons, dark headings */
  --navy-hover: #2f404c;
  --ink: #0a0a0a;           /* main headings */
  --text: #333333;          /* nav, strong body */
  --muted: #666666;         /* body copy */
  --subtle: #6b6b6b;        /* meta, captions (AA contrast on #f7f7f7) */
  --gold: #bf9b5a;          /* accent from the handyman logo — use sparingly */
  --bg: #ffffff;
  --cream: #fffefa;         /* warm section background */
  --surface: #f7f7f7;       /* cards, inputs */
  --line: rgba(18, 18, 18, 0.08);
  --white: #ffffff;

  /* Type */
  --font-display: "Google Sans Flex", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.4rem, 1.4rem + 4.2vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.8125rem;

  /* Space & shape */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);

  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

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

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--navy); color: var(--white); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 2.6rem + 4.5vw, 6.5rem); }
.section--cream { background: var(--cream); }
.section--surface { background: var(--surface); }

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: 6px 6px 6px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(45deg); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary .btn__icon { background: var(--white); color: var(--navy); }
.btn--primary:hover { background: var(--navy-hover); }

.btn--light { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.btn--light .btn__icon { background: var(--navy); color: var(--white); }
.btn--light:hover { background: var(--surface); }

.btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 0.875rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: var(--space-4);
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
  padding: 10px 10px 10px 24px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}

.site-header__logo img { width: 200px; height: auto; }

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

.site-nav__link {
  display: block;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav__link:hover { background: var(--surface); color: var(--ink); }
.site-nav__link[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.site-header__actions { display: flex; align-items: center; gap: var(--space-2); }

.icon-btn {
  display: none;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
}
.icon-btn svg { width: 20px; height: 20px; }

/* Mobile menu */
@media (max-width: 959px) {
  .site-header__logo img { width: 160px; }
  .site-header__bar { padding: 8px 8px 8px 18px; min-height: 64px; }
  .icon-btn { display: grid; }
  .site-header__cta { display: none; }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    padding: var(--space-3);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { padding: var(--space-4); font-size: 1.0625rem; border-radius: var(--radius-sm); }
  .site-nav__link[aria-current="page"] { box-shadow: none; background: var(--surface); border-radius: var(--radius-sm); }
  .site-nav__cta { display: block; margin-top: var(--space-2); }
  .site-nav__cta .btn { width: 100%; justify-content: space-between; }
}
@media (min-width: 960px) {
  .site-nav__cta { display: none; }
  .icon-btn--call { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 0;
  padding-block: var(--space-8) var(--space-6);
  background: var(--surface);
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--space-7);
}

.site-footer__logo img { width: 220px; }
.site-footer__tagline { margin-top: var(--space-4); max-width: 34ch; }

.site-footer__title {
  margin-bottom: var(--space-4);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.site-footer__list a { transition: color 0.2s ease; }
.site-footer__list a:hover { color: var(--ink); }

.contact-line { display: flex; align-items: center; gap: var(--space-3); }
.contact-line svg { width: 18px; height: 18px; flex: none; color: var(--navy); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  color: var(--subtle);
}
.site-footer__bottom a:hover { color: var(--ink); }

@media (max-width: 759px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- Shared bits ---------- */
.stack > * + * { margin-top: var(--space-5); }
.body-lg { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem); line-height: 1.6; }
.media { position: relative; overflow: hidden; border-radius: 24px; background: var(--surface); }
.media picture { display: block; height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.works-band__bg picture, .hero__bg picture { display: block; height: 100%; }

/* Header floats over full-bleed heroes */
.has-hero .site-header { position: fixed; left: 0; right: 0; }

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 100svh, 880px);
  padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8);
  overflow: hidden;
  background: #e9e8e4;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  /* keeps the headline readable where tools sit behind it on small screens */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 239, 235, 0.85) 0%, rgba(240, 239, 235, 0.55) 45%, rgba(240, 239, 235, 0) 70%);
}
.hero__content { max-width: 640px; }
.hero h1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 5rem); line-height: 1.02; letter-spacing: -0.025em; }
.hero__sub {
  margin-top: var(--space-5);
  max-width: 30ch;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero .btn { margin-top: var(--space-6); }

@media (max-width: 759px) {
  .hero { align-items: flex-end; min-height: 640px; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(240, 239, 235, 0) 0%, rgba(240, 239, 235, 0.75) 38%, rgba(240, 239, 235, 0.92) 100%);
  }
}

/* ---------- Home: intro + relationship ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.intro__text { max-width: 34rem; }
.intro__text .btn { margin-top: var(--space-6); }
.intro__divider { height: 1px; margin-block: var(--space-7); background: var(--line); }

.intro__media { position: relative; }
.intro__media .media { aspect-ratio: 522 / 560; }

.stat-card {
  position: absolute;
  right: clamp(-1rem, -2vw, 0rem);
  bottom: clamp(-2rem, -3vw, -1rem);
  min-width: 200px;
  padding: var(--space-5) var(--space-6);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.stat-card__value {
  font-family: var(--font-ui);
  font-size: clamp(2.5rem, 2rem + 1.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-card__label { margin-top: var(--space-2); font-family: var(--font-ui); font-weight: 500; color: var(--text); }

/* ---------- Home: testimonial ---------- */
.testimonial { align-items: stretch; }
.testimonial .media { aspect-ratio: 558 / 453; }
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: #ececec;
  border-radius: 18px;
}
.quote-card__mark { width: 40px; height: 40px; color: var(--gold); }
.quote-card blockquote { margin: var(--space-5) 0 0; }
.quote-card blockquote p {
  font-family: var(--font-ui);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.4;
  color: #4d4d4d;
}
.quote-card figcaption { margin-top: var(--space-5); font-family: var(--font-ui); font-size: 1.15rem; color: #4d4d4d; }

@media (max-width: 859px) {
  .split { grid-template-columns: 1fr; }
  .intro__media { margin-bottom: var(--space-6); }
  .stat-card { right: var(--space-4); bottom: calc(-1 * var(--space-6)); }
  .testimonial .media { order: 2; }
}

/* ---------- Section heading (centered) ---------- */
.section-head { max-width: 58rem; margin-inline: auto; text-align: center; }
.section-head h2 { text-transform: uppercase; letter-spacing: -0.015em; }
.section-head p { margin-top: var(--space-5); }
.section-head__intro { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 500; line-height: 1.45; }

.pill-label {
  display: inline-block;
  margin-bottom: var(--space-5);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.center-cta { display: flex; justify-content: center; margin-top: var(--space-7); }

/* ---------- Home: unlock potential ---------- */
.unlock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.5rem + 1.2vw, 1.25rem);
  margin-top: var(--space-7);
}
.unlock-card { position: relative; aspect-ratio: 376 / 210; }
.unlock-card__tag {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  padding: 9px 16px;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 759px) {
  .unlock__grid { grid-template-columns: 1fr; }
}

/* ---------- Home: working with WestHills ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6) 28px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(18, 18, 18, 0.04);
}
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--navy);
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-top: var(--space-7); font-size: 1.3125rem; }
.feature-card p { margin-top: var(--space-3); font-weight: 500; line-height: 1.5; }

@media (max-width: 959px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: var(--space-5); }
}

/* ---------- Home: works band ---------- */
.works-band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(360px, 45vw, 620px);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}
.works-band__bg { position: absolute; inset: 0; z-index: -1; }
.works-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.works-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10, 14, 18, 0.18); }

/* ---------- Home: FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro h2 { margin-top: var(--space-4); }
.faq__intro p { margin-top: var(--space-5); font-size: 1.2rem; max-width: 30rem; }
.faq__intro .btn { margin-top: var(--space-6); }

.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  transition: background-color 0.2s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  background: var(--navy);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--navy); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--white); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-item__icon { background: #ececec; }
.faq-item[open] summary:hover .faq-item__icon { background: var(--navy-hover); }
.faq-item__answer { padding: 0 3.5rem var(--space-5) 0; font-size: 1.125rem; line-height: 1.6; }

@media (max-width: 859px) {
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq-item__answer { padding-right: 0; }
}

/* ---------- Home: resources preview ---------- */
.resources__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-5); }
.resources__head h2 { margin-top: var(--space-4); }
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}
.article-card { position: relative; display: flex; flex-direction: column; }
.article-card .media { aspect-ratio: 383 / 393; border-radius: 20px; }
.article-card .media img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.article-card:hover .media img { transform: scale(1.05); }
.article-card__date {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}
.article-card h3 { margin-top: var(--space-5); font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.article-card__more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}
.article-card__more svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.article-card:hover .article-card__more svg { transform: translateX(4px); }
.article-card:focus-within { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 20px; }
.article-card h3 a:focus-visible { outline: none; }

@media (max-width: 859px) {
  .resources__grid { grid-template-columns: 1fr; max-width: 30rem; }
}

/* ---------- Contact block ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact h2 { margin-top: var(--space-4); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.75rem); font-weight: 600; color: var(--navy); line-height: 1.02; }
.contact__lead { margin-top: var(--space-5); max-width: 28rem; font-size: 1.15rem; }
.contact__rule { width: 48px; height: 2px; margin-block: var(--space-6); background: var(--gold); border-radius: 2px; }
.contact__lines { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); font-size: 1.05rem; color: var(--text); }
.contact__lines .contact-line svg { width: 20px; height: 20px; }
.contact__lines a:hover { color: var(--ink); }

.form-card {
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600; color: var(--text); }
.field > label > span { color: var(--gold); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a3a3a3; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--navy), 0 0 0 4px rgba(34, 47, 56, 0.08); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-2); }
.form__status { font-size: 0.9375rem; color: var(--text); }
.form__status[data-state="error"] { color: #9b2c2c; }
.form__status[data-state="ok"] { color: #2f6b3a; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

@media (max-width: 859px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 519px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- Motion (lightweight, CSS-first) ---------- */

/* Hero: headline lines rise in, background settles */
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero__bg img { animation: settle 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero .line > span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__sub { animation: rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero .btn { animation: rise 0.9s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Scroll reveal — only hidden when JS is running, so content never disappears without it */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Header gains depth once the page scrolls */
.site-header__bar { transition: box-shadow 0.3s ease, background-color 0.3s ease; }
.site-header.is-scrolled .site-header__bar { background: rgba(255, 255, 255, 0.97); box-shadow: 0 10px 30px rgba(15, 23, 30, 0.1), inset 0 0 0 1px var(--line); }

/* Cards lift on hover */
.feature-card { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 30, 0.09), inset 0 0 0 1px rgba(18, 18, 18, 0.04); }
.feature-card__icon { transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1); }
.feature-card:hover .feature-card__icon { background: var(--navy); color: var(--white); transform: rotate(-8deg) scale(1.06); }

.unlock-card img { transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.unlock-card:hover img { transform: scale(1.06); }
.unlock-card__tag { transition: transform 0.35s ease; }
.unlock-card:hover .unlock-card__tag { transform: translateY(-3px); }

.stat-card { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.intro__media:hover .stat-card { transform: translateY(-6px) rotate(-1.5deg); }

.btn--primary:hover, .btn--light:hover { transform: translateY(-1px); }

/* FAQ: smooth open where supported */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height 0.35s ease, content-visibility 0.35s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero .line > span, .hero__sub, .hero .btn { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .feature-card:hover, .intro__media:hover .stat-card { transform: none; }
}

@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
}

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 72vh, 640px);
  padding-block: calc(var(--header-h) + var(--space-8)) var(--space-8);
  overflow: hidden;
  isolation: isolate;
  background: #e7e6e3;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg picture { display: block; height: 100%; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: left center; animation: settle 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-hero__title {
  font-size: clamp(3rem, 1.4rem + 6.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.page-hero__title .line > span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-hero__kicker {
  margin-top: var(--space-5);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  animation: rise 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.page-hero__text { margin-top: var(--space-5); max-width: 40rem; font-size: 1.2rem; color: var(--text); animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-hero .btn { margin-top: var(--space-6); animation: rise 0.9s 0.36s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .page-hero__bg img, .page-hero__title .line > span, .page-hero__kicker, .page-hero__text, .page-hero .btn { animation: none; }
}

/* ---------- Services: service rows ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: stretch; }
.service-row + .service-row { margin-top: clamp(4rem, 2rem + 5vw, 5rem); }
.service-row__media { position: relative; aspect-ratio: 525 / 575; border-radius: 20px; }
.service-row__content { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-2); }
.service-row--reverse .service-row__media { order: 2; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a0a0a0;
}
.eyebrow b { color: var(--gold); font-weight: 600; }
.service-row h2 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3rem); }
.service-row__lead { margin-top: var(--space-4); font-size: 1.2rem; }

.checklist { display: grid; gap: 10px; margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 14px; font-size: 1.2rem; color: var(--text); }
.checklist__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.checklist__icon svg { width: 12px; height: 12px; }
.service-row .btn { margin-top: var(--space-6); align-self: flex-start; }

.stats-chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: var(--space-6);
  padding: 16px 24px;
  background: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  color: var(--white);
}
.stats-chip__value { font-family: var(--font-ui); font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.95); }
.stats-chip__label { margin-top: 6px; font-family: var(--font-ui); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.service-row__media img { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.service-row__media:hover img { transform: scale(1.04); }

@media (max-width: 859px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row--reverse .service-row__media { order: 0; }
  .service-row__content { justify-content: flex-start; }
  .stats-chip { left: 16px; bottom: 16px; }
}

/* ---------- Services: pricing ---------- */
.pricing { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, 0.8); isolation: isolate; }
.pricing::before {
  /* soft light in the corner so the dark block isn't flat */
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(90, 170, 255, 0.12), transparent 70%);
}
.pricing__top { display: flex; justify-content: space-between; gap: var(--space-4); font-family: var(--font-ui); font-size: 0.875rem; color: var(--white); }
.pricing__top .label { color: var(--white); }
.pricing h2 { margin-top: var(--space-5); text-align: center; color: var(--cream); }
.price-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 64rem;
  margin: var(--space-7) auto 0;
  padding: 0;
  list-style: none;
}
.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}
.price-pill:hover { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.price-pill__name { font-size: 1.2rem; color: var(--cream); }
.price-pill__price { font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700; color: #5aaaff; white-space: nowrap; }
.pricing__note { max-width: 64rem; margin: var(--space-4) auto 0; text-align: center; font-size: 0.75rem; line-height: 1.6; }
.pricing__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pricing__cta p { font-family: var(--font-ui); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem); font-weight: 500; color: var(--white); }

@media (max-width: 599px) {
  .price-pill { width: 100%; justify-content: space-between; }
}

/* ---------- Sub-page hero: centered variant (About, Gallery) ---------- */
.page-hero--center { align-items: center; min-height: clamp(460px, 62vh, 620px); }
.page-hero--center .page-hero__bg img { object-position: right center; }
.page-hero--center .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(236, 236, 234, 0.7) 0%, rgba(236, 236, 234, 0.2) 45%, rgba(236, 236, 234, 0) 65%);
}
@media (max-width: 759px) {
  .page-hero--center .page-hero__bg img { object-position: 78% center; }
  .page-hero--center .page-hero__bg::after { background: linear-gradient(180deg, rgba(236, 236, 234, 0.2) 0%, rgba(236, 236, 234, 0.85) 60%); }
  .page-hero--center { align-items: flex-end; }
}

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1fr minmax(0, 22rem); gap: var(--space-7); align-items: end; }
.about-intro h2 {
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--navy);
}
.about-intro h2 em { font-style: normal; color: var(--gold); }
.about-intro p { font-size: 1.2rem; }
.about-intro .btn { margin-top: var(--space-5); }

.story { margin-top: clamp(4rem, 2rem + 5vw, 6rem); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.story__text { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
.story__text p {
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--muted);
}
/* scroll-lit words (JS wraps words in .w) */
.js .story__text .w { color: #767676; transition: color 0.35s ease; }
.js .story__text .w.is-lit { color: #161616; }

.signature { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-7); }
.signature::before { content: ""; width: 48px; height: 2px; border-radius: 2px; background: var(--gold); }
.signature p { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); font-weight: 500; color: var(--muted); }
.signature strong { color: var(--ink); font-weight: 600; }

@media (max-width: 759px) {
  .about-intro { grid-template-columns: 1fr; gap: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .js .story__text .w { color: #3a3a3a; transition: none; }
}

/* ---------- Gallery ---------- */
.section-intro h2 { margin-top: var(--space-4); color: var(--navy); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.8vw, 2.5rem); }
.section-intro p { margin-top: var(--space-3); font-size: 1.1rem; color: var(--subtle); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 361 / 331;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  cursor: zoom-in;
}
.gallery-item picture { display: block; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 18, 0) 55%, rgba(10, 14, 18, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.gallery-item__zoom svg { width: 18px; height: 18px; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item:hover .gallery-item__zoom, .gallery-item:focus-visible .gallery-item__zoom { opacity: 1; transform: none; }

@media (max-width: 859px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .gallery-grid { grid-template-columns: 1fr; } }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--surface);
}
.cta-row h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; color: var(--navy); }

/* Lightbox */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 11, 14, 0.9);
  color: var(--white);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(8, 11, 14, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 0.3s ease both; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-5); font-family: var(--font-ui); font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 0 clamp(3.5rem, 7vw, 6rem); }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.lightbox__img.is-loading { opacity: 0; transform: scale(0.98); }
.lightbox__caption { padding: var(--space-4) var(--space-5) var(--space-5); text-align: center; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
.lb-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn--prev, .lb-btn--next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-btn--prev { left: var(--space-4); }
.lb-btn--next { right: var(--space-4); }
.lb-btn--prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-btn--next:hover { transform: translateY(-50%) translateX(2px); }
@media (max-width: 759px) {
  .lb-btn--prev, .lb-btn--next { top: auto; bottom: -64px; transform: none; }
  .lb-btn--prev:hover, .lb-btn--next:hover { transform: none; }
  .lightbox__stage { padding: 0 var(--space-3); overflow: visible; }
  .lightbox__img { max-height: calc(100dvh - 250px); }
  .lightbox__caption { padding-top: 76px; }
}
body.lb-open { overflow: hidden; }

/* ---------- Page intro (no image hero) ---------- */
.page-intro { padding-block: calc(var(--space-8) + 8px) var(--space-6); }
.page-intro .label { margin-top: var(--space-5); }
.page-intro__title { margin-top: var(--space-4); font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem); line-height: 1; letter-spacing: -0.03em; }
.page-intro__title .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.page-intro__title .line > span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.page-intro__title .line:nth-child(2) > span { animation-delay: 0.1s; color: var(--muted); }
.page-intro__text { margin-top: var(--space-5); max-width: 40rem; font-size: 1.2rem; animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* Resources: first card spans wide on large screens */
.article-card__excerpt { display: none; }
.resources__grid--all .article-card__excerpt { display: block; margin-top: var(--space-3); font-size: 1rem; line-height: 1.55; }

@media (min-width: 860px) {
  .resources__grid--all > .article-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr auto auto 1fr; column-gap: var(--space-7); }
  .resources__grid--all > .article-card:first-child .media { grid-column: 1; grid-row: 1 / -1; aspect-ratio: 16 / 10; }
  .resources__grid--all > .article-card:first-child h3 { grid-column: 2; grid-row: 2; }
  .resources__grid--all > .article-card:first-child .article-card__excerpt { grid-column: 2; grid-row: 3; margin-top: var(--space-4); font-size: 1.125rem; }
  .resources__grid--all > .article-card:first-child .article-card__more { grid-column: 2; grid-row: 4; align-self: start; }
  .resources__grid--all > .article-card:first-child .article-card__date { top: var(--space-5); left: var(--space-5); }
  .resources__grid--all > .article-card:first-child h3 { margin-top: 0; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.12; }
  .resources__grid--all > .article-card:first-child .article-card__more { margin-top: var(--space-5); font-size: 1rem; }
  .resources__grid--all { row-gap: var(--space-8); }
}

/* ---------- Article page ---------- */
.read-progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.article__head { padding-top: calc(var(--space-8) + 8px); max-width: calc(52rem + var(--gutter) * 2); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600; color: var(--subtle); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 14px; height: 14px; }
.article__title { margin-top: var(--space-5); font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.75rem); line-height: 1.06; letter-spacing: -0.025em; }
.article__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.article__title .line > span { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 500; color: var(--subtle); animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.article__cover { max-width: 1100px; margin: var(--space-7) auto 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); animation: rise 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

.prose { max-width: 44rem; margin: var(--space-8) auto 0; font-size: 1.1875rem; line-height: 1.75; color: #4a4a4a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem); line-height: 1.2; color: var(--ink); scroll-margin-top: 120px; }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; color: var(--ink); }
.prose h2 + p, .prose h3 + p { margin-top: 0.6em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(191, 155, 90, 0.7); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.prose a:hover { text-decoration-color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.6em; }
.prose li + li { margin-top: 0.55em; }
.prose ul > li::before { content: ""; position: absolute; left: 0.3em; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; padding-left: 2.2em; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0.2em; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-ui); font-size: 0.8em; font-weight: 700; line-height: 1; }
.prose__lead { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem); line-height: 1.6; color: var(--text); }
.prose__note { margin-top: 2.2em !important; padding-top: 1.4em; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--muted); }

.callout { margin-top: 2em !important; padding: 1.4em 1.6em; border-radius: var(--radius); background: var(--surface); box-shadow: inset 3px 0 0 var(--navy); }
.callout--warning { background: #fbf6ec; box-shadow: inset 3px 0 0 var(--gold); }
.callout__title { font-family: var(--font-ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.callout > * + * { margin-top: 0.7em; }
.callout ul { margin-top: 0.8em; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: 1.4em !important; }
.compare > div { padding: 1.3em 1.4em; border-radius: var(--radius); background: var(--surface); }
.compare > div:last-child { background: var(--navy); color: rgba(255, 255, 255, 0.85); }
.compare > div:last-child .compare__title { color: var(--white); }
.compare > div:last-child li::before { background: #5aaaff; }
.compare__title { font-family: var(--font-ui); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.compare ul { margin-top: 0.8em; font-size: 1.05rem; }
@media (max-width: 599px) { .compare { grid-template-columns: 1fr; } }

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  max-width: 44rem;
  margin: var(--space-8) auto var(--space-9);
  padding: var(--space-6);
  border-radius: var(--radius);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(15, 23, 30, 0.15);
}
.article-cta > div { flex: 1 1 18rem; }
.article-cta__title { font-family: var(--font-ui); font-size: 1.35rem; font-weight: 600; color: var(--white); }
.article-cta p + p { margin-top: 6px; }
.article-cta a:not(.btn) { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.article-cta .btn--primary { background: var(--white); color: var(--navy); }
.article-cta .btn--primary .btn__icon { background: var(--navy); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .page-intro__title .line > span, .page-intro__text, .article__title .line > span, .article__meta, .article__cover { animation: none; }
}

/* Gallery: illustrated hero on warm paper */
.page-hero--illustration { background: #f2f1ed; }
.page-hero--illustration .page-hero__bg img { object-fit: contain; object-position: right center; animation-duration: 2.6s; }
@media (min-width: 760px) { .page-hero--illustration { min-height: clamp(520px, 70vh, 700px); } }
.page-hero--illustration .page-hero__bg::after { background: linear-gradient(90deg, rgba(242, 241, 237, 0.55) 0%, rgba(242, 241, 237, 0) 40%); }
@media (max-width: 759px) {
  .page-hero--illustration { min-height: 620px; }
  .page-hero--illustration .page-hero__bg img { object-position: center top; }
  .page-hero--illustration .page-hero__bg::after { background: linear-gradient(180deg, rgba(242, 241, 237, 0) 45%, rgba(242, 241, 237, 0.6) 100%); }
}

/* ---------- Form legal note ---------- */
.form__legal { flex-basis: 100%; font-size: 0.8125rem; color: var(--subtle); }
.form__legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal page ---------- */
.page-legal .page-intro__text { color: var(--subtle); font-size: 1rem; }
.prose--legal { margin-top: 0; max-width: 46rem; font-size: 1.0625rem; }
.prose--legal h2 { font-size: 1.35rem; margin-top: 2em; }

/* ---------- 404 ---------- */
.not-found { display: grid; place-items: center; min-height: 70vh; padding-block: var(--space-8); text-align: center; }
.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 14vw, 12rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--navy);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.not-found__code span { display: inline-block; color: var(--gold); animation: wobble 2.8s 1s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 8% { transform: rotate(-14deg); } 16% { transform: rotate(10deg); } 24% { transform: rotate(-5deg); } 32% { transform: rotate(0); } }
.not-found__title { margin-top: var(--space-5); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); animation: rise 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.not-found__text { max-width: 32rem; margin: var(--space-4) auto 0; font-size: 1.15rem; animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); animation: rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); margin: var(--space-7) 0 0; padding: 0; list-style: none; font-family: var(--font-ui); font-weight: 600; }
.not-found__links a { color: var(--text); border-bottom: 2px solid transparent; transition: border-color 0.2s ease, color 0.2s ease; }
.not-found__links a:hover { color: var(--ink); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .not-found__code, .not-found__code span, .not-found__title, .not-found__text, .not-found__actions { animation: none; }
}

/* ---------- Service area map ---------- */
.service-area { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.service-area__text h2 { margin-top: var(--space-4); }
.service-area__text > p { margin-top: var(--space-4); font-size: 1.15rem; }
.service-area__text .btn { margin-top: var(--space-6); }

.area-list { display: grid; gap: 10px; margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.area-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: default;
  transition: box-shadow 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.area-item svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.area-item:hover, .area-item:focus-visible, .area-item.is-active { transform: translateX(4px); box-shadow: inset 0 0 0 1.5px var(--navy), 0 8px 20px rgba(15, 23, 30, 0.06); }

.service-map { margin: 0; }
.service-map__frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #eaf0f3 0%, #e3eaee 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(15, 23, 30, 0.08), inset 0 0 0 1px var(--line);
}
.service-map__svg { display: block; width: 100%; height: auto; }
.map-water { font-family: var(--font-ui); font-size: 19px; font-style: italic; letter-spacing: 0.12em; fill: #9fb0ba; }
.map-county { fill: #e8e6e1; stroke: #fff; stroke-width: 2; stroke-linejoin: round; transition: fill 0.3s ease; }
.map-county--served { fill: var(--navy); cursor: pointer; transition: fill 0.3s ease, filter 0.3s ease; }
.map-county--served:hover, .map-county--served.is-active { fill: #2f4250; filter: drop-shadow(0 6px 10px rgba(15, 23, 30, 0.25)); }
.map-label { pointer-events: none; }
.map-label text, text.map-label { font-family: var(--font-ui); font-size: 20px; font-weight: 600; }
.map-label--served text { font-size: 22px; }
.map-label--context { fill: #8a8a8a; font-weight: 500 !important; }
.map-label--served text { fill: var(--white); paint-order: stroke; stroke: rgba(34, 47, 56, 0.6); stroke-width: 3px; }
.map-pin { fill: var(--gold); stroke: var(--white); stroke-width: 2.5; }
.map-pin-pulse { fill: var(--gold); opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.4s ease-out infinite; }
@keyframes map-pulse { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.map-label--served:nth-of-type(odd) .map-pin-pulse { animation-delay: 0.8s; }

/* entrance: served counties fill in one after another when the map appears */
.js .service-map .map-county--served { opacity: 0; transform: translateY(8px); transform-box: fill-box; transform-origin: center; }
.js .service-map.is-visible .map-county--served { opacity: 1; transform: none; transition: opacity 0.7s ease calc(0.35s + var(--i) * 0.18s), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.35s + var(--i) * 0.18s), fill 0.3s ease, filter 0.3s ease; }
.js .service-map .map-labels { opacity: 0; transition: opacity 0.6s ease 1s; }
.js .service-map.is-visible .map-labels { opacity: 1; }

.service-map__legend { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-4); font-family: var(--font-ui); font-size: 0.875rem; color: var(--muted); }
.service-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: #e8e6e1; box-shadow: inset 0 0 0 1px var(--line); }
.swatch--served { background: var(--navy); }

@media (max-width: 859px) {
  .service-area { grid-template-columns: 1fr; }
  .map-label text, text.map-label { font-size: 28px; }
  .map-label--served text { font-size: 30px; }
  .map-water { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin-pulse { animation: none; opacity: 0; }
  .js .service-map .map-county--served, .js .service-map .map-labels { opacity: 1; transform: none; transition: none; }
}

.form__turnstile:empty { display: none; }
.form__turnstile { min-height: 65px; }

/* ---------- Form: service chips & county segments ---------- */
.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 10px; padding: 0; font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600; color: var(--text); }
.choice__hint { font-weight: 500; font-size: 0.8125rem; color: var(--subtle); }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input, .segment input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip__body {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 38px 10px 12px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  user-select: none;
}
.chip__body > svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: color 0.2s ease, transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.chip__check {
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(18, 18, 18, 0.18);
  color: var(--white);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.chip__check svg { width: 10px; height: 10px; opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.chip:hover .chip__body { box-shadow: inset 0 0 0 1px rgba(34, 47, 56, 0.35); transform: translateY(-1px); }
.chip input:focus-visible + .chip__body { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip input:checked + .chip__body { background: #f3f5f7; box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--ink); }
.chip input:checked + .chip__body > svg { color: var(--navy); transform: rotate(-8deg) scale(1.08); }
.chip input:checked + .chip__body .chip__check { background: var(--navy); box-shadow: none; }
.chip input:checked + .chip__body .chip__check svg { opacity: 1; transform: none; }

.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: #eceae6; }
.segment { position: relative; display: block; cursor: pointer; }
.segment span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 6px 8px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.segment:hover span { color: var(--ink); }
.segment input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.segment input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(15, 23, 30, 0.08); }

@media (max-width: 379px) {
  .chips { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .chip__body, .chip__body > svg, .chip__check svg { transition: none; }
}

/* ---------- SEO support text ---------- */
.site-footer__area { margin-top: var(--space-3); max-width: 36ch; font-size: 0.8125rem; line-height: 1.5; color: var(--subtle); }
.pricing__intro { max-width: 40rem; margin: var(--space-4) auto 0; text-align: center; font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); }

.area-strip { padding-block: var(--space-6); border-block: 1px solid var(--line); background: var(--cream); }
.area-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); }
.area-strip__title { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--text); }
.area-strip__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.area-strip__list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; color: var(--ink);
}
.area-strip__list svg { width: 16px; height: 16px; color: var(--gold); }
.area-strip__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; color: var(--navy); }
.area-strip__link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.area-strip__link:hover svg { transform: translateX(4px); }
@media (max-width: 759px) {
  .area-strip { padding-block: var(--space-7); }
  .area-strip__inner { flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); }
  .area-strip__title { max-width: 18ch; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
  .area-strip__list { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 22rem; }
  .area-strip__list li {
    justify-content: center; gap: 12px; min-height: 64px; padding: 14px 20px; border-radius: 18px;
    font-size: 1.2rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 22px rgba(15, 23, 30, 0.06), inset 0 0 0 1px var(--line);
  }
  .area-strip__list svg { width: 22px; height: 22px; }
  .area-strip__link { font-size: 1.05rem; }
}
@media (min-width: 760px) {
  .area-strip__list li { padding: 11px 18px; font-size: 1rem; }
  .area-strip__list svg { width: 18px; height: 18px; }
}

.prose__related { margin-top: 1.6em !important; padding: 0.9em 1.1em; border-radius: 12px; background: var(--surface); font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.prose__related a { font-weight: 600; }

.cta-row__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Social links (footer only) ---------- */
.site-footer__title--follow { margin-top: var(--space-6); }
.social-links { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social-link {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.25s ease;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { background: var(--navy); color: var(--white); transform: translateY(-3px) rotate(-4deg); box-shadow: 0 8px 18px rgba(15, 23, 30, 0.15); }
.social-link--whatsapp:hover { background: #25d366; color: var(--white); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 55;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.wa-float__icon svg { width: 30px; height: 30px; }
.wa-float__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: wa-ring 2.8s ease-out infinite;
}
@keyframes wa-ring { 0% { transform: scale(1); opacity: 0.6; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float__label {
  padding: 9px 14px; border-radius: var(--radius-pill); background: var(--white); color: var(--ink);
  font-family: var(--font-ui); font-size: 0.9375rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(15, 23, 30, 0.14), inset 0 0 0 1px var(--line);
  opacity: 0; transform: translateX(8px); transition: opacity 0.25s ease, transform 0.3s ease;
}
.wa-float:hover .wa-float__icon, .wa-float:focus-visible .wa-float__icon { transform: scale(1.07) rotate(-6deg); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
body.lb-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 759px) {
  .wa-float__icon { width: 54px; height: 54px; }
  .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float__icon::after { animation: none; display: none; }
}
@media print { .wa-float { display: none; } }
/* bottom line centered (Vincent 2026-09-17); symmetric side padding keeps it clear of the floating WhatsApp button */
.site-footer__bottom { justify-content: center; align-items: center; column-gap: var(--space-5); padding-inline: 84px; text-align: center; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 759px) {
  .site-footer__bottom { flex-direction: column; row-gap: var(--space-2); padding-inline: 0; padding-bottom: 72px; }
}

/* ---------- Home: unlock (editorial split header) ---------- */
.unlock { padding-top: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.unlock__head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 4vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.unlock__title .pill-label { margin-bottom: var(--space-5); }
.unlock__title h2 {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.unlock__copy { max-width: 34rem; }
.unlock__question {
  position: relative;
  padding-left: var(--space-5);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.unlock__question::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 3px; border-radius: 3px; background: var(--gold); }
.unlock__copy > p:not(.unlock__question) { margin-top: var(--space-4); font-size: 1.1rem; }
.unlock__copy .btn { margin-top: var(--space-6); }
.unlock .unlock__grid { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

@media (max-width: 859px) {
  .unlock__head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Home: services showcase (Apple-style rail) ---------- */
.svc-showcase { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(3rem, 2rem + 3vw, 4.5rem); overflow: hidden; }
.svc-showcase__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5); }
.svc-showcase__eyebrow { font-family: var(--font-ui); font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem); font-weight: 600; color: #8a6a2e; /* darker gold: 5:1 contrast on white (AA) */ }
.svc-showcase__title { margin-top: var(--space-2); font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; }
.svc-showcase__nav { display: flex; align-items: center; gap: var(--space-5); }
.svc-showcase__link { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 600; color: var(--navy); }
.svc-showcase__link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.svc-showcase__link:hover svg { transform: translateX(3px); }
.svc-paddles { display: flex; gap: 10px; }
.svc-paddle {
  display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #ececef; color: var(--ink);
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.svc-paddle svg { width: 18px; height: 18px; }
.svc-paddle:hover:not(:disabled) { background: #e0e0e5; transform: scale(1.05); }
.svc-paddle:disabled { opacity: 0.35; cursor: default; }

.svc-rail {
  --rail-pad: max(var(--gutter), calc((100% - var(--container)) / 2));
  margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
  cursor: grab;
}
.svc-rail::-webkit-scrollbar { display: none; }
.svc-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.svc-track { display: flex; gap: clamp(12px, 0.6rem + 0.6vw, 20px); width: max-content; margin: 0; padding: 6px var(--rail-pad) 24px; list-style: none; }
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: clamp(200px, 42vw, 256px);
  aspect-ratio: 1 / 1.12;
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  border-radius: 28px;
  background: #f5f5f7;
  scroll-snap-align: start;
  user-select: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease, background-color 0.4s ease;
}
.svc-card__icon {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px;
  background: var(--white); color: var(--navy);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.svc-card__icon svg { width: 38px; height: 38px; }
.svc-card__tag { margin-top: auto; font-family: var(--font-ui); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--subtle); }
.svc-card__name { margin-top: 6px; font-family: var(--font-display); font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
@media (hover: hover) {
  .svc-card:hover { transform: translateY(-6px) scale(1.015); background: #fff; box-shadow: 0 24px 48px rgba(15, 23, 30, 0.1), inset 0 0 0 1px var(--line); }
  .svc-card:hover .svc-card__icon { background: var(--navy); color: var(--white); transform: rotate(-6deg) scale(1.06); }
}

.svc-progress { height: 3px; margin-top: 4px; border-radius: 3px; background: #ececef; overflow: hidden; }
.svc-progress span { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--navy); transform-origin: 0 50%; transform: scaleX(var(--p, 0.1)); transition: transform 0.35s ease; }

/* entrance: cards glide in from the right one after another */
.js .svc-showcase .svc-card { opacity: 0; transform: translateX(40px); }
.js .svc-showcase.is-in .svc-card {
  opacity: 1; transform: none;
  transition: opacity 0.8s ease calc(min(var(--i), 8) * 0.07s), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(min(var(--i), 8) * 0.07s), box-shadow 0.5s ease, background-color 0.4s ease;
}

@media (max-width: 599px) {
  .svc-paddles { display: none; }
  .svc-showcase__head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .js .svc-showcase .svc-card { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile: stacked hero (image fully visible, text below) ---------- */
@media (max-width: 759px) {
  .page-hero--stack { display: block; min-height: 0; padding: 0 0 var(--space-8); background: var(--hero-fade, #ecebe8); }
  .page-hero--stack .page-hero__bg { position: relative; inset: auto; z-index: 0; height: min(112vw, 500px); }
  .page-hero--stack .page-hero__bg img { object-position: 78% 60%; }
  .page-hero--stack .page-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 72%, var(--hero-fade, #ecebe8) 100%);
  }
  .page-hero--stack > .container { position: relative; margin-top: -8px; }
}

/* ---------- Header call button: draws attention on phones ---------- */
@media (max-width: 959px) {
  .icon-btn--call { position: relative; background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(34, 47, 56, 0.28); }
  .icon-btn--call::before,
  .icon-btn--call::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--gold); opacity: 0; pointer-events: none;
    animation: call-ring 2.4s ease-out infinite;
  }
  .icon-btn--call::after { animation-delay: 1.2s; }
  .icon-btn--call svg { animation: call-shake 4.8s ease-in-out 1.5s infinite; transform-origin: 50% 60%; }
}
@keyframes call-ring { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes call-shake {
  0%, 82%, 100% { transform: rotate(0); }
  84% { transform: rotate(-16deg); } 86% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); }
  90% { transform: rotate(10deg); } 92% { transform: rotate(-6deg); } 94% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .icon-btn--call::before, .icon-btn--call::after, .icon-btn--call svg { animation: none; }
}

/* Paper-style illustrated heroes (sketch → real series) */
.page-hero--paper { --hero-fade: #c6c6c8; background: #c6c6c8; }
.page-hero--paper .page-hero__bg img { object-fit: cover; object-position: right center; }
.page-hero--paper .page-hero__bg::after { background: none; }
@media (min-width: 760px) { .page-hero--paper { min-height: clamp(520px, 72vh, 720px); } }
@media (max-width: 759px) {
  .page-hero--paper .page-hero__bg img { object-position: 60% 40%; }
  .page-hero--paper .page-hero__bg::after { background: linear-gradient(180deg, transparent 70%, var(--hero-fade) 100%); }
}

/* ---------- Sketch → real hero series ---------- */
/* Home hero on blueprint paper: no light wash needed, image anchored right */
.hero--paper { background: #c6c6c8; }
.hero--paper .hero__bg img { object-position: right center; animation: none; }
.hero--paper .hero__bg::after { background: linear-gradient(90deg, rgba(198, 198, 200, 0.92) 0%, rgba(198, 198, 200, 0.78) 34%, rgba(198, 198, 200, 0) 58%); }
@media (max-width: 759px) {
  .hero--paper { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 0 0 var(--space-8); }
  .hero--paper .hero__bg { position: relative; inset: auto; z-index: 0; height: min(112vw, 500px); }
  .hero--paper .hero__bg img { object-position: 60% 40%; }
  .hero--paper .hero__bg::after { background: linear-gradient(180deg, transparent 72%, #c6c6c8 100%); }
  .hero--paper > .container { position: relative; margin-top: -8px; }
}
/* Resources intro inside a paper hero */
.page-hero--intro .page-intro__title { margin-top: var(--space-4); }
.page-hero--intro .label { margin-top: 0; }
.page-hero--intro .page-intro__text { color: var(--text); } /* AA contrast on the paper background, mobile too */
@media (min-width: 760px) {
  .page-hero--paper .page-hero__bg::after { background: linear-gradient(90deg, rgba(198, 198, 200, 0.92) 0%, rgba(198, 198, 200, 0.78) 34%, rgba(198, 198, 200, 0) 58%); }
  .page-hero--paper .page-hero__text, .page-hero--paper .page-hero__kicker { max-width: 34rem; }
  .page-hero--intro .page-intro__text { max-width: 30rem; }
}

/* ---------- Fix: thin line under stacked hero images during the entrance animation ----------
   The image starts slightly zoomed; its bottom edge used to poke out below the fade.
   Clip it to its box and let it settle from the top down. */
.page-hero__bg img, .hero__bg img { transform-origin: 50% 0; }
@media (max-width: 759px) {
  .page-hero--stack .page-hero__bg, .hero--paper .hero__bg { overflow: hidden; }
}

/* ---------- Compact mobile layout (all pages; principle approved on Gallery) ---------- */
@media (max-width: 759px) {
  /* stacked sub-page heroes */
  .page-hero--stack { padding-bottom: var(--space-6); }
  .page-hero--stack .page-hero__bg { height: min(84vw, 400px); }
  .page-hero--stack.page-hero--paper .page-hero__bg img { object-position: 55% 30%; }
  .page-hero--stack > .container { margin-top: -28px; }
  .page-hero .btn { margin-top: var(--space-4); }
  .page-hero__kicker, .page-hero__text { margin-top: var(--space-3); }

  /* homepage hero */
  .hero--paper { padding-bottom: var(--space-6); }
  .hero--paper .hero__bg { height: min(84vw, 400px); }
  .hero--paper .hero__bg img { object-position: 55% 30%; }
  .hero--paper > .container { margin-top: -28px; }
  .hero--paper .hero__sub { margin-top: var(--space-3); }
  .hero--paper .btn { margin-top: var(--space-4); }

  /* section rhythm (contact/form block left as is) */
  main > .section:not(#contact) { padding-block: 2.5rem; }
  .svc-showcase { padding-block: 2.5rem 2rem; }
  .area-strip { padding-block: var(--space-6); }
  .works-band { min-height: 260px; }
  .section-head p, .section-intro p { margin-top: var(--space-2); }
  .unlock__head { padding-bottom: var(--space-5); }
  .unlock .unlock__grid, .features__grid, .resources__grid, .gallery-grid { margin-top: var(--space-5); }
  .intro__divider { margin-block: var(--space-5); }
  .service-row + .service-row { margin-top: 2.5rem; }
  .service-row { gap: var(--space-5); }
  .price-list { margin-top: var(--space-5); }
  .pricing__cta { margin-top: var(--space-6); }
  .story { margin-top: 2.5rem; padding-top: var(--space-5); }
  .story__text { gap: var(--space-4); margin-top: var(--space-4); }
  .signature { margin-top: var(--space-5); }
  .cta-row { padding: var(--space-5); gap: var(--space-4); }
  .faq-item summary { padding-block: var(--space-4); }
}
@media (max-width: 479px) {
  .page-gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .page-gallery .gallery-item { border-radius: 10px; }
  .page-gallery .gallery-item__zoom { display: none; }
}

/* ---------- Header bar: stronger definition on light pages, inset on phones ---------- */
.site-header__bar {
  box-shadow: 0 1px 2px rgba(15, 23, 30, 0.06), 0 10px 30px rgba(15, 23, 30, 0.12), inset 0 0 0 1px rgba(18, 18, 18, 0.1);
}
.site-header.is-scrolled .site-header__bar {
  box-shadow: 0 2px 4px rgba(15, 23, 30, 0.06), 0 14px 36px rgba(15, 23, 30, 0.16), inset 0 0 0 1px rgba(18, 18, 18, 0.12);
}
@media (max-width: 759px) {
  .site-header > .container { padding-inline: calc(var(--gutter) + 6px); }
}

/* ---------- Footer: faint technical-drawing background + brand-tinted social buttons (2026-09-17) ---------- */
.site-footer {
  background-color: var(--surface);
  background-image: linear-gradient(rgba(247, 247, 247, 0.35), rgba(247, 247, 247, 0.35)), url("/assets/img/footer-bg-mobile-v1-800.webp");
  background-size: cover; background-position: center top;
}
@media (min-width: 480px) and (max-width: 759px) {
  .site-footer { background-image: linear-gradient(rgba(247, 247, 247, 0.35), rgba(247, 247, 247, 0.35)), url("/assets/img/footer-bg-mobile-v1-1200.webp"); }
}
@media (min-width: 760px) {
  .site-footer { background-image: linear-gradient(rgba(247, 247, 247, 0.35), rgba(247, 247, 247, 0.35)), url("/assets/img/footer-bg-v1-1600.webp"); }
}
@media (min-width: 1440px), (min-width: 760px) and (min-resolution: 2dppx) {
  .site-footer { background-image: linear-gradient(rgba(247, 247, 247, 0.35), rgba(247, 247, 247, 0.35)), url("/assets/img/footer-bg-v1-2400.webp"); }
}

.social-link { --brand: var(--navy); background: color-mix(in srgb, var(--brand) 14%, #fff); color: color-mix(in srgb, var(--brand) 85%, #000); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent); }
.social-link--facebook { --brand: #1877f2; }
.social-link--instagram { --brand: #dd2a7b; background: linear-gradient(135deg, color-mix(in srgb, #f58529 16%, #fff), color-mix(in srgb, #dd2a7b 16%, #fff) 55%, color-mix(in srgb, #8134af 16%, #fff)); }
.social-link--nextdoor { --brand: #4a9a1c; }
.social-link--whatsapp { --brand: #1faa55; }
.social-link:hover, .social-link--whatsapp:hover { background: var(--brand); color: var(--white); box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 30%, transparent); }
.social-link--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af); }

@media (max-width: 759px) {
  .social-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .social-link { width: 100%; height: 60px; border-radius: 16px; }
  .social-link svg { width: 26px; height: 26px; }
}

/* ---------- Real project photos inside articles (three stages of one job) ---------- */
.work-steps { margin-top: 2.2em; }
.work-steps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prose .work-steps__row > li { margin-top: 0; padding-left: 0; }
.prose .work-steps__row > li::before {
  top: 10px; left: 10px; width: 1.7em; height: 1.7em; font-size: 0.72em;
  box-shadow: 0 2px 8px rgba(15, 23, 30, 0.35);
}
.work-steps__row img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--surface); }
.work-steps__label {
  display: block; margin-top: 8px;
  font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.work-steps figcaption { margin-top: 14px; font-size: 1rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 599px) {
  .work-steps__row {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .work-steps__row::-webkit-scrollbar { display: none; }
  .work-steps__row > li { flex: 0 0 78%; scroll-snap-align: start; }
}
