/* One stylesheet for vines-direct-ltd.com and vinplant.com: the two sites share one visual identity
   (warm black, paper white, one gold accent; Fraunces for display, Hanken Grotesk for the rest).
   Order: fonts, tokens, base, header, brand bar, hero, journey (map), numbers, archive, sections,
   Letina, companies, people, gallery, documents, footer. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/fraunces-latin-opsz-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: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin-wght-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: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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; }

:root {
  /* "d" = the dark sections, "l" = the light ones */
  --bg-d: #151411;   --fg-d: #f2eee6;  --fg-d2: #d2ccbf;  --mute-d: #a39d90;  --line-d: rgba(242, 238, 230, .16);
  --bg-l: #f2eee6;   --bg-l2: #e7e1d5; --fg-l: #151411;   --fg-l2: #413d36;   --mute-l: #655f55;  --line-l: rgba(21, 20, 17, .16);
  --accent: #d2ad55;           /* the one accent: used sparingly */
  --accent-on-l: #151411;      /* links and small labels on light sections */
  --logo: #0072bd;             /* the blue of the Vines Direct logo: used for the logo only, always on paper white */
  /* map */
  --sea: #151411; --land: #2b2924; --land-seen: #3b382f; --land-now: #5a5340; --dot: #d2ad55; --dot-seen: #f2eee6;
  /* type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 300; --display-track: -.015em;
  --radius: 0px;
  --photo-filter: grayscale(1) contrast(1.08) brightness(.96);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-d); color: var(--fg-l); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* gold is too faint on the light grounds: there the focus ring is dark */
.section:not(.dark) :focus-visible, .history :focus-visible, .letina__plaque :focus-visible, .foot--light :focus-visible, .brandbar :focus-visible { outline-color: var(--fg-l); }
.ext { font-family: system-ui, sans-serif; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--bg-l); color: var(--fg-l); padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute-l); }
.dark .eyebrow, .journey .eyebrow { color: var(--mute-d); }
.h2 { font: var(--display-weight) clamp(2.1rem, 4.6vw, 3.9rem)/1.06 var(--display); letter-spacing: var(--display-track); font-optical-sizing: auto; margin-top: .45em; max-width: 18ch; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; max-width: 56ch; margin-top: 1.4em; color: var(--fg-l2); }
.dark .lede { color: var(--fg-d2); }

.section { padding: clamp(72px, 11vw, 150px) 0; background: var(--bg-l); color: var(--fg-l); }
.section.dark { background: var(--bg-d); color: var(--fg-d); }
.section.alt { background: var(--bg-l2); }

/* Reveal on scroll: only when JS runs and the visitor has not asked for less motion. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Header: the wordmark and the language switch, nothing else ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); color: #f2eee6; }
.top__mark { font: 800 14px/1 var(--sans); letter-spacing: .26em; text-decoration: none; }
.langs { display: flex; gap: 2px; font: 600 12px/1 var(--sans); letter-spacing: .12em; }
.langs a { padding: 8px 8px; text-decoration: none; opacity: .62; }
.langs a:hover { opacity: 1; }
.langs a[aria-current="true"] { opacity: 1; border-bottom: 1px solid var(--accent); }

/* ---------- Brand bar (Vines Direct Ltd): the logo in its own blue on a bright band ----------
   Without JavaScript the band simply scrolls away with the page. With it, the band stays at the
   top and fades out over the first part of the first screen (site.js sets the opacity). */
:root { --bar-logo: clamp(160px, 18vw, 290px); --bar-pad: clamp(12px, 1.3vw, 18px); --bar-nav: 0px;
  --bar-h: calc(var(--bar-logo) * .196 + 2 * var(--bar-pad) + var(--bar-nav)); }   /* .196 = the logo's height divided by its width */
.brandbar { position: absolute; inset: 0 0 auto 0; z-index: 30; background: var(--bg-l); padding: var(--bar-pad) var(--pad); box-shadow: 0 1px 0 rgba(21, 20, 17, .08);
  display: flex; align-items: center; justify-content: space-between; gap: 0 40px; flex-wrap: wrap; }
