/* Done Properly — landing 2026. Tokens from references/brand/DESIGN.md */
:root {
  --bg: #000000;
  --surface: #0f0f0f;
  --surface-2: #161616;
  --ink: #ffffff;
  --ink-soft: #d9d9d9;
  --muted: #a6a6a6;
  --accent: #ddf339;
  --on-accent: #000000;
  --paper: #ffffff;
  --on-paper: #000000;

  --font-head: "Overpass", "Open Sans", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-sm: 14px;
  --t-body: 17px;
  --t-md: clamp(24px, 2.4vw, 34px);
  --t-lg: clamp(40px, 6vw, 92px);
  --t-xl: clamp(56px, 10vw, 168px);

  --margin: clamp(20px, 4vw, 64px);
  --section: clamp(120px, 14vw, 200px);
  --radius: 0.5rem;
  --radius-media: 1rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* No single word left alone on the last line of running text. */
p,
dd,
li {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease;
}

.btn:hover {
  background: #e8fa6a;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* The accent belongs to the primary action; every other button on black is outlined and only takes the accent on hover. */
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition:
    transform 180ms var(--ease),
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.link {
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 6px;
  transition: text-decoration-color 180ms ease;
}

.link:hover {
  text-decoration-color: var(--ink);
}

/* Navigation */
/* The nav stays with the reader: transparent over the hero, a solid black bar once the page scrolls,
   so "Conversemos" is always one tap away. */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px var(--margin);
  transition:
    padding 240ms var(--ease),
    background-color 240ms var(--ease);
}

.nav.is-stuck {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(0, 0, 0, 0.94);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-logo img {
  width: 132px;
  transition: width 240ms var(--ease);
}

.nav.is-stuck .nav-logo img {
  width: 104px;
}

section[id] {
  scroll-margin-top: 80px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.lang {
  display: flex;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
}

.lang a {
  padding: 6px 8px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current="true"] {
  color: var(--ink);
  background: var(--surface-2);
}

.nav .btn {
  min-height: 44px;
}

/* Past the first screen, «Conversemos» becomes the primary action, unless another primary button is on screen. */
.nav.is-past-hero:not(.has-primary) .btn-outline {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.nav.is-past-hero:not(.has-primary) .btn-outline:hover {
  background: #e8fa6a;
  box-shadow: inset 0 0 0 1.5px #e8fa6a;
}

/* Menu for narrow screens, where the section links no longer fit in the bar. */
.nav-menu {
  display: none;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

/* Two bars that close into one line when the menu is open. */
.nav-menu summary::after {
  content: "";
  width: 14px;
  height: 8px;
  border-block: 2px solid currentColor;
  transition: height 200ms var(--ease);
}

.nav-menu[open] summary::after {
  height: 2px;
  border-bottom-width: 0;
}

.nav-menu[open] summary {
  background: var(--surface-2);
}

.nav-menu-panel {
  position: absolute;
  inset: 100% 0 auto;
  padding: 8px var(--margin) 28px;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid #262626;
}

.nav-menu-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu-panel li a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-top: 1px solid #262626;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.nav-menu-lang {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 600;
}

.nav-menu-lang a {
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  min-height: 44px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
}

.nav-menu-lang a[aria-current="true"] {
  color: var(--ink);
  background: var(--surface-2);
}

/* Hero */
/* The whole hero fits the first screen at any size: the photo fills the screen behind the text,
   the text sits at the bottom, and the headline scales with the screen height as well as its width. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 112px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media picture {
  display: block;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 40%;
  filter: brightness(0.9) contrast(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  /* scrim that lets the photo sink into the ground. taste-skill-ignore */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) /* taste-skill-ignore */ 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.88) 74%, #000 100%);
}

@keyframes hero-drift {
  from {
    transform: scale(1.01) translateX(0);
  }
  to {
    transform: scale(1.04) translateX(-1%);
  }
}

.hero-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  padding: 0 var(--margin) clamp(32px, 5vw, 64px);
}

.hero h1 {
  grid-column: 1 / 9;
  font-size: min(clamp(56px, 8.5vw, 140px), 13svh);
}

.hero-side {
  grid-column: 9 / 13;
  display: grid;
  gap: 24px;
  padding-bottom: 0.6em;
}

