:root {
  --ink: #2a211b;
  --muted: #70645c;
  --paper: #f7f0e6;
  --paper-strong: #fffaf2;
  --accent: #913f2f;
  --accent-2: #687252;
  --line: rgba(42, 33, 27, 0.16);
  --shadow: 0 24px 70px rgba(42, 33, 27, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  transition: color .35s ease, background-color .35s ease;
}
body[data-direction="chocolate"] {
  --ink: #f8eee0;
  --muted: #d4c1ad;
  --paper: #24140f;
  --paper-strong: #321b14;
  --accent: #d39a5f;
  --accent-2: #af6b46;
  --line: rgba(255, 245, 228, 0.17);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}
body[data-direction="community"] {
  --ink: #21302a;
  --muted: #5d6c65;
  --paper: #eef1e8;
  --paper-strong: #fbfcf7;
  --accent: #b35e64;
  --accent-2: #53715f;
  --line: rgba(33, 48, 42, 0.16);
  --shadow: 0 24px 70px rgba(43, 75, 58, 0.15);
}

img { display: block; width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }
.preview-bar {
  min-height: 34px; padding: .4rem clamp(1rem, 3vw, 3rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: #fff; background: #35251e; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.direction-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1rem clamp(1rem, 3vw, 3rem); border-bottom: 1px solid var(--line); background: var(--paper-strong);
}
.direction-label { margin: 0; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .13em; }
.direction-note { margin: .15rem 0 0; color: var(--muted); font-size: .85rem; }
.direction-buttons { display: flex; gap: .55rem; flex-wrap: wrap; }
.direction-button {
  border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1rem; cursor: pointer;
  color: var(--ink); background: transparent; font: 700 .82rem/1 var(--sans); transition: .2s ease;
}
.direction-button span { opacity: .55; margin-right: .4rem; }
.direction-button:hover, .direction-button:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.direction-button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid currentColor; border-radius: 50%; font: italic 700 1rem/1 var(--serif);
}
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font: 700 1.04rem/1.1 var(--serif); }
.brand-name small { margin-top: .3rem; color: var(--muted); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.site-nav a { text-decoration: none; font-size: .82rem; font-weight: 700; }
.site-nav a:hover { color: var(--accent); }
.menu-button { display: none; }

.hero {
  min-height: min(800px, calc(100vh - 158px)); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch; border-bottom: 1px solid var(--line); overflow: hidden;
}
.hero-copy { padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 6rem); align-self: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
h1 { max-width: 820px; margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7vw, 7.8rem); line-height: .89; }
h2 { margin-bottom: 1.4rem; font-size: clamp(2.4rem, 5vw, 5.4rem); line-height: .96; }
h3 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1; }
.hero-intro { max-width: 630px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink);
  border-radius: 999px; padding: .85rem 1.3rem; text-decoration: none; font-size: .8rem; font-weight: 800;
}
.button-primary { color: var(--paper); background: var(--ink); }
.button-secondary { background: transparent; }
.microcopy { margin: 2rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-visual { position: relative; min-height: 520px; margin: 0; overflow: hidden; background: var(--paper-strong); }
.hero-visual img { height: 100%; object-fit: cover; transition: opacity .2s ease, transform .7s ease; }
.hero-visual:hover img { transform: scale(1.015); }
.hero-visual figcaption {
  position: absolute; left: 1.25rem; bottom: 1.25rem; max-width: 310px; padding: .8rem 1rem;
  color: #fff; background: rgba(28, 20, 16, .78); backdrop-filter: blur(10px); font: italic 1rem/1.2 var(--serif);
}

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.trust-strip p { display: grid; place-items: center; gap: .15rem; margin: 0; padding: 1.4rem; text-align: center; border-right: 1px solid var(--line); }
.trust-strip p:last-child { border-right: 0; }
.trust-strip strong { font: 500 1.4rem/1 var(--serif); }
.trust-strip span { color: var(--muted); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }

.section-shell { padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 1000px; }
.section-heading h2 { max-width: 900px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; margin-top: 3rem; }
.story-copy { max-width: 720px; color: var(--muted); font-size: 1.02rem; }
.dropcap::first-letter { float: left; margin: .05em .12em 0 0; color: var(--accent); font: 500 5rem/.78 var(--serif); }
blockquote { margin: 0; padding-left: 2rem; border-left: 1px solid var(--accent); }
blockquote p { margin: 0 0 1rem; font: italic 500 clamp(2rem, 3.8vw, 4rem)/1.05 var(--serif); }
blockquote cite { color: var(--muted); font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.review-note { margin-top: 1.5rem; padding: .75rem 1rem; border-left: 3px solid var(--accent); color: var(--muted); background: color-mix(in srgb, var(--accent) 8%, transparent); font-size: .78rem; }

.split-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(2rem, 6vw, 7rem); align-items: end; max-width: none; }
.split-heading > p { max-width: 480px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; margin-top: 4rem; }
.gallery-card { position: relative; min-height: 320px; margin: 0; overflow: hidden; background: var(--paper-strong); }
.gallery-card-wide { grid-row: span 2; min-height: 660px; }
.gallery-card img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption {
  position: absolute; inset: auto 0 0; display: grid; gap: .2rem; padding: 2.6rem 1.25rem 1.2rem;
  color: #fff; background: linear-gradient(transparent, rgba(20, 12, 8, .82));
}
.gallery-card figcaption strong { font: 500 1.25rem/1.1 var(--serif); }
.gallery-card figcaption span { font-size: .75rem; opacity: .8; }

.chocolate-story { background: var(--paper-strong); }
.chocolate-story-intro {
  display: grid; grid-template-columns: 1.1fr .7fr; gap: clamp(2rem, 7vw, 8rem); align-items: end;
}
.chocolate-story-intro h2 { max-width: 760px; margin-bottom: 0; }
.chocolate-story-copy { max-width: 540px; color: var(--muted); }
.chocolate-story-copy p { margin-top: 0; font-size: 1.04rem; }
.collection-feature { margin: 4rem 0 0; }
.collection-feature img { max-width: 1000px; margin: 0 auto; box-shadow: var(--shadow); }
.collection-feature figcaption {
  max-width: 1000px; display: flex; justify-content: space-between; gap: 1.5rem;
  margin: 0 auto; padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.collection-feature figcaption strong { font: 500 1.25rem/1.2 var(--serif); }
.collection-feature figcaption span { color: var(--muted); font-size: .82rem; text-align: right; }
.chocolate-mosaic {
  display: grid; grid-template-columns: 1.05fr .95fr .95fr; grid-template-rows: repeat(2, minmax(260px, 340px));
  gap: 1rem; margin-top: 4rem;
}
.mosaic-card { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: var(--paper); }
.mosaic-card-tall { grid-row: 1 / span 2; }
.mosaic-card-wide { grid-column: 2 / span 2; }
.mosaic-card img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic-card:hover img { transform: scale(1.025); }
.mosaic-card figcaption {
  position: absolute; inset: auto 0 0; display: grid; gap: .2rem; padding: 3rem 1.2rem 1.1rem;
  color: #fff; background: linear-gradient(transparent, rgba(20, 12, 8, .86));
}
.mosaic-card figcaption strong { font: 500 1.2rem/1.1 var(--serif); }
.mosaic-card figcaption span { font-size: .74rem; opacity: .82; }
.image-source-note { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; }

.workshops { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.workshop-image { position: relative; min-height: 560px; overflow: hidden; box-shadow: var(--shadow); }
.workshop-image img { height: 100%; object-fit: cover; }
.image-label { position: absolute; top: 1rem; left: 1rem; padding: .55rem .75rem; color: #fff; background: #2b201b; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.workshop-copy > p:not(.eyebrow):not(.review-note) { max-width: 590px; color: var(--muted); font-size: 1.04rem; }
.tick-list { display: grid; gap: .6rem; margin: 2rem 0; padding: 0; list-style: none; }
.tick-list li::before { content: "✦"; margin-right: .7rem; color: var(--accent); }
.text-link { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .3em; }

.community { background: var(--accent-2); color: #fff; }
.community .eyebrow { color: rgba(255,255,255,.7); }
.community-statement { display: grid; grid-template-columns: 1.2fr .7fr; gap: clamp(2rem, 8vw, 9rem); align-items: end; }
.community-statement h2 { margin: 0; }
.community-statement p { margin: 0 0 .35rem; font-size: 1.08rem; opacity: .82; }

.visit { display: grid; grid-template-columns: 1fr minmax(300px, .6fr); gap: clamp(3rem, 8vw, 10rem); align-items: center; }
.visit h2 { max-width: 750px; }
address { margin-top: 2rem; color: var(--muted); font-style: normal; font-size: 1.05rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 1.5rem; }
.contact-links a { font-weight: 800; }
.hours-card { padding: clamp(2rem, 4vw, 4rem); background: var(--paper-strong); box-shadow: var(--shadow); }
.hours-card p:not(.eyebrow) { color: var(--muted); }
.hours-card .button { margin-top: 1rem; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem clamp(1.5rem, 4vw, 4rem); }
.site-footer p { margin: 0; color: var(--muted); font-size: .76rem; }

@media (max-width: 900px) {
  .direction-panel { grid-template-columns: 1fr; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1.2rem; background: var(--paper-strong); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .menu-button { display: block; border: 1px solid var(--line); border-radius: 999px; padding: .65rem .9rem; color: var(--ink); background: transparent; font-weight: 800; }
  .hero, .workshops { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 5rem; padding-bottom: 5rem; }
  .hero-visual { min-height: 450px; }
  .story-grid, .split-heading, .chocolate-story-intro, .community-statement, .visit { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card-wide { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .workshop-image { min-height: 450px; }
}

@media (max-width: 620px) {
  .preview-bar span:last-child, .direction-note, .brand-name small { display: none; }
  .direction-buttons { display: grid; grid-template-columns: 1fr; }
  .direction-button { text-align: left; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip p:nth-child(2) { border-right: 0; }
  .trust-strip p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card-wide, .gallery-card { min-height: 420px; }
  .chocolate-mosaic { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic-card, .mosaic-card-tall, .mosaic-card-wide { grid-column: auto; grid-row: auto; min-height: 420px; }
  .collection-feature figcaption { display: grid; }
  .collection-feature figcaption span { text-align: left; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
