:root {
  color-scheme: light;
  --ivory: #f8f3e6;
  --lime: #d2f83f;
  --lemon: #edb90f;
  --forest: #16331b;
  --ink: #142517;
  --muted: #4b594b;
  --light-muted: #dfe9d6;
  --gutter: max(3.35vw, calc((100vw - 88rem) / 2));
  --display: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font: 100% var(--body);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p { margin: 0; line-height: 1.62; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); letter-spacing: -.052em; }
h2 { font-weight: 600; line-height: 1.06; font-size: clamp(2.55rem, 4.5vw, 4.75rem); }
section[id] { scroll-margin-block: 1.3rem; }
:focus-visible { outline: 3px solid #8a5500; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - var(--gutter) - var(--gutter), 88rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; inset: .75rem auto auto .75rem; transform: translateY(-200%); padding: .65rem .85rem; background: var(--ivory); }
.skip-link:focus { transform: none; }
.sparkle {
  display: inline-block;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(50% 0%, 58% 25%, 68% 36%, 79% 43%, 100% 50%, 79% 57%, 68% 64%, 58% 75%, 50% 100%, 42% 75%, 32% 64%, 21% 57%, 0% 50%, 21% 43%, 32% 36%, 42% 25%);
}

.site-header { background: var(--ivory); color: var(--forest); }
.header-content { min-height: clamp(4.4rem, 5.6vw, 5.55rem); display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.brand { display: inline-flex; align-items: center; gap: clamp(.4rem, 1.05vw, 1rem); font: 700 clamp(1.25rem, 2.9vw, 2.7rem)/1.04 var(--display); letter-spacing: -.05em; text-decoration: none; }
.brand-mark { flex: none; width: clamp(1.85rem, 4.25vw, 4.2rem); }
nav { display: flex; gap: clamp(.75rem, 2.7vw, 2.7rem); align-items: center; }
nav > a { white-space: nowrap; }
.nav-services { font: 600 clamp(1rem, 1.8vw, 1.65rem)/1.13 var(--display); text-decoration: none; }
.nav-services:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .27em; }
.button { display: inline-flex; min-height: 2.9rem; padding: .58rem 1.23rem .67rem; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 5rem; font: 700 clamp(1rem, 1.62vw, 1.4rem)/1.2 var(--display); text-align: center; text-decoration: none; transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
.primary { color: var(--ivory); background: var(--forest); }
.primary:hover { background: #274e2d; }
.outline { color: var(--forest); border-color: currentColor; background: transparent; }
.outline:hover { background: #e5edc4; }
.button:disabled { opacity: .58; cursor: default; }
.text-link { font-weight: 700; text-underline-offset: .24em; }

.hero { position: relative; isolation: isolate; min-height: clamp(32rem, 43.6vw, 49rem); display: flex; align-items: center; background: var(--lime); }
.hero-copy { position: relative; z-index: 1; width: 100%; padding: clamp(2.75rem, 4vw, 4.5rem) var(--gutter); }
.hero-content { width: 58%; }
.hero h1 { font-size: clamp(4rem, 8.45vw, 9.8rem); font-weight: 700; line-height: .91; letter-spacing: -.092em; }
.hero h1 span { display: block; }
.hero h1 span:first-child { white-space: nowrap; }
.hero-content > p { margin: clamp(1.12rem, 1.65vw, 1.6rem) 0 clamp(1.45rem, 2.55vw, 2.6rem); font-size: clamp(1.1rem, 2.18vw, 2.15rem); font-weight: 600; line-height: 1.35; }
.hero-cta { min-height: clamp(3.35rem, 5.3vw, 5.1rem); padding-inline: clamp(1.75rem, 3.65vw, 3.6rem); font-size: clamp(1.4rem, 2.85vw, 2.8rem); }
.hero-sparkle { position: absolute; top: clamp(.25rem, .8vw, .8rem); left: 50%; width: clamp(2.4rem, 5vw, 5.2rem); color: var(--lemon); }
.hero-photo { position: absolute; inset: 0 0 0 42%; clip-path: polygon(34% 0, 25% 12%, 18% 25%, 12% 40%, 7% 59%, 3% 78%, 0 100%, 100% 100%, 100% 0); background: #d9d1bc; }
@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
  .hero-photo { clip-path: shape(from 34% 0, curve to 0 100% with 13% 28% / 5% 60%, line to 100% 100%, line to 100% 0, close); }
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 51%; }

.section { padding-block: clamp(3.05rem, 6vw, 6.25rem); }
.services { padding-top: clamp(1.6rem, 2.5vw, 2.8rem); background: var(--forest); color: var(--ivory); }
.services :focus-visible { outline-color: var(--lemon); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.55vw, 1.55rem); margin-top: clamp(1.4rem, 1.8vw, 1.8rem); }
.service-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1rem, 2vw, 2.1rem); border: 2px solid var(--lime); border-radius: clamp(.75rem, 1.35vw, 1.4rem); }
.service-card h3 { display: flex; gap: clamp(.5rem, 1.18vw, 1.25rem); align-items: center; font: 600 clamp(1.24rem, 2.05vw, 2.05rem)/1.13 var(--display); letter-spacing: -.045em; }
.service-card p { margin: .8rem 0 1.06rem; color: var(--light-muted); }
.service-card .text-link { margin-top: auto; font-size: .94rem; color: #ecffa4; }
.service-icon { position: relative; width: clamp(1.9rem, 3.2vw, 3.3rem); aspect-ratio: 1; flex: none; display: grid; place-items: center; color: #f4f4cd; }
.service-icon i, .service-icon b { position: absolute; display: block; }
.icon-home i { width: 65%; height: 59%; margin-top: 25%; border: 2px solid; border-top: 0; border-radius: 0 0 9% 9%; }
.icon-home b { width: 53%; height: 53%; margin-bottom: 20%; border: 2px solid; border-right: 0; border-bottom: 0; rotate: 45deg; }
.icon-deep i { width: 67%; inset: auto auto 1% 3%; }
.icon-deep b { width: 43%; inset: 1% 1% auto auto; }
.icon-box i { width: 75%; height: 67%; border: 2px solid; border-radius: 12%; }
.icon-box b { width: 71%; height: 2px; inset: 35% auto auto 15%; background: currentColor; }

.process { border-bottom: 1px solid #cdd6bd; }
.process-layout, .quote-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.steps { display: grid; list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 2.7rem 1fr; gap: .3rem .85rem; counter-increment: step; padding: 1rem 0 1.15rem; border-bottom: 1px solid #cdd6bd; }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { padding-bottom: 0; border: 0; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 700; }
.steps h3 { align-self: center; font-size: 1.12rem; }
.steps p, .quote-copy p { color: var(--muted); }
.quote { background: #eef2d5; }
.quote-copy > p { margin-top: 1rem; }
.contact-links { margin-top: 1.15rem; display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.contact-links a { overflow-wrap: anywhere; }
.quote-form { display: grid; gap: 1rem; padding: clamp(1.05rem, 2.65vw, 2.4rem); border: 1px solid #b7c4a3; border-radius: 1.12rem; background: #fffdf6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form label { display: block; min-width: 0; font-weight: 700; }
.quote-form input, .quote-form select, .quote-form textarea { display: block; width: 100%; min-height: 2.85rem; margin-top: .35rem; padding: .65rem .7rem; border: 1px solid #819075; border-radius: .42rem; background-color: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.quote-form select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-size: .33rem .33rem; background-position: calc(100% - 1.14rem) 1.16rem, calc(100% - .81rem) 1.16rem; background-repeat: no-repeat; }
.quote-form textarea { resize: vertical; }
.optional, #quote-note, #copy-status { color: var(--muted); font-size: .875rem; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.quote-preview { border-top: 1px solid #cdd6bd; padding-top: 1rem; }
.quote-preview .button { margin: .65rem 0 .3rem; }
.quote-unavailable { align-self: center; padding: 1.4rem; border: 1px solid #acbc98; border-radius: 1.12rem; background: #fffdf6; }
.site-footer { border-top: 1px solid #cdd6bd; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 6.2rem; padding-block: 1.15rem; }
.site-footer .brand { font-size: clamp(1.33rem, 2vw, 1.75rem); }
.site-footer .brand-mark { width: 1.9rem; }
.site-footer p, .site-footer .text-link { font-size: .88rem; }

@media (min-width: 100rem) {
  .hero-sparkle { left: 48.5%; }
}
@media (max-width: 65rem) {
  .hero { min-height: clamp(26rem, 49vw, 32rem); }
  .hero-content { width: 65%; }
}
@media (max-width: 49rem) {
  :root { --gutter: 1.3rem; }
  .brand { font-size: clamp(1.28rem, 4.1vw, 1.95rem); }
  .header-content { min-height: 4.3rem; }
  .nav-services { display: none; }
  .site-header .button { padding-inline: .75rem; }
  .hero { display: block; min-height: auto; }
  .hero-copy { padding: 2.15rem var(--gutter) 2rem; }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(3.25rem, 13.2vw, 6.1rem); }
  .hero-content > p { margin-block: 1rem 1.3rem; }
  .hero-sparkle { left: auto; right: var(--gutter); top: auto; bottom: 1.2rem; width: 2.6rem; }
  .hero-photo { position: relative; inset: auto; clip-path: none; aspect-ratio: 1.56; }
  .hero-photo img { object-position: center 54%; }
  .services-grid, .process-layout, .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .services-grid { gap: .82rem; }
  .service-card h3 { font-size: 1.48rem; }
}
@media (max-width: 25rem) {
  :root { --gutter: 1rem; }
  .brand { font-size: 1.23rem; }
  .brand-mark { width: 1.52rem; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
