/* =========================================================================
   PRIMAL PAINTS — design system (static build)
   Clean & trustworthy. White-forward, cobalt accent.
   Chosen tokens are baked in (palette: cobalt, fonts: friendly).
   The hero layout is set per page via data-hero="centered | banner | work-preview" on <html>.
   ========================================================================= */

/* ---------- Tokens (cobalt palette + friendly type, baked) ---------- */
:root {
  /* colour — cobalt */
  --accent:       #2F5FD0;
  --accent-deep:  #2147A6;
  --accent-soft:  #E5ECFB;
  --accent-green: #58D77B;
  --accent-green-deep: #126B3E;
  --ink:          #14213C;
  --ink-soft:     #2A3A5C;
  --cream:        #F1F4FA;
  --cream-2:      #E7EDF7;

  --white:    #ffffff;
  --paper:    #ffffff;
  --line:     #E8E3D9;
  --line-2:   #EFEBE3;
  --muted:    #5C6573;
  --muted-2:  #828B98;

  /* type — friendly pairing */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --display-tighten: -0.02em;

  --shadow-sm: 0 1px 2px rgba(22,38,59,.05), 0 2px 8px rgba(22,38,59,.05);
  --shadow-md: 0 4px 12px rgba(22,38,59,.07), 0 14px 40px rgba(22,38,59,.10);
  --shadow-lg: 0 8px 24px rgba(22,38,59,.10), 0 30px 70px rgba(22,38,59,.16);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --maxw: 1200px;
  --gap: clamp(20px, 4vw, 56px);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: var(--display-tighten);
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.wrap-wide { width: min(100% - 40px, 1340px); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h1,.bg-ink h2,.bg-ink h3,.bg-ink h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.bg-ink .eyebrow { color: #fff; opacity: .85; }

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); line-height: 1.65; max-width: 60ch; }
.bg-ink .lead { color: rgba(255,255,255,.78); }

h2.h-xl { font-size: clamp(32px, 5vw, 56px); }
h2.h-lg { font-size: clamp(28px, 4vw, 44px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px;
  border: none; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: .005em;
  white-space: nowrap; transition: transform .14s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { --bh: 60px; font-size: 17px; padding: 0 32px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .68; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-call { gap: 9px; }
.btn-call .ph { font-variant-numeric: tabular-nums; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 500;
}
.topbar .wrap-wide { display: flex; align-items: center; justify-content: center; min-height: 42px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #fff; }
.topbar a:hover { color: var(--accent); }
.topbar .tb-review-link { gap: 8px; opacity: .94; text-align: center; }
.topbar .tb-review-link:hover { color: #fff; opacity: 1; }
.topbar .stars { color: #FFC24B; letter-spacing: 1px; }
.tb-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }
@media (max-width: 420px){ .topbar { font-size: 12.8px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .roller { width: 38px; height: 38px; color: var(--accent); flex: none; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wm-1 { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: .01em; color: var(--ink); }
.brand .wm-1 b { color: var(--accent); font-weight: 800; }
.brand .wm-2 { font-size: 10px; font-weight: 700; letter-spacing: .26em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15.5px; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--cream-2); color: var(--ink); }
.nav a.active { color: var(--accent-deep); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1000px){
  .nav, .site-header .header-cta > .btn-primary { display: none; }
  .menu-btn { display: inline-flex; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(16,24,33,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer .panel { position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px); background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; padding: 22px; gap: 6px; }
.drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.drawer .drawer-brand { min-width: 0; }
.drawer .drawer-brand .roller { width: 34px; height: 34px; }
.drawer .drawer-brand .wm-1 { font-size: 18px; }
.drawer .drawer-brand .wm-2 { font-size: 9px; letter-spacing: .22em; white-space: nowrap; }
.drawer .panel a.dl { padding: 15px 14px; border-radius: 12px; font-weight: 700; font-size: 18px; color: var(--ink); }
.drawer .panel a.dl:hover { background: var(--cream); }
.drawer .panel .dclose { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 22px; color: var(--ink); }
.drawer .panel hr { border: none; border-top: 1px solid var(--line-2); margin: 10px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); line-height: .98; }
.hero h1 .hl { color: var(--accent); }
.hero h1 .desktop-break { display: none; }
.hero h1 .no-wrap { white-space: nowrap; }
.hero .lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.hero-proof .stars { color: #F5A623; font-size: 18px; letter-spacing: 1px; }
.hero-proof .pf-num { font-weight: 800; font-family: var(--font-display); }
.hero-proof .pf-txt { font-size: 14.5px; color: var(--muted); }
.hero-proof .vline { width: 1px; height: 34px; background: var(--line); }
.hero-review-link { display: block; border-radius: 12px; transition: opacity .2s ease, transform .2s ease; }
.hero-review-link:hover { opacity: .86; transform: translateY(-1px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #0D1528; }
.hero-slide {
  position: absolute; inset: 0;
  background-image: var(--slide-photo);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s ease, transform 6.8s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1.08); }
@media (max-width: 700px){
  .hero-slide { transition: opacity .75s ease, transform 4.4s ease; }
}

/* hero inline form */
.hero-form { position: relative; width: 100%; max-width: 480px; margin-left: auto; }
.hero-form .badge-float { right: -8px; bottom: -22px; padding: 11px 15px; }
@media (max-width: 880px){ .hero-form { max-width: none; } .hero-form .badge-float { display: none; } }
.badge-float {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.badge-float .bf-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.badge-float .bf-ic svg { width: 22px; height: 22px; }
.badge-float .bf-1 { font-weight: 800; font-family: var(--font-display); font-size: 16px; line-height: 1.1; }
.badge-float .bf-2 { font-size: 12.5px; color: var(--muted); }

/* the redundant "get my free quote" button is hidden when the form is inline */
.hero-quote-btn { display: none; }

/* hero variant: centered (headline centered, quote form directly below) */
:root[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; }
:root[data-hero="centered"] .hero .lead { margin-inline: auto; }
:root[data-hero="centered"] .hero-cta,
:root[data-hero="centered"] .hero-proof { justify-content: center; }
:root[data-hero="centered"] .hero-form { margin: 40px auto 0; max-width: 520px; }
:root[data-hero="centered"] .hero-form .badge-float { display: none; }

/* hero variant: banner (full-bleed photo + dark overlay, form moves to modal) */
:root[data-hero="banner"] .hero-form { display: none; }
:root[data-hero="banner"] .hero-quote-btn { display: inline-flex; }
:root[data-hero="banner"] .hero-grid { grid-template-columns: 1fr; }
:root[data-hero="banner"] .hero {
  background-color: #0D1528;
  background-image: var(--hero-photo, none);
  background-size: cover; background-position: center;
}
:root[data-hero="banner"] .hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,21,40,.95) 0%, rgba(13,21,40,.84) 42%, rgba(13,21,40,.58) 100%),
    linear-gradient(0deg, rgba(13,21,40,.68) 0%, rgba(13,21,40,.16) 48%, rgba(13,21,40,.44) 100%);
}
:root[data-hero="banner"] .hero .eyebrow { color: #fff; opacity: .96; }
:root[data-hero="banner"] .hero .rating-star { color: var(--accent-green); }
:root[data-hero="banner"] .hero .eyebrow::before { background: var(--accent-green); }
:root[data-hero="banner"] .hero h1 {
  max-width: 1060px;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0;
  text-transform: uppercase;
}
:root[data-hero="banner"] .hero h1 .hl { color: var(--accent-green); }
@media (min-width: 1001px){
  :root[data-hero="banner"] .hero h1 .desktop-break { display: block; }
}
:root[data-hero="banner"] .hero h1,
:root[data-hero="banner"] .hero .lead,
:root[data-hero="banner"] .hero .hero-proof .pf-num { color: #fff; }
:root[data-hero="banner"] .hero .hero-proof .pf-txt { color: rgba(255,255,255,.8); }
:root[data-hero="banner"] .hero .hero-proof .vline { background: rgba(255,255,255,.25); }
:root[data-hero="banner"] .hero .btn-ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.66);
}
:root[data-hero="banner"] .hero .btn-ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: #fff;
}
:root[data-hero="banner"] .hero-grid { max-width: 1060px; padding-block: clamp(42px,5.5vw,76px) clamp(64px,8vw,112px); }

/* hero variant: work-preview (portfolio-forward comparison page) */
:root[data-hero="work-preview"] .hero {
  min-height: min(760px, calc(100svh - 72px));
  color: #fff;
  background: #0D1528;
  display: flex;
  flex-direction: column;
}
:root[data-hero="work-preview"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,21,40,.88) 0%, rgba(13,21,40,.7) 34%, rgba(13,21,40,.16) 62%, rgba(13,21,40,0) 100%),
    linear-gradient(0deg, rgba(13,21,40,.56) 0%, rgba(13,21,40,.08) 44%, rgba(13,21,40,.12) 100%);
}
:root[data-hero="work-preview"] .hero-form { display: none; }
:root[data-hero="work-preview"] .hero-quote-btn { display: inline-flex; }
:root[data-hero="work-preview"] .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 4vw, 58px);
  padding-block: clamp(42px, 5.8vw, 74px) clamp(18px, 3vw, 30px);
}
:root[data-hero="work-preview"] .hero-copy {
  max-width: 760px;
  text-shadow: 0 2px 22px rgba(0,0,0,.42);
}
:root[data-hero="work-preview"] .hero .eyebrow { color: #fff; opacity: .96; }
:root[data-hero="work-preview"] .hero .rating-star { color: var(--accent-green); }
:root[data-hero="work-preview"] .hero .eyebrow::before { background: var(--accent-green); }
:root[data-hero="work-preview"] .hero h1 {
  color: #fff;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0;
  text-transform: uppercase;
}
:root[data-hero="work-preview"] .hero h1 .hl { color: var(--accent-green); }
:root[data-hero="work-preview"] .hero .lead { color: rgba(255,255,255,.86); }
:root[data-hero="work-preview"] .hero .hero-proof .pf-num { color: #fff; }
:root[data-hero="work-preview"] .hero .hero-proof .pf-txt { color: rgba(255,255,255,.82); }
:root[data-hero="work-preview"] .hero .hero-proof .vline { background: rgba(255,255,255,.26); }
:root[data-hero="work-preview"] .hero .btn-ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.68);
}
:root[data-hero="work-preview"] .hero .btn-ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: #fff;
}
:root[data-hero="work-preview"] .hero-showcase {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-height: clamp(360px, 35vw, 470px);
}
:root[data-hero="work-preview"] .hero-shot {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.1);
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
}
:root[data-hero="work-preview"] .hero-shot-large { grid-row: 1 / -1; }
:root[data-hero="work-preview"] .hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
:root[data-hero="work-preview"] .hero-shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(0deg, rgba(0,0,0,.62), transparent);
  pointer-events: none;
}
:root[data-hero="work-preview"] .hero-shot figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.12;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
:root[data-hero="work-preview"] .hero-work-strip {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(148px, 13.2vw, 210px);
  gap: 8px;
  padding-bottom: clamp(18px, 3vw, 34px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
:root[data-hero="work-preview"] .hero-work-strip::-webkit-scrollbar { display: none; }
:root[data-hero="work-preview"] .hero-work-link {
  appearance: none;
  position: relative;
  overflow: hidden;
  height: clamp(74px, 6.2vw, 88px);
  min-height: 82px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
@media (hover: hover) and (pointer: fine){
  :root[data-hero="work-preview"] .hero-work-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.78);
  }
}
:root[data-hero="work-preview"] .hero-work-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:root[data-hero="work-preview"] .hero-work-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.66), rgba(0,0,0,.08));
}
:root[data-hero="work-preview"] .hero-work-link span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.56);
}
:root[data-hero="work-preview"] .hero-work-link.is-current {
  border-color: rgba(88,215,123,.95);
  box-shadow: 0 0 0 2px rgba(88,215,123,.2);
}

