/* ============================================================================
   Avia Property Services — site stylesheet
   Brand Guidelines v1 (May 2026)
   Mobile-first. Hand-rolled — no framework dependency.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@500,600,700&display=swap');

/* ---------- 01 · Tokens (CSS variables) -------------------------------- */
:root {
  /* Palette */
  --navy: #0F2A44;
  --navy-deep: #0A1F33;
  --stone: #D4B896;
  --stone-soft: #E8D9BD;
  --green: #2B7A4B;
  --green-deep: #1F5A37;
  --bone: #FAF8F4;
  --bone-warm: #F4EFE6;
  --ink: #1A1A1A;
  --grey: #6B6F75;
  --grey-soft: #9CA0A6;
  --faint: #E8E2D6;
  --hairline: #D9D2C2;

  /* Type */
  --font-heading: "General Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: 24px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 280ms;
  --t-slow: 480ms;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---------- 02 · Reset + base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--navy); color: var(--bone); }

/* ---------- 03 · Typography -------------------------------------------- */
.h1, .h2, .h3, .h4, h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0;
  color: var(--navy);
}
.h1, h1 {
  font-size: clamp(36px, 6.5vw, 64px);
  letter-spacing: -0.012em;
  line-height: 1.02;
}
.h2, h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.008em;
  line-height: 1.1;
}
.h3, h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.003em;
  line-height: 1.2;
}
.h4, h4 {
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 62ch;
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 var(--space-4);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

.meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(56px, 9vw, 96px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--navy);
}
.stat-number .unit {
  font-size: 0.4em;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0;
}

/* Pull-quote */
blockquote.pull {
  margin: 0;
  padding: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
}
blockquote.pull cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- 04 · Layout utilities -------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
}
.section-tight { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.section-loose { padding-top: var(--space-10); padding-bottom: var(--space-10); }
@media (max-width: 720px) {
  .section, .section-loose { padding-top: var(--space-7); padding-bottom: var(--space-7); }
}

.section-navy { background: var(--navy); color: var(--bone); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--bone); }
.section-navy .eyebrow { color: var(--stone); }
.section-navy .meta { color: var(--stone-soft); }
.section-navy .stat-number { color: var(--bone); }
.section-navy blockquote.pull { color: var(--bone); }

.section-stone { background: var(--bone-warm); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
}

.split {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .split-wide-img { grid-template-columns: 1.2fr 1fr; }
  .split-wide-text { grid-template-columns: 1fr 1.2fr; }
}

/* ---------- 05 · Header + nav ------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--faint); }
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 14px 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand-lockup svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}
.brand-lockup .word {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--navy);
  line-height: 1;
}
.primary-nav {
  display: none;
}
.primary-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--navy); }

.header-cta {
  display: none;
}

@media (min-width: 980px) {
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
}

/* Mobile hamburger */
.menu-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 980px) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: var(--bone);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 80px 28px 40px;
  transform: translateY(-100%);
  transition: transform var(--t-slow) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav .close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 0;
  color: var(--bone);
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 var(--space-6); }
.mobile-nav li { border-bottom: 1px solid rgba(250, 248, 244, 0.14); }
.mobile-nav a {
  display: block;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--bone);
}
.mobile-nav .contact-block {
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(250, 248, 244, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav .contact-block a {
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
}

/* ---------- 06 · Buttons ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), filter var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-deep); }

.btn-light {
  background: var(--bone);
  color: var(--navy);
  border-color: var(--bone);
}
.btn-light:hover { background: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(250, 248, 244, 0.5);
}
.btn-ghost:hover { border-color: var(--bone); background: rgba(250, 248, 244, 0.06); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--bone); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--t-fast);
}
.btn-link:hover { gap: 12px; }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* WhatsApp icon button */
.icon-whatsapp svg, .icon-call svg { width: 16px; height: 16px; }

/* ---------- 07 · Hero -------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}
.hero h1 {
  color: var(--bone);
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0 0 var(--space-5);
}
.hero .lead {
  color: rgba(250, 248, 244, 0.78);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  margin: 0 0 var(--space-7);
  max-width: 52ch;
}
.hero .eyebrow { color: var(--stone); }
.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image .caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(15, 42, 68, 0.86);
  color: var(--bone);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(250, 248, 244, 0.18);
}
@media (min-width: 480px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stats .stat-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bone);
}
.hero-stats .stat-lbl {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
}

/* Page hero (other pages) */
.page-hero {
  background: var(--navy);
  color: var(--bone);
  padding: var(--space-9) 0 var(--space-8);
}
.page-hero h1 { color: var(--bone); margin-bottom: var(--space-4); }
.page-hero .lead { color: rgba(250, 248, 244, 0.78); }

/* ---------- 08 · Service cards ----------------------------------------- */
.service-strip {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .service-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}
@media (min-width: 1080px) {
  .service-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bone-warm);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
  border: 1px solid var(--faint);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -16px rgba(15, 42, 68, 0.25);
}
.service-card .img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--faint);
}
.service-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.service-card:hover .img img { transform: scale(1.04); }
.service-card .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.service-card .body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.service-card .body p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey);
  margin: 0;
}
.service-card .more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .more::after {
  content: "→";
  transition: transform var(--t-fast);
}
.service-card:hover .more::after { transform: translateX(3px); }

