/* =========================================================
   AMM PAINTER LLC — Premium painter site
   Mobile-first. Vanilla CSS. No frameworks.
   ========================================================= */

:root {
  /* Palette — pulled directly from the AMM PAINTER LLC logo:
     deep charcoal black, burgundy/wine brushstroke,
     rose-bronze (copper) letters, warm cream tail. */
  --bg: #f3ebdd;             /* warm champagne / cream */
  --bg-2: #ece2d0;
  --bg-ink: #0c0b0c;         /* logo black */
  --bg-ink-2: #161214;
  --surface: #ffffff;
  --surface-soft: rgba(12, 11, 12, 0.04);
  --ink: #141014;
  --ink-soft: rgba(20, 16, 20, 0.72);
  --line: rgba(20, 16, 20, 0.14);
  --line-soft: rgba(20, 16, 20, 0.08);

  --on-dark: #f1e4d0;        /* logo cream */
  --on-dark-soft: rgba(241, 228, 208, 0.74);
  --line-dark: rgba(241, 228, 208, 0.16);

  --accent: #c08964;         /* rose bronze (logo letters) */
  --accent-deep: #8b5a3c;
  --accent-soft: rgba(192, 137, 100, 0.16);

  --burgundy: #7d1d35;       /* logo brushstroke wine */
  --burgundy-deep: #58101f;
  --burgundy-soft: rgba(125, 29, 53, 0.16);

  --gold: #c7a86b;
  --star: #d9a93b;

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --step--1: clamp(.82rem, .79rem + .15vw, .9rem);
  --step-0:  clamp(.95rem, .9rem + .22vw, 1.05rem);
  --step-1:  clamp(1.08rem, 1rem + .4vw, 1.28rem);
  --step-2:  clamp(1.28rem, 1.1rem + .9vw, 1.75rem);
  --step-3:  clamp(1.65rem, 1.25rem + 1.8vw, 2.55rem);
  --step-4:  clamp(2.15rem, 1.45rem + 3.3vw, 4rem);
  --step-5:  clamp(2.85rem, 1.6rem + 5.4vw, 6.4rem);

  /* Spacing */
  --space-1: .35rem;  --space-2: .5rem;   --space-3: .75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-7: 2rem;    --space-8: 2.75rem; --space-9: 3.5rem; --space-10: 5rem;

  --radius:    20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow:       0 18px 45px rgba(0,0,0,.08);
  --shadow-soft:  0 24px 80px rgba(0,0,0,.16);
  --shadow-strong:0 30px 90px rgba(0,0,0,.28);
}

