/* ══ Dori & Keel Cleaning/MultiServ ══ */

:root {
  color-scheme: light;
  --paper: #f6f3ee;
  --paper-2: #ece6dd;
  --paper-3: #e2dbd0;
  --ink: #2b2f30;
  --ink-soft: #62696a;
  --ink-faint: #6d7374;
  --terracotta: #bd6238;
  --terracotta-deep: #a4522c;
  --clay: #dd9264;
  --clay-pale: #f0c3a2;
  --stone: #b6bcbd;
  --stone-pale: #ccd1d2;
  --charcoal: #3c4143;
  --sage: #7f8c7c;
  --sage-pale: #ced6c8;
  --rule: #d9d2c7;
  --alert: #a4381f;
  --display: "Marcellus", Georgia, serif;
  --body: "Karla", "Helvetica Neue", sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Fixed grain overlay — never on a scrolling container */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

h1, h2, h3, .logo, .btn, .eyebrow, legend { font-family: var(--display); font-weight: 400; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  display: block;
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 13px 26px;
  border: 1px solid var(--terracotta);
  border-radius: 999px;
  color: var(--terracotta-deep);
  background: transparent;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, transform .25s ease, box-shadow .35s ease;
}
.btn:hover {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 10px 26px -14px rgba(120, 60, 30, .75);
}
.btn:active { transform: translateY(1px) scale(.988); }
.btn--solid {
  background: var(--terracotta);
  color: var(--paper);
  border-color: var(--terracotta);
  padding: 16px 34px;
  font-size: .8rem;
}
.btn--solid:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.btn--head {
  flex: none;
  padding: 11px 20px;
  font-size: .7rem;
  letter-spacing: .12em;
  line-height: 1.25;
}
.btn--head i { font-style: normal; opacity: .55; }
:is(a, button):focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 999px;
}

/* ── Header ────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 238, .9);
  backdrop-filter: blur(9px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  min-height: 78px;
  padding-block: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  letter-spacing: .2em;
  line-height: 1;
  white-space: nowrap;
}
.logo .mark { flex: none; width: 34px; height: 34px; }
.logo b { font-weight: 400; }
.logo-text { display: inline; }
.logo-sub { color: var(--ink-faint); font-size: .62em; letter-spacing: .3em; }

.nav {
  display: flex;
  gap: clamp(15px, 2vw, 32px);
  font-family: var(--body);
  font-size: .74rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color .3s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(62px, 11vh, 124px) 0 clamp(68px, 12vh, 130px);
  background: radial-gradient(120% 90% at 50% 0%, #fbf9f6 0%, var(--paper) 46%, var(--paper-2) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: -2;
  opacity: .5;
  background: repeating-linear-gradient(
    92deg,
    rgba(184, 168, 146, .09) 0 2px,
    transparent 2px 9px,
    rgba(184, 168, 146, .05) 9px 11px,
    transparent 11px 26px
  );
}
.hero-art {
  position: absolute;
  top: 50%;
  z-index: -1;
  width: min(24vw, 356px);
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-art--left { left: max(-6vw, -70px); }
.hero-art--right { right: max(-5vw, -60px); }

.hero-copy {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(1.92rem, 4.7vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: .006em;
  color: var(--terracotta);
}
.hero h1 em, .hero h1 b {
  display: block;
  font-style: normal;
  font-weight: 400;
}
.hero h1 em { color: var(--sage); }
.hero h1 b { color: var(--charcoal); }
.hero p {
  margin: 0 auto 34px;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.hero-note {
  margin-top: 28px;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .95s cubic-bezier(.16,.84,.24,1) both; }
  .rise:nth-child(1) { animation-delay: .05s; }
  .rise:nth-child(2) { animation-delay: .17s; }
  .rise:nth-child(3) { animation-delay: .29s; }
  .rise:nth-child(4) { animation-delay: .41s; }
  .hero-art { animation: drift 1.6s cubic-bezier(.16,.84,.24,1) both; }
  .hero-art--right { animation-delay: .12s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes drift {
  from { opacity: 0; transform: translateY(-50%) scale(1.06); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* ── Section rhythm ────────────────────────────────── */