/* Section shortcuts: beside the logo on wide screens. On narrower screens a menu button opens them
   as a list under the band; without JavaScript they form a row of their own that scrolls sideways. */
.brandbar__nav { display: flex; gap: clamp(18px, 2.2vw, 36px); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.brandbar__nav a { color: var(--fg-l); text-decoration: none; white-space: nowrap; padding: 10px 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
.brandbar__nav a:hover { border-bottom-color: var(--fg-l); }
.brandbar__menu { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--fg-l);
  font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.brandbar__menu i { position: relative; width: 20px; height: 12px; border-block: 1.5px solid currentColor; transition: border-color .2s; }
.brandbar__menu i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .2s; }
.brandbar__menu[aria-expanded="true"] i { border-color: transparent; }
.brandbar__menu[aria-expanded="true"] i::before,
.brandbar__menu[aria-expanded="true"] i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; }
.brandbar__menu[aria-expanded="true"] i::before { transform: rotate(45deg); }
.brandbar__menu[aria-expanded="true"] i::after { transform: rotate(-45deg); }
@media (max-width: 1060px) {
  :root { --bar-nav: 42px; }
  .brandbar__nav { width: 100%; height: 34px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .brandbar__nav::-webkit-scrollbar { display: none; }
  :root.js { --bar-nav: 0px; }
  .js .brandbar__menu { display: inline-flex; }
  .js .brandbar__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; margin: 0; flex-direction: column; gap: 0;
    padding: 4px var(--pad) 18px; background: var(--bg-l); box-shadow: 0 12px 24px rgba(21, 20, 17, .12); font-size: 13px; }
  .js .brandbar.is-open .brandbar__nav { display: flex; }
  .js .brandbar__nav a { padding: 15px 0; border-bottom: 1px solid rgba(21, 20, 17, .1); }
  .js .brandbar__nav a:last-child { border-bottom: 0; }
}
.js .brandbar { position: fixed; will-change: opacity; }
.brandbar__logo { display: block; width: var(--bar-logo); }
.logo-mono { display: block; width: 100%; height: auto; color: var(--logo); }

