/* =====================================================================
   AP TILE — style.css
   Palette sampled from the client's logo pixels:
   logo dark background #371803 · green #1fba58 / #009840 · gold #d19733
   cream/silver #f1eff0 · light-logo background #ffffff (header only)
   Spacing: strict 8px scale (8/16/24/32/40/48/64/80/96/128)
   ===================================================================== */
:root {
  --ink: #371803;            /* logo background — dominant surface */
  --bg: #371803;
  --bg-deep: #2a1102;
  --surface: #3f1d07;
  --card: #47230b;
  --card-hi: #522a0f;
  --border: rgba(209, 151, 51, .24);
  --border-soft: rgba(241, 233, 223, .1);
  --primary: #1fba58;
  --primary-deep: #009840;
  --primary-ink: #1a0b01;
  --accent: #d19733;
  --accent-light: #e8b955;
  --silver: #f1eff0;
  --heading: #f7f0e6;
  --text: #eadfd0;
  --muted: #cdb9a2;
  --header-bg: #ffffff;      /* matches the light logo's own background so it sits seamlessly */
  --header-ink: #371803;
  --error: #ff9a8a;
  --grad-gold: linear-gradient(135deg, #e8b955 0%, #d19733 55%, #b9842b 100%);
  --grad-green: linear-gradient(135deg, #2fd16a 0%, #1fba58 50%, #009840 100%);
  --shadow-sm: 0 2px 8px rgba(18, 7, 0, .35);
  --shadow-md: 0 16px 40px rgba(18, 7, 0, .45);
  --shadow-lg: 0 32px 80px rgba(12, 4, 0, .55);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--heading); }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
strong { color: var(--heading); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--primary); color: var(--primary-ink); }

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 1000; background: var(--accent); color: var(--primary-ink); padding: 8px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section--deep { background: var(--bg-deep); }
.section--tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-light); font-weight: 600; font-size: .9375rem; margin-bottom: 16px; }
.kicker::before { content: ""; width: 24px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.lead { font-size: 1.1875rem; color: var(--text); }
.muted { color: var(--muted); }

/* grout-line texture: the site's signature motif (tile joints) */
.grout { position: relative; }
.grout::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(209,151,51,.09) 2px, transparent 2px), linear-gradient(90deg, rgba(209,151,51,.09) 2px, transparent 2px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.glow { position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(80px); opacity: .22; pointer-events: none; }
.glow--green { background: var(--primary); }
.glow--gold { background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--grad-green); color: var(--primary-ink); box-shadow: 0 8px 24px rgba(31,186,88,.28); }
.btn--primary:hover { color: var(--primary-ink); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(31,186,88,.36); }
.btn--gold { background: var(--grad-gold); color: var(--primary-ink); }
.btn--gold:hover { color: var(--primary-ink); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(241,233,223,.35); color: var(--heading); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-light); color: var(--heading); background: rgba(209,151,51,.1); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Header (light: hosts the white-background logo) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding: 16px 0; margin-bottom: -120px; transition: padding .25s ease; }
.site-header.is-scrolled { padding: 8px 0; }
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0;
  background: var(--header-bg); border-radius: 20px; padding: 8px 8px 8px 16px; height: var(--header-h);
  box-shadow: 0 16px 40px rgba(12,4,0,.45), inset 0 -3px 0 var(--accent);
}
.brand { display: flex; align-items: center; min-width: 0; flex: none; }
.brand img { height: 72px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.nav a { color: var(--header-ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; padding: 8px 16px; border-radius: 999px; }
.nav a:hover { background: #f3ece3; color: var(--header-ink); }
.nav a[aria-current="page"] { background: var(--header-ink); color: #ffffff; }
.header-actions { display: flex; align-items: center; gap: 8px; min-width: 0; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--header-ink); font-family: var(--font-display); font-weight: 700; text-decoration: none; padding: 0 8px; }
.header-phone svg { width: 20px; height: 20px; color: var(--primary-deep); }
.header-phone:hover { color: #0b5c2a; }
.header-cta { min-height: 48px; }
.call-circle, .menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.call-circle { background: var(--grad-green); color: var(--primary-ink); }
.call-circle svg { width: 22px; height: 22px; }
.menu-toggle { background: var(--header-ink); color: #ffffff; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(26,10,1,.7); backdrop-filter: blur(6px); display: none; }
.mobile-menu.is-open { display: block; }
.mobile-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%); overflow-y: auto;
  background: var(--bg-deep); padding: 24px; box-shadow: var(--shadow-lg); border-left: 2px solid var(--accent);
}
.mobile-panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-panel-top img { height: 64px; width: auto; }
.menu-close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--heading); font-size: 1.5rem; cursor: pointer; }
.mobile-nav { display: grid; gap: 4px; margin-bottom: 32px; }
.mobile-nav a { color: var(--heading); text-decoration: none; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.mobile-nav a[aria-current="page"] { color: var(--accent-light); }
.mobile-panel .btn { width: 100%; margin-bottom: 16px; }
.mobile-panel p { color: var(--muted); font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line-gold { display: block; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { max-width: 560px; margin-bottom: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--primary); }
.hero-note { margin-top: 24px; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .9375rem; }
.stars { color: var(--accent-light); letter-spacing: 2px; font-size: 1.125rem; }

.hero-visual { position: relative; }
.mosaic { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(6, 1fr); gap: 8px; aspect-ratio: 4 / 5; }
.mosaic .m-tile { border-radius: 8px; background: var(--card); border: 1px solid var(--border); }
.mosaic .m-tile.g { background: var(--grad-green); border: 0; }
.mosaic .m-tile.a { background: var(--grad-gold); border: 0; }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border-radius: 12px; z-index: 0; }
.hero-visual::before { width: 96px; height: 96px; top: -24px; right: -24px; background: var(--grad-green); }
.hero-visual::after { width: 128px; height: 128px; bottom: 64px; left: -40px; background: var(--grad-gold); opacity: .9; }
.mosaic { position: relative; z-index: 1; }
.float-card { z-index: 2; }
.mosaic .m-photo { grid-column: 1 / 6; grid-row: 1 / 7; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(209,151,51,.4); }
.mosaic .m-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-radius: var(--r-md);
  background: rgba(42,17,2,.88); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--shadow-md); color: var(--text);
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--heading); }
.float-card span { font-size: .875rem; color: var(--muted); }
.float-card .fc-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-green); color: var(--primary-ink); flex: none; }
.float-card .fc-icon svg { width: 24px; height: 24px; }
.float-card.fc-1 { top: 32px; left: -48px; }
.float-card.fc-2 { bottom: 120px; right: -32px; }
.float-card.fc-3 { bottom: -24px; left: 32px; }
.float-card.fc-2 .fc-icon { background: var(--grad-gold); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.trust-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.trust-list li { display: flex; align-items: center; gap: 16px; color: var(--heading); font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.trust-list svg { width: 32px; height: 32px; color: var(--accent-light); flex: none; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.split--rev { grid-template-columns: 1.15fr .85fr; }
.portrait { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--border); box-shadow: var(--shadow-lg); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(42,17,2,.9); padding: 16px; border-radius: var(--r-md); color: var(--text); font-size: .9375rem; }
.signature { font-family: var(--font-display); color: var(--accent-light); font-size: 1.25rem; font-weight: 600; margin-top: 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad-green); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 6px; height: 10px; border: solid var(--primary-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.svc-card .svc-media { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card .svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-card .svc-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-card h3 { margin: 0; }
.svc-card p { margin: 0; color: var(--muted); font-size: .9375rem; }
.svc-card .svc-link { margin-top: auto; padding-top: 16px; color: var(--accent-light); font-weight: 600; font-family: var(--font-display); font-size: .9375rem; }
.svc-card--feature { grid-column: span 2; }
.svc-card--feature .svc-media { aspect-ratio: 16 / 8; }
.svc-card--feature h3 { font-size: 1.75rem; }
.svc-card--wide { grid-column: 1 / -1; flex-direction: row; }
.svc-cta { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 32px; border-radius: var(--r-lg); background: var(--grad-gold); }
.svc-cta h3, .svc-cta p { color: #1a0b01; margin: 0; }
.svc-cta h3 { font-size: 1.5rem; }
.svc-cta .btn { align-self: flex-start; background: #2a1102; color: #f7f0e6; }
.svc-cta .btn:hover { background: #1a0b01; color: #ffffff; }
.svc-card--wide .svc-media { flex: 0 0 45%; aspect-ratio: 16 / 10; }
.svc-card--wide .svc-body { padding: 40px; justify-content: center; }
.svc-card--wide h3 { font-size: 1.75rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.svc-tags li { font-size: .8125rem; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); }

/* ---------- Feature cards (why us / benefits / values) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.f-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px; box-shadow: var(--shadow-sm); }
.section--deep .f-card { background: var(--surface); }
.f-card h3 { margin-bottom: 8px; }
.f-card p { margin: 0; color: var(--muted); font-size: .9375rem; }
.f-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; background: rgba(31,186,88,.14); color: var(--primary); border: 1px solid rgba(31,186,88,.35); }
.f-icon svg { width: 28px; height: 28px; }
.f-card:nth-child(even) .f-icon { background: rgba(209,151,51,.14); color: var(--accent-light); border-color: rgba(209,151,51,.4); }
.inc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px; }
.inc-card h3 { margin-bottom: 16px; }
.inc-card .check-list { margin: 0; font-size: .9375rem; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.slide .slide-media { aspect-ratio: 16 / 10; overflow: hidden; }
.slide .slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { padding: 16px 24px; display: flex; flex-direction: column; }
.slide figcaption strong { font-family: var(--font-display); }
.slide figcaption span { color: var(--muted); font-size: .875rem; }
.carousel-controls { display: flex; gap: 8px; justify-content: flex-end; margin-top: 24px; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); cursor: pointer; display: grid; place-items: center; }
.carousel-btn:hover { background: var(--accent); color: var(--primary-ink); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.carousel-head .section-head { margin-bottom: 0; }

/* ---------- Stats band (gold, explicit dark text) ---------- */
.stats-band { background: var(--grad-gold); padding: 64px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(55,24,3,.12) 2px, transparent 2px), linear-gradient(90deg, rgba(55,24,3,.12) 2px, transparent 2px); background-size: 48px 48px; pointer-events: none; }
.stats-band h2, .stats-band h3, .stats-band p, .stats-band span, .stats-band strong, .stats-band dt, .stats-band dd { color: #1a0b01; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; margin: 0; }
.stat { text-align: center; }
.stat dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.stat dt { margin-top: 8px; font-weight: 600; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.process li { position: relative; padding-top: 72px; }
.process li::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; background: var(--grad-green); color: var(--primary-ink);
}
.process li::after { content: ""; position: absolute; top: 27px; left: 72px; right: -16px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); opacity: .6; }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.125rem; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ---------- Areas ---------- */
.areas-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.area-grid li { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 8px 16px; font-weight: 600; color: var(--heading); font-size: .9375rem; display: flex; align-items: center; gap: 8px; }
.area-grid li svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.area-grid li.is-home { background: var(--grad-green); color: var(--primary-ink); border-color: transparent; }
.area-grid li.is-home svg { color: var(--primary-ink); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--border); aspect-ratio: 4 / 3; background: var(--card); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8) contrast(1.05); }

/* ---------- Testimonials ---------- */
.t-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px; display: flex; flex-direction: column; gap: 16px; margin: 0; }
.t-card blockquote { margin: 0; color: var(--text); }
.t-card figcaption { margin-top: auto; display: flex; flex-direction: column; }
.t-card figcaption strong { font-family: var(--font-display); }
.t-card figcaption span { color: var(--muted); font-size: .875rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--card); break-inside: avoid; }
.gallery button img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s ease; }
.gallery button:nth-child(3n+2) img { aspect-ratio: 4 / 5; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20,8,0,.94); display: none; align-items: center; justify-content: center; padding: 64px 24px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 80vh; width: auto; max-width: min(1000px, 100%); border-radius: var(--r-md); }
.lightbox p { color: var(--text); text-align: center; margin-top: 16px; }
.lightbox figure { margin: 0; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); cursor: pointer; font-size: 1.25rem; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 16px; max-width: 880px; }
.faq-list--center { margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); }
.faq-item h3 { margin: 0; font-size: 1.0625rem; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 24px; background: none; border: 0; color: var(--heading); font: inherit; font-family: var(--font-display); font-weight: 600; cursor: pointer; }
.faq-q .faq-icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; flex: none; transition: transform .25s ease, background-color .25s ease; color: var(--accent-light); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--primary-ink); }
.faq-a { padding: 0 24px 24px; color: var(--text); }
.faq-a p:last-child { margin: 0; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; justify-content: center; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--heading); font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--primary-ink); border-color: var(--accent); }
.faq-cat { margin-bottom: 48px; }
.faq-cat > h2 { font-size: 1.5rem; margin-bottom: 24px; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.post-card .post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.1875rem; }
.post-card h3 a { color: var(--heading); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-light); }
.post-card p { color: var(--muted); font-size: .9375rem; margin: 0; }
.post-meta { color: var(--accent-light); font-size: .875rem; font-weight: 600; }
.post-feature { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 64px; }
.post-feature .post-media { aspect-ratio: 16 / 10; }
.post-feature .post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature .post-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.post-feature h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0; }
.post-feature h2 a { color: var(--heading); text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 80px 64px; background: var(--grad-green); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(26,11,1,.1) 2px, transparent 2px), linear-gradient(90deg, rgba(26,11,1,.1) 2px, transparent 2px); background-size: 56px 56px; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2, .cta-band p, .cta-band strong { color: var(--primary-ink); }
.cta-band h2 { max-width: 720px; }
.cta-band p { font-size: 1.125rem; max-width: 600px; margin-bottom: 32px; }
.cta-band .btn--dark { background: var(--primary-ink); color: #f7f0e6; }
.cta-band .btn--dark:hover { background: #2a1102; color: #ffffff; }
.cta-band .btn--outline-dark { border-color: var(--primary-ink); color: var(--primary-ink); background: transparent; }
.cta-band .btn--outline-dark:hover { background: rgba(26,11,1,.12); color: var(--primary-ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .c-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(31,186,88,.14); color: var(--primary); flex: none; border: 1px solid rgba(31,186,88,.35); }
.contact-list .c-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-display); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--accent-light); }
.contact-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-ways .f-card { text-align: left; }
.contact-ways a { font-weight: 600; word-break: break-word; }
.hours-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.hours-table th, .hours-table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--border-soft); }
.hours-table th { color: var(--heading); font-family: var(--font-display); font-weight: 600; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--heading); font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 8px 16px; border-radius: var(--r-sm); border: 1px solid rgba(241,233,223,.28); background: var(--bg-deep); color: var(--heading); font: inherit;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-light); outline-offset: 1px; border-color: var(--accent-light); }
.field .err { color: var(--error); font-size: .875rem; min-height: 1.2em; }
.field [aria-invalid="true"] { border-color: var(--error); }
.form-status { margin-top: 16px; font-weight: 600; color: var(--primary); }
.form-status.is-error { color: var(--error); }
.form-note { color: var(--muted); font-size: .875rem; margin-top: 16px; }

