/* Vandalai — layout & components.
 * Geometry transcribed from Figma node data (design/desktop-spec.txt,
 * design/mobile-spec.txt). Canonical widths: 1920 (desktop), 504 (mobile). */

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  /* Unpainted frame regions (the band between innovation and process, the
     mobile chips area) composite over black in the prototype — the dark
     sections flow into each other. */
  background: var(--neutral-950);
  color: var(--ink);
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

/* ---------- Header (desktop: large nav; 134px tall) ----------
   Sticky on both breakpoints: solid light at rest, glassmorphism (the MENU
   component's #CBD3DE 40% + 21.4px blur variant) once scrolled. */

.site-header {
  container-type: inline-size;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  height: 134px;
  padding: 17px var(--page-margin) 0;
  background: var(--neutral-50);
  transition: background 0.3s ease, border-radius 0.3s ease;
}

/* Floating glass menu — MENU component: 504x76, #CBD3DE 40% + 21.4px
   background blur, radius 20. Fades in once the page is scrolled (the
   prototype behavior: the header itself scrolls away). */
.menu-pill {
  position: fixed;
  top: 25px;
  left: 50%;
  translate: -50% 0;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 504px;
  height: 76px;
  padding: 0 27px 0 33px;
  border-radius: 20px;
  background: rgb(203 211 222 / 0.4);
  -webkit-backdrop-filter: blur(21.4px);
  backdrop-filter: blur(21.4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.is-scrolled .menu-pill {
  opacity: 1;
  pointer-events: auto;
}

.menu-pill a {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--ink);
  font-size: var(--text-menu);
  line-height: var(--lh-menu);
  font-weight: 300;
}

.menu-pill a + a {
  margin-left: 30px;
}

.menu-pill-icon {
  width: 35px;
  height: 35px;
  margin-top: 4px; /* icon y21 vs text y17 in the MENU component */
  image-rendering: pixelated;
}

.menu-pill-logo {
  width: 42px;
  height: 36px;
  margin-left: auto;
  object-fit: contain;
}

/* Nav sizes are capped by the header's own width (cqw) so a squeezed
   embedding (e.g. a preview panel narrower than the window) scales the nav
   down instead of colliding with the logo. At the 1920 canvas the caps
   resolve to the design values. */
.site-nav {
  display: flex;
  gap: min(120px, 6.6cqw); /* Solution group 50..296, Process group starts 416 */
  transition: gap 0.35s ease;
}

.nav-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  font-size: min(var(--text-nav), 3.4cqw);
  line-height: 1.25;
  font-weight: 300;
  white-space: nowrap;
  transition: font-size 0.35s ease, gap 0.35s ease;
}

.nav-icon {
  width: min(88px, 7.6cqw);
  height: auto;
  margin-top: 10px; /* icon y27 vs text y17 */
  image-rendering: pixelated;
}

/* Brand (design update 2026-08-12): the header logo is the designer's
   animated lockup GIF (V + VANDALAI cycle, 2009x352 master, 6.4s loop),
   pulled from the file's image fills. The pill/mobile states swap to the
   V-only loop GIF (Logo_v_loop_v3). Lottie sources archived in design/. */
.brand {
  display: flex;
  align-items: center;
  margin-top: 10px;
  transition: margin-top 0.35s ease;
}

.brand-lockup {
  width: min(502px, 34cqw);
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 0;
  height: auto;
  opacity: 0;
  object-fit: contain;
}

/* Hover: the logo and the Solution/Process icons transition to brand orange.
   The filter chain maps the dark glyphs to exactly #F97F11 (orange-400) and
   applies live to the animated GIF frames. */
.nav-icon,
.brand img,
.menu-pill-icon,
.menu-pill-logo {
  transition: filter 0.3s ease, width 0.35s ease, margin-top 0.35s ease, opacity 0.35s ease;
}

