/* Brilo Studio site base: a reset, the skip link, focus outlines, .visually-hidden and no smooth scroll under reduced motion. */
/* It decides nothing about the look and hides nothing at rest. The site's own styles follow it in site.css. */
/* From Brilo Studio plugins/studio/templates/site/site.css; scaffold.mjs copies it and never overwrites it. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

img, picture, video, canvas {
  display: block;
  max-width: 100%;
}

/* An SVG stays inline (icons in text); when narrowed, it keeps its proportions. */
svg {
  max-width: 100%;
}

img, video, svg {
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
}

/* Off screen until focused, then shown at the top left above everything. */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: Canvas;
  color: CanvasText;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* For screen readers only: clipped to nothing, never faded. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Motion is on for every visitor, the system's reduced-motion setting included (Fredd, 9 Nov 2026: "enable it always
   ... we don't add crazy movement that makes people dizzy"); the motion switch in the menu and the footer turns it
   off (html.motion-off, Studio house rule 23). Rama Noble's former "@media (prefers-reduced-motion: no-preference)"
   blocks read "@media all" for that reason. Off: no smooth scrolling either. */
html.motion-off * { scroll-behavior: auto !important; }

/* Rigged motion graphics (rig.js, rig.mjs): every node is the rig's box, turned about its pivot. */
.rig { position: relative; }
.rig-node, .rig-flutter { position: absolute; inset: 0; pointer-events: none; }
.rig-img { position: absolute; display: block; }
.rig-img img { display: block; width: 100%; height: auto; }
/* A living thing drawn larger than its cut (bend.js, --bend-grow, the rig marked data-bend="wait") shows once its canvas
   draws it at its grown size: its cut at its own size would jump, and scaled as pictures it shows its seams. */
@media all { [data-bend="wait"] > [data-rig-part] { visibility: hidden; } }

/* ============================================================================================================== */
/* Rama Noble. The olive crown: linen, the silver of an olive leaf, deep olive, young-branch green, gold leaf.     */
/* Tokens first (DESIGN.md reads them), then the parts every page shares, then each kind of section.              */
/* ============================================================================================================== */

@font-face { font-family: "Bodoni Moda"; src: url("/fonts/bodoni-moda-400-opsz.woff2") format("woff2-variations"), url("/fonts/bodoni-moda-400-opsz.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; src: url("/fonts/albert-sans-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni fallback"; src: local("Didot"), local("Bodoni 72"), local("Bodoni MT"), local("Georgia"); size-adjust: 97%; }
@font-face { font-family: "Albert fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 101%; }

:root {
  --lino: #f4f0e6;          /* linen: the page */
  --hoja: #e2e5d5;          /* the silver underside of an olive leaf: every other band */
  --olivo: #2e3a26;         /* deep olive leaf: dark bands, the footer, the menu, the opening */
  --tinta: #1d211a;         /* ink */
  --tinta-2: #4a5143;       /* quiet ink (7.5:1 on linen) */
  --rama: #43572c;          /* young branch: the one accent, actions */
  --rama-hover: #354623;
  --oro: #a8873e;           /* gold leaf: crowns, kicker leaves, hairlines */
  --oro-ink: #6f5520;       /* gold as small text on light grounds (6.2:1 on linen) */
  --oro-luz: #d6bc78;       /* gold words on the deep olive and over the hero's picture (the logo itself is --logo-gold) */
  --negra: #6a2c3a;         /* a ripe olive: "Contains" */
  --line: rgb(29 33 26 / 0.15);
  --f-display: "Bodoni Moda", "Bodoni fallback", Didot, Georgia, serif;
  --f-text: "Albert Sans", "Albert fallback", system-ui, sans-serif;
  --fs-h1: clamp(2.6rem, 1.55rem + 4.2vw, 5.4rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.3vw, 3.4rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.3vw, 1.26rem);
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --sec-pad: clamp(4.5rem, 9vw, 8.5rem);
  --bar-h: 56px;            /* the bar: 56 px on a phone, 68 px from 900 px (Studio phone.md 3) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 900px) { :root { --bar-h: 68px; } }

html { scroll-padding-top: calc(var(--bar-h) + 1rem); background: var(--lino); }
body { background: var(--lino); color: var(--tinta); font: 400 1.0625rem/1.62 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--rama); color: var(--lino); }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--rama); outline-offset: 3px; border-radius: 2px; }
.g-olivo :focus-visible, .foot :focus-visible, .menu :focus-visible { outline-color: var(--oro-luz); }
.skip-link { background: var(--olivo); color: var(--lino); font-weight: 600; }

/* --- Type: Bodoni Moda for titles (the logo's own letters), Albert Sans for reading -------------------------------------------- */
.h1, .h2, .medal-name, .olive-name, .cat-name, .legal-text h2, .mark-name { font-family: var(--f-display); font-weight: 400; }
.h1, .h2, .medal-name, .olive-name, .legal-text h2 { letter-spacing: -0.005em; text-wrap: balance; hyphens: manual; }
.h1 { font-size: min(var(--fs-h1), calc(100cqi / (var(--w, 9) * 0.56))); line-height: 1.04; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h2-s { font-size: clamp(1.65rem, 1.3rem + 1.1vw, 2.3rem); }
.lead { font-size: var(--fs-lead); line-height: 1.58; color: var(--tinta-2); max-width: 36rem; margin-top: 1.4rem; text-wrap: pretty; }
p + p { margin-top: 1rem; }
/* Fredd's small gold labels above headings, each led by one gold olive leaf. */
.kicker { display: inline-flex; align-items: center; gap: 0.75em; font: 600 0.74rem/1.3 var(--f-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--oro-ink); margin-bottom: 1.15rem; }
.kicker::before { content: ""; flex: none; width: 1.05em; height: 0.46em; background: var(--oro); border-radius: 100% 0; transform: rotate(-24deg); }
.g-olivo .kicker { color: var(--oro-luz); }
.g-olivo .kicker::before { background: var(--oro-luz); }
.g-olivo .lead, .g-olivo p { color: rgb(244 240 230 / 0.86); }

/* --- Actions ---------------------------------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; margin-top: 2.1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.6rem; border-radius: 2px; border: 0; background: var(--rama); color: var(--lino); font: 600 0.92rem/1.2 var(--f-text); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 0.2s, transform 0.2s var(--ease); }
.btn:hover { background: var(--rama-hover); }
/* Back, middle, front (Studio house rule 22): the filled action is the front layer and carries the page's strongest
   lift; an outline action stays flat. */
.btn:not(.btn-ghost) { box-shadow: 0 14px 28px -14px rgb(29 33 26 / 0.55), 0 2px 6px -2px rgb(29 33 26 / 0.25); }
.g-olivo .btn:not(.btn-ghost), .hl-copy .btn:not(.btn-ghost) { box-shadow: 0 14px 30px -12px rgb(0 0 0 / 0.6), 0 2px 6px -2px rgb(0 0 0 / 0.35); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1px rgb(29 33 26 / 0.5); }
.btn-ghost:hover { background: rgb(29 33 26 / 0.06); }
.g-olivo .btn { background: var(--lino); color: var(--olivo); }
.g-olivo .btn:hover { background: #fffaf0; }
.g-olivo .btn-ghost { background: transparent; color: var(--lino); box-shadow: inset 0 0 0 1px rgb(244 240 230 / 0.6); }
.btn-s { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.82rem; }
.more { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 1.6rem; font-weight: 600; color: var(--rama); text-decoration: underline; text-underline-offset: 0.3em; }
.more .arr { transition: transform 0.25s var(--ease); }
.more:hover .arr { transform: translateX(4px); }
.g-olivo .more { color: var(--oro-luz); }
.mail { font-weight: 600; color: var(--rama); text-underline-offset: 0.3em; overflow-wrap: anywhere; }

/* --- The logo (Fredd, 10 Nov 2026; src/logo.mjs): the olive wreath around RN, the name in Bodoni, the line ACEITUNAS
       DE MESA. Each part is a mask painted in its colour (--lg-gold the wreath, --lg-ink the letters): on light grounds the
       wreath gold and the letters the logo's deep green; on the deep olive (footer, menu, opening) all gold, as the
       designer's files on green; over the home page's picture the wreath gold and the letters the near-white ground.
       Row: the monogram with the name to its right (the bar, the menu), --lg-h the monogram's height. Stack: the name
       underneath and its line, the designer's spacing (src/lib.mjs STACK), as wide as the monogram. ---------------- */
:root { --logo-gold: #c6a35a; --logo-ink: #0f1f16; }
.mark { display: inline-flex; align-items: center; text-decoration: none; }
.logo { --lg-gold: var(--logo-gold); --lg-ink: var(--logo-ink); display: inline-flex; align-items: center; flex: none; }
.lg-mono, .lg-name, .lg-line { position: relative; display: block; flex: none; }
.lg-mono { aspect-ratio: var(--lgm); }
.lg-name { aspect-ratio: var(--lgw); }
.lg-line { aspect-ratio: var(--lgt); }
.lg-mono > span, .lg-word, .lg-tag { position: absolute; inset: 0; }
.lg-bl, .lg-br { background: var(--lg-gold); }
.lg-rn, .lg-word, .lg-tag { background: var(--lg-ink); }
.lg-bl { -webkit-mask: url("/brand/logo-branch-l.svg") center / 100% 100% no-repeat; mask: url("/brand/logo-branch-l.svg") center / 100% 100% no-repeat; }
.lg-br { -webkit-mask: url("/brand/logo-branch-r.svg") center / 100% 100% no-repeat; mask: url("/brand/logo-branch-r.svg") center / 100% 100% no-repeat; }
.lg-rn { -webkit-mask: url("/brand/logo-rn.svg") center / 100% 100% no-repeat; mask: url("/brand/logo-rn.svg") center / 100% 100% no-repeat; }
.lg-word { -webkit-mask: url("/brand/logo-word.svg") center / 100% 100% no-repeat; mask: url("/brand/logo-word.svg") center / 100% 100% no-repeat; }
.lg-tag { -webkit-mask: url("/brand/logo-tag.svg") center / 100% 100% no-repeat; mask: url("/brand/logo-tag.svg") center / 100% 100% no-repeat; }
.logo-row { --lg-h: 44px; gap: calc(var(--lg-h) * 0.27); }
.logo-row .lg-mono { height: var(--lg-h); }
.logo-row .lg-name { height: calc(var(--lg-h) * 0.43); }
.logo-stack { flex-direction: column; width: var(--lg-sw, 10rem); }
.logo-stack .lg-mono { width: 100%; }
.logo-stack .lg-name { width: var(--lg-ww); margin-top: var(--lg-wg); }
.logo-stack .lg-line { width: var(--lg-tw); margin-top: var(--lg-tg); }
.logo-mono, .logo-mono .lg-mono { width: 100%; }
.mark-light .logo, .g-olivo .logo, .menu .logo { --lg-ink: var(--logo-gold); }
.band-mark { display: block; width: 58px; margin-bottom: 1.4rem; }

/* --- The bar ----------------------------------------------------------------------------------------------------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 1rem; height: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; background: var(--lino); box-shadow: 0 1px 0 var(--line); transition: transform 0.5s ease, background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease; }
/* The bar is fixed, so every page but the home page (whose hero stands under it) starts below it. */
body:not(.is-home) > main { padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); }
.bar .mark { margin-right: auto; min-width: 0; }
.bar .logo-row { --lg-h: 40px; }
@media (min-width: 900px) { .bar .logo-row { --lg-h: 48px; } }
.bar-nav { display: none; gap: 0.2rem; }
.bar-link { position: relative; padding: 0.6rem 0.7rem; font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--tinta); white-space: nowrap; }
.bar-link::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.35rem; height: 1px; background: var(--oro); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.bar-link:hover::after, .bar-link[aria-current="page"]::after { transform: none; }
.bar-link[aria-current="page"] { color: var(--rama); }
.langs { display: flex; gap: 0.1rem; }
.langs a { display: inline-grid; place-items: center; min-width: 2.4rem; min-height: 2.4rem; font: 600 0.76rem/1 var(--f-text); letter-spacing: 0.12em; text-decoration: none; color: var(--tinta-2); }
.langs a:hover { color: var(--tinta); }
.langs a[aria-current] { color: var(--rama); text-decoration: underline; text-decoration-color: var(--oro); text-underline-offset: 0.4em; }
.bar-contact { display: none; }
/* The language choice in the bar: a code and a chevron; open, the five languages in their own names. */
.lang-pick { position: relative; display: none; }
@media (min-width: 600px) { .lang-pick { display: block; } }
.lp-btn { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0 0.65rem; border-radius: 2px; cursor: pointer; font: 600 0.78rem/1 var(--f-text); letter-spacing: 0.14em; color: var(--tinta); user-select: none; }
.lp-btn::-webkit-details-marker { display: none; }
.lp-btn::marker { content: ""; }
.lp-btn:hover .lp-code { text-decoration: underline; text-decoration-color: var(--oro); text-underline-offset: 0.4em; }
.lp-chev { width: 6px; height: 6px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease); }
.lang-pick[open] .lp-chev { transform: translateY(1px) rotate(225deg); }
.lp-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 2; min-width: 12.5rem; margin: 0; padding: 0.4rem; list-style: none; background: var(--lino); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 22px 44px -20px rgb(29 33 26 / 0.4), 0 2px 6px -3px rgb(29 33 26 / 0.18); }
.lang-pick[open] .lp-list { animation: lp-in 0.22s var(--ease) both; transform-origin: 100% 0; }
@keyframes lp-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
.lp-list a { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 44px; padding: 0 0.8rem; border-radius: 3px; text-decoration: none; color: var(--tinta); font: 500 0.95rem/1.2 var(--f-text); }
.lp-list a:hover, .lp-list a:focus-visible { background: var(--hoja); }
.lp-c { font: 600 0.68rem/1 var(--f-text); letter-spacing: 0.14em; color: var(--tinta-2); }
.lp-list a[aria-current] { color: var(--rama); }
.lp-list a[aria-current] .lp-name { text-decoration: underline; text-decoration-color: var(--oro); text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
.lp-list a[aria-current] .lp-c { color: var(--oro-ink); }
.bar-menu { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.3rem; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--tinta); }
.bar-menu-lines { position: relative; width: 22px; height: 9px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
/* At the narrowest phones the word "Menu" leaves the eye but stays the button's name for screen readers. */
@media (max-width: 380px) { .bar .logo-row { --lg-h: 36px; } .bar-menu-word { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.js .bar-menu { display: inline-flex; }
@media (min-width: 600px) { .bar-contact { display: inline-flex; } }
@media (min-width: 1180px) {
  .bar-nav { display: flex; }
  .bar-menu, .js .bar-menu { display: none; }
}

/* --- The menu (below 1180 px) ------------------------------------------------------------------------------------ */
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--olivo); color: var(--lino); padding: 0 var(--gutter) 2rem; overflow-y: auto; }
.menu[hidden] { display: none; }
/* the menu's opening (Fredd, 26 Nov 2026): the deep olive sweeps down from the bar, the crown and the close button
   fade in, the links rise one after another, the languages and the note follow; closing plays it back faster */
.menu { clip-path: inset(0 0 100% 0); transition: clip-path 0.42s cubic-bezier(0.55, 0, 0.75, 0.2); }
.menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path 0.7s var(--ease); }
.menu-top, .menu-list li, .menu-langs, .menu .motion-switch, .menu-note { opacity: 0; transform: translateY(14px); transition: opacity 0.25s ease, transform 0.25s ease; }
.menu-top { transform: none; }
.menu.is-open .menu-top, .menu.is-open .menu-list li, .menu.is-open .menu-langs, .menu.is-open .motion-switch, .menu.is-open .menu-note { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.75s var(--ease); }
.menu.is-open .menu-top { transition-delay: 0.18s; }
.menu.is-open .menu-list li:nth-child(1) { transition-delay: 0.22s; }
.menu.is-open .menu-list li:nth-child(2) { transition-delay: 0.27s; }
.menu.is-open .menu-list li:nth-child(3) { transition-delay: 0.32s; }
.menu.is-open .menu-list li:nth-child(4) { transition-delay: 0.37s; }
.menu.is-open .menu-list li:nth-child(5) { transition-delay: 0.42s; }
.menu.is-open .menu-list li:nth-child(6) { transition-delay: 0.47s; }
.menu.is-open .menu-list li:nth-child(7) { transition-delay: 0.52s; }
.menu.is-open .menu-list li:nth-child(8) { transition-delay: 0.57s; }
.menu.is-open .menu-langs, .menu.is-open .motion-switch { transition-delay: 0.6s; }
.menu.is-open .menu-note { transition-delay: 0.66s; }
.menu-list a { position: relative; }
.menu-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px; background: var(--oro-luz); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.menu-list a:hover::after, .menu-list a[aria-current]::after { transform: scaleX(1); }
html.motion-off .menu, html.motion-off .menu * { clip-path: none !important; opacity: 1 !important; transform: none !important; }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--bar-h); }
.menu-close { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; background: none; border: 0; color: var(--lino); font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.menu-x { position: relative; width: 18px; height: 18px; }
.menu-x::before, .menu-x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu-x::after { transform: rotate(-45deg); }
.menu-body { margin-top: clamp(1.5rem, 6vh, 4rem); display: grid; gap: 2.2rem; }
.menu-list { list-style: none; padding: 0; display: grid; gap: 0.1rem; }
.menu-list a { display: inline-block; padding: 0.3rem 0; font: 400 clamp(1.9rem, 6.6vw, 2.9rem)/1.15 var(--f-display); color: var(--lino); text-decoration: none; }
.menu-list a:hover, .menu-list a[aria-current] { color: var(--oro-luz); }
.menu-langs a { color: rgb(244 240 230 / 0.8); min-width: 3rem; min-height: 3rem; font-size: 0.85rem; }
.menu-langs a[aria-current] { color: var(--oro-luz); }
.menu-note { max-width: 26rem; color: rgb(244 240 230 / 0.75); font-size: 0.95rem; }

/* --- Sections and grounds (two neighbours never share one; the footer is the deep olive) -------------------------- */
main > section, .hl-pair > section { padding: var(--sec-pad) max(var(--gutter), calc((100% - 76rem) / 2)); overflow-x: clip; }
.g-lino { background: var(--lino); }
.g-hoja { background: var(--hoja); }
.g-olivo { background: var(--olivo); color: var(--lino); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.8rem, 5vw, 4.4rem); }

/* --- The crowned window: the picture in a disc, a gold hairline, and the olive crown whose two branches sway ----- */
.win { position: relative; width: 100%; aspect-ratio: 1; }
.win-disc { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; background: var(--hoja); box-shadow: 0 18px 40px -30px rgb(46 58 38 / 0.45); isolation: isolate; }
.win-disc > picture, .win-disc > picture img { display: block; width: 100%; height: 100%; }
.win-disc img { object-fit: cover; }
.win::before { content: ""; position: absolute; inset: 11.4%; border-radius: 50%; border: 1px solid var(--oro); opacity: 0.8; pointer-events: none; }
.crown { position: absolute; inset: 0; pointer-events: none; }
.crown-l, .crown-r { position: absolute; inset: 0; background: var(--oro); transform-origin: 50% 91.6%; -webkit-mask: url("/brand/wreath-l.svg") center / 100% 100% no-repeat; mask: url("/brand/wreath-l.svg") center / 100% 100% no-repeat; }
.crown-r { -webkit-mask-image: url("/brand/wreath-r.svg"); mask-image: url("/brand/wreath-r.svg"); }
.g-olivo .crown-l, .g-olivo .crown-r { background: var(--logo-gold); }
.g-olivo .win::before { border-color: var(--oro-luz); }
@media all {
  .crown-l { animation: sway-l 7.4s ease-in-out infinite alternate; }
  .crown-r { animation: sway-r 8.6s ease-in-out infinite alternate; }
  .crown-l, .crown-r { animation-play-state: paused; }
  .is-on .crown-l, .is-on .crown-r { animation-play-state: running; }
  /* the closing's sign: the logo's own branches sway as every crown does, about the knot where their stems meet */
  .sign .lg-bl, .sign .lg-br { transform-origin: 50% 98%; animation: sway-l 7.4s ease-in-out infinite alternate paused; }
  .sign .lg-br { animation-name: sway-r; animation-duration: 8.6s; }
  .sign.is-on .lg-bl, .sign.is-on .lg-br { animation-play-state: running; }
  /* the section held under the home hero is on the screen but hidden by it: its crowns rest until the hero is off */
  .hero-lift:not(.off) + [data-hero-under] :is(.crown-l, .crown-r) { animation-play-state: paused; }
}
/* The breeze: each branch leans a little about its foot, out of step with the other. */
@keyframes sway-l { from { transform: rotate(1.4deg); } to { transform: rotate(-1.6deg); } }
@keyframes sway-r { from { transform: rotate(-1.5deg); } to { transform: rotate(1.3deg); } }

/* --- Inner page tops: the title and a crowned window side by side from 900 px ------------------------------------ */
.top { display: grid; gap: clamp(1.6rem, 4.5vw, 4.5rem); align-items: center; }
.first-copy { container-type: inline-size; min-width: 0; }
.top-pic { justify-self: center; width: min(84vw, 38svh, 40rem); order: -1; }
@media (min-width: 900px) {
  .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100svh - var(--bar-h)), 52rem); }
  .top-pic { order: 0; width: min(100%, 33rem, calc(100svh - var(--bar-h) - 4rem)); }
}
@media (min-width: 700px) and (max-width: 899px) { .top-pic { width: min(64vw, 42svh); } }
@media (max-width: 899px) { .top-copy { text-align: left; } }

