:root {
  --tomato: #d94a2b;
  --tomato-dark: #b23a1f;
  --mustard: #f4c95d;
  --basil: #3f7d3a;
  --cream: #fff8ec;
  --cream-2: #f6ead6;
  --ink: #2a1f1a;
  --ink-soft: #5c4d44;
  --line: #e7d8c1;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 14px 40px -18px rgba(42, 31, 26, .35);
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tomato); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px;
  background: var(--tomato); color: var(--white);
  font: 600 1rem var(--body); text-decoration: none;
  border: 2px solid var(--tomato); cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--tomato-dark); border-color: var(--tomato-dark); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(217, 74, 43, .7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: none; }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-full { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, .9);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.45rem; }
.logo em { font-style: italic; color: var(--tomato); font-weight: 700; }
.logo-mark { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--tomato); transition: width .2s ease; }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px;
  background: radial-gradient(circle, rgba(244, 201, 93, .55), transparent 65%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hl { color: var(--tomato); font-style: italic; position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--mustard); z-index: -1; border-radius: 4px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .94rem; color: var(--ink-soft); }
.hero-points li::before { content: "✓"; color: var(--basil); font-weight: 700; margin-right: 8px; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.phone {
  width: 290px; background: var(--ink); border-radius: 40px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(42, 31, 26, .55);
  transform: rotate(3deg);
}
.phone-top { height: 22px; display: flex; justify-content: center; }
.phone-top span { width: 90px; height: 6px; border-radius: 6px; background: #4a3b33; }
.post { background: var(--white); border-radius: 28px; overflow: hidden; padding-bottom: 14px; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: .85rem; }
.post-head i { width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(var(--tomato), var(--mustard), var(--tomato)); }
.post-img { background: var(--cream-2); aspect-ratio: 1; display: grid; place-items: center; }
.post-img svg { width: 82%; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.post-actions { display: flex; gap: 14px; padding: 10px 14px 4px; font-size: 1.1rem; }
.heart { color: var(--tomato); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.25); } }
.post-cap { font-size: .8rem; padding: 0 14px; margin: 0; line-height: 1.45; color: var(--ink-soft); }
.post-cap b { color: var(--ink); }

.float-card {
  position: absolute; background: var(--white); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .82rem;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { font-size: .92rem; }
.float-card span { color: var(--basil); font-weight: 600; }
.fc-1 { top: 40px; left: -10px; }
.fc-2 { top: 46%; right: -20px; animation-delay: -1.6s; }
.fc-3 { bottom: 30px; left: 0; animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Serve strip */
.serve { background: var(--ink); color: var(--cream); padding: 26px 0; }
.serve .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.serve-label { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); font-weight: 700; }
.serve-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-family: var(--display); font-size: 1.15rem; }
.serve-list li + li::before { content: "•"; color: var(--tomato); margin-right: 28px; }

/* Problem */
.problem { text-align: center; }
.problem p { font-size: 1.15rem; color: var(--ink-soft); }
.punch { font-family: var(--display); font-size: 1.6rem !important; color: var(--ink) !important; margin-top: 28px; }
.punch span { color: var(--tomato); font-style: italic; }

/* Services */
.services { background: var(--white); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; box-shadow: 0 6px 16px -10px rgba(42,31,26,.4); }
.card h3 { font-size: 1.15rem; }
.card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 3px solid var(--ink); }
.step-num { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--tomato); display: block; line-height: 1; margin-bottom: 14px; }
.steps p { color: var(--ink-soft); font-size: .97rem; }

