:root {
  --forest: #233a33;
  --forest-2: #1a2c27;
  --ochre: #e8a33d;
  --terra: #c46a4a;
  --sage: #7d8f6e;
  --linen: #efe6d6;
  --paper: #f7f2e9;
  --ink: #1f2320;
  --bg: #121412;
  --bg-2: #181b19;
  --surface: #1f2421;
  --text: #efe6d6;
  --muted: #a7a89f;
  --line: rgba(239, 230, 214, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: italic; color: var(--ochre); font-weight: 300; }
.hidden { position: absolute; left: -9999px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 0.12s + 0.1s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } .strip-track { animation: none !important; } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(18, 20, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.brand-mark { width: 2.75rem; height: 2.75rem; flex: none; color: var(--text); transition: transform .4s cubic-bezier(.2,.7,.2,1.3); }
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: 0.32em; margin-right: -0.32em; }
.brand-text small { display: flex; align-items: center; gap: 0.45rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 0.35rem; }
.brand-text small::before, .brand-text small::after { content: ""; flex: 1; height: 1px; background: rgba(232,163,61,.55); }
.nav nav { display: flex; gap: clamp(0.8rem, 2.5vw, 2rem); align-items: center; }
.nav nav a { text-decoration: none; font-size: 0.95rem; font-weight: 400; position: relative; }
.nav nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { padding: 0.5rem 1rem; border-radius: 999px; background: var(--ochre); color: var(--ink) !important; font-weight: 500 !important; transition: background .2s; }
.nav-cta:hover { background: var(--linen); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.6rem; border-radius: 999px; font: 500 1rem var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--ochre); color: var(--ink); box-shadow: 0 10px 28px -12px rgba(232,163,61,.6); }
.btn-primary:hover { background: var(--linen); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(239,230,214,.4); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--ink); }
.btn-block { width: 100%; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding: clamp(3rem, 8vw, 7rem) var(--pad) clamp(3rem, 6vw, 5rem);
  min-height: calc(100vh - 70px);
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.75rem; font-weight: 500; color: #e0805d; margin: 0 0 1.2rem; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6.6rem); font-weight: 350; }
.lede { max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); margin: 1.6rem 0 2.2rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-art { position: relative; aspect-ratio: 4 / 5; max-height: 76vh; justify-self: end; width: 100%; }
.wall { position: absolute; inset: 0; border-radius: 220px 220px 14px 14px; overflow: hidden; background: var(--linen); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(239,230,214,.06); }
.wall-band { position: absolute; left: 0; right: 0; transform-origin: left; animation: roll 1.3s cubic-bezier(.6,.05,.2,1) both; }
.band-1 { top: 0; height: 58%; background: var(--forest); animation-delay: .35s; }
.band-2 { top: 58%; height: 10%; background: var(--sage); animation-delay: .6s; }
.band-3 { top: 68%; height: 32%; background: var(--terra); animation-delay: .85s; }
@keyframes roll { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sun { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 24%; translate: -50% 0; background: radial-gradient(circle at 40% 38%, #f8d48b, var(--ochre) 60%, #cf8a2c); animation: glow 6s ease-in-out infinite alternate, pop 1s 1.2s cubic-bezier(.2,.8,.2,1.2) both; }
@keyframes glow { from { box-shadow: 0 0 0 0 rgba(232,163,61,.35); } to { box-shadow: 0 0 0 28px rgba(232,163,61,0); } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.chip { position: absolute; display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.9rem 0.5rem 0.5rem; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; font-weight: 400; box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); animation: float 5s ease-in-out infinite alternate; }
.chip span { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid var(--line); }
.chip-a { left: -8%; top: 18%; }
.chip-b { right: -6%; top: 48%; animation-delay: -2s; }
.chip-c { left: 6%; bottom: 8%; animation-delay: -3.5s; }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* Strip */
.strip { background: var(--forest); color: var(--linen); overflow: hidden; padding: 1.1rem 0; border-block: 1px solid var(--forest-2); }
.strip-track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }
.strip-track span::before { content: "\2022"; color: var(--ochre); margin-right: 3rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
section { scroll-margin-top: 70px; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.section-head .sub { color: var(--muted); margin-top: 1rem; }
.section-head.light h2 { color: var(--linen); }
.section-head.light .eyebrow { color: var(--ochre); }

.services { padding: clamp(4rem, 9vw, 8rem) var(--pad); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.services .section-head { position: sticky; top: 110px; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); transition: padding .35s, background .35s; }
.service:hover { padding-left: 1rem; background: linear-gradient(90deg, rgba(232,163,61,.12), transparent 70%); }
.num { font-family: var(--serif); font-style: italic; color: var(--ochre); font-size: 1.1rem; padding-top: .3rem; }
.service h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.5rem; }
.service p { margin: 0; color: var(--muted); max-width: 36rem; }

.process { background: var(--forest-2); color: var(--linen); padding: clamp(4rem, 9vw, 8rem) var(--pad); position: relative; overflow: hidden; }
.process::after { content: ""; position: absolute; width: 38rem; aspect-ratio: 1; border-radius: 50%; right: -14rem; top: -16rem; background: radial-gradient(circle, rgba(232,163,61,.22), transparent 65%); pointer-events: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 2rem 1.6rem 2rem 0; border-top: 1px solid rgba(239,230,214,.25); position: relative; }
.steps li:nth-child(even) { margin-top: 3rem; }
.steps span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--ochre); color: var(--ochre); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 1.2rem; }
.steps h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.steps p { margin: 0; color: rgba(239,230,214,.72); }

.palette { padding: clamp(4rem, 9vw, 8rem) var(--pad); }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; height: clamp(22rem, 42vw, 30rem); }
.swatch { background: var(--c); border-radius: 10px; color: var(--linen); padding: 1.2rem; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .45s cubic-bezier(.2,.7,.2,1), flex .45s; position: relative; overflow: hidden; }
.swatch:nth-child(odd) { transform: translateY(1.8rem); }
.swatch:hover { transform: translateY(-0.6rem); }
.swatch.light { color: var(--ink); border: 1px solid var(--line); }
.swatch span { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; }
.swatch small { opacity: 0; transform: translateY(6px); transition: .3s; font-size: .82rem; margin-top: .3rem; }
.swatch:hover small { opacity: .85; transform: none; }

/* Quote */
.quote { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 9vw, 8rem) var(--pad); background: var(--bg-2); border-top: 1px solid var(--line); }
.quote-intro h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 1.2rem; }
.quote-intro > p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }
.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: center; }
.ticks li::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--ochre); flex: none; }
.quote-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.8rem); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 500; letter-spacing: .02em; }
.field label i { font-weight: 300; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); color-scheme: dark; border-radius: 10px; padding: .8rem .9rem; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(239,230,214,.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgba(232,163,61,.18); }
.err { display: none; font-size: .82rem; color: #ef8e6b; }
.field.invalid input, .field.invalid textarea { border-color: #ef8e6b; box-shadow: 0 0 0 3px rgba(239,142,107,.15); }
.field.invalid .err { display: block; }

/* Footer */
.footer { padding: 3rem var(--pad); background: #0c0e0d; border-top: 1px solid var(--line); color: var(--linen); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.footer p { margin: 0; color: rgba(239,230,214,.7); font-size: .95rem; }

/* Thank you */
.thanks-page { background: var(--bg); color: var(--linen); }
.thanks { min-height: 100vh; display: grid; place-content: center; justify-items: start; gap: 1.4rem; padding: var(--pad); max-width: 44rem; margin: 0 auto; }
.thanks h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.thanks p { color: rgba(239,230,214,.78); font-size: 1.15rem; margin: 0; }
.thanks .btn-primary { background: var(--ochre); color: var(--ink); }
.thanks .btn-primary:hover { background: var(--linen); }
.thanks .brand-mark { width: 3.4rem; height: 3.4rem; }
.field select option { background: var(--surface); color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero, .services, .quote { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { max-width: 26rem; justify-self: center; }
  .services .section-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(even) { margin-top: 0; }
  .swatches { grid-template-columns: repeat(3, 1fr); height: auto; grid-auto-rows: 11rem; }
  .swatch:nth-child(odd) { transform: none; }
  .swatch small { opacity: .85; transform: none; }
}
@media (max-width: 600px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .row, .steps { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .chip-a { left: -2%; } .chip-b { right: -2%; }
}