/* ---------- Hero (Design A): video across the whole screen ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #f2eee6; background: #151411; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(21,20,17,.55) 0%, rgba(21,20,17,.12) 26%, rgba(21,20,17,.18) 48%, rgba(21,20,17,.86) 100%),
  rgba(21,20,17,.22); }
.hero__inner { position: relative; width: 100%; padding: 0 var(--pad) clamp(64px, 11vh, 120px); }
.hero__mark { width: min(100%, 940px); }
.hero__mark svg { width: 100%; height: auto; overflow: visible; }
.hero__l1 { font: 800 139px/1 var(--sans); fill: #f2eee6; }
.hero__l2 { font: 500 44px/1 var(--sans); fill: var(--accent); }
.hero__promise { font: 300 clamp(1.5rem, 3.1vw, 2.7rem)/1.14 var(--display); letter-spacing: -.01em; max-width: 22ch; margin-top: clamp(22px, 3.4vh, 40px); }
.hero__sub { max-width: 46ch; margin-top: 18px; color: #d8d2c6; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.loop__toggle { position: absolute; right: var(--pad); bottom: clamp(24px, 5vh, 44px); width: 44px; height: 44px; border: 1px solid rgba(242,238,230,.3); border-radius: 50%; display: grid; place-items: center; color: #f2eee6; opacity: .75; background: rgba(21,20,17,.25); }
.loop__toggle:hover { opacity: 1; }
.loop__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.loop__toggle .i-play { display: none; }
[data-loop].is-paused .loop__toggle .i-play { display: block; }
[data-loop].is-paused .loop__toggle .i-pause { display: none; }
.hero__cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(#f2eee6, transparent); opacity: .5; }
@media (max-width: 700px) { .hero__cue { display: none; } }

/* Hero with a still picture (Vines Direct Ltd): two lines of exactly equal width, the years very large */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.hero__img--none { background: radial-gradient(110% 85% at 72% 34%, #5a4a2c 0%, #2e2619 36%, #151411 76%); }   /* if the picture is missing */
.hero--image .hero__shade { background:
  linear-gradient(180deg, rgba(21,20,17,0) 0%, rgba(21,20,17,.04) 30%, rgba(21,20,17,.4) 58%, rgba(21,20,17,.92) 100%),
  linear-gradient(90deg, rgba(21,20,17,.5) 0%, rgba(21,20,17,.3) 34%, rgba(21,20,17,0) 66%); }
.hero--image .hero__inner { padding-top: calc(var(--bar-h) + 28px); }   /* on low screens the headline starts below the band */
.hero--image .hero__mark { width: min(100%, 720px, 60vw); }
.hero__big { font: 800 199px/1 var(--sans); fill: #f2eee6; }
.hero--image .hero__l2 { font-size: 49px; }
.hero__big[data-to] { font-variant-numeric: tabular-nums; }   /* every figure takes the same room while counting */
@media (max-width: 700px) { .hero--image .hero__mark { width: 100%; } .hero__img { object-position: 71% 50%; } }

/* ---------- Journey: the scroll-driven map ---------- */
.journey { position: relative; background: var(--sea); color: var(--fg-d); }
.js .journey { height: calc(var(--steps) * 95vh); }
.journey__stage { position: relative; }
.js .journey__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey__map { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.js .journey__map { display: block; }
.journey__map .land { fill: var(--land); stroke: var(--sea); stroke-width: .6; vector-effect: non-scaling-stroke; }
.journey__map .country { fill: var(--land); stroke: var(--sea); stroke-width: .8; vector-effect: non-scaling-stroke; transition: fill .8s ease; }
.journey__map .country.is-seen { fill: var(--land-seen); }
.journey__map .country.is-now { fill: var(--land-now); }
.journey__map .dot { fill: var(--dot-seen); opacity: 0; transition: opacity .7s ease, fill .7s ease; }
.journey__map .dot.is-seen { opacity: .5; }
.journey__map .dot.is-now { opacity: 1; fill: var(--dot); }
.journey__map .home { fill: none; stroke: var(--dot); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .9; }
.journey__labels { position: absolute; inset: 0; pointer-events: none; }
.journey__label { position: absolute; left: 0; top: 0; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-d); opacity: 0; transition: opacity .6s ease; white-space: nowrap; padding-left: 12px; }
.journey__label.is-now { opacity: .85; }

.journey__head { padding: clamp(72px, 10vw, 130px) var(--pad) clamp(28px, 4vw, 48px); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.js .journey__head { position: absolute; z-index: 3; left: 0; top: 0; padding: clamp(64px, 9vh, 96px) var(--pad) 0; pointer-events: none; }
.js .journey__head .h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* kept for screen readers */

.stops { position: relative; z-index: 2; }
.js .stops { position: absolute; left: var(--pad); bottom: clamp(40px, 9vh, 96px); width: min(36vw, 440px); }
.stop { padding: 22px var(--pad); border-top: 1px solid var(--line-d); }
.js .stop { position: absolute; left: 0; bottom: 0; width: 100%; padding: 0; border: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.js .stop.is-now { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.stop__count { font: 600 12px/1 var(--sans); letter-spacing: .18em; color: var(--accent); }
.stop__title { font: var(--display-weight) clamp(2rem, 4.2vw, 3.5rem)/1.04 var(--display); letter-spacing: var(--display-track); margin-top: 14px; }
.stop__text { margin-top: 16px; color: var(--fg-d2); max-width: 40ch; }
.stop__refs { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 13px; line-height: 1.55; color: var(--mute-d); }
.stop__refs b { display: block; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-d); margin-bottom: 8px; }

.journey__bar { display: none; }
.js .journey__bar { display: flex; position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); flex-direction: column; gap: 9px; }
.journey__bar i { width: 2px; height: 18px; background: var(--line-d); transition: background .4s, height .4s; }
.journey__bar i.is-seen { background: var(--mute-d); }
.journey__bar i.is-now { background: var(--accent); height: 30px; }
.journey__skip { display: none; }
.js .journey__skip { display: block; position: absolute; z-index: 4; right: var(--pad); bottom: 22px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); text-decoration: none; }
.js .journey__skip:hover { color: var(--fg-d); }

@media (max-width: 860px) {
  .js .stops { left: var(--pad); right: var(--pad); width: auto; bottom: 46px; }
  .js .journey__stage::after { content: ""; position: absolute; inset: 42% 0 0 0; background: linear-gradient(transparent, var(--sea) 34%); pointer-events: none; z-index: 1; }
  .stop__title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .stop__text { font-size: 15px; margin-top: 10px; }
  .stop__refs { font-size: 11.5px; line-height: 1.45; margin-top: 12px; padding-top: 10px; }
  .js .journey__bar { top: 30%; }
}

/* ---------- Numbers ---------- */
.numbers { background: var(--bg-d); color: var(--fg-d); padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 140px); border-top: 1px solid var(--line-d); }
.numbers__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-d); }
.num { padding: 26px 22px 6px 22px; border-right: 1px solid var(--line-d); }
.num:first-child { padding-left: 0; }
.num:last-child { border-right: 0; }
.num__value { font: var(--display-weight) clamp(2.4rem, 4.4vw, 4.2rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: lining-nums; }
.num__value small { font-size: .42em; letter-spacing: 0; margin-left: .18em; color: var(--accent); }
.num__label { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--mute-d); max-width: 22ch; }
@media (max-width: 980px) { .numbers__grid { grid-template-columns: repeat(2, 1fr); } .num { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line-d); padding-bottom: 22px; } .num:nth-child(odd) { padding-right: 18px; } }

