/* ==========================================================================
   1 · Tokens: colours, fonts and spacing for the whole site.
   Change the look here first. Every other file uses these variables.
   ========================================================================== */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  /* Colours */
  --paper: #f7f4ee;          /* page background */
  --paper-2: #eee8dd;        /* tinted sections */
  --ink: #1c1814;            /* text and strong rules */
  --ink-2: #5a5148;          /* secondary text, captions */
  --rule: #d6cdbf;           /* hairlines */
  --cinnamon: #a3461e;       /* brand colour */
  --cinnamon-light: #f2b98f; /* accent on top of photos */
  --forest: #2f4a35;         /* birch firewood sections */
  --paper-birch: #ecede4;    /* tinted background of birch sections */
  --shade: 18, 13, 9;        /* RGB of the dark fade over photos */

  /* Accent used for numerals, italics and hovers. Sections can switch it, see .theme-birch */
  --accent: var(--cinnamon);

  /* Fonts */
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;  /* headings */
  --text: "Newsreader", Georgia, "Times New Roman", serif;          /* body text */

  /* How heavy the heading font is drawn (400 thinnest … 900 heaviest).
     Bodoni's fine strokes fade at 400, most of all in italics and in the accent colour. */
  --display-weight: 500;         /* headings, names, big numbers */
  --display-accent-weight: 600;  /* italic and coloured words in headings, numerals, quotes */

  /* Spacing */
  --wrap: 1320px;                        /* widest content */
  --gutter: clamp(20px, 4vw, 48px);      /* left/right page margin */
  --gap: clamp(16px, 2vw, 28px);         /* space between grid columns */
  --chapter: clamp(80px, 10vw, 144px);   /* space above and below a section */
}

/* ==========================================================================
   2 · Base: reset, body text, page width, accessibility helpers.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 1.1875rem/1.6 var(--text);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* The image build wraps every <img> in <picture>; keep the wrapper out of layouts */
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); text-wrap: balance; }
em { font-style: italic; }
/* Italic, coloured words inside headings and the "y" of the wordmark are drawn a little heavier */
h1 em, h2 em, h3 em, .wordmark i, .motto em { font-weight: var(--display-accent-weight); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Centred content column with side margins */
.page {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Labels set in small capitals: masthead, buttons, kickers, table headers, footer titles */
.masthead-top, .masthead-nav, .menu-toggle, .kicker, .btn,
.colophon-label, .certs p, .versus-table tbody th, .pullquote footer, .spec-sheet dt,
.choose-meta, .formats-table thead th, .formats-table td[data-label]::before, .pairings-label,
.product-label, .crumbs, .field label, .legal-langs, .legal-tag, .legal-updated {
  font-family: var(--text); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}

/* Keyboard users can jump straight to the content */
.skip-link {
  position: absolute; z-index: 10; left: 16px; top: -100px;
  padding: 10px 16px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   3 · Layout: masthead (top of every page) and colophon (footer).
   ========================================================================== */

/* ---- Masthead -------------------------------------------------------------- */
/* Colours are variables so the same masthead can sit on paper or on a cover photo. */
.masthead {
  --m-ink: var(--ink); --m-ink-2: var(--ink-2); --m-rule: var(--rule); --m-accent: var(--cinnamon); --m-line: var(--ink);
  color: var(--m-ink); border-bottom: 3px double var(--m-line);
}
.masthead.is-overlay {
  position: absolute; inset: 0 0 auto; z-index: 3;
  --m-ink: var(--paper); --m-ink-2: rgba(247, 244, 238, 0.86); --m-rule: rgba(247, 244, 238, 0.28);
  --m-accent: var(--cinnamon-light); --m-line: rgba(247, 244, 238, 0.6);
  text-shadow: 0 1px 12px rgba(var(--shade), 0.35);
}
/* Mobile menu opened over the photo: back to paper so the links stay readable */
.masthead.is-overlay:has(.masthead-nav.is-open) {
  background: var(--paper); text-shadow: none;
  --m-ink: var(--ink); --m-ink-2: var(--ink-2); --m-rule: var(--rule); --m-accent: var(--cinnamon); --m-line: var(--ink);
}

.masthead-top {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 12px; color: var(--m-ink-2); border-bottom: 1px solid var(--m-rule);
}
.lang { display: flex; gap: 8px; }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--m-ink); }
.lang a[aria-current] { color: var(--m-ink); border-bottom: 1px solid currentColor; }

.masthead-main { display: grid; justify-items: center; gap: 14px; padding-block: 26px 16px; }
.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark img { width: 56px; height: 56px; }
.wordmark span { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.01em; }
.wordmark i { color: var(--m-accent); }

.masthead-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; }
.masthead-nav a { text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.masthead-nav a:hover, .masthead-nav a[aria-current] { border-color: currentColor; }
.masthead-nav .nav-cta { color: var(--m-accent); border-color: var(--m-accent); }
.menu-toggle { display: none; }

@media (max-width: 760px) {
  .masthead-top { justify-content: flex-end; }
  .dateline { display: none; }
  .masthead-main { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; align-items: center; padding-block: 16px; }
  .wordmark img { width: 44px; height: 44px; }
  .masthead-nav { grid-column: 1 / -1; width: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--m-rule); }
  .masthead-nav a { padding-block: 14px; border-bottom: 1px solid var(--m-rule); font-size: 0.9rem; }
  /* With JavaScript the links fold away behind the menu button */
  .js .menu-toggle { display: block; min-height: 44px; padding: 10px 0 10px 16px; border-bottom: 1px solid currentColor; }
  .js .masthead-nav { display: none; }
  .js .masthead-nav.is-open { display: flex; }
}

