:root {
  --red: #8C2D23;
  --washed: #B82F36;
  --paper: #F7F2EA;
  --ivory: #F8E8DF;
  --stone: #DEDFE2;
  --charcoal: #2D2926;
  --line: rgba(45, 41, 38, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--charcoal); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: var(--paper); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: var(--charcoal); color: white; padding: 12px 16px; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* Slightly larger utility type for readability */
.announcement { height: 30px; display: flex; justify-content: center; align-items: center; gap: 14px; background: var(--red); color: var(--paper); font-size: 10px; font-weight: 600; letter-spacing: .15em; white-space: nowrap; overflow: hidden; }
.announcement .diamond { font-size: 7px; opacity: .7; }

.site-header { height: 82px; position: sticky; top: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: rgba(247,242,234,.93); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(140,45,35,.12); transition: height .25s ease, box-shadow .25s ease; }
.site-header.scrolled { height: 68px; box-shadow: 0 8px 25px rgba(45,41,38,.05); }
.brand { width: clamp(158px, 14vw, 210px); display: block; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.desktop-link { font-size: 13px; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 4px; }
.desktop-link:hover { border-color: currentColor; }

.button { appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: var(--radius); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, summary:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
.button-primary { background: var(--red); color: var(--paper); box-shadow: 0 10px 28px rgba(140,45,35,.16); }
.button-primary:hover { background: #74241d; }
.button-ivory { background: var(--paper); color: var(--red); }
.button-small { min-height: 40px; padding: 0 19px; font-size: 10px; }

/* HERO — fills the first desktop screen with header + announcement + ticker */
.hero { height: calc(100svh - 158px); min-height: 650px; display: grid; grid-template-columns: .88fr 1.12fr; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px,5.8vw,82px) var(--pad); }
.eyebrow { margin: 0 0 24px; font-size: 11px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--red); }
.eyebrow.light { color: var(--paper); opacity: .86; }
.hero h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
.hero h1 { margin: 0; font-size: clamp(66px, 8.5vw, 136px); line-height: .78; color: var(--red); }
.hero h1 em, h2 em { font-weight: 500; }
.hero-note { max-width: 500px; margin: 30px 0 0; font-size: clamp(15px,1.25vw,18px); line-height: 1.68; color: rgba(45,41,38,.75); }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.microcopy { font-size: 12px; line-height: 1.45; color: rgba(45,41,38,.65); }
.hero-media { height: 100%; min-height: 0; position: relative; overflow: hidden; background: #c67d5e; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 39%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-media:hover img { transform: scale(1.015); }
.photo-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; color: white; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-shadow: 0 1px 8px rgba(0,0,0,.25); }

.ticker { border-bottom: 1px solid var(--line); overflow: hidden; height: 46px; display: flex; align-items: center; background: var(--ivory); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); }
.ticker-track { min-width: max-content; display: flex; align-items: center; gap: 32px; font-size: 10px; font-weight: 600; letter-spacing: .13em; animation: marquee 24s linear infinite; }
.ticker-track i { color: var(--red); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-pad { padding: clamp(88px, 11vw, 168px) var(--pad); }
.manifesto { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(54px,8vw,120px); align-items: center; max-width: 1500px; margin: 0 auto; }
.manifesto-mark { display: flex; justify-content: center; align-items: center; }
/* Corrected stamp keeps its natural near-square proportions and gets more width */
.manifesto-mark img { width: min(360px, 82%); height: auto; object-fit: contain; }
.manifesto-copy h2, .product-copy h2, .section-heading h2, .faq-intro h2 { margin: 0; font-size: clamp(54px, 7.2vw, 112px); line-height: .86; color: var(--red); }
.manifesto-copy > p:last-child { max-width: 680px; margin: 34px 0 0; font-size: clamp(17px,1.5vw,21px); line-height: 1.72; color: rgba(45,41,38,.76); }

/* PRODUCT GALLERY — tall enough to show the garment cleanly */
.gallery { width: min(1500px, calc(100% - (var(--pad) * 2))); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.gallery-card { height: clamp(600px, 78svh, 820px); margin: 0; position: relative; background: #d8c5ae; overflow: hidden; }
.gallery-card + .gallery-card { border-left: 1px solid var(--line); }
.gallery-card picture { display: block; width: 100%; height: 100%; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transition: transform .7s cubic-bezier(.2,.65,.2,1); }
.gallery-back img { object-position: center 49%; }
.gallery-card:hover img { transform: scale(1.012); }
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; min-height: 58px; display: flex; justify-content: space-between; align-items: center; padding: 0 18px; background: rgba(247,242,234,.92); backdrop-filter: blur(10px); font-size: 9.5px; font-weight: 600; letter-spacing: .115em; }

.product-story { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(54px,7vw,105px); max-width: 1380px; margin: 0 auto; align-items: center; }
.product-copy { padding-left: clamp(0px,2vw,28px); }
.product-copy h2 { font-size: clamp(52px,6.1vw,92px); }
.product-facts { margin: 42px 0 38px; border-top: 1px solid var(--line); }
.product-facts > div { display: grid; grid-template-columns: 105px 1fr; gap: 22px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.product-facts span { font-size: 10.5px; letter-spacing: .125em; font-weight: 600; color: var(--red); }
.product-facts p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(45,41,38,.77); }
.text-link { border: 0; background: transparent; padding: 0 0 6px; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--charcoal); }
.text-link span { margin-left: 8px; }
/* The detail image is deliberately smaller than before */
.product-detail { width: 100%; max-width: 540px; justify-self: end; overflow: hidden; }
.product-detail picture { display: block; width: 100%; height: 100%; }
.product-detail img { width: 100%; height: clamp(470px, 56svh, 620px); object-fit: cover; object-position: center 46%; }

.overview-panel { position: relative; min-height: 72svh; overflow: hidden; background: var(--red); }
.overview-panel picture, .overview-panel img { width: 100%; height: 100%; position: absolute; inset: 0; }
.overview-panel img { object-fit: cover; object-position: center 55%; filter: brightness(.63) saturate(.8); transform: scale(1.005); }
.overview-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,20,15,.62), rgba(45,20,15,.08) 60%); }
.overview-copy { position: relative; z-index: 2; min-height: 72svh; padding: var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--paper); }
.overview-copy h2 { margin: 0 0 36px; font-size: clamp(64px,8.4vw,132px); line-height: .8; color: var(--paper); }