.nav-link:hover .nav-icon,
.brand:hover img,
.menu-pill a:hover .menu-pill-icon,
.menu-pill-logo:hover,
.footer-logo:hover {
  filter: brightness(0) saturate(100%) invert(45%) sepia(100%) saturate(1235%) hue-rotate(-5deg) brightness(109%) contrast(95%);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--neutral-50);
  padding: 71px var(--page-margin) 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 1820 / 1024;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  position: relative;
  margin: 53px 0 0 56px;
  max-width: 696px;
  color: #FFFFFF;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: 400;
}

/* Headline segments — the design dimmed these (white at reduced opacity
   over the media); all full white per client feedback. */
.reveal--hero    { color: #FFFFFF; }
.reveal--water   { color: #FFFFFF; }
.reveal--process { color: #FFFFFF; }

/* ---------- Intro cards (about + value) ---------- */

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px var(--page-margin) 0;
  background: var(--neutral-50);
}

.intro-card {
  border-radius: var(--radius-card);
  min-height: 653px;
  padding: 42px 46px;
}

.intro-card--about {
  background: var(--neutral-300);
}

.intro-card--value {
  background: var(--orange-300);
}

.intro-text {
  max-width: 815px;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: 400;
}

/* Single tone per client feedback (design had a three-tone gray fade) */
.tone-dark,
.tone-mid,
.tone-light { color: var(--neutral-600); }

.intro-text--value {
  color: #FFFFFF;
}

/* ---------- Clients strip ---------- */

/* ---------- Brand film showcase ---------- */

.showcase {
  padding: 16px var(--page-margin) 0;
  background: var(--neutral-50);
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 16 / 9; /* full film, no crop */
}

.showcase-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clients {
  background: var(--neutral-50);
  padding: 76px 157px 119px;
}

.clients-strip {
  --wstep: 160ms; /* logos fade in one by one, left to right */
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 65px;
  overflow-x: auto;
  scrollbar-width: none;
}

.clients-strip::-webkit-scrollbar {
  display: none;
}

/* Design gaps are uneven: 275 / 249 / 237 / 238 */
.clients-strip li:nth-child(1) { margin-bottom: 7px; }
.clients-strip li:nth-child(2) { margin-left: 275px; }
.clients-strip li:nth-child(3) { margin-left: 249px; }
.clients-strip li:nth-child(4) { margin-left: 237px; }
.clients-strip li:nth-child(5) { margin-left: 238px; }

.clients-strip li {
  flex: 0 0 auto;
}

.clients-strip img {
  width: auto;
  max-width: none;
}

/* ---------- Water removal unit (full bleed) ---------- */

.water {
  position: relative;
  aspect-ratio: 1920 / 1080;
}

/* Anchor targets land clear of the sticky header */
.water,
.process {
  scroll-margin-top: 134px;
}

.water-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.water-title {
  position: relative;
  margin: 0;
  padding: 51px 0 0 96px;
  max-width: 762px; /* 666 text box + 96 left pad */
  color: #FFFFFF;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: 400;
}

/* ---------- Core innovation (black band, 812 tall) ---------- */

.innovation {
  min-height: 812px;
  /* Side padding keeps the 1467px text block off the edges on sub-1570px
     desktops (client feedback 2026-08-17). */
  padding: 166px var(--page-margin) 0;
  background: var(--neutral-950);
  color: #FFFFFF;
  text-align: center;
}

.innovation-title {
  margin: 0;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: 300;
}

.innovation-text {
  margin: 47px auto 0;
  max-width: 1467px;
  font-size: var(--text-body-lg);
  line-height: var(--lh-body-lg);
  font-weight: 300;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 14px;
  margin: 97px auto 0;
  padding: 0;
  max-width: 1440px;
  list-style: none;
}

.chip {
  display: flex;
  align-items: center;
  min-height: 59px;
  padding: 0 24px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 300;
  text-align: left;
  white-space: nowrap;
}

.chip-plus {
  margin-right: 24px;
  font-size: 1.25em; /* checkmark glyph; scales with the chip */
  line-height: 1.28;
  font-weight: 600;
}

/* ---------- Process (gradient band, 1377 tall incl. white gap above) ---------- */

.process {
  position: relative;
  /* the unpainted band above renders black — carried as a border so it
     never depends on the page ground */
  border-top: 115px solid var(--neutral-950);
  min-height: 1492px; /* 1377 + 115 border (border-box) */
  padding: 66px var(--page-margin) 140px;
  background: var(--grad-process);
}

/* Full-width black strip behind the card, visible in the side margins */
.process::before {
  content: "";
  position: absolute;
  top: 517px;
  left: 0;
  right: 0;
  height: 89px;
  background: var(--neutral-950);
}

.process-title {
  margin: 0 0 0 46px; /* 96 abs − 50 page margin */
  color: #FFFFFF;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: 400;
}

.process-card {
  position: relative;
  overflow: hidden;
  margin-top: 66px;
  border-radius: var(--radius-card);
  aspect-ratio: 1820 / 1024;
}

/* Monitoring software dashboard card (design update 2026-08-12) */
.process-card--monitor {
  margin-top: 90px;
  aspect-ratio: 1920 / 920;
}

.process-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Video sound toggles (bottom-right of each video card) ---------- */

.sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(203 211 222 / 0.4);
  -webkit-backdrop-filter: blur(21.4px);
  backdrop-filter: blur(21.4px);
  color: #FFFFFF;
  cursor: pointer;
}

.sound-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

.sound-toggle .icon-on { display: none; }
.sound-toggle[aria-pressed="true"] .icon-on { display: block; }
.sound-toggle[aria-pressed="true"] .icon-off { display: none; }

/* ---------- People ---------- */

.people {
  background: var(--neutral-50);
  padding: 107px var(--page-margin) 0;
}

.people-title {
  margin: 0;
  color: #000000;
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: 400;
}

/* Full-bleed carousel (client request): the row breaks out of the page
   margins and consumes the entire viewport width; cards grow evenly and
   their content scales with them (cqw). Scrolls when it can't fit. */
.people-cards {
  display: flex;
  gap: 10px;
  margin: 49px calc(-1 * var(--page-margin)) 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.people-cards::-webkit-scrollbar {
  display: none;
}

.person {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  flex: 1 0 356px; /* design proportions at 356x593, growing to fill */
  aspect-ratio: 356 / 593;
  border-radius: var(--radius-card);
  background: var(--card-people);
}

.person-photo {
  position: absolute;
  top: 0;
  left: -37.92%;  /* -135px at the 356px design card */
  width: 166.57%; /* 593px square at the 356px design card */
  height: auto;
  max-width: none;
  object-fit: cover;
}

.person::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-people-overlay);
}