/* ---- Colophon (footer) ----------------------------------------------------- */
.colophon { border-top: 1px solid var(--ink); padding-block: 56px calc(32px + env(safe-area-inset-bottom, 0px)); }
.colophon-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 32px var(--gap); font-size: 1rem; }
.colophon-label { margin-bottom: 10px; }
.colophon-grid p, .colophon-grid address { color: var(--ink-2); }
.colophon-grid a { color: var(--ink); text-underline-offset: 3px; }
.colophon-grid a:hover { color: var(--cinnamon); }
.colophon .social { margin-top: 12px; }
.motto { margin: 64px 0 18px; text-align: center; font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2rem, 1.2rem + 3vw, 4rem); line-height: 1; }
.imprint { text-align: center; font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 900px) { .colophon-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .colophon-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   4 · Components: building blocks used on several pages.
   Kicker, caption, buttons, drop cap, page head, chapter, big figures,
   glossary, pull quote, Ceylon/Cassia table, certificates,
   closing enquiry, spec sheet, strengths, feature (photo + text).
   ========================================================================== */

/* ---- Text pieces ------------------------------------------------------------ */
/* Small label above a heading, with a short line in front */
.kicker { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }

/* Photo caption: "Abb. 3  Text" */
figcaption { margin-top: 12px; max-width: 36em; font-size: 0.95rem; font-style: italic; line-height: 1.45; color: var(--ink-2); }
.fig-no { margin-right: 10px; font-style: normal; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }

/* Large first letter of an article */
.dropcap::first-letter {
  float: left; font-family: var(--display); font-weight: var(--display-weight); font-size: 4.6em; line-height: 0.78;
  padding: 0.06em 0.1em 0 0; color: var(--accent);
}
@supports (initial-letter: 3) {
  .dropcap::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0 0.12em 0 0; initial-letter: 3; }
}

/* ---- Buttons and links ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px;
  background: var(--ink); color: var(--paper); text-decoration: none; transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--accent); color: var(--paper); }
.text-link { font-style: italic; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color 0.2s; }
.text-link::after { content: " →"; font-style: normal; }
.text-link:hover { color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* ---- Page head: top of every page without a cover photo ---------------------- */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 80px); }
.page-head h1 { margin: 22px 0 26px; font-size: clamp(3rem, 1.4rem + 5vw, 6.4rem); line-height: 0.95; letter-spacing: -0.02em; }
.page-head h1 em { color: var(--accent); }
.page-intro { max-width: 34em; font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem); line-height: 1.5; color: var(--ink-2); }