/* Detailed service block (Services page) */
.service-block {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 880px) {
  .service-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }
  .service-block.reverse .img-wrap { order: 2; }
}
.service-block + .service-block { margin-top: var(--space-9); padding-top: var(--space-9); border-top: 1px solid var(--faint); }
.service-block .img-wrap {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--faint);
}
.service-block .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-block .scope {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.service-block .scope li {
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-block .scope li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1.5px;
  background: var(--navy);
  margin-top: 10px;
  flex: 0 0 14px;
}

/* ---------- 09 · Case studies ------------------------------------------ */
.casework {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .casework { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}

.case-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: transform var(--t-med) var(--ease-out);
}
.case-tile:hover { transform: translateY(-2px); }
.case-tile .img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--faint);
  margin-bottom: 16px;
}
.case-tile .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.case-tile:hover .img img { transform: scale(1.03); }
.case-tile .meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}
.case-tile .meta span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.case-tile h3 {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--navy);
}
.case-tile p {
  font-size: 15px;
  color: var(--grey);
  margin: 0;
}

/* Case-study hero photo */
.case-hero {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--faint);
  margin-bottom: var(--space-6);
}
.case-hero img { width: 100%; height: 100%; object-fit: cover; }

.case-gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .case-gallery { grid-template-columns: repeat(2, 1fr); }
  .case-gallery .span-2 { grid-column: span 2; }
}
.case-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--faint);
}
.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.case-gallery figcaption {
  padding: 8px 0 0;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  padding: var(--space-5) 0;
}
@media (min-width: 720px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
}
.facts-grid dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 6px;
}
.facts-grid dd {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
}

/* ---------- 10 · Reviews / pull-quotes --------------------------------- */
.review-card {
  background: var(--bone);
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  height: 100%;
}
.review-card .rating {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.review-card .rating .num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 28px;
  color: var(--navy);
  line-height: 1;
}
.review-card .rating .max {
  font-size: 14px;
  color: var(--grey);
}
.review-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.review-card .body {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}
.review-card .meta-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--faint);
}

/* ---------- 11 · Trust block ------------------------------------------- */
.trust-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--navy);
  color: var(--bone);
  border-radius: var(--radius-lg);
}
@media (min-width: 720px) {
  .trust-block {
    flex-direction: row;
    align-items: center;
    gap: var(--space-7);
    padding: var(--space-7);
  }
}
.trust-block .rating {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.trust-block .rating .num {
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--bone);
}
.trust-block .rating .max { color: rgba(250, 248, 244, 0.6); font-size: 18px; }
.trust-block .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(250, 248, 244, 0.85);
}
.trust-block .meta strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--bone);
}
.trust-block .meta span {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.7);
  font-weight: 500;
}
.trust-block .badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.trust-block .badge {
  padding: 8px 14px;
  border: 1px solid rgba(250, 248, 244, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Compact inline trust */
.trust-inline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--grey);
}
.trust-inline strong {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
}
.trust-inline .dot {
  width: 4px;
  height: 4px;
  background: var(--grey);
  border-radius: 50%;
}