.person-info {
  position: absolute;
  top: 68.97%; /* 409px at the 593px design card */
  left: 8.43%; /* 30px at the 356px design card */
  z-index: 1;
  color: var(--neutral-800);
}

.person-role {
  font-size: 4.49cqw; /* 16px at the 356px design card */
  line-height: 1.25;
}

.person-name {
  margin-top: 3.37cqw;
  font-size: 8.99cqw; /* 32px at the 356px design card */
  line-height: 1.25;
  font-weight: 500;
}

.person-contact {
  margin-top: 3.37cqw;
  margin-left: 0.56cqw;
  font-size: 6.74cqw; /* 24px at the 356px design card */
  line-height: 1.25;
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 902fr 900fr;
  gap: 18px;
  padding: 107px var(--page-margin) 0;
  background: var(--neutral-50);
}

.contact-pitch {
  min-height: 593px;
  padding: 42px 46px;
  border-radius: var(--radius-card);
  background: var(--orange-300);
  color: var(--neutral-800);
  font-size: var(--text-display);
  line-height: var(--lh-display);
}

.contact-pitch p {
  max-width: 815px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 593px;
  padding: 51px 47px 0;
  border-radius: var(--radius-card);
  background: var(--neutral-800);
}

.form-field {
  height: 59px;
  padding: 0 32px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-card);
  background: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 300;
}

.form-field::placeholder {
  color: #FFFFFF;
  opacity: 1;
}