/* Table of contents: jump links to the chapters of a page */
.contents { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.contents ol { display: flex; flex-wrap: wrap; gap: 4px 36px; padding-top: 16px; }
.contents a { display: inline-flex; gap: 10px; align-items: baseline; padding-block: 6px; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.contents a:hover { color: var(--accent); border-color: currentColor; }
.contents-no { font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; color: var(--accent); }

/* ---- Chapter: a numbered section with a big heading -------------------------- */
.chapter { padding-block: var(--chapter); border-top: 1px solid var(--rule); }
.chapter-head {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 26em);
  gap: 8px var(--gap); align-items: baseline; margin-bottom: clamp(40px, 5vw, 64px);
}
.chapter-no { font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: 1.8rem; color: var(--accent); }
.chapter-title { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -0.015em; }
.chapter-intro { color: var(--ink-2); font-size: 1.05rem; }
.chapter-intro .text-link { display: inline-block; margin-top: 12px; color: var(--ink); font-size: 1.05rem; }
.chapter-intro .kicker { margin-bottom: 10px; }
@media (max-width: 900px) {
  .chapter-head { grid-template-columns: 48px minmax(0, 1fr); }
  .chapter-intro { grid-column: 2; }
}

/* ---- Big figures: "8.700 / 0 / 7" ----------------------------------------- */
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); }
.figures > div { padding: 28px var(--gap) 0 0; }
.figures > div + div { padding-left: var(--gap); border-left: 1px solid var(--rule); }
.figures dt { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(3.2rem, 2rem + 4vw, 6rem); line-height: 1; letter-spacing: -0.02em; }
.figures dd { margin-top: 10px; color: var(--ink-2); max-width: 16em; }
@media (max-width: 640px) {
  .figures { grid-template-columns: 1fr; }
  .figures > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 24px; }
}

/* ---- Glossary: term + short explanation, with hairlines ---------------------- */
.glossary { margin: 32px 0 24px; border-top: 1px solid var(--ink); }
.glossary > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.glossary dt { font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: 1.2rem; line-height: 1.2; }
.glossary dd { color: var(--ink-2); }
.glossary dt a { text-decoration: none; transition: color 0.2s; }
.glossary dt a:hover { color: var(--accent); }
/* Longer terms (product group names) get a wider first column */
.glossary.is-wide > div { grid-template-columns: 11rem minmax(0, 1fr); }
@media (max-width: 480px) { .glossary.is-wide > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---- Pull quote --------------------------------------------------------------- */
.pullquote { padding-block: var(--chapter); text-align: center; }
.pullquote blockquote p {
  max-width: 21em; margin-inline: auto;
  font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.2rem); line-height: 1.2; text-wrap: balance;
}
.pullquote blockquote p::before { content: "“"; display: block; font-size: 2.4em; line-height: 0.6; color: var(--accent); margin-bottom: 0.15em; }
.pullquote footer { margin-top: 32px; color: var(--ink-2); }
.pullquote .who { color: var(--ink); margin-right: 12px; padding-right: 12px; border-right: 1px solid var(--rule); }