/* ---------- 12 · Areas covered ---------------------------------------- */
.areas {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .areas { grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: center; }
}
.areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--faint);
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  overflow: hidden;
}
.areas-list li {
  background: var(--bone);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.areas-list .name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.areas-list .dist {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.area-map {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bone-warm);
  border: 1px solid var(--faint);
  position: relative;
}
.area-map svg { width: 100%; height: 100%; }

/* ---------- 13 · Forms ------------------------------------------------- */
.quote-form {
  background: var(--bone);
  border: 1px solid var(--faint);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .quote-form { padding: var(--space-7); grid-template-columns: 1fr 1fr; }
  .quote-form .full { grid-column: span 2; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--faint);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field-hint {
  font-size: 12px;
  color: var(--grey);
  margin-top: 4px;
}
.file-drop {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 16px 18px;
  background: #fff;
  border: 1.5px dashed var(--hairline);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.file-drop:hover { border-color: var(--navy); background: var(--bone-warm); }
.file-drop svg { width: 24px; height: 24px; color: var(--navy); flex: 0 0 24px; }
.file-drop .text strong { display: block; font-weight: 600; font-size: 15px; }
.file-drop .text span { font-size: 13px; color: var(--grey); }
.field input[type="file"] { display: none; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}
@media (min-width: 720px) {
  .form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
.form-foot p {
  font-size: 13px;
  color: var(--grey);
  margin: 0;
  max-width: 36ch;
}

/* ---------- 14 · Sticky mobile contact bar ----------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  background: var(--navy);
  color: var(--bone);
  padding: 8px;
  gap: 6px;
  box-shadow: 0 -4px 20px rgba(15, 42, 68, 0.18);
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--bone);
}
.mobile-cta a.call { background: rgba(250, 248, 244, 0.08); }
.mobile-cta a.whatsapp { background: var(--green); }
.mobile-cta a.quote { background: var(--stone); color: var(--navy); }
.mobile-cta svg { width: 16px; height: 16px; }
@media (min-width: 720px) {
  .mobile-cta { display: none; }
  body { padding-bottom: 0 !important; }
}
@media (max-width: 719px) {
  body { padding-bottom: 78px; }
}

/* ---------- 15 · Footer ------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: var(--bone);
  padding: var(--space-9) 0 var(--space-5);
}
.site-footer-grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-7);
}
@media (min-width: 720px) {
  .site-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-7);
  }
}
.site-footer h5 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 var(--space-4);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a {
  color: rgba(250, 248, 244, 0.78);
  font-size: 14px;
  transition: color var(--t-fast);
}
.site-footer a:hover { color: var(--bone); }
.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-4);
}
.site-footer .brand svg { width: 36px; height: 36px; color: var(--bone); }
.site-footer .brand .word { font-family: var(--font-heading); font-weight: 600; font-size: 22px; letter-spacing: 0.05em; color: var(--bone); }
.site-footer p { color: rgba(250, 248, 244, 0.7); font-size: 14px; line-height: 1.55; }
.site-footer .legal {
  border-top: 1px solid rgba(250, 248, 244, 0.14);
  padding-top: var(--space-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 12px;
  color: rgba(250, 248, 244, 0.6);
}
.site-footer .legal a { font-size: 12px; }

/* ---------- 16 · Misc -------------------------------------------------- */
hr.rule {
  border: 0;
  height: 1px;
  background: var(--faint);
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--bone-warm);
  border: 1px solid var(--faint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.tag-dark {
  background: var(--navy);
  color: var(--bone);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--faint);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--navy);
  color: var(--bone);
  padding: 8px 14px;
  font-size: 14px;
  z-index: 200;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

/* ============================================================================
   v2 — cinematic / editorial components
   ========================================================================= */

/* ---------- Cinematic full-bleed hero ---------------------------------- */
.cine-hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  height: 90vh;
  max-height: 1000px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--bone);
  isolation: isolate;
}
.cine-hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cine-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.04);
  animation: ken-burns 18s ease-out forwards;
}
@keyframes ken-burns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}
.cine-hero .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,42,68,0.55) 0%, rgba(15,42,68,0.10) 25%, rgba(15,42,68,0.10) 45%, rgba(15,42,68,0.85) 100%);
}
.cine-hero .top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 4vw, 48px);
  color: var(--bone);
}
.cine-hero .top-bar .brand-lockup { color: var(--bone); }
.cine-hero .top-bar .brand-lockup .word { color: var(--bone); }
.cine-hero .top-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(15, 42, 68, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(250, 248, 244, 0.22);
  border-radius: 999px;
  color: var(--bone);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.cine-hero .top-pill .dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}
