:root {
  --paper: #f3efe6;
  --paper-2: #e7e0d0;
  --linen: #f7f3ea;
  --ink: #1c2118;
  --ink-soft: #3a4136;
  --muted: #6a7064;
  --moss: #2f4a3a;
  --moss-deep: #24382c;
  --foam: #d8e4dc;
  --border: color-mix(in oklab, var(--ink) 12%, transparent);
  --font-display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --text-display: clamp(2.55rem, 1.15rem + 5.4vw, 5.15rem);
  --text-title: clamp(1.7rem, 1.15rem + 2.1vw, 3.05rem);
  --text-lede: clamp(1.05rem, 0.98rem + 0.4vw, 1.2rem);
  --shadow:
    0 0 0 1px rgba(28, 33, 24, 0.08),
    0 1px 2px -1px rgba(28, 33, 24, 0.06),
    0 2px 8px 0 rgba(28, 33, 24, 0.04);
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 72rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
  outline: 1px solid rgba(28, 33, 24, 0.1);
  outline-offset: -1px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 500; }
p { text-wrap: pretty; margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; }

::selection {
  background: color-mix(in oklab, var(--moss) 28%, transparent);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(100% - 4rem, var(--max)); }
}

.font-display { font-family: var(--font-display); }
.kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lede {
  font-size: var(--text-lede);
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.btn:active { transform: scale(0.96); }
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-xl { height: 3.5rem; padding: 0 1.75rem; font-size: 1rem; }
.btn-md { height: 2.75rem; padding: 0 1.25rem; border-radius: var(--radius-md); }
.btn-primary { background: var(--moss); color: var(--linen); }
.btn-primary:hover { background: var(--moss-deep); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--paper-2); }
.btn-inverse { background: var(--linen); color: var(--ink); }
.btn-inverse:hover { background: var(--paper); }
.btn-ghost-light {
  background: transparent;
  color: var(--linen);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--linen) 30%, transparent);
}
.btn-ghost-light:hover { background: color-mix(in oklab, var(--linen) 10%, transparent); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 4rem;
  color: var(--linen);
  background: linear-gradient(to bottom, rgb(28 33 24 / 0.55), transparent);
  transition: background 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: color-mix(in oklab, var(--paper) 95%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  background: var(--linen);
  color: var(--moss);
}
.site-header.is-scrolled .logo-mark,
.site-header.is-open .logo-mark {
  background: var(--moss);
  color: var(--linen);
}
.logo-mark svg { width: 1.25rem; height: 1.25rem; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.nav-desktop,
.header-cta { display: none; }
.nav-desktop {
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-desktop a:hover { opacity: 0.7; }
.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.icon-close { display: none; }
.site-header.is-open .icon-open { display: none; }
.site-header.is-open .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--paper);
  padding: 5rem 1.25rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a.nav-lg {
  display: block;
  padding: 1rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--ink);
}
.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0 0.75rem;
}

.site-header.is-scrolled .header-call,
.site-header.is-open .header-call {
  color: var(--ink);
  background: transparent;
  box-shadow: var(--shadow);
}
.site-header.is-scrolled .header-wa,
.site-header.is-open .header-wa {
  background: var(--moss);
  color: var(--linen);
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--linen);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink), rgb(28 33 24 / 0.5), rgb(28 33 24 / 0.25));
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 6rem;
  max-width: 48rem;
}
.hero h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: 0.96;
  letter-spacing: -0.032em;
}
.hero .lede { margin-top: 1.25rem; max-width: 36rem; opacity: 0.85; }
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-stats {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(247 243 234 / 0.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 36rem;
}
.hero-stats dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}
.hero-stats dd {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.see-services {
  display: none;
  position: absolute;
  right: 2rem;
  bottom: 1.75rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; }
}
@media (min-width: 768px) {
  .hero-inner { padding: 7rem 0 4rem; }
  .see-services { display: flex; }
}