.project-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}
.project-gallery-modal.open {
  display: grid;
}
.pg-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8,13,27,.82);
  backdrop-filter: blur(8px);
}
.pg-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1080px);
  max-height: min(88svh, 820px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background: #10192E;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}
.pg-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(20,33,60,.76);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.pg-stage {
  position: relative;
  display: grid;
  place-items: center;
  background: #071024;
  overflow: hidden;
  touch-action: pan-y;
}
.pg-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68svh, 650px);
  object-fit: contain;
}
.pg-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 999px;
  background: rgba(20,33,60,.76);
  color: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.pg-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  background: var(--accent);
  border-color: #fff;
}
.pg-arrow svg {
  width: 22px;
  height: 22px;
}
.pg-prev { left: 16px; }
.pg-next { right: 16px; }
.pg-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: #fff;
  color: var(--ink);
}
.pg-title {
  font-family: var(--font-display);
  font-weight: 850;
  font-size: 20px;
  line-height: 1.15;
}
.pg-caption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  margin-top: 3px;
}
.pg-count {
  flex: none;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-soft);
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1001px){
  :root[data-hero="work-preview"] .hero h1 .desktop-break { display: block; }
}

@media (max-width: 880px){
  .hero-grid { grid-template-columns: 1fr; }
  :root[data-hero="work-preview"] .hero {
    min-height: auto;
  }
  :root[data-hero="work-preview"] .hero::after {
    background:
      linear-gradient(180deg, rgba(13,21,40,.78) 0%, rgba(13,21,40,.52) 46%, rgba(13,21,40,.78) 100%),
      linear-gradient(90deg, rgba(13,21,40,.54), rgba(13,21,40,.08));
  }
  :root[data-hero="work-preview"] .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 48px 16px;
  }
  :root[data-hero="work-preview"] .hero-showcase {
    min-height: 340px;
    max-width: 660px;
  }
  :root[data-hero="work-preview"] .hero-work-strip {
    grid-auto-columns: 132px;
    gap: 8px;
    padding-bottom: 20px;
  }
  :root[data-hero="work-preview"] .hero-work-link {
    height: 78px;
  }
}
@media (max-width: 520px){
  :root[data-hero="banner"] .hero-grid { padding-block: 52px 58px; }
  :root[data-hero="banner"] .hero h1 {
    font-size: clamp(30px, 8.45vw, 34px);
    line-height: 1.04;
  }
  :root[data-hero="banner"] .hero .lead {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.55;
  }
  :root[data-hero="banner"] .hero .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  :root[data-hero="banner"] .hero .hero-cta .btn {
    width: 100%;
  }
  :root[data-hero="work-preview"] .hero-grid { padding-block: 42px 14px; }
  :root[data-hero="work-preview"] .hero h1 {
    font-size: clamp(29px, 8.25vw, 34px);
    line-height: 1.04;
  }
  :root[data-hero="work-preview"] .hero .lead {
    margin-top: 18px;
    font-size: 15.5px;
    line-height: 1.55;
  }
  :root[data-hero="work-preview"] .hero .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  :root[data-hero="work-preview"] .hero .hero-cta .btn {
    width: 100%;
  }
  :root[data-hero="work-preview"] .hero-proof {
    display: none;
  }
  :root[data-hero="work-preview"] .hero-showcase {
    display: none;
  }
  :root[data-hero="work-preview"] .hero-work-strip {
    grid-auto-columns: 116px;
  }
  :root[data-hero="work-preview"] .hero-work-link {
    height: 72px;
    min-height: 72px;
  }
  .project-gallery-modal {
    padding: 10px;
  }
  .pg-dialog {
    max-height: 88svh;
  }
  .pg-stage img {
    max-height: min(58svh, 520px);
  }
  .pg-arrow {
    width: 40px;
    height: 40px;
  }
  .pg-prev { left: 10px; }
  .pg-next { right: 10px; }
  .pg-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
  .pg-meta {
    align-items: flex-start;
    padding: 14px;
  }
  .pg-title {
    font-size: 18px;
  }
}

