/* MAGICA · OPG Terra Magica · magica.hr
   A landing page in paper and ink: a full-screen opening on the Barban engraving, photographs across
   the full width, dark bands for the four years and the footer.
   Accent: --fig on paper, --fig-light on the dark bands. Photographs have rounded corners (--radius)
   unless they run edge to edge. Motion is CSS only, screen only, and off when the visitor prefers
   reduced motion. The only script, site.js, closes the phone menu after a link is chosen and runs the copy buttons. */

/* ---------- Fonts: Cormorant Garamond, self-hosted (SIL OFL, see assets/fonts/OFL.txt) ---------- */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
  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: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  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: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  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: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2");
  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: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext-300-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  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: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  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: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */

:root {
  --paper: #F3EEE4;        /* page ground */
  --paper-deep: #EBE4D7;   /* the "From the same tree" band, close to the photographs' own ground */
  --ink: #141210;          /* type on paper, 17.3:1 */
  --grey: #8A8378;         /* hairline rules only */
  --grey-text: #6B655B;    /* small grey type, 5.0:1 on paper, 4.6:1 on paper-deep */
  --fig: #6B4A2B;          /* accent on paper, 6.9:1 */

  --night: #1B1714;        /* the dark bands: the four years and the footer */
  --night-text: #EFE8DC;   /* 15:1 on night */
  --night-muted: #B3A999;  /* 7.6:1 on night */
  --fig-light: #C9A27C;    /* accent on night, 7.6:1 */

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);   /* 18px → 21px */
  --small: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --label: 0.8125rem;
  --track: 0.18em;

  --gutter: clamp(16px, 4vw, 64px);
  --wide: 1360px;          /* the frame for text and grids; photographs go wider */
  --space: clamp(5.5rem, 3rem + 8vw, 11rem);
  --radius: clamp(10px, 0.4rem + 0.6vw, 18px);
  --ease: cubic-bezier(0.22, 0.61, 0.2, 1);
  --bar: 76px;             /* height of the header once it has shrunk */
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--bar);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--text);
  font-weight: 400;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  hanging-punctuation: first;
}

::selection { background: var(--fig); color: var(--paper); }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, dl, dd, dt, ul, figure, address { margin: 0; }
h3 { font: inherit; }

p, dd, li { text-wrap: pretty; }
p { max-width: 26em; }   /* ≈ 65 characters of Cormorant Garamond */
p + p { margin-top: 1.1em; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--grey);
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.25s ease, text-underline-offset 0.25s ease, color 0.25s ease;
}
a:hover { text-decoration-color: currentColor; text-underline-offset: 0.28em; }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
a:focus-visible { text-decoration-color: currentColor; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 30;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  font-size: var(--small);
}
.skip:focus { top: 12px; }

.seal { width: 100%; height: auto; }

.container {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}

.section { padding-block: var(--space); }

/* Where a section lands when you jump to it (menu, address with #, QR code): its first line sits just under the
   header bar, instead of its top padding. Each negative margin cancels that section's own top padding. */
:root { --land: clamp(16px, 2.5vw, 36px); }
.section[id] { scroll-margin-top: calc(var(--land) - var(--space)); }
.split[id] { scroll-margin-top: calc(var(--land) - clamp(4rem, 2.5rem + 5vw, 8rem)); }
.contact[id] { scroll-margin-top: calc(var(--land) - clamp(6rem, 3rem + 10vw, 13rem)); }
#press { scroll-margin-top: calc(var(--land) - var(--space) - clamp(3rem, 2rem + 3vw, 5rem)); }   /* its divider line tucks under the bar */
section h2[tabindex="-1"]:focus { outline: none; }   /* focus moves to the heading after a jump, for screen readers */