.stagger-in > * {
  opacity: 0;
  animation: rise-in 400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stagger-in > *:nth-child(1) { animation-delay: 40ms; }
.stagger-in > *:nth-child(2) { animation-delay: 120ms; }
.stagger-in > *:nth-child(3) { animation-delay: 200ms; }
.stagger-in > *:nth-child(4) { animation-delay: 280ms; }
.stagger-in > *:nth-child(5) { animation-delay: 360ms; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}

/* Intro */
.intro {
  background: var(--linen);
  border-block: 1px solid var(--border);
  padding: 4rem 0;
}
.intro-grid {
  display: grid;
  gap: 2.5rem;
}
.intro h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.intro p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
@media (min-width: 768px) {
  .intro { padding: 5rem 0; }
  .intro-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* Services */
.section {
  padding: 5rem 0;
  scroll-margin-top: 5rem;
}
@media (min-width: 768px) { .section { padding: 7rem 0; } }

.section-head { max-width: 40rem; display: flex; flex-direction: column; gap: 1rem; }
.section-head h2,
.how-copy h2,
.areas-copy h2,
.faq-copy h2,
.quote-copy h2 {
  font-family: var(--font-display);
  font-size: var(--text-title);
  line-height: 1.12;
  letter-spacing: -0.032em;
}
.muted { color: var(--muted); }
.ink-soft { color: var(--ink-soft); }

.services-top {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}
.services-side { display: grid; gap: 1rem; }
.services-rest {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .services-side { grid-template-columns: 1fr 1fr; }
  .services-rest { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services-top { grid-template-columns: 7fr 5fr; align-items: start; }
  .services-side { grid-template-columns: 1fr; }
  .services-rest { grid-template-columns: 1fr 1fr 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.card-media { overflow: hidden; aspect-ratio: 4 / 3; }
.card-media.is-wide { aspect-ratio: 16 / 9; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}
.card.is-featured .card-body { padding: 1.25rem; }
@media (min-width: 768px) {
  .card.is-featured .card-body { padding: 1.75rem; }
}
.card h3 {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.card.is-featured h3 { font-size: 1.875rem; }
.card-body p { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
.quote-this {
  margin-top: 1.25rem;
  align-self: flex-start;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
}
.quote-this.is-on { color: var(--moss); }
.quote-this svg { width: 1rem; height: 1rem; }

/* How */
.how-grid {
  display: grid;
  gap: 3rem;
}
.how-copy .lede { margin-top: 1rem; max-width: 28rem; }
.how-photo {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.how-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.steps li:first-child { border-top: 0; padding-top: 0; }
.step-n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--moss);
}
.steps h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.steps p { margin-top: 0.5rem; max-width: 32rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.6; }
@media (min-width: 1024px) {
  .how-grid { grid-template-columns: 5fr 7fr; }
  .steps { padding-top: 3rem; }
}

/* Areas */
.areas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--linen);
  scroll-margin-top: 5rem;
}
.areas-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.areas-shade {
  position: absolute;
  inset: 0;
  background: rgb(28 33 24 / 0.72);
}
.areas-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: 5rem;
}
.areas-copy .lede { margin-top: 1rem; max-width: 28rem; opacity: 0.85; }
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  align-self: end;
}
.area-list li {
  border-top: 1px solid rgb(247 243 234 / 0.2);
  padding-top: 0.75rem;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .area-list { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 768px) { .areas-grid { padding-block: 7rem; } }
@media (min-width: 1024px) { .areas-grid { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { background: var(--linen); padding: 5rem 0; }
.faq-grid { display: grid; gap: 2.5rem; }
.faq-copy h2 { margin-top: 1rem; }
details {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
.plus {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: var(--paper-2);
  color: var(--moss);
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 150ms ease;
}
details[open] .plus { transform: rotate(45deg); }
details p {
  margin-top: 0.75rem;
  max-width: 42rem;
  padding-right: 3rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 4fr 8fr; }
}

/* Quote */
.quote {
  background: var(--moss);
  color: var(--linen);
  scroll-margin-top: 5rem;
}
.quote-grid { display: grid; gap: 3rem; }
.quote-copy .lede { margin-top: 1rem; opacity: 0.85; }
.quote-note { margin-top: 1.5rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.6; opacity: 0.75; }
.quote-photo {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.quote-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 1.25rem;
  background: rgb(28 33 24 / 0.25);
  padding: 1.25rem;
}
.field-grid { display: grid; gap: 1rem; }
label span, legend {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgb(247 243 234 / 0.7);
}
.field {
  width: 100%;
  height: 3rem;
  border: 0;
  border-radius: var(--radius-md);
  background: rgb(36 56 44 / 0.5);
  color: var(--linen);
  padding: 0 1rem;
  font: inherit;
  font-size: 0.875rem;
  box-shadow: 0 0 0 1px rgb(247 243 234 / 0.2);
  outline: none;
  appearance: none;
}
.field::placeholder { color: rgb(247 243 234 / 0.4); }
.field:focus { box-shadow: 0 0 0 2px var(--linen); }
select.field option { color: var(--ink); }
textarea.field { height: auto; padding: 0.75rem 1rem; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  height: 2.75rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--linen);
  box-shadow: 0 0 0 1px rgb(247 243 234 / 0.25);
  font-size: 0.875rem;
}
.chip.is-on {
  background: var(--linen);
  color: var(--ink);
  box-shadow: none;
}
.form-error { font-size: 0.875rem; color: var(--foam); }
.form-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .form-actions { flex-direction: row; }
  .form-actions .btn-inverse { flex: 1; }
}
@media (min-width: 768px) {
  .quote-form { padding: 2rem; }
}
@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: 5fr 7fr; }
}

/* Footer + dock */
.site-footer {
  background: var(--ink);
  color: var(--linen);
  padding: 4rem 0 7.5rem;
}
.footer-grid { display: grid; gap: 3rem; }
.site-footer .logo-mark {
  background: var(--linen);
  color: var(--moss);
}
.footer-blurb {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(247 243 234 / 0.7);
}
.footer-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(247 243 234 / 0.45);
}
.footer-links { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links svg { width: 1rem; height: 1rem; }
.footer-services {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(247 243 234 / 0.45);
}
.footer-bar {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(247 243 234 / 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgb(247 243 234 / 0.4);
}
.dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem;
  background: color-mix(in oklab, var(--paper) 95%, transparent);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.dock a {
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
}
.dock svg { width: 1rem; height: 1rem; }
.dock-call { background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow); }
.dock-wa { background: var(--moss); color: var(--linen); }

@media (min-width: 768px) {
  .site-footer { padding: 5rem 0 4rem; }
  .footer-grid { grid-template-columns: 5fr 3fr 4fr; }
  .footer-bar { flex-direction: row; justify-content: space-between; }
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stagger-in > * { animation: none; opacity: 1; }
}