/* --- A brand's moving first screen: Lola's label, built as the Gestora pattern's site builds its Lola hero
       (Fredd, 8 Nov 2026: "copy that approach"). The section is the clip's own cream; on a laptop the clip stands at
       the right edge of the screen, from under the bar to the section's foot, its left side and foot fading into the
       cream; on a phone it comes first, at the right edge, and the words rise over its foot. The still shows at once,
       the clip over it once it plays (ui.js). ---------------------------------------------------------------------- */
:root { --lola-crema: #f5eee1; }
.top-film.g-lino { background: var(--lola-crema); }
.top-film { position: relative; }
.clip { position: relative; display: block; aspect-ratio: 788 / 1196; overflow: hidden; }
.clip img, .clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.clip video { opacity: 0; transition: opacity 0.3s; }
.clip video.on { opacity: 1; }
.clip video::-webkit-media-controls, .clip video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
@media (min-width: 900px) {
  .top-film { grid-template-columns: minmax(0, 1fr); }
  .top-film .top-copy { max-width: min(46rem, 56vw); }
  .top-film .top-clip { position: absolute; right: 0; top: 0; margin: 0; width: min(42vw, (100svh - var(--bar-h)) * 0.659); }
  .top-clip .clip { -webkit-mask-image: linear-gradient(to right, transparent, #000 10%), linear-gradient(to top, transparent, #000 8%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 10%), linear-gradient(to top, transparent, #000 8%); mask-composite: intersect; }
}
@media (max-width: 899px) {
  .top-film { gap: 0.4rem; align-items: start; }
  .top-film .top-clip { order: -1; justify-self: end; margin-right: calc(-1 * var(--gutter)); width: min(56vw, 20rem); }
  .top-clip .clip { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%), linear-gradient(to top, transparent, #000 10%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 12%), linear-gradient(to top, transparent, #000 10%); mask-composite: intersect; }
  .top-film .top-copy { margin-top: -1.6rem; position: relative; z-index: 1; } /* the kicker starts under Lola's shoes, never over them */
}

/* --- Inner page tops --------------------------------------------------------------------------------------------- */
.top { padding-top: clamp(1rem, 3vw, 2.5rem) !important; }
.top-legal { display: block; min-height: 0; padding-bottom: clamp(2rem, 4vw, 3rem) !important; }
.top-404 { min-height: calc(70svh - var(--bar-h)); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; }
.nf-langs { list-style: none; padding: 0; margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.nf-langs a { font-weight: 600; color: var(--rama); text-underline-offset: 0.3em; }
.brand-line { margin-top: 0.9rem; font: 400 clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem)/1.2 var(--f-display); color: var(--oro-ink); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.6rem; font-size: 0.86rem; color: var(--tinta-2); }
.crumbs a { color: var(--tinta-2); }
.crumbs a:hover { color: var(--tinta); }
.crumbs [aria-current] { color: var(--tinta); }
.olive-main .kicker { margin-bottom: 1rem; }
.facts-h { margin-top: 2rem; font: 600 0.74rem/1.3 var(--f-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--tinta-2); }

/* El Pecado de Lola keeps a touch of its own label inside Rama Noble's frame: the red of Lola's skirt on its line, its
   hairline and its crown (the same sway, its own colour). */
.lola .brand-line { color: #a3121a; }
.lola .crown-l, .lola .crown-r, .g-olivo .lola .crown-l, .g-olivo .lola .crown-r, .lola.medal .crown-l, .lola.medal .crown-r { background: #c21820; }
.lola .win::before { border-color: #c21820; opacity: 0.6; }
.g-olivo .lola.medal .crown-l, .g-olivo .lola.medal .crown-r { background: #cf3a40; }

/* --- Facts: an olive's details --------------------------------------------------------------------------------- */
.facts { margin-top: 1.1rem; display: grid; }
.facts > div { display: grid; grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr); gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font: 600 0.72rem/1.9 var(--f-text); letter-spacing: 0.13em; text-transform: uppercase; color: var(--tinta-2); }
.facts dd { margin: 0; font-size: 1rem; line-height: 1.5; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.facts dd a { color: var(--rama); }
.facts-alert dd { color: var(--negra); font-weight: 600; }
.top-olive .facts { max-width: 34rem; }

/* --- Split sections: a crowned window beside its words --------------------------------------------------------- */
.split { display: grid; gap: clamp(2.4rem, 6vw, 6rem); align-items: center; }
.split > .win { justify-self: center; width: min(78vw, 30rem); }
.split-text { min-width: 0; }
@media (min-width: 700px) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split-rev, .pack { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .split > .win { width: min(100%, 30rem); }
}
@media (max-width: 699px) { .split > .win { order: -1; } }

/* --- Bands of words alone (they rest) ---------------------------------------------------------------------------- */
.band { display: grid; gap: 1.5rem clamp(2rem, 7vw, 7rem); }
.band-text { max-width: 38rem; }
.band-text .lead { margin-top: 0; color: var(--tinta); }
.band-text p:not(.lead) { color: var(--tinta-2); }
.band-text .actions { margin-top: 1.8rem; }
.band-text .more { margin-top: 1.4rem; }
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .band-text { padding-top: 4.2rem; } }

/* --- The crowned medallions of the brands ------------------------------------------------------------------------ */
.medal-row { display: grid; gap: clamp(4rem, 8vw, 5.5rem) clamp(2rem, 6vw, 6rem); }
@media (min-width: 760px) { .medal-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.medal { display: grid; justify-items: center; text-align: center; align-content: start; min-width: 0; }
.medal > .win { width: min(74vw, 22rem); margin-bottom: 1.6rem; }
.medal .kicker { justify-content: center; margin-bottom: 0.7rem; }
.medal-name { font-size: clamp(2.1rem, 1.6rem + 1.7vw, 3rem); line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; }
.medal-name a { text-decoration: none; }
.medal-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.medal-line { margin-top: 0.8rem; max-width: 26rem; }
.chips { list-style: none; padding: 0; margin-top: 1.3rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0.4rem 0.9rem; font-size: 0.88rem; text-decoration: none; box-shadow: inset 0 0 0 1px rgb(29 33 26 / 0.28); }
.chips a:hover { background: rgb(29 33 26 / 0.06); }
.g-olivo .chips a { box-shadow: inset 0 0 0 1px rgb(244 240 230 / 0.38); color: var(--lino); }
.g-olivo .chips a:hover { background: rgb(244 240 230 / 0.08); }
.g-olivo .medal-name a { color: var(--lino); }

/* --- Brand pages: the olives, each in a small crowned window ------------------------------------------------------ */
.olive-grid { display: grid; gap: clamp(3.4rem, 6vw, 4.6rem) clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 1180px) { .olives-many .olive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.olive { min-width: 0; }
.olive:not(.olive-main) { display: grid; gap: 1.2rem; }
.olive-pic { display: block; width: min(56vw, 13rem); }
.olive-name { font-size: clamp(1.6rem, 1.35rem + 0.8vw, 2.05rem); line-height: 1.1; }
.olive-name a { text-decoration: none; }
.olive-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 560px) {
  .olive:not(.olive-main) { grid-template-columns: 11rem minmax(0, 1fr); column-gap: 1.8rem; align-items: start; }
  .olive-pic { width: 11rem; }
}
@media (min-width: 900px) {
  .olives-one .olive:not(.olive-main) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: center; }
  .olives-one .olive-pic { width: min(100%, 25rem); justify-self: center; }
}

/* --- Lola's story: her page as the Lola page Fredd built before lays it out (10 Nov 2026), in Rama Noble's type.
       The label's cream from the hero to the footer (Fredd, 10 Nov 2026); her red for the rules, the
       captions, the quote and the kickers; the action stays the site's green. Laptops: a 12-column editorial grid
       (pictures and words step across it); phones: a 6-column grid (the drained and the poured bowls side by side). */
:root { --lola-rojo: #a3121a; }
.g-crema { background: var(--lola-crema); }
:is(.g-crema, .top-film).lola .kicker { color: var(--lola-rojo); }
:is(.g-crema, .top-film).lola .kicker::before { background: var(--lola-rojo); }
.top-more { margin-top: 0; }
.story-h { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.lola-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1rem; align-items: start; }
.lola-grid + .lola-grid { margin-top: clamp(2.5rem, 6vw, 5rem); }
.lola-pic { margin: 0; min-width: 0; }
.lp-frame { display: block; overflow: hidden; border-radius: 2px; background: var(--lola-crema); }
.lp-frame img { display: block; width: 100%; height: auto; }
.lola-pic figcaption { margin-top: 0.7rem; font: 600 0.72rem/1.3 var(--f-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lola-rojo); }
.lola-txt { min-width: 0; }
.lola-txt p { max-width: 36rem; }
.lola-txt p + p, .lola-quote + p { margin-top: 1rem; }
.lola-big { font: 400 clamp(1.45rem, 1.2rem + 0.9vw, 2rem)/1.28 var(--f-display); color: var(--tinta); }
.lola-txt .lola-big + p { margin-top: 1.3rem; }
.lola-txt p + .lola-big { margin-top: 1.6rem; }
.lola-quote { margin: 1.6rem 0; }
.lola-quote p { font: 400 clamp(1.9rem, 1.45rem + 2vw, 3rem)/1.1 var(--f-display); color: var(--lola-rojo); text-wrap: balance; }
.lola-ing { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.4rem 2rem; margin: clamp(3rem, 7vw, 5.5rem) 0; }
.lola-ing li { border-top: 2px solid var(--lola-rojo); padding-top: 0.8rem; }
.ing-a { display: block; font: 400 clamp(1.45rem, 1.2rem + 0.9vw, 2rem)/1.1 var(--f-display); }
.ing-b { font-size: 0.92rem; color: var(--tinta-2); }
.lola-end { margin-top: clamp(3rem, 7vw, 5.5rem); text-align: center; font: 400 clamp(2rem, 1.4rem + 2.3vw, 3.4rem)/1.08 var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.lola-end em { display: block; margin-top: 0.5rem; font-style: normal; text-transform: none; letter-spacing: 0; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); color: var(--lola-rojo); }
.lola-note { margin-top: 1rem; text-align: center; font-size: 0.9rem; color: var(--tinta-2); }
.lp-1, .lt-1, .lt-2, .lt-3, .lp-6 { grid-column: 1 / -1; }
.lp-2, .lp-5 { grid-column: 2 / -1; }
.lp-3 { grid-column: 1 / 4; }
.lp-4 { grid-column: 4 / -1; margin-top: 3rem; }
@media (min-width: 900px) {
  .lola-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .lp-1 { grid-column: 1 / 6; } .lt-1 { grid-column: 7 / 12; align-self: center; }
  .lp-2 { grid-column: 8 / 12; margin-top: -4rem; } .lt-2 { grid-column: 2 / 7; grid-row: 2; align-self: center; }
  .lp-3 { grid-column: 1 / 5; } .lp-4 { grid-column: 6 / 10; margin-top: 5rem; }
  .lp-5 { grid-column: 1 / 5; } .lt-3 { grid-column: 6 / 12; } .lp-6 { grid-column: 3 / 11; }
}
/* The tin and its facts, on the label's cream. */
.lola-tin { display: grid; gap: clamp(2.4rem, 6vw, 5rem); align-items: center; }
.tin-pic { justify-self: center; width: min(44vw, 15rem); }
.tin-pic img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 22px rgb(0 0 0 / 0.18)); mix-blend-mode: multiply; }
.tin-text { min-width: 0; max-width: 40rem; }
.tin-name { margin-top: 1.6rem; font: 400 clamp(1.6rem, 1.35rem + 0.8vw, 2.05rem)/1.1 var(--f-display); }
.tin-name a { text-decoration: none; }
.tin-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.lola-tin .facts > div { border-color: rgb(29 33 26 / 0.12); }
@media (min-width: 900px) { .lola-tin { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* --- Catalogue, design B (Fredd, 25 Nov 2026): a quiet filter column on the left with ticks and counts, the
   products on the right as a grid or a list; on a phone the same form is a sheet from the bottom. ---------------- */
.cat { padding-top: clamp(2.2rem, 4.5vw, 3.4rem); }
.cat-wrap { display: grid; gap: 2rem; }
@media (min-width: 900px) { .cat-wrap { grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(2rem, 3.5vw, 3.4rem); align-items: start; } }
.cat-main { min-width: 0; }
/* the filter column */
/* the filter column runs the full length of its filters and scrolls with the page: nothing hides inside it (Fredd, 26 Nov 2026) */
.cf { position: relative; }
.cf-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.cf-title { font: 400 1.5rem/1 var(--f-display); color: var(--tinta); }
.cf-head .cat-reset { margin-left: auto; }
.cf-x { display: none; }
.cf-group { min-width: 0; margin: 0; padding: 0 0 1.4rem; border: 0; }
.cf-group legend { padding: 0 0 0.35rem; font: 600 0.7rem/1.3 var(--f-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--oro-ink); }
.cf-row { position: relative; display: flex; align-items: center; gap: 0.65rem; min-height: 36px; padding: 0.25rem 0; border-radius: 6px; cursor: pointer; font-size: 0.92rem; line-height: 1.25; transition: background-color 0.2s; }
.cf-row:hover .cf-lb { color: var(--rama); }
/* the real checkbox covers its whole row, so focusing it (a click, the keyboard) never makes the browser scroll to it */
.cf-row input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cf-row input:disabled { cursor: not-allowed; }
/* filtering never moves the page: no scroll anchoring, and a spacer keeps the page as tall as needed (ui.js) */
.cat { overflow-anchor: none; }
.cat-wrap { align-content: start; }
.cf-box { flex: none; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgb(29 33 26 / 0.38); transition: background-color 0.2s, box-shadow 0.2s; }
.cf-row input:checked ~ .cf-box { background: var(--olivo); box-shadow: inset 0 0 0 1.5px var(--olivo); }
.cf-row input:checked ~ .cf-box::after { content: ""; width: 8px; height: 5px; margin-top: -2px; border: solid var(--lino); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.cf-row input:focus-visible ~ .cf-box { outline: 2px solid var(--rama); outline-offset: 2px; }
.cf-row input:checked ~ .cf-lb { font-weight: 600; }
.cf-lb { flex: 1; min-width: 0; }
/* the formats as pictures, without a box: each tin, jar and gallon at one scale, as big as its cell allows, its name
   under it, the tick and the count above (Fredd, 25 Nov 2026: "use as much as possible to display how it looks") */
.cf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0.6rem; }
/* the picture on top, using the cell's height; under it the tick, the name and the count on one line */
.cf-tiles .cf-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "pic pic pic" "box lb n"; align-items: center; gap: 0.45rem 0.4rem; min-height: 0; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.cf-tiles .cf-row:hover .cf-lb { color: var(--rama); }
.cf-tiles .cf-box { grid-area: box; position: static; width: 15px; height: 15px; }
.cf-tiles .cf-n { grid-area: n; position: static; min-width: 0; }
.cf-tiles .cf-ic { grid-area: pic; display: grid; place-items: end center; width: 100%; height: 80px; }
.cf-tiles .cf-ic .pack-icon { width: auto; max-width: 100%; height: 80px; transition: transform 0.3s var(--ease); }
.cf-tiles .cf-row:hover .cf-ic .pack-icon { transform: translateY(-2px); }
.cf-tiles .cf-lb { grid-area: lb; font-size: 0.82rem; line-height: 1.2; padding-bottom: 0.1rem; border-bottom: 1.5px solid transparent; justify-self: start; }
.cf-tiles .cf-row:has(input:checked) .cf-lb { font-weight: 600; border-bottom-color: var(--oro); }
.cf-n { flex: none; min-width: 1.4rem; text-align: right; font-size: 0.74rem; color: var(--tinta-2); font-variant-numeric: tabular-nums; }
.cf-row.is-off { opacity: 0.38; cursor: not-allowed; }
.cf-row.is-off:hover .cf-lb { color: inherit; }
.cf-note { margin: 0.2rem 0 0; font-size: 0.78rem; line-height: 1.45; color: var(--tinta-2); }
.cf-foot, .cf-back, .cf-fab { display: none; }
/* above the list: the choices as tags, the count, grid or list */
.cat-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.7rem 1.4rem; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cat-top[hidden] { display: none; }
.cat-tokens { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.6rem; min-width: 0; min-height: 2.2rem; }
.cat-tokens:empty { display: none; }
.cat-tag { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.3rem 0.2rem 0.8rem; border-radius: 999px; background: var(--lino); box-shadow: inset 0 0 0 1px var(--oro); font-size: 0.85rem; }
.cat-tag button { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: none; color: var(--tinta-2); font-size: 0.8rem; cursor: pointer; }
.cat-tag button:hover { background: var(--hoja); color: var(--tinta); }
.cat-tools { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.cat-count { color: var(--tinta-2); font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat-view { display: inline-flex; gap: 0.2rem; padding: 0.2rem; border-radius: 999px; background: rgb(29 33 26 / 0.06); }
.cat-view button { min-height: 36px; padding: 0 0.95rem; border: 0; border-radius: 999px; background: none; font: 500 0.85rem/1 var(--f-text); color: var(--tinta-2); cursor: pointer; }
.cat-view button[aria-pressed="true"] { background: var(--lino); color: var(--tinta); box-shadow: 0 1px 3px rgb(29 33 26 / 0.16); }
.cat-reset { padding: 0.3rem 0; border: 0; background: none; font: 600 0.88rem/1.3 var(--f-text); color: var(--rama); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.cat-reset[hidden] { display: none; }
.cat-nomatch { padding: 2rem 0; font-size: 1.05rem; color: var(--tinta-2); }
.cat-nomatch .cat-reset { margin-left: 0.6rem; }
/* the products: a grid of short cards (picture, type, name, one line) */
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: clamp(2.2rem, 3.5vw, 3rem) clamp(1.2rem, 2.5vw, 2rem); }
.cat-card { position: relative; display: grid; align-content: start; gap: 1rem; min-width: 0; }
.cat-card[hidden] { display: none; }
.cat-grid { position: relative; }
.cat-grid .cat-card:not(.cat-ghost) { z-index: 1; }
.cc-pic { display: block; width: min(100%, 9rem); }
.cc-disc { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--oro), 0 0 0 5px var(--hoja), 0 0 0 6px rgb(168 135 62 / 0.45); }
.cc-disc picture, .cc-disc img { display: block; width: 100%; height: 100%; }
.cc-disc img { object-fit: cover; transition: transform 0.9s var(--ease); }
.cat-card:hover .cc-disc img { transform: scale(1.05); }
.cc-text { min-width: 0; }
.cc-type { font: 600 0.7rem/1.4 var(--f-text); letter-spacing: 0.17em; text-transform: uppercase; color: var(--oro-ink); }
.cc-name { margin-top: 0.3rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.38rem); line-height: 1.14; text-wrap: balance; }
.cc-name a { text-decoration: none; }
.cc-name a::after { content: ""; position: absolute; inset: 0; }
.cat-card:hover .cc-name a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.cc-line { margin-top: 0.45rem; font-size: 0.86rem; line-height: 1.42; color: var(--tinta-2); }
.cc-fmts { margin-top: 0.5rem; font-size: 0.78rem; line-height: 1.5; color: var(--tinta-2); }
.cc-fmts .sep { opacity: 0.6; }
.cc-fmts [data-format] { white-space: nowrap; }
.has-fmt .cc-fmts [data-format] { opacity: 0.72; }
.has-fmt .cc-fmts .is-on { opacity: 1; color: var(--tinta); font-weight: 600; }
/* the products: a list, one row each (name, the line, the formats in words) */
/* one line between the count and the first row: the bar's own line (Fredd, 26 Nov 2026) */
.cat-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; }
.cat-main:has(.cat-grid.is-list) .cat-top { margin-bottom: 0; }
.is-list .cat-card { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: 0.85rem 0.3rem; border-bottom: 1px solid var(--line); }
.is-list .cc-pic { width: 3.6rem; }
.is-list .cc-disc { box-shadow: 0 0 0 1px var(--oro), 0 0 0 3px var(--hoja), 0 0 0 4px rgb(168 135 62 / 0.4); }
.is-list .cc-name { font-size: 1.15rem; }
.is-list .cc-fmts { margin-top: 0.35rem; font-size: 0.82rem; }
@media (min-width: 1100px) {
  .is-list .cc-text { display: grid; grid-template-columns: minmax(13rem, 1.2fr) minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 1.6rem; align-items: center; }
  .is-list .cc-line, .is-list .cc-fmts { margin-top: 0; }
}
/* a phone and a small tablet: the form is a sheet from the bottom, a button opens it; the grid has two columns */
@media (max-width: 899px) {
  html.cf-locked { overflow: hidden; }
  .cf { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70; max-height: min(88svh, 46rem); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden;
    background: var(--lino); border-radius: 20px 20px 0 0; box-shadow: 0 -24px 48px -24px rgb(29 33 26 / 0.5); transform: translateY(105%); visibility: hidden; transition: transform 0.38s var(--ease), visibility 0s linear 0.38s; }
  .cf.is-open { transform: none; visibility: visible; transition: transform 0.38s var(--ease); }
  html.bar-away .cf { top: auto; max-height: min(88svh, 46rem); }
  .cf-head { position: relative; margin: 0; padding: 1.2rem var(--gutter) 0.9rem; border-bottom: 1px solid var(--line); }
  .cf-head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgb(29 33 26 / 0.2); }
  .cf-x { display: grid; place-items: center; width: 40px; height: 40px; margin: -0.5rem -0.5rem -0.5rem 0; border: 0; border-radius: 50%; background: none; font-size: 1rem; color: var(--tinta-2); cursor: pointer; }
  .cf-head .cat-reset { margin-left: auto; }
  .cf-x { margin-left: auto; }
  .cf-head .cat-reset:not([hidden]) ~ .cf-x { margin-left: 0; }
  .cf-body { overflow-y: auto; padding: 1rem var(--gutter) 0.6rem; overscroll-behavior: contain; }
  .cf-group { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-bottom: 1.1rem; }
  .cf-group legend { float: left; width: 100%; }
  .cf-row { margin: 0; padding: 0.3rem 0.8rem 0.3rem 0.6rem; min-height: 40px; border-radius: 999px; background: var(--card, #fbf8f1); box-shadow: inset 0 0 0 1px var(--line); gap: 0.45rem; }
  .cf-row:has(input:checked) { background: var(--olivo); color: var(--lino); box-shadow: inset 0 0 0 1px var(--olivo); }
  .cf-row:has(input:checked) .cf-n { color: rgb(244 240 230 / 0.7); }
  .cf-row:has(input:checked) .cf-box { background: var(--lino); box-shadow: none; }
  .cf-row input:checked ~ .cf-box::after { border-color: var(--olivo); }
  .cf-lb { flex: none; }
  .cf-foot { display: block; padding: 0.8rem var(--gutter) calc(0.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
  .cf-go { width: 100%; min-height: 50px; border: 0; border-radius: 999px; background: var(--rama); color: var(--lino); font: 600 0.98rem/1 var(--f-text); cursor: pointer; }
  .cf-back:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 69; background: rgb(17 20 14 / 0.42); }
  .cf-fab:not([hidden]) { position: sticky; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 30; display: flex; align-items: center; gap: 0.6rem; width: max-content; margin: 2rem auto 0; padding: 0.85rem 1.3rem; border: 0; border-radius: 999px;
    background: var(--olivo); color: var(--lino); font: 600 0.95rem/1 var(--f-text); box-shadow: 0 16px 34px -14px rgb(17 20 14 / 0.6); cursor: pointer; }
  .cf-badge:not([hidden]) { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.4rem; padding: 0 0.35rem; border-radius: 999px; background: var(--oro-luz); color: var(--tinta); font-size: 0.78rem; }
  .cf-fab-n::before { content: "· "; opacity: 0.7; }
  .cat-top { margin-bottom: 1.1rem; }
  .cat-tools { width: 100%; justify-content: space-between; margin-left: 0; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 1rem; }
  .cat-card { gap: 0.75rem; }
  .cc-pic { width: min(100%, 8rem); }
  .cc-name { font-size: 1.12rem; }
  .cc-line { font-size: 0.8rem; }
}
.cat-packs[hidden] { display: none; }
.cat-main .cat-packs { gap: 0.8rem 2rem; padding-bottom: 1.1rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.cat-main .pack-icon { width: calc(var(--pk-w) * 0.3px); }
.cat-main .cp-name { font-size: 1.05rem; }
.cat-main .cp-fig { font-size: 0.8rem; }
@media (max-width: 899px) {
  .cf-row { font-size: 0.86rem; min-height: 38px; }
  .cf-group.cf-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
  .cf-group.cf-tiles legend { grid-column: 1 / -1; float: none; }
  .cf-tiles .cf-row, .cf-tiles .cf-row:has(input:checked) { min-height: 0; padding: 0; border-radius: 0; background: none; color: var(--tinta); box-shadow: none; }
  .cf-tiles .cf-row:has(input:checked) .cf-n { color: var(--tinta-2); }
  .cf-tiles .cf-row:has(input:checked) .cf-box { background: var(--olivo); }
  .cf-tiles .cf-row input:checked ~ .cf-box::after { border-color: var(--lino); }
  .cf-tiles .cf-ic, .cf-tiles .cf-ic .pack-icon { height: 72px; }
  .cf-tiles .cf-lb { font-size: 0.84rem; }
}

/* --- Olive page: the brand's other olives (still discs) -------------------------------------------------------- */
.minis { list-style: none; padding: 0; margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.8rem 1.4rem; }
.minis a { display: grid; justify-items: center; gap: 0.7rem; width: 9rem; text-align: center; text-decoration: none; font-size: 0.92rem; line-height: 1.3; }
.mini-disc { display: block; width: 7.5rem; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--oro), 0 0 0 5px var(--hoja), 0 0 0 6px rgb(168 135 62 / 0.5); }
.cat .mini-disc { box-shadow: 0 0 0 1px var(--oro), 0 0 0 4px var(--hoja), 0 0 0 5px rgb(168 135 62 / 0.45); }
.mini-disc img { width: 100%; height: 100%; object-fit: cover; }
.minis a:hover .mini-name { text-decoration: underline; }
.more-olives .more { margin-top: 2.2rem; }
.more-olives.g-lino .mini-disc { box-shadow: 0 0 0 1px var(--oro), 0 0 0 5px var(--lino), 0 0 0 6px rgb(168 135 62 / 0.5); }

/* --- The tins (Gestora's olives in tins, 19 Nov 2026): a card per tin, on an olive page and in a brand's pack section */
.tins .sec-head { max-width: 46rem; }
.tin-cards { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 24rem)); }
.tin-card { min-width: 0; padding: 1.35rem 1.4rem 1.1rem; background: var(--lino); border-radius: 2px; box-shadow: 0 1px 0 var(--line), 0 18px 36px -30px rgb(29 33 26 / 0.45); }
.tin-card-name { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.005em; text-wrap: balance; }
.tin-card .facts { margin-top: 0.85rem; }
.tin-card .facts > div { grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 0.8rem; padding: 0.5rem 0; }
.tin-card .facts dt { line-height: 1.6; letter-spacing: 0.1em; hyphens: auto; overflow-wrap: anywhere; }
.tin-card .facts dd { font-size: 0.95rem; line-height: 1.45; }
.tins-h { margin-top: 2.2rem; font: 600 0.74rem/1.3 var(--f-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--oro-ink); }
.tin-cards-brand { margin-top: 1rem; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); }
.tin-cards-brand .tin-card { padding: 1.1rem 1.15rem 0.9rem; }
.tin-cards-brand .tin-card-name { font-size: 1.25rem; }
.g-olivo .tins-h { color: var(--oro-luz); }
.g-olivo .tin-card { background: rgb(244 240 230 / 0.05); box-shadow: inset 0 0 0 1px rgb(244 240 230 / 0.16); }
.g-olivo .tin-card-name { color: var(--lino); }
.g-olivo .tin-card .facts > div { border-color: rgb(244 240 230 / 0.16); }
.g-olivo .tin-card .facts dt { color: var(--oro-luz); }
.g-olivo .tin-card .facts dd { color: rgb(244 240 230 / 0.92); }
.olive-desc { margin-top: 1rem; max-width: 34rem; color: var(--tinta); }
.fam-note { margin-top: 1.6rem; max-width: 46rem; font-size: 0.95rem; color: var(--tinta-2); }
.tins .more, .fdoors .more, .fam-others .more { margin-top: 2rem; }

/* --- The four families (the Gestora build's commercial lines, 20 Nov 2026): doors, points, steps, references ------ */
.fdoor-row { margin-top: 2.4rem; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.fdoor { display: grid; align-content: start; gap: 0.55rem; min-width: 0; padding: 1.5rem 1.4rem 1.3rem; background: var(--lino); border-radius: 2px; text-decoration: none; color: var(--tinta);
  box-shadow: 0 1px 0 var(--line), 0 18px 36px -30px rgb(29 33 26 / 0.45); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.g-lino .fdoor { background: var(--hoja); }
.fdoor:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--line), 0 22px 40px -26px rgb(29 33 26 / 0.5); }
.fdoor-name { font-family: var(--f-display); font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.1; text-wrap: balance; }
.fdoor-line { color: var(--tinta-2); line-height: 1.45; }
.fdoor-fmts { font: 600 0.72rem/1.5 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro-ink); }
.fdoor-go { margin-top: 0.4rem; color: var(--rama); font-weight: 600; }
.fdoor-go .arr { margin-left: 0.35em; }
.fam-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.3rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.fam-points li { padding-top: 0.9rem; border-top: 1px solid rgb(244 240 230 / 0.2); }
.fam-point { font: 600 0.8rem/1.4 var(--f-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-luz); }
.g-hoja .fam-point, .g-lino .fam-point { color: var(--oro-ink); }
.fam-points p, .fam-steps p { margin-top: 0.45rem; line-height: 1.5; }
.fam-steps { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); counter-reset: none; }
.fam-steps li { min-width: 0; padding: 1.4rem; background: var(--lino); border-radius: 2px; box-shadow: 0 1px 0 var(--line); }
.fam-step-n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: 0.8rem; border-radius: 50%; border: 1px solid var(--oro); font-family: var(--f-display); font-size: 1.15rem; color: var(--oro-ink); }
.ref-scroll { position: relative; margin-top: 2.2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ref-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.95rem; }
.ref-table th, .ref-table td { padding: 0.7rem 0.9rem 0.7rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ref-table thead th { font: 600 0.72rem/1.4 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinta-2); border-bottom-color: rgb(29 33 26 / 0.3); }
.ref-table tbody th { font-weight: 500; }
.ref-table tbody th a { color: var(--tinta); }
.ref-type { display: block; margin-top: 0.15rem; font-size: 0.82rem; font-weight: 400; color: var(--tinta-2); }
.ref-table td small { color: var(--tinta-2); }
.g-olivo .band-text .lead, .g-olivo .band-text p:not(.lead) { color: rgb(244 240 230 / 0.88); }

/* --- The containers drawn at scale (src/packs.mjs; Fredd, 25 Nov 2026): ink tins with gold rims and El Pastor's
   olive emblem, clear jars with a dark label, a fine measure under each with its size and its weight. ------------ */
.packs { display: block; width: 100%; max-width: var(--packs-w, 34rem); height: auto; margin-inline: auto; overflow: visible; }
.packs .tin, .pack-icon .tin, .pack-mini .tin { fill: #1b1e17; }
.packs .rib, .pack-icon .rib { fill: none; stroke: rgb(214 188 120 / 0.16); stroke-width: 1; }
.packs .top, .pack-icon .top, .pack-mini .top { fill: #26291f; stroke: var(--oro); stroke-width: 1.4; }
.packs .rim, .pack-icon .rim { fill: none; stroke: var(--oro); stroke-width: 1.2; }
.packs .glass, .pack-icon .glass, .pack-mini .glass { fill: rgb(226 229 213 / 0.9); stroke: rgb(29 33 26 / 0.45); stroke-width: 1.2; }
.packs .lid, .pack-icon .lid, .pack-mini .lid, .packs .label, .pack-icon .label, .pack-mini .label { fill: #1b1e17; }
.packs .behind, .pack-icon .behind { opacity: 0.55; }
.packs .emblem ellipse, .pack-icon .emblem ellipse, .pack-mini .emblem ellipse { fill: none; stroke: var(--oro); stroke-width: 3; }
.packs .emblem .leaf, .pack-icon .emblem .leaf, .pack-mini .emblem .leaf { fill: var(--oro); }
.packs .dim { fill: none; stroke: rgb(29 33 26 / 0.45); stroke-width: 1.2; }
.packs .dimt { font: 500 17px/1 var(--f-text); fill: var(--tinta-2); letter-spacing: 0.02em; }
.packs .kg { font: 400 23px/1 var(--f-display); fill: var(--tinta); }

.fh-draw { margin: 0; }
.fh-draw figcaption { margin-top: 0.4rem; text-align: center; font-size: 0.82rem; color: var(--tinta-2); }
.fh-split { display: grid; gap: clamp(2.4rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .fh-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.fmt-table { width: 100%; margin-top: 1.8rem; border-collapse: collapse; font-size: 0.93rem; }
.fmt-table th, .fmt-table td { padding: 0.65rem 0.8rem 0.65rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fmt-table thead th { font: 600 0.7rem/1.4 var(--f-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-ink); border-bottom-color: rgb(29 33 26 / 0.3); }
.fmt-table tbody th { font-weight: 400; color: var(--tinta-2); }
.fmt-table a { color: var(--tinta); }
@media (max-width: 559px) { .fmt-table thead th:nth-child(2), .fmt-table td:nth-child(2) { display: none; } }
/* the formats side by side: one table, a row per format (Fredd, 25 Nov 2026) */
.spec-scroll { position: relative; margin-top: clamp(2rem, 4vw, 2.8rem); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; min-width: 52rem; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { padding: 0.75rem 1.1rem 0.75rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.spec-table thead th { font: 600 0.7rem/1.4 var(--f-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-ink); border-bottom-color: rgb(29 33 26 / 0.3); white-space: nowrap; }
.spec-table tbody th { font-weight: 400; color: var(--tinta-2); min-width: 9rem; }
.spec-table td small { color: var(--tinta-2); }
.spec-table a { color: var(--tinta); }
.spec-table tbody th { position: sticky; left: 0; background: inherit; }
.g-lino .spec-table tbody th { background: var(--lino); }
.g-hoja .spec-table tbody th { background: var(--hoja); }
@media (max-width: 699px) {
  .spec-table { min-width: 40rem; font-size: 0.86rem; }
  .spec-table .st-fam { display: none; }
  .spec-table tbody th { min-width: 6.4rem; max-width: 6.4rem; }
  .spec-scroll { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.4rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.4rem), transparent); }
  .spec-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
}
.fmt-keep { display: grid; gap: 0.3rem 1.4rem; grid-template-columns: max-content minmax(0, 1fr); margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--tinta-2); }
.fmt-keep > div { display: contents; }
.fmt-keep dt { font-weight: 600; color: var(--tinta); }
.fmt-keep dd { margin: 0; }
.fmt-keep-h { margin: 1.4rem 0 0; font-size: 0.85rem; font-weight: 600; color: var(--tinta); }
.fmt-keep-h + .fmt-keep { margin-top: 0.4rem; }
.fmt-keep + .fmt-keep { margin-top: 0.6rem; }
@media (max-width: 559px) { .fmt-keep { grid-template-columns: minmax(0, 1fr); } .fmt-keep dd { margin-bottom: 0.5rem; } }
.fh-row { margin-top: clamp(2rem, 4vw, 3rem); }
.fh-row .packs, .prod-draw .packs { max-width: min(100%, var(--packs-w)); }
.fh-row figcaption { text-align: left; }
.packs-narrow { display: none; }
@media (max-width: 699px) { .packs-wide { display: none; } .packs-narrow { display: block; } .packs-narrow .dimt { font-size: 24px; } }
.fam-draw { margin-top: 2rem; max-width: 34rem; }
.fam-draw .packs { margin-inline: 0; }
.fmt-more { margin-top: clamp(2.4rem, 5vw, 3.4rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fmt-more summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; cursor: pointer; font-weight: 600; color: var(--tinta); }
.fmt-more summary::-webkit-details-marker { display: none; }
.fmt-more summary::after { content: "+"; font: 300 1.6rem/1 var(--f-text); color: var(--oro-ink); transition: transform 0.3s var(--ease); }
.fmt-more[open] summary::after { transform: rotate(45deg); }
.fmt-more .tin-cards { margin: 0.6rem 0 2rem; }
.fam-fmt-split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; margin-top: 2.4rem; }
.fam-fmt-split .tin-cards { margin-top: 0; }
@media (min-width: 1000px) { .fam-fmt-split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.prod-draw { margin-top: 2.2rem; max-width: 46rem; }
.prod-draw .packs { margin-inline: 0; }
.fdoor-pic { display: block; width: 4.2rem; margin-bottom: 0.4rem; }
.pack-mini { display: block; width: 100%; height: auto; }
/* The catalogue: the chosen formats under the filter bar. */
.cat-packs { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin: 0 0 clamp(1.8rem, 4vw, 2.6rem); padding: 0.2rem 0 1.4rem; border-bottom: 1px solid var(--line); animation: cf-in 0.35s var(--ease); }
.cat-pack { display: flex; align-items: flex-end; gap: 1rem; margin: 0; }
.cat-pack[hidden], .cat-packs[hidden] { display: none; }
.pack-icon { flex: none; width: calc(var(--pk-w) * 0.46px); height: auto; overflow: visible; }
.cat-pack figcaption { display: grid; gap: 0.15rem; padding-bottom: 0.3rem; }
.cp-name { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.15; color: var(--tinta); }
.cp-fig { font-size: 0.85rem; color: var(--tinta-2); }

/* --- Closing: the sign (the logo's monogram, its branches swaying) over the invitation ---------------------------- */
.sign { position: relative; display: block; width: 112px; margin: 0 auto 1.4rem; }
.close-inner { max-width: 46rem; margin: 0 auto; text-align: center; }
.close-inner .kicker { justify-content: center; }
.close-inner .lead { margin-inline: auto; }
.close-inner .actions { justify-content: center; }
.close-inner .band-mark { margin-inline: auto; }

/* --- Contact ---------------------------------------------------------------------------------------------------- */
.contact { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; min-height: 48px; padding: 0.75rem 0.95rem; border: 1px solid rgb(29 33 26 / 0.38); border-radius: 2px; background: #fbf9f3; color: var(--tinta); font-size: 1rem; caret-color: var(--rama); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--rama); box-shadow: 0 0 0 3px rgb(67 87 44 / 0.2); }
.field [aria-invalid="true"] { border-color: var(--negra); }
.hint { font-size: 0.9rem; color: var(--tinta-2); }
.err { font-size: 0.9rem; font-weight: 600; color: var(--negra); }
.field-check { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 0.75rem; }
.field-check input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--rama); }
.field-check label { font-weight: 400; font-size: 0.95rem; }
.field-check .err { grid-column: 2; }
.form .actions { margin-top: 0.4rem; }
.form-status { font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--rama); }
.form-status.no { color: var(--negra); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* --- Message sent (Fredd, 10 Nov 2026: "a super quick animation... elegant, minimalistic, that says message sent,
       and it looks like a message was sent"). Once the message is in, the form makes way for a small scene of 2 s:
       a letter slides into an envelope, the flap folds shut, the seal (RN in its wreath, gold on the logo's green)
       presses on, and the envelope takes off up and away while "Message sent." comes into its place. Every part only
       moves, turns and fades (the flap folds in two halves, edge-on in between, so nothing is redrawn while it plays).
       The resting state of each part is its last frame: with motion switched off the words simply stand there. --- */
/* No jump (Fredd, 10 Nov 2026: "the page kind of jumps"): the fields fade out first; the form keeps its height while
   the page glides to the message (a smooth scroll); then the form closes to the message's height and the scene
   plays (ui.js). With motion off the message simply takes the form's place. */
.form.is-leaving > :not(.sent) { opacity: 0; transform: translateY(-6px); transition: opacity 0.22s ease, transform 0.22s ease; }
.form.is-sent > :not(.sent):not(.form-status) { display: none; }
.form.is-sent { align-content: start; } /* the message keeps its own height while the form's box closes round it */
.form.is-sent:not(.is-playing) .sent-words { opacity: 0; }
.form.is-sent > .form-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sent { display: grid; place-items: center; min-height: 19rem; text-align: center; }
.sent[hidden] { display: none; }
.sent-art, .sent-words { grid-area: 1 / 1; }
.sent-words { max-width: 30rem; }
.sent-h { outline: none; }
.sent-p { margin-top: 0.9rem; color: var(--tinta-2); font-size: var(--fs-lead); line-height: 1.55; }
.sent-again { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.env { position: relative; display: block; width: 136px; height: 90px; opacity: 0; }
.env > span { position: absolute; display: block; }
.env-back { inset: 0; border-radius: 3px; background: #ece4d3; box-shadow: 0 16px 30px -18px rgb(46 58 38 / 0.55); }
.env-letter { left: 11px; right: 11px; top: 7px; height: 74px; border-radius: 2px; background: repeating-linear-gradient(to bottom, transparent 0 13px, rgb(29 33 26 / 0.12) 13px 14px) 12px 18px / calc(100% - 24px) 45px no-repeat, #fffdf8; box-shadow: 0 0 0 1px rgb(29 33 26 / 0.08); }
.env-front { inset: 0; border-radius: 3px; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(to top right, transparent calc(50% - 0.6px), rgb(29 33 26 / 0.12) 50%, transparent calc(50% + 0.6px)) 0 100% / 50% 88% no-repeat, linear-gradient(to top left, transparent calc(50% - 0.6px), rgb(29 33 26 / 0.12) 50%, transparent calc(50% + 0.6px)) 100% 100% / 50% 88% no-repeat, #f5efe2; }
.env-flap { left: 0; right: 0; top: 0; height: 60%; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(#e9e0cc, #e1d7c0); transform-origin: 50% 0; transform: perspective(420px) rotateX(0deg); backface-visibility: hidden; }
.env-seal { left: 50%; top: 60%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; display: grid; place-items: center; background: var(--logo-ink); box-shadow: 0 3px 8px -2px rgb(0 0 0 / 0.35); }
.env-seal .logo-mono { --lg-ink: var(--logo-gold); width: 27px; }
/* the flap's open half: behind the letter, it folds from standing open to edge-on; the closed half then folds down */
.env-flap.env-flap-in { transform: perspective(420px) rotateX(90deg); backface-visibility: visible; }
.is-playing .env { animation: env-go 1.55s linear 0.05s both; }
.is-playing .env-letter { animation: env-letter 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both; }
.is-playing .env-flap-in { animation: env-flap-in 0.15s cubic-bezier(0.55, 0, 1, 0.45) 0.5s both; }
.is-playing .env-flap:not(.env-flap-in) { animation: env-flap 0.17s cubic-bezier(0, 0.55, 0.45, 1) 0.65s both; }
.is-playing .env-seal { animation: env-seal 0.32s cubic-bezier(0.2, 1.5, 0.4, 1) 0.82s both; }
.is-playing .sent-words { animation: sent-words 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.48s both; }
@keyframes env-go {
  0% { opacity: 0; transform: translateY(16px); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
  13% { opacity: 1; transform: none; }
  72% { opacity: 1; transform: none; animation-timing-function: ease-in-out; }
  78% { opacity: 1; transform: translateY(4px) rotate(1deg); animation-timing-function: cubic-bezier(0.5, 0, 0.75, 0.4); }
  94% { opacity: 0; }
  100% { opacity: 0; transform: translate(200px, -150px) rotate(-16deg) scale(0.45); }
}
@keyframes env-letter { from { transform: translateY(-74px); } }
@keyframes env-flap-in { from { transform: perspective(420px) rotateX(180deg); } }
@keyframes env-flap { from { transform: perspective(420px) rotateX(90deg); } }
@keyframes env-seal { from { opacity: 0; transform: scale(1.7); } }
@keyframes sent-words { from { opacity: 0; transform: translateY(12px); } }
.facts-card .facts { margin-top: 1.4rem; }
.facts-card dd a { overflow-wrap: anywhere; }

/* --- The two phone lines (Fredd, 29 Nov 2026): who answers, the languages, the number to call and WhatsApp. On the
       contact page's first screen only; the footer of every page carries the numbers in short (Fredd, 29 Nov 2026:
       no repeats). Hairlines, no boxes; the
       number is the one strong word, WhatsApp the quiet second way. Nothing moves. --------------------------------- */
.phones { margin-top: 2rem; max-width: 34rem; }
.phones ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); column-gap: 2rem; }
.phone { border-top: 1px solid var(--line); padding-top: 0.8rem; }
.phone-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; }
.phone-name { font: 400 1.4rem/1.15 var(--f-display); color: var(--tinta); }
.phone-langs { font: 600 0.7rem/1.4 var(--f-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro-ink); }
.phone-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.2rem; margin-top: -0.2rem; }
.phone-num, .phone-wa { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 0.3em; }
.phone-num { font-weight: 600; font-size: 1.05rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--rama); }
.phone-wa { font: 600 0.74rem/1 var(--f-text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tinta-2); text-decoration-color: var(--oro); }
.phone-wa:hover { color: var(--rama); }
.phone-note { margin-top: 0.9rem; font-size: 0.92rem; color: var(--tinta-2); }
.g-olivo .phone { border-color: rgb(244 240 230 / 0.16); }
.g-olivo .phone-name { color: var(--lino); }
.g-olivo .phone-langs, .g-olivo .phone-num { color: var(--oro-luz); }
.g-olivo .phone-wa { color: rgb(244 240 230 / 0.8); }

/* --- Legal ------------------------------------------------------------------------------------------------------- */
.legal-text { max-width: 44rem; }
.legal-text h2 { margin-top: 2.6rem; font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.85rem); line-height: 1.15; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin-top: 0.9rem; color: var(--tinta); max-width: 68ch; }
.legal-text a { color: var(--rama); overflow-wrap: anywhere; }
.legal-date { color: var(--tinta-2) !important; margin-top: 3rem !important; font-size: 0.92rem; }

/* --- Footer: the deep olive -------------------------------------------------------------------------------------- */
.foot { background: var(--olivo); color: var(--lino); padding: clamp(3.5rem, 7vw, 5.5rem) max(var(--gutter), calc((100% - 76rem) / 2)) 2rem; display: grid; gap: 2.4rem 2rem; }
.foot a { color: var(--lino); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-line { margin-top: 1.1rem; max-width: 22rem; color: rgb(244 240 230 / 0.8); font-size: 0.95rem; }
.foot-h { font: 600 0.72rem/1.3 var(--f-text); letter-spacing: 0.2em; text-transform: uppercase; color: var(--oro-luz); margin-bottom: 0.9rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 0.15rem; }
.foot ul a { display: inline-block; padding: 0.25rem 0; }
.foot-contact p:not(.foot-h) { color: rgb(244 240 230 / 0.85); font-size: 0.95rem; }
.foot-contact a { overflow-wrap: anywhere; }
.foot-phones a { font-variant-numeric: tabular-nums; }
.foot-ph-l { margin-left: 0.35em; font-size: 0.74rem; letter-spacing: 0.12em; color: var(--oro-luz); }
.foot-ph-l abbr { text-decoration: none; }
.foot-langs a { color: rgb(244 240 230 / 0.8); }
.foot-langs a:hover { color: var(--lino); }
.foot-langs a[aria-current] { color: var(--oro-luz); }
.foot-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; padding-top: 1.6rem; border-top: 1px solid rgb(244 240 230 / 0.18); font-size: 0.86rem; color: rgb(244 240 230 / 0.78); }
@media (min-width: 600px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-langs { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }

/* Every page's top: the words are there at once (Studio 0.40, house rule 24, "never make them wait for the words";
   Fredd, 9 Nov 2026). No word-by-word arrival on a first screen: the opening reveals them as it ends, and after a
   move between pages the short cross-fade is their arrival. The words stay wrapped (.tw) for the opening's measure. */
.tw { display: inline-block; }

/* ============================================================================================================== */
/* The lifting hero (Brilo Studio library/hero-recipe.md; templates/site/hero/hero.css of Studio 0.38, copied as it
   is from "1. The opening" down, with Rama Noble's tokens here and its own changes after it, each marked). The opening
   plays on a cold load or a refresh of every page; the home page's first screen is one full-screen picture under a
   see-through bar that lifts off the story section on scroll; every other page has the solid bar.                  */
/* ============================================================================================================== */
:root {
  --hl-ink: var(--olivo);                 /* the dark ink: words on the ground, the solid bar, the opening's veil */
  --hl-ground: var(--lino);               /* the near-white ground: the solid bar, the words over the picture */
  --hl-line: rgb(168 135 62 / 0.55);      /* gold: the hairline under the bar and at the hero's foot */
  --hl-shade: 22 28 14;                   /* the grove's own darkest green, for the shades under the words */
  --hl-veil: var(--hl-ink); --hl-mark: var(--hl-ground);
  --hl-ratio: 1.5; --hl-ratio-t: 0.4375;  /* 1536 x 1024; the phones' cut 875 x 2000 (src/hero-images.mjs) */
  --hl-ox: 0; --hl-oy: 0.3;      /* a screen narrower than the picture loses its right edge, so the branch keeps clear of the words */
  --hl-ox-t: 0.5; --hl-oy-t: 0.5;
  --hl-ease: cubic-bezier(0.7, 0, 0.2, 1); --hl-soft: cubic-bezier(0.3, 0.3, 0.3, 1);
  /* The template's doorway measures (unused here: Rama Noble's veil opens as two doors, and its mark is the stacked
     logo, sized below in "The new logo's opening"). */
  --lg-w: 228.6;
  --lg-a: calc(40 / var(--lg-w));
  --door-l: calc(7.38 / var(--lg-w)); --door-t: calc(26.48 / var(--lg-w)); --door-w: calc(6.44 / var(--lg-w)); --door-h: calc(7.44 / var(--lg-w));
  --door: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64.4 74.4' preserveAspectRatio='none'><ellipse cx='32.2' cy='37.2' rx='30' ry='39' transform='rotate(-28 32.2 37.2)'/></svg>");
}

/* 1. The opening. CSS from the first paint, so the hero's picture paints under it at once (LCP unchanged) and
   nothing waits for a script. 0 to 1.2 s: the mark builds on one uniform colour (no picture shows through it).
   1.2 s: its doorway opens and grows past the screen's edges (0.85 s) while the mark flies to the bar and takes the
   bar's ink. 2.05 s: the veil fades (0.28 s); the scene removes it at 2.5 s. A wheel, a touch, a key or a pointer
   skips it (0.25 s). The geometry (--fx, --fy, --fs, --wX ...) comes from the fit script (opening.mjs OPENING_FIT). */
.intro { display: none; }
.has-intro .intro { --lw: min(60vw, 26rem); --lh: calc(var(--lw) * var(--lg-a, 0.516)); --lx: calc(50vw - var(--lw) / 2); --ly: calc(44svh - var(--lh) / 2);
  --dx: calc(var(--lx) + var(--lw) * var(--door-l, 0.393)); --dy: calc(var(--ly) + var(--lw) * var(--door-t, 0.191));
  --dw: calc(var(--lw) * var(--door-w, 0.213)); --dh: calc(var(--lw) * var(--door-h, 0.162));
  display: block; position: fixed; inset: 0; z-index: 200; animation: iv-gone 0.28s linear 2.05s both; }
@media (max-width: 899px) { .has-intro .intro { --ly: calc(62svh - var(--lh) / 2); } }
.iv-veil { position: absolute; inset: 0; background: var(--hl-veil);
  -webkit-mask: linear-gradient(#000 0 0), var(--door) no-repeat; mask: linear-gradient(#000 0 0), var(--door) no-repeat;
  -webkit-mask-composite: xor; mask-composite: exclude;
  -webkit-mask-size: 100% 100%, 0 0; mask-size: 100% 100%, 0 0;
  -webkit-mask-position: 0 0, var(--dx) var(--dy); mask-position: 0 0, var(--dx) var(--dy);
  animation: iv-open 0.85s var(--hl-ease) 1.2s forwards; }
/* closed (0 x 0) while the mark builds; then the doorway, from its own size, grows to 1.6 x 1.7 of the hero's window
   and past its edges, so the picture opens to the full screen, never to an arch */
@keyframes iv-open {
  from { -webkit-mask-size: 100% 100%, var(--dw) var(--dh); mask-size: 100% 100%, var(--dw) var(--dh); -webkit-mask-position: 0 0, var(--dx) var(--dy); mask-position: 0 0, var(--dx) var(--dy); }
  to { -webkit-mask-size: 100% 100%, calc(var(--wW, 100vw) * 1.6) calc(var(--wH, 100svh) * 1.7); mask-size: 100% 100%, calc(var(--wW, 100vw) * 1.6) calc(var(--wH, 100svh) * 1.7);
    -webkit-mask-position: 0 0, calc(var(--wX, 0px) - var(--wW, 100vw) * 0.3) calc(var(--wY, 0px) - var(--wH, 100svh) * 0.5); mask-position: 0 0, calc(var(--wX, 0px) - var(--wW, 100vw) * 0.3) calc(var(--wY, 0px) - var(--wH, 100svh) * 0.5); } }
.iv-logo { position: absolute; left: var(--lx); top: var(--ly); width: var(--lw); color: var(--hl-mark); transform-origin: 0 0;
  animation: iv-fly 0.85s var(--hl-ease) 1.2s both; }
.iv-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
/* the mark lands in the bar's ink: near-white over the hero's picture, the dark ink on an inner page's solid bar */
.intro[data-land="ink"] .iv-logo { animation: iv-fly 0.85s var(--hl-ease) 1.2s both, iv-ink 0.4s ease 1.35s both; }
@keyframes iv-fly { to { transform: translate(var(--fx, 0px), var(--fy, -40svh)) scale(var(--fs, 0.3)); } }
@keyframes iv-ink { to { color: var(--hl-ink); } }
/* the mark builds itself: its stems rise, its arch spreads, its line crosses, its name rises letter by letter. The
   build maps the logo's own paths to these four classes (opening.mjs); a logo without such parts rises whole. */
.iv-stem { transform-box: fill-box; transform-origin: 50% 100%; animation: iv-rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both; }
.iv-stem + .iv-stem { animation-delay: 0.16s; }
.iv-band { animation: iv-spread 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both; }
.iv-line { animation: iv-cross 0.5s cubic-bezier(0.45, 0, 0.2, 1) 0.58s both; }
.iv-l { transform-box: fill-box; animation: iv-letter 0.45s cubic-bezier(0.16, 1, 0.3, 1) calc(0.72s + var(--i, 0) * 0.035s) both; }
.iv-whole { transform-box: fill-box; animation: iv-letter 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
@keyframes iv-rise { from { transform: scaleY(0); } }
@keyframes iv-spread { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes iv-cross { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes iv-letter { from { opacity: 0; transform: translateY(40%); } }
@keyframes iv-gone { to { opacity: 0; visibility: hidden; } }
.has-intro .intro.iv-skip { animation: iv-gone 0.25s linear both; }
/* an inner page's top waits for the doorway (--iv-wait); a skip brings it at once */
html.has-intro { --iv-wait: 1.6s; }
html.iv-skipped { --iv-wait: 0s; }

/* 2. The hero: one picture fills the whole first screen, under the bar. The set (plate, sky, rig) is the picture
   cropped as `cover` into the window by container units: --hl-ox and --hl-oy say where the crop falls. */
.hero-lift { position: relative; z-index: 2; display: block; height: 100vh; height: 100svh; min-height: 34rem; overflow: hidden;
  background: var(--hl-ground); box-shadow: 0 30px 60px -30px rgb(16 33 49 / 0.42); }
.hero-lift::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--hl-line); z-index: 4; pointer-events: none; }
.hl-media { position: absolute; inset: 0; overflow: hidden; }
.hl-cam { position: absolute; inset: 0; container-type: size; transform-origin: 60% 70%; }
.hl-set { --sw: max(100cqw, 100cqh * var(--hl-ratio)); position: absolute; width: var(--sw); height: calc(var(--sw) / var(--hl-ratio));
  left: calc((100cqw - var(--sw)) * var(--hl-ox)); top: calc((100cqh - var(--sw) / var(--hl-ratio)) * var(--hl-oy)); }
.hl-set picture, .hl-set img { display: block; width: 100%; height: 100%; }
.hl-plate, .hl-rig, .hl-whole, .hl-part { position: absolute; inset: 0; }
.hl-part { transform-origin: var(--pivot, 50% 50%); clip-path: var(--wedge); }
.hl-rig { --bend-sway: 2.1; }
@media (max-width: 899px) { .hl-rig { --bend-sway: 2.6; } }
/* the whole layer stays under the wedges until the WebGL rig draws (no hairline seam between wedges on a slow phone),
   then only below the fork, where nothing moves (the trunk) */
.hl-rig:has(> canvas[style*="visibility: visible"]) > .hl-whole { -webkit-mask-image: linear-gradient(to bottom, transparent var(--fork-a, 42.5%), #000 var(--fork-b, 45.5%)); mask-image: linear-gradient(to bottom, transparent var(--fork-a, 42.5%), #000 var(--fork-b, 45.5%)); }

/* 3. The life: clouds drift across the sky only (the sky's own mask, made from the plate), behind the rig,
   slowly (130 s to cross). Their picture is fetched once the scene runs (.on), and they rest while the hero is fully
   off the screen (.off, an IntersectionObserver in hero.js), never while any part of it shows. */
.hl-sky { position: absolute; inset: 0; pointer-events: none; visibility: hidden;
  -webkit-mask: var(--sky-mask) 0 0 / 100% 100% no-repeat; mask: var(--sky-mask) 0 0 / 100% 100% no-repeat; }
.hl-sky.on { visibility: visible; }
.hl-clouds { position: absolute; left: 0; top: var(--clouds-top, 9%); width: 200%; height: var(--clouds-h, 19%); opacity: 0.92; }
.hl-sky.on .hl-clouds { background: var(--clouds) 0 50% / 50% auto repeat-x; }
@media all { .hl-sky.on .hl-clouds { animation: hl-clouds 130s linear infinite, hl-fade-in 2s ease-out both; } }
.hl-sky.off .hl-clouds { animation-play-state: paused; }
@keyframes hl-clouds { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes hl-fade-in { from { opacity: 0; } }

/* 4. The words. Laptops and phones on their side: on the picture's calm part at the left, in the near-white ground,
   over a warm shade on the far left only (the picture's own brown at 50 % at the edge, gone a third of the way
   across), each line with a soft shadow of the same brown. Upright phones and tablets: the picture fills the screen
   too, and the words stand at its foot on a shade that rises from the bottom. */
.hl-copy { position: absolute; z-index: 3; left: max(var(--gutter, 1.25rem), calc((100vw - var(--wrap, 75rem)) / 2)); top: calc(var(--bar-h) + (100% - var(--bar-h)) * 0.48);
  transform: translateY(-50%); width: min(42rem, 44vw); }
.hl-copy, .hl-copy a:not(.btn) { color: var(--hl-ground); }
.hl-h { text-wrap: balance; text-shadow: 0 0.02em 0.3em rgb(var(--hl-shade) / 0.35); }
.hl-copy > :not(.hl-h) { text-wrap: balance; text-shadow: 0 1px 2px rgb(var(--hl-shade) / 0.5), 0 0 0.8em rgb(var(--hl-shade) / 0.35); }
.hl-media::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgb(var(--hl-shade) / 0.5) 0%, rgb(var(--hl-shade) / 0.34) 12%, rgb(var(--hl-shade) / 0.14) 24%, rgb(var(--hl-shade) / 0) 33%); }
@media (orientation: landscape) and (max-height: 540px) {
  .hero-lift { min-height: 0; }
  .hl-copy { width: min(25rem, 46vw); top: calc(var(--bar-h) + (100% - var(--bar-h)) * 0.5); }
}
@media (orientation: portrait) and (max-width: 1199px) {
  .hl-set { --sw: max(100cqw, 100cqh * var(--hl-ratio-t)); height: calc(var(--sw) / var(--hl-ratio-t));
    left: calc((100cqw - var(--sw)) * var(--hl-ox-t)); top: calc((100cqh - var(--sw) / var(--hl-ratio-t)) * var(--hl-oy-t)); }
  .hl-part { transform-origin: var(--pivot-t, var(--pivot, 50% 50%)); clip-path: var(--wedge-t, var(--wedge)); }
  .hl-sky { -webkit-mask-size: var(--sky-size-t, 100% 100%); mask-size: var(--sky-size-t, 100% 100%); -webkit-mask-position: var(--sky-pos-t, 0 0); mask-position: var(--sky-pos-t, 0 0); }
  .hl-media::before { background: linear-gradient(to top, rgb(var(--hl-shade) / 0.74) 0%, rgb(var(--hl-shade) / 0.58) 30%, rgb(var(--hl-shade) / 0.18) 52%, rgb(var(--hl-shade) / 0) 64%); }
  .hl-copy { inset: auto 0 0; top: auto; transform: none; width: auto; padding: 0 var(--gutter, 1.25rem) calc(max(1.6rem, env(safe-area-inset-bottom)) + 0.6rem); }
  .hero-lift { box-shadow: 0 24px 40px -12px rgb(16 33 49 / 0.35); }
}
/* the words never wait (house rule 24, Studio 0.40; library/five-patterns.md 4): sharp and still from the first
   paint. Under the opening the veil reveals them as it opens; after a move between pages the page change is their
   arrival. */
.hl-h .tw { display: inline-block; }

/* 5. The lift: the section under the hero is held still, against the scroll, for the hero's height, and fills the
   screen so nothing shows under it; then it scrolls on. The hero and that section share one box (.hl-pair,
   src/pages.mjs home()): the section is pulled up behind the hero by the hero's height and rides with
   position: sticky, and the box's ::after keeps the hero's height of room after it, so the hold ends exactly when the
   hero has gone. Sticky is moved by the browser's own scrolling, in the same frame as the page: nothing can shake.
   (Until 27 Nov 2026 a scroll timeline moved it, translateY(-100svh) to none; Safari applies a scroll timeline a frame
   behind its scrolling, so on Fredd's iPhone the held section shook while he scrolled slowly and stood still only once
   the scroll stopped. Brilo Studio phone.md 2.) With the motion switch off the page scrolls as before. Anything drawn
   from the hero's foot waits for the last 30 % of the lift (data-hero-foot). */
.hero-lift + [data-hero-under] { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hl-pair { position: relative; }
html:not(.motion-off) .hl-pair > [data-hero-under] { position: sticky; top: 0; margin-top: -100vh; margin-top: calc(-1 * max(100svh, 34rem)); }
html:not(.motion-off) .hl-pair::after { content: ""; display: block; height: 100vh; height: max(100svh, 34rem); }
@media (orientation: landscape) and (max-height: 540px) {
  html:not(.motion-off) .hl-pair > [data-hero-under] { margin-top: -100vh; margin-top: -100svh; }
  html:not(.motion-off) .hl-pair::after { height: 100vh; height: 100svh; }
}
@supports (animation-timeline: scroll()) {
  html:not(.motion-off) [data-hero-foot] { animation: hl-foot linear both; animation-timeline: scroll(root block); animation-range: 70svh 100svh; }
}
@keyframes hl-foot { from { opacity: 0; } }

/* 6. The bar: see-through over the hero (no band: the logo, links and button in the near-white ground on a soft
   warm shade that falls from the top), the solid ground bar once the visitor is 60 % past the hero (bar.js adds
   is-solid). The opened menu is always the solid sheet with the dark ink. */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; min-height: var(--bar-h); padding-top: env(safe-area-inset-top); }
html.bar-away .bar:not(:focus-within) { transform: translateY(-100%); }
.bar.bar-over:not(.is-solid) { background: transparent; border-bottom-color: transparent; color: var(--hl-ground); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar.bar-over:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 auto; height: calc(100% + 4.5rem); z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(var(--hl-shade) / 0.3), rgb(var(--hl-shade) / 0.14) 55%, rgb(var(--hl-shade) / 0)); }
.bar.bar-over:not(.is-solid) :is(a, button, .logo) { color: var(--hl-ground); text-shadow: 0 1px 2px rgb(var(--hl-shade) / 0.45); }
.bar.bar-over:not(.is-solid) .bar-cta { border-color: color-mix(in srgb, var(--hl-ground) 75%, transparent); background: rgb(var(--hl-shade) / 0.18); }
.bar.bar-over:not(.is-solid) :is(svg, .bar-mark, .bar-word) { filter: drop-shadow(0 1px 2px rgb(var(--hl-shade) / 0.4)); }
.bar.bar-over, .bar.bar-over.is-solid { transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.5s ease; }
.bar.bar-over.is-solid { background: var(--hl-ground); color: var(--hl-ink); border-bottom: 1px solid var(--hl-line); }
/* the opened menu: these selectors outweigh the see-through bar's (2026-11-05, on the recipe's first site: the logo and MENU stayed
   near-white on the light sheet) */
html.menu-open body .bar.bar-over.bar-over { background: var(--hl-ground); color: var(--hl-ink); }
html.menu-open body .bar.bar-over.bar-over::before { display: none; }
html.menu-open body .bar.bar-over.bar-over :is(a, button, .logo, svg, .bar-mark, .bar-word) { color: var(--hl-ink); text-shadow: none; filter: none; }

/* --- Rama Noble's own parts of the recipe ----------------------------------------------------------------------- */
/* The opening's sprig builds as the brand grows: the stem rises, the five leaves unfold from it one by one, the olive
   is drawn, the name rises; then the veil opens (below: two doors).
   Faster than the template (Fredd, 8 Nov 2026: "the website looks a little bit slow"; measured on the live link: the
   pages painted in about 1 s on a slow phone, but the title was readable only after 3 to 4 s): the mark builds in
   0.8 s, the doorway opens at 0.8 s for 0.7 s, the veil is gone at 1.7 s, the words begin at 1.05 s and come into
   focus in 0.8 s. Readable at about 2.1 s on a cold load, 1.1 s after a move between pages. */
.has-intro .intro { animation: iv-gone 0.25s linear 1.45s both; }
.intro .iv-veil { animation-duration: 0.7s; animation-delay: 0.8s; }
.intro .iv-logo { animation: iv-fly 0.7s var(--hl-ease) 0.8s both; }
.intro[data-land="ink"] .iv-logo { animation: iv-fly 0.7s var(--hl-ease) 0.8s both, iv-ink 0.35s ease 0.9s both; }
.intro .iv-stem { animation-duration: 0.35s; animation-delay: 0.05s; }
.intro .iv-l { transform-origin: 0 50%; animation: iv-leaf 0.4s cubic-bezier(0.16, 1, 0.3, 1) calc(0.15s + var(--i, 0) * 0.06s) both; }
.intro .iv-band { animation-duration: 0.35s; animation-delay: 0.4s; }
.intro .iv-whole { animation-duration: 0.45s; animation-delay: 0.3s; }
html.has-intro { --iv-wait: 1s; }
html.iv-skipped { --iv-wait: 0s; }
/* Smooth on every phone (Fredd, 9 Nov 2026: a "tick, tick, tick" on an iPhone 14 in Low Power Mode). Every motion of
   the opening is a move, a scale or a fade, which the graphics chip does alone; nothing is redrawn while it plays:
   - the doorway: the template grows the veil's mask (mask-size), which redraws a full-screen mask on every frame (in
     Chrome, more than half of all drawing in the first 3.5 s). A mask scaled up instead showed a blocky, blurred
     hole. Here the veil opens as two doors: its two halves slide apart from the middle (0.7 s), crisp at any size;
   - the bar's logo shows only when the flying mark lands on it (before, two logos stood on the screen at once). */
.intro .iv-veil { background: none; -webkit-mask: none; mask: none; animation: none; }
.intro .iv-veil::before, .intro .iv-veil::after { content: ""; position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--hl-veil);
  animation: iv-door-l 0.7s var(--hl-ease) 0.8s both; }
.intro .iv-veil::before { left: 0; }
.intro .iv-veil::after { right: 0; animation-name: iv-door-r; }
@keyframes iv-door-l { to { transform: translateX(-101%); } }
@keyframes iv-door-r { to { transform: translateX(101%); } }
html.has-intro:not(.iv-skipped) .bar [data-bar-logo] { animation: iv-bar-logo 0s linear 1.5s both; }
@keyframes iv-bar-logo { from { opacity: 0; } to { opacity: 1; } }
@keyframes iv-leaf { from { opacity: 0; transform: scale(0.15); } }
/* The new logo's opening (Fredd, 10 Nov 2026: "the logo... everywhere, including in the animation and the beginning
   when you load the website"). The mark is the stacked logo, gold on the deep olive as the designer's files on green
   (src/lib.mjs logo("stack", "iv-mark")). It builds in 0.8 s, each part a layer of its own that only turns, moves and
   fades, so nothing is redrawn while it plays: the wreath's two branches swing up from their knot into place, RN
   comes into focus inside them, the name rises under it, then its line. At 0.8 s the doors open while the monogram and
   the name fly, each on its own, to the same parts of the bar's logo (the fit script measures each [data-lg]); the
   line fades; on the way the letters take the bar's ink (their second paint fades in over the gold), the wreath stays
   gold. Every part is drawn at the size it starts at and only grows smaller, so it stays sharp all the way. */
.has-intro .intro { --lw: min(56vw, 15rem); --lh: calc(var(--lw) * 1.292); --lx: calc(50vw - var(--lw) / 2); --ly: calc(47svh - var(--lh) / 2); }
.intro .iv-logo, .intro[data-land] .iv-logo { animation: none; color: inherit; }
.iv-mark { --lg-sw: 100%; --lg-ink: var(--logo-gold); }
.iv-mark .lg-bl, .iv-mark .lg-br { transform-origin: 50% 98%; animation: iv-branch-l 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.04s both; }
.iv-mark .lg-br { animation-name: iv-branch-r; }
.iv-mark .lg-rn { animation: iv-rn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both; }
.iv-mark .lg-word { animation: iv-name 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both; }
.iv-mark .lg-tag { animation: iv-name 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both; }
.iv-mark [data-lg] { transform-origin: 0 0; }
.iv-mark .lg-mono, .iv-mark .lg-name { animation: iv-fly 0.7s var(--hl-ease) 0.8s both; }
.iv-mark .lg-line { animation: iv-fade 0.22s linear 0.8s forwards; }
.iv-mark .lg-rn::after, .iv-mark .lg-word::after { content: ""; position: absolute; inset: 0; background: var(--iv-land); opacity: 0; animation: iv-ink-in 0.4s ease 0.95s forwards; }
.intro[data-land="light"] { --iv-land: var(--lino); }
.intro[data-land="ink"] { --iv-land: var(--logo-ink); }
@keyframes iv-branch-l { from { opacity: 0; transform: rotate(-40deg) scale(0.9); } }
@keyframes iv-branch-r { from { opacity: 0; transform: rotate(40deg) scale(0.9); } }
@keyframes iv-rn { from { opacity: 0; transform: scale(0.84); } }
@keyframes iv-name { from { opacity: 0; transform: translateY(45%); } }
@keyframes iv-fade { to { opacity: 0; } }
@keyframes iv-ink-in { to { opacity: 1; } }

/* The hero: the grove's dark under the picture, no section padding, the words from the sections' own margin. */
.hero-lift { --wrap: 76rem; padding: 0 !important; background: var(--olivo); box-shadow: 0 30px 60px -30px rgb(22 28 14 / 0.5); }
.hl-copy { container-type: inline-size; }
/* The words keep to the grove's calm left part: the branch's first leaves reach 40 % across a laptop's screen. */
.hl-copy { width: min(30rem, 31vw); }
.hl-copy .h1 { font-size: min(var(--fs-h1), 14.5cqi); }
/* Phones on their side: the laptop's layout with smaller words, all of it inside the screen's height. */
@media (orientation: landscape) and (max-height: 540px) {
  .hl-copy { width: min(19rem, 36vw); }
  .hl-copy .kicker { margin-bottom: 0.6rem; }
  .hl-copy .h1 { font-size: min(2.1rem, 11cqi); }
  .hl-copy .lead { font-size: 0.85rem; line-height: 1.45; margin-top: 0.6rem; }
  .hl-copy .actions { margin-top: 0.9rem; gap: 0.6rem; }
  .hl-copy .btn { min-height: 40px; padding: 0.45rem 0.95rem; font-size: 0.78rem; }
}
@media (orientation: portrait) and (max-width: 1199px) { .hl-copy { width: auto; } }
/* The bar's shade over the picture is deeper than the template's, as the branch's light leaves reach the bar: every
   name, link and button in it reads at 4.5:1 or more on the picture, before its text shadow (npm run contrast). */
.bar.bar-over:not(.is-solid)::before { background: linear-gradient(to bottom, rgb(var(--hl-shade) / 0.8), rgb(var(--hl-shade) / 0.5) 55%, rgb(var(--hl-shade) / 0)); }
.hl-copy .kicker { margin-bottom: 1rem; }
.hl-copy .lead { color: rgb(244 240 230 / 0.92); max-width: 34rem; }
.hl-copy .h1 { color: var(--hl-ground); }
/* Buttons stand still (recipe 10): the actions are there from the first frame, never caught half faded (Lighthouse
   read the main button at 1.6:1 mid-fade). */
.hl-copy > .actions { animation: none !important; }
/* The picture settles from 6 % closer to its own framing as the doorway opens (1.8 s, expo out): CSS, no script. */
@media all {
  /* only as the doorway opens; after a move between pages the picture is simply there (the page change's cross-fade
     is its arrival, and a zoom inside it doubled the work on a phone) */
  .has-intro .hl-cam { animation: hl-settle 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }
}
@keyframes hl-settle { from { transform: scale(1.06); } }
/* The life: the branch sways in a breeze about the point where it enters the picture: one layer and one uneven
   13 s swing (a larger and a smaller sway in turn), so the breeze never looks like a pendulum. One rigid branch opens
   no seam; one layer, not two nested ones, keeps a phone's graphics memory low (Fredd, 9 Nov 2026: smooth on every
   phone). CSS on the compositor; it runs while any part of the hero shows and rests once the hero is fully off the
   screen (ui.js adds .off). */
.hl-sway { position: absolute; inset: 0; transform-origin: var(--pivot); }
@media (orientation: portrait) and (max-width: 1199px) { .hl-sway { transform-origin: var(--pivot-t); } }
@media all {
  .hl-sway { animation: hl-sway 13s ease-in-out -2s infinite; }
  .hero-lift.off .hl-sway { animation-play-state: paused; }
}
@keyframes hl-sway {
  0%, 100% { transform: rotate(-0.4deg); }
  22% { transform: rotate(0.45deg); }
  40% { transform: rotate(-0.12deg); }
  60% { transform: rotate(0.52deg); }
  81% { transform: rotate(-0.28deg); }
}
/* Upright phones and tablets: the words at the picture's foot, under the hanging branch, on its calm grass. */
/* Upright phones and tablets: the branch hangs down to just above the words, on every screen shape (Fredd, 9 Nov 2026,
   on a 512 x 863 screen: "the branch should go down more, it is way too high up"). The tall cut is as wide as the
   screen; it is placed so that the branch's lowest olive (--hl-fall-t of the cut's height, src/hero-images.mjs)
   stands --hl-words above the screen's foot, where the words begin. The cut loses its top for that, never its foot
   (it always reaches the screen's foot, as the recipe's cover crop does), and never moves below the screen's top. */
@media (orientation: portrait) and (max-width: 1199px) {
  :root { --hl-words: 24.5rem; }
  .hl-set { --sw: max(100cqw, (100cqh + 8rem) * var(--hl-ratio-t)); --sh: calc(var(--sw) / var(--hl-ratio-t));
    width: var(--sw); height: var(--sh); left: calc((100cqw - var(--sw)) * var(--hl-ox-t));
    top: max(calc(100cqh - var(--sh)), min(0px, calc(100cqh - var(--hl-words) - var(--sh) * var(--hl-fall-t, 0.48)))); }
}
@media (orientation: portrait) and (max-width: 599px) {
  .hl-copy .lead { font-size: 1rem; line-height: 1.5; margin-top: 0.9rem; }
  .hl-copy .actions { margin-top: 1.4rem; gap: 0.7rem; }
  .hl-copy .btn { padding-inline: 1.05rem; }
}
/* Upright phones and tablets: the shade under the words reaches a little higher and deeper than the template's, so
   the gold label over the lowest leaves still reads (measured 2.0:1 on a 360 x 740 phone with the template's shade). */
@media (orientation: portrait) and (max-width: 1199px) {
  .hl-media::before { background: linear-gradient(to top, rgb(var(--hl-shade) / 0.8) 0%, rgb(var(--hl-shade) / 0.68) 32%, rgb(var(--hl-shade) / 0.48) 50%, rgb(var(--hl-shade) / 0.2) 62%, rgb(var(--hl-shade) / 0) 72%); }
}
/* The section under the hero keeps its own layout (the template's flex column would undo the split's grid). */
.hero-lift + .split[data-hero-under] { display: grid; align-content: center; }
/* Over the hero the logo's wreath stays gold and its letters take the near-white ground. */
.bar.bar-over:not(.is-solid) .logo { --lg-ink: var(--lino); }
.bar.bar-over:not(.is-solid) .lp-btn { color: var(--lino); }
/* the open list is always the linen card with dark words, over the picture too */
.bar.bar-over:not(.is-solid) .lp-list a { color: var(--tinta); text-shadow: none; }
.bar.bar-over:not(.is-solid) .lp-list a[aria-current] { color: var(--rama); }
.bar.bar-over:not(.is-solid) .lp-btn { text-shadow: 0 1px 2px rgb(var(--hl-shade) / 0.45); }
.bar.bar-over.is-solid { border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.bar.bar-over:not(.is-solid) { box-shadow: none; }

/* Page changes: a short cross-fade, opacity only (the graphics chip alone; a rise of the whole page made phones redraw it). */
@media all {
  ::view-transition-old(root) { animation: vt-out 0.2s ease both; }
  ::view-transition-new(root) { animation: vt-in 0.3s ease both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* --- The motion switch (Studio house rule 23, WCAG 2.2.2): in the footer and the menu of every page; off stops every
       loop, film, page change and opening, and the page still reads whole. ------------------------------------ */
.motion-switch { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.2rem; background: none; border: 0; color: inherit; font: 600 0.8rem/1 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.js .motion-switch { display: inline-flex; }
.ms-track { position: relative; width: 2.3rem; height: 1.3rem; border-radius: 1rem; box-shadow: inset 0 0 0 1.5px currentColor; opacity: 0.85; }
.ms-dot { position: absolute; top: 0.25rem; left: 0.25rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: currentColor; transition: transform 0.2s ease; }
.motion-switch[aria-pressed="true"] .ms-dot { transform: translateX(1rem); }
.motion-switch[aria-pressed="true"] .ms-track { background: rgb(214 188 120 / 0.35); }
.foot .motion-switch { color: rgb(244 240 230 / 0.85); }
.menu .motion-switch { color: rgb(244 240 230 / 0.85); justify-self: start; }
.motion-switch:hover { color: var(--lino); }
/* off: every animation and transition at its resting state, no page change; nothing ends hidden (client-eye 27) */
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation: none !important; transition: none !important; }
html.motion-off::view-transition-old(*), html.motion-off::view-transition-new(*), html.motion-off::view-transition-group(*) { animation: none !important; }

/* --- The olive finder (Studio house rules 25 and 22): a taste before the ask, as a card that hangs into the next
       section. Without script it is the plain list of the seven. ------------------------------------------------ */
:root { --hang: clamp(3rem, 7vw, 5.5rem); }
.finder { padding-bottom: 0 !important; }
.finder .sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.finder-card { position: relative; z-index: 2; display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: calc(-1 * var(--hang)); padding: clamp(1.4rem, 3.4vw, 2.6rem); border-radius: 4px; background: #fbf9f3; color: var(--tinta);
  box-shadow: 0 1px 0 rgb(29 33 26 / 0.06), 0 30px 60px -36px rgb(29 33 26 / 0.5); }
.finder + section { padding-top: calc(var(--sec-pad) + var(--hang)) !important; }
@media (min-width: 900px) { .finder-card:has(.finder-form:not([hidden])) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.finder-form { gap: 1.4rem; align-content: start; }
.finder-form:not([hidden]) { display: grid; }
.finder-h { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--f-display); }
.fq { border: 0; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.fq legend { padding: 0; margin-bottom: 0.7rem; font-weight: 600; font-size: 0.98rem; }
.fq-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fq-opt { position: relative; }
.fq-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fq-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1rem; border-radius: 2rem; box-shadow: inset 0 0 0 1px rgb(29 33 26 / 0.35); font-size: 0.95rem; }
.fq-opt input:checked + span { background: var(--rama); color: var(--lino); box-shadow: none; }
.fq-opt input:focus-visible + span { outline: 2px solid var(--rama); outline-offset: 3px; }
.finder-result { display: grid; gap: 1rem; align-content: start; }
.finder-count { font-weight: 600; color: var(--tinta-2); }
.finder-list { list-style: none; padding: 0; display: grid; gap: 0.2rem; }
.fi[hidden] { display: none; }
.fi-link { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.9rem; padding: 0.5rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.fi:last-child .fi-link { border-bottom: 0; }
.fi .mini-disc { width: 3.4rem; box-shadow: 0 0 0 1px var(--oro), 0 0 0 3px #fbf9f3, 0 0 0 4px rgb(168 135 62 / 0.45); }
.fi-text { display: grid; gap: 0.15rem; min-width: 0; }
.fi-name { font: 400 1.2rem/1.2 var(--f-display); }
.fi-facts { font-size: 0.88rem; color: var(--tinta-2); }
.fi-link:hover .fi-name { text-decoration: underline; text-underline-offset: 0.2em; }
.finder-result .actions { margin-top: 0.6rem; }
.finder-result .more { margin-top: 0; }
@media all { .fi:not([hidden]) { animation: fi-in 0.35s ease both; } }
@keyframes fi-in { from { opacity: 0; } }
.bar .btn { box-shadow: none; }
/* the hero's second action is quiet (Studio house rule 20: one filled action on the first screen) */
.hl-copy .hl-more { margin-top: 0; color: var(--hl-ground); text-shadow: 0 1px 2px rgb(var(--hl-shade) / 0.5); }
.hl-copy .actions { gap: 0.9rem 1.6rem; }

/* --- The hero film (23 Nov 2026, the lake on 24 Nov; src/pages.mjs hero(), ui.js, clip-frames.js) ---------------
   Aperitivo by the lake (Fredd's choice, 24 Nov 2026): a hotel terrace at golden hour, two glasses of vermouth whose
   ice turns slowly, olives, a napkin and an olive sprig that stir in the evening air, the lake rippling, and the El
   Pastor and El Pecado de Lola tins on a serving trolley behind, out of focus. A 17 s loop. The wide cut (16:9) is for
   laptops, desktops and anything on its side; the tall cut (1:2) for upright phones and tablets: the same film, its
   right part at the foot, with a calm evening sky above it for the words. Both are cropped as `cover`. The poster is
   the film's first frame; the film (or, where the browser refuses to play a video, the canvas that draws it) fades in
   over it. The words, the bar and the opening's mark take the dark ink on the light sky. --hl-ox: a screen wider than
   16:9 loses the film's top and foot; a narrower one on its side keeps the film's left (the lake under the words) and
   loses its right, never the tins on the trolley. */
.hero-film { --hl-ratio: 1.7778; --hl-ratio-t: 0.5; --hl-ox: 0.2; --hl-oy: 0.55; --hl-ox-t: 0.5; --hl-oy-t: 1;
  --hl-light: 244 240 230; background: #e6cec5; box-shadow: 0 30px 60px -30px rgb(60 46 20 / 0.35); }
@media (orientation: landscape) and (max-aspect-ratio: 16/10) { .hero-film { --hl-ox: 0; } }
@media (orientation: landscape) and (max-aspect-ratio: 3/2) { .hero-film { --hl-ox: 0.62; } .hero-film .hl-copy { width: min(30rem, 29vw); } }
/* the words keep to the lake: on wide screens they start near the screen's left edge (as the bar's logo does), not at
   the page's column, so the glasses never stand under them (2560 x 1080: the column would put them on the glass) */
.hero-film .hl-copy { left: max(var(--gutter, 1.25rem), min(calc((100vw - var(--wrap, 75rem)) / 2), 7vw)); }
.hero-film .hl-film, .hero-film .hl-set canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.hero-film .hl-film.on, .hero-film .hl-set canvas.on { opacity: 1; }
.hero-film .hl-film::-webkit-media-controls, .hero-film .hl-film::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-film .hl-media::before { background: linear-gradient(90deg, rgb(var(--hl-light) / 0.5) 0%, rgb(var(--hl-light) / 0.3) 24%, rgb(var(--hl-light) / 0) 44%); }
.hero-film .hl-copy, .hero-film .hl-copy a:not(.btn), .hero-film .hl-copy .hl-more { color: var(--tinta); text-shadow: none; }
.hero-film .hl-copy .h1 { color: var(--tinta); }
.hero-film .hl-copy .lead { color: var(--tinta-2); }
.hero-film .hl-copy .kicker { color: var(--oro-ink); }
.hero-film .hl-h, .hero-film .hl-copy > :not(.hl-h) { text-shadow: 0 0 1.4em rgb(var(--hl-light) / 0.75); }
.hero-film .hl-copy .btn:not(.btn-ghost) { box-shadow: 0 14px 30px -14px rgb(43 33 12 / 0.5), 0 2px 6px -2px rgb(43 33 12 / 0.25); }
/* the bar over the film: the dark ink on a soft light from the top (the logo's wreath stays gold) */
.bar.bar-over:not(.is-solid), .bar.bar-over:not(.is-solid) :is(a, button, .logo, .lp-btn) { color: var(--tinta); text-shadow: none; }
.bar.bar-over:not(.is-solid)::before { background: linear-gradient(to bottom, rgb(244 240 230 / 0.6), rgb(244 240 230 / 0.25) 55%, rgb(244 240 230 / 0)); }
.bar.bar-over:not(.is-solid) :is(svg, .bar-mark, .bar-word) { filter: none; }
.bar.bar-over:not(.is-solid) .logo { --lg-ink: var(--logo-ink); }
.bar.bar-over:not(.is-solid) .bar-cta { border-color: rgb(29 33 26 / 0.45); background: rgb(244 240 230 / 0.35); }
/* Upright phones and tablets: the tall cut covers the screen from its foot (a phone shows all of it, a tablet loses
   some of the sky at the top), and the words stand at the top, under the bar, on the sky. */
@media (orientation: portrait) and (max-width: 1199px) {
  .hero-film .hl-set { --sw: max(100cqw, 100cqh * var(--hl-ratio-t)); --sh: calc(var(--sw) / var(--hl-ratio-t));
    width: var(--sw); height: var(--sh); left: calc((100cqw - var(--sw)) * var(--hl-ox-t)); top: calc((100cqh - var(--sh)) * var(--hl-oy-t)); }
  .hero-film .hl-media::before { background: linear-gradient(to bottom, rgb(var(--hl-light) / 0.55) 0%, rgb(var(--hl-light) / 0.3) 38%, rgb(var(--hl-light) / 0) 56%); }
  .hero-film .hl-copy { inset: auto 0 auto 0; top: calc(var(--bar-h) + env(safe-area-inset-top) + clamp(0.5rem, 3svh, 2.5rem)); bottom: auto; transform: none;
    padding: 0 var(--gutter, 1.25rem); max-width: 40rem; }
}
/* short upright phones (iPhone SE, 375 x 667): the words reach down to the glasses, so the light under them reaches
   further down too */
@media (orientation: portrait) and (max-width: 599px) and (min-aspect-ratio: 9/17) {
  .hero-film .hl-media::before { background: linear-gradient(to bottom, rgb(var(--hl-light) / 0.62) 0%, rgb(var(--hl-light) / 0.45) 45%, rgb(var(--hl-light) / 0.15) 66%, rgb(var(--hl-light) / 0) 76%); }
}
/* Readability over the film (Fredd, 24 Nov 2026: the slogan is hard to read on the video, the Kontakt button too):
   - the slogan takes the font's sturdier small-size drawing (optical size 18 instead of the large size's hairlines),
     so its thin strokes hold on the moving sky and lake, and a slightly stronger light behind it;
   - the bar's Kontakt button over the film is the same filled green button as on the solid bar. */
.hero-film .hl-copy .h1 { font-variation-settings: "opsz" 18; font-optical-sizing: none; letter-spacing: -0.005em; }
.hero-film .hl-h { text-shadow: 0 0 0.9em rgb(var(--hl-light) / 0.85), 0 0 2.2em rgb(var(--hl-light) / 0.6); }
.bar.bar-over:not(.is-solid) .bar-cta { background: var(--rama); color: var(--lino); border-color: var(--rama); text-shadow: none;
  box-shadow: 0 6px 16px -8px rgb(43 33 12 / 0.55); }
.bar.bar-over:not(.is-solid) .bar-cta:hover { background: #374a24; border-color: #374a24; color: var(--lino); }
/* Upright phones (Fredd, 25 Nov 2026: "more image, less text"): the same words, smaller, so the words with both
   actions take about a third of the screen and the film shows below them. */
@media (orientation: portrait) and (max-width: 599px) {
  .hero-film .hl-copy { top: calc(var(--bar-h) + env(safe-area-inset-top) + 0.4rem); }
  .hero-film .hl-copy .kicker { font-size: 0.66rem; margin-bottom: 0.45rem; }
  .hero-film .hl-copy .h1 { font-size: min(2.05rem, 10.4vw); line-height: 1.02; }
  .hero-film .hl-copy .lead { font-size: 0.84rem; line-height: 1.42; margin-top: 0.55rem; max-width: 24rem; }
  .hero-film .hl-copy .actions { margin-top: 0.85rem; gap: 0.5rem 1.1rem; flex-wrap: nowrap; align-items: center; }
  .hero-film .hl-copy .btn { min-height: 40px; padding: 0.5rem 0.9rem; font-size: 0.74rem; }
  .hero-film .hl-copy .hl-more { font-size: 0.86rem; white-space: nowrap; }
  .hero-film .hl-media::before { background: linear-gradient(to bottom, rgb(var(--hl-light) / 0.55) 0%, rgb(var(--hl-light) / 0.32) 30%, rgb(var(--hl-light) / 0) 44%); }
}
@media (orientation: portrait) and (max-width: 599px) and (min-aspect-ratio: 9/17) {
  .hero-film .hl-copy .h1 { font-size: min(1.85rem, 9.6vw); }
  .hero-film .hl-copy .lead { font-size: 0.8rem; line-height: 1.38; }
  .hero-film .hl-copy .actions { margin-top: 0.7rem; }
}
/* Option B (Fredd, 25 Nov 2026: "no light, bolder text"): no light behind the words on any screen, so the film shows
   whole; the words carry themselves: the slogan a touch heavier, the line in a medium weight and the full ink, the
   label and the link heavier. Phones a little larger again than the first "smaller" step. */
.hero-film .hl-media::before { background: none; }
.hero-film .hl-copy .h1 { -webkit-text-stroke: 0.6px currentColor; }
.hero-film .hl-copy .lead { font-weight: 500; color: var(--tinta); }
.hero-film .hl-copy .kicker { font-weight: 700; }
.hero-film .hl-copy .hl-more { font-weight: 600; }
.hero-film .hl-h, .hero-film .hl-copy > :not(.hl-h) { text-shadow: 0 0 0.8em rgb(var(--hl-light) / 0.45); }
@media (orientation: portrait) and (max-width: 599px) {
  .hero-film .hl-copy .kicker { font-size: 0.7rem; margin-bottom: 0.5rem; }
  .hero-film .hl-copy .h1 { font-size: min(2.3rem, 11.4vw); -webkit-text-stroke: 0.45px currentColor; }
  .hero-film .hl-copy .lead { font-size: 0.92rem; line-height: 1.45; margin-top: 0.6rem; }
  .hero-film .hl-copy .actions { margin-top: 0.95rem; }
  .hero-film .hl-copy .btn { min-height: 42px; padding: 0.55rem 1rem; font-size: 0.78rem; }
  .hero-film .hl-copy .hl-more { font-size: 0.92rem; }
}
@media (orientation: portrait) and (max-width: 599px) and (min-aspect-ratio: 9/17) {
  .hero-film .hl-copy .h1 { font-size: min(2.05rem, 10.4vw); }
  .hero-film .hl-copy .lead { font-size: 0.86rem; line-height: 1.4; }
}
/* "Ihre Olive finden" over the film (Fredd, 25 Nov 2026: hard to read over the railing): a quiet second button, the
   same height as the first, on a light frosted linen, so it reads over any part of the film; the filled green
   button stays the one strong action. */
.hero-film .hl-copy .hl-more { min-height: 48px; padding: 0 1.15rem; border-radius: 2px; text-decoration: none; text-shadow: none;
  color: var(--tinta); background: rgb(244 240 230 / 0.82); box-shadow: inset 0 0 0 1px rgb(29 33 26 / 0.18), 0 8px 20px -12px rgb(43 33 12 / 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.2s; }
.hero-film .hl-copy .hl-more:hover { background: rgb(244 240 230 / 0.95); }
@media (orientation: portrait) and (max-width: 599px) { .hero-film .hl-copy .hl-more { min-height: 42px; padding: 0 0.9rem; } }
@media (orientation: landscape) and (max-height: 540px) { .hero-film .hl-copy .hl-more { min-height: 40px; padding: 0 0.85rem; } }
/* Wide, low screens (Studio shapes.md 1, "a set framed by its safe box"; Fredd, 25 Nov 2026: an ultra-wide screen cut
   the film's foot and lost the napkin in the breeze). Up to 2:1 the film covers, its foot kept (it loses sky, not
   table). Wider than 2:1 it is fitted to the hero's height at the right, whole, and its left edge fades into a soft,
   blurred continuation of its own lake, where the words stand. */
.hero-film { --hl-oy: 0.8; }
@media (orientation: landscape) and (min-aspect-ratio: 2/1) {
  .hero-film .hl-cam { z-index: 1; }
  .hero-film .hl-set { --sw: calc(100cqh * var(--hl-ratio)); width: var(--sw); height: 100cqh; top: 0; left: calc(100cqw - var(--sw));
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%); mask-image: linear-gradient(to right, transparent 0, #000 24%); }
  .hero-film .hl-media::after { content: ""; position: absolute; inset: -60px; z-index: 0; pointer-events: none;
    background: url("/films/hero-wide-poster-1280.webp") 0 50% / cover no-repeat; filter: blur(38px) saturate(1.04); }
}
/* Upright phones (Fredd, 26 Nov 2026, option C of four): the words in a warm olive-wood brown instead of the near-black
   ink, so they sit in the warm evening picture (the sunset, the hotel stone); the label a warm deep gold. Measured over
   the picture: at least 4.9:1 on every phone shape (small text needs 4.5:1). The buttons stay as they are. */
@media (orientation: portrait) and (max-width: 599px) {
  .hero-film .hl-copy .h1, .hero-film .hl-copy .lead, .hero-film .hl-copy .hl-more { color: #3a2617; }
  .hero-film .hl-copy .kicker { color: #7b5418; }
}
/* Phone browser bars (30 Nov 2026, D-0145; replaces the 100lvh block of 29 Nov): iOS 26 Safari clips any pinned
   (sticky or fixed) layer at its bottom bar and fills under it with one flat colour; the section held under the hero
   was pinned, so a cream band cut the page while the hero lifted. One rule for every browser, no browser checks:
   nothing pinned reaches under a browser bar; normal page content may. The browser's own units do the measuring
   (100svh = the screen with every bar out, 100lvh = with the bars gone). Where scroll-driven animations exist (Chrome,
   Edge, Android, Safari 26) the held section is moved by a scroll-linked transform; elsewhere the sticky hold of
   part 5 stays. The hero is the visible screen (its words stand in its upper part on upright screens); a veil in
   the held section's own colour covers its words below the hero at the start and clears in the first 6rem of
   scroll; the hero's shadow and foot line come in over the first 4rem. Tested on Fredd's iPhone in Safari and Chrome
   (hesstora version E, 30 Nov). Later releases must keep this block. */
@supports (animation-timeline: scroll()) {
  html:not(.motion-off) .hl-pair { --hh: max(100svh, 34rem); }
  html:not(.motion-off) .hero-lift { height: var(--hh); animation: rn-bar-foot linear both; animation-timeline: scroll(root block); animation-range: 0px 4rem; }
  html:not(.motion-off) .hero-lift::after { animation: rn-bar-in linear both; animation-timeline: scroll(root block); animation-range: 0px 4rem; }
  html:not(.motion-off) .hl-pair > [data-hero-under] { position: relative; top: auto; margin-top: 0; min-height: 100lvh;
    animation: rn-bar-hold linear both; animation-timeline: scroll(root block); animation-range: 0px var(--hh); }
  html:not(.motion-off) .hl-pair > [data-hero-under]::after { content: ""; position: absolute; z-index: 5; left: 0; right: 0; top: var(--hh);
    height: calc(100lvh - 100svh + 8rem); pointer-events: none; background: inherit;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3rem), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 3rem), transparent);
    animation: rn-bar-out linear both; animation-timeline: scroll(root block); animation-range: 0px 6rem; }
  html:not(.motion-off) .hl-pair::after { content: none; display: none; }
  @media (orientation: landscape) and (max-height: 540px) {
    html:not(.motion-off) .hl-pair { --hh: 100svh; }
  }
}
@keyframes rn-bar-hold { from { transform: translateY(calc(-1 * var(--hh))); } to { transform: translateY(0); } }
@keyframes rn-bar-foot { from { box-shadow: none; } }
@keyframes rn-bar-in { from { opacity: 0; } }
@keyframes rn-bar-out { to { opacity: 0; } }
