/* ═══════════════════════════════════════════════════════════════════
   Carter's Property Renovations — "Bring your property back to life"
   ═══════════════════════════════════════════════════════════════════
   Premium, dark-first design for a large renovation company. Deep
   charcoal ink + molten gold accent, warm plaster light sections.
   Syne (display) + Figtree (body) — both unused by any other template
   on the platform, per the every-template-looks-different rule.

   The recurring brand motif is a heartbeat pulse line (CPR — bringing
   property back to life): it appears in the logo mark, as an animated
   self-drawing divider under section headings, and across the footer.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #14161b;   /* page background, darkest */
  --ink-2:      #1b1e25;   /* raised surface */
  --ink-3:      #232733;   /* higher surface / hover */
  --plaster:    #f5f3ee;   /* warm light section background */
  --limestone:  #eae6dd;   /* light section alt / borders on light */
  --text:       #edebe5;   /* text on dark */
  --muted:      rgba(237, 235, 229, .6);
  --ink-text:   #26282e;   /* text on light */
  --muted-on-light: #66686f;

  --gold:       #c9a35c;   /* primary accent — molten gold */
  --gold-light: #e2c286;
  --gold-deep:  #a67f36;
  --gold-glow:  rgba(201, 163, 92, .32);
  --gold-dim:   rgba(201, 163, 92, .13);

  --line:       rgba(237, 235, 229, .1);
  --line-med:   rgba(237, 235, 229, .18);
  --line-on-light: rgba(38, 40, 46, .12);

  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
  --shadow-gold: 0 12px 40px -12px var(--gold-glow);
  --ease: cubic-bezier(.22, .61, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .5, 1);

  --header-h: 86px;
}

/* ─── Base ─── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-glow); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }

.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
.container--wide { width: min(1360px, 100% - 3rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); padding: .6rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ─── Buttons ─── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.9rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon--arrow-right { transform: translateX(4px); }

.btn--primary { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 55%, var(--gold) 100%); color: #1c1608; box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -12px var(--gold-glow); }

/* sheen sweep across the gold on hover — one pass, not a loop */
.btn--primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn--primary:hover::after { transition: transform .7s var(--ease); transform: translateX(110%); }