/* ---- Ceylon vs Cassia: comparison table, lined up with the chapter title ------- */
.versus-table {
  width: calc(100% - 96px - var(--gap)); max-width: 980px; margin-left: calc(96px + var(--gap));
  border-collapse: collapse; border-top: 1px solid var(--ink);
}
.versus-table th, .versus-table td { text-align: left; vertical-align: baseline; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.versus-table thead th { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.versus-table thead th:nth-child(2) { color: var(--accent); }
.versus-table tbody th { color: var(--ink-2); width: 9.5rem; }
.versus-table tbody td:nth-child(3) { color: var(--ink-2); }
@media (max-width: 900px) { .versus-table { width: 100%; margin-left: 0; } }
@media (max-width: 480px) {
  .versus-table tbody th { width: auto; }
  .versus-table th, .versus-table td { padding-right: 10px; font-size: 1rem; }
}

/* ---- Certificates strip ------------------------------------------------------- */
.certs { display: grid; justify-items: center; gap: 20px; padding-block: 56px; border-top: 1px solid var(--rule); }
.certs p { color: var(--ink-2); text-align: center; }
.certs img { width: min(440px, 100%); mix-blend-mode: multiply; }

/* ---- Closing enquiry: big heading + text + button, at the end of a page ------- */
.closing {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end;
  padding-block: var(--chapter); border-top: 3px double var(--ink);
}
.closing h2 { grid-column: 1 / 8; font-size: clamp(2.8rem, 1.6rem + 4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.02em; }
.closing h2 em { display: block; color: var(--accent); }
.closing-body { grid-column: 8 / 13; }
.closing-body p { color: var(--ink-2); margin-bottom: 28px; }
.closing .note { font-style: italic; color: var(--ink-2); }
@media (max-width: 900px) {
  .closing h2, .closing-body { grid-column: 1 / -1; }
  .closing-body { margin-top: 24px; }
}

/* ---- Spec sheet: label + value rows, like a technical data sheet -------------- */
.spec-sheet { margin-top: 36px; border-top: 1px solid var(--ink); }
.spec-sheet > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--rule); }
.spec-sheet dt { padding-top: 4px; font-size: 0.72rem; color: var(--ink-2); }
@media (max-width: 480px) { .spec-sheet > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---- Strengths: four numbered reasons in a row ----------------------------------- */
.strengths { margin-top: clamp(64px, 8vw, 112px); }
.strengths > .kicker { margin-bottom: 20px; }
.strengths ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.strengths li { padding: 24px var(--gap) 0 0; }
.strengths li + li { padding-left: var(--gap); border-left: 1px solid var(--rule); }
.strength-no { display: block; font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.strengths h4 { margin: 14px 0 8px; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.45rem; line-height: 1.15; }
.strengths p { font-size: 1.02rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .strengths ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .strengths li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .strengths ol { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .strengths li, .strengths li + li { padding: 24px 0; border-left: 0; }
  .strengths li + li { border-top: 1px solid var(--rule); }
}

/* ---- Feature: large photo on the left, text on the right ---------------------- */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.feature-photo { grid-column: 1 / 7; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature-text { grid-column: 8 / 13; }
.feature-text p + p { margin-top: 1em; }
@media (max-width: 900px) {
  .feature-photo, .feature-text { grid-column: 1 / -1; }
  .feature-photo img { aspect-ratio: 4 / 3; }
  .feature-text { margin-top: 24px; }
}

/* Three strengths instead of four (stacked below 900px) */
.strengths.is-three ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .strengths.is-three ol { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .strengths.is-three li, .strengths.is-three li + li { padding: 24px 0; border-left: 0; }
  .strengths.is-three li + li { border-top: 1px solid var(--rule); }
}

/* ==========================================================================
   5 · About page: wide photos, cinnamon steps beside the photo, team profiles.
   ========================================================================== */

/* Wide landscape photo under the page title (and inside a chapter with .is-inset) */
.wide-photo { padding-bottom: var(--chapter); }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.wide-photo.is-inset { padding-bottom: 0; margin-bottom: clamp(8px, 2vw, 24px); }
.wide-photo.is-inset img { aspect-ratio: 16 / 7; }
@media (max-width: 760px) { .wide-photo img, .wide-photo.is-inset img { aspect-ratio: 4 / 3; } }

/* Cinnamon steps: the strengths list stacked in one column next to the photo */
.strengths.is-stacked { margin: 40px 0 28px; }
.strengths.is-stacked ol { grid-template-columns: minmax(0, 1fr); }
.strengths.is-stacked li, .strengths.is-stacked li + li {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 12px;
  padding: 18px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--rule);
}
.strengths.is-stacked .strength-no { grid-row: 1 / span 2; font-size: 2rem; }
.strengths.is-stacked h4 { margin: 2px 0 4px; }

/* Pillars use h3 (they sit directly under the chapter title) */
.strength-title { margin: 14px 0 8px; font-size: 1.45rem; line-height: 1.15; }

/* ---- Team profiles --------------------------------------------------------------- */
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px clamp(32px, 5vw, 80px); align-items: start; }
.profile-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 24px; }
.profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.profile .kicker { margin-bottom: 10px; }
.profile h3 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; }
.profile-tagline { margin-top: 12px; font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--accent); }
.profile-bio { margin-top: 18px; max-width: 34em; color: var(--ink-2); }
@media (max-width: 760px) { .profiles { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   5 · Contact page: contact details on the left, form on the right.
   Also the thank-you page after sending.
   ========================================================================== */

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; padding-bottom: var(--chapter); }

/* ---- Details ------------------------------------------------------------------- */
.contact-details { grid-column: 1 / 5; margin-top: 0; }
.contact-details > div { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 18px; }
.contact-details dd { font-size: 1.1rem; }
.contact-details a { text-underline-offset: 3px; }
.contact-details a:hover { color: var(--accent); }
.contact-details .text-link { display: inline-block; margin-top: 8px; font-size: 1.05rem; }
.contact-note { margin-top: 10px; font-size: 0.95rem; font-style: italic; color: var(--ink-2); }

/* ---- Form ---------------------------------------------------------------------- */
.contact-form { grid-column: 6 / 13; }
.form-title { margin-bottom: 32px; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; }
.form-error { margin-bottom: 28px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--paper-2); }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.field { display: grid; gap: 6px; margin-bottom: 28px; }
.field label { color: var(--ink-2); }
.optional { font-style: italic; letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0;
  font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; transition: border-color 0.2s;
}
.field select {
  appearance: none; padding-right: 28px; cursor: pointer;
  background: no-repeat right 4px center / 12px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1814' stroke-width='1.5'/%3E%3C/svg%3E");
}
.field textarea { min-height: 200px; padding: 12px 14px; border: 1px solid var(--ink); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }

.field-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; margin: 4px 0 32px; }
.field-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--ink); }
.field-check label { font-size: 1rem; color: var(--ink-2); }
.field-check a { color: var(--ink); text-underline-offset: 3px; }

/* Spam trap: kept out of sight and out of reach for people */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Short data protection note under the form */
.data-info { margin-top: 48px; }
.data-info .kicker { margin-bottom: 14px; }
.data-info .spec-sheet { margin-top: 0; font-size: 0.92rem; color: var(--ink-2); }
.data-info .spec-sheet > div { padding-block: 8px; }

@media (max-width: 900px) {
  .contact-details, .contact-form { grid-column: 1 / -1; }
  .contact-form { margin-top: 48px; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---- Thank-you page ------------------------------------------------------------ */
.thanks { min-height: 60vh; padding-bottom: var(--chapter); }
.thanks .page-intro { margin-bottom: 36px; }
.thanks .page-intro a { color: var(--ink); white-space: nowrap; }

/* ==========================================================================
   5 · Home page: cover, "the journey" essay, the range as Fuego | y | Especias,
   the people (quote and photos).
   ========================================================================== */

/* ---- Cover: full-screen photo with the headline on it, like a magazine cover --- */
/* Photo and text share one grid cell. Below 1024px the lead and buttons move under the photo. */
.cover { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(100svh, auto); }
.cover-photo { grid-area: 1 / 1; position: relative; overflow: hidden; background: #4a3b30; }
.cover-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.cover-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(var(--shade), 0.6), rgba(var(--shade), 0) 32%),
    linear-gradient(to top, rgba(var(--shade), 0.82), rgba(var(--shade), 0.4) 34%, rgba(var(--shade), 0) 62%);
}
/* Caption runs up the right edge, like a photo credit in print */
.cover-photo figcaption {
  position: absolute; z-index: 1; top: 50%; right: max(14px, env(safe-area-inset-right, 0px));
  margin: 0; max-width: none; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: 0.72rem; font-style: normal; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(247, 244, 238, 0.85); text-shadow: 0 1px 8px rgba(var(--shade), 0.6);
}
.cover-photo .fig-no { color: inherit; font-size: inherit; margin: 0; margin-inline-end: 12px; }

.cover-inner {
  grid-area: 1 / 1; z-index: 1; width: 100%;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; align-content: end;
  padding-top: 230px; padding-bottom: clamp(40px, 7vh, 80px);
  color: var(--paper);
}
.cover-head { grid-column: 1 / 9; }
.cover .kicker { color: var(--cinnamon-light); }
.cover h1 {
  margin-top: 22px;
  font-size: clamp(3.1rem, 1rem + 5.6vw, 7.6rem); line-height: 0.94; letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(var(--shade), 0.35);
}
.cover h1 em { display: block; color: var(--cinnamon-light); }
.cover-aside { grid-column: 9 / 13; padding-bottom: 0.5em; }
.cover .lead { font-size: 1.15rem; line-height: 1.5; color: rgba(247, 244, 238, 0.92); margin-bottom: 28px; }
.cover .btn { background: var(--paper); color: var(--ink); }
.cover .btn:hover { background: var(--accent); color: var(--paper); }

@media (max-width: 1023px) {
  .cover { grid-template-rows: minmax(88svh, auto) auto; }
  .cover-inner { display: contents; }
  .cover-head {
    grid-area: 1 / 1; z-index: 1; align-self: end; color: var(--paper);
    padding: 190px max(var(--gutter), env(safe-area-inset-right, 0px)) 44px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .cover-aside {
    grid-area: 2 / 1; color: var(--ink); max-width: 44em;
    padding: 36px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .cover .lead { color: var(--ink-2); font-size: 1.2rem; }
  .cover .btn { background: var(--ink); color: var(--paper); }
  .cover-photo figcaption { top: 40%; }
}

/* ---- I · Essay in two columns --------------------------------------------------- */
.essay { columns: 2 22em; column-gap: clamp(32px, 4vw, 64px); margin-left: calc(96px + var(--gap)); max-width: 980px; }
.essay p + p { margin-top: 1em; }
@media (max-width: 900px) { .essay { margin-left: 0; } }

/* ---- II · The range as the two halves of the name: Fuego | y | Especias --------- */
/* Side by side the three big words read as the company name. On small screens the
   halves stack and the "y" sits between them. */
.pair {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 64px); align-items: start;
}
.half { display: grid; align-content: start; }
.half-word, .pair-and {
  font-family: var(--display); font-size: clamp(3.4rem, 0.6rem + 7.2vw, 8.4rem);
  line-height: 0.92; letter-spacing: -0.03em;
}
.half-word { font-weight: var(--display-weight); }
/* The "y" in the accent colour, with a hairline running down between the halves */
.pair-and {
  align-self: stretch; display: grid; grid-template-rows: auto minmax(0, 1fr); justify-items: center;
  font-style: italic; font-weight: var(--display-accent-weight); color: var(--accent);
}
.pair-and::after { content: ""; width: 1px; margin-top: 28px; background: var(--rule); }
.half .kicker { margin-top: 18px; }
.half-photo { margin-top: 28px; }
.half-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.half-title {
  margin-top: 32px; font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); line-height: 1.02; letter-spacing: -0.01em;
}
.half-title em { font-weight: var(--display-accent-weight); color: var(--accent); }
.half-text { margin-top: 18px; }
.half .glossary { margin: 28px 0 22px; }
.half .aside { font-style: italic; color: var(--ink-2); margin-bottom: 22px; }
.half .text-link { justify-self: start; }
@media (max-width: 899px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair-and { grid-template-rows: auto; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-block: 44px 36px; }
  .pair-and::before, .pair-and::after { content: ""; width: 100%; height: 1px; margin: 0; background: var(--rule); }
  .pair-and::before { grid-column: 1; grid-row: 1; }
  .pair-and::after { grid-column: 3; grid-row: 1; }
}

/* ---- III · On the ground: quote, then three photos in a row ---------------------- */
.chapter .pullquote { padding-block: 0 clamp(48px, 6vw, 88px); }
.people-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) var(--gap); align-items: start; }
.people-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .people-photos { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   5 · Legal pages (legal notice, privacy policy).
   Spanish is binding: on the German and English pages it stands next to
   the translation in a second column (stacked on phones).
   ========================================================================== */

.legal-es-title { margin: -8px 0 20px; font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1.15; color: var(--ink-2); }
.legal-note { max-width: 40em; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--paper-2); }
.legal-updated { margin-top: 20px; color: var(--ink-2); }

