@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap');

:root {
  --ink: #171a17;
  --paper: #eeeade;
  --cream: #f7f3e9;
  --ember: #ed6a2c;
  --ember-light: #ff8b4d;
  --moss: #35463b;
  --muted: #8d9289;
  --line: rgba(23,26,23,.16);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --display: 'Manrope', sans-serif;
  --body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; z-index: 999; top: -5rem; left: 1rem; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 88px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; color: white; transition: background .4s, height .4s, box-shadow .4s; }
.site-header.scrolled { height: 70px; background: rgba(20,23,20,.9); backdrop-filter: blur(14px); box-shadow: 0 1px rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 600 .78rem/1 var(--display); letter-spacing: .1em; }
.brand small { display: block; margin-top: .38rem; opacity: .58; font-size: .54rem; letter-spacing: .2em; }
.brand-mark { width: 36px; fill: none; stroke: currentColor; stroke-width: 1.7; }
nav { display: flex; gap: 2.2rem; margin-left: auto; margin-right: 2.4rem; font-size: .78rem; }
nav a { opacity: .72; transition: opacity .2s; }
nav a:hover { opacity: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem; min-height: 56px; padding: 0 1.5rem; border: 1px solid transparent; font-size: .82rem; font-weight: 600; letter-spacing: .02em; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button-hot { background: var(--ember); color: #fff; }
.button-hot:hover { background: var(--ember-light); }
.button-small { min-height: 43px; gap: .7rem; padding: 0 1rem; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: white; box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: white; background: #19231f; }
.hero-image { position: absolute; inset: -6%; background-image: url('/assets/hero-sliver-peaks.png'); background-size: cover; background-position: center; transform: scale(1.03); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,13,.88) 0%, rgba(8,13,13,.57) 35%, rgba(8,13,13,.08) 69%), linear-gradient(0deg, rgba(8,13,13,.48), transparent 40%); }
.hero-content { position: relative; z-index: 2; width: min(700px, 80vw); margin-left: var(--pad); padding-top: 70px; }
.eyebrow { margin: 0 0 1.5rem; font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.67); }
.eyebrow.dark { color: #777c74; }
h1, h2 { margin: 0; font: 500 clamp(3.4rem, 7.2vw, 7.4rem)/.94 var(--display); letter-spacing: -.065em; }
h1 em, .final-cta h2 em { color: #edc7a4; font-style: italic; font-weight: 400; }
.hero-copy { width: min(510px, 100%); margin: 2rem 0 2.2rem; color: rgba(255,255,255,.7); font-size: 1.02rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 1.7rem; align-items: center; }
.text-link { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: .82rem; }
.text-link span { margin-left: 1.7rem; }
.hero-note { position: absolute; z-index: 2; right: var(--pad); bottom: 2rem; display: flex; gap: 1.2rem; font-size: .55rem; letter-spacing: .17em; opacity: .6; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 11px; top: 8px; width: 2px; height: 7px; background: white; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

.section-shell { padding: clamp(6rem, 10vw, 10rem) var(--pad); }
.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; }
.intro h2, .story h2 { font-size: clamp(3rem, 5.7vw, 6rem); }
.intro-copy { justify-self: end; width: min(490px, 100%); margin: 3.2rem 0 0; font-size: 1.12rem; line-height: 1.7; color: #666b65; }
.wood-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wood-card { position: relative; min-height: 510px; padding: 2.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .4s, color .4s, transform .4s; }
.wood-card:hover { background: #242b26; color: white; transform: translateY(-8px); }
.wood-card.featured { background: #e5dfd2; }
.wood-card.featured:hover { background: #242b26; }
.wood-number { font-size: .62rem; letter-spacing: .15em; opacity: .5; }
.wood-ring { width: 152px; height: 152px; margin: 2.5rem auto 1.5rem; border-radius: 50%; opacity: .72; transition: transform .6s; background: repeating-radial-gradient(ellipse at 48% 52%, #9d7656 0 3px, #c49b70 4px 9px, #76543c 10px 12px); box-shadow: inset 0 0 0 9px rgba(43,29,20,.2), 0 16px 35px rgba(65,43,27,.14); }
.wood-card[data-tone="gum"] .wood-ring { filter: saturate(.55) brightness(.68); }
.wood-card[data-tone="cypress"] .wood-ring { filter: saturate(.75) brightness(1.1); }
.wood-card:hover .wood-ring { transform: rotate(16deg) scale(1.06); }
.wood-card h3 { margin: 0; font: 500 2rem var(--display); letter-spacing: -.04em; }
.wood-card p { min-height: 70px; color: #70746e; font-size: .88rem; line-height: 1.65; transition: color .4s; }
.wood-card:hover p { color: rgba(255,255,255,.65); }
.price { display: flex; align-items: end; gap: .65rem; margin-top: 1.4rem; }
.price span { font: 500 2.4rem var(--display); }
.price small { padding-bottom: .38rem; color: #777c74; }
.wood-card > a { position: absolute; inset: auto 2.2rem 2rem; padding-top: 1rem; border-top: 1px solid currentColor; display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; }
.popular { position: absolute; right: 1.5rem; top: 1.5rem; padding: .45rem .6rem; background: var(--ember); color: #fff; font-size: .52rem; letter-spacing: .14em; }
.price-note { grid-column: 1 / -1; margin: 1.1rem 0 0; text-align: right; color: #82867f; font-size: .7rem; }

.delivery { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 760px; background: var(--ink); color: #fff; }
.delivery-photo { position: relative; overflow: hidden; min-height: 620px; }
.delivery-photo::after { content: ''; position: absolute; inset: 0; box-shadow: inset -100px 0 120px rgba(23,26,23,.38); pointer-events: none; }
.delivery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s cubic-bezier(.2,.7,.2,1); }
.delivery-photo.is-visible img { transform: scale(1.035); }
.route-badge { position: absolute; z-index: 2; left: 2rem; bottom: 2rem; display: flex; flex-direction: column; padding: 1rem 1.2rem; color: var(--ink); background: rgba(245,240,227,.92); backdrop-filter: blur(10px); }
.route-badge b { font-size: .55rem; letter-spacing: .18em; color: var(--ember); }
.route-badge span { margin-top: .35rem; font-size: .72rem; }
.delivery-copy { align-self: center; padding: 5rem clamp(2.2rem, 5vw, 6rem); }
.delivery-copy h2 { font-size: clamp(3rem, 5vw, 5.7rem); }
.delivery-copy > p:not(.eyebrow) { margin: 2.2rem 0; color: #a9afa8; line-height: 1.75; font-size: .95rem; }
.delivery-copy ul { list-style: none; margin: 0 0 2.5rem; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.delivery-copy li { display: flex; align-items: center; gap: 1.2rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .8rem; }
.delivery-copy li span { color: var(--ember); font-size: .6rem; }
.button-light { border-color: rgba(255,255,255,.4); }
.button-light:hover { background: white; color: var(--ink); }

.story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.story-kicker { color: #91958e; font: italic 1rem/1.6 Georgia, serif; padding-top: 5rem; }
.story-main > p:last-child { width: min(560px, 100%); margin: 2.2rem 0; color: #666b65; line-height: 1.75; }
.values { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 3rem; border-top: 1px solid var(--line); }
.value { padding: 2rem 0; border-right: 1px solid var(--line); }
.value + .value { padding-left: 2rem; }
.value:last-child { border: 0; }
.value strong { display: block; font: 500 1.3rem var(--display); }
.value span { display: block; margin-top: .45rem; color: #7e827c; font-size: .76rem; }

.final-cta { position: relative; min-height: 680px; padding: 8rem var(--pad); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; text-align: center; color: white; background: #212820; }
.final-cta::before { content: ''; position: absolute; inset: 0; opacity: .28; background: radial-gradient(circle at 50% 100%, #c8612c 0, transparent 45%), repeating-linear-gradient(110deg, transparent 0 40px, rgba(255,255,255,.018) 41px 42px); }
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(3.8rem, 7vw, 7.2rem); }
.final-cta > p:not(.eyebrow) { margin: 2rem 0; color: #aeb5ad; line-height: 1.7; }
.ember { position: absolute; border-radius: 50%; background: var(--ember); filter: blur(1px); animation: float 6s ease-in-out infinite; }
.ember-one { width: 6px; height: 6px; left: 22%; bottom: 16%; }
.ember-two { width: 4px; height: 4px; right: 28%; bottom: 12%; animation-delay: -3s; }
@keyframes float { 50% { transform: translate(20px,-170px); opacity: .2; } }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding: 3rem var(--pad); background: #111411; color: white; align-items: end; }
.footer-brand { align-self: center; }
footer p { margin: 0; color: #777d76; font-size: .69rem; line-height: 1.7; }
footer > div { text-align: right; }
footer > div > a { display: block; font: 500 1.25rem var(--display); }
footer small { display: block; margin-top: .8rem; color: #626760; font-size: .6rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.wood-grid .reveal:nth-child(2), .values .reveal:nth-child(2) { transition-delay: .12s; }
.wood-grid .reveal:nth-child(3), .values .reveal:nth-child(3) { transition-delay: .24s; }

@media (max-width: 900px) {
  nav { display: none; }
  .site-header { height: 72px; }
  .hero-content { width: calc(100% - 2 * var(--pad)); }
  .hero-shade { background: linear-gradient(90deg, rgba(8,13,13,.85), rgba(8,13,13,.22)), linear-gradient(0deg, rgba(8,13,13,.6), transparent); }
  .intro, .story { grid-template-columns: 1fr; }
  .intro-copy { justify-self: start; margin-top: 0; }
  .wood-grid { grid-template-columns: 1fr; }
  .wood-card { min-height: 450px; }
  .delivery { grid-template-columns: 1fr; }
  .delivery-photo { min-height: 60vw; }
  .story { gap: 1rem; }
  .story-kicker { padding-top: 0; }
}

@media (max-width: 600px) {
  .site-header .brand small { display: none; }
  .brand-mark { width: 29px; }
  .button-small { font-size: .7rem; min-height: 40px; }
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero { min-height: 780px; }
  .hero-image { background-position: 62% center; }
  .hero-note, .scroll-cue { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .intro { padding-top: 6rem; }
  .wood-grid { margin-top: 3rem; }
  .delivery-photo { min-height: 500px; }
  .delivery-photo img { object-position: 55% center; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 1.3rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; }
  footer > div { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