/* ---------- Quote form card ---------- */
.qf-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.qf-head { padding: 22px 26px 18px; border-bottom: 1px solid var(--line-2); background: linear-gradient(180deg, var(--cream), #fff); }
.qf-head .qf-kick { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-deep); }
.qf-head .qf-kick svg { width: 15px; height: 15px; flex: none; }
.qf-head h3 { font-size: 23px; margin-top: 6px; }
.qf-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.qf-progress { display: flex; gap: 6px; margin-top: 16px; }
.qf-progress .seg { height: 5px; flex: 1; border-radius: 4px; background: var(--line); overflow: hidden; }
.qf-progress .seg i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 4px; transition: width .35s ease; }
.qf-progress .seg.done i { width: 100%; }
.qf-progress .seg.cur i { width: 100%; }

.qf-body { padding: 22px 26px 24px; }
.qf-step { display: none; animation: qfIn .3s ease; }
.qf-step.active { display: block; }
@keyframes qfIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qf-q { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.qf-hint { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }

.qf-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qf-opt {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 15px 16px; border: 1.6px solid var(--line); border-radius: var(--r-md);
  background: #fff; transition: border-color .15s, background .15s, transform .1s;
}
.qf-opt:hover { border-color: var(--accent); }
.qf-opt .oic { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); color: var(--accent-deep); display: grid; place-items: center; flex: none; }
.qf-opt .oic svg { width: 22px; height: 22px; }
.qf-opt .otxt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; }
.qf-opt .otxt span { font-size: 12.5px; color: var(--muted); }
.qf-opt .ocheck { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; border: 1.8px solid var(--line); display: grid; place-items: center; }
.qf-opt .ocheck svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.qf-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.qf-opt[aria-pressed="true"] .ocheck { background: var(--accent); border-color: var(--accent); }
.qf-opt[aria-pressed="true"] .ocheck svg { opacity: 1; }

