/* Nookshift — "Limewash & daylight". Palette is exactly these five tokens. */
:root {
  --paper: #F3ECE1;   /* limewash */
  --ink: #2A2420;     /* umber ink */
  --terra: #9C4A2B;   /* terracotta */
  --sage: #56664E;    /* sage */
  --sand: #D8C6AC;    /* sand */
  --muted: rgba(42, 36, 32, .74);
  --line: rgba(42, 36, 32, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --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; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
/* film grain: an SVG noise tile, decorative */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, canvas { max-width: 100%; display: block; }
a { color: var(--terra); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 236, 225, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; gap: 10px; align-items: center; font: 500 22px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--terra); color: var(--paper); border: 1px solid var(--terra); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn:hover { background: var(--ink); border-color: var(--ink); box-shadow: 0 10px 24px -14px rgba(156, 74, 43, .9); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(42, 36, 32, .4); }
.btn-ghost:hover { background: rgba(42, 36, 32, .06); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; padding: 72px 0 40px; }
.eyebrow, .num-label, .tag { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; font-variation-settings: "opsz" 144; }
h1 em { font-style: italic; color: var(--terra); }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-variation-settings: "opsz" 96; }
h3 { font-size: 23px; line-height: 1.2; font-weight: 500; }
.lede { font-size: 19px; color: var(--muted); max-width: 33rem; margin: 22px 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--muted); margin: 18px 0 0; max-width: 34rem; }