.how-it-works { max-width: 1500px; margin: 0 auto; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.section-heading h2 { max-width: 940px; }
.steps { margin: 64px 0 42px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { padding: 28px clamp(0px,2vw,28px) 36px; }
.step + .step { border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step b { color: var(--red); font-size: 11px; letter-spacing: .12em; }
.step h3 { margin: 46px 0 10px; font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--red); }
.step p { margin: 0; max-width: 350px; font-size: 14.5px; line-height: 1.65; color: rgba(45,41,38,.72); }

.faq { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px,9vw,140px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--charcoal); }
summary::-webkit-details-marker { display: none; }
summary span { font-family: var(--sans); font-weight: 400; color: var(--red); transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -2px 44px 28px 0; max-width: 680px; font-size: 14.5px; line-height: 1.72; color: rgba(45,41,38,.72); }

.final-cta { background: var(--red); color: var(--paper); min-height: 68svh; display: grid; place-items: center; text-align: center; padding: 84px 24px; }
/* Corrected monogram: never stretch it; keep it restrained */
.final-copy img { width: 96px; height: auto; margin: 0 auto 26px; object-fit: contain; filter: brightness(0) invert(1); opacity: .94; }
.final-copy h2 { margin: 0 0 34px; font-size: clamp(68px,9vw,138px); line-height: .76; color: var(--paper); }

footer { padding: 48px var(--pad) 30px; }
/* Corrected wordmark keeps the approved wide proportions */
footer > img { width: clamp(190px,16vw,245px); height: auto; object-fit: contain; margin-bottom: 44px; }
.footer-meta { border-top: 1px solid var(--line); padding-top: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 9.5px; font-weight: 600; letter-spacing: .105em; }
.footer-meta > span:last-child { text-align: right; }
.footer-meta div { display: flex; gap: 24px; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--red); }