/* ---------- Page hero / breadcrumb ---------- */
.page-hero { position: relative; padding: 168px 0 80px; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.page-hero .lead { max-width: 600px; margin-bottom: 32px; }
.page-hero-media { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--border); box-shadow: var(--shadow-lg); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; max-width: 820px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--accent); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb [aria-current] { color: var(--heading); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { color: var(--text); }
.prose li { margin-bottom: 8px; }
.prose figure { margin: 40px 0; }
.prose figure .fig-media { aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.prose figure img { width: 100%; height: 100%; object-fit: cover; }
.prose figcaption { color: var(--muted); font-size: .9375rem; margin-top: 8px; }
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 128px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px; }
.toc h2 { font-size: 1.0625rem; margin-bottom: 16px; }
.toc ol { padding-left: 16px; margin: 0; display: grid; gap: 8px; font-size: .9375rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-light); }
.author-box { display: flex; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px; margin: 48px 0; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; background: var(--ink); }
.author-box h2 { font-size: 1.25rem; margin-bottom: 8px; margin-top: 0; }
.author-box p { margin: 0; color: var(--muted); }
.rel-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.rel-links a { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--heading); font-weight: 600; font-size: .9375rem; }
.rel-links a:hover { background: var(--accent); color: var(--primary-ink); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--grad-gold); }
.timeline li { position: relative; padding-left: 72px; }
.timeline li::before { content: ""; position: absolute; left: 12px; top: 4px; width: 24px; height: 24px; border-radius: 6px; background: var(--grad-green); transform: rotate(45deg); }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip figure { margin: 0; }
.photo-strip .ps-media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figcaption { color: var(--muted); font-size: .875rem; margin-top: 8px; }