/* ---------- Type roles ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: none;
  margin: 0 0 1.5rem;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

h1,
.display,
.mega {
  font-weight: 300;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em,
.display em { font-style: italic; color: var(--fig); }

.display {
  max-width: 15em;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4.75rem);
  line-height: 1.02;
}
.display--xl { font-size: clamp(3rem, 1.4rem + 6.4vw, 8.5rem); line-height: 0.96; }

.mega {
  font-size: clamp(3.4rem, 1rem + 11vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 16em;
  font-size: clamp(1.75rem, 1.15rem + 2.1vw, 3.125rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

figcaption {
  margin-top: 0.9rem;
  font-size: var(--small);
  font-style: italic;
  color: var(--grey-text);
}

/* A three-line initial. */
@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
  .dropcap::first-letter {
    -webkit-initial-letter: 3;
    initial-letter: 3;
    font-weight: 300;
    margin-right: 0.1em;
  }
}

/* Key figures: a large number over a short line, divided by hairlines. */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--grey);
}
.facts dt {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
  overflow-wrap: anywhere;
}
.facts dd {
  margin-top: 0.6rem;
  font-size: var(--small);
  color: var(--grey-text);
}
.facts--two dt { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); }
@media (max-width: 767px) {
  .facts {
    gap: 0;
    padding-top: 0;
    border-bottom: 1px solid var(--grey);
    text-align: center;
  }
  .facts > div { padding: 1.6rem 0.75rem 1.7rem; }
  .facts > div:nth-child(odd) { border-right: 1px solid rgb(138 131 120 / 0.45); }
  .facts > div:nth-child(n + 3) { border-top: 1px solid rgb(138 131 120 / 0.45); }
  .facts dd { max-width: 12em; margin-inline: auto; }
}

/* ---------- Actions ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  max-width: none;
  margin-top: 2.25rem;
}
p + .actions { margin-top: 2.25rem; }

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.button::after {
  content: "→";
  font-size: 1.1em;
  letter-spacing: 0;
  transition: transform 0.3s var(--ease);
}
.button:hover::after { transform: translateX(4px); }
.button:hover,
.button:focus-visible { background: var(--ink); color: var(--paper); }

.button--solid { background: var(--ink); color: var(--paper); }
.button--solid:hover,
.button--solid:focus-visible { background: var(--fig); border-color: var(--fig); }


/* ---------- Header ----------
   On top of the opening: the large seal over the engraving, the sections and EN | HR at the right.
   Where the browser supports scroll-driven animation, the header stays on screen and folds into a
   thin paper bar as the page scrolls, and the seal shrinks to a small mark (see Motion). */

.masthead {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: clamp(12px, 1.4vw, 22px) var(--gutter);
}

html.js .masthead {
  position: fixed;
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
html.js .masthead.is-compact {
  padding-block: 12px;
  background-color: rgb(243 238 228 / 0.97);
  box-shadow: 0 1px 0 rgb(138 131 120 / 0.35);
}
html.js .masthead .brand { transition: width 0.35s var(--ease); }
html.js .masthead.is-compact .brand { width: 52px; }

.brand {
  --seal-size: clamp(84px, 2.5rem + 5vw, 150px);
  flex: none;
  display: block;
  width: var(--seal-size);
  line-height: 0;
  color: var(--ink);
  border-radius: 50%;
}

.nav,
.lang {
  display: flex;
  align-items: center;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1;
}
.nav { display: none; gap: clamp(1.25rem, 2.2vw, 2.5rem); margin-left: auto; }
.nav a,
.lang a,
.lang__current {
  display: inline-block;
  padding: 0.95rem 0.1rem;   /* a 44px tap target */
  text-decoration: none;
}
.nav a {
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.7rem) / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease);
}
.nav a:hover,
.nav a[aria-current] { background-size: 100% 1px; }

.lang { gap: 0.7rem; margin-left: auto; }
.lang a { color: var(--grey-text); }
.lang a:hover { color: var(--ink); }
.lang__current { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em; }

/* Phones and tablets: "Menu" opens a full-screen paper panel with the sections (a <details> element, so it works
   without JavaScript; site.js only closes it after a link is chosen). */
