/* VA-Varuste B2B site
   ------------------------------------------------------------------
   Built on the VA-Varuste design system
   (C:\CLAUDE\va-varuste-design-system\project\colors_and_type.css):
   the official 2014 palette, Aleo as the display face, Jost as the
   accent face in ALL CAPS with 0.2em tracking, and the house device
   used in the AAVA deck and the internal reports: copper eyebrow,
   short copper rule, then the headline.

   Connective tissue with va-varuste.fi: same navy header bar, same
   nav vocabulary, same footer structure, links back to the live site.
   Theme is locked dark. Radius 0 everywhere. Accent: copper only. */

@font-face { font-family: 'Aleo'; src: url('../fonts/aleo-300.woff2?v=b3e0de88') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aleo'; src: url('../fonts/aleo-400.woff2?v=fd3f6417') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aleo'; src: url('../fonts/aleo-600.woff2?v=02eab7f2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-variable.woff2?v=928f4210') format('woff2-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Brand palette, graafinen ohjeisto 2014 */
  --va-dark-blue: #1b2935;
  --va-gray-blue: #3b4f62;
  --va-copper: #d58d00;
  --va-light-gray: #f0f0f0;

  /* Light page by default; dark sections are the accent, not the rule. */
  --page: #ffffff;
  --page-soft: #f4f5f6;
  --ink: #0e1a23;
  --surface: #f4f5f6;
  --surface-2: #ffffff;
  --line: rgb(27 41 53 / .16);
  --line-strong: rgb(27 41 53 / .34);
  --text: #3b4f62;
  --heading: #1b2935;
  --muted: #6e7c8a;
  --copper-lift: #b87800;

  --font-display: 'Aleo', Georgia, 'Times New Roman', serif;
  --font-accent: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 4.5rem);
  --maxw: 1400px;
  --section-y: clamp(4.5rem, 10vh, 8rem);

  --step--1: clamp(.82rem, .79rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.05rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 3.1rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.2vw, 3.9rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.015em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 400; line-height: 1.3; }

p { margin: 0; max-width: 64ch; }
p + p { margin-top: 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.lede { font-size: var(--step-1); font-weight: 300; line-height: 1.5; }

/* Dark sections keep the same components; only the tokens flip. */
.on-dark {
  --page: var(--va-dark-blue);
  --page-soft: #16242f;
  --surface: #16242f;
  --surface-2: #1b2935;
  --line: rgb(255 255 255 / .14);
  --line-strong: rgb(255 255 255 / .3);
  --text: #dfe8ee;
  --heading: #ffffff;
  --muted: rgb(255 255 255 / .68);
  --copper-lift: #f0a516;
  background: var(--page);
  color: var(--text);
}

/* House device: copper eyebrow, copper rule, headline. */
.eyebrow {
  font-family: var(--font-accent);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--va-copper);
  margin: 0 0 1.1rem;
}
.eyebrow::after {
  content: '';
  display: block;
  width: 190px;
  max-width: 60%;
  height: 2px;
  background: var(--va-copper);
  margin-top: 1.1rem;
}

.meta {
  font-family: var(--font-accent);
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: var(--step--1);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .12s ease-out;
}
.btn-primary { background: var(--va-copper); color: #14202a; }
.btn-primary:hover { background: var(--copper-lift); }
.btn-ghost { border-color: var(--line-strong); color: var(--heading); background: transparent; }
.btn-ghost:hover { border-color: var(--va-copper); color: var(--va-copper); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--va-copper); outline-offset: 3px; }

/* ---------- header: same bar as va-varuste.fi ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: var(--va-dark-blue);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); }

.utility {
  border-bottom: 1px solid rgb(255 255 255 / .09);
  font-family: var(--font-accent);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 34px; }
.utility span { color: rgb(255 255 255 / .62); }
.utility a { color: rgb(255 255 255 / .82); text-decoration: none; }
.utility a:hover { color: var(--va-copper); }
.utility .sep { color: rgb(255 255 255 / .3); margin-inline: .6rem; }

.bar { min-height: 68px; display: flex; align-items: center; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 150px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav a {
  font-family: var(--font-accent);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(255 255 255 / .78);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav a:hover { color: #fff; }
.nav .btn { color: #14202a; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgb(255 255 255 / .3);
  color: #fff;
  padding: .5rem .9rem;
  font-family: var(--font-accent);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
}

/* ---------- intro overlay ---------- */

body.intro-on { overflow: hidden; }

#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #0a1219;
}
#intro .intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.8) brightness(.7);
}
#introCanvas { position: relative; z-index: 2; width: 100%; height: 100%; }
.intro-word {
  position: absolute;
  z-index: 3;
  bottom: clamp(3.5rem, 12vh, 8rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: var(--step--1);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .72);
  animation: fadeUp 1.4s var(--ease) .9s both;
}
.intro-skip {
  position: absolute;
  z-index: 3;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  right: clamp(1.5rem, 4vw, 3rem);
  background: none;
  border: 1px solid rgb(255 255 255 / .3);
  color: #fff;
  padding: .7rem 1.5rem;
  font-family: var(--font-accent);
  font-size: var(--step--1);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.intro-skip:hover { border-color: var(--va-copper); color: var(--va-copper); }

/* Hand-over: the overlay dissolves around the mark while it flies to the header. */
#intro { transition: background-color .9s cubic-bezier(.16,1,.3,1); }
#intro .intro-video, .intro-word, .intro-skip { transition: opacity .7s cubic-bezier(.16,1,.3,1); }
#intro.is-handing { background-color: transparent; }
#intro.is-handing .intro-video,
#intro.is-handing .intro-word,
#intro.is-handing .intro-skip { opacity: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- main menu ---------- */

.menu {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
  background: var(--va-dark-blue);
}
.menu-media { position: absolute; inset: 0; z-index: 0; }
.menu-media video,
.menu-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-layer { opacity: 0; transition: opacity .9s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
.menu-layer.is-active { opacity: 1; transform: scale(1); }
.menu::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgb(11 20 27 / .9) 0%, rgb(11 20 27 / .7) 45%, rgb(11 20 27 / .62) 100%),
    linear-gradient(to top, rgb(11 20 27 / .9), transparent 50%),
    linear-gradient(to bottom, rgb(11 20 27 / .55), transparent 30%);
}

.menu-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.menu-copy h1 { margin-bottom: 1.3rem; text-wrap: normal; font-weight: 400; text-shadow: 0 2px 30px rgb(0 0 0 / .4); }
.menu-copy .lede { color: rgb(255 255 255 / .92); font-weight: 400; text-shadow: 0 1px 18px rgb(0 0 0 / .45); max-width: 46ch; margin-bottom: 2rem; }