.mobile-sticky { display: none; }

.preorder-dialog { width: min(610px, calc(100vw - 24px)); max-height: calc(100svh - 24px); border: 0; border-radius: 4px; padding: 0; background: var(--paper); color: var(--charcoal); box-shadow: 0 24px 80px rgba(45,41,38,.28); }
.preorder-dialog::backdrop { background: rgba(28,22,20,.62); backdrop-filter: blur(5px); }
.preorder-dialog[open] { animation: dialogIn .28s ease both; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(20px) scale(.985); } }
.dialog-shell { position: relative; padding: clamp(28px,5vw,54px); overflow-y: auto; max-height: calc(100svh - 24px); }
.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; cursor: pointer; font-size: 31px; font-family: var(--serif); color: var(--charcoal); }
.dialog-kicker { margin-bottom: 35px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--red); }
.preorder-dialog h2 { margin: 0; font-size: clamp(64px,11vw,90px); line-height: .74; color: var(--red); }
.dialog-copy { max-width: 450px; margin: 26px 0 32px; font-size: 14.5px; line-height: 1.68; color: rgba(45,41,38,.73); }
#preorder-form { display: grid; gap: 18px; }
#preorder-form > label > span, fieldset legend { display: block; margin-bottom: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .105em; text-transform: uppercase; color: var(--charcoal); }
input[type="text"], input[type="tel"] { width: 100%; height: 54px; border: 1px solid rgba(45,41,38,.28); border-radius: 2px; background: transparent; padding: 0 14px; color: var(--charcoal); outline: none; font-size: 14px; }
input[type="text"]:focus, input[type="tel"]:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(140,45,35,.08); }
fieldset { border: 0; padding: 0; margin: 0; }
.size-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.size-grid input { position: absolute; opacity: 0; pointer-events: none; }
.size-grid label span { height: 50px; border: 1px solid rgba(45,41,38,.26); display: grid; place-items: center; cursor: pointer; font-size: 13px; transition: .18s ease; }
.size-grid input:checked + span { background: var(--red); color: var(--paper); border-color: var(--red); }
.size-grid input:focus-visible + span { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.submit-button { width: 100%; margin-top: 4px; }
.form-fineprint { margin: -4px 0 0; font-size: 10.5px; line-height: 1.55; color: rgba(45,41,38,.52); }
.form-error { margin: -4px 0 0; color: var(--red); font-size: 12px; }
.honeypot { display: none !important; }
.success-panel { text-align: center; padding: 14px 0 8px; }
.success-mark { width: 54px; height: 54px; margin: 0 auto 26px; border-radius: 50%; border: 1px solid var(--red); display: grid; place-items: center; color: var(--red); }
.success-panel h2 { margin-bottom: 26px; }
.success-panel > p:not(.eyebrow) { max-width: 390px; margin: 0 auto 28px; font-size: 14.5px; line-height: 1.68; color: rgba(45,41,38,.72); }
.success-close { display: block; margin: 22px auto 0; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; padding: 12px; background: var(--charcoal); color: white; text-align: center; font-size: 13px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.2,1); }
.reveal-delay { transition-delay: .12s; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .announcement { justify-content: flex-start; padding: 0 14px; gap: 10px; font-size: 9.5px; }
  .announcement span:nth-of-type(3), .announcement .diamond:last-of-type { display: none; }
  .site-header { height: 68px; }
  .brand { width: 150px; }
  .desktop-link { display: none; }

  .hero { display: flex; flex-direction: column-reverse; height: auto; min-height: auto; }
  .hero-media { height: clamp(400px, 52svh, 560px); min-height: 0; }
  .hero-media img { object-position: center 35%; }
  .hero-copy { padding-top: 50px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(72px, 21vw, 108px); }
  .hero-note { margin-top: 27px; }
  .hero-actions .button { width: 100%; }
  .microcopy { width: 100%; text-align: center; font-size: 11.5px; }

  .manifesto { grid-template-columns: 1fr; text-align: left; gap: 42px; }
  .manifesto-mark { justify-content: flex-start; }
  .manifesto-mark img { width: 190px; height: auto; }

  .gallery { width: 100%; grid-template-columns: 1fr; border-left: 0; border-right: 0; }
  .gallery-card { height: clamp(520px, 70svh, 660px); }
  .gallery-card + .gallery-card { border-left: 0; border-top: 1px solid var(--line); }
  .gallery-card img { object-position: center 49%; }

  .product-story { grid-template-columns: 1fr; max-width: 760px; }
  .product-copy { padding-left: 0; }
  .product-detail { max-width: 620px; justify-self: start; }
  .product-detail img { height: clamp(430px, 58svh, 560px); object-position: center 45%; }

  .overview-panel, .overview-copy { min-height: 66svh; }
  .overview-panel img { object-position: 52% center; }
  .section-heading { display: block; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 0 30px; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step h3 { margin-top: 24px; }
  .faq { grid-template-columns: 1fr; }

  .final-copy img { width: 82px; height: auto; }
  footer > img { width: 210px; height: auto; }
  .footer-meta { grid-template-columns: 1fr; gap: 18px; font-size: 9.5px; }
  .footer-meta > span:last-child { text-align: left; }
  .footer-meta div { order: -1; }

  .mobile-sticky { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); min-height: 60px; border: 0; border-radius: 3px; background: var(--charcoal); color: var(--paper); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; box-shadow: 0 14px 40px rgba(0,0,0,.28); cursor: pointer; transition: transform .25s ease, opacity .25s ease; }
  .mobile-sticky.hidden { transform: translateY(90px); opacity: 0; pointer-events: none; }
  .mobile-sticky span { display: grid; gap: 2px; text-align: left; }
  .mobile-sticky small { font-size: 8.5px; letter-spacing: .13em; color: rgba(247,242,234,.65); }
  .mobile-sticky b, .mobile-sticky strong { font-size: 12px; letter-spacing: .05em; }
  footer { padding-bottom: 96px; }
}