.cine-hero .top-pill strong { font-weight: 600; }

.cine-hero .body {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 5vw, 72px);
  pointer-events: none;
}
.cine-hero .body * { pointer-events: auto; }
.cine-hero .eyebrow { color: var(--stone); margin-bottom: 18px; }
.cine-hero h1 {
  color: var(--bone);
  font-size: clamp(44px, 8.5vw, 120px);
  letter-spacing: -0.02em;
  line-height: 0.96;
  max-width: 18ch;
  margin: 0 0 22px;
  text-wrap: balance;
}
.cine-hero h1 .em {
  font-style: italic;
  font-weight: 500;
  color: var(--stone);
}
.cine-hero .lead {
  color: rgba(250, 248, 244, 0.86);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  max-width: 52ch;
  margin: 0 0 32px;
}
.cine-hero .btn-row { gap: 14px; }
.cine-hero .scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(250, 248, 244, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.cine-hero .scroll-cue::after {
  content: "";
  width: 1.5px;
  height: 30px;
  background: linear-gradient(180deg, transparent, rgba(250, 248, 244, 0.6));
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue { 0%,100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 720px) {
  .cine-hero { min-height: 85vh; height: auto; }
  .cine-hero .scroll-cue { display: none; }
  .cine-hero .top-pill .lbl { display: none; }
}

/* Hero stats strip — full-bleed, sits below the cinematic hero */
.hero-stats-strip {
  background: var(--navy);
  color: var(--bone);
  padding: 32px clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  border-top: 1px solid rgba(250, 248, 244, 0.14);
}
@media (min-width: 720px) {
  .hero-stats-strip { grid-template-columns: repeat(4, 1fr); padding: 36px clamp(24px, 4vw, 48px); }
}
.hero-stats-strip .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stats-strip .stat-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--bone);
}
.hero-stats-strip .stat-num .unit { font-size: 0.5em; color: rgba(250, 248, 244, 0.5); margin-left: 4px; font-weight: 500; letter-spacing: 0; }
.hero-stats-strip .stat-lbl {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
}

