:root {
  --ink: #171714;
  --paper: #f5f0e6;
  --cream: #fffaf0;
  --red: #8f1d2c;
  --red-deep: #69121f;
  --butter: #e9c976;
  --evergreen: #1d332b;
  --line: rgba(23, 23, 20, 0.17);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { color: var(--cream); background: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .8rem 1rem; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; transition: background .3s, color .3s, transform .3s; }
.site-header.solid { position: sticky; top: 0; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.is-stuck { position: fixed; color: var(--ink); background: rgba(245,240,230,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); animation: slideDown .35s ease both; }
.header-inner { max-width: var(--max); min-height: 84px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.wordmark { text-decoration: none; font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(2.1rem, 3.5vw, 3rem); line-height: .9; font-weight: 800; letter-spacing: .055em; }
.wordmark-dot { color: var(--red); }
.site-header:not(.solid):not(.is-stuck) .wordmark-dot { color: var(--butter); }
.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; }
.nav > a:not(.nav-cta) { position: relative; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav > a:not(.nav-cta):hover::after, .nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .9rem 1.2rem; border: 1px solid currentColor; }
.menu-toggle { display: none; background: none; border: 0; padding: .75rem; }
.menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 1px; margin: 6px 0; background: currentColor; transition: transform .25s; }

.hero { position: relative; min-height: min(900px, 100svh); color: #fff; background: var(--red-deep); overflow: hidden; display: flex; align-items: center; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(28,7,8,.86) 0%, rgba(28,7,8,.55) 40%, rgba(28,7,8,.05) 76%), linear-gradient(0deg, rgba(0,0,0,.22), transparent 40%); }
.hero-content { position: relative; z-index: 2; width: min(760px, 76%); padding: 9rem var(--gutter) 7rem; }
.eyebrow { margin: 0 0 1.5rem; color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.85rem, 1.15vw, .98rem); line-height: 1.45; font-weight: 800; }
.eyebrow.light { color: var(--butter); }
.eyebrow .unit { text-transform: lowercase; }
h1, h2, blockquote { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(3.7rem, 8.4vw, 8.8rem); line-height: .86; }
h2 { font-size: clamp(3rem, 6.4vw, 6.6rem); line-height: .92; }
h1 em, h2 em { font-weight: 400; }
.hero h1 { line-height: 1.02; }
.hero h1 em { display: inline-block; margin-top: .12em; }
.hero h1 .brand-name { font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: italic; font-weight: 800; letter-spacing: .01em; }
.hero-copy { max-width: 550px; margin: 2rem 0 0; color: rgba(255,255,255,.86); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; }
.hero-actions { margin-top: 2.3rem; display: flex; align-items: center; gap: 2rem; }
.button { min-height: 50px; padding: .95rem 1.45rem; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; color: inherit; background: none; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 800; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--cream); }
.button-light:hover, .button-light:focus-visible { background: var(--butter); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover, .button-dark:focus-visible { background: var(--red); }
.button-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.button-outline:hover, .button-outline:focus-visible { color: var(--red); background: #fff; }
.button-quiet { border-color: var(--line); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--ink); }
.button.wide { width: 100%; }
.text-link { position: relative; display: inline-flex; gap: .65rem; color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 800; }
.text-link::after { content: ""; position: absolute; inset: auto 0 -7px; height: 1px; background: currentColor; transition: transform .2s; }
.text-link:hover::after { transform: scaleX(.55); transform-origin: left; }
.hero-stamp { position: absolute; z-index: 2; right: var(--gutter); bottom: 4.5rem; width: 108px; height: 108px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: .6rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.hero-stamp svg { width: 30px; height: 30px; margin: 0 auto .35rem; fill: var(--butter); }
.scroll-note { position: absolute; z-index: 2; bottom: 2rem; left: var(--gutter); display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .16em; font-size: .58rem; }
.scroll-note span { width: 36px; height: 1px; background: currentColor; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 11vw, 11rem) var(--gutter); }
.intro, .tasting { display: grid; grid-template-columns: minmax(130px, .4fr) 1.6fr; gap: clamp(3rem, 8vw, 9rem); }
.intro-side { padding-top: .35rem; display: flex; align-items: flex-start; gap: 1rem; color: #6f6b63; text-transform: uppercase; letter-spacing: .11em; font-size: .82rem; line-height: 1.4; font-weight: 700; }
.intro-side p { margin: .25rem 0 0; }
.number-mark { display: grid; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--red); font-size: .58rem; }
.intro-main h2 { max-width: 920px; }
.intro-copy { margin-top: 3.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); max-width: 900px; }
.intro-copy p { margin: 0; color: #4c4943; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.75; }
.intro-copy p:first-child { color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.5; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-card { min-height: 480px; padding: clamp(2rem, 4vw, 4.5rem); background: #ddd1bd; display: flex; flex-direction: column; }
.value-card.dark { color: #fff; background: var(--evergreen); }
.value-card.butter { background: var(--butter); }
.value-icon { height: 7rem; color: var(--red); font-family: var(--serif); font-size: 4.2rem; line-height: 1; }
.value-card.dark .value-icon { color: var(--butter); }
.value-card h3 { max-width: 410px; margin: auto 0 1.5rem; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: 1; font-weight: 400; letter-spacing: -.035em; }
.value-card > p:last-child { max-width: 360px; margin: 0; color: rgba(23,23,20,.68); line-height: 1.65; }
.value-card.dark > p:last-child { color: rgba(255,255,255,.7); }

.products { padding-top: clamp(6rem, 10vw, 10rem); }
.section-heading { margin-bottom: clamp(3rem, 6vw, 6rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.section-heading > p { max-width: 340px; margin: 0 0 .5rem; color: #5f5a52; line-height: 1.65; }
.product-tile { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr); color: inherit; background: var(--cream); text-decoration: none; overflow: hidden; }
.product-image-wrap { position: relative; min-height: 620px; overflow: hidden; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.product-tile:hover .product-image-wrap img { transform: scale(1.035); }
.product-badge { position: absolute; top: 1.5rem; left: 1.5rem; padding: .65rem .85rem; color: #fff; background: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; font-weight: 800; }
.product-info { padding: clamp(2.2rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.product-info h3 { margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 4.6rem); line-height: .97; letter-spacing: -.04em; font-weight: 400; }
.product-info p:not(.eyebrow) { max-width: 450px; color: #514d46; line-height: 1.75; }
.round-arrow { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; transition: color .2s, background .2s, transform .2s; }
.product-tile:hover .round-arrow { color: #fff; background: var(--red); transform: rotate(45deg); }

.manifesto { min-height: 690px; padding: 6rem var(--gutter); color: #fff; background: linear-gradient(rgba(70,12,19,.9), rgba(70,12,19,.93)), url("assets/shortbread-hero-selected.png?v=20260831-3") center/cover; display: grid; place-items: center; text-align: center; }
.manifesto-inner { max-width: 1050px; }
.maple-outline { width: 52px; height: 52px; margin-bottom: 2rem; fill: none; stroke: var(--butter); stroke-width: 82.5; }
.manifesto blockquote { margin: 0 auto 3rem; font-size: clamp(2.6rem, 5.2vw, 5.6rem); line-height: 1.03; }
.closing-cta { text-align: center; }
.closing-cta .button { margin-top: 3rem; }

.site-footer { padding: 0 var(--gutter); color: #fff; background: var(--ink); }
.footer-top { max-width: var(--max); min-height: 300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr auto; gap: 3rem; align-items: center; }
.footer-mark { font-size: clamp(2rem, 3.5vw, 3rem); }
.footer-top p { color: rgba(255,255,255,.58); font-family: var(--serif); line-height: 1.55; }
.footer-top p a { color: #fff; text-decoration-color: var(--butter); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.footer-top p a:hover, .footer-top p a:focus-visible { color: var(--butter); }
.back-top { text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: .63rem; font-weight: 700; }
.footer-bottom { max-width: var(--max); min-height: 78px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .12em; font-size: .56rem; }

/* Product detail page */
.product-hero { max-width: var(--max); min-height: calc(100svh - 84px); margin: 0 auto; padding: 0 var(--gutter) var(--gutter); display: grid; grid-template-columns: 1.12fr .88fr; }
.product-visual { position: relative; min-height: 650px; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { padding: clamp(3rem, 7vw, 7rem) 0 clamp(3rem, 5vw, 5rem) clamp(3rem, 6vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.breadcrumbs { margin-bottom: auto; display: flex; gap: .75rem; color: #706b63; text-transform: uppercase; letter-spacing: .12em; font-size: .57rem; }
.breadcrumbs a { text-decoration: none; }
.product-summary h1 { font-size: clamp(3.8rem, 6vw, 7.2rem); }
.product-lead { margin: 2rem 0; max-width: 550px; color: #4d4942; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.55; }
.quick-facts { margin: 1rem 0 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quick-facts div { display: flex; flex-direction: column; gap: .4rem; }
.quick-facts strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.quick-facts span { color: #6c675f; text-transform: uppercase; letter-spacing: .09em; font-size: .56rem; }
.fine-print { margin: 1rem 0 0; color: #817b71; font-size: .7rem; text-align: center; }
.tasting-copy .large-copy { max-width: 900px; margin: 3rem 0; color: #37342f; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.55; }
.tasting-notes { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.tasting-notes > div { min-height: 230px; padding: 2rem 2rem 2rem 0; border-right: 1px solid var(--line); }
.tasting-notes > div:not(:first-child) { padding-left: 2rem; }
.tasting-notes > div:last-child { border-right: 0; }
.tasting-notes span { color: var(--red); font-size: .62rem; }
.tasting-notes h3 { margin: 2.5rem 0 .7rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.tasting-notes p { max-width: 240px; margin: 0; color: #656057; line-height: 1.55; font-size: .87rem; }
.craft-band { min-height: 720px; display: grid; grid-template-columns: 1.1fr .9fr; background: var(--red-deep); }
.craft-image { min-height: 600px; background: url("assets/shortbread-hero-selected.png?v=20260831-3") 72% center/cover; }
.craft-copy { padding: clamp(4rem, 8vw, 9rem); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.craft-copy p:not(.eyebrow) { max-width: 560px; margin: 2rem 0 3rem; color: rgba(255,255,255,.72); line-height: 1.75; }
.detail-grid { border-top: 1px solid var(--line); }
.detail-grid details { border-bottom: 1px solid var(--line); }
.detail-grid summary { padding: 1.8rem 0; display: flex; justify-content: space-between; align-items: center; list-style: none; font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.2rem); cursor: pointer; }
.detail-grid summary::-webkit-details-marker { display: none; }
.detail-grid summary span { color: var(--red); font-family: var(--sans); font-weight: 300; transition: transform .25s; }
.detail-grid details[open] summary span { transform: rotate(45deg); }
.detail-content { max-width: 700px; padding: 0 0 1.8rem; color: #5c574f; line-height: 1.7; }
.detail-content p { margin: 0; }
.serving { padding-top: 0; }
.serving-card { min-height: 580px; padding: clamp(3rem, 7vw, 7rem); color: #fff; background: var(--evergreen); display: flex; flex-direction: column; justify-content: center; }
.serving-list { max-width: 1000px; margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.serving-list span { padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: 3rem; font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.3rem); }
.availability { text-align: center; }
.availability-copy { max-width: 650px; margin: 2rem auto 0; color: #5b574f; font-family: var(--serif); font-size: 1.2rem; line-height: 1.6; }
.availability-actions { margin-top: 2.5rem; display: flex; justify-content: center; gap: 1rem; }
.share-status { min-height: 1.2em; margin: 1.2rem 0 0; color: var(--red); font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

@media (max-width: 980px) {
  .menu-toggle { position: relative; z-index: 2; display: block; color: inherit; }
  .nav { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; padding: 8rem var(--gutter) 3rem; color: #fff; background: var(--red-deep); flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; transform: translateX(100%); transition: transform .35s ease; }
  .nav a { font-family: var(--serif); font-size: 2rem; font-weight: 400; text-transform: none; letter-spacing: -.02em; }
  .nav .nav-cta { font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
  .menu-open .nav { transform: none; }
  .menu-open .menu-toggle { color: #fff; }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero-content { width: min(800px, 90%); }
  .values { grid-template-columns: 1fr; }
  .value-card { min-height: 420px; }
  .product-tile { grid-template-columns: 1fr; }
  .product-image-wrap { min-height: 520px; }
  .product-info { min-height: 430px; }
  .product-hero { grid-template-columns: 1fr; padding: 0; }
  .product-visual { min-height: 65svh; }
  .product-summary { padding: 5rem var(--gutter); }
  .breadcrumbs { margin-bottom: 4rem; }
  .craft-band { grid-template-columns: 1fr; }
  .craft-image { min-height: 70svh; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 70px; }
  .hero { min-height: 780px; align-items: flex-end; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(31,6,9,.94) 0%, rgba(31,6,9,.45) 68%, rgba(31,6,9,.12)); }
  .hero-content { width: 100%; padding: 8rem var(--gutter) 8.5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-stamp { width: 82px; height: 82px; right: 1.2rem; bottom: 1.4rem; font-size: .48rem; }
  .hero-stamp svg { width: 22px; height: 22px; }
  .scroll-note { display: none; }
  .intro, .tasting { grid-template-columns: 1fr; gap: 3rem; }
  .intro-copy { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-image-wrap { min-height: 390px; }
  .product-info { min-height: 420px; }
  .manifesto { min-height: 650px; }
  .footer-top { padding: 4rem 0; grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { padding: 1.5rem 0; align-items: flex-start; flex-direction: column; gap: .8rem; }
  .product-visual { min-height: 520px; }
  .product-summary h1 { font-size: clamp(3.5rem, 15vw, 5rem); }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-facts div:last-child { grid-column: 1 / -1; }
  .tasting-notes { grid-template-columns: 1fr; }
  .tasting-notes > div { min-height: auto; padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .tasting-notes > div:not(:first-child) { padding-left: 0; }
  .craft-image { min-height: 480px; }
  .availability-actions { flex-direction: column; }
}

@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; }
}