.legal { padding-bottom: var(--chapter); }
.legal-section { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 32px; border-bottom: 1px solid var(--rule); }
.legal:not(.is-bilingual) .legal-section { max-width: 46em; }
.legal-section:first-of-type { border-top: 1px solid var(--ink); }
.is-bilingual .legal-section { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); }
.is-bilingual .legal-section:first-of-type { border-top: 0; }

.legal-langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); padding-bottom: 12px; border-bottom: 1px solid var(--ink); color: var(--ink-2); }
.legal-langs span[lang="es"] { color: var(--accent); }

.legal-col h2 { margin-bottom: 14px; font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem); line-height: 1.15; }
.legal-col p { font-size: 1.05rem; }
.legal-col p + p { margin-top: 0.8em; }
.legal-col .spec-sheet { margin-top: 18px; font-size: 1rem; }
.legal-tag { display: none; margin-bottom: 8px; color: var(--ink-2); }
.legal-col[lang="es"] .legal-tag { color: var(--accent); }

@media (max-width: 900px) {
  .is-bilingual .legal-section { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .is-bilingual .legal-col[lang="es"] { padding-top: 20px; border-top: 1px dotted var(--rule); }
  .legal-langs { display: none; }
  .legal-tag { display: block; }
  .is-bilingual .legal-section:first-of-type { border-top: 1px solid var(--ink); }
}

/* ==========================================================================
   5 · Products: the catalogue page (one chapter per group, products as
   "plates" in a grid) and the page of a single product.
   ========================================================================== */

/* ---- Group opener: a wide photo above a group's products (optional) ------------- */
.group-opener { margin-bottom: clamp(36px, 5vw, 64px); }
.group-opener img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .group-opener img { aspect-ratio: 3 / 2; } }