/* Packages */
.packages { background: var(--cream-2); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--white); border-radius: 24px; padding: 36px 30px; position: relative;
  display: flex; flex-direction: column; border: 2px solid transparent;
}
.price-card.featured { border-color: var(--tomato); box-shadow: var(--shadow); transform: translateY(-10px); }
.badge { position: absolute; top: -14px; left: 30px; background: var(--tomato); color: var(--white); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.price-sub { color: var(--ink-soft); margin-bottom: 18px; }
.price { font-family: var(--display); font-size: 2.6rem; font-weight: 800; margin-bottom: 22px; line-height: 1; }
.price span { font-family: var(--body); font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-right: 4px; }
.price small { font-family: var(--body); font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-card li { padding: 9px 0 9px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--basil); font-weight: 700; }
.addon { text-align: center; margin: 48px auto 0; max-width: 680px; padding: 18px 24px; background: var(--white); border-radius: 14px; border: 1px dashed var(--tomato); }
.addon em { color: var(--tomato); font-style: normal; font-weight: 600; }

/* Why */
.why { background: var(--tomato); color: var(--cream); }
.why .eyebrow { color: var(--mustard); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-grid > div p { font-size: 1.12rem; opacity: .95; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why-list li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 18px 22px; }
.why-list strong { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 2px; color: var(--white); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-size: 1.6rem; font-weight: 400; color: var(--tomato); transition: transform .2s ease;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--ink-soft); padding-right: 40px; }

/* Contact */
.contact { background: var(--ink); color: var(--cream); }
.contact .eyebrow { color: var(--mustard); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy p { color: rgba(255, 248, 236, .8); font-size: 1.1rem; }
.contact-info { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-info li { display: flex; flex-direction: column; }
.contact-info span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mustard); font-weight: 700; }
.contact-info a { font-size: 1.15rem; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-form { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 34px; display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.contact-form small { font-weight: 400; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem var(--body); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--tomato); box-shadow: 0 0 0 4px rgba(217, 74, 43, .15); }
.contact-form .invalid { border-color: var(--tomato); background: #fff1ee; }
.form-note { margin: 0; font-size: .92rem; min-height: 1.4em; color: var(--basil); font-weight: 600; }
.form-note.error { color: var(--tomato); }

/* Footer */
.site-footer { background: #1d1511; color: rgba(255, 248, 236, .75); padding: 56px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.logo-light { color: var(--cream); margin-bottom: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .post-img svg, .heart, .float-card { animation: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
}
@media (max-width: 880px) {
  section { padding: 72px 0; }
  .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 40px; }
  .hero-art { order: -1; display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .card-grid, .steps, .field-row { grid-template-columns: 1fr; }
  .hl { white-space: normal; }
  .hero-actions .btn { width: 100%; }
  .serve-list li + li::before { display: none; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { flex-direction: column; }
}

/* ---------- Multi-page additions ---------- */
.nav-links a.active:not(.btn) { color: var(--tomato); }
.nav-links a.active:not(.btn)::after { width: 100%; }

.page-hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -360px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(244, 201, 93, .5), transparent 65%); z-index: -1;
}
.page-hero .lead { margin: 0 auto; }
.page-hero + section { padding-top: 48px; }

.card-link { text-decoration: none; display: block; }
.center-link { text-align: center; margin: 44px 0 0; }

.teaser { background: var(--cream-2); }
.teaser-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.teaser-grid > div { max-width: 640px; }
.teaser-grid p:last-child { color: var(--ink-soft); margin: 0; }

.cta-band { padding: 80px 0; }
.cta-inner {
  background: var(--tomato); color: var(--cream); border-radius: 28px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background-image: radial-gradient(circle at 90% 10%, rgba(244, 201, 93, .45), transparent 45%);
}
.cta-inner h2 { color: var(--white); margin-bottom: .3em; }
.cta-inner p { margin: 0; opacity: .92; font-size: 1.1rem; }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); white-space: nowrap; }
.btn-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.contact-page { padding-top: 88px; min-height: calc(100vh - 72px); }

@media (max-width: 880px) {
  .teaser-grid, .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner { padding: 40px 28px; }
}