.menu { margin-left: 0.5rem; }
.menu__toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 0.1rem;
  list-style: none;
  cursor: pointer;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__word--close,
.menu[open] .menu__word--open { display: none; }
.menu[open] .menu__word--close { display: inline; }
.menu__icon { position: relative; width: 22px; height: 9px; }
.menu__icon::before,
.menu__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu__icon::before { top: 0; }
.menu__icon::after { top: 8px; }
.menu[open] .menu__icon::before { top: 4px; transform: rotate(45deg); }
.menu[open] .menu__icon::after { top: 4px; transform: rotate(-45deg); }

.menu__panel {
  position: fixed;
  inset: 0;
  z-index: -1;                       /* under the logo and the toggle, over the page */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem var(--gutter) 2.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
}
.menu__panel a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgb(138 131 120 / 0.35);
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  text-decoration: none;
}
.menu__panel a:first-child { border-top: 1px solid rgb(138 131 120 / 0.35); }
.menu__panel a:hover { color: var(--fig); }
.menu__panel a[aria-current] { color: var(--fig); font-style: italic; }
.menu__panel a[aria-current]::after { content: ""; display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.45em;
  vertical-align: 0.3em; border-radius: 50%; background: currentColor; }
.menu__foot {
  max-width: none;
  margin-top: 2rem;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-text);
}
@media (max-width: 959px) {
  html:has(.menu[open]) { overflow: hidden; }   /* only while the menu can be open: never stuck after a rotation to desktop width */
}

@media (min-width: 960px) {
  .menu { display: none; }
  .nav { display: flex; }
  .lang { margin-left: 0; padding-left: clamp(1.25rem, 2vw, 2rem); border-left: 1px solid rgb(138 131 120 / 0.5); }
}

/* ---------- 1. Opening ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  --hero-top: clamp(64px, 2.5rem + 3.5vw, 116px);
  padding-top: var(--hero-top);      /* room for the menu */
  padding-bottom: clamp(6.5rem, 15vh, 9.5rem);
  overflow: hidden;
  background: var(--paper);          /* the ground the engraving multiplies onto */
}

/* The engraving is the background of the opening: edge to edge, from the very top of the screen down behind the words.
   Its frame keeps a clear space in the layout, so the words never sit on the busiest part of the drawing; the drawing
   bleeds up under the menu and down under the words, fading out at both ends.
   No z-index or animation on the frame: either would isolate it and stop the white ground multiplying into the paper. */
.hero__sketch {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(260px, 46svh, 720px);
}
.hero__sketch img {
  position: absolute;
  top: calc(-1 * var(--hero-top));
  bottom: -32%;
  left: 0;
  width: 100%;
  height: calc(100% + var(--hero-top) + 32%);
  object-fit: cover;
  object-position: 50% 45%;
  mix-blend-mode: multiply;          /* the engraving's white ground disappears into the paper */
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 50%, rgb(0 0 0 / 0.35) 68%, transparent 88%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 50%, rgb(0 0 0 / 0.35) 68%, transparent 88%);
}

.hero__text {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
}
.hero__text .eyebrow { margin: 0; }

h1 {
  font-size: clamp(2.9rem, 1.3rem + 6.2vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  max-width: 11em;
}

.standfirst {
  max-width: 26em;
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
  font-style: italic;
  line-height: 1.5;
}

.hero__award {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--grey);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1.6;
}
.hero__award span {
  display: block;
  margin-top: 0.25rem;
  color: var(--fig);
  font-variant-numeric: lining-nums;
}

/* "Scroll": a small word and a line that keeps falling. */
.cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vh, 2rem);
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey-text);
}
.cue::after {
  content: "";
  width: 1px;
  height: 2rem;
  background: currentColor;
  transform-origin: 50% 0;
}
@media (max-width: 767px) {
  .cue { display: none; }
  .hero { padding-bottom: 3.5rem; }
}