/* ---------- Legal ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal-meta { color: var(--muted); }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 184px 0 96px; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); line-height: 1; letter-spacing: -.05em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 16px; }
.nf h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.nf p { color: var(--muted); max-width: 560px; margin: 0 auto 48px; }
.nf .card-grid { text-align: left; }
.nf .f-card a { color: var(--heading); text-decoration: none; }
.nf .f-card a:hover { color: var(--accent-light); }

/* ---------- Footer (dark logo lives here; background = logo background) ---------- */
.site-footer { background: var(--ink); border-top: 2px solid var(--accent); padding-top: 80px; color: var(--text); position: relative; overflow: hidden; }
.site-footer h2, .site-footer h3 { color: var(--heading); font-size: 1.0625rem; margin-bottom: 16px; }
.site-footer p, .site-footer li { color: var(--text); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 64px; }
.footer-brand img { height: 128px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .875rem; }
.footer-bottom a { color: var(--muted); }
.footer-credit { border-top: 1px solid rgba(241,233,223,.08); padding: 16px 24px; text-align: center; }
.footer-credit p { margin: 0; font-size: .8125rem; color: var(--muted); }
.footer-credit a { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(232,185,85,.45); }
.footer-credit a:hover { color: #ffffff; }

.to-top { position: fixed; right: 24px; bottom: 104px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; box-shadow: var(--shadow-md); }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

.newsletter { display: flex; gap: 16px; flex-wrap: wrap; max-width: 560px; }
.newsletter input { flex: 1 1 240px; min-height: 56px; border-radius: 999px; border: 1px solid rgba(26,11,1,.4); padding: 0 24px; font: inherit; background: rgba(255,255,255,.92); color: var(--primary-ink); }
.newsletter label { width: 100%; }
.cta-band .newsletter-status { margin-top: 16px; font-weight: 600; min-height: 1.4em; }

/* ---------- Phase 2: project stage tags + before/after compare ---------- */
.slide-media { position: relative; }
.stage { position: absolute; top: 16px; left: 16px; padding: 4px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; box-shadow: var(--shadow-sm); }
.stage--before { background: #f7f0e6; color: #1a0b01; }
.stage--during { background: var(--grad-gold); color: #1a0b01; }
.stage--after { background: var(--grad-green); color: #1a0b01; }
.slide figcaption span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.compare { position: relative; aspect-ratio: 4 / 3; max-width: 1000px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--border); box-shadow: var(--shadow-lg); --pos: 50%; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #f7f0e6; pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--grad-green); box-shadow: var(--shadow-md); }
.compare-handle span::before, .compare-handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid #1a0b01; border-width: 0 0 2px 2px; margin-top: -4px; }
.compare-handle span::before { left: 12px; transform: rotate(45deg); }
.compare-handle span::after { right: 12px; transform: rotate(-135deg); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within .compare-handle span { outline: 3px solid var(--accent-light); outline-offset: 2px; }
.compare-tag { position: absolute; top: 16px; padding: 4px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .875rem; color: #1a0b01; pointer-events: none; }
.compare-tag--before { left: 16px; background: #f7f0e6; }
.compare-tag--after { right: 16px; background: var(--grad-green); }
.gallery button[hidden] { display: none; }