/* ---- Plates: the product grid ----------------------------------------------------- */
.plates {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 56px) var(--gap);
}
@media (max-width: 1099px) { .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } }

.plate { display: flex; flex-direction: column; }
.plate > a:first-child { display: block; flex: 1; text-decoration: none; }

/* "Comprar": small link under the plate, to the product in the Shopify shop */
.plate-buy {
  align-self: flex-start; margin-top: 12px; padding: 8px 16px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); text-decoration: none; transition: background-color 0.2s;
}
.plate-buy:hover { background: var(--accent); }

/* Every photo sits on the same tinted plate, so cut-outs, labels and real photos line up.
   Cut-outs keep a margin; real photos (`cover` in products.json) fill the plate. */
.plate-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.plate-photo img {
  position: absolute; inset: 11%; width: 78%; height: 78%;
  object-fit: contain; mix-blend-mode: multiply; transition: transform 0.35s;
}
.plate-photo.is-cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.plate > a:hover .plate-photo img { transform: scale(1.04); }

/* Product without a photo yet: the empty plate with a small note */
.plate-photo.is-empty, .product-plate.is-empty { display: grid; place-items: center; }
.plate-photo.is-empty span, .product-plate.is-empty span {
  padding: 8px; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.5;
  text-align: center; text-transform: uppercase; color: var(--ink-2);
}

.plate-text { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 14px; }
.plate-label { color: var(--accent); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.plate-name { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.12; text-wrap: balance; transition: color 0.2s; }
.plate > a:hover .plate-name { color: var(--accent); }
.plate-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-top: 4px; }
.plate-size { font-size: 0.95rem; color: var(--ink-2); }
/* Prices are set in the text font: the hairlines of the display font make "€" hard to read */
.plate-price { font-size: 1.1rem; font-weight: 500; white-space: nowrap; }
.plate-pack { font-size: 0.85rem; line-height: 1.35; color: var(--ink-2); }