/* ---------- Apple-style motion ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Softer, blurred fade-up reveal */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); filter: blur(8px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* Headline words rise from behind a mask */
.split-ready .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-ready .wi { display: inline-block; transform: translateY(105%); opacity: 0;
  animation: word-up 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes word-up { to { transform: none; opacity: 1; } }
.hero .lead, .hero .hero-actions, .hero .hero-points, .hero .eyebrow, .page-hero .lead, .page-hero .eyebrow {
  animation: fade-up 1s var(--ease-out) both; }
.hero .eyebrow, .page-hero .eyebrow { animation-delay: 0s; }
.hero .lead, .page-hero .lead { animation-delay: .55s; }
.hero .hero-actions { animation-delay: .7s; }
.hero .hero-points { animation-delay: .85s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
.hero-copy.reveal, .page-hero .reveal { opacity: 1; transform: none; filter: none; }

/* Scroll-linked pieces (values set by js/main.js) */
.hero .phone, .hero .float-card, .page-hero .container { will-change: translate, rotate, scale; }
.hero-art.reveal { transition-duration: 1.4s; }
.scrub .sw { transition: opacity .15s linear; }
.problem .scrub { color: var(--ink); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; font-family: var(--display); font-weight: 500; }

.cta-inner, .price-card.featured { scale: var(--zoom, 1); transition: scale .1s linear; }

@media (min-width: 1021px) {
  .steps.has-fill li { border-top-color: var(--line); }
  .steps.has-fill::before {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: var(--tomato); transform-origin: left; transform: scaleX(var(--fill, 0)); z-index: 1;
  }
  .steps { position: relative; }
}

/* Buttons get a subtle press */
.btn:active { transform: scale(.97); }

@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  .split-ready .wi, .hero .lead, .hero .hero-actions, .hero .hero-points, .hero .eyebrow,
  .page-hero .lead, .page-hero .eyebrow { animation: none; opacity: 1; transform: none; }
  .cta-inner, .price-card.featured { scale: 1; }
}

/* ---------- Serving the DMV ---------- */
.dmv-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.dmv-grid > div > p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 28px; }
.dmv-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.area { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.area h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .08em; background: var(--tomato); color: var(--white); padding: 3px 8px; border-radius: 999px; }
.area ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .93rem; color: var(--ink-soft); }
.area li::before { content: "📍"; font-size: .75rem; margin-right: 6px; }
.area-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: .92rem; color: var(--ink-soft); text-align: center; }
.contact-info .area-line { margin: 0; font-size: 1.15rem; color: var(--cream); }
@media (max-width: 1020px) { .dmv-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .dmv-areas { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.sample-note { max-width: 760px; margin: 0 auto 32px; text-align: center; font-size: .95rem; color: var(--ink-soft);
  background: var(--white); border: 1px dashed var(--mustard); border-radius: 14px; padding: 14px 20px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.chip { font: 600 .92rem var(--body); color: var(--ink); background: var(--white); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .2s var(--ease-out, ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work.is-hidden { display: none; }
.work-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-body > p { font-size: .95rem; color: var(--ink-soft); }
.work-body h3 { margin-bottom: 2px; }
.work-meta { font-size: .85rem !important; font-weight: 600; color: var(--tomato) !important; margin-bottom: 12px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.work-tags span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cream-2); color: var(--ink-soft); padding: 4px 10px; border-radius: 999px; }
.work details { border: 0; margin-top: auto; padding: 0; }
.work summary { font-family: var(--body); font-size: .95rem; font-weight: 700; color: var(--tomato); padding: 8px 30px 4px 0; display: inline-block; }
.work summary::after { right: 0; font-size: 1.3rem; }
.work details ul { margin: 8px 0 0; padding-left: 18px; font-size: .92rem; color: var(--ink-soft); display: grid; gap: 6px; }
.no-results { text-align: center; color: var(--ink-soft); }

.mock { aspect-ratio: 4 / 3; background: var(--cream-2); display: grid; place-items: center; padding: 22px; overflow: hidden; position: relative; }
.mock > div { transition: transform .5s var(--ease-out, ease); }
.work:hover .mock > div { transform: scale(1.04) rotate(-1deg); }

/* Instagram grid */
.mock-grid { background: linear-gradient(135deg, #f4c95d, #d94a2b); }
.ig { background: var(--white); border-radius: 14px; padding: 10px; width: 56%; max-width: 230px; box-shadow: var(--shadow); }
.ig-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: .72rem; line-height: 1.2; }
.ig-head i { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(#d94a2b, #f4c95d, #d94a2b); flex: none; }
.ig-head small { display: block; color: var(--ink-soft); font-size: .62rem; }
.ig-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ig-tiles span { aspect-ratio: 1; display: grid; place-items: center; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); border-radius: 3px; }

/* Google Maps */
.mock-maps { background: #dfe8d8; }
.maps { width: 82%; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: .72rem; }
.maps-search { padding: 8px 12px; border-bottom: 1px solid #eee; color: var(--ink-soft); }
.maps-map { height: 70px; position: relative; background:
  linear-gradient(90deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%),
  linear-gradient(0deg, transparent 45%, #fff 45%, #fff 50%, transparent 50%), #cfe0c3; }
.pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #9aa5b1; }
.pin-main { width: 26px; height: 26px; background: var(--tomato); display: grid; place-items: center; font-size: .8rem; left: 44%; top: 18px; box-shadow: 0 0 0 6px rgba(217,74,43,.2); animation: pulse 2s ease-in-out infinite; }
.p2 { left: 18%; top: 14px; } .p3 { left: 72%; top: 40px; } .p4 { left: 26%; top: 48px; }
.maps-card { padding: 10px 12px; }
.maps-card b { font-size: .85rem; }
.maps-card p { margin: 2px 0; color: var(--ink-soft); }
.stars { color: #f2a93b; letter-spacing: 1px; }
.open { color: var(--basil) !important; font-weight: 600; }
.maps-btns { display: flex; gap: 6px; margin-top: 6px; }
.maps-btns span { border: 1px solid #d5dde5; border-radius: 999px; padding: 3px 8px; color: #1a73e8; font-weight: 600; font-size: .66rem; }

/* Ad */
.mock-ad { background: #2a1f1a; }
.ad { width: 70%; background: var(--white); border-radius: 12px; overflow: hidden; font-size: .7rem; box-shadow: 0 20px 40px -20px #000; }
.ad-head { display: flex; gap: 8px; align-items: center; padding: 8px 10px; line-height: 1.2; }
.ad-head i { width: 22px; height: 22px; border-radius: 50%; background: var(--mustard); }
.ad-head small { display: block; color: var(--ink-soft); font-size: .6rem; }
.ad-img { background: linear-gradient(135deg, #f4c95d, #d94a2b); color: var(--white); padding: 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; }
.ad-img span { font-size: 2.2rem; grid-row: span 2; }
.ad-img strong { font-family: var(--display); font-size: 1.15rem; line-height: 1; }
.ad-img em { font-style: normal; font-weight: 600; font-size: .68rem; }
.ad-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #f5f5f5; line-height: 1.25; }
.ad-foot small { display: block; color: var(--ink-soft); font-size: .55rem; }
.ad-btn { background: #e4e6eb; border-radius: 6px; padding: 5px 8px; font-weight: 700; white-space: nowrap; font-size: .62rem; }

/* Branding */
.mock-brand { background: #2c3a33; }
.brand { width: 80%; background: #f3e9da; border-radius: 14px; padding: 18px; box-shadow: 0 20px 40px -20px #000; display: grid; gap: 14px; }
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-logo svg { width: 46px; height: 46px; flex: none; }
.brand-logo b { font-family: var(--display); font-size: 1.15rem; color: #2c3a33; display: block; line-height: 1.1; }
.brand-logo small { font-size: .6rem; letter-spacing: .2em; color: #b08a3e; font-weight: 700; }
.swatches { display: flex; gap: 6px; }
.swatches span { flex: 1; height: 22px; border-radius: 6px; }
.brand-row { display: flex; align-items: center; justify-content: space-between; }
.badge-open { font-size: .66rem; font-weight: 700; background: #2c3a33; color: #f3e9da; padding: 5px 10px; border-radius: 999px; }
.cup { font-size: 1.4rem; }

/* Email */
.mock-email { background: linear-gradient(135deg, #cfe3ea, #8fb8c9); }
.email { width: 74%; background: var(--white); border-radius: 12px; padding: 0 12px 12px; font-size: .68rem; box-shadow: var(--shadow); text-align: center; }
.email-top { display: flex; gap: 4px; padding: 8px 0; }
.email-top span { width: 7px; height: 7px; border-radius: 50%; background: #e2e2e2; }
.email-from { display: flex; justify-content: space-between; text-align: left; border-bottom: 1px solid #eee; padding-bottom: 6px; }
.email-from small { color: var(--ink-soft); }
.email-subj { font-weight: 700; margin: 6px 0; font-size: .75rem; }
.email-hero { font-size: 2rem; background: #fdecd9; border-radius: 8px; padding: 4px 0; }
.email p { margin: 6px 0; color: var(--ink-soft); line-height: 1.35; }
.email-btn { display: inline-block; background: #1f5f7a; color: #fff; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* Creators */
.mock-creators { background: linear-gradient(135deg, #2a1f1a, #5c4d44); display: flex; align-items: center; justify-content: center; gap: 12px; }
.creators { display: flex; gap: 8px; }
.story { width: 62px; aspect-ratio: 9 / 16; border-radius: 10px; background: linear-gradient(160deg, var(--c1), var(--c2)); position: relative; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -14px #000; }
.story:nth-child(2) { transform: translateY(-10px); }
.story i { position: absolute; top: 6px; left: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: var(--mustard); }
.story span { font-size: 1.4rem; }
.story small { position: absolute; bottom: 6px; font-size: .5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bottle { width: 54px; height: 120px; background: var(--tomato); border-radius: 14px 14px 10px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; position: relative; box-shadow: 0 14px 30px -14px #000; }
.bottle::before { content: ""; position: absolute; top: -18px; width: 18px; height: 20px; background: #2a1f1a; border-radius: 4px; }
.bottle b { font-family: var(--display); font-size: .62rem; line-height: 1.05; }
.bottle small { font-size: .45rem; text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 1020px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Pilot, setup fee & add-ons ---------- */
.pilot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: var(--cream);
  border-radius: 28px; padding: 48px; margin-bottom: 88px;
  background-image: radial-gradient(circle at 100% 0%, rgba(217, 74, 43, .45), transparent 50%); }
.pilot h2 { color: var(--white); margin: 14px 0 12px; }
.pilot-copy > p { opacity: .9; font-size: 1.08rem; }
.badge-static { position: static; display: inline-block; }
.pilot-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.pilot-points li::before { content: "✓"; color: var(--mustard); font-weight: 700; margin-right: 10px; }
.pilot-price { background: var(--cream); color: var(--ink); border-radius: 20px; padding: 30px; }
.price-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); margin-bottom: 8px; }
.pilot-price .price { margin-bottom: 8px; }
.price-range { color: var(--ink-soft); font-size: .92rem; margin-bottom: 20px; }
.tiers-head { margin-bottom: 48px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.extra-card { background: var(--white); border-radius: 24px; padding: 34px 30px; }
.extra-card .eyebrow { margin-bottom: 8px; }
.extra-price { display: inline-block; margin-left: 8px; font-family: var(--body); font-size: .95rem; font-weight: 700; color: var(--white); background: var(--tomato); padding: 3px 12px; border-radius: 999px; vertical-align: middle; }
.extra-card .soft { color: var(--ink-soft); }
.extra-card .small { font-size: .88rem; margin: 16px 0 0; }
.setup-list { padding-left: 0; list-style: none; margin: 0; display: grid; gap: 8px; counter-reset: st; font-size: .95rem; }
.setup-list li { counter-increment: st; display: flex; gap: 12px; }
.setup-list li::before { content: counter(st); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--cream-2); color: var(--tomato); font-weight: 700; font-size: .78rem; display: grid; place-items: center; }
.addon-list { list-style: none; padding: 0; margin: 8px 0 0; }
.addon-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.addon-list b { text-align: right; white-space: nowrap; }
@media (max-width: 880px) {
  .pilot { grid-template-columns: 1fr; padding: 34px 24px; margin-bottom: 64px; }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .addon-list li { flex-direction: column; gap: 2px; } .addon-list b { text-align: left; white-space: normal; } }

/* ---------- Creative transitions ---------- */

/* 1. Page change: the header stays put while the page softly lifts away and the next one rises in */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(site-header) { animation: none; }
  ::view-transition-old(root) { animation: ff-page-out .22s ease-in both; }
  ::view-transition-new(root) { animation: ff-page-in .5s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .nav-links a.active:not(.btn)::after { animation: ff-line .5s cubic-bezier(.2, .7, .2, 1) .25s both; transform-origin: left; }
}
@keyframes ff-page-out { to { opacity: 0; transform: translateY(-10px); filter: blur(3px); } }
@keyframes ff-page-in { from { opacity: 0; transform: translateY(16px); filter: blur(5px); } }
@keyframes ff-line { from { transform: scaleX(0); } }

/* 2. Sauce drips hanging off the bottom of the tomato section */
.why { position: relative; }
.why::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 56px; z-index: 2; pointer-events: none;
  background: var(--tomato);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 56' preserveAspectRatio='none'%3E%3Cpath d='M0 0h600v10c-14 0-18 6-20 18-2 14-6 24-14 24s-12-10-13-22c-1-14-6-20-20-20-30 0-38 4-40 10-1 4-3 8-7 8s-6-4-7-8c-2-8-10-10-30-10-26 0-32 8-34 22-2 16-7 26-16 26s-14-10-15-24c-1-16-8-24-26-24h-40c-12 0-16 6-17 14-1 6-4 10-8 10s-7-4-8-10c-1-8-6-14-18-14H96c-16 0-22 8-24 20-2 13-6 20-12 20s-10-7-11-18c-1-14-8-22-22-22H0z'/%3E%3C/svg%3E") 0 0 / 600px 100% repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 56' preserveAspectRatio='none'%3E%3Cpath d='M0 0h600v10c-14 0-18 6-20 18-2 14-6 24-14 24s-12-10-13-22c-1-14-6-20-20-20-30 0-38 4-40 10-1 4-3 8-7 8s-6-4-7-8c-2-8-10-10-30-10-26 0-32 8-34 22-2 16-7 26-16 26s-14-10-15-24c-1-16-8-24-26-24h-40c-12 0-16 6-17 14-1 6-4 10-8 10s-7-4-8-10c-1-8-6-14-18-14H96c-16 0-22 8-24 20-2 13-6 20-12 20s-10-7-11-18c-1-14-8-22-22-22H0z'/%3E%3C/svg%3E") 0 0 / 600px 100% repeat-x;
  transform-origin: top; animation: drip 4s ease-in-out infinite alternate;
}
@keyframes drip { from { transform: scaleY(.75); } to { transform: scaleY(1.1); } }
.why + section { padding-top: 120px; }

/* 4. Portfolio mockups wipe in from the bottom like a plate being uncovered */
.work .mock { clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1) .15s; }
.work.in .mock { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .why::after { animation: none; }
  .work .mock { clip-path: none; transition: none; }
}

/* ---------- Opening animation (first page of a visit) ----------
   0.0s fork and knife fly in from the sides and cross
   0.7s they clink, the name appears
   1.0s the red cloth splits open and reveals the page            */
.intro-screen { display: none; }
html.intro .intro-screen { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
html.intro { overflow: hidden; }
.intro-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--tomato);
  animation: .75s cubic-bezier(.7, 0, .2, 1) 1.05s forwards; }
.intro-l { left: 0; animation-name: intro-open-l; }
.intro-r { right: 0; animation-name: intro-open-r; }
@keyframes intro-open-l { to { transform: translateX(-101%); } }
@keyframes intro-open-r { to { transform: translateX(101%); } }

.intro-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 18px; color: var(--cream);
  animation: intro-mark-out .55s ease 1.05s forwards; }
@keyframes intro-mark-out { to { transform: translate(-50%, -50%) scale(1.35); opacity: 0; } }
.cutlery { position: relative; width: 120px; height: 130px; animation: intro-clink .28s ease .68s; }
.cutlery svg { position: absolute; left: 50%; top: 0; width: 40px; height: 130px; margin-left: -20px; transform-origin: 50% 58%; }
.fork { animation: intro-fork .7s cubic-bezier(.2, .9, .3, 1.15) .05s both; }
.knife { animation: intro-knife .7s cubic-bezier(.2, .9, .3, 1.15) .05s both; }
@keyframes intro-fork { from { transform: translateX(-60vw) rotate(-120deg); } to { transform: rotate(-28deg); } }
@keyframes intro-knife { from { transform: translateX(60vw) rotate(120deg); } to { transform: rotate(28deg); } }
@keyframes intro-clink { 45% { transform: scale(1.12); } }

.spark { position: absolute; left: 50%; top: 22px; width: 3px; height: 16px; margin-left: -1.5px; border-radius: 3px; background: var(--mustard);
  transform-origin: 50% 46px; opacity: 0; animation: intro-spark .45s ease-out .7s; }
.s1 { transform: rotate(-38deg) translateY(-30px); }
.s2 { transform: translateY(-34px); }
.s3 { transform: rotate(38deg) translateY(-30px); }
@keyframes intro-spark { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

.intro-word { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.01em;
  opacity: 0; transform: translateY(10px); animation: intro-word .4s ease .62s forwards; }
.intro-word em { color: var(--mustard); font-weight: 700; }
@keyframes intro-word { to { opacity: 1; transform: none; } }

/* Hold the headline animation until the page is revealed */
html.intro-delay .split-ready .wi { animation-delay: calc(var(--i) * 70ms + 1.4s); }
html.intro-delay .hero .eyebrow, html.intro-delay .page-hero .eyebrow { animation-delay: 1.25s; }
html.intro-delay .hero .lead, html.intro-delay .page-hero .lead { animation-delay: 1.8s; }
html.intro-delay .hero .hero-actions { animation-delay: 1.95s; }
html.intro-delay .hero .hero-points { animation-delay: 2.1s; }
