/* ==========================================================================
   Kitchen remodeler template
   Design tokens, layout, components, motion
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  --cream: #f7f2eb;
  --cream-2: #efe6da;
  --paper: #fffdf9;
  --ink: #1d1916;
  --ink-2: #4a423b;
  --muted: #7b7067;
  --line: rgba(29, 25, 22, .12);
  --clay: #b85c38;
  --clay-hi: color-mix(in srgb, var(--clay) 82%, white);
  --sage: #7f8f72;
  --sage-soft: #dfe4d6;
  --brass: #c9a36a;
  --espresso: #2a211b;
  --star: #f2b544;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(42, 33, 27, .35);
  --shadow-sm: 0 8px 24px -12px rgba(42, 33, 27, .3);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

/* subtle film grain — a 2026 staple */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: .05;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 1000; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .4em; font-optical-sizing: auto; }
h1 { font-size: clamp(44px, 8.4vw, 108px); }
h2 { font-size: clamp(34px, 5.2vw, 64px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
em.hl { font-style: italic; color: var(--clay); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--clay); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--clay) 70%, transparent);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .8s var(--ease);
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover { background: var(--clay-hi); box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--clay) 80%, transparent); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-dark { --bg: var(--ink); box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: #000; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: rgba(29,25,22,.05); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--cream); }
.btn-lg { padding: 20px 32px; font-size: 17px; }
.btn-block { width: 100%; }
.pulse { animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--clay) 55%, transparent); }
  70% { box-shadow: 0 0 0 18px color-mix(in srgb, var(--clay) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--clay) 0%, transparent); }
}

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--clay), var(--brass)); z-index: 200; }
.topbar { background: var(--espresso); color: #f1e7da; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .topbar .hide-xs { display: none; } }
.topbar .stars { color: var(--star); letter-spacing: 1px; }
.header {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.scrolled { background: rgba(247, 242, 235, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text { font-family: var(--f-display); font-size: 21px; line-height: 1; font-weight: 600; letter-spacing: -.01em; }
.logo-text small { display: block; font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 13px 22px; font-size: 15px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 116px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: .35s var(--ease);
  }
  .scrolled .nav, .header.scrolled ~ * .nav { inset-block-start: 84px; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 18px; border-radius: 12px; }
  .nav a:not(.btn):hover { background: var(--cream); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 8px; padding: 18px; }
  .topbar .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 56px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .45s; } .d2 { animation-delay: .6s; } .d3 { animation-delay: .75s; } .d4 { animation-delay: .9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.rotator { display: inline-grid; vertical-align: bottom; color: var(--clay); font-style: italic; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-40%); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.proof-text { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.proof-text strong { color: var(--ink); }
.stars { color: var(--star); letter-spacing: 2px; }

.hero-visual { position: relative; aspect-ratio: 4 / 5; }
.hero-photo {
  position: absolute; inset: 0; border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  clip-path: inset(100% 0 0 0 round 200px 200px 22px 22px);
  animation: unveil 1.4s .2s var(--ease) forwards;
}
@keyframes unveil { to { clip-path: inset(0 0 0 0 round 200px 200px 22px 22px); } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.02); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 253, 249, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow-sm);
  font-size: 14px; line-height: 1.3;
  opacity: 0; animation: pop .9s var(--ease) forwards, bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 16px; }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.fc-1 { left: -6%; top: 14%; animation-delay: 1.1s, 2s; }
.fc-2 { right: -5%; top: 48%; animation-delay: 1.3s, 2.4s; }
.fc-3 { left: 6%; bottom: 6%; animation-delay: 1.5s, 2.8s; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }
.spin-badge { position: absolute; right: 4%; top: -2%; width: 118px; height: 118px; animation: pop .9s 1.6s var(--ease) both; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge .core { position: absolute; inset: 30%; border-radius: 50%; background: var(--clay); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
@keyframes spin { to { transform: rotate(360deg); } }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; animation: drift 16s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: color-mix(in srgb, var(--clay) 35%, white); top: -120px; right: -100px; }
.blob-2 { width: 360px; height: 360px; background: var(--sage-soft); bottom: -120px; left: -120px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.1); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin: 10px auto 0; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
}

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; overflow-x: clip; overflow-y: visible; padding: 12px 0; margin: -12px 0; }
.marquee { background: var(--ink); color: var(--cream); padding: 22px 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -10px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: clamp(22px, 3vw, 34px); font-style: italic; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-style: normal; color: var(--brass); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--paper); padding: clamp(24px, 3vw, 40px); }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.03em; }
.stat b sup { font-size: .45em; color: var(--clay); margin-left: 2px; }
.stat > span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 30px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  text-decoration: none; isolation: isolate;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 16px; margin: 0; }
.tile .tag { position: absolute; top: 24px; left: 24px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--cream); }
.tile .go { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease), background .3s; }
.tile:hover .go { transform: rotate(-45deg); background: var(--clay); }
.tile.photo { color: #fff; min-height: 420px; }
.tile.photo p { color: rgba(255,255,255,.85); }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(20,15,12,.82)); }
.tile.photo:hover img { transform: scale(1.06); }
.tile.photo .tag { background: rgba(255,255,255,.2); backdrop-filter: blur(10px); color: #fff; }
.t-a { grid-column: span 4; grid-row: span 2; }
.t-b { grid-column: span 2; }
.t-c { grid-column: span 2; background: var(--sage-soft); }
.t-d { grid-column: span 2; background: var(--espresso); color: var(--cream); }
.t-d p { color: rgba(247,242,235,.75); }
.t-e { grid-column: span 2; }
.t-f { grid-column: span 2; background: color-mix(in srgb, var(--clay) 20%, white); }
.tile .big-ico { width: 56px; height: 56px; margin-bottom: auto; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a { grid-column: span 2; grid-row: auto; }
  .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: auto; }
  .tile.photo { min-height: 360px; }
}