/* ---------- Marquee ticker --------------------------------------------- */
.marquee {
  background: var(--bone-warm);
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  padding: 18px 32px;
  animation: marquee 38s linear infinite;
  align-items: center;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--navy);
  white-space: nowrap;
}
.marquee-track span.dot {
  width: 5px; height: 5px;
  background: var(--stone);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Editorial service blocks ---------------------------------- */
.svc-editorial {
  display: grid;
  gap: clamp(72px, 10vh, 112px);
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 880px) {
  .svc-row { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 80px); }
  .svc-row.flip > .svc-img { order: 2; }
}
.svc-img {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--faint);
  border-radius: 4px;
}
.svc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.svc-row:hover .svc-img img { transform: scale(1.04); }
.svc-img .num {
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--bone);
  letter-spacing: 0.1em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.svc-text .num-large {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(64px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--stone);
  margin: 0 0 12px;
  display: block;
}
.svc-text .small-num {
  display: inline-block;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 500;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.svc-text h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 20px;
  text-wrap: balance;
}
.svc-text p.lead { margin-bottom: 24px; max-width: 50ch; }
.svc-text .scope {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  padding: 18px 0;
}
.svc-text .scope li {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-text .scope li::before {
  content: "+";
  color: var(--stone);
  font-weight: 600;
  font-size: 16px;
}

/* ---------- Photo divider (full-bleed) -------------------------------- */
.photo-divider {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 80vh;
  overflow: hidden;
  background: var(--navy-deep);
}
.photo-divider img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-divider .cap {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(15, 42, 68, 0.85);
  color: var(--bone);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .photo-divider { aspect-ratio: 4 / 5; max-height: none; }
}

/* ---------- Poster trust block ---------------------------------------- */
.trust-poster {
  background: var(--navy);
  color: var(--bone);
  padding: clamp(64px, 12vh, 140px) clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
@media (min-width: 880px) {
  .trust-poster { grid-template-columns: auto 1fr; gap: 64px; }
}
.trust-poster .big-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(120px, 24vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--bone);
  display: block;
  position: relative;
}
.trust-poster .big-num .frac {
  font-size: 0.22em;
  color: var(--stone);
  font-weight: 500;
  letter-spacing: -0.01em;
  vertical-align: super;
  margin-left: -0.1em;
}
.trust-poster .copy h2 {
  color: var(--bone);
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-wrap: balance;
}
.trust-poster .copy .lead {
  color: rgba(250, 248, 244, 0.82);
  font-size: clamp(16px, 1.5vw, 19px);
  margin: 0 0 28px;
  max-width: 52ch;
}
.trust-poster .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-poster .badge {
  padding: 8px 14px;
  border: 1px solid rgba(250, 248, 244, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.92);
}

/* ---------- Pull-quote (editorial review) ----------------------------- */
.pq {
  position: relative;
  padding: clamp(64px, 12vh, 140px) 0;
  background: var(--bone-warm);
  text-align: center;
}
.pq-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 48px);
}
.pq blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: balance;
}
.pq blockquote::before {
  content: "“";
  display: block;
  font-size: clamp(80px, 12vw, 180px);
  color: var(--stone);
  line-height: 0.5;
  margin-bottom: 24px;
  font-family: serif;
}
.pq cite {
  display: block;
  margin-top: 32px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.pq .stars {
  display: inline-flex;
  gap: 4px;
  margin-top: 12px;
  color: var(--stone);
  font-size: 18px;
}

/* ---------- Asymmetric featured work --------------------------------- */
.featured-asym {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .featured-asym {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
  }
  .featured-asym .lead-tile { grid-row: span 2; }
}
.feat-tile {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 6px;
  background: var(--faint);
  isolation: isolate;
}
.feat-tile .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--faint);
}
.feat-tile.lead-tile .img-wrap { aspect-ratio: 4 / 5; height: 100%; }
.feat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.feat-tile:hover img { transform: scale(1.05); }
.feat-tile .body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(15,42,68,0.85));
  color: var(--bone);
}
.feat-tile .body .meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.feat-tile .body .meta span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.75);
}
.feat-tile .body h3 {
  color: var(--bone);
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.feat-tile.lead-tile .body h3 { font-size: clamp(28px, 3.6vw, 44px); }
.feat-tile .body p {
  font-size: 14px;
  color: rgba(250, 248, 244, 0.85);
  margin: 0;
  max-width: 50ch;
}

/* ---------- About spotlight ------------------------------------------ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 880px) {
  .spotlight { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
}
.spotlight .img-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--faint);
  border-radius: 4px;
  position: relative;
}
.spotlight .img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Headline counter (animated stats) */
.counter { display: inline-block; }


/* Hero-overlay header treatment — used on homepage so header floats over the cinematic hero */
.home-overlay-header .site-header { position: fixed; left: 0; right: 0; top: 0; }
.home-overlay-header .site-header:not(.is-scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}
.home-overlay-header .site-header:not(.is-scrolled) .brand-lockup,
.home-overlay-header .site-header:not(.is-scrolled) .brand-lockup .word,
.home-overlay-header .site-header:not(.is-scrolled) .primary-nav a,
.home-overlay-header .site-header:not(.is-scrolled) .menu-toggle {
  color: var(--bone);
}
.home-overlay-header .site-header:not(.is-scrolled) .primary-nav a::after { background: var(--bone); }
.home-overlay-header .site-header:not(.is-scrolled) .header-cta {
  background: transparent;
  border-color: rgba(250, 248, 244, 0.55);
  color: var(--bone);
}
.home-overlay-header .site-header:not(.is-scrolled) .header-cta:hover {
  background: rgba(250, 248, 244, 0.1);
  border-color: var(--bone);
}
.home-overlay-header .site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

/* ============================================================================
   v3 — feedback button, polished header, tighter editorial, cinematic page heroes
   ========================================================================= */

/* ---------- Feedback FAB + modal ------------------------------------- */
.fb-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--navy);
  color: var(--bone);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px -16px rgba(15,42,68,0.55);
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.fb-fab:hover { background: var(--navy-deep); box-shadow: 0 16px 36px -16px rgba(15,42,68,0.65); transform: translateY(-1px); }
.fb-fab svg { width: 16px; height: 16px; }
.fb-fab .lbl-short { display: none; }
@media (max-width: 720px) {
  .fb-fab { bottom: 90px; padding: 12px 16px; font-size: 13px; }
  .fb-fab .lbl-long { display: none; }
  .fb-fab .lbl-short { display: inline; }
}