/* ---------- History strip ---------- */
.history { background: var(--bg-l); color: var(--fg-l); padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.history__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.strip__nav { display: flex; gap: 10px; }
.strip__nav button { width: 46px; height: 46px; border: 1px solid var(--line-l); border-radius: 50%; display: grid; place-items: center; }
.strip__nav button:hover { background: var(--fg-l); color: var(--bg-l); }
.dark .strip__nav button { border-color: var(--line-d); }
.dark .strip__nav button:hover { background: var(--fg-d); color: var(--bg-d); }
.strip__nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.strip, .tanks, .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-left: var(--pad); }
.strip::-webkit-scrollbar, .tanks::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.strip { gap: clamp(14px, 2vw, 28px); margin-top: clamp(32px, 5vw, 60px); padding: 0 var(--pad) 18px; }
.shot { flex: 0 0 min(78vw, 460px); scroll-snap-align: start; }
.shot__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-l2); border-radius: var(--radius); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); transition: filter .6s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.shot:hover .shot__img img { filter: none; transform: scale(1.02); }
.shot__year { font: var(--display-weight) clamp(2.6rem, 4.5vw, 3.8rem)/1 var(--display); letter-spacing: -.02em; margin-top: 18px; }
.shot__cap { margin-top: 8px; font-size: 15px; color: var(--fg-l2); max-width: 34ch; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.card { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); min-height: 250px; display: flex; flex-direction: column; }
.card__n { font: 600 12px/1 var(--sans); letter-spacing: .18em; color: var(--mute-l); }
.card__title { font: 400 clamp(1.4rem, 2vw, 1.75rem)/1.15 var(--display); margin-top: 22px; letter-spacing: -.01em; }
.card__text { margin-top: 12px; font-size: 15.5px; color: var(--fg-l2); }
.card__link { margin-top: auto; padding-top: 18px; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-l); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

.claim { font: 300 clamp(1.8rem, 3.6vw, 3.1rem)/1.1 var(--display); letter-spacing: -.015em; max-width: 18ch; margin-top: clamp(28px, 4vw, 52px); padding-left: clamp(16px, 2vw, 28px); border-left: 2px solid var(--accent); }