.form-field--area {
  height: 215px;
  padding-top: 14px;
  resize: none;
}

.form-send {
  height: 59px;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--neutral-300);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 300;
  cursor: pointer;
}

/* Dummy success state until a real endpoint exists */
.contact-form.is-sent .form-field,
.contact-form.is-sent .form-send {
  display: none;
}

.form-success {
  margin: auto 0;
  color: #FFFFFF;
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 300;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  height: 397px;
  margin-top: 57px;
  padding: 51px var(--page-margin) 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--neutral-400);
  color: var(--neutral-800);
  font-size: var(--text-base);
  line-height: var(--lh-base);
}

/* Light ground above the footer and behind its rounded top corners */
.site-footer::before {
  content: "";
  position: absolute;
  inset: -57px 0 auto 0;
  height: 87px;
  z-index: -1;
  background: var(--neutral-50);
}

.footer-contact p + p {
  margin-top: 21px;
}

.footer-place {
  position: absolute;
  top: 102px;
  font-style: normal;
}

/* Design positions (416/783/1148 at the 1920 canvas) as percentages so
   narrow desktop widths compress instead of overflowing; floors keep the
   columns clear of each other down to the 1025px breakpoint. */
.footer-place--oslo       { left: max(280px, 21.67%); }
.footer-place--porsgrunn  { left: max(500px, 40.78%); }
.footer-place--trondheim  { left: max(720px, 59.79%); }