.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15,42,68,0.55);
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
}
.fb-modal[data-open="true"] { display: flex; animation: fb-fade 200ms var(--ease-out); }
@keyframes fb-fade { from { opacity: 0; } to { opacity: 1; } }
.fb-modal .fb-card {
  width: 100%;
  max-width: 540px;
  background: var(--bone);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.35);
  position: relative;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.fb-modal .fb-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 0;
  width: 36px; height: 36px;
  cursor: pointer;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--t-fast), color var(--t-fast);
}
.fb-modal .fb-close:hover { background: var(--bone-warm); color: var(--navy); }
.fb-modal h3 { margin: 0 0 8px; font-size: 24px; }
.fb-modal .sub { color: var(--grey); font-size: 14px; margin: 0 0 24px; }
.fb-modal form { display: grid; gap: 14px; }
.fb-modal label { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; display:block; }
.fb-modal input, .fb-modal textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--faint);
  border-radius: 6px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast);
}
.fb-modal input:focus, .fb-modal textarea:focus { outline: none; border-color: var(--navy); }
.fb-modal textarea { min-height: 110px; resize: vertical; font-family: inherit; }
.fb-modal .fb-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.fb-modal .fb-cancel { background: transparent; border: 0; color: var(--grey); cursor: pointer; font-size: 14px; font-weight: 500; padding: 8px 4px; }
.fb-modal .fb-cancel:hover { color: var(--navy); }
.fb-modal .fb-status { font-size: 13px; color: var(--grey); }
.fb-modal .fb-status.error { color: #b03333; }
.fb-modal .fb-success { display: none; text-align: center; padding: 24px 0 8px; }
.fb-modal[data-state="success"] form { display: none; }
.fb-modal[data-state="success"] .fb-success { display: block; }
.fb-success svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--green); }
.fb-success h3 { margin-bottom: 8px; }
.fb-success p { color: var(--grey); }

/* ---------- Header polish — nav + CTA pop more ---------------------- */
.brand-lockup .word { font-size: 22px; font-weight: 700; letter-spacing: 0.06em; }
.brand-lockup svg { width: 38px; height: 38px; }

.primary-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0;
}
.primary-nav a::after {
  height: 2px;
  bottom: 2px;
  background: var(--stone);
}
.primary-nav a:hover { color: var(--navy); }

/* Header CTA — filled, confident, with arrow */
.header-cta {
  background: var(--navy) !important;
  color: var(--bone) !important;
  border-color: var(--navy) !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  gap: 8px;
  border-radius: 999px !important;
  position: relative;
  overflow: hidden;
}
.header-cta::after {
  content: "→";
  margin-left: 0;
  display: inline-block;
  transition: transform var(--t-fast);
  font-weight: 600;
}
.header-cta:hover { background: var(--green) !important; border-color: var(--green) !important; }
.header-cta:hover::after { transform: translateX(3px); }

/* Over-hero header CTA: keep it visible but bone-on-transparent */
.home-overlay-header .site-header:not(.is-scrolled) .header-cta {
  background: var(--bone) !important;
  color: var(--navy) !important;
  border-color: var(--bone) !important;
}
.home-overlay-header .site-header:not(.is-scrolled) .header-cta:hover {
  background: var(--green) !important;
  color: var(--bone) !important;
  border-color: var(--green) !important;
}

/* ---------- Tighter editorial service blocks ----------------------- */
.svc-editorial {
  gap: clamp(36px, 5vh, 56px);
}
.svc-row { gap: 28px; }
@media (min-width: 880px) {
  .svc-row { grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 56px); align-items: center; }
}
.svc-img { aspect-ratio: 5 / 4; }
.svc-text .num-large {
  font-size: clamp(48px, 7vw, 84px);
  margin-bottom: 4px;
}
.svc-text h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 12px;
}
.svc-text p.lead {
  font-size: 16px;
  margin-bottom: 16px;
}
.svc-text .scope {
  padding: 14px 0;
  margin: 0 0 18px;
  gap: 6px 20px;
}
.svc-text .scope li { font-size: 13px; }