/* ---------- Picture panel: numbered steps beside a photograph ---------- */
.panel { background: var(--bg-d); }
/* Wide screens: the photograph stands inside the page margins and runs exactly from the top of the
   text (the small label) to its last line; the text sets the height, the photograph is cut to fit. */
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: stretch; padding: clamp(64px, 8vw, 120px) var(--pad); }
.panel__img { position: relative; min-height: 420px; }
.panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.panel__body { color: var(--fg-d); display: flex; flex-direction: column; justify-content: center; }
.panel__body .h2 { text-wrap: balance; }   /* no single word alone on the last line */
.steps { margin-top: clamp(28px, 4vw, 48px); counter-reset: s; }
.step { display: grid; grid-template-columns: 54px 1fr; padding: 20px 0; border-top: 1px solid var(--line-d); }
.step:last-child { border-bottom: 1px solid var(--line-d); }
.step::before { counter-increment: s; content: "0" counter(s); font: 600 12px/1.9 var(--sans); letter-spacing: .18em; color: var(--accent); }
.step__title { font: 400 1.3rem/1.2 var(--display); }
.step__text { margin-top: 6px; font-size: 15px; color: var(--fg-d2); }
.panel__after { margin-top: 24px; font-size: 15px; color: var(--mute-d); max-width: 46ch; }
.panel__after a { color: var(--fg-d); white-space: nowrap; }
@media (max-width: 900px) {
  .panel__grid { grid-template-columns: 1fr; }
  .panel__img { min-height: 0; }
  .panel__img img { position: static; height: auto; aspect-ratio: 4 / 5; max-height: 70vh; }
}

/* ---------- Letina: the maker's logo on a bright plaque, its film, its figures, its tanks ---------- */
.letina__plaque { background: var(--bg-l); text-align: center; padding: clamp(64px, 10vw, 150px) 0 clamp(48px, 7vw, 100px); }
.letina__logo { width: min(100%, 780px); height: auto; margin: 0 auto; }
.letina__badge { margin-top: clamp(22px, 3vw, 40px); font: 600 13px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--fg-l); }
.letina__film { position: relative; background: #000; }
/* The whole picture of the film, edge to edge (16:9). Only on very wide, low screens is it cut, so
   that it never grows taller than the screen. */
.letina__film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 100svh; object-fit: cover; }
.letina__body { background: var(--bg-d); color: var(--fg-d); padding-bottom: clamp(56px, 8vw, 110px); }
.letina__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(64px, 9vw, 130px); padding-bottom: clamp(48px, 7vw, 96px); }
.letina__one { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-d); font: 300 clamp(1.3rem, 2vw, 1.75rem)/1.25 var(--display); color: var(--accent); max-width: 24ch; }
.letina__tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 clamp(44px, 6vw, 84px); border-top: 1px solid var(--line-d); }
.fact { padding: 26px 22px 6px; border-right: 1px solid var(--line-d); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact dt { font: 300 clamp(1.9rem, 3.4vw, 3.2rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.fact dd { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--mute-d); max-width: 24ch; }
.strip__title { font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute-d); padding-top: 26px; border-top: 1px solid var(--line-d); }
.tanks { gap: clamp(22px, 3.4vw, 56px); align-items: flex-end; padding: clamp(28px, 4vw, 48px) var(--pad) 10px; }
.tank { flex: 0 0 auto; scroll-snap-align: start; text-align: center; }
.tank img { height: clamp(200px, 30vw, 330px); width: auto; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .35)); }
.tank p { margin-top: 16px; font: 600 12px/1 var(--sans); letter-spacing: .2em; color: var(--fg-d2); }
.letina__striphead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.letina__striphead--gap { margin-top: clamp(44px, 6vw, 84px); }
.letina__striphead .strip__title { flex: 1; }
.gallery { gap: clamp(12px, 1.6vw, 22px); padding: clamp(24px, 3vw, 40px) var(--pad) 10px; }
.gallery li { flex: 0 0 auto; scroll-snap-align: start; }
.gallery img { height: clamp(230px, 48vh, 540px); width: auto; }
.letina__credit { margin-top: 26px; font-size: 12.5px; color: var(--mute-d); }
@media (max-width: 980px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line-d); padding-bottom: 22px; } }
@media (max-width: 860px) { .letina__grid { grid-template-columns: 1fr; } .letina__tall { max-width: 420px; } }