/* Desktop: no small line above the headline; the headline and the standfirst start on the same line. */
@media (min-width: 1080px) {
  .hero__text {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 3rem);
    align-items: start;
  }
  .hero__text .eyebrow { display: none; }
  .hero__text h1 { grid-column: 1 / span 8; }
  .hero__aside { grid-column: 9 / -1; padding-top: clamp(4px, 1.07vw - 5px, 15px); }   /* first lines level with the headline */
}

/* ---------- 3. Smokvenjak ---------- */

.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.feature__media picture,
.feature__media img {
  width: 100%;
  height: 100%;
}
.feature__media img {
  object-fit: cover;
  object-position: 50% 60%;
}
/* The title sits on the plain wall of the photograph, never on the smokvenjak.
   The photograph is never cropped vertically (4:5 on phones, its full 3:2 frame from tablets up), and the title
   is sized and placed in vw, like the photograph, so the gap between them keeps the same proportion at every width:
   the title ends at about 44% of the way down to the smokvenjak's label, and left of the fig. */
.feature__title {
  position: absolute;
  left: var(--gutter);
  top: 4vw;
}
.feature__title .eyebrow { margin-bottom: 0.5rem; }
.feature__title .mega { font-size: 12vw; line-height: 0.9; }

.feature__body { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem) var(--space); }
.feature__cols { margin-top: 2rem; }

/* The old recipe: the fresh figs beside the family's story. */
.feature__figs { margin-top: clamp(3.5rem, 2rem + 6vw, 8rem); }
.feature__figs img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.feature__story { margin-top: 2.5rem; }

@media (min-width: 768px) {
  .feature__media { aspect-ratio: 3 / 2; }
  .feature__title { top: 3.5vw; }
  .feature__title .mega { font-size: 9vw; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .facts > div { padding-inline: 1.5rem; border-left: 1px solid rgb(138 131 120 / 0.45); }
  .facts > div:first-child { padding-left: 0; border-left: 0; }
  .facts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Desktop: a shorter frame. Most of the trim comes off the bottom (the slab's front edge), a little off the top wall;
   the smokvenjak and the fig stay whole, and the title still clears them (checked from 1080 to 3440 px). */
@media (min-width: 1080px) {
  .feature__media { aspect-ratio: 1.85 / 1; }
  .feature__media img { object-position: 50% 20%; }
}

@media (min-width: 1080px) {
  .feature__body {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 3rem);
    align-items: start;
  }
  .lede { grid-column: 1 / span 6; }
  .feature__cols { grid-column: 8 / -1; margin-top: 0.4rem; }
  .feature__figs { grid-column: 1 / span 5; }
  .feature__story { grid-column: 7 / -1; align-self: center; margin-top: clamp(3.5rem, 2rem + 6vw, 8rem); }
  .facts { grid-column: 1 / -1; }
}

/* ---------- 4. The proof: four years, in the dark band ---------- */

.award {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 4rem + 9vw, 13rem);
  background: var(--night);
  color: var(--night-text);
  text-align: center;
}
.award .eyebrow { justify-content: center; color: var(--night-muted); }
.award .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.award__years {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  column-gap: 0.3em;
  max-width: none;
  margin: 1.5rem 0 2rem;
  font-size: clamp(4rem, 1rem + 15vw, 8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}
.award__years span { display: inline-block; }
.award__years span:last-child { color: var(--fig-light); }
.award__line {
  margin-inline: auto;
  max-width: 22em;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--night-muted);
}
.award__seal {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(92vw, 820px);
  translate: -50% -50%;
  opacity: 0.06;
  pointer-events: none;
}
@media (min-width: 768px) {
  .award__years { display: flex; justify-content: center; gap: 0.32em; font-size: min(9.5vw, 12.5rem); }
}

/* ---------- 5. From the same tree ---------- */

.tree { background: var(--paper-deep); }
.section__head { margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.section__head .display { margin-bottom: 0; }

/* Phones and tablets: a row to swipe through. Desktop: three columns, the middle one lower. */
.products {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) 1rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 420px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.products::-webkit-scrollbar { display: none; }
.product { scroll-snap-align: start; }
.product__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--paper);
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.product:hover .product__media img { transform: scale(1.045); }
.product__kind {
  margin-top: 1.5rem;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-text);
}
.product h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.625rem, 1.25rem + 1.1vw, 2.375rem);
  font-weight: 400;
  line-height: 1.1;
}
.product p:last-child { font-size: var(--small); max-width: 22em; }
.nowrap { white-space: nowrap; }