.footer-logo {
  position: absolute;
  top: 56px;
  right: var(--page-margin);
  width: 100px;
  height: 85px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.footer-copy {
  position: absolute;
  bottom: 50px;
  left: var(--page-margin);
}

.footer-disclaimer {
  position: absolute;
  bottom: 22px;
  left: var(--page-margin);
  right: var(--page-margin);
  font-size: var(--text-tiny);
  line-height: var(--lh-tiny);
  opacity: 0.7;
}

/* ---------- Motion: scroll fade-ins (JS-driven; without JS everything is
   visible). Per client decision these play regardless of reduced-motion. */

html.js [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.6s ease-out, translate 0.6s ease-out;
}

html.js [data-reveal].in-view {
  opacity: 1;
  translate: 0 0;
}

/* Word-by-word reveal on the headlines and key texts: words fade in in
   sequence, once per page load. */
html.js .wfade .word {
  opacity: 0;
  transition: opacity 0.45s ease-out;
  transition-delay: calc(var(--wi) * var(--wstep, 120ms));
}

html.js .wfade.in-view .word {
  opacity: 1;
}

/* Long texts get a tighter word stagger so the full reveal stays under ~2s */
.intro-card--about .intro-text { --wstep: 70ms; }
.innovation-text { --wstep: 40ms; }

/* ============================================================
   Mobile / compact (canonical 504px canvas, 20px margins)
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    /* 504-canvas sizes, scaling down proportionally on narrower phones */
    --text-display: min(32px, calc(100vw * 0.0635));
    --lh-display: min(40px, calc(100vw * 0.0794));
    --page-margin: 20px;
  }

  /* Header becomes the MENU component bar (504x76): sticky, solid light at
     rest, glassmorphism once scrolled. */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    align-items: center;
    justify-content: flex-start;
    height: 76px;
    padding: 0 27px 0 33px;
    /* Square at rest so no black shows behind the corners at page top;
       the pill radius belongs to the scrolled glass state. */
    background: var(--neutral-50);
  }

  .menu-pill {
    display: none;
  }

  body.is-scrolled .site-header {
    border-radius: 20px;
    background: rgb(203 211 222 / 0.4);
    -webkit-backdrop-filter: blur(21.4px);
    backdrop-filter: blur(21.4px);
  }

  .site-nav {
    gap: 30px; /* groups at 33..149 and 179..291 */
  }

  .nav-link {
    align-items: flex-start;
    gap: 6px;
    font-size: var(--text-menu);
    line-height: var(--lh-menu);
  }

  .nav-icon {
    width: 35px;
    height: 35px;
    margin-top: 4px; /* icon y21 vs text y17 in the MENU component */
  }

  .brand {
    margin-left: auto;
    margin-top: 0;
  }

  .brand-lockup {
    display: none; /* mobile keeps the V-only mark */
  }

  .brand-mark {
    width: 42px;
    height: 36px;
    opacity: 1;
  }

  /* Hero: card 464x631 at y88 (12px below the 76px menu) */
  .hero {
    padding: 12px var(--page-margin) 0;
  }

  .hero-card {
    aspect-ratio: 464 / 631;
  }

  .hero-title {
    margin: 25px 0 0 22px;
    max-width: 438px;
  }

  /* Intro cards stack: about 335, gap 9, orange 336 */
  .intro {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 9px;
  }

  .intro-card {
    height: auto;
    min-height: 335px;
    padding: 24px;
  }

  /* one empty text line below "and more sustainable." */
  .intro-card--about {
    padding-bottom: 64px;
  }

  .intro-text {
    max-width: 426px;
  }

  .showcase {
    padding: 9px var(--page-margin) 0;
  }

  /* Clients: overflowing horizontal strip, design order 1, 2, 4, 5, 3 with
     47/42/34/25 gaps. Centered when it fits; scrollable from the start edge
     when it doesn't (no cut-off logos). */
  .clients {
    padding: 74px 0 93px;
  }

  .clients-strip {
    justify-content: safe center;
    gap: 0;
    padding: 0 var(--page-margin);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .clients-strip::-webkit-scrollbar {
    display: none;
  }

  .clients-strip {
    align-items: flex-start;
  }

  .clients-strip li:nth-child(1) { order: 1; margin-bottom: 0; }
  .clients-strip li:nth-child(2) { order: 2; margin-left: 47px; }
  .clients-strip li:nth-child(4) { order: 3; margin-left: 42px; }
  .clients-strip li:nth-child(5) { order: 4; margin-left: 34px; }
  .clients-strip li:nth-child(3) { order: 5; margin-left: 25px; margin-top: 8px; }

  /* Water: full-bleed 504x436 */
  .water {
    aspect-ratio: 504 / 436;
  }

  /* Anchor targets clear the 76px sticky header */
  .water,
  .process {
    scroll-margin-top: 76px;
  }

  .water-title {
    padding: 12px 0 0 43px;
    max-width: 386px;
  }

  /* Innovation: 379-tall black band; the chips sit BELOW it on the unpainted
     (white) gap, exactly as the design renders them. */
  .innovation {
    min-height: 0;
    height: auto;
    padding-top: 0;
  }

  .innovation-band {
    /* The design's black rect is 379 tall but starts 3px under the water
       image; visible height below it is 376. */
    min-height: 376px;
    padding-top: 68px;
    background: var(--neutral-950);
  }

  /* chips sit on the black passage between band and process */
  .innovation {
    background: var(--neutral-950);
    padding-bottom: 1px; /* contain the chips margin */
  }

  .innovation-text {
    margin: 33px auto 0;
    max-width: 409px;
    font-size: min(24px, calc(100vw * 0.0476));
    line-height: min(30px, calc(100vw * 0.0595));
  }

  .chips {
    gap: 11px;
    margin-top: 21px;
    max-width: 464px;
    color: #FFFFFF; /* white on white, as designed */
  }

  /* Mobile chip order differs from desktop: Reduced downtime leads */
  .chip:nth-child(1) { order: 3; }
  .chip:nth-child(2) { order: 1; }
  .chip:nth-child(3) { order: 2; }
  .chip:nth-child(4) { order: 4; }
  .chip:nth-child(5) { order: 5; }

  .chip {
    min-height: 42px;
    padding: 0 17px;
    border-width: 0.72px;
    border-radius: 21.5px;
    /* Fluid one-liner: text budget = viewport − margins/padding/plus (107px
       fixed); 17.18px at the 504px design width, shrinking below it. */
    font-size: min(17.18px, calc((100vw - 107px) * 0.0433));
    line-height: 1.28;
  }

  .chip-plus {
    margin-right: 17px;
  }

  /* Process */
  .process {
    border-top-width: 74px;
    min-height: 518px; /* 444 + 74 border */
    height: auto;
    padding: 16px var(--page-margin) 40px;
  }

  .process::before {
    content: none; /* strip is fully covered by the card on mobile */
  }

  .process-title {
    margin-left: 23px;
  }

  .process-card {
    margin-top: 36px;
    aspect-ratio: 464 / 261;
  }

  .process-card--monitor {
    margin-top: 24px;
    aspect-ratio: 1920 / 920;
  }

  /* People: horizontal scroll, cards 229x381 */
  .people {
    padding-top: 51px;
  }

  .people-cards {
    gap: 6px;
    margin-top: 34px;
    padding: 0 var(--page-margin); /* cards rest at the design inset */
    overflow-x: auto;
    scrollbar-width: none;
  }

  .people-cards::-webkit-scrollbar {
    display: none;
  }

  .person {
    flex: 0 0 229px;
    width: 229px;
    height: 381px;
    border-radius: 19.27px;
  }

  .person-photo {
    left: -87px;
    width: 381px;
    height: 381px;
  }

  .person-info {
    top: 263px;
    left: 19px;
  }

  .person-role {
    font-size: 10.28px;
    line-height: 13px;
  }

  .person-name {
    margin-top: 7px;
    font-size: 20.56px;
    line-height: 26px;
  }

  .person-contact {
    margin-top: 8px;
    font-size: 15.42px;
    line-height: 19px;
  }

  /* Contact stack */
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  .contact-pitch {
    height: auto;
    min-height: 306px;
    /* one empty text line below "sustainability goals." */
    padding: 22px 24px 62px;
    border-radius: 15.5px;
  }

  .contact-pitch p {
    max-width: 420px;
  }

  .contact-form {
    min-height: 481px;
    padding: 41px 24px 0;
    border-radius: 24.3px;
    gap: 12px;
  }

  .form-field {
    height: 48px;
    padding: 0 17px;
    border-width: 0.81px;
    border-radius: 24.3px;
    font-size: min(19.47px, calc(100vw * 0.0386));
    line-height: min(24px, calc(100vw * 0.0476));
  }

  .form-field--area {
    height: 175px;
    padding-top: 12px;
  }

  .form-send {
    height: 48px;
    border-radius: 24.3px;
    font-size: min(19.47px, calc(100vw * 0.0386));
    line-height: min(24px, calc(100vw * 0.0476));
  }

  .form-success {
    font-size: min(19.47px, calc(100vw * 0.0386));
    line-height: min(24px, calc(100vw * 0.0476));
  }

  .sound-toggle {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }

  .sound-toggle svg {
    width: 17px;
    height: 17px;
  }

  /* Footer: 549 tall, stacked places */
  .site-footer {
    height: 549px;
    margin-top: 35px;
    padding-top: 51px;
    font-size: min(24px, calc(100vw * 0.0476));
    line-height: min(30px, calc(100vw * 0.0595));
  }

  .site-footer::before {
    inset: -35px 0 auto 0;
    height: 65px;
  }

  .footer-place {
    position: static;
    margin-top: 67px;
  }

  .footer-place--porsgrunn { margin-top: 14px; }
  .footer-place--trondheim { margin-top: 14px; }

  .footer-logo {
    top: 56px;
    right: var(--page-margin);
    width: 82px;
    height: 70px;
  }

  .footer-copy {
    bottom: 74px;
  }

  .footer-disclaimer {
    bottom: 16px;
    font-size: min(16px, calc(100vw * 0.0317));
    line-height: min(20px, calc(100vw * 0.0397));
  }
}

/* Beyond 1920px the whole canvas is scaled up proportionally via a JS-set
   zoom on <html> (see js/main.js) so the layout stays full-bleed. */

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .menu-pill,
  .site-nav,
  .nav-link,
  .nav-icon,
  .brand img {
    transition: none;
  }
}