/* ---------- One team, four companies ---------- */
.firms { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-l); }
.firm { display: grid; grid-template-columns: minmax(0, 1.25fr) 120px minmax(0, 2fr) 170px; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line-l); }
.firm__name { font: 400 clamp(1.3rem, 2.1vw, 1.8rem)/1.15 var(--display); letter-spacing: -.01em; }
.firm__since { font: 600 12px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-l); }
.firm__text { font-size: 15.5px; color: var(--fg-l2); max-width: 52ch; }
.firm__link { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; justify-self: end; color: var(--accent-on-l); }
@media (max-width: 860px) { .firm { grid-template-columns: 1fr; gap: 6px; } .firm__link { margin-top: 8px; justify-self: start; } }

/* ---------- People and contact ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 6vw, 72px); }
.person { border-top: 1px solid var(--line-d); padding-top: 22px; }
.person__name { font: 400 clamp(1.5rem, 2.3vw, 2rem)/1.1 var(--display); letter-spacing: -.01em; }
.person__role { margin-top: 8px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.person__text { margin-top: 14px; font-size: 15px; color: var(--fg-d2); }
.person__contact { margin-top: 18px; font-size: 15.5px; line-height: 1.9; }
.person__contact a { text-decoration: none; border-bottom: 1px solid var(--line-d); }
.person__contact a:hover { border-color: var(--accent); }
.contact-line { margin-top: clamp(36px, 5vw, 60px); padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 8px 40px; color: var(--mute-d); font-size: 15.5px; }
.contact-line a { color: var(--fg-d); }
.people--1 { grid-template-columns: minmax(0, 560px); }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }

.people-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.people-photo .people { grid-template-columns: 1fr; }
.people-photo__img { margin-top: clamp(40px, 6vw, 72px); }
.people-photo__img img { width: 100%; height: auto; }
@media (max-width: 860px) { .people-photo { grid-template-columns: 1fr; gap: 0; } .people-photo__img { margin-top: 32px; } }

/* ---------- Gallery: one collage of every photograph ----------
   The grid is made of narrow rows, each one twelfth of a column wide, so a picture can take
   exactly as many rows as its shape needs. build.js decides where each picture sits for two,
   three and four columns and writes that into --g2, --g3 and --g4 on the picture.
   Pictures are black and white and turn to colour under the pointer, like the archive strip.
   On touch screens, which have no pointer, they turn to colour once they have scrolled in. */
