/* UNITRADE-AUTÓ Zrt. — main stylesheet. No build step.
   World: "Festett panelek" — flat coated colour plates and large real photos; depth comes from overlap only.
   Order: fonts, tokens, base, layout, buttons, header, hero, sections, subpages, footer, motion, print, language overrides. */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/MonaSans-var-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/MonaSans-var-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  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;
}

/* ---------- Tokens ---------- */
:root {
  /* coats */
  --color-ground: #dfe3e0;        /* machine grey: the page */
  --color-ground-soft: #eceeec;   /* fields on white plates */
  --color-white: #ffffff;
  --color-wine: #6b2622;          /* from the logo: plates, sections, actions */
  --color-wine-deep: #4e1a17;
  --color-anthracite: #22262a;
  --color-anthracite-soft: #30353a;
  --color-mid: #a9b1ae;
  --color-field-line: #7f8785;   /* resting edge of form fields: 3.7:1 on the white plate, 3.2:1 on the field fill */

  /* text */
  --color-ink: #1a1d20;
  --color-ink-2: #3a4043;
  --color-muted: #565e5c;
  --color-on-wine: #ffffff;
  --color-on-wine-2: #ebd3ce;
  --color-on-dark: #f1f3f1;
  --color-on-dark-2: #b4bcb9;
  --color-error: #a8231a;
  --color-success: #22603a;

  /* type */
  --font-sans: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lead: clamp(1.125rem, 1.04rem + 0.36vw, 1.3125rem);
  --text-h3: clamp(1.375rem, 1.2rem + 0.72vw, 1.875rem);
  --text-h2: clamp(1.875rem, 1rem + 3.9vw, 4.25rem);
  --text-h1: clamp(1.875rem, 0.9rem + 3.3vw, 3.375rem);
  --text-fact: clamp(3rem, 0.9rem + 4.6vw, 5.75rem);

  /* space (4-based) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-pad: clamp(4.5rem, 2.6rem + 6.6vw, 9rem);
  --strip-gap: 0.375rem;

  /* layout */
  --maxw: 82rem;
  --gutter: 1.25rem;
  --col-gap: 1rem;
  --header-h: 4rem;

  /* motion */
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-plate: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 40em) {
  :root { --gutter: 2rem; --col-gap: 1.25rem; }
}
@media (min-width: 64em) {
  :root { --gutter: 2.5rem; --col-gap: 1.5rem; --header-h: 5.25rem; }
}
@media (min-width: 80em) {
  :root { --gutter: 4rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
  scrollbar-color: var(--color-anthracite) var(--color-ground);
  background: var(--color-ground);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 420;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--color-wine);
}
body.is-menu-open { overflow: hidden; }