.qf-field { margin-bottom: 14px; }
.qf-field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.qf-field input, .qf-field select, .qf-field textarea {
  width: 100%; height: 50px; padding: 0 14px; font-family: inherit; font-size: 15.5px; color: var(--ink);
  border: 1.6px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.qf-field textarea { height: auto; padding: 12px 14px; min-height: 86px; resize: vertical; }
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.qf-field.err input, .qf-field.err select { border-color: #D6453B; }
.qf-field .ferr { color: #D6453B; font-size: 12.5px; margin-top: 5px; display: none; }
.qf-field.err .ferr { display: block; }
.qf-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-pill { padding: 9px 15px; border-radius: 999px; border: 1.6px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.qf-pill[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }

.qf-nav { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.qf-nav .btn { flex: 1; }
.qf-back { flex: none !important; width: 52px; padding: 0; }
.qf-botcheck { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.qf-status { min-height: 20px; margin-top: 10px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.qf-status.err { color: #D6453B; }
.qf-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.qf-foot span { display: inline-flex; align-items: center; gap: 5px; }
.qf-foot svg { width: 14px; height: 14px; color: var(--accent-deep); }

.qf-success { display: none; text-align: center; padding: 18px 10px 8px; }
.qf-success.show { display: block; animation: qfIn .4s ease; }
.qf-success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 18px; }
.qf-success .tick svg { width: 38px; height: 38px; }
.qf-success h3 { font-size: 26px; }
.qf-success p { color: var(--muted); margin-top: 10px; max-width: 38ch; margin-inline: auto; }
.qf-summary { margin-top: 18px; display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.qf-summary .chip { background: var(--cream); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 8px 12px; }
.trust-item + .trust-item { border-left: 1px solid var(--line-2); }
.trust-item .ti-ic { width: 40px; height: 40px; flex: none; color: var(--accent-deep); }
.trust-item .ti-ic svg { width: 100%; height: 100%; }
.trust-item .ti-1 { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.05; }
.trust-item .ti-2 { font-size: 12.5px; color: var(--muted); }
.trust-link { transition: background .18s ease, color .18s ease; }
.trust-link:hover { background: var(--cream); color: var(--accent-deep); }
.trust + .section { padding-top: clamp(32px, 4.5vw, 68px); }
.trust + .section .section-head { margin-bottom: clamp(24px, 4vw, 44px); }
@media (max-width: 880px){
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .trust-item { justify-content: flex-start; border-left: none !important; border-top: 1px solid var(--line-2); padding: 16px 10px; }
  .trust-link {
    grid-column: 1 / -1;
    order: -1;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 14px;
    padding: 11px 18px;
    border: 1.5px solid var(--line-2) !important;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: var(--shadow-sm);
  }
  .trust-link .ti-ic { width: 26px; height: 26px; color: var(--accent-green); }
  .trust-link .ti-1 { font-size: 15px; }
  .trust-link .ti-2 { font-size: 13px; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2){ border-top: none; }
  .trust-item:nth-child(2n){ border-left: 1px solid var(--line-2) !important; }
  .trust-grid > .trust-item:nth-child(6) { display: none; }
}

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card .ph { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.svc-card .ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .35s ease, transform .55s ease;
}
.svc-card .ph .img-main { opacity: 1; transform: scale(1); }
.svc-card .ph .img-alt { opacity: 0; transform: scale(1.02); }
.svc-card:hover .ph .img-main,
.svc-card:focus-visible .ph .img-main { opacity: 0; transform: scale(1.04); }
.svc-card:hover .ph .img-alt,
.svc-card:focus-visible .ph .img-alt { opacity: 1; transform: scale(1.08); }
.svc-card .ph .svc-photo-slide {
  opacity: 0;
  transform: scale(1.015);
}
.svc-card .ph .svc-photo-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine){
  .svc-card:hover .ph .svc-photo-slide.is-active {
    transform: scale(1.035);
  }
}
.svc-photo-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}
.svc-photo-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  background: rgba(20,33,60,.78);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.svc-photo-btn:hover {
  transform: scale(1.04);
  border-color: #fff;
  background: var(--accent);
}
.svc-photo-btn svg {
  width: 18px;
  height: 18px;
}
.svc-photo-count {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20,33,60,.74);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.svc-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-card .tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.svc-card h3 { font-size: 24px; margin-top: 8px; }
.svc-card p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.svc-card ul.mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc-card ul.mini li { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; }
.svc-card .more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-deep); }
.svc-card .more svg { width: 18px; height: 18px; transition: transform .2s; }
.svc-card:hover .more svg, .svc-card .more:hover svg { transform: translateX(4px); }
@media (max-width: 720px){
  .svc-grid { grid-template-columns: 1fr; }
  .svc-photo-nav { padding-inline: 10px; }
  .svc-photo-btn { width: 38px; height: 38px; }
}

/* ---------- Inline quote ---------- */
.inline-quote {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 520px);
  align-items: start; gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 5vw, 72px);
  padding-top: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line-2);
}
.inline-quote-copy { max-width: 560px; }
.inline-quote-copy h2 { margin-top: 12px; }
.inline-quote-copy .lead { margin-top: 14px; }
.inline-quote-form.qf-card {
  width: 100%;
  border: 2px solid color-mix(in srgb, var(--accent) 34%, var(--line-2));
  box-shadow: 0 0 0 6px var(--accent-soft), var(--shadow-lg);
}
@media (max-width: 900px){
  .inline-quote { grid-template-columns: 1fr; }
  .inline-quote-copy { max-width: 680px; }
}

/* ---------- Work gallery ---------- */
#work { scroll-margin-top: 96px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.work-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}
.work-card.wide { grid-column: span 2; aspect-ratio: 16/9; }
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.work-card:hover img { transform: scale(1.05); }
.work-card figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(13,21,40,.78);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (max-width: 1100px){
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card, .work-card.wide { grid-column: auto; aspect-ratio: 4/3; }
}
@media (max-width: 560px){
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- Feature / why ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.feat {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.feat .fic { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 18px; }
.feat .fic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; }
.feat p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
@media (max-width: 880px){ .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Split feature (image + content) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.2; background: var(--cream-2); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 3.6vw, 42px); }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list li .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-top: 1px; }
.check-list li .ck svg { width: 14px; height: 14px; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; } .split.rev .split-media { order: -1; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); counter-reset: st; }
.step { position: relative; padding-top: 8px; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--accent-deep); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; margin-bottom: 16px; background: #fff; }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.bg-ink .step p { color: rgba(255,255,255,.72); }
.bg-ink .step .num { background: transparent; color: #fff; }
@media (max-width: 880px){ .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rev-top { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 36px; }
.rev-score { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px 26px; box-shadow: var(--shadow-sm); }
.rev-score:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rev-score .big { font-family: var(--font-display); font-weight: 800; font-size: 50px; line-height: 1; color: var(--ink); }
.rev-score .stars { color: #F5A623; font-size: 19px; letter-spacing: 2px; }
.rev-score .sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.rev-score .gmark { width: 26px; height: 26px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rev-card .stars { color: #F5A623; font-size: 15px; letter-spacing: 1px; }
.rev-card p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.rev-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.rev-card .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; flex: none; }
.rev-card .who b { font-size: 14.5px; display: block; }
.rev-card .who span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 980px){ .rev-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: none; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 2vw, 21px); color: var(--ink); }
.faq-q .pm { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.6px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s; }
.faq-q .pm svg { width: 16px; height: 16px; transition: transform .25s; }
.faq-item.open .faq-q .pm { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 4px 24px; color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 70ch; }
.faq-a .inner ol, .faq-a .inner ul { padding-left: 18px; margin-top: 10px; display: grid; gap: 6px; }
.faq-a .inner li { list-style: disc; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px); }
.cta-band::after { content:""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 12px; font-size: 17px; max-width: 46ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Newsletter ---------- */
.news { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--cream); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); }
.news h3 { font-size: clamp(22px, 3vw, 30px); }
.news p { color: var(--muted); margin-top: 8px; }
.news form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }
.news input { flex: 1; height: 54px; padding: 0 16px; border: 1.6px solid var(--line); border-radius: 999px; font-family: inherit; font-size: 15.5px; background: #fff; }
.news input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 80px) 0 36px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 800; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer .fcol ul { display: grid; gap: 11px; font-size: 15px; }
.site-footer .fbrand .roller { color: var(--accent); width: 40px; height: 40px; }
.site-footer .fbrand .wm-1 { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.site-footer .fbrand .wm-1 b { color: var(--accent); }
.site-footer .fbrand p { margin-top: 16px; font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.site-footer .fsoc { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .fsoc a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.site-footer .fsoc a:hover { background: rgba(255,255,255,.08); }
.site-footer .fsoc svg { width: 20px; height: 20px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
@media (max-width: 880px){ .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 30px; } .site-footer .fbrand { grid-column: 1 / -1; } }
@media (max-width: 520px){ .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-2);
  opacity: 0; pointer-events: none; transform: translateY(110%);
  transition: opacity .22s ease, transform .22s ease;
}
.sticky-cta .btn { flex: 1; }
@media (max-width: 1000px){
  .sticky-cta { display: flex; }
  body.has-scrolled { padding-bottom: 76px; }
  body.has-scrolled .sticky-cta { opacity: 1; pointer-events: auto; transform: none; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--cream-2); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; aspect-ratio: 8/3; }
@media (max-width: 720px){ .gallery { grid-template-columns: 1fr 1fr; } .gallery .wide { grid-column: span 2; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto; } }

/* ---------- Modal quote ---------- */
.qmodal { position: fixed; inset: 0; z-index: 70; display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.qmodal.open { display: flex; }
.qmodal .scrim { position: fixed; inset: 0; background: rgba(16,24,33,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.qmodal .qf-card { position: relative; z-index: 1; width: min(560px, 100%); margin: auto; }
.qmodal .qclose { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.85); color: var(--ink); font-size: 20px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
@media (max-width: 540px){ .qf-options { grid-template-columns: 1fr; } .qf-2col { grid-template-columns: 1fr; } }

/* utility */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.hide { display: none !important; }
.pre-line { white-space: pre-line; }

/* ---------- blog ---------- */
.post-head { padding: clamp(40px, 6vw, 72px) 0 clamp(18px, 3vw, 30px); }
.post-head .byline { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14.5px; margin-top: 14px; flex-wrap: wrap; }
.post-head .byline b { color: var(--ink); }
.post-body { max-width: 780px; }
.post-body h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); line-height: 1.15; margin: 38px 0 14px; }
.post-body h3 { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 22px); margin: 28px 0 10px; }
.post-body p, .post-body li { font-size: 17px; line-height: 1.7; color: var(--ink-2, #2b3245); }
.post-body p { margin: 14px 0; }
.post-body ul, .post-body ol { padding-left: 24px; margin: 14px 0; }
.post-body li { margin: 7px 0; }
.post-body a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
.post-body th, .post-body td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; }
.post-body th { background: var(--cream); font-weight: 700; }
.post-body blockquote { border-left: 3px solid var(--accent-deep); margin: 18px 0; padding: 4px 18px; color: var(--muted); }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.post-card { border: 1px solid var(--line-2); border-radius: 12px; padding: 26px; background: #fff; display: block; transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,33,60,.08); }
.post-card .pc-kick { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.post-card h3 { font-family: var(--font-display); margin: 10px 0 8px; font-size: 20px; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.post-card .pc-date { margin-top: 14px; font-size: 13.5px; color: var(--muted-2); }