.hero-side p {
  color: var(--ink-soft);
}

.hero-actions .link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

/* Intro staircase */
.intro {
  display: grid;
  grid-template-columns: 1fr 30vw;
  grid-template-rows: auto auto 1fr;
  gap: 48px 4vw;
  align-items: start;
  padding: var(--section) var(--margin) 0 4vw;
}

.stair {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.stair span {
  display: block;
}

.stair span:nth-child(1) {
  padding-left: 0;
}
.stair span:nth-child(2) {
  padding-left: 6vw;
  color: var(--ink-soft);
}
/* The loss itself is the largest thing in the sentence. */
.stair .stair-figure {
  padding-left: 6vw;
  margin: 0.02em 0 0;
  font-size: clamp(96px, 13vw, 200px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.stair span:nth-child(4) {
  padding-left: 12vw;
}
.stair span:nth-child(5) {
  padding-left: 18vw;
  color: var(--ink-soft);
}
.stair span:nth-child(6) {
  padding-left: 24vw;
  font-weight: 600;
}

/* The answer ends on the brand's dot: the full stop of the closing line takes the logo's lime. */
.stair-dot {
  font-style: normal;
  color: var(--accent);
}

/* The sentence arrives line by line, as it is read; the figure lands a beat later and a little heavier. */
.stair.reveal {
  opacity: 1;
  transform: none;
}

.stair.reveal > span {
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 520ms var(--ease),
    transform 620ms var(--ease);
}

.stair.reveal.in > span {
  opacity: 1;
  transform: none;
}

.stair > span:nth-child(2) { transition-delay: 90ms; }
.stair > span:nth-child(3) { transition-delay: 220ms; }
.stair > span:nth-child(4) { transition-delay: 380ms; }
.stair > span:nth-child(5) { transition-delay: 560ms; }
.stair > span:nth-child(6) { transition-delay: 720ms; }

.stair.reveal > .stair-figure {
  transform: translateY(0.12em) scale(0.96);
  transform-origin: left bottom;
}

@media (prefers-reduced-motion: reduce) {
  .stair.reveal > span,
  .stair.reveal > .stair-figure {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.intro-photos {
  display: grid;
  gap: 16px;
  grid-column: 2;
  grid-row: 1 / span 3;
}

/* The figure in the staircase carries its source, small and quiet. */
.stair-source {
  grid-column: 1;
  margin-top: -24px;
  font-size: 13px;
  color: var(--muted);
}

.stair-source a {
  display: inline-block;
  padding: 12px 2px;
  margin: -12px -2px;
  text-underline-offset: 3px;
}

.intro-photos img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-media);
}

.intro-note {
  grid-column: 1;
  align-self: end;
  margin-bottom: 8px;
  max-width: 40ch;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
}

/* What we do: three verbs, each a row with its picture. Not a sequence, so no numbers. */
.pillars {
  padding: var(--section) var(--margin) 0;
}

.pillars h2,
.markets-head h2,
.teaser h2,
.proof h2 {
  font-size: var(--t-lg);
}

.pillar-list {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.pillar-list li {
  display: grid;
  grid-template-columns: 5fr 5fr 3fr;
  gap: 24px 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid #262626;
}

.pillar-list h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: var(--t-md);
  line-height: 1.05;
}

/* Brand icons (references/brand/iconos, colour set) in a square box, so the wide and the tall ones line up. */
.pillar-icon {
  flex: none;
  width: clamp(44px, 4vw, 60px);
  height: clamp(44px, 4vw, 60px);
  object-fit: contain;
}


.pillar-list p {
  max-width: 46ch;
  color: var(--ink-soft);
}

.pillar-list li > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-media);
}

/* Markets: three pictures, each a door to its products */
.markets {
  padding: var(--section) var(--margin) 0;
}

.markets-head p {
  max-width: 40ch;
  margin-top: 20px;
  font-size: var(--t-md);
  line-height: 1.3;
  color: var(--ink-soft);
}

.market-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.market-list a {
  display: block;
  text-decoration: none;
}

.market-list img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-media);
  transition: transform 400ms var(--ease);
}

.market-list a:hover img {
  transform: scale(1.02);
}