/* -----------  Reset / base  ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; max-width: 62ch; }

.wrap { width: min(100% - 2rem, 1180px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 3rem, 1180px); } }

section { padding: 3.5rem 1rem; }
@media (min-width: 768px) { section { padding: 5.5rem 1.5rem; } }
@media (min-width: 1024px){ section { padding: 7rem 2rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.hero-cinematic .eyebrow,
.section-dark .eyebrow { color: var(--on-dark-soft); }

/* -----------  Header  ----------- */
.header {
  position: sticky; top: 0; z-index: 60;
  min-height: 68px;
  padding: .65rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem;
  background: rgba(13, 16, 14, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(244, 239, 228, 0.06);
  color: var(--on-dark);
}
.header.is-light {
  background: rgba(246, 241, 232, 0.86);
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

.logo-wrap {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: inherit; min-width: 0;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #0c0b0c url('assets/logo.png') center / contain no-repeat;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(241, 228, 208, 0.08), 0 6px 18px rgba(125, 29, 53, 0.28);
  /* hide the letter fallback now that we have the real mark */
  font-size: 0;
  color: transparent;
  overflow: hidden;
}
.header.is-light .logo-mark {
  background-color: #0c0b0c;
  box-shadow: inset 0 0 0 1px rgba(12, 11, 12, 0.18), 0 6px 18px rgba(125, 29, 53, 0.18);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.logo-text em {
  font-style: italic;
  color: var(--accent);
}

.nav-desktop {
  display: none;
  gap: .25rem;
  align-items: center;
}
.nav-desktop a {
  padding: .55rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  opacity: .82;
  border-radius: 999px;
  transition: opacity .2s, background .2s;
}
.nav-desktop a:hover { opacity: 1; background: rgba(255,255,255,.06); }
.header.is-light .nav-desktop a:hover { background: rgba(0,0,0,.05); }
.nav-desktop a.active { opacity: 1; color: var(--accent); }

.header-tools {
  display: inline-flex; align-items: center; gap: .5rem;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.header.is-light .lang-toggle {
  background: rgba(0,0,0,.05);
  border-color: var(--line);
}
.lang-toggle button {
  border: 0; background: transparent;
  color: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .35rem .65rem;
  border-radius: 999px;
  opacity: .6;
  transition: all .2s;
}
.lang-toggle button.active {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}

.menu-btn {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: inherit;
  border-radius: 12px;
}
.header.is-light .menu-btn {
  background: rgba(0,0,0,.04);
  border-color: var(--line);
}
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 880px) {
  .menu-btn { display: none; }
  .nav-desktop { display: inline-flex; }
}

.mobile-nav {
  position: fixed;
  top: 78px; left: 1rem; right: 1rem;
  z-index: 70;
  padding: .85rem;
  display: none;
  gap: .25rem;
  border-radius: 22px;
  background: rgba(13, 16, 14, 0.92);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(244, 239, 228, 0.1);
  box-shadow: var(--shadow-strong);
  color: var(--on-dark);
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  min-height: 50px;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--font-display);
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  letter-spacing: -.01em;
}
.mobile-nav a:hover { background: rgba(255,255,255,.06); }
.mobile-nav a .arrow { opacity: .35; }
.mobile-nav .nav-cta {
  margin-top: .4rem;
  background: var(--burgundy);
  color: #f1e4d0;
  justify-content: center;
}

/* -----------  Buttons  ----------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  min-height: 52px;
  padding: .95rem 1.4rem;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  cursor: pointer;
  width: 100%;
}
@media (min-width: 540px) { .btn { width: auto; } }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--burgundy);
  color: #f1e4d0;
  box-shadow: 0 14px 36px rgba(125, 29, 53, 0.36);
}
.btn-primary:hover { background: var(--burgundy-deep); box-shadow: 0 18px 44px rgba(125, 29, 53, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(244,239,228,.24);
}
.btn-ghost:hover { background: rgba(244,239,228,.06); border-color: rgba(244,239,228,.4); }

.section-light .btn-ghost { color: var(--ink); border-color: var(--line); }
.section-light .btn-ghost:hover { background: var(--surface-soft); border-color: var(--ink); }

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

.btn-arrow::after {
  content: '→';
  font-family: var(--font-display);
  font-style: italic;
  transition: transform .25s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(4px); }

.cta-row { display: grid; gap: .65rem; width: 100%; }
@media (min-width: 540px) {
  .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; width: auto; }
}

/* -----------  Floating WhatsApp roller CTA  -----------
   Shaped like a real paint roller (fleece on top, J-frame, grip on bottom).
   The whole roller strokes UP-DOWN as if painting a wall, leaving a
   soft burgundy paint streak that follows its motion. */
.roller-cta {
  position: fixed;
  z-index: 90;
  right: 1.5rem;
  bottom: 1.75rem;
  width: 90px;
  height: 150px;
  display: block;
  text-decoration: none;
  color: inherit;
}
.roller-cta__svg {
  position: relative;
  z-index: 3;
  width: 90px;
  height: 118px;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45));
  animation: rollerStroke 2.6s ease-in-out infinite;
  transform-origin: 60px 90px; /* pivot near the grip — head moves more than handle */
}
.roller-cta__streak {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 78px;
  height: 110px;
  z-index: 1;
  border-radius: 39px;
  background: linear-gradient(180deg,
    rgba(125, 29, 53, 0.0)  0%,
    rgba(125, 29, 53, 0.55) 18%,
    rgba(125, 29, 53, 0.85) 50%,
    rgba(125, 29, 53, 0.55) 82%,
    rgba(125, 29, 53, 0.0) 100%);
  mix-blend-mode: multiply;
  filter: blur(.4px);
  opacity: .85;
  animation: streakStroke 2.6s ease-in-out infinite;
  pointer-events: none;
}
.roller-cta__label {
  position: absolute;
  right: calc(100% + 14px);
  top: 38px;
  transform: translateX(8px);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: rgba(12, 11, 12, .82);
  padding: .55rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(241, 228, 208, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.roller-cta:hover .roller-cta__svg,
.roller-cta:focus-visible .roller-cta__svg {
  animation-play-state: paused;
  transform: scale(1.05);
}
.roller-cta:hover .roller-cta__label,
.roller-cta:focus-visible .roller-cta__label {
  opacity: 1;
  transform: translateX(0);
}

/* Up-down "painting" stroke. The pivot is near the grip so the fleece
   travels further than the handle — like a hand pushing the head. */
@keyframes rollerStroke {
  0%   { transform: translateY(0)    rotate(0deg); }
  25%  { transform: translateY(-9px) rotate(-1.5deg); }
  50%  { transform: translateY(0)    rotate(0deg); }
  75%  { transform: translateY(9px)  rotate(1.5deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}
@keyframes streakStroke {
  0%, 100% { transform: translateX(-50%) scaleY(.85); opacity: .6; }
  50%      { transform: translateX(-50%) scaleY(1.05); opacity: .95; }
}

@media (max-width: 720px) {
  .roller-cta {
    right: 1rem;
    bottom: 1.25rem;
    width: 72px;
    height: 118px;
  }
  .roller-cta__svg { width: 72px; height: 94px; }
  .roller-cta__streak { width: 60px; height: 88px; top: 18px; }
  .roller-cta__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .roller-cta__svg,
  .roller-cta__streak { animation: none; }
}

/* -----------  Snake border (premium emphasis)  ----------- */
.premium-snake {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
}
.premium-snake::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 268deg,
    rgba(255,255,255,.18) 280deg,
    var(--accent) 320deg,
    #ffd9b8 360deg
  );
  animation: snakeSpin 5s linear infinite;
}
.premium-snake::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-bg, #14181a);
}
@keyframes snakeSpin { to { transform: rotate(1turn); } }

/* -----------  Cinematic hero  ----------- */
.hero-cinematic {
  position: relative;
  min-height: 92svh;
  padding: 0;
  display: grid;
  align-items: start;
  overflow: hidden;
  background: var(--bg-ink);
  color: var(--on-dark);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg-canvas {
  width: 100%; height: 100%;
  transform: scale(1.1);
  animation: kenBurnsPremium 22s ease-in-out infinite alternate;
  background:
    /* warm tonal wash + real painter photo */
    linear-gradient(105deg, rgba(12, 11, 12, 0.78) 0%, rgba(20, 12, 16, 0.55) 38%, rgba(20, 12, 16, 0.18) 70%, rgba(20, 12, 16, 0.05) 100%),
    linear-gradient(180deg, rgba(125, 29, 53, 0.10), rgba(12, 11, 12, 0.18)),
    url('assets/hero-bg.jpg') center right / cover no-repeat;
  filter: saturate(.96);
}
.hero-bg::after {
  /* canvas-grain noise — pseudo via repeating-radial */
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* dark zone needs to be wider now that CTAs sit in a right column */
    linear-gradient(95deg,
      rgba(12, 11, 12, 0.88) 0%,
      rgba(12, 11, 12, 0.82) 45%,
      rgba(12, 11, 12, 0.62) 60%,
      rgba(12, 11, 12, 0.22) 75%,
      rgba(12, 11, 12, 0.02) 88%),
    linear-gradient(180deg, rgba(12,11,12,.18) 0%, rgba(12,11,12,.05) 35%, rgba(12,11,12,.55) 100%);
  pointer-events: none;
}
@keyframes kenBurnsPremium {
  0%   { transform: scale(1.1)  translate3d(-1.6%, -1.4%, 0); }
  100% { transform: scale(1.2)  translate3d( 1.6%,  1.4%, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 980px;
  margin-right: auto;
}
@media (min-width: 880px) {
  .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "cta"
      "search"
      "trust";
    row-gap: 0;
    align-items: start;
    /* Keep ALL hero content tightly within the left portion of the viewport */
    max-width: min(640px, 46vw);
  }
  .hero-content .eyebrow { grid-area: eyebrow; }
  .hero-content h1       { grid-area: title; }
  .hero-content .lead    { grid-area: lead; max-width: 46ch; }
  .hero-content .type-search {
    grid-area: search;
    max-width: 100%;
    margin-top: 1rem;
  }
  .hero-content .cta-row {
    grid-area: cta;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    width: 100%;
  }
  .hero-content .cta-row .btn {
    flex: 1 1 200px;
    width: auto;
    padding: .85rem 1.2rem;
    min-height: 50px;
    font-size: .95rem;
  }
  .hero-content .hero-trust { grid-area: trust; max-width: 100%; }
}
/* Pin the hero text flush to the left of the viewport (override wrap centering). */
.hero-cinematic > .wrap.hero-content {
  width: auto;
  margin-inline: 0;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  padding-right: 1rem;
  padding-top: 4.25rem;
  padding-bottom: clamp(2.5rem, 7vh, 4rem);
  box-sizing: border-box;
}
.hero-content .eyebrow { margin-bottom: 1.1rem; }
.hero-cinematic h1 {
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  line-height: .94;
  letter-spacing: -0.045em;
  margin: 0 0 1.2rem;
  font-weight: 400;
  color: var(--on-dark);
}
.hero-cinematic h1 em {
  font-style: italic;
  color: var(--burgundy);
  font-weight: 400;
  /* Keep the burgundy hue but lift it off the dark backdrop with a soft
     cream halo + tight bronze inner glow. */
  text-shadow:
    0 0 1px rgba(241, 228, 208, 0.55),
    0 0 14px rgba(241, 228, 208, 0.22),
    0 2px 22px rgba(192, 137, 100, 0.35);
  -webkit-text-stroke: 0.4px rgba(241, 228, 208, 0.45);
}
.hero-cinematic h1 .softline {
  display: block;
  font-size: .58em;
  font-style: italic;
  font-weight: 300;
  color: var(--on-dark-soft);
  letter-spacing: -.02em;
  margin-top: .5rem;
}
.hero-cinematic .lead {
  max-width: 540px;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  line-height: 1.62;
  color: var(--on-dark-soft);
  margin-bottom: 1.6rem;
}
.hero-cinematic .cta-row { margin-bottom: 1.4rem; }

/* Typewriter search bar */
.type-search {
  width: 100%;
  max-width: 540px;
  min-height: 58px;
  padding: .55rem .55rem .55rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-radius: 999px;
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  text-decoration: none;
}
.type-search__icon {
  width: 22px; flex: 0 0 auto;
  opacity: .55;
  font-size: 1.1rem;
}
.type-search__text {
  min-width: 0; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: .98rem;
  font-weight: 400;
  letter-spacing: -.005em;
  color: rgba(255,255,255,.92);
}
.type-search__cursor {
  display: inline-block;
  width: 2px; height: 1.25em;
  background: var(--accent);
  margin-left: -.5rem;
  margin-right: .25rem;
  animation: cursorBlink 900ms steps(2) infinite;
}
.type-search__send {
  width: 46px; height: 46px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  flex: 0 0 auto;
  transition: background .2s, transform .25s;
}
.type-search__send:hover { background: var(--accent-deep); transform: scale(1.06); }
@keyframes cursorBlink { 50% { opacity: 0; } }

/* Trust row at the bottom of hero */
.hero-trust {
  position: relative;
  z-index: 2;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(244,239,228,.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  max-width: 880px;
}
@media (min-width: 720px) { .hero-trust { grid-template-columns: repeat(4, 1fr); } }
.hero-trust .t {
  font-size: .78rem;
  color: var(--on-dark-soft);
  line-height: 1.4;
}
.hero-trust .t strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--on-dark);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: .15rem;
}

/* -----------  Section: dark / light variants  ----------- */
.section-dark {
  background: var(--bg-ink);
  color: var(--on-dark);
}
.section-light {
  background: var(--bg);
  color: var(--ink);
}
.section-cream {
  background: var(--bg-2);
  color: var(--ink);
}
.section-ink-soft {
  background: var(--bg-ink-2);
  color: var(--on-dark);
}

.section-head {
  display: grid;
  gap: .9rem;
  margin-bottom: 2.5rem;
  max-width: 760px;
}
.section-head h2 {
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -.035em;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
}
.section-dark .section-head p,
.section-ink-soft .section-head p { color: var(--on-dark-soft); }

/* -----------  Promise / statement strip  ----------- */
.promise {
  padding: 3rem 1rem;
  background: var(--bg-ink-2);
  color: var(--on-dark);
  border-top: 1px solid rgba(244,239,228,.06);
  border-bottom: 1px solid rgba(244,239,228,.06);
}
.promise .wrap {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 880px) {
  .promise .wrap { grid-template-columns: 1fr auto; }
}
.promise p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -.02em;
  line-height: 1.18;
  max-width: 30ch;
  color: var(--on-dark);
}
.promise p em { color: var(--accent); font-style: italic; }
.promise .sig {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* -----------  Services preview (statement → list)  ----------- */
.services-statement {
  padding: 5rem 1rem 1rem;
  background: var(--bg);
}
.services-statement .wrap {
  display: grid;
  gap: 1.25rem;
  max-width: 920px;
}
.services-statement h2 {
  font-size: clamp(2.3rem, 6.5vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.services-statement h2 em { font-style: italic; color: var(--accent); }

.services-list {
  background: var(--bg);
  padding: 1rem 1rem 5rem;
}
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding .3s;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-left: .5rem; }
.svc-row:hover .svc-arrow { transform: translateX(4px); color: var(--accent); }
.svc-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--ink-soft);
  padding-top: .55rem;
  min-width: 36px;
}
.svc-body { display: grid; gap: .45rem; }
.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.svc-title em { font-style: italic; color: var(--accent); }
.svc-desc { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; max-width: 60ch; }
.svc-tags {
  display: flex; flex-wrap: wrap; gap: .35rem .55rem;
  margin-top: .25rem;
}
.svc-tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.svc-tag::before { content: '•'; margin-right: .5rem; opacity: .5; }
.svc-tag:first-child::before { display: none; }
.svc-arrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-soft);
  padding-top: .35rem;
  transition: transform .3s, color .3s;
}
@media (min-width: 768px) {
  .svc-row { grid-template-columns: auto 1fr auto; }
}