@media (min-width: 768px) {
  .products { grid-auto-columns: 44vw; gap: 24px; }
}
@media (min-width: 1080px) {
  .products {
    width: min(100% - 2 * var(--gutter), var(--wide));
    margin-inline: auto;
    padding: 0;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 2.2vw, 2.5rem);
    overflow: visible;
  }
  .product:nth-child(even) { margin-top: clamp(2.5rem, 5vw, 5.5rem); }
}

/* ---------- 6. Olive oil: its own chapter, set apart by space and a fine rule ---------- */

.split {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
  padding-block: clamp(4rem, 2.5rem + 5vw, 8rem);
}
.split__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 72svh;
  border-radius: var(--radius);
  background: var(--paper-deep);
}
.split__media picture,
.split__media img { width: 100%; height: 100%; }
.split__media img { object-fit: cover; object-position: 50% 50%; }
.split__text { padding-top: clamp(2.5rem, 2rem + 3vw, 4rem); }

@media (max-width: 767px) {
  .split { display: flex; flex-direction: column; }
  .split__text { display: contents; }          /* lets the photograph sit between the title and the words */
  .split__text > .eyebrow { order: 1; }
  .split__text > .display { order: 2; }
  .split__media { order: 3; margin-bottom: 2.25rem; }
  .split__text > :not(.eyebrow, .display) { order: 4; }
}
@media (min-width: 768px) {
  .split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2.5vw, 3rem);
    align-items: center;
  }
  .split__media { grid-column: 1 / span 6; }
  .split__text { grid-column: 7 / -1; padding-top: 0; max-width: 36rem; }
}
@media (min-width: 1080px) {
  .split__media { grid-column: 1 / span 5; }
}

/* ---------- 7. Contact: three ways to reach Mihaela ---------- */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 3rem + 10vw, 13rem);
  text-align: center;
  background: var(--paper);
}
.contact__sketch {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: max(1100px, 115vw);
  max-width: none;
  translate: -50% 18%;
  mix-blend-mode: multiply;
  opacity: 0.13;
  pointer-events: none;
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__inner .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.contact__inner .display { margin-inline: auto; max-width: 10em; }

/* Three ways to write or call, set like the key figures: a label, a line of type, fine rules between. */
.channels {
  list-style: none;
  width: 100%;
  max-width: 62rem;
  margin: clamp(2.5rem, 2rem + 3vw, 4.5rem) auto 0;
  padding: 0;
  display: grid;
  border-top: 1px solid rgb(138 131 120 / 0.45);
  border-bottom: 1px solid rgb(138 131 120 / 0.45);
}
.channels li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.6rem 1rem 1.7rem;
}
.channels li + li { border-top: 1px solid rgb(138 131 120 / 0.3); }
.channel__label {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-text);
}
.channel__link {
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem);
  line-height: 1.25;
  font-variant-numeric: lining-nums;
  text-decoration-color: rgb(138 131 120 / 0.55);
  text-underline-offset: 0.3em;
}
.channel__link:hover { color: var(--fig); text-decoration-color: currentColor; }

@media (min-width: 768px) {
  .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channels li { padding: 2rem 1.25rem 2.1rem; }
  .channels li + li { border-top: 0; border-left: 1px solid rgb(138 131 120 / 0.3); }
}

/* ---------- 8. Press: plain, legible on arrival from the printed card ---------- */