.collage { background: var(--bg-d); color: var(--fg-d); padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); border-top: 1px solid var(--line-d); }
.collage__box { container-type: inline-size; max-width: 1640px; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 calc(var(--pad) - 4px); }
.collage__grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-auto-rows: calc((100vw - 2 * var(--pad)) / var(--cols) / 12); grid-auto-rows: calc(100cqw / var(--cols) / 12); }
.tile { grid-area: var(--g2); position: relative; display: block; padding: 4px; overflow: hidden; }
@media (min-width: 700px)  { .collage__grid { --cols: 3; } .tile { grid-area: var(--g3); } }
@media (min-width: 1100px) { .collage__grid { --cols: 4; } .tile { grid-area: var(--g4); } }
.tile img { width: 100%; height: 100%; object-fit: cover; background: #23211c; filter: var(--photo-filter); transition: filter .7s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img, .tile:focus-visible img { filter: none; }
.tile:hover img { transform: scale(1.015); }
.tile:focus-visible { outline-offset: -2px; }
.tile[data-year]::after { content: ""; position: absolute; inset: auto 4px 4px 4px; height: 64px; background: linear-gradient(transparent, rgba(21, 20, 17, .6)); pointer-events: none; }
.tile__year { position: absolute; z-index: 1; left: 16px; bottom: 14px; font: 600 11px/1 var(--sans); letter-spacing: .18em; color: #f2eee6; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); pointer-events: none; }
@media (hover: none) { .tile.is-in img { filter: none; transition: filter 1.4s ease .5s; } }

/* A picture opened large */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 14, 12, .97); color: #f2eee6; }
.lightbox::backdrop { background: rgba(15, 14, 12, .97); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox__stage { min-height: 0; display: grid; place-items: center; padding: clamp(56px, 8vh, 80px) clamp(12px, 6vw, 96px) 0; }
.lightbox__stage img { max-width: calc(100vw - 2 * clamp(12px, 6vw, 96px)); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; background: center / cover no-repeat; }
.lightbox__cap { padding: 16px var(--pad) 22px; text-align: center; font: 600 12px/1.4 var(--sans); letter-spacing: .18em; color: var(--mute-d); min-height: 56px; }
.lightbox button { position: absolute; width: 46px; height: 46px; border: 1px solid rgba(242, 238, 230, .3); border-radius: 50%; display: grid; place-items: center; background: rgba(21, 20, 17, .5); color: #f2eee6; }
.lightbox button:hover { background: #f2eee6; color: #151411; }
.lightbox button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox__close { right: clamp(12px, 2vw, 28px); top: clamp(12px, 2vw, 24px); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(8px, 2vw, 28px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 28px); }
@media (max-width: 700px) { .lightbox__nav { top: auto; bottom: 8px; transform: none; } .lightbox__stage { padding-left: 8px; padding-right: 8px; } .lightbox__stage img { max-width: calc(100vw - 16px); } }

/* ---------- Documents ---------- */
.docs { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line-l); }
.doc { border-bottom: 1px solid var(--line-l); }
.doc > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.2 var(--display); }
.doc > summary::-webkit-details-marker { display: none; }
.doc > summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--mute-l); transition: transform .3s; }
.doc[open] > summary::after { transform: rotate(45deg); }
.doc__body { padding: 4px 0 40px; max-width: 76ch; font-size: 15.5px; color: var(--fg-l2); }
.doc__note { font-size: 14px; color: var(--mute-l); margin-bottom: 22px; }
.doc__body h3 { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin: 30px 0 10px; }
.doc__body h4 { font: 600 15.5px/1.4 var(--sans); margin: 22px 0 6px; }
.doc__body p { margin: 0 0 12px; }
.doc__body ul { list-style: disc; padding-left: 20px; margin: 0 0 12px; }
.doc__body li { margin-bottom: 6px; }
.doc__body table { border-collapse: collapse; margin: 12px 0 18px; width: 100%; max-width: 560px; }
.doc__body td, .doc__body th { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--line-l); vertical-align: top; }
.doc__body th { font-weight: 600; font-size: 13px; }

/* ---------- Footer ---------- */
.foot { background: #151411; color: #a39d90; padding: 44px 0 56px; border-top: 1px solid rgba(242, 238, 230, .16); font-size: 13.5px; line-height: 1.7; }
.foot__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__mark { font: 800 13px/1 var(--sans); letter-spacing: .26em; color: #f2eee6; margin-bottom: 14px; }
.foot a { color: #f2eee6; }
/* Vines Direct Ltd: the footer is a bright band that carries the logo, like the brand bar at the top */
.foot--light { background: var(--bg-l); color: var(--fg-l2); border-top: 1px solid var(--line-l); padding: clamp(40px, 5vw, 64px) 0 56px; }
.foot--light a { color: var(--fg-l); }
.foot__logo { width: clamp(230px, 28vw, 360px); margin-bottom: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .shot__img img, .tile img, .stop, .journey__map .dot, .journey__map .country { transition: none !important; }
}
