/* ==========================================================
   Pine & Pixel — styles
   Palette: deep pine greens + warm cream/sand neutrals
   ========================================================== */

:root {
  --green-950: #0b261b;
  --green-900: #0f3324;
  --green-800: #123f2c;
  --green-700: #174a34;
  --green-600: #1d5c40;   /* main accent */
  --green-500: #2a7352;
  --green-200: #cfe3d6;
  --green-100: #e5efe8;
  --green-50:  #f1f6f2;

  --cream:   #faf6ee;
  --cream-2: #f5efe3;
  --sand:    #eadfca;
  --gold:    #d9b87c;
  --gold-soft: #f2e4c6;

  --ink:      #15221b;
  --ink-soft: #3c4a42;
  --muted:    #67736c;
  --line:     #e7dfd0;
  --white:    #ffffff;

  --rust:      #b65a3c;
  --rust-soft: #f6e3da;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(21, 34, 27, .05), 0 2px 8px rgba(21, 34, 27, .04);
  --shadow-md: 0 2px 4px rgba(21, 34, 27, .04), 0 14px 34px -12px rgba(18, 63, 44, .18);
  --shadow-lg: 0 40px 80px -30px rgba(11, 38, 27, .45), 0 12px 24px -12px rgba(11, 38, 27, .25);

  --container: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-800); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 30; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.section { padding: 112px 0; position: relative; }
.section-head { max-width: 640px; margin: 0 auto 56px; }
.section-intro { font-size: 1.125rem; color: var(--muted); margin-bottom: 0; text-wrap: pretty; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .7; }
.center .eyebrow::after, .section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .7; }
.eyebrow-light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-600); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--fg); background: var(--bg);
  border: 1.5px solid transparent; border-radius: 999px;
  cursor: pointer; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--green-500), var(--green-600)); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 24px -10px rgba(29, 92, 64, .7); }