/* -----------  Process (numbered, calm)  ----------- */
.process-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.step {
  padding: 1.6rem 1.4rem 1.8rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
  display: grid;
  gap: .65rem;
}
.step .n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.015em;
}
.step p { font-size: .92rem; line-height: 1.55; color: var(--on-dark-soft); }

/* -----------  Proof / reviews  ----------- */
.proof-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 720px)  { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.review {
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  align-content: start;
  box-shadow: var(--shadow);
}
.section-dark .review,
.section-ink-soft .review {
  background: rgba(255,255,255,.03);
  border-color: var(--line-dark);
  box-shadow: none;
}
.stars {
  display: inline-flex; gap: 2px;
  color: var(--star);
  font-size: .95rem;
  letter-spacing: 1px;
}
.review-body {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -.005em;
}
.section-dark .review-body,
.section-ink-soft .review-body { color: var(--on-dark); }
.review-meta {
  font-size: .82rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: .6rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line-soft);
}
.section-dark .review-meta,
.section-ink-soft .review-meta { color: var(--on-dark-soft); border-color: var(--line-dark); }
.review-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--accent-deep));
  color: #f1e4d0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
}

/* -----------  Gallery preview / grid  ----------- */
.gallery-mosaic {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .gallery-mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
    gap: 1rem;
  }
  .gm-a { grid-column: span 4; grid-row: span 2; }
  .gm-b { grid-column: span 2; grid-row: span 1; }
  .gm-c { grid-column: span 2; grid-row: span 1; }
  .gm-d { grid-column: span 3; grid-row: span 2; }
  .gm-e { grid-column: span 3; grid-row: span 2; }
}
.gm-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  background: var(--bg-ink-2);
  isolation: isolate;
}
.gm-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(244,239,228,.5);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.gm-art::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.03) 0 12px,
      rgba(0,0,0,.06)       12px 24px);
}
/* color-keyed tiles for variety */
.gm-a .gm-art { background: linear-gradient(155deg, #1a0e13, #3a141f 55%, #5b1424); }
.gm-b .gm-art { background: linear-gradient(155deg, #1d1816, #2a201c); }
.gm-c .gm-art { background: linear-gradient(155deg, #2a1410, #58101f); }
.gm-d .gm-art { background: linear-gradient(155deg, #1a1416, #2d2026); }
.gm-e .gm-art { background: linear-gradient(155deg, #3a1820, #1a0e13); }
.gm-f .gm-art { background: linear-gradient(155deg, #2a1c14, #1a1410); }
.gm-cap {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  z-index: 2;
  color: var(--on-dark);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
}
.gm-cap h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.015em;
}
.gm-cap span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .6;
}

/* -----------  Service area panel  ----------- */
.area-panel {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg-ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  color: var(--on-dark);
}
@media (min-width: 880px) {
  .area-panel { grid-template-columns: 1.1fr 1fr; padding: 3.5rem 3rem; gap: 3rem; align-items: center; }
}
.area-panel h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -.025em;
}
.area-panel h2 em { font-style: italic; color: var(--accent); }
.area-panel .areas {
  display: grid; gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--on-dark);
}
.area-panel .areas li {
  list-style: none;
  padding-left: 1.2rem;
  position: relative;
}
.area-panel .areas li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.area-panel .areas-note {
  font-family: var(--font-body);
  font-size: .85rem;
  font-style: normal;
  color: var(--on-dark-soft);
  margin-top: .9rem;
  letter-spacing: 0;
}

/* -----------  FAQ  ----------- */
.faq-list { display: grid; gap: .5rem; max-width: 880px; }
.faq {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0;
}
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -.015em;
  padding: .25rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  flex: 0 0 auto;
  transition: transform .3s;
}
.faq[open] summary::after { content: '×'; transform: rotate(0deg); }
.faq .answer {
  margin-top: .85rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 64ch;
}

/* -----------  Final CTA  ----------- */
.final-cta {
  padding: 5rem 1rem 6rem;
  background: var(--bg-ink);
  color: var(--on-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(125, 29, 53, 0.28), transparent 55%),
    radial-gradient(circle at 20% 110%, rgba(192, 137, 100, 0.16), transparent 50%);
  pointer-events: none;
}
.final-cta .wrap { position: relative; z-index: 1; max-width: 760px; }
.final-cta h2 {
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
.final-cta h2 em { font-style: italic; color: var(--accent); }
.final-cta p {
  color: var(--on-dark-soft);
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  margin: 0 auto 2rem;
  max-width: 52ch;
}
.final-cta .cta-row { justify-content: center; }

/* -----------  Footer  ----------- */
.footer {
  background: #08090a;
  color: var(--on-dark-soft);
  padding: 3.5rem 1rem 2rem;
  font-size: .9rem;
  border-top: 1px solid rgba(244,239,228,.06);
}
.footer .wrap { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }
.footer h4 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { color: inherit; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer .brand-block .logo-wrap { color: var(--on-dark); margin-bottom: 1rem; }
.footer .brand-block p { color: var(--on-dark-soft); max-width: 34ch; line-height: 1.6; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244,239,228,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .78rem;
  color: var(--on-dark-soft);
}
.footer-bottom a:hover { color: var(--accent); }

/* -----------  Inner-page hero (lighter, shorter)  ----------- */
.page-hero {
  padding: 7rem 1rem 4rem;
  background: var(--bg-ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(125, 29, 53, 0.28), transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(192, 137, 100, 0.14), transparent 50%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; max-width: 880px; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
  margin-bottom: 1.1rem;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lead {
  color: var(--on-dark-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 56ch;
}

/* -----------  Detailed services (sub-page)  ----------- */
.svc-detail {
  padding: 4rem 1rem;
}
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail.alt { background: var(--bg-2); }
.svc-detail .wrap {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .svc-detail .wrap { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
  .svc-detail.flip .wrap { direction: rtl; }
  .svc-detail.flip .wrap > * { direction: ltr; }
}
.svc-detail .meta {
  display: grid; gap: .85rem;
  align-content: start;
  position: sticky;
  top: 90px;
}
.svc-detail .meta .num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.svc-detail h2 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.02;
}
.svc-detail h2 em { font-style: italic; color: var(--accent); }
.svc-detail .meta p { color: var(--ink-soft); max-width: 38ch; }
.svc-detail .meta .price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  font-style: italic;
  margin-top: .5rem;
}
.svc-detail .meta .price strong {
  font-weight: 500; font-style: normal;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: .2rem;
}
.svc-detail .features {
  display: grid; gap: 1.1rem;
}
.svc-detail .features h3 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 0;
}
.svc-detail .features ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .85rem;
}
.svc-detail .features li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: .75rem;
  align-items: start;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .98rem;
  line-height: 1.55;
}
.svc-detail .features li::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--accent);
  margin-top: .85em;
}
.svc-detail .features li strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -.015em;
  margin-bottom: .15rem;
}
.svc-detail .features li span { color: var(--ink-soft); font-size: .9rem; }
.svc-detail .actions { margin-top: 1rem; }

/* -----------  About-page split  ----------- */
.story {
  padding: 5rem 1rem;
}
.story .wrap {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .story .wrap { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.story h2 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.story h2 em { font-style: italic; color: var(--accent); }
.story p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 60ch;
}
.story p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-style: italic;
  color: var(--accent);
  float: left;
  line-height: .9;
  padding-right: .6rem;
  padding-top: .35rem;
}

.values {
  display: grid;
  gap: 1.2rem;
  margin-top: 3rem;
}
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid; gap: .5rem;
}
.value h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -.01em;
}
.value p { font-size: .94rem; color: var(--ink-soft); }

/* -----------  Contact page  ----------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
}

.field {
  display: grid;
  gap: .4rem;
  margin-bottom: 1.15rem;
}
.field label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  min-height: 52px;
  padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-row {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: .92rem;
  display: none;
}
.form-status.ok { display: block; background: rgba(120, 160, 100, .14); color: #2c4220; border: 1px solid rgba(120, 160, 100, .3); }
.form-status.err { display: block; background: rgba(184, 60, 60, .12); color: #6b1f1f; border: 1px solid rgba(184, 60, 60, .3); }

.contact-aside {
  padding: 2rem;
  background: var(--bg-ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1.4rem;
}
.contact-aside h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -.02em;
}
.contact-aside h3 em { font-style: italic; color: var(--accent); }
.contact-item {
  display: grid; gap: .25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-dark);
}
.contact-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-item .lbl {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.contact-item .val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--on-dark);
  text-decoration: none;
}
.contact-item a.val:hover { color: var(--accent); }

/* -----------  Scroll reveal  ----------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* -----------  Reduced motion  ----------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg-canvas { transform: scale(1.1); }
  .reveal { opacity: 1; transform: none; }
}


/* =====================  BEFORE / AFTER SLIDER  ===================== */
.before-after-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 29, 53, .18), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(192, 137, 100, .14), transparent 30%),
    linear-gradient(180deg, #100d0d 0%, #171213 48%, #f5efe5 48%, #f5efe5 100%);
  padding: clamp(4.75rem, 9vw, 7.5rem) 0;
}

.before-after-wrap {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.before-after-copy {
  color: #fff8ef;
  max-width: 520px;
}

.before-after-copy .eyebrow {
  color: rgba(241, 228, 208, .82);
}

.before-after-copy h2 {
  margin: .65rem 0 1rem;
  font-family: var(--display, 'Fraunces', serif);
  font-size: clamp(2.45rem, 7vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.before-after-copy h2 em {
  color: #c08964;
  font-style: italic;
  font-weight: 400;
}

.before-after-copy p {
  color: rgba(255, 248, 239, .74);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  max-width: 440px;
}

.comparison-card {
  position: relative;
  border-radius: clamp(22px, 4vw, 38px);
  padding: clamp(.55rem, 1.5vw, .85rem);
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.23);
  box-shadow: 0 34px 100px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
}

.comparison-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(241,228,208,.75), rgba(192,137,100,.18), rgba(125,29,53,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.comparison-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1448 / 1086;
  border-radius: clamp(18px, 3vw, 30px);
  background: #171213;
  isolation: isolate;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.comparison-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.comparison-before-reveal {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  clip-path: inset(0 0 0 calc(100% - var(--position, 0%)));
}

.comparison-before-reveal .comparison-img,
.comparison-img--after-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-handle {
  position: absolute;
  inset-block: 0;
  left: var(--position, 50%);
  transform: translateX(-50%);
  z-index: 5;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.comparison-line {
  position: absolute;
  inset-block: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.92), transparent);
  box-shadow: 0 0 22px rgba(0,0,0,.55);
}

.comparison-knob {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff8ef;
  font-weight: 800;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, rgba(125,29,53,.95), rgba(192,137,100,.94));
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.32);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-label {
  position: absolute;
  top: clamp(.75rem, 2vw, 1.1rem);
  z-index: 4;
  padding: .52rem .72rem;
  border-radius: 999px;
  background: rgba(16,13,13,.62);
  color: #fff8ef;
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(10px);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.comparison-label--before { left: clamp(.75rem, 2vw, 1.1rem); }
.comparison-label--after { right: clamp(.75rem, 2vw, 1.1rem); }

@media (max-width: 860px) {
  .before-after-section {
    background:
      radial-gradient(circle at 50% 0%, rgba(125, 29, 53, .22), transparent 42%),
      linear-gradient(180deg, #100d0d 0%, #171213 60%, #f5efe5 60%, #f5efe5 100%);
  }

  .before-after-wrap {
    grid-template-columns: 1fr;
  }

  .before-after-copy {
    text-align: center;
    margin-inline: auto;
  }

  .before-after-copy p {
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .comparison-card {
    border-radius: 22px;
    padding: .45rem;
  }
  .comparison-media {
    border-radius: 18px;
  }
  .comparison-knob {
    width: 46px;
    height: 46px;
  }
}


/* =========================================================
   Portfolio updates — V4
   ========================================================= */
.home-work-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.home-work-card {
  grid-column: span 3;
  position: relative;
  display: block;
  min-height: 220px;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #121115;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.home-work-card.home-work-wide { grid-column: span 6; }
.home-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.home-work-card::after,
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 28%, rgba(10,10,12,.78) 100%);
  pointer-events: none;
}
.home-work-card:hover img,
.portfolio-shot:hover img { transform: scale(1.03); }
.home-work-cap {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: .38rem;
}
.home-work-cap h4,
.portfolio-meta h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
}
.project-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .38rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: #f3ede8;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.portfolio-section {
  padding-top: 0;
}
.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.portfolio-intro h2 {
  margin: .55rem 0 0;
}
.portfolio-intro h2 em {
  color: var(--accent);
  font-style: italic;
}
.portfolio-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.portfolio-card {
  position: relative;
  display: grid;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #121115;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.portfolio-shot {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  min-height: 280px;
}
.portfolio-shot img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.portfolio-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: .42rem;
  pointer-events: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(10,10,12,.84);
  padding: 1.25rem;
  z-index: 2500;
}
.lightbox.open { display: grid; }
.lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100vh - 4rem);
  display: grid;
  gap: .75rem;
  justify-items: center;
}
.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  border-radius: 1rem;
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.lightbox-caption {
  margin: 0;
  color: rgba(255,255,255,.84);
  text-align: center;
  font-size: .95rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2600;
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 980px) {
  .home-work-card { grid-column: span 6; }
  .home-work-card.home-work-wide { grid-column: span 12; }
  .portfolio-intro,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-intro {
    gap: 1rem;
    margin-bottom: 1.4rem;
  }
}
@media (max-width: 720px) {
  .home-work-grid,
  .portfolio-grid,
  .portfolio-intro {
    grid-template-columns: 1fr;
  }
  .home-work-card,
  .home-work-card.home-work-wide { grid-column: span 12; min-height: 235px; }
  .portfolio-shot,
  .portfolio-shot img { min-height: 250px; }
  .home-work-cap,
  .portfolio-meta { left: .85rem; right: .85rem; bottom: .85rem; }
  .portfolio-intro p { max-width: none; }
}