/* ---------- Refacing explainer (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/6; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { aspect-ratio: 4/3; } }

/* ---------- Kitchen configurator ---------- */
.studio { background: var(--espresso); color: var(--cream); border-radius: clamp(24px, 4vw, 44px); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 56px); align-items: center; overflow: hidden; position: relative; }
.studio .eyebrow { color: var(--brass); }
.studio .lead { color: rgba(247,242,235,.75); }
.studio-canvas { background: linear-gradient(180deg, #efe7dc, #e6dccd); border-radius: var(--radius); padding: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.studio-canvas svg { width: 100%; height: auto; }
.studio-canvas svg .cab, .studio-canvas svg .top, .studio-canvas svg .handle, .studio-canvas svg .wall { transition: fill .7s var(--ease); }
.studio-canvas svg .panel { transition: opacity .5s var(--ease); }
.opt-group { margin-bottom: 22px; }
.opt-group > span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.25); transition: transform .3s var(--ease), border-color .3s; padding: 0; }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { border-color: var(--cream); transform: scale(1.08); }
.chip { padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.22); background: transparent; color: var(--cream); font-weight: 700; font-size: 14px; transition: .3s; }
.chip:hover { border-color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.studio-name { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--cream); margin: 4px 0 22px; min-height: 1.3em; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); counter-increment: s; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before { content: "0" counter(s); font-family: var(--f-display); font-size: 56px; line-height: 1; color: var(--clay); opacity: .9; display: block; margin-bottom: 26px; font-style: italic; }
.step p { color: var(--ink-2); font-size: 16px; margin: 0; }
.steps-line { position: absolute; top: 58px; left: 8%; right: 8%; height: 2px; background: var(--line); z-index: -1; }
.steps-line i { display: block; height: 100%; background: var(--clay); transform-origin: left; transform: scaleX(0); transition: transform 2s var(--ease); }
.steps.in .steps-line i { transform: scaleX(1); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps-line { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; padding: 10px 0 30px; }
.reviews:hover { animation-play-state: paused; }
.review { width: min(380px, 82vw); flex: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.35; letter-spacing: -.01em; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 14px; color: var(--muted); }
.review footer strong { color: var(--ink); display: block; font-size: 15px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-sm); }
.g-badge b { font-size: 22px; font-family: var(--f-display); }

