:root {
  --cream: #f8f4ed;
  --paper: #fffdf9;
  --tint: #eef0e6;
  --ink: #2b332d;
  --muted: #5f6a61;
  --sage: #6f8262;
  --sage-deep: #4d5f45;
  --blush: #e8c7b8;
  --line: #dfd9cc;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.02em; }
h1 em { color: var(--sage-deep); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 14px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 34em; }
h2 + .lede { margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--sage-deep);
  background: var(--sage-deep); color: #fff; font: 600 1rem var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: #3f4f39; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--sage-deep); }
.btn-ghost:hover { background: rgba(77, 95, 69, .08); }
.btn-small { padding: 10px 18px; font-size: .92rem; white-space: nowrap; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 237, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--ink); margin-right: auto; white-space: nowrap; }
.brand-mark { font: 500 1.4rem var(--serif); letter-spacing: -0.02em; }
.brand-by { font: italic 400 1rem var(--serif); color: var(--sage-deep); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--sage-deep); }

/* Hero */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(80vh, 700px); padding: clamp(56px, 9vw, 110px) 0; color: #fff; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(30, 38, 32, .62), rgba(30, 38, 32, .76)); }
.hero-inner { max-width: 820px; }
.hero .eyebrow { color: #e9eddf; }
.hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero h1 em { color: var(--blush); }
.hero .lede { margin: 22px auto 30px; color: #f1f0ea; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin: 22px 0 0; font-size: .95rem; color: #e4e6dd; }
.hero-note a { color: #fff; }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .14); }
.hero :focus-visible { outline-color: #fff; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p:last-child { color: var(--muted); margin: 14px 0 0; }

/* Before / after */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; align-items: start; }
.project { margin: 0; }
.project figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.project figcaption strong { display: block; font: 500 1.15rem var(--serif); color: var(--ink); }
.ba { --p: 50%; position: relative; aspect-ratio: var(--ratio, 3/4); border-radius: var(--radius); overflow: hidden; background: var(--line); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--sage-deep);
  display: grid; place-items: center; font: 600 1rem var(--sans); letter-spacing: 2px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ba-label { position: absolute; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba-label { transition: opacity .15s; }
.ba-label.is-hidden { opacity: 0; }
.ba-label-before { left: 12px; background: rgba(43, 51, 45, .78); color: #fff; }
.ba-label-after { right: 12px; background: rgba(255, 253, 249, .9); color: var(--sage-deep); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(input:focus-visible) { outline: 3px solid var(--sage); outline-offset: 3px; }

.details-title { margin: clamp(40px, 6vw, 64px) 0 18px; font-size: 1.5rem; }
.details { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.details figure { margin: 0; scroll-snap-align: start; }
.details img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; }
.details figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* Services */
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.services li { background: var(--paper); border-radius: var(--radius); padding: 26px 24px; }
.services p { margin: 8px 0 0; color: var(--muted); font-size: .98rem; }
.steps { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid rgba(77, 95, 69, .25); padding-top: clamp(32px, 5vw, 48px); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-deep); color: #fff; font: 500 1.1rem var(--serif); margin-bottom: 14px; }
.steps p { margin: 8px 0 0; color: var(--muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--sage-deep); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(43, 51, 45, .4); }
.sample-flag { background: #fff3c4; color: #6b5200; border-radius: 8px; padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.price-n { font: 400 4rem/1 var(--serif); letter-spacing: -0.03em; }
.price-u { color: var(--muted); }
.price-sub { color: var(--muted); margin: 6px 0 22px; }
.price-guide { margin: 0; border-top: 1px solid var(--line); }
.price-guide div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-guide dt { color: var(--ink); }
.price-guide dd { margin: 0; font-weight: 600; white-space: nowrap; }
.price-foot { font-size: .88rem; color: var(--muted); margin: 14px 0 22px; }

/* About */
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-img { width: 100%; max-width: 380px; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p { max-width: 36em; }
.about-contact { font-weight: 500; }

/* Request form */
.request-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact-list span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.area-note { margin: 6px 0 0; font-size: .95rem; color: var(--muted); max-width: 26em; }
.contact-list a { font: 400 1.6rem var(--serif); text-decoration: none; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 38px); display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, .chips legend { font-size: .9rem; font-weight: 600; }
.field em { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(111, 130, 98, .2); }
.field [aria-invalid="true"] { border-color: #b3472f; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: .93rem; transition: all .15s; }
.chips input:checked + span { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--sage-deep); font-weight: 600; }
.form-status.err { color: #9c3a25; }

/* Footer */
.footer { background: var(--ink); color: #d9ddd4; padding: 44px 0; font-size: .95rem; }
.footer-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer .brand { margin: 0; color: #fff; }
.footer .brand-by { color: var(--blush); }
.footer a { color: #fff; }
.footer p { margin: 0; }
.footer-fine { opacity: .6; font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .pricing-grid, .about-grid, .request-grid { grid-template-columns: 1fr; }
  .hero-bg { grid-template-columns: repeat(3, 1fr); }
  .hero-bg img:nth-child(n+4) { display: none; }
  .work-grid, .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .about-img { max-width: 280px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .work-grid, .services, .field-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-bg { grid-template-columns: repeat(2, 1fr); }
  .hero-bg img:nth-child(n+3) { display: none; }
  .details { grid-auto-columns: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