@media (max-width: 520px) {
  .nav-actions .button-small { min-height: 36px; padding: 0 13px; font-size: 9.5px; }
  .hero-media { height: clamp(390px, 50svh, 510px); }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .gallery-card { height: clamp(470px, 66svh, 590px); }
  .gallery-label { min-height: 56px; font-size: 8.5px; gap: 8px; }
  .gallery-label span:last-child { text-align: right; }
  .section-pad { padding-left: 20px; padding-right: 20px; }
  .manifesto-mark img { width: 175px; }
  .manifesto-copy h2, .product-copy h2, .section-heading h2, .faq-intro h2 { font-size: clamp(52px, 17vw, 74px); }
  .product-facts span { font-size: 10px; }
  .product-facts p { font-size: 14px; }
  .product-detail { max-width: 100%; }
  .product-detail img { height: clamp(400px, 55svh, 520px); }
  .overview-copy { padding: 20px; }
  .overview-copy h2 { font-size: 20vw; }
  summary { font-size: 25px; }
  details p { font-size: 14px; }
  .final-copy h2 { font-size: 20vw; }
  .final-copy img { width: 76px; }
  footer { padding-left: 20px; padding-right: 20px; }
  footer > img { width: 190px; }
  .preorder-dialog { width: calc(100vw - 14px); max-height: calc(100svh - 14px); }
  .dialog-shell { padding: 28px 20px 24px; max-height: calc(100svh - 14px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