::selection { background: var(--color-wine); color: #fff; }
.section--wine ::selection, .hero__plate ::selection, .page-intro ::selection { background: #fff; color: var(--color-wine); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, iframe { display: block; max-width: 100%; }
picture { width: 100%; height: 100%; }
abbr[title] { text-decoration: none; border: 0; }
[hidden] { display: none !important; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-weight: 680; font-stretch: 110%; text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; }
p, li, td, dd { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
/* Hungarian copy is never auto-hyphenated: brand names and CTA words must stay whole */
:lang(hu) p, :lang(hu) li, :lang(hu) td, :lang(hu) th, :lang(hu) dd, :lang(hu) label, :lang(hu) h1, :lang(hu) h2, :lang(hu) h3, :lang(hu) h4 { hyphens: manual; -webkit-hyphens: manual; }
.nohyph { hyphens: manual; -webkit-hyphens: manual; }
.num { font-variant-numeric: lining-nums; }

a { color: var(--color-wine); text-decoration-thickness: 0.09em; text-underline-offset: 0.22em; }
a:hover { color: var(--color-wine-deep); text-decoration-thickness: 0.16em; }

:focus-visible { outline: 3px solid var(--color-anthracite); outline-offset: 3px; }
.section--wine :focus-visible, .section--dark :focus-visible, .hero__plate :focus-visible, .page-intro :focus-visible,
.site-footer :focus-visible, .mobile-menu :focus-visible, .process :focus-visible, .map :focus-visible, .service:nth-child(n + 2) :focus-visible { outline-color: #fff; }
/* The consent dialog moves focus to its heading (tabindex="-1") for screen readers; a heading is not a control, so no ring. */
.wb-consent__title:focus, .wb-consent__title:focus-visible { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--color-anthracite); color: #fff; padding: var(--space-3) var(--space-5);
  text-decoration: none; font-weight: 650;
}
.skip-link:focus { top: var(--space-3); color: #fff; }

/* ---------- Layout ---------- */
/* main is a size container: 100cqw is the true page width, so plates can run out to the viewport edge */
main { container-type: inline-size; overflow-x: clip; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.section { padding-block: var(--section-pad); position: relative; }
.section--wine { background: var(--color-wine); color: var(--color-on-wine); }
.section--dark { background: var(--color-anthracite); color: var(--color-on-dark); }

.section__header { margin-bottom: clamp(2.25rem, 1.4rem + 3vw, 4.5rem); }
.section__title {
  font-size: var(--text-h2);
  line-height: 1;
  letter-spacing: -0.03em;
  font-stretch: 112%;
}
.section__lead {
  margin-top: var(--space-5);
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--color-ink-2);
  max-width: 40em;
}
.subhead {
  font-size: var(--text-h3);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin-bottom: var(--space-4);
}
.prose p + p { margin-top: var(--space-4); }
.prose p { max-width: 38em; color: var(--color-ink-2); }

/* a plate that runs out to the viewport edge on one side */
.about__text, .work__col, .contact__form, .hero__plate { position: relative; }
.about__text::before, .work__col::before, .contact__form::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100vw; background: inherit; z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--color-wine);
  --btn-fill: var(--color-wine-deep);
  --btn-ink: #fff;
  --btn-ink-hover: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 3.5rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 0;
  background: linear-gradient(var(--btn-fill), var(--btn-fill)) no-repeat left / 0% 100% var(--btn-bg);
  color: var(--btn-ink);
  font-size: 1.0625rem;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 420ms var(--ease-out), color var(--dur) var(--ease-out);
}
.btn:hover, .btn:focus-visible { background-size: 100% 100%; color: var(--btn-ink-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(0.25rem); }
.btn--secondary {
  --btn-bg: transparent;
  --btn-fill: var(--color-anthracite);
  --btn-ink: var(--color-ink);
  box-shadow: inset 0 0 0 2px var(--color-anthracite);
}
.btn--small { min-height: 2.75rem; padding: 0 1.125rem; font-size: 0.9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

/* buttons standing on wine or anthracite plates */
.hero__plate .btn--primary, .page-intro .btn--primary, .map .btn, .cert-downloads a {
  --btn-bg: #fff; --btn-fill: var(--color-ground); --btn-ink: var(--color-wine); --btn-ink-hover: var(--color-wine-deep);
}
.hero__plate .btn--secondary {
  --btn-bg: transparent; --btn-fill: #fff; --btn-ink: #fff; --btn-ink-hover: var(--color-wine);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.map .btn { --btn-ink: var(--color-ink); --btn-ink-hover: var(--color-ink); box-shadow: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 650; color: var(--color-wine); text-decoration: none;
}
.text-link svg { transition: transform var(--dur) var(--ease-out); }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(0.25rem); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-ground);
  transition: background-color var(--dur) var(--ease-out);
}
.site-header.is-scrolled { background: #fff; }
.site-header__inner {
  display: flex; align-items: stretch;
  max-width: none; padding: 0;
  height: var(--header-h);
}
.site-header__logo {
  flex: none; display: flex; align-items: center;
  background: #fff;
  padding-left: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  padding-right: 0.75rem;
}
.site-header__logo img { height: 1.625rem; width: auto; }
.site-nav { display: none; }
.site-header__tools { margin-left: auto; display: flex; align-items: stretch; }

.lang-switch { display: flex; align-items: center; padding-inline: 0.25rem; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.625rem; min-height: 2.75rem; padding: 0 0.125rem;
  font-size: var(--text-xs); font-weight: 600;
  color: var(--color-muted); text-decoration: none;
}
.lang-switch a:hover { color: var(--color-ink); }
.lang-switch a[aria-current] { color: var(--color-ink); font-weight: 750; }
.site-header__cta { min-height: 0; padding: 0 0.75rem; font-size: 0.8125rem; }
.site-header__cta svg { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; flex: none;
  background: var(--color-anthracite); color: #fff; border: 0; border-radius: 0; cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle:focus-visible { outline-offset: -5px; outline-color: #fff; }

@media (max-width: 29.99em) {
  .lang-switch a[aria-current] { display: none; }
}
@media (max-width: 23.4em) {
  :root { --gutter: 1rem; }
  .site-header__logo img { height: 1.375rem; }
  .site-header__logo { padding-right: 0.75rem; }
  .site-header__cta { padding: 0 0.625rem; }
}
@media (max-width: 21.2em) {
  .lang-switch { display: none; }
}
@media (min-width: 40em) {
  .site-header__logo { padding-right: 1.5rem; }
  .site-header__logo img { height: 1.875rem; }
  .lang-switch { padding-inline: 1rem; }
  .lang-switch a { min-width: 2rem; font-size: var(--text-sm); }
  .site-header__cta { padding: 0 1.5rem; font-size: 1rem; }
  .nav-toggle { width: var(--header-h); }
}

/* full-screen menu below 80em */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--color-anthracite); color: #fff;
  overflow-y: auto;
  padding: var(--space-5) var(--gutter) var(--space-7);
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__list li + li { margin-top: var(--strip-gap); }
.mobile-menu__list a {
  display: flex; align-items: center; min-height: 3.75rem; padding-inline: var(--space-4);
  background: var(--color-anthracite-soft);
  font-size: 1.5rem; font-weight: 680; font-stretch: 110%; letter-spacing: -0.015em;
  color: #fff; text-decoration: none;
}
.mobile-menu__list a:hover, .mobile-menu__list a[aria-current="page"] { background: var(--color-wine); color: #fff; }
.mobile-menu__lang { display: flex; gap: var(--space-5); margin-top: var(--space-6); padding-inline: var(--space-4); }
.mobile-menu__lang a { font-size: var(--text-base); font-weight: 550; color: var(--color-on-dark-2); text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.mobile-menu__lang a:hover { color: #fff; }
.mobile-menu__lang a[aria-current] { color: #fff; font-weight: 750; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open { animation: menu-in 420ms var(--ease-out); }
  .mobile-menu.is-open li { animation: menu-item-in 520ms var(--ease-out) backwards; }
  .mobile-menu.is-open li:nth-child(2) { animation-delay: 40ms; }
  .mobile-menu.is-open li:nth-child(3) { animation-delay: 80ms; }
  .mobile-menu.is-open li:nth-child(4) { animation-delay: 120ms; }
  .mobile-menu.is-open li:nth-child(5) { animation-delay: 160ms; }
  .mobile-menu.is-open li:nth-child(6) { animation-delay: 200ms; }
}
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes menu-item-in { from { opacity: 0; transform: translateX(-1.5rem); } to { opacity: 1; transform: none; } }

@media (min-width: 64em) {
  .site-header__logo { padding-right: 2rem; }
  .site-header__logo img { height: 2.25rem; }
  .site-header__cta { padding: 0 2rem; font-size: 1.0625rem; }
  .site-header__cta svg { display: block; }
}
@media (min-width: 80em) {
  .site-nav { display: flex; align-items: stretch; margin-left: clamp(0.75rem, -2rem + 3.6vw, 2.5rem); }
  .site-nav ul { display: flex; gap: clamp(0.875rem, -1.4rem + 2.9vw, 1.875rem); }
  .site-nav li { display: flex; }
  .site-nav a {
    position: relative; display: inline-flex; align-items: center;
    font-size: 0.9375rem; font-weight: 560; color: var(--color-ink); text-decoration: none; white-space: nowrap;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.25rem;
    background: var(--color-wine); transform: scaleX(0); transform-origin: left;
    transition: transform 420ms var(--ease-out);
  }
  .site-nav a:hover { color: var(--color-wine); }
  .site-nav a:hover::after, .site-nav a.is-current::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav a.is-current, .site-nav a[aria-current="page"] { color: var(--color-wine); }
  .site-nav a:focus-visible { outline-offset: -4px; }
  .lang-switch { padding-inline: 1.5rem; }
  .nav-toggle, .mobile-menu { display: none !important; }
}
@media (min-width: 80em) and (max-width: 89.99em) {
  .site-nav a { font-size: 0.875rem; font-stretch: 96%; }
  .site-header__logo { padding-right: 1.5rem; }
  .lang-switch { padding-inline: 1rem; }
  .site-header__cta { padding: 0 1.5rem; }
}

/* ---------- Hero ---------- */
/* The coating-line photo runs to the right edge; the wine plate slides over its lower left. */
.hero, .facts { --edge: max(var(--gutter), calc((100cqw - var(--maxw)) / 2)); }
.hero__stage { position: relative; display: flex; flex-direction: column; }
.hero__photo { height: clamp(15rem, 64vw, 30rem); overflow: hidden; background: var(--color-mid); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__plate {
  z-index: 1;
  margin-top: -3.5rem; margin-right: var(--gutter);
  padding: 2rem var(--gutter) 2.25rem;
  background: var(--color-wine); color: var(--color-on-wine);
}
.hero__title {
  font-size: var(--text-h1);
  line-height: 1.04;
  letter-spacing: -0.024em;
  font-stretch: 112%;
  max-width: 17em;
}
.hero__lead { margin-top: var(--space-4); font-size: var(--text-lead); line-height: 1.45; color: var(--color-on-wine-2); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__actions .btn { flex: 1 1 auto; }

.hero__spec { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7); padding: var(--space-6) var(--gutter); }
.hero__spec dt { font-size: var(--text-sm); font-weight: 560; color: var(--color-muted); }
.hero__spec dd { font-size: 1.1875rem; font-weight: 600; font-stretch: 104%; line-height: 1.3; }

.facts { display: grid; grid-template-columns: 1fr 1fr; }
.facts__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-2); padding: var(--space-6) var(--gutter) var(--space-6); }
.facts__item dt { font-size: var(--text-sm); font-weight: 560; opacity: 0.74; }
.facts__item dd { font-weight: 700; font-stretch: 110%; line-height: 1.08; letter-spacing: -0.02em; }
.facts__sub { display: block; margin-top: var(--space-2); font-size: 1.0625rem; font-weight: 600; font-stretch: 104%; letter-spacing: 0; }
.facts__item:nth-child(1) { grid-column: 1 / -1; background: var(--color-anthracite); color: #fff; }
.facts__item:nth-child(1) .num { display: block; white-space: nowrap; font-size: var(--text-fact); line-height: 0.92; font-weight: 720; font-stretch: 118%; letter-spacing: -0.035em; }
.facts__item:nth-child(2) { grid-column: 1 / -1; background: #fff; }
.facts__item:nth-child(2) dd { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.facts__item:nth-child(3) { background: var(--color-mid); }
.facts__item:nth-child(3) dd { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.75rem); line-height: 0.95; font-stretch: 114%; letter-spacing: -0.03em; }
.facts__item:nth-child(4) { background: var(--color-wine-deep); color: #fff; }
.facts__item:nth-child(4) dd { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); }

@media (min-width: 40em) {
  .hero__plate { margin-top: -6rem; margin-right: 22%; padding: 2.75rem 3rem 3rem var(--gutter); }
  .hero__actions .btn { flex: none; }
  .facts { grid-template-columns: 1.3fr 1fr; }
  .facts__item:nth-child(1), .facts__item:nth-child(2) { grid-column: auto; }
  .facts__item:nth-child(3) { grid-row: 2; }
}
@media (min-width: 64em) {
  /* three tracks: spec column, the overlap, the rest of the photo; the plate spans the first two */
  .hero__stage {
    display: grid; grid-template-columns: 41fr 19.3fr 39.7fr; grid-template-rows: auto 1fr;
    min-height: clamp(30rem, calc(100svh - var(--header-h) - 13.25rem), 46rem);
  }
  .hero__photo { grid-column: 2 / -1; grid-row: 1 / -1; position: relative; height: auto; }
  .hero__photo picture { position: absolute; inset: 0; }
  .hero__spec {
    grid-column: 1; grid-row: 1; align-self: start;
    padding: clamp(1.5rem, 4vh, 3.25rem) 1.5rem clamp(1.5rem, 4vh, 3rem) var(--edge); gap: var(--space-3) var(--space-7);
  }
  .hero__plate {
    grid-column: 1 / 3; grid-row: 2; align-self: end; margin: 0;
    padding: clamp(2rem, 4.9vh, 3.5rem) 2.5rem clamp(2.25rem, 5.2vh, 3.75rem) var(--edge);
  }
  /* scales with the plate, 56px at 1440: the title keeps the same four-line break at every desktop width */
  .hero__title { font-size: clamp(2.25rem, 3.89vw, 3.5rem); max-width: none; }
  :lang(hu) .hero__title { text-wrap: wrap; }
  .hero__lead { margin-top: var(--space-5); }
  /* the first plate is as wide as its number needs, measured from the content edge */
  .facts { grid-template-columns: calc(var(--edge) + clamp(19rem, 30vw, 30.5rem)) 1.75fr 1fr 1fr; }
  .facts__item { min-height: 13.25rem; padding: 1.875rem 1rem 1.5rem 1.5rem; }
  .facts__item:nth-child(1) { padding-left: var(--edge); }
  .facts__item:nth-child(3) { grid-row: auto; }
}
@media (min-width: 80em) {
  .facts__item { padding-inline: 2.25rem 1.5rem; }
}
/* short laptop screens: the whole opening, facts included, stays in the first view */
@media (min-width: 64em) and (max-height: 50em) {
  :root { --header-h: 4.5rem; --text-fact: clamp(3rem, 0.6rem + 3.9vw, 4.25rem); }
  .hero__title { font-size: clamp(2rem, 3.1vw, 2.875rem); }
  :lang(hu) .hero__title { text-wrap: balance; }
  .hero__stage { min-height: 0; }
  .hero__spec { padding-block: 1.25rem 1.5rem; }
  .hero__plate { padding-block: 1.75rem 2rem; }
  .hero__lead { margin-top: var(--space-3); font-size: 1.0625rem; }
  .hero__actions { margin-top: var(--space-5); }
  .hero__actions .btn { min-height: 3.125rem; }
  .facts__item { min-height: 9.25rem; padding-block: 1.375rem 1.25rem; }
  .facts__item:nth-child(3) dd { font-size: 2.75rem; }
  .facts__sub { margin-top: var(--space-1); font-size: 1rem; }
}

/* ---------- Services ---------- */
.services__list { display: grid; row-gap: clamp(3rem, 1.6rem + 5.4vw, 7.5rem); }
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.service__media { grid-column: 1 / -1; aspect-ratio: 4 / 3; background: var(--color-mid); overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__body {
  grid-column: 2 / -1; z-index: 1;
  margin-top: -2.5rem;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
}
.service:nth-child(2) .service__body { grid-column: 1 / -2; background: var(--color-anthracite); color: var(--color-on-dark); }
.service:nth-child(3) .service__body { background: var(--color-wine); color: var(--color-on-wine); }
.service__title { font-size: var(--text-h3); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.service__text { color: var(--color-ink-2); max-width: 30em; }
.service:nth-child(2) .service__text { color: var(--color-on-dark-2); }
.service:nth-child(3) .service__text { color: var(--color-on-wine-2); }
.services__cta { margin-top: clamp(3.5rem, 2rem + 5vw, 6.5rem); }

@media (min-width: 40em) {
  .service { align-items: end; }
  .service__media { grid-column: 1 / span 8; grid-row: 1; }
  .service__body { grid-column: 7 / -1; grid-row: 1; margin: 0 0 -2.5rem; padding: clamp(2rem, 3.4vw, 3.25rem); }
  .service:nth-child(2) .service__media { grid-column: 5 / -1; }
  .service:nth-child(2) .service__body { grid-column: 1 / 7; }
}
@media (min-width: 64em) {
  .service__media { grid-column: 1 / span 7; }
  .service__body { grid-column: 7 / -1; margin-bottom: -3rem; }
  .service:nth-child(2) .service__media { grid-column: 6 / -1; }
  .service:nth-child(2) .service__body { grid-column: 1 / 7; }
  .service:nth-child(3) .service__media { grid-column: 2 / span 7; }
  .service:nth-child(3) .service__body { grid-column: 8 / -1; }
}

/* ---------- About ---------- */
.about { padding-top: 0; }
.about__band { height: clamp(15rem, 40vw, 34rem); overflow: hidden; background: var(--color-mid); }
.about__band img { width: 100%; height: 100%; object-fit: cover; }
.about__intro { row-gap: var(--space-6); }
.about__text { grid-column: 1 / -1; align-self: start; z-index: 1; background: #fff; margin-top: -3rem; margin-right: var(--gutter); padding: 2rem 1.5rem 2.25rem 0; }
.about__text::before { right: 100%; }
.about__media { grid-column: 3 / -1; aspect-ratio: 4 / 3; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__activities { margin-top: clamp(3.5rem, 2rem + 5vw, 7rem); }
.about__activities .subhead { margin-bottom: var(--space-5); }

.activity-table { width: 100%; border-collapse: separate; border-spacing: 0 var(--strip-gap); text-align: left; }
.activity-table thead th { font-size: var(--text-sm); font-weight: 560; color: var(--color-muted); padding: 0 1.5rem var(--space-1); }
.activity-table tbody th, .activity-table tbody td { background: #fff; padding: 1.125rem 1.5rem; vertical-align: middle; }
.activity-table tbody th { font-size: 1.125rem; font-weight: 650; font-stretch: 104%; line-height: 1.3; }
.activity-table tbody td { color: var(--color-ink-2); font-weight: 500; }
.activity-table .is-empty { color: var(--color-muted); }
.activity-list { display: grid; gap: var(--strip-gap); margin: 0; padding: 0; list-style: none; }
.activity-list li { background: #fff; padding: 1.125rem 1.5rem; font-size: 1.125rem; font-weight: 560; font-stretch: 104%; line-height: 1.4; }
@media (max-width: 39.99em) {
  .activity-list li { padding: 1rem 1.125rem; font-size: 1rem; }
  .activity-table, .activity-table tbody, .activity-table tr, .activity-table th, .activity-table td { display: block; width: auto; }
  .activity-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .activity-table tbody tr { background: #fff; padding: 1rem 1.125rem; }
  .activity-table tbody tr + tr { margin-top: var(--strip-gap); }
  .activity-table tbody th, .activity-table tbody td { padding: 0; background: none; }
  .activity-table tbody td { margin-top: var(--space-1); font-size: 0.9375rem; }
  .activity-table tbody td::before { content: attr(data-label) ": "; color: var(--color-muted); font-weight: 420; }
  .activity-table td.is-empty { display: none; }
}
@media (min-width: 40em) {
  .activity-table tbody td { width: 38%; }
  .about__text { margin-top: -5rem; margin-right: 0; padding: 2.75rem 3rem 3rem 0; grid-column: 1 / span 10; }
  .about__media { grid-column: 7 / -1; margin-top: -3rem; z-index: 2; }
}
@media (min-width: 64em) {
  .about__text { grid-column: 1 / span 7; margin-top: -7rem; padding: 3.5rem 4rem 4rem 0; }
  .about__media { grid-column: 8 / -1; grid-row: 1; margin-top: 3rem; aspect-ratio: 1 / 1; align-self: start; z-index: 0; }
}

/* ---------- Work ---------- */
.work { padding-bottom: 0; }
.work__cols { column-gap: 0; isolation: isolate; }
.work__col { grid-column: 1 / -1; padding-block: clamp(2rem, 1.4rem + 2.6vw, 3.75rem); }
.work__col p { max-width: 36em; }
.work__col:first-child { background: #fff; }
.work__col:first-child p { color: var(--color-ink-2); }
.work__col:last-child { background: var(--color-mid); }
.work__col:last-child p { color: var(--color-ink); }
.work__col::before { left: 50%; width: 100cqw; transform: translateX(-50%); }
@media (min-width: 64em) {
  .work__col:first-child { grid-column: 1 / 7; padding-right: clamp(2rem, 4vw, 4rem); }
  .work__col:first-child::before { left: auto; right: 100%; width: 100vw; transform: none; }
  .work__col:last-child { grid-column: 7 / -1; padding-left: clamp(2rem, 4vw, 4rem); }
  .work__col:last-child::before { left: 100%; width: 100vw; transform: none; }
}

/* Production steps: an anthracite stage. Base (no JS): every step open. */
.process { position: relative; isolation: isolate; color: var(--color-on-dark); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.process::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 100cqw; transform: translateX(-50%); background: var(--color-anthracite); z-index: -1; }
.process__heading { color: #fff; margin-bottom: var(--space-6); }
.process__list { display: grid; gap: var(--strip-gap); }
.process__step { background: var(--color-anthracite-soft); }
.process__title { margin: 0; font-size: inherit; }
.process__trigger {
  display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: var(--space-3);
  width: 100%; min-height: 4rem; padding: var(--space-3) var(--space-4);
  background: none; border: 0; border-radius: 0; text-align: left; cursor: pointer;
  font-size: 1.1875rem; font-weight: 650; font-stretch: 106%; line-height: 1.2; color: #fff;
  transition: background-color var(--dur) var(--ease-out);
}
.process__trigger:focus-visible { outline-offset: -4px; }
.process__num { font-size: 1.5rem; font-weight: 720; font-stretch: 114%; color: var(--color-on-dark-2); transition: color var(--dur) var(--ease-out); }
.process__chevron { width: 1.25rem; height: 1.25rem; color: var(--color-on-dark-2); transition: transform var(--dur) var(--ease-out); }
.process__trigger[aria-expanded="true"] { background: var(--color-wine); }
.process__trigger[aria-expanded="true"] .process__num { color: #fff; }
.process__trigger[aria-expanded="true"] .process__chevron { transform: rotate(180deg); color: #fff; }
.process__panel { padding: var(--space-4); }
.process__text { color: var(--color-on-dark); margin-bottom: var(--space-4); max-width: 34em; }
.process__media { aspect-ratio: 4 / 3; background: var(--color-anthracite); overflow: hidden; max-width: 46rem; }
.process__media img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .process:not(.is-enhanced) .process__panel:not([hidden]) .process__media { animation: peel-in var(--dur-plate) var(--ease-out); }
}

/* desktop, enhanced by JS: the stage pins while the six photo plates stack up one over another */
@media (min-width: 64em) {
  .process.is-enhanced { padding-block: 0; height: calc(100svh - var(--header-h) + var(--steps, 6) * 52vh); }
  .process.is-enhanced .process__stage {
    position: sticky; top: var(--header-h);
    height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
    clip-path: inset(0 -100vw);
  }
  .process.is-enhanced .process__heading { width: calc((100% + var(--col-gap)) * 5 / 12 - var(--col-gap)); margin-bottom: clamp(1.5rem, 4vh, 2.75rem); }
  .process.is-enhanced .process__list {
    position: static; display: block;
    width: calc((100% + var(--col-gap)) * 5 / 12 - var(--col-gap) - 1.5rem);
  }
  .process.is-enhanced .process__step { position: static; background: none; }
  .process.is-enhanced .process__chevron { display: none; }
  .process.is-enhanced .process__trigger {
    position: relative; z-index: 1;
    grid-template-columns: 3rem 1fr; min-height: clamp(3.25rem, 7.6vh, 4.5rem); padding: 0;
    background: none; font-size: clamp(1.25rem, 0.9rem + 0.9vw, 1.625rem); color: var(--color-on-dark-2);
    transition: color var(--dur) var(--ease-out);
  }
  .process.is-enhanced .process__trigger:hover { color: #fff; }
  .process.is-enhanced .process__step.is-active .process__trigger { color: #fff; }
  .process.is-enhanced .process__step.is-active .process__num { color: #fff; }
  /* each row carries its own wine plate; on the active step it runs in from the left edge of the screen */
  .process.is-enhanced .process__trigger::before {
    content: ""; position: absolute; z-index: -1;
    top: 0; bottom: 0; left: -100vw; right: -1.5rem;
    background: var(--color-wine);
    transform: scaleX(0); transform-origin: left;
    transition: transform 620ms var(--ease-out);
  }
  .process.is-enhanced .process__step.is-active .process__trigger::before { transform: scaleX(1); }
  .process.is-enhanced .process__panel {
    position: absolute; padding: 0;
    top: max(clamp(2rem, 8vh, 5.5rem), calc((100% - 46.875rem) / 2)); bottom: max(clamp(2rem, 8vh, 5.5rem), calc((100% - 46.875rem) / 2));
    left: calc((100% + var(--col-gap)) * 5 / 12 + var(--col-gap));
    right: calc(50% - 50cqw);
    max-width: 62.5rem;
    clip-path: inset(100% 0 0 0);
    transform: translateY(3rem);
    transition: clip-path var(--dur-plate) var(--ease-out), transform var(--dur-plate) var(--ease-out);
  }
  .process.is-enhanced .process__step.is-active .process__panel,
  .process.is-enhanced .process__step.is-past .process__panel { clip-path: inset(0 0 -4rem -4rem); transform: none; }
  .process.is-enhanced .process__media { position: absolute; inset: 0; aspect-ratio: auto; max-width: none; animation: none; }
  .process.is-enhanced .process__text {
    position: absolute; left: -2.5rem; bottom: -1.5rem; z-index: 1;
    margin: 0; max-width: 26rem; padding: 1.25rem 1.5rem;
    background: #fff; color: var(--color-ink); font-weight: 520; line-height: 1.45;
    transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .process.is-enhanced .process__step.is-past .process__text { opacity: 0; visibility: hidden; }
}
@media (min-width: 64em) and (prefers-reduced-motion: reduce) {
  .process.is-enhanced .process__panel, .process.is-enhanced .process__trigger::before { transition: none; }
}

/* ---------- Quality (wine) ---------- */
.quality { background: var(--color-wine); color: var(--color-on-wine); }
.quality .section__title { color: #fff; }
.quality__grid { row-gap: var(--space-8); }
.quality__text { grid-column: 1 / -1; }
.quality__text > p { color: var(--color-on-wine); max-width: 34em; font-size: var(--text-lead); line-height: 1.5; }
.cert-facts { margin-top: var(--space-7); display: grid; gap: var(--strip-gap); }
.cert-facts div { display: grid; grid-template-columns: 1fr; gap: var(--space-1); padding: 1rem 1.25rem; background: var(--color-wine-deep); }
.cert-facts dt { font-size: var(--text-sm); font-weight: 560; color: var(--color-on-wine-2); }
.cert-facts dd { font-weight: 600; font-stretch: 104%; line-height: 1.4; }
.cert-facts div:first-child dd { font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem); font-weight: 700; font-stretch: 112%; line-height: 1.1; letter-spacing: -0.02em; }
.cert-downloads { margin-top: var(--space-7); }
.cert-downloads p { font-size: var(--text-sm); font-weight: 560; color: var(--color-on-wine-2); margin-bottom: var(--space-3); }
.cert-downloads ul { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cert-downloads a {
  display: inline-flex; align-items: center; gap: var(--space-3); min-height: 3.25rem; padding: 0 1.375rem;
  background: linear-gradient(var(--btn-fill), var(--btn-fill)) no-repeat left / 0% 100% var(--btn-bg);
  color: var(--btn-ink); font-weight: 650; text-decoration: none;
  transition: background-size 420ms var(--ease-out);
}
.cert-downloads a:hover { background-size: 100% 100%; color: var(--btn-ink-hover); }
.cert-downloads svg { width: 1.125rem; height: 1.125rem; flex: none; }
.quality__cert { grid-column: 1 / -1; }
.quality__cert a { display: block; max-width: 24rem; background: #fff; padding: 0.75rem; transition: transform 520ms var(--ease-out); }
.quality__cert a:hover { transform: translateY(-0.5rem); }
.quality__cert picture { display: block; aspect-ratio: 1068 / 1511; }
.quality__cert img { width: 100%; height: 100%; object-fit: contain; }

@media (min-width: 40em) {
  .cert-facts div { grid-template-columns: 11rem 1fr; gap: var(--space-5); align-items: baseline; }
}
@media (min-width: 64em) {
  .quality__text { grid-column: 1 / 8; }
  /* the certificate sheet hangs over the lower edge of the wine section */
  .quality__cert { grid-column: 9 / -1; align-self: end; margin-bottom: calc(-1 * var(--section-pad) - 4.5rem); z-index: 2; }
  .quality__cert a { max-width: none; }
}

/* ---------- References ---------- */
.references__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.references__item { aspect-ratio: 1 / 1; overflow: hidden; }
.references__item:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.references__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) {
  .references__item:hover img, .service:hover .service__media img { transform: scale(1.035); }
}
.service__media img { transition: transform 900ms var(--ease-out); }
@media (min-width: 64em) {
  .references__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .references__item, .references__item:nth-child(3n + 1) { aspect-ratio: auto; height: clamp(17rem, 31vw, 27rem); }
  .references__item:nth-child(1), .references__item:nth-child(4), .references__item:nth-child(5) { grid-column: span 7; }
  .references__item:nth-child(2), .references__item:nth-child(3), .references__item:nth-child(6) { grid-column: span 5; }
}

/* ---------- Contact ---------- */
.contact__grid { row-gap: var(--space-8); isolation: isolate; }
.contact__form { grid-column: 1 / -1; align-self: start; background: #fff; padding: 2rem 1.5rem 2.25rem 0; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
.contact__form::before { right: 100%; }
.contact__info { grid-column: 1 / -1; }
@media (min-width: 64em) {
  .contact__form { grid-column: 1 / 8; margin-right: 0; padding: 3.5rem 4rem 4rem 0; }
  .contact__info { grid-column: 9 / -1; padding-top: 3.5rem; }
}
.contact__intro { color: var(--color-ink-2); margin-bottom: var(--space-6); max-width: 34em; }

.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--text-sm); font-weight: 650; }
.field__hint { font-weight: 420; color: var(--color-muted); }
.field input, .field textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.875rem 1rem;
  background: var(--color-ground-soft);
  border: 2px solid var(--color-field-line);
  border-radius: 0;
  font-size: 1.0625rem; line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-anthracite); background: #fff; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field__error { font-size: var(--text-sm); color: var(--color-error); font-weight: 600; }
.field__error:empty { display: none; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 1.5rem; height: 1.5rem; margin: 0;
  border: 2px solid var(--color-anthracite); border-radius: 0; background: #fff;
  display: grid; place-content: center; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.check input::after {
  content: ""; width: 0.75rem; height: 0.4rem; border: 2.5px solid #fff; border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0.4); opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.check input:checked { background: var(--color-wine); border-color: var(--color-wine); }
.check input:checked::after { opacity: 1; transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--color-error); }
.check label { font-size: 0.9375rem; line-height: 1.5; color: var(--color-ink-2); padding-top: 0.05rem; }
.check .field__error { grid-column: 2; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form__submit { min-width: 11rem; }
.form__submit .spinner { display: none; width: 1rem; height: 1rem; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; }
.form.is-loading .form__submit .spinner { display: inline-block; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form.is-loading .form__submit .spinner { animation-duration: 2s; } }

.form__status { font-size: var(--text-sm); }
.form__status [data-state] { display: none; }
.form__status [data-state].is-visible { display: flex; gap: var(--space-2); align-items: flex-start; }
.form__status svg { width: 1.125rem; height: 1.125rem; flex: none; margin-top: 0.1rem; }
.form__status [data-state="error"] { color: var(--color-error); font-weight: 600; }
.form__status [data-state="loading"] { color: var(--color-muted); }
/* shown only while the form runs without an endpoint (data-demo="true") */
.form__demo-note { display: none; padding: 0.75rem 1rem; background: var(--color-anthracite); color: #fff; font-size: 0.9375rem; font-weight: 560; }
.form[data-demo="true"] .form__demo-note, .form[data-demo="true"] ~ .form-success .form__demo-note { display: block; }
.form-success .form__demo-note { margin-bottom: var(--space-3); color: #fff; }
.form-success { background: var(--color-ground-soft); padding: var(--space-6); }
.form-success[hidden] { display: none; }
.form-success h4 { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-h3); line-height: 1.2; margin-bottom: var(--space-2); }
.form-success h4 svg { width: 1.75rem; height: 1.75rem; flex: none; color: var(--color-success); }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid var(--color-anthracite); outline-offset: 4px; }
.form-success p:not(.form__demo-note) { color: var(--color-ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) { animation: plate-in var(--dur-plate) var(--ease-out); }
}

.contact-list, .data-list { display: grid; gap: var(--strip-gap); }
.contact-list div, .data-list div { background: #fff; padding: 1rem 1.25rem 1.125rem; }
.contact-list dt, .data-list dt { font-size: var(--text-sm); font-weight: 560; color: var(--color-muted); margin-bottom: var(--space-1); }
.contact-list dd, .data-list dd { font-size: 1.1875rem; font-weight: 650; font-stretch: 104%; line-height: 1.35; overflow-wrap: anywhere; }
.contact-list a, .data-list a { color: var(--color-wine); text-decoration: underline; }
.contact-list a:hover, .data-list a:hover { color: var(--color-wine-deep); }

.map { margin-top: var(--strip-gap); }
.map__frame { position: relative; background: var(--color-anthracite); overflow: hidden; }
.map__frame.is-loaded { aspect-ratio: 4 / 3; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { display: flex; flex-direction: column; gap: var(--space-3); padding: 1.5rem 1.25rem; color: var(--color-on-dark); }
.map__placeholder p { font-size: 0.9375rem; color: var(--color-on-dark); max-width: 26em; }
.map__placeholder .btn { align-self: flex-start; margin-top: var(--space-2); }
.map__external { margin-top: var(--space-4); font-size: 0.9375rem; }

/* ---------- Subpages: breadcrumb, page intro, team ---------- */
.breadcrumb { font-size: var(--text-sm); font-weight: 520; color: var(--color-on-wine-2); margin-bottom: var(--space-6); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--color-on-wine-2); }
.breadcrumb a { color: var(--color-on-wine-2); text-decoration: underline; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* a wine field; the status plate and the application plate hang over its lower edge */
.page-intro { background: var(--color-wine); color: var(--color-on-wine); padding-top: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); padding-bottom: 0; position: relative; z-index: 1; }
.page-title { font-size: clamp(2.75rem, 1.4rem + 6vw, 6rem); line-height: 0.96; letter-spacing: -0.035em; font-stretch: 114%; font-weight: 700; }
.page-intro__grid { row-gap: var(--strip-gap); column-gap: var(--strip-gap); margin-top: clamp(2rem, 1rem + 3vw, 4rem); transform: translateY(4rem); }
.page-intro__main { grid-column: 1 / -1; }
.page-intro__aside { grid-column: 1 / -1; }
.status { background: #fff; color: var(--color-ink); padding: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem); }
.status__title { font-size: var(--text-h3); line-height: 1.12; letter-spacing: -0.02em; max-width: 20em; }
.status__text { margin-top: var(--space-5); font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 34em; }
.status__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.page-intro .status .btn--primary { --btn-bg: var(--color-wine); --btn-fill: var(--color-wine-deep); --btn-ink: #fff; --btn-ink-hover: #fff; }
.page-intro__aside { background: var(--color-anthracite); color: var(--color-on-dark); padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.page-intro__aside .subhead { color: #fff; margin-bottom: var(--space-5); }
.page-intro__aside .data-list { gap: var(--space-5); }
.page-intro__aside .data-list div { background: none; padding: 0; }
.page-intro__aside .data-list dt { color: var(--color-on-dark-2); }
.page-intro__aside .data-list dd { color: #fff; }
.page-intro__aside .data-list a { color: #fff; }
.page-intro__aside .data-list a:hover { color: var(--color-on-wine-2); }

.legal-spacer { height: calc(var(--section-pad) + 4rem); }
.legal-intro .status__title { font-size: var(--text-h3); }
.team { padding-top: calc(var(--section-pad) + 4rem); }
.team__grid { row-gap: var(--space-6); }
.team__media { grid-column: 1 / -1; aspect-ratio: 4 / 3; overflow: hidden; }
.team__media img { width: 100%; height: 100%; object-fit: cover; }
.team__text { grid-column: 2 / -1; z-index: 1; background: #fff; margin-top: -4.5rem; padding: 1.75rem 1.5rem 2rem; }
.team__text p { color: var(--color-ink-2); max-width: 36em; font-size: var(--text-lead); line-height: 1.5; }
.team__data { grid-column: 1 / -1; }
.team__data dd { font-size: 1.0625rem; font-weight: 560; font-stretch: 100%; line-height: 1.5; }
.team__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-7); }

@media (min-width: 64em) {
  .page-intro__main { grid-column: 1 / 8; }
  .page-intro__aside { grid-column: 8 / -1; align-self: end; }
  .team__media { grid-column: 1 / span 7; grid-row: 1 / span 2; align-self: start; }
  .team__text { grid-column: 7 / -1; grid-row: 1; margin-top: 4rem; padding: clamp(2rem, 3.4vw, 3.25rem); }
  .team__data { grid-column: 8 / -1; grid-row: 2; }
}

/* ---------- Footer (anthracite) ---------- */
.site-footer { background: var(--color-anthracite); color: var(--color-on-dark); padding-top: clamp(4rem, 2.6rem + 5vw, 7rem); padding-bottom: var(--space-6); font-size: 0.9375rem; }
.site-footer a { color: var(--color-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { row-gap: var(--space-7); }
.site-footer__col { grid-column: 1 / -1; }
.site-footer__name { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; font-stretch: 114%; line-height: 1; letter-spacing: -0.03em; color: #fff; margin-bottom: var(--space-5); }
.site-footer__col address { font-style: normal; font-size: var(--text-base); color: var(--color-on-dark-2); line-height: 1.7; }
.site-footer__col address a { color: #fff; text-decoration: underline; }
.site-footer__label { font-size: var(--text-sm); font-weight: 560; color: var(--color-on-dark-2); margin-bottom: var(--space-3); }
.site-footer__links a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 520; }
.site-footer__bottom {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); justify-content: space-between;
  color: var(--color-on-dark-2); font-size: var(--text-sm);
}
/* The Wombat Solution badge (the rules of wombatsolution.com/badge/embed.css, kept here: the remote stylesheet would
   reach a third party before consent). The frame loads only after the visitor allows the wombat_badge service. */
.site-footer__credit { margin-top: var(--space-5); }
.wombat-credit { display: block; width: fit-content; margin: 0 auto; text-decoration: none; }
.wombat-credit__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wombat-credit__frame { border: 0; background: transparent; display: block; pointer-events: none; }
/* Until consent the blocked frame holds the consent layer's placeholder document (too small to use here, and the
   frame takes no clicks): the whole badge stays out of sight and out of the tab order. */
.wombat-credit:has(> [data-wb-consent]) { display: none; }
@media (min-width: 40em) {
  .site-footer__col { grid-column: span 6; }
  .site-footer__col:first-child { grid-column: 1 / -1; }
}
@media (min-width: 64em) {
  .site-footer__col:nth-child(1) { grid-column: 1 / 7; }
  .site-footer__col:nth-child(2) { grid-column: 8 / 11; }
  .site-footer__col:nth-child(3) { grid-column: 11 / -1; }
}

/* ---------- Motion ---------- */
/* One grammar: plates slide in from the side they run out to; photos open like peeled film. */
@keyframes plate-in { from { transform: translateX(-2.5rem); } to { transform: none; } }
@keyframes photo-settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes peel-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes rise-in { from { transform: translateY(2.5rem); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__plate { animation: plate-in 1100ms var(--ease-out) both; }
  .hero__photo img { animation: photo-settle 1600ms var(--ease-out) both; }
  .facts__item { animation: rise-in 900ms var(--ease-out) both; }
  .facts__item:nth-child(2) { animation-delay: 70ms; }
  .facts__item:nth-child(3) { animation-delay: 140ms; }
  .facts__item:nth-child(4) { animation-delay: 210ms; }
  .page-intro .status, .page-intro__aside { animation: rise-in 1000ms var(--ease-out) both; }
  .page-intro__aside { animation-delay: 90ms; }

  .js [data-reveal] {
    opacity: 0; transform: translateY(1.75rem);
    transition: opacity 600ms var(--ease-out), transform var(--dur-plate) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* photos peel open; the plate that overlaps them slides in from its own side */
  .js .service[data-reveal], .js .references__item[data-reveal], .js .about__band[data-reveal], .js .about__media[data-reveal], .js .team__media[data-reveal] { opacity: 1; transform: none; }
  .js .service[data-reveal] .service__media, .js .references__item[data-reveal] picture, .js .about__media[data-reveal] picture, .js .team__media[data-reveal] picture {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1100ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js .service:nth-child(2)[data-reveal] .service__media { clip-path: inset(0 0 0 100%); }
  .js .service[data-reveal].is-in .service__media, .js .references__item[data-reveal].is-in picture, .js .about__media[data-reveal].is-in picture, .js .team__media[data-reveal].is-in picture { clip-path: inset(0); }
  .js .service[data-reveal] .service__body {
    opacity: 0; transform: translateX(3rem);
    transition: opacity 500ms var(--ease-out) 180ms, transform var(--dur-plate) var(--ease-out) 180ms;
  }
  .js .service:nth-child(2)[data-reveal] .service__body { transform: translateX(-3rem); }
  .js .service[data-reveal].is-in .service__body { opacity: 1; transform: none; }
  .js .about__band[data-reveal] img { transform: scale(1.08); transition: transform 1800ms var(--ease-out); }
  .js .about__band[data-reveal].is-in img { transform: none; }
  .js .about__text[data-reveal], .js .contact__form[data-reveal] { transform: translateX(-3rem); }
  .js .about__text[data-reveal].is-in, .js .contact__form[data-reveal].is-in { transform: none; }
  .js .work__col[data-reveal] { opacity: 1; transform: none; }
  .js .work__col[data-reveal] > * { opacity: 0; transform: translateY(1.5rem); transition: opacity 600ms var(--ease-out), transform var(--dur-plate) var(--ease-out); }
  .js .work__col[data-reveal]:last-child > * { transition-delay: 120ms; }
  .js .work__col[data-reveal].is-in > * { opacity: 1; transform: none; }
  .js .quality__cert[data-reveal] { transform: translateY(4rem); }
  .js .quality__cert[data-reveal].is-in { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-menu, .map, .hero__actions, .services__cta { display: none !important; }
  body, .section--wine, .section--dark, .site-footer, .hero__plate, .facts__item, .process::before, .service__body, .page-intro { background: #fff !important; color: #000 !important; }
  .section--wine *, .site-footer *, .hero__plate *, .facts__item *, .process *, .service__body *, .page-intro * { color: #000 !important; }
}

/* === DE overrides (only :lang(de)-scoped rules; owned by the DE page) === */
/* the German title is a third longer: one size step down keeps it at four to five lines on the plate */
:lang(de) .hero__title { font-size: clamp(1.75rem, 0.8rem + 2.7vw, 2.875rem); max-width: 19em; }
/* Standard and brand names inside running text must not break at their hyphen */
:lang(de) p .nohyph, :lang(de) .nowrap { white-space: nowrap; }
/* === end DE overrides === */

/* === WordPress additions === */
/* Cookie banner (theme consent module) on the design tokens; the three first-layer buttons share one style (equal weight). */
:root {
  --wb-consent-bg: var(--color-white);
  --wb-consent-fg: var(--color-ink);
  --wb-consent-border: var(--color-anthracite);
  --wb-consent-btn-bg: var(--color-wine);
  --wb-consent-btn-fg: var(--color-on-wine);
  --wb-consent-btn-border: var(--color-wine);
  --wb-consent-link: var(--color-wine);
  --wb-consent-focus: var(--color-anthracite);
  --wb-consent-focus-width: 3px;
  --wb-consent-radius: 0;
  --wb-consent-backdrop: rgb(26 29 32 / 0.55);
}
/* The base reset (button { color: inherit }) outranks the theme's zero-specificity rule: restore the token. */
.wb-consent .wb-consent__btn, .wb-consent .wb-consent__close { color: var(--wb-consent-btn-fg); }
/* Legal links: the privacy page (legal menu) and the cookie settings link sit where the static build had one <p>. */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
/* Consent extras of the map placeholder (service purpose, "always allow", the provider's privacy link) on the dark plate. */
.map__placeholder .map__purpose, .map__placeholder .map__always { font-size: var(--text-sm); color: var(--color-on-dark-2); }
.map__placeholder .map__always label { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 1.5rem; cursor: pointer; }
.map__placeholder .map__always input { width: 1.125rem; height: 1.125rem; accent-color: var(--color-wine); }
.map__placeholder .map__privacy a { font-size: var(--text-sm); color: var(--color-on-dark); text-decoration: underline; }
/* The media library prints a plain <img> where the static build had <picture>: the same rules for the image. */
@media (min-width: 64em) {
  .hero__photo > img { position: absolute; inset: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .references__item[data-reveal] > img, .js .about__media[data-reveal] > img, .js .team__media[data-reveal] > img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1100ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js .references__item[data-reveal].is-in > img, .js .about__media[data-reveal].is-in > img, .js .team__media[data-reveal].is-in > img { clip-path: inset(0); }
}
/* === end WordPress additions === */

/* === Hyphenation guards (WordPress) ===
   The static build wrapped brand names, the standard number and button labels in .nohyph/.nowrap spans; the fields
   are plain text, so the guard moves to the elements that carried them (decision 2026-11-19). */
:lang(de) .btn, :lang(de) .subhead, :lang(de) .work__col p, :lang(de) .process__text, :lang(de) .quality__text p,
:lang(de) .cert-facts dd, :lang(de) .map__placeholder,
:lang(en) .work__col p, :lang(en) .process__text, :lang(en) .quality__text p, :lang(en) .cert-facts dd { hyphens: manual; -webkit-hyphens: manual; }
/* === end hyphenation guards === */

/* === EN overrides (only :lang(en)-scoped rules; owned by the EN page) === */
/* "Get a quote" has spaces (HU "Ajánlatkérés" / DE "Anfrage" are single words): keep the header button on one line. */
:lang(en) .site-header__cta { white-space: nowrap; }
/* English hyphenates only very long words (avoids "require-ments" style breaks in narrow columns). */
:lang(en) p, :lang(en) li, :lang(en) td, :lang(en) dd { hyphenate-limit-chars: 14 6 6; }
/* === end EN overrides === */