.press__grid {
  display: grid;
  gap: 2rem;
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--grey);
}
.press__head .display { margin-bottom: 0; }
.press__body > p { max-width: 30em; }
.press__facts { margin-top: 2rem; border-top: 1px solid rgb(138 131 120 / 0.55); }
.press__facts > div {
  display: grid;
  gap: 0.25rem 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(138 131 120 / 0.3);
}
.press__facts dt {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-text);
  padding-top: 0.3rem;
}
.press__facts dd { font-variant-numeric: lining-nums; }
@media (min-width: 768px) {
  .press__facts > div { grid-template-columns: 9rem minmax(0, 1fr); }
}

.downloads {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  border-bottom: 1px solid rgb(138 131 120 / 0.55);
}
.downloads li { border-top: 1px solid rgb(138 131 120 / 0.55); }
.downloads a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 1.05rem 0;
  font-size: 1.2em;
  text-decoration: none;
}
.downloads a span { font-size: var(--small); color: var(--grey-text); font-style: italic; }
/* The kit: the title and the arrow on one line, what is inside underneath. */
.downloads__kit a { display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: 1.45em; padding: 1.2rem 0 1.3rem; }
.downloads__kit a span { grid-column: 1 / -1; order: 1; max-width: 30em; font-size: var(--small); line-height: 1.45; }
.press__body > .press__terms { margin-top: 1rem; max-width: none; font-size: 0.8125rem; line-height: 1.5; color: var(--grey-text); }
.press__contact { margin-top: 2.5rem; }
.press__contact, .legal { font-variant-numeric: lining-nums; }

@media screen {
  .downloads a::after {
    content: "↓";
    margin-left: auto;
    transition: transform 0.3s var(--ease);
  }
  .downloads a:hover::after { transform: translateY(3px); }
}

@media (min-width: 1080px) {
  .press__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 6vw, 7rem);
  }
}

/* ---------- 9. Footer: dark, one line on wide screens ---------- */