section { position: relative; }
main [id], section[id] { scroll-margin-top: 96px; }
.band { padding: clamp(60px, 9vw, 112px) 0; }
.band--paper2 { background: var(--paper-2); }
.band--head { text-align: center; margin-bottom: clamp(40px, 5.5vw, 70px); }
.band--head h2 {
  margin: 0;
  font-size: clamp(1.58rem, 3.8vw, 2.4rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-wrap: balance;
}
.band--head p {
  margin: 18px auto 0;
  max-width: 58ch;
  color: var(--ink-soft);
}
.divider {
  width: 46px;
  height: 1px;
  margin: 24px auto 0;
  background: var(--terracotta);
  opacity: .55;
}

/* ── Our Vibe ──────────────────────────────────────── */
.vibe {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 1fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}
.vibe h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: .01em;
  color: var(--terracotta-deep);
  text-wrap: balance;
}
.vibe-sprig {
  width: 68px;
  height: 68px;
  margin-top: 26px;
  color: var(--sage);
}
.vibe-body p { margin: 0 0 20px; color: var(--ink-soft); }
.vibe-body p:last-child { margin-bottom: 0; }
.lede-lg {
  font-family: var(--display);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink) !important;
}

/* ── Our Approach ──────────────────────────────────── */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
.pillar {
  padding: 0 clamp(4px, 1.6vw, 22px);
  border-left: 1px solid var(--rule);
}
.pillar:first-child { border-left: 0; }
.pillar:nth-child(2) { padding-top: 26px; }
.pillar:nth-child(3) { padding-top: 52px; }
.pillar svg { width: 62px; height: 62px; margin-bottom: 20px; }
.pillar h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  letter-spacing: .07em;
}
.pillar p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ── Signature Services ────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.svc {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.8vw, 36px);
  border-radius: 4px 4px 42px 4px;
  box-shadow: 0 18px 40px -30px rgba(48, 40, 32, .55);
  transition: transform .45s cubic-bezier(.16,.84,.24,1), box-shadow .45s ease;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 54px -30px rgba(48, 40, 32, .6);
}
.svc--clay     { background: var(--clay-pale);  color: #5b3520; }
.svc--stone    { background: var(--stone-pale); color: #333a3c; }
.svc--charcoal { background: var(--charcoal);   color: #e6e2db; }
.svc--sage     { background: var(--sage-pale);  color: #333c31; }

.svc-watermark {
  position: absolute;
  top: -12px;
  right: -16px;
  width: 122px;
  height: auto;
  opacity: .22;
  pointer-events: none;
}
.svc h3 {
  position: relative;
  margin: 0 0 14px;
  padding-right: 76px;
  font-size: clamp(1.06rem, 1.9vw, 1.26rem);
  line-height: 1.28;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-wrap: balance;
}
.svc p {
  position: relative;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 26%, transparent);
  font-size: .95rem;
  line-height: 1.62;
  opacity: .9;
}

/* ── Why Us ────────────────────────────────────────── */
.why { text-align: center; }
.why-inner { max-width: 780px; }
.why h2 {
  margin: 0 0 26px;
  font-size: clamp(1.42rem, 3.1vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: .008em;
  color: var(--ink-soft);
  text-wrap: balance;
}
.why h2 strong { color: var(--terracotta-deep); font-weight: 400; }
.why p { margin: 0 auto; max-width: 62ch; color: var(--ink-soft); }
.why-creed {
  margin-top: 34px !important;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.why-creed strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.02rem, 2.1vw, 1.28rem);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── About Us ──────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(36px, 5.5vw, 78px);
  align-items: center;
}
.about h2 {
  margin: 0 0 22px;
  font-size: clamp(1.58rem, 3.8vw, 2.4rem);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-body p { color: var(--ink-soft); margin: 0 0 18px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body p strong { color: var(--ink); font-weight: 500; }
.team-frame { width: 100%; height: auto; display: block; }

/* ── Quote form ────────────────────────────────────── */
.quote-band { background: linear-gradient(180deg, var(--paper) 0%, #fbf9f6 100%); }
.quote-form {
  max-width: 880px;
  margin: 0 auto;
}
.hp { position: absolute; left: -9999px; }

.step {
  margin: 0 0 clamp(26px, 3.4vw, 40px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(255, 255, 255, .55);
}
.step legend {
  padding: 0 12px;
  margin-left: -12px;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  letter-spacing: .05em;
  color: var(--ink);
}
.step-n {
  display: block;
  font-family: var(--body);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 12px 26px;
  margin-top: 22px;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, transform .2s ease;
}
.check:hover { border-color: var(--clay); background: #fffdfa; }
.check:active { transform: scale(.995); }
.check input {
  flex: none;
  width: 17px; height: 17px;
  accent-color: var(--terracotta);
  cursor: pointer;
}
.check:has(input:checked) {
  border-color: var(--terracotta);
  background: #fdf4ed;
}
.check:has(input:focus-visible) { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 26px;
  margin-top: 24px;
}
.field { margin: 0; display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field label em {
  font-style: normal;
  letter-spacing: .1em;
  color: var(--terracotta);
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: .98rem;
  line-height: 1.55;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa0a1; }
.field input:hover, .field textarea:hover { border-color: #c3bbae; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fffdfa;
  box-shadow: 0 0 0 3px rgba(189, 98, 56, .14);
}
.field .err {
  font-size: .82rem;
  color: var(--alert);
  visibility: hidden;
}
.field:has(input:invalid:not(:placeholder-shown)) input { border-color: var(--alert); }
.field:has(input:invalid:not(:placeholder-shown)) .err { visibility: visible; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.form-aside {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
}
.form-aside a {
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--terracotta) 45%, transparent);
  transition: color .3s ease, border-color .3s ease;
}
.form-aside a:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ── Confirmation page ─────────────────────────────── */
.confirm {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 260px);
  padding: clamp(56px, 10vh, 120px) 0;
}
.confirm-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.confirm-mark { width: 84px; height: 84px; margin: 0 auto 30px; color: var(--sage); display: block; }
.confirm h1 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: .02em;
  color: var(--terracotta);
  text-wrap: balance;
}
.confirm p { margin: 0 auto 30px; max-width: 50ch; color: var(--ink-soft); }
.confirm .btn { margin-top: 6px; }

/* ── Footer ────────────────────────────────────────── */
.site-foot {
  padding: clamp(40px, 6vw, 62px) 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 48px;
}
.foot-name {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.14rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.foot-creed {
  margin: 0;
  max-width: 34ch;
  font-family: var(--display);
  font-size: .95rem;
  letter-spacing: .05em;
  color: var(--terracotta-deep);
}
.foot-meta { text-align: right; font-size: .78rem; color: var(--ink-faint); }
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.foot-nav a { text-decoration: none; transition: color .3s ease; }
.foot-nav a:hover { color: var(--terracotta); }
.foot-contact { margin: 16px 0 0; letter-spacing: .04em; }
.foot-contact a { text-decoration: none; transition: color .3s ease; }
.foot-contact a:hover { color: var(--terracotta); }

/* ── Scroll reveals (CSS-only, progressive) ────────── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 26%;
    }
  }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1160px) {
  .hero-art { display: none; }
}
@media (max-width: 940px) {
  .nav { display: none; }
  .vibe { grid-template-columns: 1fr; gap: 30px; }
  .vibe-sprig { display: none; }
  .services { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-art { max-width: 460px; }
}
@media (max-width: 880px) {
  .approach { grid-template-columns: 1fr; gap: 40px; }
  .pillar {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 30px 0 0;
  }
  .pillar:first-child { border-top: 0; padding-top: 0; }
  .pillar:nth-child(2), .pillar:nth-child(3) { padding-top: 30px; }
  .svc h3 { padding-right: 56px; }
  .fields { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; }
  .foot-meta { text-align: left; }
  .foot-nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .logo { letter-spacing: .13em; align-items: center; }
  .logo .mark { width: 29px; height: 29px; }
  .logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.15;
  }
  .logo-sub { font-size: .58em; letter-spacing: .26em; }
  .btn--head { padding: 10px 14px; font-size: .64rem; letter-spacing: .08em; }
  .svc-watermark { width: 96px; }
  .svc h3 { padding-right: 44px; }
  .step { padding: 22px 18px; }
}