.btn-primary:hover { color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 16px 30px -12px rgba(29, 92, 64, .8); }
.btn-cream { background: var(--cream); color: var(--green-800); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.btn-cream:hover { background: #fff; color: var(--green-900); }
.btn-ghost-light { background: rgba(255,255,255,.04); color: var(--cream); border-color: rgba(250, 246, 238, .28); }
.btn-ghost-light:hover { color: #fff; border-color: rgba(250,246,238,.6); background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-200); }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-800); background: var(--green-50); }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 51, 36, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(250, 246, 238, .07);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(11, 38, 27, .92); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.logo:hover { color: #fff; }
.logo-mark { width: 38px; height: 38px; color: var(--cream); --logo-pixel: var(--gold); flex: none; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: -0.01em; font-variation-settings: "opsz" 40; }
.logo-text .amp { font-style: italic; font-weight: 400; color: var(--gold); padding: 0 1px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: rgba(250, 246, 238, .78); font-size: .95rem; font-weight: 500; position: relative; padding: 6px 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(250,246,238,.2); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(217, 184, 124, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(42, 115, 82, .45), transparent 60%),
    linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 70%, #16492f 100%);
  color: rgba(250, 246, 238, .82);
  padding: 84px 0 0;
  margin-top: -76px; padding-top: calc(76px + 84px);
}
.hero::before { /* subtle grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-glow { position: absolute; width: 520px; height: 520px; right: 6%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(217,184,124,.22), transparent 65%); filter: blur(10px); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-bottom: 200px; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.35rem);
  line-height: 1.04; letter-spacing: -0.028em; font-weight: 600;
  font-variation-settings: "opsz" 144;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero .lead { font-size: 1.22rem; line-height: 1.6; max-width: 520px; color: rgba(250, 246, 238, .8); margin-bottom: 36px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217,184,124,.2); }
.hero .eyebrow::before { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; color: rgba(250,246,238,.72); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Hero art: browser + phone mock */
.hero-art { position: relative; height: 440px; }
.device-browser {
  position: absolute; left: 0; top: 20px; width: 92%;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transform-origin: left center;
  animation: floatA 8s ease-in-out infinite;
}
.chrome { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #f3efe7; border-bottom: 1px solid #ebe5d9; }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e1d9ca; }
.chrome i:nth-child(1) { background: #eb8f7a; } .chrome i:nth-child(2) { background: #eec46d; } .chrome i:nth-child(3) { background: #8cc49c; }
.chrome-url { margin-left: 12px; flex: 1; max-width: 260px; background: #fff; border-radius: 999px; padding: 3px 12px; font-size: .72rem; color: #8a8f88; font-family: var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-body { padding: 18px 22px 22px; }
.hb-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hb-logo { width: 70px; height: 12px; border-radius: 6px; background: var(--green-700); }
.hb-links { display: flex; gap: 10px; margin-left: auto; }
.hb-links b { width: 34px; height: 7px; border-radius: 4px; background: #e2ddd2; }
.hb-cta { width: 60px; height: 22px; border-radius: 999px; background: var(--green-600); }
.hb-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; margin-bottom: 22px; }
.hb-line { display: block; height: 9px; border-radius: 5px; background: #e6e1d6; margin-bottom: 9px; }
.hb-line.dark { height: 15px; background: var(--ink); margin-bottom: 10px; border-radius: 6px; }
.hb-line.thin { height: 7px; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.hb-btn { display: block; width: 92px; height: 26px; border-radius: 999px; background: linear-gradient(180deg, var(--green-500), var(--green-600)); margin-top: 16px; }
.hb-pic svg { width: 100%; height: auto; border-radius: 10px; }
.hb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hb-cards span { height: 54px; border-radius: 10px; background: var(--cream-2); border: 1px solid #efe8da; }
.device-phone {
  position: absolute; right: 0; bottom: 0; width: 168px; height: 330px;
  background: #101a15; border-radius: 30px; padding: 10px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1);
  animation: floatB 7s ease-in-out infinite;
}
.ph-notch { position: absolute; top: 14px; left: 50%; width: 52px; height: 14px; margin-left: -26px; background: #101a15; border-radius: 10px; z-index: 2; }
.ph-body { background: #fff; border-radius: 22px; height: 100%; padding: 38px 14px 14px; overflow: hidden; }
.ph-body .hb-line.dark { height: 11px; }
.ph-body .hb-btn { width: 80px; height: 22px; margin: 12px 0 14px; }
.ph-pic { height: 80px; border-radius: 12px; background: linear-gradient(160deg, #e8f0ea, #b9d3c1); margin-bottom: 12px; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(250, 246, 238, .96); color: var(--green-900);
  font-size: .86rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.55);
}
.chip-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green-600); color: #fff; font-size: .75rem; }
.chip-1 { left: -26px; top: 250px; animation: floatB 6s ease-in-out infinite; }
.chip-2 { right: 120px; top: -8px; animation: floatA 7s ease-in-out infinite .6s; }
.chip-3 { left: 34%; bottom: -6px; animation: floatA 6.5s ease-in-out infinite 1.2s; }
@keyframes floatA { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes floatB { 0%,100% { translate: 0 0; } 50% { translate: 0 7px; } }

.treeline { position: absolute; left: 0; right: 0; bottom: -1px; height: 190px; z-index: 1; pointer-events: none; }
.treeline svg { width: 100%; height: 100%; }

/* ---------- Problems ---------- */
.problems { padding-top: 72px; }
.problems-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.problems-head { position: sticky; top: 120px; }
.problems-head h2 { font-size: clamp(2.4rem, 1.6rem + 2.8vw, 3.6rem); }
.problems-close { margin-top: 28px; font-size: 1.15rem; color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: 1.35rem; }
.problems-close strong { font-style: normal; color: var(--green-600); font-weight: 600; }
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.problem-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.problem-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: #e3d3c4; }
.problem-list strong { display: block; color: var(--ink); font-size: 1.08rem; font-weight: 600; margin-bottom: 2px; }
.problem-list span:not(.p-ic) { color: var(--muted); }
.p-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--rust-soft); color: var(--rust); }
.p-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Before / After ---------- */
.before-after { background: var(--white); }
.ba {
  max-width: 1040px; margin: 0 auto;
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(21,34,27,.06);
}
.ba-chrome { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #f3efe7; border-bottom: 1px solid #e8e1d3; }
.ba-chrome i { width: 11px; height: 11px; border-radius: 50%; }
.ba-chrome i:nth-child(1) { background: #eb8f7a; } .ba-chrome i:nth-child(2) { background: #eec46d; } .ba-chrome i:nth-child(3) { background: #8cc49c; }
.ba-chrome .chrome-url { max-width: 340px; margin: 0 auto; text-align: center; transform: translateX(-24px); }

.ba-stage {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 9.4;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; overflow: hidden; font-size: calc(100cqw / 62); }
.ba-layer.new { clip-path: inset(0 0 0 var(--pos)); }
.ba-layer.old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

/* The old site — intentionally ugly */
.old {
  background-color: #ffff99;
  background-image:
    radial-gradient(#ffcc00 1.2px, transparent 1.3px),
    radial-gradient(#ff99cc 1.2px, transparent 1.3px);
  background-size: 1.4em 1.4em; background-position: 0 0, .7em .7em;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive;
  color: #000;
}
.old-wrap { padding: 1em; height: 100%; }
.old-title {
  font-family: "Times New Roman", Times, serif; font-weight: bold; font-size: 2.3em; text-align: center;
  color: #ff0000; text-shadow: 2px 2px 0 #0000ff; background: #00ffff; border: .2em ridge #888; padding: .25em; letter-spacing: .02em;
}
.old-marquee { overflow: hidden; white-space: nowrap; background: #000080; color: #ffff00; font-weight: bold; font-family: Arial, sans-serif; font-size: 1.05em; padding: .3em 0; margin: .5em 0; border: 2px outset #ccc; }
.old-marquee span { display: inline-block; padding-left: 2em; animation: marquee 22s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.old-cols { display: grid; grid-template-columns: 12em 1fr; gap: .7em; }
.old-side { background: #c0c0c0; border: .25em outset #eee; padding: .6em; font-family: "Times New Roman", serif; font-size: 1.15em; }
.old-side-h { background: #800080; color: #fff; text-align: center; font-weight: bold; margin-bottom: .4em; }
.old-side a { display: block; color: #0000ee; text-decoration: underline; line-height: 1.6; }
.old-side a:nth-child(4) { color: #551a8b; }
.old-badge { margin-top: .8em; font-size: .7em; text-align: center; background: #fff; border: 1px dashed #000; padding: .3em; font-family: Arial, sans-serif; }
.old-main { background: #ffffff; border: .25em inset #ddd; padding: .7em .9em; font-size: .92em; line-height: 1.3; }
.old-main p { margin: 0 0 .6em; }
.old-construct { background: repeating-linear-gradient(45deg, #ffcc00 0 .8em, #000 .8em 1.6em); color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; text-align: center; font-weight: bold; padding: .35em; margin-bottom: .6em; font-family: Impact, "Arial Black", sans-serif; font-size: 1.35em; letter-spacing: .05em; }
.old-row { display: flex; gap: .6em; margin: .6em 0; }
.old-img { flex: 1; height: 6.5em; border: 2px solid #999; background: #eee; display: flex; align-items: flex-start; gap: .3em; padding: .3em; font-family: Arial, sans-serif; font-size: .85em; color: #555; }
.old-img span { color: #c00; font-weight: bold; border: 1px solid #c00; line-height: 1; padding: 0 .2em; }
.old-small { font-size: .8em; color: #ff00ff; font-style: italic; }
.old-counter { display: inline-block; background: #000; color: #0f0; font-family: "Courier New", monospace; padding: .2em .5em; font-size: .9em; border: 2px inset #666; }
.old-counter b { letter-spacing: .15em; }

/* The new site — calm and modern */
.new { background: #fffaf5; font-family: var(--font-body); color: #3a2e2a; }
.new-nav { display: flex; align-items: center; gap: 2em; padding: 1.6em 3em; }
.new-logo { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-display); font-weight: 600; font-size: 1.45em; color: #3a2420; }
.new-logo i { width: 1.2em; height: 1.2em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f3a497, #d9705f); }
.new-links { display: flex; gap: 2em; margin-left: auto; font-size: 1em; color: #6d5b55; font-weight: 500; }
.new-cta { background: #3a2420; color: #fff; padding: .7em 1.3em; border-radius: 999px; font-weight: 600; font-size: .95em; }
.new-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.2em; align-items: center; padding: 1.2em 3em 2em; }
.new-kicker { display: inline-block; font-size: .85em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #c0614f; background: #fbe7df; padding: .45em 1em; border-radius: 999px; margin-bottom: 1.1em; }
.new-h { font-family: var(--font-display); font-weight: 600; font-size: 3.2em; line-height: 1.04; letter-spacing: -0.025em; color: #2b1a17; margin-bottom: .45em; font-variation-settings: "opsz" 144; }
.new-p { font-size: 1.2em; line-height: 1.55; color: #6d5b55; margin-bottom: 1.4em; max-width: 28em; }
.new-btns { display: flex; gap: .8em; }
.new-btn { background: #d9705f; color: #fff; font-weight: 600; padding: .85em 1.5em; border-radius: 999px; font-size: 1.05em; box-shadow: 0 .6em 1.4em -.6em rgba(217,112,95,.8); }
.new-btn.alt { background: transparent; color: #3a2420; box-shadow: inset 0 0 0 1.5px #e5d3cb; }
.new-pic svg { width: 100%; height: auto; border-radius: 1.2em; box-shadow: 0 1.6em 3em -1.6em rgba(150,80,60,.5); }
.new-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; padding: 0 3em; }
.new-cards div { background: #fff; border: 1px solid #f1e5dd; border-radius: 1em; padding: 1.1em 1.3em; box-shadow: 0 .4em 1.2em -.6em rgba(120,70,50,.25); }
.new-cards b { display: block; font-family: var(--font-display); font-size: 1.2em; color: #2b1a17; font-weight: 600; }
.new-cards span { font-size: .95em; color: #8a7670; }

/* slider controls */
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 24px rgba(0,0,0,.25); pointer-events: none; z-index: 3; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(0,0,0,.4), 0 0 0 6px rgba(255,255,255,.35); transition: transform .25s var(--ease); }
.ba-handle svg { width: 24px; height: 24px; fill: none; stroke: var(--green-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-stage:hover .ba-handle span { transform: scale(1.08); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.ba-tag { position: absolute; top: 16px; z-index: 3; padding: 7px 14px; border-radius: 999px; font: 600 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); }
.ba-tag-before { left: 16px; background: rgba(21, 34, 27, .88); color: #fff; }
.ba-tag-after { right: 16px; background: var(--green-600); color: #fff; }

.ba-compare { max-width: 1040px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col { padding: 26px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.ba-col.good { background: var(--green-50); border-color: var(--green-100); }
.ba-col h3 { margin-bottom: 14px; }
.ba-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ba-col li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.ba-col li::before { content: "✕"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; background: var(--rust-soft); color: var(--rust); }
.ba-col.good li::before { content: "✓"; background: var(--green-100); color: var(--green-600); font-size: .8rem; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 600 .74rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.tag-before { background: var(--ink); color: #fff; }
.tag-after { background: var(--green-600); color: #fff; }

/* ---------- Makeover gallery ---------- */
.work {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(42,115,82,.45), transparent 65%),
    radial-gradient(700px 380px at 95% 100%, rgba(217,184,124,.12), transparent 60%),
    linear-gradient(170deg, var(--green-800), var(--green-950));
  color: rgba(250,246,238,.8);
  overflow: hidden;
}
.work h2 { color: var(--cream); }
.work .section-intro { color: rgba(250,246,238,.74); }
.mk-hint { display: block; margin-top: 6px; font-size: .95rem; color: rgba(250,246,238,.55); }
.mk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.mk {
  --pos: 50%;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mk:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.mk-bar { display: flex; align-items: center; gap: 7px; padding: 9px 10px 9px 16px; background: #f3efe7; border-bottom: 1px solid #e8e1d3; }
.mk-bar > i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mk-bar > i:nth-child(1) { background: #eb8f7a; } .mk-bar > i:nth-child(2) { background: #eec46d; } .mk-bar > i:nth-child(3) { background: #8cc49c; }
.mk-toggle { margin-left: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: #e7e0d2; }
.mk-toggle button {
  border: 0; background: transparent; cursor: pointer;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .02em; color: #6b6a62;
  padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s, box-shadow .2s;
}
.mk-toggle button:hover { color: var(--green-800); }
.mk-toggle button[aria-pressed="true"] { background: var(--white); color: var(--green-800); box-shadow: 0 1px 2px rgba(21,34,27,.12), 0 4px 10px -4px rgba(21,34,27,.2); }
.mk-toggle button[data-pos="0"][aria-pressed="true"] { background: var(--green-600); color: #fff; }

.mk-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ece6da;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.mk-layer { position: absolute; inset: 0; }
.mk-layer picture, .mk-layer img { display: block; width: 100%; height: 100%; }
.mk-layer img { object-fit: cover; object-position: top center; -webkit-user-drag: none; pointer-events: none; }
.mk-after { clip-path: inset(0 0 0 var(--pos)); }
.mk-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 18px rgba(0,0,0,.3); pointer-events: none; z-index: 3; }
.mk-handle span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(0,0,0,.45), 0 0 0 5px rgba(255,255,255,.35); transition: transform .25s var(--ease); }
.mk-handle svg { width: 20px; height: 20px; fill: none; stroke: var(--green-700); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mk-stage:hover .mk-handle span, .mk.dragging .mk-handle span { transform: scale(1.08); }
.mk.animate .mk-after { transition: clip-path .55s var(--ease); }
.mk.animate .mk-handle { transition: left .55s var(--ease); }
.mk-tag { position: absolute; top: 12px; z-index: 2; padding: 6px 11px; border-radius: 999px; font: 600 .68rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); transition: opacity .3s; }
.mk-tag-before { left: 12px; background: rgba(21,34,27,.88); color: #fff; }
.mk-tag-after { right: 12px; background: var(--green-600); color: #fff; }
.mk.show-after .mk-tag-before, .mk.show-before .mk-tag-after { opacity: 0; }
.mk-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; z-index: 1; }
.mk-stage:has(.mk-range:focus-visible) { outline: 3px solid var(--gold); outline-offset: -3px; }

.mk-body { padding: 22px 26px 26px; color: var(--ink-soft); }
.mk-body h3 { font-size: 1.32rem; margin: 0 0 2px; }
.mk-type { margin: 0 0 16px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.mk-type span { color: var(--gold); padding: 0 2px; }
.mk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mk-list li { position: relative; padding-left: 30px; font-size: .97rem; line-height: 1.5; }
.mk-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%231d5c40' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.mk-grid .reveal:nth-child(2) { transition-delay: .08s; }
.mk-grid .reveal:nth-child(3) { transition-delay: .04s; }
.mk-grid .reveal:nth-child(4) { transition-delay: .12s; }

/* ---------- Services ---------- */
.services { background: var(--cream); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; padding: 32px 28px 30px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--green-600), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; background: linear-gradient(145deg, var(--green-50), var(--green-100)); color: var(--green-600); box-shadow: inset 0 0 0 1px rgba(29,92,64,.08); transition: background .35s, color .35s; }
.card:hover .icon { background: linear-gradient(145deg, var(--green-500), var(--green-700)); color: #fff; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- How it works ---------- */
.how { background: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 36px; left: 16%; right: 16%; height: 2px; background-image: linear-gradient(90deg, var(--sand) 50%, transparent 50%); background-size: 14px 2px; }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative; display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--green-700);
  background: var(--cream); border: 1px solid var(--line); margin-bottom: 24px;
  box-shadow: 0 0 0 10px var(--white), var(--shadow-md);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.steps li:hover .step-num { background: var(--green-600); color: var(--cream); transform: scale(1.06); }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--muted); max-width: 300px; margin: 0 auto; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.example-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 16px; border-radius: 999px; background: var(--gold-soft); color: #6d5326; font-size: .9rem; font-weight: 600; }
.example-note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 40px 38px 38px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.price-sub { color: var(--muted); margin-bottom: 22px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.price-label { align-self: center; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--gold-soft); color: #6d5326; }
.amount { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; font-variation-settings: "opsz" 144; }
.per { color: var(--muted); font-size: 1rem; }
.checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; flex: 1; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%231d5c40' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price-card.featured {
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(217,184,124,.22), transparent 60%),
    linear-gradient(160deg, var(--green-700), var(--green-900));
  border-color: transparent; color: rgba(250,246,238,.82);
  box-shadow: var(--shadow-lg);
}
.featured h3, .featured .amount { color: var(--cream); }
.featured .price-sub, .featured .per { color: rgba(250,246,238,.65); }
.featured .price { border-color: rgba(250,246,238,.14); }
.featured .price-label { background: rgba(217,184,124,.2); color: var(--gold); }
.featured .checks li::before { background-color: rgba(217,184,124,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23d9b87c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.badge { position: absolute; top: -14px; right: 28px; padding: 7px 14px; border-radius: 999px; background: var(--gold); color: var(--green-950); font-size: .78rem; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.about-frame { position: relative; max-width: 400px; width: 100%; }
.about-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 220px 220px 28px 28px; border: 1.5px solid var(--sand); }
.arch { position: relative; aspect-ratio: 5 / 6; border-radius: 220px 220px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.monogram { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); font-family: var(--font-display); font-style: italic; font-size: 7rem; font-weight: 400; color: var(--green-800); opacity: .9; line-height: 1; }
.about-copy h2 { font-size: clamp(2.4rem, 1.6rem + 2.8vw, 3.6rem); }
.about-copy .big { font-size: 1.3rem; line-height: 1.55; color: var(--ink); font-family: var(--font-display); font-variation-settings: "opsz" 30; }
.about-copy p { max-width: 560px; }
.about-copy .btn { margin-top: 12px; }

/* ---------- Local ---------- */
.local {
  background:
    radial-gradient(800px 400px at 90% 50%, rgba(42,115,82,.5), transparent 70%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  color: rgba(250,246,238,.8);
  overflow: hidden;
}
.local-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.local h2 { color: var(--cream); }
.local p { font-size: 1.12rem; }
.towns { list-style: none; margin: 28px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.towns li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 11px 14px; border-radius: 999px; background: rgba(250,246,238,.07); border: 1px solid rgba(250,246,238,.16); color: var(--cream); font-weight: 600; }
.towns li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217,184,124,.2); }
.local-small { color: rgba(250,246,238,.6); font-size: 1rem !important; margin: 0; }
.local-map svg { width: 100%; height: auto; }
.pin .pulse { transform-origin: 0 -8px; animation: pulse 2.6s ease-out infinite; }
.pin:nth-of-type(2) .pulse { animation-delay: .8s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s; }
.faq-list details[open] { box-shadow: var(--shadow-md); border-color: var(--green-100); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-weight: 600; font-size: 1.07rem; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%231d5c40' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--green-100); }
.faq-list summary:hover { color: var(--green-700); }
.faq-list details p { padding: 0 26px 22px; margin: -4px 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--cream); padding-top: 0; }
.contact-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start;
  padding: 64px; border-radius: 36px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(217,184,124,.18), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(42,115,82,.55), transparent 60%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  color: rgba(250,246,238,.8);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.contact-copy h2 { color: var(--cream); }
.contact-copy p { font-size: 1.12rem; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--cream); font-weight: 500; }
.contact-list a { color: var(--cream); }
.contact-list a:hover { color: var(--gold); }
.c-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(250,246,238,.08); border: 1px solid rgba(250,246,238,.14); flex: none; }
.c-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-form { background: var(--white); border-radius: 24px; padding: 34px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); color: var(--ink-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 18px; }
.optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 15px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a39d91; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(42,115,82,.14); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(250,246,238,.62); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-tag { margin: 18px 0 0; max-width: 340px; font-size: .97rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links a, .footer-contact a:not(.btn) { color: rgba(250,246,238,.75); }
.footer-links a:hover, .footer-contact a:not(.btn):hover { color: var(--gold); }
.footer-contact .btn { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(250,246,238,.1); padding-top: 24px; padding-bottom: 28px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.problem-list .reveal:nth-child(2), .card-grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .price-grid .reveal:nth-child(2), .ba-compare .reveal:nth-child(2) { transition-delay: .08s; }
.problem-list .reveal:nth-child(3), .card-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.problem-list .reveal:nth-child(4), .card-grid .reveal:nth-child(4) { transition-delay: .24s; }
.problem-list .reveal:nth-child(5) { transition-delay: .32s; }

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-art { animation: rise 1.1s var(--ease) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* eyebrows keep their size everywhere */
.local p.eyebrow, .contact-copy p.eyebrow { font-size: .78rem; }

/* keep the header on one line on small laptops / tablets */
.site-nav a, .logo-text { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 901px) {
  .site-nav { gap: 20px; }
  .site-nav a:not(.btn) { font-size: .9rem; }
  .site-nav .btn-small { padding: 10px 16px; font-size: .88rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding-bottom: 140px; }
  .hero-copy { max-width: 680px; }
  .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
}

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: 20px;
    background: var(--green-950); border: 1px solid rgba(250,246,238,.1);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a:not(.btn):hover { background: rgba(250,246,238,.06); }
  .site-nav .btn { margin-top: 8px; }

  .problems-inner, .faq-inner, .about-inner, .local-inner { grid-template-columns: 1fr; gap: 44px; }
  .mk-grid { grid-template-columns: 1fr; max-width: 620px; gap: 24px; }
  .problems-head, .faq-head { position: static; }
  .about-frame { max-width: 320px; margin: 0 auto; }
  .contact-card { grid-template-columns: 1fr; padding: 44px 32px; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-top: calc(76px + 48px); }
  .hero-inner { padding-bottom: 110px; gap: 48px; }
  .hero .lead { font-size: 1.1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-art { height: 330px; }
  .device-browser { width: 100%; transform: none; top: 10px; }
  .hb-body { padding: 14px 16px 16px; }
  .hb-nav { margin-bottom: 18px; }
  .hb-cards span { height: 40px; }
  .device-phone { width: 120px; height: 236px; border-radius: 24px; padding: 7px; right: -6px; bottom: -10px; }
  .ph-body { border-radius: 18px; padding: 30px 10px 10px; }
  .ph-notch { width: 40px; margin-left: -20px; top: 10px; height: 11px; }
  .ph-pic { height: 54px; }
  .chip { font-size: .78rem; padding: 8px 13px 8px 8px; }
  .chip-ic { width: 20px; height: 20px; }
  .chip-1 { left: -8px; top: auto; bottom: 40px; }
  .chip-2 { right: auto; left: 14px; top: -22px; }
  .chip-3 { display: none; }
  .treeline { height: 120px; }

  .problems { padding-top: 48px; }
  .problem-list li { padding: 18px; gap: 14px; }
  .p-ic { width: 42px; height: 42px; }

  /* On phones: show before and after stacked, no slider */
  .ba { border-radius: 16px; }
  .ba-stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .ba-layer { position: relative; inset: auto; clip-path: none !important; aspect-ratio: 1 / .86; font-size: calc(100cqw / 34); }
  .ba-handle, .ba-range { display: none; }
  .ba-tag { position: static; align-self: flex-start; margin: 12px 14px; padding: 6px 11px; font-size: .68rem; box-shadow: none; }
  .ba-tag-before { order: 0; }
  .ba-layer.old { order: 1; }
  .ba-tag-after { order: 2; margin-top: 14px; }
  .ba-layer.new { order: 3; border-top: 1px solid var(--line); box-shadow: none; }
  .drag-hint { display: none; }
  .ba-chrome .chrome-url { transform: none; }
  /* simplify the mocks for small screens */
  .old-cols { grid-template-columns: 8.5em 1fr; }
  .old-title { font-size: 1.5em; }
  .old-row .old-img:nth-child(2) { display: none; }
  .new-nav { padding: 1.2em 1.4em; }
  .new-links { display: none; }
  .new-cta { margin-left: auto; }
  .new-hero { grid-template-columns: 1fr; gap: 1.2em; padding: .8em 1.4em 1.2em; }
  .new-h { font-size: 2.6em; }
  .new-p { font-size: 1.1em; margin-bottom: 1em; }
  .new-pic { display: none; }
  .new-cards { grid-template-columns: 1fr 1fr; padding: 0 1.4em; gap: .8em; }
  .new-cards div:nth-child(3) { display: none; }
  .ba-compare { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .mk-grid { gap: 20px; }
  .mk { border-radius: 20px; }
  .mk-bar { padding: 8px 8px 8px 14px; }
  .mk-bar > i { width: 9px; height: 9px; }
  .mk-toggle button { padding: 9px 14px; }
  .mk-body { padding: 18px 20px 22px; }
  .mk-body h3 { font-size: 1.2rem; }
  .mk-handle span { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .mk-tag { top: 9px; padding: 5px 9px; font-size: .62rem; }
  .mk-tag-before { left: 9px; } .mk-tag-after { right: 9px; }
  .ba-col { padding: 22px; }

  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 26px 24px; }
  .icon { margin-bottom: 18px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 36px; bottom: 60px; left: 36px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--sand) 50%, transparent 50%); background-size: 2px 14px; }
  .steps li { text-align: left; padding: 0 0 0 100px; min-height: 72px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .steps p { margin: 0; }
  .price-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-card { padding: 34px 26px 28px; }
  .amount { font-size: 2.8rem; }
  .about-inner { gap: 48px; }
  .about-frame { max-width: 270px; }
  .monogram { font-size: 5.5rem; }
  .contact .container { padding-left: 12px; padding-right: 12px; }
  .contact-card { padding: 36px 20px 20px; border-radius: 28px; }
  .contact-copy { padding: 0 6px; }
  .contact-form { padding: 24px 20px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .btn { padding-left: 16px; padding-right: 16px; font-size: 1rem; }
  .example-note { font-size: .85rem; }
  .local-map { margin: 0 -8px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

.hp-field{display:none !important}