.market-list h3 {
  margin-top: 20px;
  font-size: var(--t-md);
  line-height: 1.1;
}

.market-list p {
  margin-top: 8px;
  max-width: 38ch;
  color: var(--ink-soft);
}

.market-list .link {
  display: inline-block;
  margin-top: 12px;
}

.market-list a:hover .link {
  text-decoration-color: var(--ink);
}

/* Product teaser: names set large, one line each */
.teaser {
  padding: var(--section) var(--margin) 0;
}

.teaser-list {
  margin: 48px 0 40px;
  padding: 0;
  list-style: none;
}

/* Each product is one row and one link: name with its markets on the left, what it does and its data in
   the middle, an arrow that steps forward on the right. */
.teaser-list a {
  display: grid;
  grid-template-columns: 5fr 6fr auto;
  grid-template-areas:
    "name desc go"
    "tags desc go";
  grid-template-rows: auto 1fr;
  gap: 14px 48px;
  padding: 32px 0;
  border-top: 1px solid #262626;
  text-decoration: none;
}

.teaser-list h3 {
  grid-area: name;
}

.teaser-list a > div {
  grid-area: desc;
  max-width: 48ch;
}

.teaser-list .tags {
  grid-area: tags;
  align-self: start;
}

.teaser-list a::after {
  content: "";
  grid-area: go;
  align-self: center;
  width: 28px;
  height: 28px;
  background: var(--ink-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7h10M8 3l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7h10M8 3l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition:
    transform 220ms var(--ease),
    background-color 160ms ease;
}

.teaser-list a:hover::after,
.teaser-list a:focus-visible::after {
  background: var(--ink);
  transform: translateX(6px);
}

.teaser-list li:last-child a {
  border-bottom: 1px solid #262626;
}

.teaser-list h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.teaser-list a:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.teaser-list p {
  color: var(--ink-soft);
}

.teaser-list .teaser-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 12px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
}

/* What a buyer needs before asking: samples, origin and stock, and the plants' certifications.
   Four facts in a row, each with its brand icon; they sit under the product list. */
.assurances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  margin: 0 0 48px;
  padding: 28px 0 0;
  list-style: none;
}

.assurances li {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  gap: 4px 14px;
  align-content: start;
}