/* ---- Product page ------------------------------------------------------------------ */
.product-page {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gap); align-items: start;
  padding-block: clamp(28px, 4vw, 56px) var(--chapter);
}
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-2); }
.crumbs a { text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.crumbs a:hover { color: var(--accent); border-color: currentColor; }

.product-plate { grid-column: 1 / 6; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.product-plate img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.product-plate.is-cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }

.product-info { grid-column: 7 / 13; padding-top: clamp(0px, 3vw, 48px); }
.product-label { margin-bottom: 14px; color: var(--accent); }
.product-info h1 { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -0.015em; }
.product-lead { margin-top: 22px; font-size: clamp(1.1rem, 1rem + 0.3vw, 1.3rem); line-height: 1.5; color: var(--ink-2); }
.product-info .spec-sheet { margin-bottom: 32px; }
.product-info .spec-sheet .is-price dd { font-size: 1.5rem; font-weight: 500; line-height: 1.15; }
.price-from { font-size: 0.95rem; font-style: italic; font-weight: 400; color: var(--ink-2); }
.price-pack { display: block; margin-top: 4px; font-size: 0.95rem; font-weight: 400; line-height: 1.4; color: var(--ink-2); }
.product-note { margin-top: 24px; font-size: 1rem; font-style: italic; color: var(--ink-2); }

@media (max-width: 900px) {
  .product-plate, .product-info { grid-column: 1 / -1; }
  .product-plate { aspect-ratio: 1 / 1; }
  .product-info { padding-top: 8px; }
}

/* ==========================================================================
   5 · Wood page: two clearly separate chapters.
   Cinnamon wood (Sri Lanka) keeps the cinnamon accent; birch firewood
   (Europe) sits on its own tint with a green accent (.theme-birch).
   ========================================================================== */

.theme-birch { --accent: var(--forest); }
.tinted { background: var(--paper-birch); }

/* ---- The two woods side by side, under the page title ------------------------- */
.wood-choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap) clamp(32px, 4vw, 64px); padding-bottom: var(--chapter); }
.choose { display: grid; gap: 10px; align-content: start; text-decoration: none; }
.choose-photo { position: relative; display: block; aspect-ratio: 3 / 2; margin-bottom: 14px; overflow: hidden; background: var(--paper-2); }
.choose-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.choose.theme-birch .choose-photo img { object-position: 50% 18%; }
.choose:hover .choose-photo img { transform: scale(1.04); }
.choose-meta { color: var(--accent); }
.choose-no { margin-right: 10px; font-family: var(--display); font-weight: var(--display-accent-weight); font-style: italic; font-size: 1.25rem; letter-spacing: 0; text-transform: none; }
.choose-name { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1; transition: color 0.2s; }
.choose:hover .choose-name { color: var(--accent); }
.choose-teaser { max-width: 28em; color: var(--ink-2); }
.choose-more { width: fit-content; margin-top: 6px; font-style: italic; font-size: 1.1rem; border-bottom: 1px solid currentColor; }
.choose-more::after { content: " ↓"; font-style: normal; }
@media (max-width: 760px) { .wood-choose { grid-template-columns: minmax(0, 1fr); row-gap: 56px; } }

/* ---- Formats table (cinnamon wood) --------------------------------------------- */
.formats { margin-top: clamp(64px, 8vw, 112px); }
.formats > .kicker { margin-bottom: 20px; }
.formats-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.formats-table th, .formats-table td { padding: 14px 24px 14px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.formats-table thead th { padding-block: 12px; color: var(--ink-2); font-size: 0.72rem; }
.formats-thumb { width: 104px; }
.formats-thumb img { width: 80px; height: 80px; object-fit: contain; mix-blend-mode: multiply; }
.formats-thumb.is-cover img { object-fit: cover; mix-blend-mode: normal; }
.formats-table tbody th { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); line-height: 1.1; }
.formats-table tbody th a { text-decoration: none; transition: color 0.2s; }
.formats-table tbody th a:hover { color: var(--accent); }
.formats-table td { color: var(--ink-2); }
.pairings { margin: 28px 0 20px; font-style: italic; color: var(--ink-2); }
.pairings-label { margin-right: 14px; font-style: normal; color: var(--accent); }
@media (max-width: 760px) {
  .formats-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .formats-table tr { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
  .formats-table th, .formats-table td { padding: 0; border: 0; }
  .formats-thumb { grid-row: 1 / span 3; width: auto; }
  .formats-thumb img { width: 72px; height: 72px; }
  .formats-table td[data-label]::before { content: attr(data-label) " · "; font-size: 0.68rem; color: var(--ink); }
}

/* ---- Birch: uses + where to buy -------------------------------------------------- */
.wood-buy {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap);
  margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid var(--ink);
}
.uses { grid-column: 1 / 6; }
.uses .kicker { margin-bottom: 14px; }
.uses-list { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); line-height: 1.2; }
.buy { grid-column: 7 / 13; }
.buy h3 { margin-bottom: 12px; font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem); line-height: 1.05; }
.buy p { color: var(--ink-2); }
.buy address { margin: 16px 0 28px; }
@media (max-width: 900px) { .uses, .buy { grid-column: 1 / -1; } }