.btn--ghost { border-color: var(--line-med); color: var(--text); background: rgba(237, 235, 229, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.on-light .btn--ghost, .btn--ghost.btn--on-light { border-color: var(--line-on-light); color: var(--ink-text); background: transparent; }
.on-light .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.btn--sm { padding: .68rem 1.35rem; font-size: .92rem; }

/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(20, 22, 27, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__mark-wrap {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line-med); border-radius: 12px;
  background: linear-gradient(160deg, rgba(201, 163, 92, .16), rgba(201, 163, 92, .02));
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.brand:hover .brand__mark-wrap { border-color: var(--gold); box-shadow: 0 0 24px -6px var(--gold-glow); transform: translateY(-1px); }
.brand__mark { width: 26px; height: 26px; color: var(--gold-light); }
.brand__name-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .14em; color: var(--text); }
.brand__tag { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.main-nav { display: flex; gap: 1.9rem; }
.main-nav a { position: relative; font-weight: 600; font-size: .98rem; color: var(--muted); padding: .4rem 0; transition: color .3s var(--ease); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: right .35s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.icon-btn {
  display: none; place-items: center; width: 46px; height: 46px;
  background: rgba(237, 235, 229, .05); border: 1px solid var(--line-med); border-radius: 12px;
  color: var(--text); cursor: pointer; transition: border-color .3s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); }

.mobile-nav {
  display: none; flex-direction: column; gap: .35rem;
  padding: 1rem 1.5rem 1.4rem;
  background: rgba(20, 22, 27, .97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.mobile-nav a:not(.btn) { padding: .7rem .4rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.mobile-nav a.is-active { color: var(--gold-light); }
.mobile-nav .btn { margin-top: 1rem; justify-content: center; }
.mobile-nav.is-open { display: flex; }

/* ─── Pulse line motif ─── */
.pulse-line { display: block; width: 132px; height: 28px; color: var(--gold); margin: 1.1rem 0 0; }
.pulse-line .icon { width: 100%; height: 100%; }
.pulse-line svg path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.in-view .pulse-line svg path, .pulse-line.in-view svg path { animation: pulse-draw 1.4s var(--ease) .25s forwards; }
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }
.pulse-line--center { margin-inline: auto; }

/* ─── Sections ─── */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--light { background: var(--plaster); color: var(--ink-text); }
.section--light .icon { color: inherit; }
.section--raised { background: var(--ink-2); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.section--light .section-head p { color: var(--muted-on-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); opacity: .7; }
.section-head--center .eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--gold); opacity: .7; }

/* ─── Hero ─── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 clamp(3.5rem, 8vh, 6rem);
  isolation: isolate; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: hero-kenburns 26s var(--ease) forwards; }
@keyframes hero-kenburns { from { transform: scale(1.12) translateY(-1.2%); } to { transform: scale(1.0) translateY(0); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 22, 27, .62) 0%, rgba(20, 22, 27, .18) 38%, rgba(20, 22, 27, .82) 78%, var(--ink) 100%),
    linear-gradient(75deg, rgba(20, 22, 27, .72) 0%, transparent 55%);
}
.hero__content { max-width: 780px; }
.hero__title { font-size: clamp(2.6rem, 6.6vw, 4.9rem); font-weight: 800; letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--gold-light); position: relative; white-space: nowrap; }
.hero__lede { margin-top: 1.4rem; max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(237, 235, 229, .82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* staggered word-by-word rise on load (words wrapped by main.js) */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .w > span { display: inline-block; transform: translateY(110%); animation: word-rise .8s var(--ease) forwards; animation-delay: calc(.12s + var(--wi, 0) * .06s); }
@keyframes word-rise { to { transform: translateY(0); } }
.hero__lede, .hero__cta, .hero__meta { opacity: 0; animation: hero-fade .9s var(--ease) forwards; }
.hero__lede { animation-delay: .55s; } .hero__cta { animation-delay: .72s; } .hero__meta { animation-delay: .9s; }
@keyframes hero-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-med); }
.hero__meta-item { display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: var(--muted); font-weight: 500; }
.hero__meta-item .icon { color: var(--gold); }

.hero__scroll {
  position: absolute; right: 2.2rem; bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: var(--muted); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ''; width: 1px; height: 54px; background: linear-gradient(180deg, var(--gold), transparent); animation: scroll-drip 2.2s var(--ease) infinite; }
@keyframes scroll-drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ─── Reveal on scroll ─── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--left.in-view, .reveal--right.in-view { transform: none; }

/* ─── Stats band (count-up) ─── */
.stats-band { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 2.4rem 1.4rem; text-align: center; position: relative;
}
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold-light); display: inline-flex; align-items: baseline; }
.stat__suffix { color: var(--gold); }
.stat__label { margin-top: .3rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ─── Cards (spotlight hover) ─── */
.card {
  position: relative; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 50%), var(--gold-dim), transparent 65%);
  transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 163, 92, .45); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

/* ─── Service teaser cards (home) ─── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc-card { padding: 2.1rem 1.9rem; display: flex; flex-direction: column; gap: .9rem; }
.svc-card__icon {
  display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 14px; border: 1px solid var(--line-med);
  background: linear-gradient(160deg, var(--gold-dim), transparent);
  color: var(--gold-light); font-size: 1.45rem;
  transition: transform .45s var(--ease-spring), border-color .35s var(--ease);
}
.svc-card:hover .svc-card__icon { transform: translateY(-4px) rotate(-4deg); border-color: var(--gold); }
.svc-card h3 { font-size: 1.32rem; }
.svc-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-card__link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .95rem; color: var(--gold-light); }
.svc-card__link .icon { transition: transform .35s var(--ease); }
.svc-card:hover .svc-card__link .icon { transform: translateX(5px); }

/* ─── Image frame with gold corner accents ─── */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame__corner { position: absolute; width: 46px; height: 46px; z-index: 2; color: var(--gold); pointer-events: none; }
.frame__corner::before, .frame__corner::after { content: ''; position: absolute; background: currentColor; }
.frame__corner::before { width: 100%; height: 2px; }
.frame__corner::after { width: 2px; height: 100%; }
.frame__corner--tl { top: 14px; left: 14px; }
.frame__corner--br { right: 14px; bottom: 14px; transform: rotate(180deg); }