.assurances img {
  grid-area: icon;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.assurances strong {
  grid-area: title;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

.assurances span {
  grid-area: text;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.assure-section {
  padding: 0 var(--margin) clamp(56px, 7vw, 96px);
}

.assure-section .assurances {
  margin: 0;
  padding-top: 40px;
  border-top: 1px solid #262626;
}

@media (max-width: 1024px) {
  .assurances {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .assurances {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .assure-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Delight: pointing at a product shows where it ends up (the burger, the salmon farm, the dog's bowl).
   The photo rises out of the row like a card being pulled; touch screens keep the plain list. */
.teaser-peek {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1100px) {
  /* the photo gets its own column, so it never covers the text being read */
  .teaser-list a {
    grid-template-columns: 4fr 5fr clamp(168px, 15vw, 232px) auto;
    grid-template-areas:
      "name desc peek go"
      "tags desc peek go";
    column-gap: 40px;
  }

  .teaser-peek {
    display: block;
    grid-area: peek;
    align-self: center;
    /* it floats over the row's padding instead of making every row taller */
    margin-block: -44px;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-media);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    opacity: 0;
    clip-path: inset(100% 0 0 0 round 14px);
    transform: translateY(14%) rotate(var(--tilt, -3deg)) scale(0.94);
    transition:
      clip-path 420ms var(--ease),
      transform 520ms var(--ease),
      opacity 200ms ease;
    pointer-events: none;
  }

  .teaser-list li:nth-child(even) .teaser-peek {
    --tilt: 3deg;
  }

  .teaser-list a:hover .teaser-peek,
  .teaser-list a:focus-visible .teaser-peek {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 14px);
    transform: rotate(var(--tilt, -3deg)) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .teaser-peek {
    clip-path: none !important;
    transition: opacity 120ms linear !important;
    transform: none !important;
  }
}

.teaser-spec span + span {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid #3a3a3a;
}

/* Secondary call for whoever generates a by-product */
.byproduct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin: var(--section) var(--margin) 0;
  padding: 40px;
  border-radius: var(--radius-media);
  background: var(--surface-2);
}

.byproduct h2 {
  font-size: var(--t-md);
  line-height: 1.1;
}

.byproduct p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* Track record, programmes and the logo band */
.proof {
  margin-top: var(--section);
  padding: clamp(80px, 9vw, 128px) var(--margin);
  background: var(--surface);
}

/* Each year starts a segment of the line in the colour of what it began: the brand yellow for the company,
   RAISE's fuchsia for 2023, nucleva's lime for the pet and livestock line. The segments draw left to right
   as the years enter; the arrow at the end says the story goes on. */
.timeline {
  --year: clamp(48px, 5.5vw, 88px);
  --mid: calc(var(--year) * 0.45);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: clamp(80px, 9vw, 128px) 0 clamp(80px, 8vw, 112px);
}

.timeline > div {
  position: relative;
}

.timeline > div:nth-child(1) { --c: #f6f725; }
.timeline > div:nth-child(2) { --c: #fb2768; }
.timeline > div:nth-child(3) { --c: #ddf339; }

.timeline > div::before {
  content: "";
  position: absolute;
  top: var(--mid);
  left: 0;
  right: -32px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms var(--ease) calc(var(--i, 0) * 220ms + 150ms);
}

.timeline > div:last-child::before {
  right: 14px;
}

.timeline > div.in::before,
.no-js .timeline > div::before {
  transform: none;
}

.timeline::after {
  content: "";
  position: absolute;
  top: var(--mid);
  right: 0;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: #ddf339;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 400ms var(--ease) 1200ms,
    transform 400ms var(--ease) 1200ms;
  pointer-events: none;
}

.timeline:has(> div:last-child.in)::after,
.no-js .timeline::after {
  opacity: 1;
  transform: none;
}

/* Each year sits on its segment, cut out of it by the section's own colour, with a dot where the segment starts. */
.timeline dt {
  position: relative;
  width: fit-content;
  padding-right: 0.5em;
  background: var(--surface);
  font-family: var(--font-head);
  font-size: var(--year);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.timeline dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.14em;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--c);
}

.timeline dd {
  margin: 12px 0 0;
  max-width: 28ch;
  color: var(--ink-soft);
}

/* Placeholder until the logos are authorised. */
/* Clients come first: the strongest proof, set as the widest row of the section. */
.clients {
  margin-top: 56px;
}

.clients-label {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--ink);
}

.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.logos li {
  display: grid;
  place-items: center;
  height: clamp(96px, 9vw, 128px);
  padding: 0 clamp(16px, 2vw, 28px);
  border-radius: var(--radius);
  background: #161616;
  box-shadow: inset 0 0 0 1px #262626;
}

/* Client logos in their own colours (AB InBev's wordmark set in white for the dark ground), all at one optical size. */
.logos img {
  width: 100%;
  height: clamp(30px, 3vw, 44px);
  object-fit: contain;
}

.logos img[src*="ccu"] {
  height: clamp(40px, 4vw, 56px);
}

.logos img[src*="breden"] {
  height: clamp(56px, 5.4vw, 76px);
}

.logos img[src*="agrosuper"] {
  height: clamp(36px, 3.6vw, 52px);
}

/* Products page */
.page-head {
  position: relative;
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 112px;
}

.page-head .hero-media img {
  object-position: 50% 60%;
  animation: none;
}

.page-head-body {
  position: relative;
  z-index: 1;
  padding: 0 var(--margin) clamp(32px, 5vw, 56px);
}

.page-head h1 {
  font-size: min(var(--t-xl), 16svh);
}

.page-head p {
  max-width: 44ch;
  margin-top: 20px;
  font-size: var(--t-md);
  line-height: 1.3;
  color: var(--ink-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.filters[hidden] {
  display: none;
}

.filters button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.filters button:hover {
  color: var(--ink);
}

.filters button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--on-paper);
}

.products {
  display: grid;
  gap: calc(var(--section) * 0.6);
  padding: calc(var(--section) * 0.6) var(--margin) var(--section);
}

.product {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px 56px;
  align-items: start;
  scroll-margin-top: 96px;
}

.product[hidden] {
  display: none;
}

.product:nth-child(even) > img {
  order: 2;
}

.product > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-media);
}

.product h2 {
  margin-top: 16px;
  font-size: var(--t-lg);
}

.product-lead {
  max-width: 44ch;
  margin-top: 16px;
  font-size: var(--t-md);
  line-height: 1.3;
  color: var(--ink-soft);
}

.product-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-top: 32px;
}

.product-cols h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.product-cols ul {
  margin: 10px 0 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
}

.product-cols li + li {
  margin-top: 6px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin: 32px 0 28px;
  padding-top: 20px;
  border-top: 1px solid #262626;
}

.specs dt {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.specs dd {
  margin: 4px 0 0;
  font-size: 16px;
}

/* Proof sentences */
/* Backing: a footnote under the years, so the clients and the years stay the proof. */
.backing-note {
  max-width: 72ch;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Culture: title and the way to the team on the left, three principles as a short list on the right */
.culture {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
  padding: var(--section) var(--margin);
}

.culture-title {
  grid-column: 1 / 7;
}

.culture-title h2 {
  font-size: var(--t-lg);
}

.culture-lead {
  margin-top: 20px;
  max-width: 36ch;
  font-size: 20px;
  color: var(--ink-soft);
}

.culture-items {
  grid-column: 8 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.culture-items li {
  padding: 24px 0;
  border-top: 1px solid #262626;
}

.culture-items li:last-child {
  border-bottom: 1px solid #262626;
}

.culture-items h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.culture-items p {
  margin-top: 8px;
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 16px;
}

/* Contact: card on a photograph */
.contact {
  position: relative;
  min-height: 110svh;
  padding: 60px var(--margin);
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.contact-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

/* The closing card: the two intentions of the hero again, each opening the contact form directly. */
.card {
  position: sticky;
  top: 104px;
  width: 440px;
  padding: 32px;
  border-radius: var(--radius-media);
  background: var(--bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #262626;
}

.card-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.card .card-actions .btn {
  margin-top: 0;
}

.card .btn-outline {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.card .btn-outline:hover {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.card-other {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
}

.card h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.card > p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-soft);
}

.card fieldset {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.card legend {
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips label {
  position: relative;
}

.chips input {
  position: absolute;
  opacity: 0;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: #ececec;
  color: var(--on-paper);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease);
}

.chips span:hover {
  background: #dcdcdc;
}

.chips input:checked + span {
  background: var(--on-paper);
  color: var(--paper);
}

.chips input:focus-visible + span {
  outline: 2px solid var(--on-paper);
  outline-offset: 2px;
}

.route {
  min-height: 3.2em;
  margin-top: 20px;
  font-size: 16px;
  color: #1b1b1b;
}

.route strong {
  font-family: var(--font-head);
}

/* Card buttons fill the card width. */
.card .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
}

/* External links: a small up-right arrow, drawn in the link's own colour. */
a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.3em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4 3h5v5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Links to another page of the site: a right arrow that steps forward on hover. */
.go::after {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.4em;
  vertical-align: -0.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7h10M8 3l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7h10M8 3l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 200ms var(--ease);
}

.go:hover::after,
a:hover > .go::after {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .teaser-list a::after,
  .go::after,
  .timeline > div::before,
  .timeline::after {
    transition: none;
  }
}

/* Team: faces under the culture title open a modal with each person's card */
.culture-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 28px;
}

.team-trigger {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  color: var(--ink);
}

/* The manifesto link wears the brand's five dots, as the team link wears the faces. */
.manifesto-dots {
  display: flex;
  gap: 6px;
}

.manifesto-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition: transform 220ms var(--ease);
}

.manifesto-trigger:hover .manifesto-dots i {
  transform: translateY(-3px);
}

.manifesto-trigger:hover .manifesto-dots i:nth-child(2) { transition-delay: 30ms; }
.manifesto-trigger:hover .manifesto-dots i:nth-child(3) { transition-delay: 60ms; }
.manifesto-trigger:hover .manifesto-dots i:nth-child(4) { transition-delay: 90ms; }
.manifesto-trigger:hover .manifesto-dots i:nth-child(5) { transition-delay: 120ms; }

.manifesto-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.manifesto-list li {
  position: relative;
  padding-left: 48px;
  counter-increment: principle;
}

.manifesto-list li::before {
  content: counter(principle);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.manifesto-list h3 {
  font-size: 20px;
  line-height: 1.2;
}

.manifesto-list p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}

.team-faces {
  display: flex;
}

.team-faces img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ground, #000);
  object-fit: cover;
  transition: transform 220ms var(--ease);
}

.team-faces img + img {
  margin-left: -12px;
}

.team-trigger:hover .team-faces img {
  transform: translateY(-3px);
}

.team-trigger:hover .link {
  text-decoration-color: var(--ink);
}

.modal.modal-team {
  width: min(900px, calc(100vw - 32px));
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.team-member {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: start;
}

.team-member img {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-media, 1rem);
  object-fit: cover;
  background: #ececec;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.team-role {
  margin-top: 2px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.team-member p:not(.team-role) {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.team-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #bbb;
  text-underline-offset: 4px;
}

.team-link:hover {
  text-decoration-color: currentColor;
}

.team-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-media);
  background: #f2f2f2;
}

.team-cta h3 {
  font-size: 20px;
}

.team-cta p {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

.team-cta .btn {
  margin-top: 6px;
}

@media (max-width: 680px) {
  .manifesto-list {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-member {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }
  .team-member img {
    width: 80px;
    height: 80px;
  }
}

/* Contact modal: the card's choice as a summary line, and the reply promise with the team's faces */
.modal-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #f2f2f2;
}

.modal-summary[hidden],
.modal-choice[hidden] {
  display: none;
}

.modal-summary p {
  font-size: 15px;
}

.modal-summary span {
  color: #555;
}

.modal-route {
  flex-basis: 100%;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.modal-route strong {
  font-family: var(--font-head);
}

.modal-route[hidden] {
  display: none;
}

/* While a dialog is open the page behind it stays still. */
html:has(dialog[open]) {
  overflow: hidden;
}

.modal-cancel {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  background: none;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
}

.modal-cancel:hover {
  color: var(--on-paper);
}

.modal-summary-edit {
  border: 0;
  background: none;
  padding: 4px 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--on-paper);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.modal-choice {
  display: grid;
  gap: 16px;
}

.modal-promise {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-promise .team-faces {
  flex-shrink: 0;
}

.modal-promise .team-faces img {
  width: 28px;
  height: 28px;
  border-color: var(--paper);
}

.modal-promise .team-faces img + img {
  margin-left: -9px;
}

/* On white surfaces the lime ring disappears; use ink instead. */
/* The dialog box itself takes focus when opened from a link; it needs no ring. */
.modal:focus-visible {
  outline: none;
}

.modal :focus-visible,
.footer :focus-visible {
  outline-color: var(--on-paper);
}

/* Footer */
.lang-link .flag {
  display: inline-block;
  height: 0.75em;
  width: auto;
  margin-left: 0.3em;
  vertical-align: -0.05em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); /* hairline so the white of the flags shows on white. taste-skill-ignore */
}

.footer {
  min-height: min(100svh, 760px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 40px var(--margin) 20px;
  background: var(--paper);
  color: var(--on-paper);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-size: 16px;
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #444;
}

.footer-cols li:first-child {
  color: var(--on-paper);
  font-family: var(--font-head);
  font-weight: 700;
}

.footer-cols a {
  text-decoration: none;
}

.footer-cols a:hover {
  text-decoration: underline;
}

.dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.wordmark {
  width: 100%;
  margin-top: 40px;
}

.wordmark {
  display: block;
  height: auto;
}

.footer-cols address {
  font-style: normal;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 20px;
  font-size: 13px;
  color: #555;
}

/* Entrances */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms var(--ease),
    transform 520ms var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.no-js .reveal,
.no-js .stair > span {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-media img {
    animation: none;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .nav-menu {
    display: block;
  }
  .hero h1 {
    grid-column: 1 / -1;
  }
  .hero-side {
    grid-column: 1 / 10;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
}

/* Phone */
@media (max-width: 680px) {
  :root {
    --t-body: 16px;
  }
  .nav {
    gap: 12px;
    padding: 16px 20px;
  }
  .nav-logo img {
    width: 104px;
  }
  .nav .btn {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }
  /* On a phone the language switch moves into the menu, where it gets full-size targets. */
  .nav > .lang {
    display: none;
  }
  .nav-menu {
    margin-left: auto;
  }
  .nav.is-stuck .nav-logo img {
    width: 88px;
  }
  .hero-media::after {
    /* the text block takes the lower half on a phone, so the photo darkens sooner. taste-skill-ignore */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) /* taste-skill-ignore */ 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.8) 50%, #000 72%);
  }
  .hero-body {
    display: block;
    padding: 0 20px 40px;
  }
  .hero h1 {
    font-size: min(clamp(44px, 13vw, 64px), 9svh);
  }
  .hero-side {
    margin-top: 24px;
  }
  .intro {
    display: block;
    min-height: 0;
    padding: 120px 20px 0;
  }
  .stair {
    font-size: 24px;
  }
  .stair span:nth-child(2),
  .stair .stair-figure { padding-left: 4vw; }
  .stair span:nth-child(4) { padding-left: 8vw; }
  .stair span:nth-child(5) { padding-left: 12vw; }
  /* The closing line is the longest: on a phone it lands back at the margin so it never wraps. */
  .stair span:nth-child(6) { padding-left: 0; margin-top: 8px; }
  .stair-source {
    margin-top: 16px;
  }
  .intro-photos {
    grid-template-columns: 1fr 1fr;
    margin: 40px 0 0;
  }
  .intro-note {
    margin-top: 32px;
  }
  .pillars,
  .markets,
  .teaser {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pillar-list li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
  .pillar-list li > img {
    width: 64%;
    margin-top: 8px;
  }
  .market-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .market-list li:nth-child(even) {
    width: 84%;
    justify-self: end;
  }
  .market-list img {
    aspect-ratio: 4 / 3;
  }
  .teaser-list a {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name go"
      "tags tags"
      "desc desc";
    grid-template-rows: auto;
    gap: 12px 16px;
    padding: 28px 0;
  }
  .teaser-list a::after {
    width: 24px;
    height: 24px;
  }
  .byproduct {
    margin: var(--section) 20px 0;
    padding: 28px 24px;
  }
  .proof {
    padding: 80px 20px;
  }
  /* On a phone the segments run down the left edge, each in its year's colour. */
  .timeline {
    --year: 40px;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 80px;
    padding-left: 28px;
  }
  .timeline::after {
    display: none;
  }
  .timeline > div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: baseline;
  }
  .timeline > div::before,
  .timeline > div:last-child::before {
    top: 19px;
    bottom: -47px;
    left: -23px;
    right: auto;
    width: 3px;
    height: auto;
    margin: 0;
    transform: scaleY(0);
    transform-origin: center top;
  }
  .timeline > div:last-child::before {
    bottom: 0;
  }
  .timeline dt {
    position: static;
    padding-right: 0;
    background: none;
  }
  .timeline dt::after {
    top: 12px;
    right: auto;
    left: -28px;
    margin: 0;
  }
  .clients {
    margin-top: 40px;
  }
  .logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .logos li {
    height: 88px;
  }
  /* five logos on two columns: the last one takes the full row instead of hanging alone */
  .logos li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .page-head {
    min-height: 64svh;
  }
  .page-head-body {
    padding: 0 20px 32px;
  }
  .page-head h1 {
    font-size: clamp(48px, 14vw, 64px);
  }
  .products {
    padding: 64px 20px 120px;
    gap: 96px;
  }
  .product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product:nth-child(even) > img {
    order: 0;
  }
  .product-cols,
  .specs {
    grid-template-columns: 1fr;
  }
  .product .btn {
    width: 100%;
  }
  .culture {
    display: block;
    padding: var(--section) 20px;
  }
  .culture-title {
    margin-bottom: 40px;
  }
  .culture-lead {
    font-size: 18px;
  }
  .contact {
    display: block;
    min-height: 0;
    /* dark band between the contact card and the white footer */
    padding: 0 0 56px;
  }
  .contact-bg {
    position: relative;
    height: 70svh;
  }
  .card {
    position: relative;
    top: auto;
    width: auto;
    margin: -80px 16px 0;
    padding: 24px;
  }
  .card .btn {
    min-height: 56px;
  }
  .footer {
    padding: 32px 20px 16px;
    grid-template-rows: auto minmax(20svh, 1fr) auto;
  }
  .footer-cols {
    font-size: 15px;
  }
}

/* Contact modal */
.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 32px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--on-paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); /* dialog overlay. taste-skill-ignore */
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.modal[open] {
  animation: modal-in 320ms var(--ease);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Close and Enviar stay in reach while a tall modal scrolls. */
.modal-close-form {
  position: sticky;
  top: -20px;
  z-index: 2;
  float: right;
  margin: -20px -20px 0 8px;
}

.modal-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--on-paper);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: #ececec;
}

.modal h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.modal-intro {
  margin-top: 8px;
  font-size: 16px;
  color: #333;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.modal-grid label {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
}

.modal-grid .wide {
  grid-column: 1 / -1;
}

.modal-grid label[hidden] {
  display: none;
}

.modal-grid input,
.modal-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #8a8a8a;
  border-radius: var(--radius);
  background: #fff;
  color: var(--on-paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
}

.modal-grid input:focus,
.modal-grid select:focus {
  outline: 2px solid var(--on-paper);
  outline-offset: 1px;
}

.modal-grid input[aria-invalid="true"],
.modal-grid select[aria-invalid="true"] {
  border-color: #c4003a;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #c4003a;
}

.field-error[hidden] {
  display: none;
}

.modal-grid .hp {
  position: absolute;
  left: -9999px;
}

.modal-status {
  min-height: 1.6em;
  margin-top: 16px;
  font-size: 15px;
}

.modal-status.error {
  color: #c4003a;
}

.modal-form button[type="submit"] {
  position: sticky;
  bottom: 0;
  z-index: 1;
  /* white band that masks fields scrolling underneath the stuck button, plus the hairline */
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.14),
    0 0 0 12px var(--paper);
}

.modal .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
}

.modal .btn:not(.btn-quiet) {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.modal .btn[disabled] {
  opacity: 0.5;
  cursor: wait;
}

.modal-note {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}

.modal {
  transition: width 280ms var(--ease);
}

.modal.is-result {
  width: min(420px, calc(100vw - 32px));
}

.modal-result {
  padding-top: 8px;
  text-align: center;
  animation: modal-in 320ms var(--ease);
}

.modal-result-mark {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ddf339;
  color: var(--on-paper);
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
}

.modal-result-mark::before {
  content: "✓";
}

.modal-result[data-state="error"] .modal-result-mark {
  background: #fb2768;
  color: #fff;
}

.modal-result[data-state="error"] .modal-result-mark::before {
  content: "!";
}

.modal-result h2:focus {
  outline: none;
}

.modal-result p {
  margin-top: 8px;
  font-size: 16px;
  color: #333;
}

.modal-result-actions {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.modal-result-actions .btn {
  margin-top: 0;
}

.modal .btn-quiet {
  border: 1px solid var(--on-paper);
  background: transparent;
  color: var(--on-paper);
}

.modal .btn-quiet:hover {
  background: #ececec;
}

.modal-result-actions [hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal-result {
    transition: none;
    animation: none;
  }
}

@media (max-width: 680px) {
  .modal {
    padding: 24px 20px;
    /* a focused field scrolls clear of the stuck Enviar button */
    scroll-padding-bottom: 96px;
  }
  .modal-grid {
    grid-template-columns: 1fr;
  }
}

.modal-required {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #555;
}

.modal-grid .req {
  color: #c4003a;
}

.modal-grid textarea {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #8a8a8a;
  border-radius: var(--radius);
  background: #fff;
  color: var(--on-paper);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  resize: vertical;
}

.modal-grid textarea:focus {
  outline: 2px solid var(--on-paper);
  outline-offset: 1px;
}

.turnstile {
  min-height: 65px;
}

.modal-grid label > input,
.modal-grid label > select,
.modal-grid label > textarea {
  display: block;
  margin-top: 6px;
}

/* Touch: footer links get a full-size target. */
@media (pointer: coarse) {
  .footer-cols a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