.print { margin: 0; }
.mat { background: var(--paper); padding: 14px; border-radius: 4px; box-shadow: 0 1px 0 var(--line), 0 40px 60px -40px rgba(42, 36, 32, .55), 0 0 0 1px var(--line); transform: rotate(.6deg); transition: transform .6s var(--ease); }
.print:hover .mat { transform: rotate(0); }
.compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); border-radius: 2px; }
.compare .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 52%); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 52%; width: 1px; background: rgba(243, 236, 225, .95); box-shadow: 0 0 0 .5px rgba(42, 36, 32, .3); pointer-events: none; }
.compare .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); font: 600 15px/1 var(--sans); box-shadow: 0 6px 18px rgba(42, 36, 32, .3); transition: transform .3s var(--ease); }
.compare:hover .knob { transform: translate(-50%, -50%) scale(1.08); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within { outline: 2px solid var(--terra); outline-offset: 4px; }
.sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(243, 236, 225, .3) 48%, transparent 66%); background-size: 260% 100%; background-position: 120% 0; mix-blend-mode: soft-light; }
.motion .sweep { animation: sweep 9s var(--ease) 1.2s infinite; }
@keyframes sweep { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
.pills { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.badge { letter-spacing: .04em; text-transform: none; font-size: 14px; color: var(--ink); background: rgba(216, 198, 172, .55); padding: 6px 12px; border-radius: 999px; }

.chips { display: flex; gap: 0; height: 10px; margin-top: 36px; border-radius: 2px; overflow: hidden; }
.chips span { flex: 1; background: var(--c); box-shadow: inset 0 0 0 1px var(--line); }

/* sections */
.section { padding: 96px 0 0; }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.section-head p:not(.num-label) { color: var(--muted); margin: 16px 0 0; font-size: 18px; }
.narrow { max-width: 820px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { position: relative; padding: 28px 28px 32px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 198, 172, .45), transparent 70%); }
.step:hover::before { opacity: 1; }
.step-num { display: block; font: italic 400 40px/1 var(--serif); color: var(--terra); margin-bottom: 18px; }
.step p { color: var(--muted); margin: 10px 0 0; }

.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.style-tile { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 14px; background: rgba(216, 198, 172, .14); border: 1px solid var(--line); border-radius: 4px; transition: transform .35s var(--ease), box-shadow .35s, background .35s; }
.style-tile:hover { transform: translateY(-3px); background: rgba(216, 198, 172, .32); box-shadow: 0 18px 30px -22px rgba(42, 36, 32, .5); }
.style-tile .swatch { aspect-ratio: 5 / 3; border-radius: 2px; margin-bottom: 6px; }
.style-tile strong { font: 500 18px/1.2 var(--serif); }
.style-tile span { font-size: 14px; color: var(--muted); line-height: 1.45; }

.notice { border-left: 2px solid var(--sage); padding: 6px 0 6px 28px; max-width: 54rem; }
.notice strong { display: block; font: 500 24px/1.2 var(--serif); margin-bottom: 8px; }
.notice p { margin: 0; color: var(--muted); font-size: 18px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; background: rgba(216, 198, 172, .16); border: 1px solid var(--line); border-radius: 6px; transition: transform .4s var(--ease), box-shadow .4s; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(42, 36, 32, .55); }
.price-card.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.price-card.featured .tag { color: var(--sand); }
.price-card.featured li { color: rgba(243, 236, 225, .86); border-color: rgba(243, 236, 225, .16); }
.price-card.featured .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.price-card.featured .btn:hover { background: var(--sand); border-color: var(--sand); }
.price { font: 400 52px/1 var(--serif); margin: 18px 0 22px; letter-spacing: -.03em; }
.price em { font: 400 16px/1 var(--sans); letter-spacing: 0; opacity: .75; font-style: normal; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; flex: 1; }
.price-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.price-card .btn { align-self: flex-start; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.panel { background: rgba(216, 198, 172, .2); border: 1px solid var(--line); border-radius: 6px; padding: 30px; display: grid; gap: 10px; box-shadow: 0 30px 50px -44px rgba(42, 36, 32, .6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > div { display: grid; gap: 8px; }
label { font-weight: 600; font-size: 14px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid rgba(42, 36, 32, .35); border-radius: 6px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(156, 74, 43, .2); }
.panel .btn { margin-top: 10px; justify-self: start; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 400 22px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--terra), var(--terra)) center / 14px 1.5px no-repeat, linear-gradient(var(--terra), var(--terra)) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 44rem; }

.site-footer { margin-top: 110px; border-top: 1px solid var(--ink); padding: 40px 0 56px; font-size: 15px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot-logo { font: 500 26px/1 var(--serif); color: var(--ink); margin-bottom: 10px !important; }

/* shared CTA bar (injected by ../cta.js) restyled to this palette */
body .mvps-cta-bar { background: var(--ink); color: var(--paper); font-family: var(--sans); box-shadow: 0 -1px 0 rgba(243, 236, 225, .12); }
body .mvps-cta-bar .mvps-cta-btn { background: var(--paper); color: var(--ink) !important; }
body .mvps-cta-bar .mvps-cta-btn:hover { background: var(--sand); }
body .mvps-cta-bar .mvps-cta-x { color: var(--sand); min-width: 44px; min-height: 44px; }

/* motion (only when html.motion is set, i.e. JS on and no reduced-motion preference) */
.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion [data-words] .w { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(4px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 60ms + 120ms); }
.motion [data-words].in .w { opacity: 1; transform: none; filter: none; }

/* tablet */
@media (max-width: 1020px) {
  .hero { gap: 40px; }
  .style-grid { grid-template-columns: repeat(3, 1fr); }
}
/* dedicated mobile layout */
@media (max-width: 899px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .bar { height: 60px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; z-index: 70; }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(42, 36, 32, .4); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav a:not(.btn) { padding: 16px 0; font: 400 24px/1 var(--serif); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; min-height: 52px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 36px 0 8px; }
  h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .lede { font-size: 17px; margin: 18px 0 24px; }
  .cta-row .btn { flex: 1 1 100%; }
  .mat { padding: 8px; transform: none; }
  .chips { margin-top: 28px; }
  .section { padding-top: 72px; }
  .section-head { margin-bottom: 28px; }
  .section-head p:not(.num-label) { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 22px 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-num { font-size: 32px; margin-bottom: 10px; }
  .style-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .style-tile strong { font-size: 16px; }
  .style-tile span { font-size: 13px; }
  .notice { padding-left: 18px; }
  .notice p { font-size: 16px; }
  .price-grid { grid-template-columns: 1fr; gap: 14px; }
  .price-card { padding: 24px; }
  .price-card .btn { align-self: stretch; }
  .split { grid-template-columns: 1fr; gap: 8px; }
  .panel { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .panel .btn { justify-self: stretch; }
  .faq summary { font-size: 19px; padding: 18px 36px 18px 0; }
  .site-footer { margin-top: 80px; }
  body .mvps-cta-bar { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 899px) {
  body .mvps-cta-bar { flex-wrap: nowrap; justify-content: space-between; text-align: left; gap: 10px; padding: 10px 52px 10px 16px; font-size: 13px; }
}
