:root {
  --cream: #dfd0bd;
  --paper: #eee3d4;
  --ink: #292520;
  --muted: #746b60;
  --walnut: #754830;
  --walnut-dark: #4d2c20;
  --charcoal: #242321;
  --line: rgba(41, 37, 32, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
.section-pad { padding: clamp(84px, 10vw, 158px) clamp(22px, 7vw, 112px); }
.section-kicker { margin: 0 0 28px; color: var(--walnut); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker.light { color: #c9baa5; }
h2 { margin: 0; font: 500 clamp(46px, 6.4vw, 92px)/.98 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 5vw, 78px);
  color: var(--paper);
  text-shadow: 0 1px 10px rgba(0,0,0,.34);
}
.wordmark { font: 600 clamp(19px, 2vw, 25px)/1 Georgia, serif; text-decoration: none; letter-spacing: -.03em; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { font-size: 13px; font-weight: 800; text-decoration: none; }
.nav-cta { border: 1px solid rgba(255,255,255,.65); border-radius: 999px; background: transparent; padding: 12px 18px; color: var(--paper); cursor: pointer; font-size: 13px; font-weight: 800; }
.nav-cta.is-floating { position: fixed; z-index: 90; right: clamp(18px, 3vw, 42px); bottom: clamp(18px, 3vw, 36px); border-color: var(--ink); background: var(--ink); padding: 15px 24px; color: var(--paper); box-shadow: 0 12px 35px rgba(0,0,0,.28); text-shadow: none; animation: float-in .28s ease-out both; }

.hero { position: relative; display: grid; min-height: 100svh; align-items: center; overflow: hidden; background: var(--charcoal); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.24) 0%, transparent 24%), linear-gradient(90deg, rgba(22,20,18,.84) 0%, rgba(22,20,18,.56) 38%, rgba(22,20,18,.02) 72%), url('/hero-v5.webp') center/cover no-repeat; }

@media (min-width: 821px) and (max-aspect-ratio: 4/3) {
  .hero-image {
    background-color: #171511;
    background-position: center, center, center bottom;
    background-size: cover, cover, auto 84%;
    background-repeat: no-repeat;
  }
}
.hero-content { position: relative; z-index: 1; width: min(880px, 90vw); margin-left: clamp(22px, 9vw, 140px); padding: 150px 0 80px; color: var(--paper); }
.hero h1 { margin: 0; font: 500 clamp(56px, 5.8vw, 88px)/.94 Georgia, 'Times New Roman', serif; letter-spacing: -.055em; }
.hero-copy { max-width: 500px; margin: 27px 0 0; color: #ddd2c5; font: 400 clamp(17px, 1.7vw, 20px)/1.55 Georgia, serif; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 999px; background: transparent; padding: 0 25px; cursor: pointer; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #cf9e72; outline-offset: 3px; }
.button-primary { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.hero-scroll-link { position: absolute; z-index: 2; right: clamp(22px, 5vw, 78px); bottom: 32px; display: inline-flex; align-items: center; gap: 10px; color: #d8cec1; font-size: 12px; font-weight: 800; text-decoration: none; }
.hero-scroll-link:hover { color: var(--paper); }
.hero-scroll-link span { display: inline-block; font-size: 17px; animation: scroll-hint 1.8s ease-in-out infinite; }

.intro { background: var(--paper); }
.intro h2 { max-width: 980px; }
.story-copy { max-width: 1020px; margin: 54px 0 0; color: var(--muted); font: 400 clamp(21px, 2.35vw, 32px)/1.5 Georgia, serif; letter-spacing: -.018em; }
.story-copy p { margin: 0; }
.story-copy p + p { margin-top: 22px; }

.press-section { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(55px, 8vw, 130px); align-items: center; background: #2d2a26; color: var(--paper); }
.press-copy > p:not(.section-kicker) { max-width: 610px; margin: 36px 0 0; color: #c6baac; font-size: 17px; line-height: 1.75; }
.steps { margin: 48px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; border-top: 1px solid rgba(255,255,255,.16); padding: 22px 0; }
.steps li > span { padding-top: 3px; color: #c69773; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.steps strong { font: 500 22px Georgia, serif; }
.steps p { margin: 6px 0 0; color: #aaa095; font-size: 14px; line-height: 1.6; }
.press-demo { display: grid; min-height: 650px; grid-template-rows: minmax(410px, 1fr) auto; overflow: hidden; background: #171614; }
.photo-press { position: relative; min-height: 410px; border: 0; overflow: hidden; background: #171614; cursor: pointer; }
.photo-press img { object-fit: cover; object-position: center; }
.photo-press::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,16,.5), transparent 48%); content: ''; }
.press-cue { position: absolute; z-index: 2; right: 24px; bottom: 22px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(25,23,20,.58); padding: 10px 14px; color: #f1e8dc; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(5px); }
.affirmation-panel { padding: 38px 42px 42px; text-align: left; }
.demo-label { margin: 0 0 10px; color: #b79d88; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.demo-affirmation { min-height: 52px; margin: 0; color: var(--paper); font: 500 clamp(33px, 4vw, 50px)/1.1 Georgia, serif; letter-spacing: -.04em; }
.demo-note { max-width: 390px; margin: 13px 0 0; color: #8e857b; font-size: 11px; line-height: 1.55; }

.voice-section { display: block; background: #6e432f; color: var(--paper); }
.voice-copy { max-width: 1080px; }
.voice-copy h2 { font-size: clamp(50px, 6vw, 86px); }
.voice-copy > p:not(.section-kicker) { max-width: 830px; margin: 38px 0 0; color: #f0e2d5; font: 400 clamp(22px, 2vw, 30px)/1.5 Georgia, serif; }

.materials { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(55px, 9vw, 145px); align-items: center; background: #e8dccb; }
.materials-photo { min-height: 760px; background: #1b1815 url('/detail.webp') center 14%/auto 148% no-repeat; }
.materials-copy h2 { font-size: clamp(45px, 5.6vw, 79px); }
.materials-copy > p:not(.section-kicker) { max-width: 600px; margin: 32px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.materials dl { margin: 50px 0 0; }
.materials dl div { border-top: 1px solid var(--line); padding: 25px 0; }
.materials dt { font: 500 23px Georgia, serif; }
.materials dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.product-section { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; background: #1f1e1c; color: var(--paper); }
.product-section h2 { font-size: clamp(56px, 7vw, 102px); }
.product-buy { align-self: end; max-width: 480px; }
.product-buy > p:first-child { color: #c7bfb3; font: 400 18px/1.7 Georgia, serif; }
.product-price { margin: 30px 0 4px; font: 500 42px Georgia, serif; }
.button-cream { width: 100%; margin-top: 30px; border-color: var(--paper); background: var(--paper); color: var(--ink); }

footer { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; background: #151513; padding: 50px clamp(22px, 5vw, 78px); color: #9f978d; font-size: 11px; }
.footer-wordmark { color: var(--paper); }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.footer-brand { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-brand p { text-align: left; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow-y: auto; background: rgba(19,18,16,.74); padding: 20px; backdrop-filter: blur(8px); }
.checkout-modal { position: relative; width: min(570px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; border-radius: 4px; background: var(--paper); padding: clamp(28px, 5vw, 54px); box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 18px; right: 18px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; line-height: 1; }
.checkout-brand { margin-bottom: 46px; font: 600 20px Georgia, serif; }
.checkout-step { margin: 0 0 10px; color: var(--walnut); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.checkout-modal h2 { font-size: clamp(40px, 7vw, 58px); }
.order-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0; padding: 20px 0; }
.order-thumb { position: relative; width: 64px; height: 54px; border-radius: 4px; background: #d9c7b2; }
.order-thumb::before, .order-thumb span { position: absolute; left: 50%; display: block; width: 46px; transform: translateX(-50%); border-radius: 50%; content: ''; }
.order-thumb::before { top: 19px; height: 25px; background: #22211f; }
.order-thumb span { z-index: 1; top: 11px; height: 19px; border-bottom: 4px solid #4f2f20; background: #7c4b30; }
.order-line > div:nth-child(2) { display: flex; flex-direction: column; gap: 5px; }
.order-line small { color: var(--muted); }
.field-label { display: block; margin: 18px 0 8px; font-size: 11px; font-weight: 800; }
.checkout-modal input { width: 100%; height: 50px; border: 1px solid #aaa196; border-radius: 2px; background: white; padding: 0 14px; }
.totals { display: grid; grid-template-columns: 1fr auto; row-gap: 12px; margin: 28px 0 20px; color: var(--muted); font-size: 13px; }
.totals strong { color: var(--ink); font-weight: 700; }
.totals .total { border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink); font-size: 16px; }
.checkout-button { width: 100%; min-height: 54px; border: 0; border-radius: 2px; background: var(--ink); color: var(--paper); cursor: pointer; font-weight: 800; }
.checkout-modal form:not(.availability-panel) .checkout-button { margin-top: 24px; }
.secure-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.availability-panel > p:not(.checkout-step):not(.secure-note), .thanks-panel > p:not(.checkout-step):not(.thanks-mark) { color: var(--muted); font-size: 15px; line-height: 1.7; }
.availability-panel .field-label { margin-top: 28px; }
.availability-panel .checkout-button { margin-top: 12px; }
.thanks-panel { padding: 20px 0 10px; text-align: center; }
.thanks-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 28px; place-items: center; border-radius: 50%; background: var(--walnut); color: white; font-size: 28px; }
.thanks-panel .checkout-button { margin-top: 25px; }

@media (max-width: 900px) {
  .site-header nav a { display: none; }
  .press-section, .materials, .voice-section, .product-section { grid-template-columns: 1fr; }
  .materials-photo { min-height: 620px; }
  .product-buy { margin-top: 20px; }
}

@media (max-width: 700px) {
  .site-header { padding-top: 22px; }
  .nav-cta { padding: 10px 14px; }
  .hero { min-height: 720px; align-items: end; }
  .hero-image { background: linear-gradient(180deg, rgba(20,18,16,.2) 0%, transparent 24%), linear-gradient(0deg, rgba(22,20,18,.96) 0%, rgba(22,20,18,.12) 63%), url('/hero-mobile-v4.webp') center/cover no-repeat; }
  .hero-content { width: 100%; margin: 0; padding: 290px 22px 40px; }
  .hero h1 { font-size: clamp(48px, 13vw, 62px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-scroll-link { right: 22px; bottom: 18px; }
  .story-copy { margin-top: 38px; }
  .press-demo { min-height: 540px; grid-template-rows: minmax(330px, 1fr) auto; }
  .photo-press { min-height: 330px; }
  .affirmation-panel { padding: 30px 28px 35px; }
  .materials-photo { min-height: 520px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer p:last-child { text-align: left; }
  .checkout-modal { padding: 30px 22px; }
  .checkout-brand { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-scroll-link span, .nav-cta.is-floating { animation: none; }
}

/* --- press demo image (was rendering as an empty box) --- */
.photo-press-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.press-top-hit { position: absolute; z-index: 2; top: 13%; left: 16%; width: 70%; aspect-ratio: 1.88 / 1; border-radius: 50%; pointer-events: none; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.photo-press:hover .press-top-hit { background: rgba(204,151,105,.06); box-shadow: inset 0 0 0 1px rgba(238,211,185,.15), 0 8px 22px rgba(0,0,0,.12); }
.press-top-hit.is-pressed { transform: translateY(5px) scale(.985); background: rgba(83,45,25,.16); box-shadow: inset 0 8px 18px rgba(26,13,8,.28); }

/* --- checkout modal --- */
.order-thumb-img { width: 64px; height: 54px; border-radius: 4px; object-fit: cover; }
.form-error { margin: 16px 0 0; color: #8d3a24; font-size: 13px; line-height: 1.5; }
.checkout-button[disabled] { opacity: .6; cursor: progress; }
.checkout-button.is-loading { cursor: progress; }

/* --- footer --- */
.footer-copy { align-self: end; text-align: right; }
@media (max-width: 900px) {
  footer { grid-template-columns: 1fr; gap: 22px; }
  .footer-copy { text-align: left; }
}

@keyframes scroll-hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes float-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