/* ─── Split feature (image + copy) ─── */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { min-height: 380px; }
.split__media .frame { height: 100%; }
.split__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.split__copy > p { margin-top: 1.1rem; color: var(--muted); }
.section--light .split__copy > p { color: var(--muted-on-light); }

.ticklist { margin-top: 1.6rem; display: grid; gap: .85rem; list-style: none; }
.ticklist li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.ticklist .icon { color: var(--gold); margin-top: .22em; flex: none; }

/* ─── Process timeline ─── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.process-step { position: relative; padding: 2rem 1.7rem; counter-increment: step; }
.process-step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 163, 92, .4);
}
.process-step h3 { font-size: 1.18rem; margin-bottom: .6rem; padding-right: 3rem; }
.process-step p { font-size: .95rem; color: var(--muted); }
.section--light .process-step p { color: var(--muted-on-light); }
.section--light .process-step { background: #fff; border-color: var(--line-on-light); }

/* ─── Accreditations marquee ─── */
.accred { padding: 2.2rem 0; border-block: 1px solid var(--line); overflow: hidden; }
.accred__track { display: flex; gap: 4.5rem; width: max-content; animation: accred-drift 36s linear infinite; }
.accred[data-offscreen] .accred__track { animation-play-state: paused; }
.accred__item { display: flex; align-items: center; gap: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.accred__item .icon { color: var(--gold); }
@keyframes accred-drift { to { transform: translateX(-50%); } }

/* ─── CTA banner ─── */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(2.8rem, 6vw, 4.5rem); text-align: center; background: linear-gradient(140deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-med); }
.cta-banner::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at 30% 20%, var(--gold-dim), transparent 45%), radial-gradient(circle at 75% 85%, rgba(201, 163, 92, .1), transparent 40%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; max-width: 640px; margin-inline: auto; }
.cta-banner p { margin: 1rem auto 0; max-width: 520px; color: var(--muted); }
.cta-banner .btn { margin-top: 2rem; }

/* ─── Services page ─── */
.svc-jump { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.svc-jump a {
  padding: .55rem 1.15rem; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem;
  border: 1px solid var(--line-med); color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.svc-jump a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.svc-cat { padding-top: 1rem; }
.svc-cat + .svc-cat { margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-cat__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.6rem; }
.svc-cat__head .icon { width: 1.7rem; height: 1.7rem; color: var(--gold); flex: none; }
.svc-cat__head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.svc-cat__head::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.svc-rows { display: grid; gap: 1rem; }
.svc-row {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; align-items: center;
  padding: 1.5rem 1.8rem;
}
.svc-row h3 { font-size: 1.16rem; }
.svc-row p { grid-column: 1; color: var(--muted); font-size: .97rem; max-width: 62ch; }
.svc-row__price { grid-row: 1 / span 2; align-self: center; text-align: right; }
.svc-row__price strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--gold-light); white-space: nowrap; }
.svc-row__price span { font-size: .82rem; color: var(--muted); }

.pricing-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.6rem 1.9rem; border: 1px dashed var(--line-med); border-radius: var(--radius); color: var(--muted); font-size: .95rem; }
.pricing-note strong { color: var(--text); }

/* ─── Page hero (inner pages) ─── */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(2.8rem, 6vw, 4.5rem); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px circle at 85% 0%, var(--gold-dim), transparent 55%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 800; max-width: 760px; position: relative; }
.page-hero p { margin-top: 1.2rem; max-width: 620px; color: var(--muted); font-size: 1.12rem; position: relative; }

/* ─── Contact page ─── */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: grid; gap: 1rem; }
.contact-tile { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 1.6rem; }
.contact-tile .icon { color: var(--gold); width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.contact-tile h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.contact-tile p, .contact-tile a { color: var(--muted); font-size: .97rem; }
.contact-tile a:hover { color: var(--gold-light); }

.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.1rem;
  background: var(--ink-2); border: 1px solid var(--line-med); border-radius: var(--radius-sm);
  color: var(--text); font: inherit;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-dim); background: var(--ink-3);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='m1 1 6 6 6-6' stroke='%23c9a35c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }

.form-status { border-radius: var(--radius-sm); padding: 1rem 1.3rem; font-weight: 600; }
.form-status--ok { background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .4); color: #86efac; }
.form-status--err { background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); color: #fca5a5; }

/* ─── About page extras ─── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card { padding: 2rem 1.8rem; }
.value-card .icon { width: 1.9rem; height: 1.9rem; color: var(--gold); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.value-card p { color: var(--muted); font-size: .96rem; }
.section--light .value-card { background: #fff; }
.section--light .value-card p { color: var(--muted-on-light); }

/* ─── Featured project teaser (home) — simple before/after peek ─── */
.feature-project { position: relative; }
.ba-peek { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.ba-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-peek__before { clip-path: inset(0 calc(100% - var(--peek, 32%)) 0 0); filter: saturate(.55) contrast(.92); }
.ba-peek__divider { position: absolute; top: 0; bottom: 0; left: var(--peek, 32%); width: 2px; background: var(--gold); z-index: 2; box-shadow: 0 0 18px var(--gold-glow); }
.ba-peek__tag { position: absolute; z-index: 3; top: 1rem; padding: .35rem .8rem; border-radius: var(--radius-pill); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(20, 22, 27, .78); backdrop-filter: blur(6px); border: 1px solid var(--line-med); }
.ba-peek__tag--before { left: 1rem; }
.ba-peek__tag--after { right: 1rem; color: var(--gold-light); border-color: rgba(201, 163, 92, .5); }

/* ═══ Footer ═══ */
.site-footer { background: #101218; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; position: relative; }
.footer-pulse { display: flex; justify-content: center; margin-bottom: 2.5rem; color: var(--gold); opacity: .6; }
.footer-pulse .icon { width: 180px; height: 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-about p { margin-top: 1.2rem; color: var(--muted); font-size: .97rem; max-width: 40ch; }
.footer-col h4 { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col nav { display: grid; gap: .55rem; }
.footer-col nav a, .footer-contact { color: var(--muted); font-size: .97rem; transition: color .3s var(--ease); }
.footer-col nav a:hover { color: var(--gold-light); }
.footer-contact { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.footer-contact .icon { color: var(--gold); }
a.footer-contact:hover { color: var(--gold-light); }

.footer-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.footer-credit { text-align: center; }
.credit-link { color: var(--gold-light); font-weight: 600; }
.credit-link:hover { text-decoration: underline; }
.footer-legal { display: flex; gap: 1.2rem; justify-content: flex-end; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold-light); }
.footer-fineprint { margin-top: 1.4rem; font-size: .8rem; color: rgba(237, 235, 229, .38); }

/* ─── Legal pages ─── */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { padding-left: 1.3rem; margin-top: .6rem; }

/* ─── Utility ─── */
.hide-sm { }
.text-center { text-align: center; }

/* ═══ Responsive ═══ */
@media (max-width: 1020px) {
  .svc-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .icon-btn { display: grid; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 1.8rem 1rem; }
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .split__media { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --header-h: 72px; }
  .brand__name { font-size: 1.25rem; }
  .brand__tag { font-size: .58rem; }
  .brand__mark-wrap { width: 40px; height: 40px; }
  .hide-sm { display: none !important; }
  .svc-grid, .values-grid, .process { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; padding: 1.3rem 1.4rem; }
  .svc-row__price { grid-row: auto; text-align: left; margin-top: .3rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar { grid-template-columns: 1fr; text-align: center; gap: .5rem; }
  .footer-legal { justify-content: center; }
  .footer-credit { order: 3; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg img { animation: none; }
  .hero__title .w > span { animation: none; transform: none; }
  .hero__lede, .hero__cta, .hero__meta { animation: none; opacity: 1; }
  .hero__scroll::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-line svg path { stroke-dashoffset: 0 !important; animation: none !important; }
  .accred__track { animation: none; }
  .btn, .card, .frame img, .svc-card__icon { transition: none; }
}