/* ---------- Cinematic page hero (smaller than homepage) ------------ */
.page-hero-cine {
  position: relative;
  width: 100%;
  min-height: clamp(430px, 52vh, 580px);
  max-height: 640px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--bone);
  isolation: isolate;
}
.page-hero-cine .bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-cine .bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: ken-burns 20s ease-out forwards;
}
.page-hero-cine .veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,42,68,0.90) 0%, rgba(15,42,68,0.78) 42%, rgba(15,42,68,0.36) 75%, rgba(15,42,68,0.54) 100%),
    linear-gradient(180deg, rgba(15,42,68,0.34) 0%, rgba(15,42,68,0.12) 42%, rgba(15,42,68,0.78) 100%);
}
.page-hero-cine .body {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 16vh, 160px) clamp(20px, 4vw, 48px) clamp(40px, 7vh, 80px);
  max-width: var(--container);
  margin: 0 auto;
}
.page-hero-cine h1 {
  color: var(--bone);
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.012em;
  line-height: 1.05;
  max-width: 22ch;
  margin: 0 0 18px;
  text-wrap: balance;
}
.page-hero-cine h1 .em {
  font-style: italic;
  font-weight: 500;
  color: var(--stone);
}
.page-hero-cine .lead {
  color: rgba(250,248,244,0.85);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 60ch;
  margin: 0;
}
.page-hero-cine .eyebrow { color: var(--stone); }
.page-hero-cine .breadcrumb {
  font-size: 12px;
  color: rgba(250,248,244,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.page-hero-cine .breadcrumb a { color: rgba(250,248,244,0.85); border-bottom: 1px solid rgba(250,248,244,0.4); }
.page-hero-cine .breadcrumb a:hover { color: var(--bone); border-color: var(--bone); }

@media (max-width: 720px) {
  .page-hero-cine { min-height: 48vh; }
  .page-hero-cine .body { padding-top: 110px; }
}

/* Numbered eyebrow used for editorial sections */
.numbered-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 56px;
}
.numbered-section-head .num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--stone);
}
.numbered-section-head .col h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0 0 12px;
  text-wrap: balance;
}
.numbered-section-head .col p {
  font-size: 16px;
  color: var(--grey);
  max-width: 50ch;
  margin: 0;
}
@media (max-width: 720px) {
  .numbered-section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 32px; }
  .numbered-section-head .num { font-size: 48px; }
}


/* ============================================================================
   v4 — process section, hero kerning, video-ready hero, texture divider
   ========================================================================= */

/* ---------- Custom hero typography ----------------------------------- */
.cine-hero h1, .page-hero-cine h1 {
  font-feature-settings: "ss01", "kern", "liga", "calt";
  font-variation-settings: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hanging-punctuation: first last;
}
.cine-hero h1 .em, .page-hero-cine h1 .em {
  letter-spacing: -0.018em;
}

/* Hero supports either <video> or <picture>/<img> as background */
.cine-hero .bg video,
.page-hero-cine .bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  display: block;
}

.cine-hero .bg .hero-loop {
  background: var(--navy-deep) url("/assets/images/hero-kitchen.jpg") center 45% / cover no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .cine-hero .bg .hero-loop {
    display: none;
  }

  .cine-hero .bg {
    background: var(--navy-deep) url("/assets/images/hero-kitchen.jpg") center 45% / cover no-repeat;
  }
}

/* ---------- Process section (six steps) ----------------------------- */
.process {
  padding: clamp(72px, 12vh, 128px) 0;
  background: var(--bone);
  position: relative;
}
.process .container { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--faint);
}
@media (min-width: 880px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
.process-step {
  position: relative;
  padding: 32px 28px 36px;
  border-bottom: 1px solid var(--faint);
}
@media (min-width: 880px) {
  .process-step { border-right: 1px solid var(--faint); padding: 40px 32px 44px; }
  .process-step:nth-child(3n) { border-right: 0; }
  .process-step:nth-last-child(-n+3) { border-bottom: 0; }
}
.process-step .num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.process-step .num::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--faint);
}
.process-step h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.process-step p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.55;
  margin: 0;
}
.process-step .sub {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.process-step .sub::before {
  content: "→";
  color: var(--stone);
}

/* ---------- Texture/macro photo divider ----------------------------- */
.photo-divider.macro {
  aspect-ratio: 32 / 9;
  max-height: 60vh;
}
@media (max-width: 720px) {
  .photo-divider.macro { aspect-ratio: 4 / 3; max-height: none; }
}

/* Slight tightening of cine-hero text-wrap behaviour for nicer breaks */
.cine-hero h1, .page-hero-cine h1 { text-wrap: balance; }