.menu-list {
  display: grid;
  padding: .6rem clamp(1rem, 2vw, 1.8rem);
  background: rgb(11 20 27 / .58);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgb(255 255 255 / .1);
  border-top: 2px solid var(--va-copper);
}
.menu-list a:first-child { border-top: 0; }
.menu-list a:last-child { border-bottom: 0 !important; }
.menu-list a {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  grid-template-areas: 'n t' '. d';
  gap: .2rem 1rem;
  padding: 1.05rem 1rem 1.05rem 0;
  border-top: 1px solid rgb(255 255 255 / .16);
  text-decoration: none;
  transition: background-color .35s var(--ease), padding-left .35s var(--ease);
}
.menu-list a:last-child { border-bottom: 1px solid rgb(255 255 255 / .16); }
.menu-list a:hover,
.menu-list a:focus-visible { background: rgb(255 255 255 / .06); padding-left: 1rem; }
.menu-list .n {
  grid-area: n;
  font-family: var(--font-accent);
  font-size: var(--step--1);
  letter-spacing: .16em;
  color: var(--va-copper);
  align-self: center;
}
.menu-list .t { grid-area: t; font-size: var(--step-1); font-weight: 400; color: #fff; }
.menu-list .d { grid-area: d; font-size: var(--step--1); color: rgb(255 255 255 / .8); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- sections ---------- */

section { position: relative; }
.section { padding-block: var(--section-y); }
.section-head { max-width: 52ch; margin-bottom: clamp(2.2rem, 5vh, 3.5rem); }
.section-head p { margin-top: 1.2rem; color: var(--muted); }
.soft { background: var(--page-soft); border-block: 1px solid var(--line); }

/* ---------- facts strip ---------- */

.facts { border-block: 1px solid var(--line); }
.facts .wrap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  padding-block: clamp(2.2rem, 5vh, 3.4rem);
}
.fact dt {
  font-family: var(--font-accent);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd {
  margin: .5rem 0 0;
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.fact dd small { font-size: .42em; letter-spacing: .04em; color: var(--muted); display: block; margin-top: .5rem; font-family: var(--font-accent); text-transform: uppercase; }
.fact dd span { color: var(--va-copper); }

/* ---------- two plants ---------- */

.plants { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.plant { position: relative; border: 1px solid var(--line); background: var(--surface-2); }
.plant figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.plant figure img { width: 100%; height: 100%; object-fit: cover; }
.plant-body { padding: clamp(1.5rem, 2.6vw, 2.2rem); }
.plant-body h3 { margin-bottom: .2rem; }
.plant-body .place { font-family: var(--font-accent); font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--va-copper); }
.plant-body p { margin-top: 1rem; color: var(--muted); font-size: var(--step--1); }
.plant-specs { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .55rem; }
.plant-specs li { display: grid; grid-template-columns: 11ch 1fr; gap: 1rem; font-size: var(--step--1); }
.plant-specs b { font-family: var(--font-accent); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-size: .72rem; }

/* ---------- product group blocks ---------- */

.group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.group + .group { margin-top: clamp(3.5rem, 8vh, 6rem); padding-top: clamp(3.5rem, 8vh, 6rem); border-top: 1px solid var(--line); }
.group.flip .group-media { order: -1; }
.group-media { position: relative; overflow: hidden; }
.group-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.group-text h3 { margin-bottom: 1.1rem; }
.group-text p { color: var(--muted); }
.group-text .lede { color: var(--text); margin-bottom: 1.1rem; }

.speclist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0; }
.speclist li { display: grid; grid-template-columns: 13ch 1fr; gap: 1.2rem; padding-block: .75rem; font-size: var(--step--1); }
.speclist li + li { border-top: 1px solid var(--line); }
.speclist b {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--va-copper);
}
.speclist span { color: var(--muted); }

/* ---------- seat rail ---------- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 24vw);
  gap: clamp(.7rem, 1.2vw, 1.1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); }
.rail > article { scroll-snap-align: start; background: var(--page-soft); border: 1px solid var(--line); padding: clamp(1.3rem, 2vw, 1.8rem); display: flex; flex-direction: column; }
.rail h4 { font-family: var(--font-accent); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; font-size: var(--step-0); color: var(--heading); }
.rail .model-note { margin-top: .6rem; color: var(--muted); font-size: var(--step--1); flex: 1; }
.rail dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 1.2rem 0 0; font-size: .82rem; }
.rail dt { color: var(--muted); font-family: var(--font-accent); letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; align-self: center; }
.rail dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- full bleed band ---------- */

.band { position: relative; min-height: min(84vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.band-bg { position: absolute; inset: -12% 0; z-index: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgb(11 20 27 / .96) 12%, rgb(11 20 27 / .6) 55%, rgb(11 20 27 / .3) 100%);
}
.band .wrap { position: relative; z-index: 2; padding-block: clamp(3rem, 8vh, 5rem); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: end; }

/* ---------- process stack ---------- */

.stack-intro { padding-top: var(--section-y); padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.stack-card {
  position: sticky;
  top: 0;
  min-height: 100vh; min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) clamp(3rem, 6vh, 5rem);
  background: var(--page);
  border-top: 1px solid var(--line);
}
.stack-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}
.stack-card figure { margin: 0; height: min(60vh, 520px); overflow: hidden; }
.stack-card figure img { width: 100%; height: 100%; object-fit: cover; }
.stack-text { max-width: 46ch; }
.stack-text .step-no { display: block; font-family: var(--font-accent); font-size: var(--step--1); letter-spacing: .2em; color: var(--va-copper); margin-bottom: 1rem; }
.stack-text h3 { margin-bottom: 1rem; }
.stack-text p { color: var(--muted); }

/* ---------- archive statement ---------- */

.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.statement blockquote { margin: 0; font-size: var(--step-2); font-weight: 300; line-height: 1.3; }
.statement blockquote + p { margin-top: 1.6rem; color: var(--muted); }

/* ---------- brand marquee ---------- */

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.6rem; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: slide 62s linear infinite; }
.marquee span { font-family: var(--font-accent); font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.office h4 { font-family: var(--font-accent); text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); color: var(--va-copper); margin-bottom: .8rem; }
.office p { font-size: var(--step--1); color: var(--muted); }
.office a { color: var(--heading); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.office a:hover { color: var(--va-copper); border-color: var(--va-copper); }

/* ---------- footer: same fonts, colours and columns as va-varuste.fi ---------- */

@font-face { font-family: 'Source Sans Pro'; src: url('../fonts/source-sans-pro-latin-400-normal.woff2?v=9ec6deaf') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans Pro'; src: url('../fonts/source-sans-pro-latin-ext-400-normal.woff2?v=87a7147e') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Source Sans Pro'; src: url('../fonts/source-sans-pro-latin-600-normal.woff2?v=48598bad') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-latin-400-normal.woff2?v=9212f6f9') format('woff2'); font-weight: 400; font-display: swap; }

.site-foot { background: #1b2935; color: #f0f0f0; padding-block: clamp(3rem, 7vh, 4.5rem) 1.6rem; font-family: 'Source Sans Pro', system-ui, sans-serif; font-size: 15px; line-height: 22px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.1fr; gap: clamp(1.6rem, 3vw, 3rem); }
.foot-brand img { width: 168px; margin-bottom: 1.1rem; }
.foot-claim { margin: 0 0 1.1rem; color: #d58d00; max-width: 18ch; }
.foot-social { display: flex; gap: .55rem; margin-bottom: 1.2rem; }
.site-foot .foot-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f0f0f0; color: #5b5f60; transition: background .2s, color .2s; }
.site-foot .foot-social a:hover { background: #d58d00; color: #1b2935; }
.foot-social svg { width: 17px; height: 17px; fill: currentColor; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.foot-contact { gap: .25rem !important; }
.site-foot a { color: #f0f0f0; text-decoration: none; transition: color .2s; }
.site-foot a:hover { color: #d58d00; }
.foot-col h4 { font-family: 'Poppins', sans-serif; font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: #d58d00; margin: 0 0 .9rem; }
.foot-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 190px; }
.foot-bottom { margin-top: clamp(2rem, 5vh, 3rem); padding-top: 1.2rem; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; }
.foot-bottom p { margin: 0; font-size: 13px; color: rgb(240 240 240 / .7); max-width: none; }
.foot-bottom .sep { margin-inline: .5rem; color: rgb(240 240 240 / .35); }
@media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- cuts, video grounds, layers and lifts ----------
   Sections meet on a slant instead of a straight rule. A cut section pulls
   itself up under the one before, so the slant reveals the layer beneath.
   The slant is drawn with an SVG mask rather than clip-path: clip-path edges are not
   anti-aliased over video and composited layers, and show as a stair-stepped line. */

:root {
  --cut: clamp(44px, 7vw, 120px);
  --lift-shadow: 0 30px 60px -24px rgb(11 20 27 / .45), 0 12px 24px -12px rgb(11 20 27 / .25);
  --tri-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 100,0 0,100'/%3E%3C/svg%3E");
  --tri-t: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,100 100,0 100,100'/%3E%3C/svg%3E");
  --solid: linear-gradient(#000 0 0);
}
.cut-b {
  -webkit-mask: var(--solid) top / 100% calc(100% - var(--cut) + 1px) no-repeat, var(--tri-b) bottom / 100% var(--cut) no-repeat;
          mask: var(--solid) top / 100% calc(100% - var(--cut) + 1px) no-repeat, var(--tri-b) bottom / 100% var(--cut) no-repeat;
}
.cut-t {
  -webkit-mask: var(--tri-t) top / 100% var(--cut) no-repeat, var(--solid) bottom / 100% calc(100% - var(--cut) + 1px) no-repeat;
          mask: var(--tri-t) top / 100% var(--cut) no-repeat, var(--solid) bottom / 100% calc(100% - var(--cut) + 1px) no-repeat;
  margin-top: calc(-1 * var(--cut));
  padding-top: calc(var(--section-y) + var(--cut));
}
.cut-tb {
  -webkit-mask: var(--tri-t) top / 100% var(--cut) no-repeat, var(--solid) center / 100% calc(100% - 2 * var(--cut) + 2px) no-repeat, var(--tri-b) bottom / 100% var(--cut) no-repeat;
          mask: var(--tri-t) top / 100% var(--cut) no-repeat, var(--solid) center / 100% calc(100% - 2 * var(--cut) + 2px) no-repeat, var(--tri-b) bottom / 100% var(--cut) no-repeat;
}

/* Full-bleed looping footage under a navy wash. */
.bg-video { position: absolute; inset: -8% 0; z-index: 0; overflow: hidden; background: var(--va-dark-blue); }
.bg-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgb(11 20 27 / .9) 0%, rgb(11 20 27 / .62) 45%, rgb(11 20 27 / .28) 100%),
    linear-gradient(to top, rgb(11 20 27 / .55), transparent 40%);
}
.bg-video ~ .wrap { position: relative; z-index: 2; }

/* Hero: room for the slant and for the facts panel riding over it. */
.menu.cut-b { padding-bottom: calc(var(--cut) + 5.5rem); }

/* Facts: a raised panel straddling the hero's lower edge. */
.facts { border: 0; background: transparent; margin-top: calc(-1 * var(--cut) - 3.5rem); z-index: 5; }
.facts .facts-panel {
  max-width: calc(var(--maxw) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
  padding-inline: clamp(1.4rem, 3vw, 3rem);
  background: linear-gradient(160deg, #22333f 0%, #16242f 100%);
  border: 1px solid rgb(255 255 255 / .08);
  border-top: 2px solid var(--va-copper);
  box-shadow: var(--lift-shadow);
}

/* Company: watermark year behind, picture pair in front. */
.company { overflow: hidden; }
.watermark {
  position: absolute;
  right: -2vw;
  top: 12%;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(9rem, 26vw, 24rem);
  line-height: .8;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(27 41 53 / .1);
  pointer-events: none;
  user-select: none;
}
.company .wrap { position: relative; z-index: 1; }

.layered {
  position: relative;
  margin-top: clamp(3rem, 8vh, 5.5rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}
.layered::before {
  content: '';
  grid-column: 8 / 13;
  grid-row: 1;
  align-self: stretch;
  margin: -2.5rem calc(-1 * var(--gutter)) 3rem 0;
  background: var(--page-soft);
}
.layered figure { margin: 0; overflow: hidden; }
.layered img { width: 100%; height: 100%; object-fit: cover; }
.layer-main { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 16 / 9; position: relative; z-index: 1; }
.layer-inset {
  grid-column: 8 / 12;
  grid-row: 1;
  aspect-ratio: 4 / 3;
  position: relative;
  z-index: 2;
  margin-bottom: -3rem !important;
  box-shadow: var(--lift-shadow);
  outline: 8px solid var(--page);
}
.layered .lift { left: auto; right: 0; top: 0; bottom: auto; z-index: 3; grid-column: 10 / 13; grid-row: 1; position: relative; align-self: start; }

/* Lift: one figure raised off the picture it belongs to. */
.lift {
  position: absolute;
  left: clamp(-1.5rem, -2vw, -.5rem);
  bottom: clamp(1.2rem, 3vw, 2.2rem);
  z-index: 3;
  max-width: 16rem;
  padding: 1.1rem 1.3rem 1.2rem;
  background: var(--page);
  border-left: 2px solid var(--va-copper);
  box-shadow: var(--lift-shadow);
}
.lift b {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--heading);
}
.lift span {
  display: block;
  margin-top: .55rem;
  font-family: var(--font-accent);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--muted);
}
.lift-dark { background: var(--va-dark-blue); }
.lift-dark b { color: #fff; }
.lift-dark span { color: rgb(255 255 255 / .68); }

/* Product pictures sit on an offset block and carry their lift. */
.group-media { overflow: visible; }
.group-media::before {
  content: '';
  position: absolute;
  inset: clamp(1rem, 2.4vw, 2rem) clamp(-2rem, -2.4vw, -1rem) clamp(-2rem, -2.4vw, -1rem) clamp(1rem, 2.4vw, 2rem);
  background: var(--page-soft);
  z-index: 0;
}
.group.flip .group-media::before { inset: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2.4vw, 2rem) clamp(-2rem, -2.4vw, -1rem) clamp(-2rem, -2.4vw, -1rem); }
.group-media img { position: relative; z-index: 1; }
.group.flip .lift { left: auto; right: clamp(-1.5rem, -2vw, -.5rem); border-left: 0; border-right: 2px solid var(--va-copper); }

/* Plants: equal partners, raised cards of the same height, badges on the pictures. */
.plants { align-items: stretch; }
.plant { box-shadow: var(--lift-shadow); border: 0; display: flex; flex-direction: column; }
.plant-body { flex: 1; }
.plant-offset { margin-top: 0; }
.plant figure { position: relative; }
.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: .45rem .8rem;
  background: var(--va-copper);
  color: #14202a;
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Manufacturing intro over the sewing footage: full width, text on the left third. */
.stack-intro.on-dark {
  position: relative;
  z-index: 2;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: calc(var(--section-y) + var(--cut));
  margin-top: calc(-1 * var(--cut));
}
.stack-intro.on-dark > .wrap { position: relative; z-index: 2; }
.stack-intro.on-dark h2 { font-size: var(--step-4); }
.stack-intro.on-dark .section-head { max-width: 40rem; margin-bottom: 0; }
.stack-intro.on-dark .section-head p { color: rgb(255 255 255 / .78); font-size: var(--step-1); font-weight: 300; }
.stack-card:first-of-type { margin-top: calc(-1 * var(--cut)); padding-top: calc(120px + var(--cut)); }

/* Archive band slides up under the last stack card. */
.band.cut-t { padding-top: 0; min-height: min(92vh, 800px); }

/* Contact: offices on frosted glass over the water. */
.contact { overflow: hidden; }
.contact .contact-grid { position: relative; z-index: 2; }
.glass {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: rgb(22 36 47 / .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgb(255 255 255 / .12);
  border-top: 2px solid var(--va-copper);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6);
}
.contact h2 { font-size: var(--step-4); }

/* ---------- motion ---------- */

.reveal { opacity: 0; transform: translateY(24px); }
.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; }
  .hero-media { height: min(52vh, 400px); order: -1; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .plants, .group, .statement, .contact-grid, .band-grid, .stack-inner, .menu-inner { grid-template-columns: 1fr; }
  .group.flip .group-media { order: 0; }
  .stack-card { position: relative; min-height: auto; padding-block: clamp(3rem, 9vh, 5rem); }
  .stack-card figure { height: min(38vh, 300px); }
  .plant-offset { margin-top: 0; }
  .stack-card:first-of-type { margin-top: 0; padding-top: clamp(3rem, 9vh, 5rem); }
}

@media (max-width: 860px) {
  :root { --cut: 40px; }
  .layered { grid-template-columns: repeat(6, 1fr); }
  .layered::before { display: none; }
  .layer-main { grid-column: 1 / 7; }
  .layer-inset { grid-column: 3 / 7; grid-row: 2; margin: -3rem 0 0 !important; outline-width: 6px; }
  .layered .lift { grid-column: 1 / 4; grid-row: 2; align-self: end; margin-bottom: -1rem; }
  .lift { left: .75rem; bottom: -1.5rem; max-width: 13rem; padding: .9rem 1rem 1rem; }
  .group.flip .lift { right: .75rem; }
  .group-media::before { display: none; }
  .group-media { margin-bottom: 1.5rem; }
  .watermark { font-size: 9rem; top: auto; bottom: 2%; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .site-head.is-open .bar { min-height: auto; padding-block: .6rem; }
  .site-head.is-open .bar .wrap { flex-wrap: wrap; }
  .site-head.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    width: 100%;
    padding: 1.2rem 0 1rem;
  }
  .utility .wrap { font-size: .62rem; }
  .utility .hide-sm { display: none; }
  .offices { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 76vw; }
  .speclist li, .plant-specs li { grid-template-columns: 1fr; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .stack-card { position: static; min-height: auto; }
  .marquee-track { animation: none; }
}

/* ---------- Products mega menu ---------- */
.nav-dd { position: static; }
.nav-dd-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-accent); font-size: var(--step--1); font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: rgb(255 255 255 / .78); transition: color .25s var(--ease);
}
.nav-dd-btn::after { content: ''; display: inline-block; width: .42em; height: .42em; margin-left: .55em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); transition: transform .3s var(--ease); }
.nav-dd.is-open .nav-dd-btn, .nav-dd-btn:hover { color: #fff; }
.nav-dd.is-open .nav-dd-btn::after { transform: translateY(.05em) rotate(-135deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--va-dark-blue); border-top: 1px solid rgb(255 255 255 / .09); border-bottom: 2px solid var(--va-copper);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.nav-dd.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { max-width: var(--maxw); margin-inline: auto; padding: 1.6rem var(--gutter) 1.4rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; }
.mm-item { display: grid; gap: .35rem; text-decoration: none; color: #fff !important; letter-spacing: normal !important; text-transform: none !important; }
.mm-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--ease); }
.mm-item:hover img, .mm-item:focus-visible img { opacity: 1; transform: translateY(-3px); }
.mm-item .n { font-family: var(--font-accent); font-size: .66rem; letter-spacing: .2em; color: var(--va-copper); margin-top: .35rem; }
.mm-item .t { font-family: var(--font-display); font-size: .98rem; line-height: 1.3; }
.mm-item:hover .t { color: var(--va-copper); }
.mm-all { grid-column: 1 / -1; justify-self: end; margin-top: .4rem; font-size: .72rem !important; color: rgb(255 255 255 / .7) !important; }
.mm-all:hover { color: var(--va-copper) !important; }

@media (max-width: 1240px) { .mega-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .nav-dd { width: 100%; }
  .mega { position: static; box-shadow: none; border: 0; background: transparent; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav-dd.is-open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; padding: .8rem 0 0 1rem; gap: .2rem; }
  .mm-item { grid-template-columns: auto 1fr; align-items: center; column-gap: .8rem; }
  .mm-item img { display: none; }
  .mm-item .n { margin: 0; }
  .mm-all { justify-self: start; }
}

/* ---------- intro promo film ---------- */
.intro-promo { position: absolute; inset: 0; z-index: 4; background: #0a1219; transition: opacity .9s cubic-bezier(.16,1,.3,1); }
.intro-promo.is-out { opacity: 0; }
.intro-promo video { width: 100%; height: 100%; object-fit: cover; }
.intro-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 14 19 / .75), transparent 45%), linear-gradient(to right, rgb(8 14 19 / .35), transparent 50%); pointer-events: none; }
.promo-cap {
  position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(4.5rem, 12vh, 7rem); max-width: 22ch; margin: 0;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.12; color: #fff;
  text-shadow: 0 2px 30px rgb(0 0 0 / .45);
  opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.promo-cap::before { content: ''; display: block; width: 90px; height: 2px; background: var(--va-copper); margin-bottom: 1.1rem; }
.promo-cap.is-in { opacity: 1; transform: none; }
body.promo-on .intro-word { opacity: 0; }
.intro-skip { z-index: 6 !important; }

/* ---------- intro end card ---------- */
.intro-end { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 2rem; pointer-events: none; }
.intro-end::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(10 18 25 / .55), rgb(10 18 25 / .88) 70%); opacity: 0; transition: opacity 1s var(--ease); }
.end-logo { position: relative; width: min(620px, 78vw); opacity: 0; filter: blur(10px); transform: scale(1.04); transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 2.4s var(--ease); }
.end-logo img { display: block; width: 100%; height: auto; }
.end-sheen {
  position: absolute; inset: 0;
  -webkit-mask: url("../logo/va-varuste-logo-white-horizontal.svg?v=03f6fcab") center / 100% 100% no-repeat;
          mask: url("../logo/va-varuste-logo-white-horizontal.svg?v=03f6fcab") center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgb(255 236 200 / .95) 48%, rgb(240 165 22 / .9) 52%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
}
.end-tag { position: relative; margin: 0; font-family: var(--font-accent); font-size: clamp(.66rem, .6rem + .25vw, .8rem); letter-spacing: .3em; text-transform: uppercase; color: rgb(255 255 255 / .75); opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease) .9s, transform 1.1s var(--ease) .9s; text-align: center; }
.end-tag span { color: var(--va-copper); margin-inline: .5em; }
.intro-end.is-in::before { opacity: 1; }
.intro-end.is-in .end-logo { opacity: 1; filter: none; transform: none; }
.intro-end.is-in .end-sheen { animation: sheen 1.5s cubic-bezier(.45,0,.2,1) .7s both; }
.intro-end.is-in .end-tag { opacity: 1; transform: none; }
@keyframes sheen { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@media (min-width: 761px) { .end-tag { white-space: nowrap; letter-spacing: .24em; } }

/* ---------- contact: offices, people, map ---------- */
.contact .contact-grid { align-items: start; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.contact-intro .muted { margin-top: 1.2rem; }
.contact-map { margin: clamp(1.5rem, 4vh, 2.5rem) 0 0; max-width: 460px; }
.contact-map img { width: 100%; height: auto; }
.offices.glass { grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 2.6vw, 2.4rem); }
.office-country { margin: 0 0 .4rem; font-family: var(--font-accent); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--va-copper); }
.office h3 { font-size: var(--step-1); font-weight: 400; margin-bottom: .7rem; }
.office-addr, .office-lines { font-size: var(--step--1); color: var(--muted); margin: 0 0 .8rem; }
.people { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .75rem; }
.people li { display: grid; font-size: var(--step--1); line-height: 1.4; }
.people b { font-weight: 400; color: var(--heading); }
.people span { font-family: var(--font-accent); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: .1rem 0 .15rem; }
.people a { justify-self: start; }
.office-meta { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .contact .contact-grid { grid-template-columns: 1fr; } .contact-map { max-width: 380px; } }
@media (max-width: 620px) { .offices.glass, .office-meta { grid-template-columns: 1fr; } }

/* ---------- floating page navigation ---------- */
.float-nav { position: fixed; right: clamp(.8rem, 2vw, 1.6rem); bottom: clamp(.8rem, 3vh, 1.6rem); z-index: 55; display: grid; gap: .4rem;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.float-nav.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-nav button { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: rgb(27 41 53 / .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / .18); color: #fff; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .6);
  transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.float-nav button:hover, .float-nav button:focus-visible { background: var(--va-copper); border-color: var(--va-copper); color: #14202a; }
.float-nav button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.float-nav button:disabled { opacity: .35; pointer-events: none; }
.float-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-nav button[data-go="top"] { margin-top: .3rem; }
@media print { .float-nav { display: none; } }

/* ---------- customer logo carousel (logos from the va-varuste.fi front page) ---------- */
.customers { overflow: hidden; }
.logo-marquee { overflow: hidden; padding-block: clamp(1.6rem, 4vh, 2.6rem); border-block: 1px solid rgb(255 255 255 / .1);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; align-items: center; gap: clamp(2.6rem, 5vw, 4.5rem); width: max-content; animation: slide 70s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-item { flex: none; display: grid; place-items: center; height: 64px; }
.logo-item img { width: auto; max-width: 190px; filter: brightness(0) invert(1); opacity: .62; transition: opacity .3s, filter .3s; }
.logo-item:hover img, .logo-item:focus-visible img { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-track > [aria-hidden] { display: none; } }
.logo-item img.is-tone { filter: grayscale(1) brightness(2.4) contrast(.9); }
/* Offices share row lines, so both columns stay level whatever the text length. */
.offices.glass { grid-template-rows: repeat(4, auto) auto auto; row-gap: 0; }
.offices.glass > .office:not(.office-meta) { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
.offices.glass > .office:not(.office-meta) > * { margin-top: 0; }
.offices.glass > .office-meta { margin-top: clamp(1.4rem, 2.6vw, 2.2rem); }
@media (max-width: 620px) { .offices.glass { grid-template-rows: none; } .offices.glass > .office:not(.office-meta) { grid-row: auto; grid-template-rows: none; } .offices.glass > .office + .office { margin-top: 1.6rem; } }
.nw { white-space: nowrap; }
.offices.glass > .office-meta { gap: clamp(1.4rem, 2.6vw, 2.4rem); }
/* Contact: both columns share top and bottom lines. The left column is padded like the
   glass panel, so the eyebrow sits level with the first office line, and the map is
   pushed to the bottom so it ends where the panel ends. */
.contact .contact-grid { align-items: stretch; }
.contact-intro { display: flex; flex-direction: column; padding-block: clamp(1.6rem, 3vw, 2.6rem); }
.contact-intro .contact-map { margin-top: auto; padding-top: clamp(1.5rem, 4vh, 2.5rem); }
.offices.glass { align-self: start; align-content: start; }
@media (max-width: 1100px) { .contact-intro { padding-block: 0; } .contact-intro .contact-map { margin-top: clamp(1.5rem, 4vh, 2.5rem); padding-top: 0; } }
.contact-intro .contact-map { max-width: none; }
.contact-intro .contact-map img { width: auto; max-width: 100%; height: clamp(300px, 34vw, 420px); }
@media (max-width: 1100px) { .contact-intro .contact-map img { height: auto; width: 100%; max-width: 380px; } }
/* The next section slides up over the band by --cut; keep the band's text clear of the slant.
   Same rule for any section followed by a cut-t section. */
.band .wrap { padding-bottom: calc(var(--cut) + clamp(3rem, 8vh, 5rem)); }
section:has(+ .cut-t):not(.band) { padding-bottom: calc(var(--section-y) + var(--cut) * .6); }

/* ---------- strengths: industrial scale ---------- */
.strengths { background: linear-gradient(180deg, #16242f, #1b2935); }
.st-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.4rem, 6vh, 4rem); }
.st-head h2 { font-size: var(--step-4); }
.st-head .lede { color: rgb(255 255 255 / .8); }
.st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .1); }
.st-card { background: #1b2935; padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; transition: background .3s var(--ease); }
.st-card:hover { background: #22333f; }
.st-n { font-family: var(--font-accent); font-size: .72rem; letter-spacing: .2em; color: var(--va-copper); margin-bottom: 1.4rem; }
.st-card h3 { font-size: var(--step-1); font-weight: 400; margin-bottom: .7rem; }
.st-card p { font-size: var(--step--1); color: var(--muted); }
.st-matrix { margin-top: clamp(2.4rem, 6vh, 4rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; column-gap: clamp(1.6rem, 4vw, 4rem); row-gap: 1.6rem; align-items: start; }
.st-matrix-head h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.st-matrix table { grid-column: 2; grid-row: 1 / span 2; width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.st-matrix th, .st-matrix td { padding: .62rem .8rem; border-bottom: 1px solid rgb(255 255 255 / .1); text-align: left; }
.st-matrix thead th { font-family: var(--font-accent); font-weight: 500; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--va-copper); border-bottom-color: var(--va-copper); }
.st-matrix td { text-align: center; width: 7.5rem; color: var(--va-copper); font-size: 1rem; }
.st-matrix thead th:not(:first-child) { text-align: center; }
.st-matrix tbody th { font-weight: 400; color: #fff; }
.st-matrix tbody tr:hover { background: rgb(255 255 255 / .04); }
.st-network { grid-column: 1; margin: 0; padding: 1.2rem 1.3rem; border-left: 2px solid var(--va-copper); background: #22333f; box-shadow: 0 18px 40px -24px rgb(8 14 19 / .7); color: rgb(255 255 255 / .82); font-size: var(--step--1); }
.st-network b { font-family: var(--font-accent); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--va-copper); margin-right: .4rem; }
@media (max-width: 1100px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-head, .st-matrix { grid-template-columns: 1fr; } .st-matrix table, .st-network { grid-column: auto; grid-row: auto; } }
@media (max-width: 620px) { .st-grid { grid-template-columns: 1fr; } .st-matrix td { width: 4.5rem; } }
.bg-video img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- the VA mark as a window onto the landscape (desktop only) ---------- */
.mark-window { display: none; }
@media (min-width: 1100px) {
  .company, .strengths, .p-others { overflow: hidden; }
  .mark-window {
    display: block; position: absolute; z-index: 0; pointer-events: none;
    width: clamp(480px, 44vw, 780px); aspect-ratio: 1;
    background: var(--scape) center / cover no-repeat;
    -webkit-mask: url("../logo/va-mark.svg?v=fc8aeeab") center / contain no-repeat;
            mask: url("../logo/va-mark.svg?v=fc8aeeab") center / contain no-repeat;
  }
  .mw-right { right: calc(clamp(480px, 44vw, 780px) * -.38); top: 6%; }
  .mw-left { left: calc(clamp(480px, 44vw, 780px) * -.36); top: auto; bottom: -8%; }
  .mw-top { top: 4%; right: calc(clamp(420px, 34vw, 600px) * -.22); width: clamp(420px, 34vw, 600px); }
  .customers { overflow: hidden; }
  .customers .logo-marquee { position: relative; z-index: 1; background: rgb(27 41 53 / .72); }
  .mw-low { top: auto; bottom: -12%; }
  .company .wrap, .strengths .wrap, .p-others .wrap { position: relative; z-index: 1; }
  .company .statement > div:first-child { max-width: 34rem; }
  .strengths .st-head, .strengths .st-grid, .strengths .st-matrix { position: relative; }
}

/* Mark windows: larger and further past the page edge (desktop). */
@media (min-width: 1100px) {
  .mark-window { width: clamp(640px, 58vw, 1040px); }
  .mw-left { left: calc(clamp(640px, 58vw, 1040px) * -.5); bottom: -14%; }
  .mw-top { width: clamp(560px, 48vw, 880px); right: calc(clamp(560px, 48vw, 880px) * -.42); top: -2%; }
}

/* Landing: hero + facts bar fit in the first screen, so the trust bar is always seen. */
.menu { min-height: calc(100vh - 6.5rem); min-height: calc(100dvh - 6.5rem); padding-top: 120px; align-items: center; }
.menu.cut-b { padding-bottom: calc(var(--cut) + 4.5rem); }
.menu-list a { padding: .62rem 1rem .62rem 0; }
.menu-list .t { font-size: var(--step-0); }
.menu-list .d { font-size: .78rem; }
.facts .facts-panel { padding-block: clamp(1.2rem, 3vh, 2rem) !important; }
.fact dd { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.fact dd small { font-size: .38em; }
@media (min-width: 1101px) and (max-width: 1400px) {
  .facts .wrap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-height: 820px) and (min-width: 1100px) {
  .menu-copy h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
  .menu-list .d { display: none; }
}

/* Hero slideshow: slow drift on the active picture, the matching row lit in the list. */
.menu-layer { transition: opacity 1.4s var(--ease), transform 7s linear; }
.menu-layer.is-active { transform: scale(1.06); }
.menu-list a.is-on { background: rgb(255 255 255 / .06); padding-left: 1rem; }
.menu-list a.is-on .n { color: #fff; }
/* Map: fills the left column, centred, edges fading into the section so it never looks clipped. */
.contact-intro .contact-map { width: 100%; max-width: none; display: flex; justify-content: center; }
.contact-intro .contact-map img { width: 100%; height: auto; max-width: 520px; max-height: none;
  -webkit-mask: radial-gradient(ellipse 72% 70% at 55% 50%, #000 60%, transparent 100%);
          mask: radial-gradient(ellipse 72% 70% at 55% 50%, #000 60%, transparent 100%); }
/* Mega menu: equal columns, identical thumbnails, labels wrap instead of widening a column. */
.mega-inner { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
.mm-item { min-width: 0; align-content: start; }
.mm-item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mm-item .t { overflow-wrap: anywhere; }
@media (max-width: 1240px) { .mega-inner { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 860px) { .mega-inner { grid-template-columns: 1fr !important; } }
.nav .mega a.mm-item, .nav .mega a.mm-all { white-space: normal; }
.nav .mega .mm-item .t { font-size: .95rem; }
/* Phone: product list without pictures (the later desktop rule had switched them back on). */
@media (max-width: 860px) {
  .nav .mega .mm-item img { display: none; }
  .nav .mega .mm-item { grid-template-columns: 2.2rem 1fr; padding: .35rem 0; }
  .nav .mega .mm-item .n { margin: 0; }
  .nav .mega .mm-item .t { font-size: 1rem; }
}
/* Contact → footer: the water fades into the footer colour instead of stopping on a hard line. */
.contact::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, #1b2935); }
.contact .contact-grid { z-index: 2; }
.site-foot { border-top: 1px solid rgb(255 255 255 / .08); }
@media (max-width: 760px) {
  .contact { padding-bottom: 2.5rem; }
  .site-foot { padding-top: 2.2rem; }
  .foot-brand { display: grid; grid-template-columns: 1fr; gap: .2rem; }
  .foot-brand img { width: 150px; margin-bottom: .8rem; }
  .foot-claim { max-width: none; margin-bottom: 1rem; }
  .foot-social { margin-bottom: 1rem; }
  .foot-contact { padding-bottom: 1.4rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  .foot-grid { gap: 1.6rem 1.2rem; }
  .foot-grid > .foot-col:nth-child(2) { display: none; }   /* visiting hours are already in the contact panel */
  .float-nav { right: .6rem; bottom: .6rem; }
  .float-nav button { width: 40px; height: 40px; }
}

/* ---------- intro: subtitles truly centred ----------
   letter-spacing leaves a trailing gap after the last glyph, which pushes the
   text left of centre; balance it with equal padding on the left. The 3D-phase
   line also shrank to half the viewport (left: 50%) and wrapped left-aligned. */
.intro-word { width: max-content; max-width: calc(100vw - 2rem); text-align: center; padding-left: .3em; }
.end-tag { padding-left: .3em; max-width: calc(100vw - 2rem); }   /* global p max-width (~38em) squeezed the box; nowrap text spilled right */
@media (min-width: 761px) { .end-tag { padding-left: .24em; } }

/* ---------- manufacturing: process map + sticky process bar ----------
   The map sits in the intro over the footage; the bar (built by site.js from the map)
   is fixed under the header while the cards run, and marks the step in view. */
.proc-anchor { display: block; height: 0; }
.stack-intro.on-dark .wrap { display: grid; gap: clamp(2.4rem, 6vh, 4rem); }
.proc-map { --n: 4; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); max-width: 62rem; }
.proc-map::before, .proc-map::after { content: ''; position: absolute; top: 23px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 2px; }
.proc-map::before { background: rgb(255 255 255 / .22); }
.proc-map::after { background: linear-gradient(90deg, var(--va-copper), #f0a516); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .2s; }
.proc-map.is-on::after { transform: none; }
.proc-map li { position: relative; z-index: 1; }
.proc-map a { display: grid; justify-items: center; gap: .55rem; padding: 0 .6rem .4rem; text-align: center; color: #fff; text-decoration: none; }
.pm-node { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .45); background: rgb(14 26 35 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: var(--font-accent); font-weight: 500; font-size: .78rem; letter-spacing: .12em; padding-left: .12em; margin-bottom: .45rem; transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .5s var(--ease); transition-delay: calc(var(--i) * .3s); }
.proc-map.is-on .pm-node { border-color: var(--va-copper); box-shadow: 0 0 0 6px rgb(213 141 0 / .14); }
.pm-t { font-family: var(--font-display); font-size: var(--step-0); line-height: 1.25; text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.pm-d { font-size: .8rem; line-height: 1.4; color: rgb(255 255 255 / .72); max-width: 17ch; text-shadow: 0 1px 10px rgb(0 0 0 / .6); }
.proc-map a:hover .pm-node, .proc-map a:focus-visible .pm-node { background: var(--va-copper); color: #14202a; transform: scale(1.08); transition-delay: 0s; }
.proc-map a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.proc-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgb(27 41 53 / .08); box-shadow: 0 14px 30px -22px rgb(14 26 35 / .45); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.proc-bar.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pb-inner { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); min-height: 3.5rem; }
.pb-label { flex: none; padding-right: clamp(1.2rem, 3vw, 2.6rem); border-right: 1px solid rgb(27 41 53 / .12); font-family: var(--font-accent); font-weight: 500; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-lift); line-height: 2.2; }
.proc-bar ol { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.proc-bar li { flex: 1; min-width: 0; display: flex; align-items: center; }
.proc-bar li:last-child { flex: none; }
/* connector to the next step; fills copper as the reader moves through the step (--f 0..1) */
.proc-bar li:not(:last-child)::after { content: ''; flex: 1; min-width: 1.2rem; height: 1px; margin-inline: .9rem; background: linear-gradient(90deg, var(--va-copper) calc(var(--f, 0) * 100%), rgb(27 41 53 / .14) 0); }
.proc-bar li.is-done::after { --f: 1; }
.proc-bar a { flex: none; display: flex; align-items: center; gap: .65rem; padding: .9rem 0; color: var(--muted); text-decoration: none; font-family: var(--font-accent); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: color .3s var(--ease); }
.proc-bar a b { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(27 41 53 / .2); color: var(--muted); font-weight: 500; font-size: .6rem; letter-spacing: .06em; padding-left: .06em; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .4s var(--ease); }
.proc-bar a:hover, .proc-bar a:focus-visible { color: var(--heading); }
.proc-bar a:hover b { border-color: var(--va-copper); }
.proc-bar a:focus-visible { outline: 2px solid var(--va-copper); outline-offset: 3px; }
.proc-bar li.is-done a b { background: rgb(213 141 0 / .1); border-color: rgb(213 141 0 / .55); color: var(--copper-lift); }
.proc-bar li.is-active a { color: var(--heading); }
.proc-bar li.is-active a b { background: var(--va-copper); border-color: var(--va-copper); color: #fff; box-shadow: 0 0 0 4px rgb(213 141 0 / .16); }

/* room for the bar at the top of each card while the stack is pinned (desktop) */
@media (min-width: 1101px) {
  .stack-card { padding-top: calc(120px + 3.2rem); }
  .stack-card:first-of-type { padding-top: calc(120px + 3.2rem + var(--cut)); }
}
@media (max-width: 900px) {
  .proc-map { grid-template-columns: 1fr; gap: 1.1rem; max-width: 26rem; }
  .proc-map::before, .proc-map::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .proc-map::after { transform: scaleY(0); transform-origin: top; }
  .proc-map a { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; column-gap: 1rem; row-gap: .15rem; text-align: left; padding: 0; }
  .pm-node { grid-row: span 2; margin: 0; }
  .pm-t { align-self: end; }
  .pm-d { max-width: none; }
  .pb-label { display: none; }
  .proc-bar li:not(.is-active) a span { display: none; }
  .proc-bar li:not(:last-child)::after { margin-inline: .45rem; min-width: .5rem; }
  .proc-bar li.is-active { flex-grow: 4; }
  .proc-bar a { flex: 0 1 auto; min-width: 0; font-size: .66rem; letter-spacing: .06em; }
  .proc-bar a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  .proc-map::after, .pm-node, .proc-bar { transition: none !important; }
}

/* Kuopio plant: the first picture stays put, the others cross-fade over it in turn (20 s cycle). */
.plant-slides img[style*="--s"] { position: absolute; inset: 0; opacity: 0; animation: plantSlide 20s linear infinite; animation-delay: calc(var(--s) * 5s); }
@keyframes plantSlide { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
.plant-slides .badge { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .plant-slides img[style*="--s"] { display: none; } }

/* Header logo: large enough to hold its own beside the navigation and the copper button. */
.brand img { width: 205px; height: auto; }
@media (max-width: 1100px) { .brand img { width: 180px; } }
@media (max-width: 760px) { .brand img { width: 170px; } }

/* Brand presence: the VA octagon as a large, faint copper mark behind the opening headline. */
.menu-mark {
  position: absolute; z-index: 2; pointer-events: none;
  left: calc(var(--gutter) - clamp(120px, 12vw, 220px)); top: 52%;
  width: min(78vh, 760px); aspect-ratio: 1; transform: translateY(-50%);
  background: linear-gradient(140deg, #f0a516, var(--va-copper) 55%, #8a5a00);
  -webkit-mask: url("../logo/va-mark.svg?v=fc8aeeab") center / contain no-repeat;
          mask: url("../logo/va-mark.svg?v=fc8aeeab") center / contain no-repeat;
  opacity: .11;
}
.menu-inner { z-index: 3; }
@media (max-width: 1100px) { .menu-mark { width: min(90vw, 560px); left: -18vw; top: 38%; opacity: .09; } }

/* Footer: the logo and the claim sign the page off. */
.foot-brand img { width: 260px; margin-bottom: 1.4rem; }
.foot-brand .foot-claim { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; max-width: 16ch; color: var(--va-copper); }
@media (max-width: 760px) { .foot-brand img { width: 220px; } }

/* Landing, calmer: the product list loses its glass panel and shows names only;
   a row's one-line description slides in when it is pointed at or focused. */
.menu-list { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; padding: 0; }
.menu-list a { row-gap: 0; padding: .85rem 0; border-top: 1px solid rgb(255 255 255 / .18); }
.menu-list a:last-child { border-bottom: 1px solid rgb(255 255 255 / .18) !important; }
.menu-list a:first-child { border-top: 1px solid rgb(255 255 255 / .18); }
.menu-list .t { font-size: var(--step-1); text-shadow: 0 1px 14px rgb(0 0 0 / .5); }
.menu-list .d { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s var(--ease), margin .45s var(--ease); }
.menu-list a:hover .d, .menu-list a:focus-visible .d { max-height: 3.2em; opacity: 1; margin-top: .25rem; }
.menu-list a:hover, .menu-list a:focus-visible { background: linear-gradient(90deg, rgb(255 255 255 / .07), transparent 85%); padding-left: .9rem; }
@media (max-height: 820px) and (min-width: 1100px) { .menu-list a { padding: .6rem 0; } }
@media (hover: none) { .menu-list .d { display: none; } }

/* Product list descriptions live in one fixed caption line (see site.js): no row grows on hover. */
.menu-list .d { display: none !important; }
.menu-list a:hover, .menu-list a:focus-visible { padding-left: 0; }
.menu-list a:hover .t, .menu-list a:focus-visible .t { transform: translateX(.6rem); }
.menu-list .t { transition: transform .35s var(--ease); }
.menu-caption { min-height: 1.5em; margin: .8rem 0 0; font-size: var(--step--1); color: rgb(255 255 255 / .82); text-shadow: 0 1px 12px rgb(0 0 0 / .5);
  opacity: 0; transition: opacity .3s var(--ease); }
.menu-caption.is-on { opacity: 1; }
@media (hover: none), (max-width: 1100px) { .menu-caption { display: none; } }

/* The mark behind the headline: white and faint reads cleaner than copper over the footage. */
.menu-mark { background: #fff; opacity: .06; }
@media (max-width: 1100px) { .menu-mark { opacity: .05; } }
/* two lines reserved, so a long description never grows the column */
.menu-caption { min-height: 0; height: 3.2em; line-height: 1.6; overflow: hidden; }

/* Landing: the product list sits level with the headline block instead of against the top. */
.menu-inner { align-items: center; }
/* list a little shorter than before and the whole landing block lower, clear of the header */
@media (min-width: 1101px) {
  .menu { padding-top: 165px; }
  .menu-list a { padding: .68rem 0; }
}

/* ---------- people: portraits per plant, from the contact page of va-varuste.fi ---------- */
.team { position: relative; background: var(--page); }
.team-country { display: grid; grid-template-columns: minmax(200px, 1fr) 3.4fr; gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(2rem, 4vh, 3rem); border-top: 1px solid var(--line); }
.team-country-head h3 { font-size: var(--step-2); }
.team-country-head p { margin: .5rem 0 0; color: var(--muted); font-size: var(--step--1); }
.team-country-head .team-lines { display: grid; gap: .3rem; margin-top: 1rem; }
.team-lines span { font-family: var(--font-accent); font-size: .7rem; letter-spacing: .06em; color: var(--muted); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(1.4rem, 2vw, 2rem) clamp(1rem, 1.6vw, 1.5rem); }
.person { display: grid; align-content: start; font-size: var(--step--1); line-height: 1.4; }
.person figure { margin: 0 0 .8rem; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, #f2f3f4 0%, #9ea3a8 100%); border-bottom: 2px solid var(--va-copper); }
.person img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person .no-photo { display: grid; place-items: center; }
.person .no-photo span { font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; letter-spacing: .04em; color: #fff; }
.person b { font-weight: 400; color: var(--heading); }
.person span { font-family: var(--font-accent); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: .15rem 0 .25rem; }
.person a { justify-self: start; color: var(--text); }
.person a:hover { color: var(--copper-lift); }
.people-more { display: inline-block; margin-top: 1rem; font-family: var(--font-accent); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--va-copper); }
@media (max-width: 900px) {
  .team-country { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
@media (min-width: 1200px) { .team-grid { grid-template-columns: repeat(6, 1fr); } }
.team-unit { font-family: var(--font-accent); font-size: .72rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--va-copper) !important; }
.team-grid.is-collapsed .person-more { display: none; }
.team-grid:not(.is-collapsed) .person-more { animation: team-in .5s var(--ease) both; }
@keyframes team-in { from { opacity: 0; transform: translateY(12px); } }
.team-toggle { margin-top: 1.6rem; padding: .8rem 1.4rem; font: inherit; font-family: var(--font-accent); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); background: transparent; border: 1px solid var(--line-strong); cursor: pointer; }
.team-toggle::after { content: ' +'; color: var(--va-copper); }
.team-toggle[aria-expanded="true"]::after { content: ' \2212'; }
.team-toggle:hover { border-color: var(--va-copper); color: var(--copper-lift); }
.team-toggle:focus-visible { outline: 2px solid var(--va-copper); outline-offset: 3px; }
.team-country { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) { .team-grid .person-more { animation: none !important; } }
.offices.glass > .people-more { grid-column: 1 / -1; justify-self: start; margin-top: clamp(1.2rem, 2vw, 1.6rem); }

/* Contact, split: text and short unit details on the left, the map on the right. */
.contact .contact-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.contact-split .contact-intro { padding-block: 0; }
.contact-units { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.5vw, 2.2rem); margin-top: clamp(1.8rem, 4vh, 2.6rem); padding-top: clamp(1.4rem, 3vh, 2rem); border-top: 1px solid var(--line); }
.contact-units h3 { font-size: var(--step-1); font-weight: 400; margin: 0 0 .6rem; }
.contact-units p:not(.office-country) { margin: 0 0 .6rem; font-size: var(--step--1); color: var(--muted); line-height: 1.55; }
.contact-units a { color: var(--heading); }
.contact-units a:hover { color: var(--va-copper); }
.contact-split .people-more { margin-top: clamp(1.2rem, 2.5vh, 1.8rem); }
.contact-map-side { margin: 0; justify-self: center; width: 100%; max-width: 560px; }
.contact-map-side img { width: 100%; height: auto; display: block; }
@media (max-width: 1100px) {
  .contact .contact-split { grid-template-columns: 1fr; }
  .contact-map-side { max-width: 420px; justify-self: start; }
}
@media (max-width: 560px) { .contact-units { grid-template-columns: 1fr; } }
.contact-cta { margin: clamp(1.4rem, 3vh, 2rem) 0 0; }