/* ---------- Materials strip ---------- */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 64px); align-items: center; }
.brands span { font-family: var(--f-display); font-size: clamp(22px, 3vw, 32px); color: var(--muted); letter-spacing: -.01em; transition: color .3s; }
.brands span:hover { color: var(--ink); }
.brands small { display: block; font-family: var(--f-body); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-family: var(--f-body); font-size: 22px; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details p { color: var(--ink-2); padding-bottom: 26px; margin: 0; max-width: 70ch; }

/* ---------- Big CTA ---------- */
.cta-band { position: relative; border-radius: clamp(24px, 4vw, 44px); overflow: hidden; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px); color: #fff; isolation: isolate; text-align: center; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(42,33,27,.88), color-mix(in srgb, var(--clay) 70%, transparent)); }
.cta-band h2 { max-width: 14ch; margin: 0 auto .35em; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 32px; font-size: 19px; }
.cta-band .row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: .3s; }
.areas span:hover { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(247,242,235,.75); padding: 80px 0 40px; margin-top: 40px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: var(--cream); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .logo-text { color: var(--cream); }
.footer .logo-text small { color: rgba(247,242,235,.55); }
.footer-big { font-family: var(--f-display); font-size: clamp(48px, 11vw, 160px); line-height: .9; letter-spacing: -.04em; color: rgba(247,242,235,.08); margin: 60px 0 30px; white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 26px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 150; display: none; gap: 10px; transform: translateY(150%); transition: transform .5s var(--ease); }
.mobile-cta.show { transform: none; }
.mobile-cta .btn { flex: 1; padding: 16px 12px; font-size: 15px; }
@media (max-width: 760px) { .mobile-cta { display: flex; } body { padding-bottom: 80px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-steps { display: flex; gap: 6px; margin: 18px 0 26px; }
.form-steps i { flex: 1; height: 5px; border-radius: 5px; background: var(--cream-2); overflow: hidden; position: relative; }
.form-steps i::after { content: ""; position: absolute; inset: 0; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.form-steps i.done::after { transform: scaleX(1); }
.fstep { display: none; animation: fadeUp .5s var(--ease) both; }
.fstep.active { display: block; }
.fstep legend { font-family: var(--f-display); font-size: 24px; margin-bottom: 16px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; font-size: 15px; transition: .25s; height: 100%; }
.choice label small { font-weight: 500; color: var(--muted); font-size: 13px; }
.choice label .e { font-size: 22px; }
.choice input:checked + label { border-color: var(--clay); background: color-mix(in srgb, var(--clay) 7%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 15%, transparent); }
.choice input:focus-visible + label { outline: 3px solid var(--clay); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 14%, transparent); }
.field .err { color: #b3261e; font-size: 13px; display: none; }
.field.invalid input { border-color: #b3261e; }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-nav { display: flex; gap: 10px; margin-top: 8px; }
.form-nav .btn { flex: 1; }
.form-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.success { text-align: center; padding: 10px 0; }
.success .tick { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; animation: pop .7s var(--ease) both; }
@media (max-width: 480px) { .choices, .row2 { grid-template-columns: 1fr; } }

/* ---------- Calendly ---------- */
.calendly-shell { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); min-height: 700px; position: relative; }
.calendly-inline-widget { min-width: 280px; height: 720px; }
.cal-fallback { padding: clamp(28px, 4vw, 48px); text-align: center; display: grid; gap: 14px; place-items: center; min-height: 700px; align-content: center; }
.cal-fallback .cal-ico { width: 84px; height: 84px; border-radius: 24px; background: var(--cream); display: grid; place-items: center; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 420px; margin: 8px 0; }
.slots button { padding: 14px 8px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; transition: .25s; }
.slots button:hover { border-color: var(--clay); color: var(--clay); }

/* ---------- Contact page ---------- */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 4vw, 50px); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; gap: 16px; align-items: flex-start; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); margin-bottom: 14px; }
a.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; flex: none; color: var(--clay); }
.info-card strong { display: block; font-size: 18px; }
.info-card span { color: var(--muted); font-size: 15px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--cream-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.tabs { display: inline-flex; background: var(--cream-2); padding: 5px; border-radius: 999px; margin-bottom: 18px; }
.tabs button { border: 0; background: transparent; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: .3s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .contact-aside { order: 2; } }

/* ---------- Landing page specifics ---------- */
.lp-header .wrap { height: 72px; }
.lp-hero { padding: clamp(24px, 5vw, 60px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.lp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lp-hero h1 { font-size: clamp(40px, 6.4vw, 80px); }
.offer-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.offer-pill b { background: var(--clay); color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; }
.benefits { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.benefits li svg { flex: none; color: var(--sage); margin-top: 3px; }
.lp-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); margin-top: 28px; position: relative; }
.lp-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-sticky { position: sticky; top: 24px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare > div { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.compare .bad { background: var(--paper); }
.compare .good { background: var(--espresso); color: var(--cream); }
.compare ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 10px; }
.compare .bad li::before { content: "✕"; color: #b3261e; font-weight: 800; }
.compare .good li::before { content: "✓"; color: var(--brass); font-weight: 800; }
@media (max-width: 900px) { .lp-grid { grid-template-columns: 1fr; } .lp-sticky { position: static; } .lp-photo { display: none; } }
.show-xs { display: none; }
@media (max-width: 480px) { .hide-xs { display: none; } .show-xs { display: inline; } }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .fade-up { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero-photo { clip-path: none; }
  .marquee-track, .reviews { animation: none; }
}
.calendly-shell[data-thanks] .cal-fallback { min-height: auto; padding-top: 0; }

/* ---------- Template: brand color hooks, logo image, demo bar ---------- */
svg [fill="#b85c38"] { fill: var(--clay); }
svg [stroke="#b85c38"] { stroke: var(--clay); }
.cal-ico { color: var(--clay); }
img.logo-img { object-fit: contain; border-radius: 10px; width: auto; max-width: 140px; }
.demo-bar { background: var(--clay); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 7px 16px; letter-spacing: .02em; }