.footer {
  padding-top: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  background: var(--night);
  color: var(--night-text);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer__id { display: flex; align-items: center; gap: 1rem; text-align: left; }
.footer__seal { flex: none; width: clamp(56px, 3rem + 1.5vw, 72px); }
.footer__name {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.footer__place {
  margin-top: 0.2rem;
  font-size: var(--small);
  font-style: italic;
  color: var(--night-muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: none;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-variant-numeric: lining-nums;
}
.footer__links > * + *::before {
  content: "·";
  display: inline-block;             /* keeps the dot out of the link underline */
  margin: 0 0.9rem;
  color: var(--night-muted);
}
.footer__links a { text-decoration-color: rgb(179 169 153 / 0.5); }
.footer__links a:hover { color: var(--fig-light); text-decoration-color: currentColor; }
.legal {
  max-width: none;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-block: 1.1rem 1.5rem;
  border-top: 1px solid rgb(179 169 153 / 0.25);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--night-muted);
}

@media (max-width: 600px) {
  .footer__links { flex-direction: column; gap: 0.35rem; }
  .footer__links > * + *::before { content: none; }
}
@media (min-width: 900px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .legal { text-align: left; }
}

/* ---------- Copy buttons beside the phone number and e-mail (shown by site.js) ---------- */

.with-copy,
.channel__row { display: inline-flex; align-items: center; white-space: nowrap; }
.copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin-left: 0.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--grey-text);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.copy[hidden] { display: none; }
.copy:hover,
.copy:focus-visible { color: var(--ink); background: rgb(138 131 120 / 0.14); }
.copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.copy__done {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  translate: -50% 0;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.copy__done:empty { padding: 0; }
.copy.is-done .copy__done { opacity: 1; }
.footer .copy { color: var(--night-muted); }
.footer .copy:hover,
.footer .copy:focus-visible { color: var(--night-text); background: rgb(239 232 220 / 0.12); }
.footer .copy__done { background: var(--night-text); color: var(--night); }

/* ---------- Consent banner: a small paper card, bottom left on wide screens, a sheet at the bottom on phones ---------- */

.consent {
  position: fixed;
  z-index: 40;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: 24rem;
  padding: 1.25rem 1.4rem 1.35rem;
  border: 1px solid rgb(138 131 120 / 0.45);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px -24px rgb(20 18 16 / 0.35);
}
.consent[hidden] { display: none; }
.consent__title {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
}
.consent__text {
  margin-top: 0.6rem;
  font-size: var(--small);
  line-height: 1.55;
}
.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1rem;
}
.consent__button {
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.consent__button:hover,
.consent__button:focus-visible { background: rgb(20 18 16 / 0.06); }
.consent__button--yes { background: var(--ink); color: var(--paper); }
.consent__button--yes:hover,
.consent__button--yes:focus-visible { background: var(--fig); border-color: var(--fig); }

.legal__link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgb(179 169 153 / 0.5);
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.legal__link:hover { color: var(--night-text); text-decoration-color: currentColor; }

@media (prefers-reduced-motion: no-preference) {
  .consent.is-open { animation: tm-rise 0.8s var(--ease) 0.6s both; }
}

/* ---------- Motion (screen only; off for reduced motion) ----------
   On load: the engraving develops, the words rise after it.
   On scroll (browsers with scroll-driven animation; others get the same page, still):
   the header folds into a bar, the engraving drifts, photographs open to the full width,
   the four years light up one by one, words settle as they arrive.
   Nothing here moves the Press section: it is a landing point and must be legible on arrival. */

@keyframes tm-rise   { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tm-fade   { from { opacity: 0; } }
@keyframes tm-develop { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes tm-fall   { 0% { transform: scaleY(0); transform-origin: 50% 0; } 45% { transform: scaleY(1); transform-origin: 50% 0; }
                       55% { transform: scaleY(1); transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

@keyframes tm-bar {
  to {
    padding-block: 12px;
    background-color: rgb(243 238 228 / 0.97);
    box-shadow: 0 1px 0 rgb(138 131 120 / 0.35);
  }
}
@keyframes tm-seal   { to { width: 52px; } }
@keyframes tm-drift  { to { transform: translateY(16%) scale(1.06); } }
@keyframes tm-unframe {
  from { clip-path: inset(0 var(--gutter) round var(--radius)); }
  to   { clip-path: inset(0 0 round 0); }
}
@keyframes tm-zoom   { from { transform: scale(1.06); } to { transform: none; } }
@keyframes tm-open   { from { clip-path: inset(14% 0 0 0 round var(--radius)); opacity: 0.4; } to { clip-path: inset(0 round var(--radius)); opacity: 1; } }
@keyframes tm-pan    { from { transform: scale(1.1) translateY(-4%); } to { transform: scale(1.1) translateY(4%); } }
@keyframes tm-turn   { from { rotate: -28deg; } to { rotate: 28deg; } }
@keyframes tm-light  { from { opacity: 0; transform: translateY(0.18em); } to { opacity: 1; transform: none; } }
@keyframes tm-lift   { from { translate: -50% 34%; } to { translate: -50% 12%; } }

@media screen and (prefers-reduced-motion: no-preference) {
  .masthead { animation: tm-fade 1.4s var(--ease) 0.2s both; }
  /* On the image itself, not its frame: an animated frame would isolate the image and stop its white ground
     from multiplying into the paper. */
  .hero__sketch img { animation: tm-fade 2.4s var(--ease) both; }
  .hero__text > * { animation: tm-rise 1.1s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: 0.12s; }
  .hero__text > :nth-child(3) { animation-delay: 0.24s; }
  .cue::after { animation: tm-fall 2.4s var(--ease) 2s infinite; }

  @supports (animation-timeline: scroll()) {
    .masthead {
      position: fixed;
      animation: tm-fade 1.4s var(--ease) 0.2s both, tm-bar linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 50vh;
    }
    .brand {
      animation: tm-seal linear both;
      animation-timeline: scroll(root);
      animation-range: 0 50vh;
    }
    .hero__sketch img {
      animation: tm-fade 2.4s var(--ease) both, tm-drift linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh;
    }
  }

  @supports (animation-timeline: view()) {
    :is(.feature__story, .split__text, .contact__inner, .section__head, .footer__inner) > *,
    .feature__body > *,
    .facts > div,
    .product,
    .award .eyebrow,
    .award__line {
      animation: tm-rise var(--ease) both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;   /* fully opaque once fully on screen */
    }

    .feature__figs img {
      animation: tm-open var(--ease) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    .feature__media {
      animation: tm-unframe linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    .feature__title {
      animation: tm-rise var(--ease) both;
      animation-timeline: view();
      animation-range: entry 20% cover 35%;
    }
    .feature__media img {
      animation: tm-zoom linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }

    .split__media img {
      animation: tm-pan linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }

    .award__years span {
      animation: tm-light var(--ease) both;
      animation-timeline: view();
    }
    .award__years span:nth-child(1) { animation-range: entry 40% entry 70%; }
    .award__years span:nth-child(2) { animation-range: entry 55% entry 85%; }
    .award__years span:nth-child(3) { animation-range: entry 70% entry 100%; }
    .award__years span:nth-child(4) { animation-range: entry 85% cover 55%; }
    .award__seal {
      animation: tm-turn linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }

    .contact__sketch {
      animation: tm-lift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }

  }
}

/* ---------- Print: A4 ---------- */

@media print {
  @page { size: A4; margin: 18mm 20mm; }

  :root { --space: 10mm; --text: 11pt; --small: 9.5pt; --label: 7.5pt; --gutter: 0; --wide: 100%; }
  body { background: #fff; color: #000; line-height: 1.45; }

  .skip, .nav, .lang, .menu, .cue, .actions, .contact__sketch, .award__seal { display: none !important; }
  .masthead, html.js .masthead { position: static; padding: 0 0 6mm; background: none; box-shadow: none; }
  html.js .masthead .brand { width: 28mm; }
  .brand { width: 28mm; }

  .hero { min-height: 0; padding-bottom: 6mm; }
  .hero__sketch { min-height: 0; }
  .hero__sketch img { position: static; height: auto; max-height: 55mm; object-fit: contain; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; }
  .hero__text { margin-top: 4mm; }

  img { max-height: 85mm; width: auto; margin-inline: auto; }
  .feature__media, .split__media { height: auto; aspect-ratio: auto; min-height: 0; background: none; }
  .feature__media img, .split__media img { height: auto; max-height: 85mm; object-fit: contain; }
  .feature__figs img { aspect-ratio: auto; max-height: 60mm; }
  .feature__title { position: static; margin-top: 4mm; }
  .feature__title .mega { font-size: 30pt; }
  .split { display: block; }
  .split__text { padding: 6mm 0; }

  .tree, .award, .footer { background: #fff; color: #000; }
  .award { padding-block: 8mm; }
  .award__years span, .award__line, .award .eyebrow, .legal { color: #000; }
  .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5mm; padding: 0; overflow: visible; }
  .product:nth-child(even) { margin-top: 0; }
  .product__media { aspect-ratio: auto; }
  .product__media img { max-height: 45mm; }
  .footer__seal { width: 22mm; filter: brightness(0); }
  .copy { display: none !important; }
  .consent, .legal__settings { display: none !important; }
  .channels { grid-template-columns: repeat(3, 1fr); }
  .channels li + li { border-top: 0; border-left: 1px solid #999; }
  .channel__label { color: #444; }
  .footer { padding-top: 8mm; }

  figure, .product, .award, .facts { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  h1 { font-size: 30pt; }
  .display, .display--xl { font-size: 20pt; }
  .mega { font-size: 30pt; }
  .lede { font-size: 16pt; }
  .award__years { font-size: 26pt; }
  .facts dt { font-size: 18pt; }

  a { text-decoration: none; }
  /* Show URLs after the downloads in the Press section only. */
  .press .downloads a[href]::after {
    content: " · magica.hr" attr(href);
    font-size: 9pt;
    color: #444;
  }
}