/* =========================================================
   Thank you page — V6
   ========================================================= */
.thank-you-hero {
  min-height: 68vh;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(125,29,53,.24), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(192,137,100,.18), transparent 35%),
    #0c0b0c;
  color: var(--on-dark);
}
.thank-you-wrap {
  max-width: 820px;
}
.thank-you-wrap .lead {
  max-width: 54ch;
  color: var(--on-dark-soft);
}
.thank-you-card {
  max-width: 760px;
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,18,18,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}
.thank-you-card h2 {
  margin: .65rem 0 .7rem;
}
.thank-you-card p {
  margin: 0;
  color: var(--muted);
}


/* V7 before/after alignment fix: images remain static; slider only clips the before layer. */
.comparison-after { display: none; }

/* V8 readability fix — keep Before/After copy on a dark readable surface on mobile/tablet. */
.before-after-copy {
  position: relative;
  z-index: 3;
}
.before-after-copy p {
  color: rgba(255, 248, 239, .9);
  text-shadow: 0 2px 14px rgba(0,0,0,.42);
}
.before-after-copy h2 span {
  color: #fff8ef;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

@media (max-width: 860px) {
  .before-after-section {
    background:
      radial-gradient(circle at 50% 0%, rgba(125, 29, 53, .26), transparent 42%),
      linear-gradient(180deg, #100d0d 0%, #171213 72%, #f5efe5 72%, #f5efe5 100%);
  }
  .before-after-copy {
    width: min(100%, 560px);
    padding: clamp(1.2rem, 5vw, 2rem);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(16,13,13,.96), rgba(23,18,19,.88));
    border: 1px solid rgba(241,228,208,.16);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .before-after-copy .eyebrow {
    color: rgba(241, 228, 208, .9);
  }
  .before-after-copy h2 {
    margin-bottom: 1rem;
  }
  .before-after-copy h2 span {
    color: #fff8ef;
  }
  .before-after-copy h2 em {
    color: #d6a27c;
    text-shadow: 0 2px 18px rgba(0,0,0,.32);
  }
  .before-after-copy p {
    color: rgba(255, 248, 239, .88);
    text-shadow: none;
  }
}

@media (max-width: 520px) {
  .before-after-section {
    padding-top: 3.5rem;
  }
  .before-after-copy {
    text-align: left;
    border-radius: 22px;
  }
  .before-after-copy h2 {
    font-size: clamp(2.55rem, 13.8vw, 4.2rem);
  }
  .before-after-copy p {
    font-size: 1rem;
    line-height: 1.62;
  }
}


/* V10: Before/After slider visibility + readable copy fix.
   - Cache-busted image filenames are used in HTML.
   - The AFTER/result photo is the base layer.
   - The BEFORE/original photo is clipped on top from the left.
   - Text is always inside a dark premium card so it never disappears on the light split background. */
.before-after-copy {
  position: relative;
  z-index: 5;
  padding: clamp(1.25rem, 3vw, 2.1rem) !important;
  border-radius: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(145deg, rgba(16, 13, 13, .98), rgba(28, 19, 20, .94)) !important;
  border: 1px solid rgba(241, 228, 208, .18);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.before-after-copy .eyebrow {
  color: rgba(241, 228, 208, .94) !important;
}

.before-after-copy h2 {
  margin-bottom: 1.05rem !important;
}

.before-after-copy h2 span {
  color: #fff8ef !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.before-after-copy h2 em {
  color: #d6a27c !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.34);
}

.before-after-copy p {
  color: #fff8ef !important;
  opacity: .96;
  text-shadow: none !important;
  font-weight: 500;
}

/* Explicit stacking: after/result is the static base, before/original clips over it. */
.comparison-img--after-base {
  z-index: 1;
}

.comparison-before-reveal {
  z-index: 2 !important;
  will-change: clip-path;
}

.comparison-before-reveal .comparison-img {
  z-index: 2;
}

/* Force the slider to reveal, not resize. */
.comparison-img,
.comparison-before-reveal .comparison-img,
.comparison-img--after-base {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.comparison-range {
  z-index: 7;
}

.comparison-handle,
.comparison-label {
  z-index: 6;
}

@media (max-width: 860px) {
  .before-after-copy {
    padding: clamp(1.2rem, 5vw, 2rem) !important;
  }
  .before-after-copy p {
    color: #fff8ef !important;
  }
}


/* V11 slider + copy correction */
.before-after-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(125, 29, 53, .18), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(192, 137, 100, .14), transparent 30%),
    linear-gradient(180deg, #100d0d 0%, #171213 74%, #f5efe5 74%, #f5efe5 100%) !important;
}
.before-after-wrap {
  align-items: start;
}
.before-after-copy {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-top: clamp(1rem, 3vw, 2rem);
  max-width: 560px;
}
.before-after-copy .eyebrow {
  color: #d7b38d !important;
}
.before-after-copy h2 {
  margin: .8rem 0 1.05rem !important;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: .96;
  max-width: 12ch;
}
.before-after-copy h2 span {
  display: block;
  color: #fff8ef !important;
}
.before-after-copy h2 em {
  display: block;
  color: #c98a62 !important;
  font-style: italic;
}
.before-after-copy p {
  color: #d8cfc2 !important;
  max-width: 28ch;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.7;
  font-weight: 500;
}
.comparison-before-reveal {
  clip-path: inset(0 0 0 calc(100% - var(--position, 0%))) !important;
}
/* Desktop: paragraph lands in the cream zone — use dark ink so it reads. */
@media (min-width: 861px) {
  .before-after-copy p {
    color: #3d2214 !important;
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .before-after-section {
    background:
      radial-gradient(circle at 50% 0%, rgba(125, 29, 53, .24), transparent 42%),
      linear-gradient(180deg, #100d0d 0%, #171213 74%, #f5efe5 74%, #f5efe5 100%) !important;
  }
  .before-after-copy {
    margin-top: 0;
    max-width: 100%;
  }
  .before-after-copy h2 {
    max-width: 100%;
  }
  .before-after-copy p {
    max-width: 100%;
    color: rgba(255, 248, 239, .88) !important;
    opacity: 1;
  }
}

/* Slide-to-reveal hint pill */
.comparison-hint {
  position: absolute;
  bottom: clamp(.85rem, 2.5vw, 1.2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: .42rem .88rem;
  border-radius: 999px;
  background: rgba(16, 13, 13, .72);
  color: #fff8ef;
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.comparison-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(5px);
}


/* V15 mobile floating roller fix — always visible on every page */
.roller-cta {
  position: fixed !important;
  right: max(14px, env(safe-area-inset-right)) !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  z-index: 2147483000 !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.roller-cta__svg,
.roller-cta__streak {
  pointer-events: none;
}
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }
  .roller-cta {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    right: calc(12px + env(safe-area-inset-right)) !important;
    bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    width: 74px !important;
    height: 120px !important;
  }
  .roller-cta__svg {
    width: 74px !important;
    height: 97px !important;
  }
  .roller-cta__streak {
    width: 62px !important;
    height: 90px !important;
    top: 18px !important;
  }
}
