/* Stylesheet entry. The build inlines each import into its cascade layer, producing one file. */
@layer reset, tokens, base, layout, components, utilities;

@layer reset {
/* Minimal modern reset, plus the global reduced-motion switch. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

ul[class],
ol[class] {
  list-style: none;
  margin: 0;
  padding: 0;
}

img,
picture,
svg {
  display: block;
  max-inline-size: 100%;
}

button {
  font: inherit;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

}
@layer tokens {
/* Design tokens: direction B, «Parque abierto» (ADR 0010). A bright park-signage palette taken
   from the four stamps, one type family (Outfit) and three radii by hierarchy. */
:root {
  /* Colour: six named values. Every text pair is at least 4.5:1 (measured in ADR 0010). */
  --color-page: #fff; /* Blanco: the page and the cards */
  --color-sky: #e2eef0; /* Cielo: the hero, page heads and the footer field */
  --color-leaf: #e4eed8; /* Hoja: the contribution field and the conservation panel */
  --color-ink: #0f3f3f; /* Tinta: text and the logo letters (11.6:1 on white) */
  --color-water: #2c6b7d; /* Agua: primary buttons and links (6:1 with white) */
  --color-sun: #f2c14e; /* Sol: the selected choice and progress (ink on sun is 6.9:1) */
  --color-ink-soft: #4a5d55; /* secondary text: 7:1 on white, 5.9:1 on cielo and hoja */
  --color-water-hover: #235a6a;
  --color-line: #8a9a91; /* control edges on hover */
  --color-line-soft: rgb(15 63 63 / 16%); /* dividers and resting card edges */
  --color-veil: rgb(8 30 28 / 82%); /* the bottom of the scrim under text on photos */

  /* Shop: decorative swatches and the photo backdrop, never text. */
  --color-studio: #f2f2f2;
  --tone-caqui: #a08d6d;
  --tone-crema: #ecddc8;
  --tone-beige: #c8b8a9;
  --tone-lila: #c1bdc8;
  --tone-azul: #6286a3;

  /* Logo on light surfaces: ink letters and the brandbook's on-light stamp colours. The on-dark
     stamp colours are for stamps over photos. Never for text. */
  --stamp-earth: #c2602f;
  --stamp-water: #3d7889;
  --stamp-sun: #d39a2e;
  --stamp-life: #4f8455;
  --stamp-earth-light: #e08a5c;
  --stamp-water-light: #8fc0cc;
  --stamp-sun-light: #e9b852;
  --stamp-life-light: #b6d298;
  --mw: var(--color-ink);
  --s1: var(--stamp-earth);
  --s2: var(--stamp-water);
  --s3: var(--stamp-sun);
  --s4: var(--stamp-life);

  /* Type: Outfit only, 600 for headings, 500 for labels and links, 400 for body text. */
  --font-sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-body: 1.125rem;
  --text-small: 0.9375rem;
  --text-h2: clamp(2.25rem, 3.8vw, 4rem);
  --text-h1: clamp(2.5rem, 4.8vw, 5.25rem);

  /* Shape: three radii by hierarchy. */
  --radius-control: 12px;
  --radius-card: 20px;
  --radius-field: 32px;

  /* Space. The page column runs nearly edge to edge (the owner wants little side space); text
     inside it starts at the field's inner edge, cards and photos at its outer edge. */
  --page-max: 1840px;
  --gutter: clamp(12px, 2vw, 32px);
  --field-pad: clamp(20px, 4.5vw, 80px);
  --grid-gap: clamp(10px, 1vw, 16px);
  --space-section: clamp(2.5rem, 5vw, 5rem);
  --nav-height: 84px;
  --nav-offset: 6.5rem; /* scroll margin so anchors land below the fixed bar */
  --touch-target: 44px;

  /* Motion: only in answer to an action, 200ms at most (the one exception, the counter's fill on
     load, is in hero.css). */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --duration: 150ms;

  color-scheme: light;
}

@media (width < 760px) {
  :root {
    --nav-height: 64px;
    --nav-offset: 5.25rem;
  }
}

}
@layer base {
/* Self-hosted Outfit (SIL OFL), split by unicode-range so Spanish text loads only the Latin file.
   Outfit is the only family (ADR 0010): headings at 600, labels at 500, body text at 400. */
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.6c18d579.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext.0f53d1c0.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

}
@layer base {
/* Base element styles: white page, ink text, Outfit at 400 for body text and 600 for headings.
   The root size is the visitor's own (100 %), with an 18px body. */
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

/* Desktop is shown at 80 %, as if the browser zoom were set to 80 % (owner request, 2026-10-12):
   at 100 % everything read too large on laptop and desktop screens. Phones and tablets stay at
   100 %. zoom scales px, rem and vw alike, which a smaller root font size would not. */
@media (width >= 1024px) {
  html {
    zoom: 0.8;
  }
}

body {
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h2 {
  font-size: var(--text-h2);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

/* Links in running text: water blue and underlined, so they never depend on colour alone. */
:where(p, li, dd) > a:not([class]) {
  color: var(--color-water);
  text-decoration-thickness: 1px;
}

:where(p, li, dd) > a:not([class]):hover {
  text-decoration-thickness: 2px;
}

/* Taps answer at once (no double-tap zoom delay) with a faint water-blue flash. Keyboard focus never
   lands under the fixed bar (WCAG 2.4.11). */
a,
button,
label,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(44 107 125 / 16%);
}

:where(a, button, summary) {
  scroll-margin-block-start: var(--nav-offset);
}

:focus-visible {
  outline: 2px solid var(--color-water);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-block-start: var(--nav-offset);
}

main:focus {
  outline: none;
}

}
@layer layout {
/* Page layout primitives. One page column, nearly edge to edge: fields (the coloured, rounded
   panels) and card grids span it, and text starts at the field's inner edge (--field-pad), so the
   hero copy, the section heads and the prose line up down the page. */
.l-wrap,
.l-field {
  inline-size: min(100% - 2 * var(--gutter), var(--page-max) - 2 * var(--gutter));
  margin-inline: auto;
}

/* A field: a flat colour panel with the large radius. */
.l-field {
  padding-inline: var(--field-pad);
  border-radius: var(--radius-field);
}

.l-field--sky {
  background: var(--color-sky);
}

.l-field--leaf {
  background: var(--color-leaf);
}

/* Text blocks inside a plain .l-wrap start where a field's text starts. */
.l-inset {
  padding-inline: var(--field-pad);
}

.l-section {
  padding-block: var(--space-section);
}

.l-section--flush-top {
  padding-block-start: 0;
}

/* A section that is itself a field: vertical padding inside, a small gap around it. */
.l-section.l-field {
  margin-block: var(--grid-gap);
}

/* The light blocks of the old dark site are plain white now; the classes stay as grouping hooks. */
.l-light--page {
  padding-block: clamp(2rem, 4vw, 3.5rem) var(--space-section);
}

@media (width < 760px) {
  .l-field {
    border-radius: 24px;
  }
}

/* The first section under a page head needs less air above it: the field already set it apart. */
main > .l-section:first-child:not(.l-field) {
  padding-block-start: clamp(2rem, 3.5vw, 3.5rem);
}

}
@layer components {
/* Button: a solid rectangle with a centred label. --primary (water blue, one per view) and
   --secondary (ink outline on white). Disabled = aria-disabled="true" and no href. */
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-block-size: 52px;
  padding: 0.5em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--duration) ease,
    border-color var(--duration) ease,
    transform 120ms var(--ease-out);
}

.c-button:active:not([aria-disabled="true"]) {
  transform: scale(0.98);
}

.c-button--primary {
  background: var(--color-water);
  color: #fff;
}

.c-button--secondary {
  border-color: var(--color-ink);
  background: var(--color-page);
  color: var(--color-ink);
}

@media (hover: hover) and (pointer: fine) {
  .c-button--primary:hover {
    background: var(--color-water-hover);
  }

  .c-button--secondary:hover {
    background: var(--color-sky);
  }
}

/* Inert («Próximamente»): a quiet panel with the soft ink, 5.9:1 on cielo. */
.c-button[aria-disabled="true"] {
  border-color: transparent;
  background: var(--color-sky);
  color: var(--color-ink-soft);
  cursor: not-allowed;
}

.c-button svg {
  flex: none;
  inline-size: 1.2em;
  block-size: 1.2em;
}

/* Under a pay button: Stripe, the refund window and the terms, with a padlock. */
.c-pay-trust {
  display: flex;
  gap: 0.6rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  line-height: 1.5;
  text-wrap: pretty;
}

.c-pay-trust::before {
  flex: none;
  inline-size: 1rem;
  block-size: 1rem;
  margin-block-start: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234a5d55' stroke-width='1.4'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/%3E%3C/svg%3E")
    center / contain no-repeat;
  content: "";
}

.c-pay-trust a {
  color: var(--color-water);
  text-decoration-thickness: 1px;
}

}
@layer components {
/* Nav: a white top bar. Desktop: logo, five links, the language, the shop (cart and «Tienda») and
   the solid «Ayuda y colabora» button. Under 1200px the links move into a <details> menu; under
   760px the bar keeps the logo, the button, the cart (when it fits) and the menu, which also holds
   the shop and Instagram. nav.js adds .is-stuck once the bar scrolls away, fixing it to the top;
   the holder keeps its height, so nothing shifts (CLS). */
.c-skip-link {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-control);
  background: var(--color-ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.c-skip-link:focus-visible {
  transform: none;
}

.c-nav-holder {
  position: relative;
  z-index: 40;
  min-block-size: var(--nav-height);
  background: var(--color-page);
}

/* The bar spans the viewport; its content lines up with the page column. */
.c-nav {
  --nav-pad: max(calc(var(--gutter) + 8px), calc((100% - var(--page-max)) / 2 + var(--gutter) + 8px));

  display: flex;
  align-items: center;
  gap: 1.5rem;
  block-size: var(--nav-height);
  padding-inline: var(--nav-pad);
  background: var(--color-page);
}

.c-nav.is-stuck {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  box-shadow: 0 1px 0 var(--color-line-soft);
}

.c-nav__brand {
  display: flex;
  flex: none;
  align-items: center;
  min-block-size: var(--touch-target);
}

.c-nav__logo {
  inline-size: auto;
  block-size: 46px;
  aspect-ratio: 4155 / 1171;
}

.c-nav__links {
  display: flex;
  gap: 1.75rem;
  margin-inline-start: 1rem;
}

.c-nav__link,
.c-nav__lang,
.c-nav__shop {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-target);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 6px;
}

.c-nav__link:hover,
.c-nav__lang:hover,
.c-nav__shop:hover,
.c-nav__link[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.c-nav__tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-inline-start: auto;
}

.c-nav__lang {
  justify-content: center;
  min-inline-size: var(--touch-target);
}

.c-nav__shop {
  gap: 0.5rem;
}

.c-nav__shop svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.c-nav__cta {
  min-block-size: 46px;
  padding-inline: 1.25rem;
  font-size: 1rem;
  white-space: nowrap;
}

.c-nav__menu {
  display: none;
}

@media (width < 1200px) {
  .c-nav__links {
    display: none;
  }

  .c-nav__menu {
    display: block;
  }
}

/* Phones: the logo, the button, the cart and the menu; the language and Instagram live in the
   menu, and the cart keeps only its icon (its name stays for screen readers). */
@media (width < 760px) {
  .c-nav {
    gap: 0.5rem;
  }

  .c-nav__logo {
    block-size: 28px;
  }

  .c-nav__tools {
    gap: 0.375rem;
  }

  .c-nav__lang {
    display: none;
  }

  .c-nav__shop {
    justify-content: center;
    min-inline-size: var(--touch-target);
  }

  .c-nav__shop-label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .c-nav__cta {
    min-block-size: var(--touch-target);
    padding-inline: 0.75rem;
    font-size: 0.875rem;
  }
}

/* Too narrow for the cart as well: the menu carries the shop, with its icon, and the bar tightens
   so the button still fits at 320px. */
@media (width < 380px) {
  .c-nav {
    --nav-pad: var(--gutter);
  }

  .c-nav__shop {
    display: none;
  }

  .c-nav__logo {
    block-size: 25px;
  }
}

/* Menu button: a sky square with a three-line icon that turns into a cross. */
.c-nav__toggle {
  display: grid;
  place-items: center;
  inline-size: var(--touch-target);
  block-size: var(--touch-target);
  border-radius: var(--radius-control);
  background: var(--color-sky);
  list-style: none;
  cursor: pointer;
}

.c-nav__toggle::-webkit-details-marker {
  display: none;
}

.c-nav__toggle-icon,
.c-nav__toggle-icon::before,
.c-nav__toggle-icon::after {
  display: block;
  inline-size: 18px;
  block-size: 2px;
  border-radius: 1px;
  background: var(--color-ink);
  transition:
    transform var(--duration) var(--ease-out),
    opacity var(--duration) var(--ease-out);
}

.c-nav__toggle-icon {
  position: relative;
}

.c-nav__toggle-icon::before,
.c-nav__toggle-icon::after {
  position: absolute;
  content: "";
}

.c-nav__toggle-icon::before {
  transform: translateY(-6px);
}

.c-nav__toggle-icon::after {
  transform: translateY(6px);
}

.c-nav__menu[open] .c-nav__toggle-icon {
  background: transparent;
}

.c-nav__menu[open] .c-nav__toggle-icon::before {
  transform: rotate(45deg);
}

.c-nav__menu[open] .c-nav__toggle-icon::after {
  transform: rotate(-45deg);
}

.c-nav__menu[open] .c-nav__label-open,
.c-nav__menu:not([open]) .c-nav__label-close {
  display: none;
}

/* The panel hangs under the bar, across the page column, and scrolls inside itself on short
   screens, so its last link is always reachable. */
.c-nav__panel {
  position: absolute;
  inset-block-start: calc(100% + 4px);
  inset-inline: var(--gutter);
  display: grid;
  gap: 2px;
  max-block-size: calc(100dvh - var(--nav-height) - 16px);
  padding: 0.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-card);
  background: var(--color-page);
  box-shadow: 0 16px 32px rgb(15 63 63 / 14%);
}

@media (width >= 760px) {
  .c-nav__panel {
    inset-inline: auto var(--nav-pad);
    inline-size: 22rem;
  }
}

.c-nav__panel-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-block-size: 3rem;
  padding-inline: 1rem;
  border-radius: var(--radius-control);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
}

.c-nav__panel-link svg {
  flex: none;
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.c-nav__panel-link:hover,
.c-nav__panel-link[aria-current] {
  background: var(--color-sky);
}

.c-nav__panel-link[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

}
@layer components {
/* Hero: the home page's sky field with the full-colour BIOM lockup at poster size on the left and,
   beside it, the claim, the story, two buttons and the campaign card; one column under 900px.
   .c-page-head is the inner pages' compact sky field: the title, and the four stamps on the right. */
.c-hero__field {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.c-hero__title {
  min-inline-size: 0;
}

/* The logo without WORLD (the brandbook's web lockup), in its on-light colours. Capped by the
   screen's height too, so the field fits above the fold on laptops. */
.c-hero__wordmark {
  inline-size: min(100%, 760px, calc((100svh - 18rem) * 2732 / 1922));
  min-inline-size: min(100%, 22rem);
  block-size: auto;
  aspect-ratio: 2732 / 1922;
}

.c-hero__content {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}

.c-hero__eyebrow {
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  font-weight: 600;
}

.c-hero__claim {
  margin-block: 0.75rem 1.25rem;
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.c-hero__text {
  max-inline-size: 38ch;
  font-size: clamp(1.125rem, 1.3vw, 1.3125rem);
  text-wrap: pretty;
}

.c-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block: 1.75rem;
}

@media (width < 900px) {
  .c-hero__field {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.5rem 1.25rem;
  }

  .c-hero__wordmark {
    inline-size: min(100%, 15rem);
    min-inline-size: 0;
  }

  .c-hero__claim {
    margin-block: 0.5rem 0.75rem;
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .c-hero__text {
    font-size: 1.0625rem;
  }

  .c-hero__ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-block: 1.25rem;
  }

  .c-hero__ctas .c-button {
    padding-inline: 0.75rem;
    font-size: 1rem;
  }
}

/* Campaign card: a solid ink card, the amount in big white tabular figures, the goal, a thick sun
   bar and a sun-yellow action. The whole card links to the support page. The
   bar fills once on load (900ms, transform only); nothing repeats, and reduced motion skips it. */
.c-hero-goal {
  display: grid;
  gap: 0.6rem;
  max-inline-size: 34rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--radius-card);

  /* Ink on the sky field, the strongest contrast the palette has: a white card drew too little
     attention, and a coloured band across the top read as a template (owner, 2026-10-14). */
  background: var(--color-ink);
  color: var(--color-page);
  box-shadow: 0 0 0 0 var(--color-sun);
  text-decoration: none;
  transition: box-shadow var(--duration) ease;
}

@media (hover: hover) and (pointer: fine) {
  .c-hero-goal:hover {
    box-shadow: 0 0 0 3px var(--color-sun);
  }
}

.c-hero-goal__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

/* Secondary text on ink: white at 80 % (about 8:1). */
.c-hero-goal__label {
  color: rgb(255 255 255 / 80%);
  font-size: var(--text-small);
  font-weight: 600;
}

.c-hero-goal__milestone {
  font-size: var(--text-small);
  font-weight: 600;
}

.c-hero-goal__amount {
  font-size: clamp(2.25rem, 3vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.c-hero-goal__of {
  color: rgb(255 255 255 / 80%);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
}

.c-hero-goal__bar {
  inline-size: 100%;
  block-size: 14px;
  overflow: hidden;
  border-radius: 7px;
}

.c-hero-goal__track {
  fill: rgb(255 255 255 / 18%);
}

.c-hero-goal__fill {
  fill: var(--color-sun);
  transform-box: fill-box;
  transform-origin: 0 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .c-hero-goal__fill {
    animation: goal-fill 900ms var(--ease-out) 200ms both;
  }

  @keyframes goal-fill {
    from {
      transform: scaleX(0);
    }
  }
}

.c-hero-goal__cta {
  font-size: 1rem;
  font-weight: 600;
}

/* Sun on ink: 6.9:1. */
.c-hero-goal__action {
  color: var(--color-sun);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.c-hero-goal__date {
  color: rgb(255 255 255 / 80%);
  font-size: 0.875rem;
}

.c-hero-goal__demo {
  justify-self: start;
  padding: 0.15em 0.6em;
  border: 1px dashed rgb(255 255 255 / 60%);
  border-radius: 6px;
  font-size: 0.8125rem;
}

@media (width < 900px) {
  .c-hero-goal {
    gap: 0.45rem;
    padding: 1.1rem 1.1rem 1rem;
  }

  .c-hero-goal__amount {
    font-size: 2rem;
  }
}

/* Inner pages: a compact sky field with the title and, on the right, the 2 × 2 stamp mark. */
.c-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2rem, 4.5vw, 4rem);
}

.c-page-head__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-inline-size: 0;
}

.c-page-head__mark {
  flex: none;
  inline-size: clamp(6rem, 10vw, 9.5rem);
  block-size: auto;
  aspect-ratio: 1;
}

@media (width < 600px) {
  .c-page-head__mark {
    display: none;
  }
}

.c-page-title {
  max-inline-size: 22ch;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* The support page's shortcut under the title, straight to the amount picker. When focus comes
   back to it (Shift+Tab from the milestone scale), it lands below the fixed bar (WCAG 2.4.11). */
.c-hero__shortcut {
  margin-block-start: 0.5rem;
  scroll-margin-block-start: var(--nav-offset);
}

/* A note under the page title (the mural's privacy note): a white chip on the sky field. */
.c-page-note {
  max-inline-size: 40rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
  font-size: 1rem;
  line-height: 1.4;
  text-wrap: pretty;
}

}
@layer components {
/* Section head: a short label and the heading on the left, the lede on the right, wrapping on
   narrow screens. It starts at the field's inner edge, like the hero copy. The label is sentence
   case in the soft ink, never tracked capitals. */
.c-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  align-items: end;
  gap: 1rem 4rem;
  margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: var(--field-pad);
}

/* Inside a field the field already pads its content. */
.l-field .c-section-head {
  padding-inline: 0;
}

.c-section-head__main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-inline-size: 0;
}

.c-section-head__lede {
  color: var(--color-ink-soft);
  text-wrap: pretty;
}

.c-section-head:not(:has(.c-section-head__lede)) {
  grid-template-columns: minmax(0, 1fr);
}

/* Wide screens: a wider lede column, so a long lede takes fewer lines. */
@media (width >= 1700px) {
  .c-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40rem);
  }
}

@media (width < 900px) {
  .c-section-head {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The short label above a heading. */
.c-eyebrow {
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
}

/* The quieter second half of a heading: the soft ink, still 7:1 on white. */
.c-heading-muted {
  color: var(--color-ink-soft);
}

}
@layer components {
/* Card photo: a decorative, lazy-loaded <picture> that fills its card under the card's scrim.
   Cards keep a solid colour as the placeholder while the photo loads. */
.c-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.c-photo__img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

}
@layer components {
/* Element card: a photo with the element's stamp in the top corner, and the title and text over a
   straight scrim at the bottom. The stamps use the brandbook's on-dark colours over the photos. */
.c-elements-section {
  padding-block-start: clamp(2rem, 4vw, 3.5rem);
}

.c-elements {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.c-element {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  isolation: isolate;
  overflow: hidden;
  min-block-size: clamp(16rem, 30vh, 21rem);
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--color-ink);
  color: #fff;
}

.c-element::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 30 28 / 0%) 35%, var(--color-veil) 100%);
  content: "";
}

.c-element__stamp {
  inline-size: 3rem;
  block-size: 3rem;
}

.c-element--tierra .c-element__stamp {
  fill: var(--stamp-earth-light);
}

.c-element--agua .c-element__stamp {
  fill: var(--stamp-water-light);
}

.c-element--sol .c-element__stamp {
  fill: var(--stamp-sun-light);
}

.c-element--vida .c-element__stamp {
  fill: var(--stamp-life-light);
}

.c-element__title {
  font-size: 1.375rem;
}

.c-element__text {
  max-inline-size: 30ch;
  margin-block-start: 0.25rem;
  font-size: 1rem;
  line-height: 1.45;
}

@media (width < 1200px) {
  .c-elements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width < 760px) {
  .c-element {
    min-block-size: 13.75rem;
    padding: 0.875rem;
  }

  .c-element__stamp {
    inline-size: 2.25rem;
    block-size: 2.25rem;
  }

  .c-element__title {
    font-size: 1.125rem;
  }

  .c-element__text {
    font-size: 0.875rem;
  }
}

}
@layer components {
/* Biome card: like the element cards, a photo with the number, the name and the text over a
   straight scrim. A biome without a photo yet is a flat panel in its own colour with its icon
   drawn large in a lighter tint; every panel colour keeps white text at 4.5:1 or more. */
.c-biomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.c-biome {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  isolation: isolate;
  overflow: hidden;
  min-inline-size: 0;
  aspect-ratio: 16 / 10;
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--biome, var(--color-ink));
  color: #fff;
}

.c-biome--photo::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 30 28 / 0%) 30%, var(--color-veil) 100%);
  content: "";
}

.c-biome__num {
  font-size: var(--text-small);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.c-biome--photo .c-biome__num {
  align-self: flex-start;
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
  background: rgb(8 30 28 / 60%);
}

.c-biome__icon {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  z-index: -1;
  inline-size: 46%;
  block-size: auto;
  color: rgb(255 255 255 / 22%);
}

.c-biome--photo .c-biome__icon {
  display: none;
}

.c-biome__name {
  font-size: 1.25rem;
}

.c-biome__text {
  max-inline-size: 34ch;
  margin-block-start: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

/* Panel colours: the biome's darkest tone, also the photo's placeholder while it loads. */
.c-biome--sabana {
  --biome: #7d5323;
}

.c-biome--selva {
  --biome: #0e5a3a;
}

.c-biome--asia {
  --biome: #2f6450;
}

.c-biome--pacifico {
  --biome: #2c6b7d;
}

.c-biome--desiertos {
  --biome: #8a5530;
}

.c-biome--montana {
  --biome: #3d5e3a;
}

.c-biome--oceania {
  --biome: #95492a;
}

.c-biome--nocturno {
  --biome: #253b5e;
}

@media (width < 1200px) {
  .c-biomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width < 600px) {
  .c-biome {
    aspect-ratio: auto;
    min-block-size: 13rem;
    padding: 0.875rem;
  }

  .c-biome__name {
    font-size: 1.0625rem;
  }

  .c-biome__text {
    font-size: 0.875rem;
  }
}

}
@layer components {
/* Origin: where the animals come from (conservation, reintroduction, rescue) and where the money
   goes. A leaf field with the statement on the left and three points on the right. */
.c-origin__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 4.5vw, 4.5rem) var(--field-pad);
  border-radius: var(--radius-field);
  background: var(--color-leaf);
}

.c-origin__intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c-origin__lede {
  max-inline-size: 34rem;
  margin-block-start: 0.5rem;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
}

.c-origin__list {
  display: grid;
  align-content: center;
  gap: 1.25rem;
}

.c-origin__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  padding-block-end: 1.25rem;
  border-block-end: 1px solid var(--color-line-soft);
}

.c-origin__item:last-child {
  padding-block-end: 0;
  border-block-end: 0;
}

.c-origin__icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--stamp-life);
}

.c-origin__icon svg {
  inline-size: 1.375rem;
  block-size: 1.375rem;
}

.c-origin__title {
  font-size: 1.25rem;
}

.c-origin__text {
  color: var(--color-ink-soft);
}

.c-origin__more a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-target);
  font-weight: 500;
}

@media (width < 900px) {
  .c-origin__panel {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }
}

}
@layer components {
/* Feature tiles ("beyond the animals"): a grid with one large tile. Photo tiles carry white text
   over a straight scrim; flat tiles are ink (white text), leaf or sky (ink text). */
.c-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: minmax(12rem, auto);
  gap: var(--grid-gap);
}

.c-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  isolation: isolate;
  overflow: hidden;
  min-inline-size: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  border-radius: var(--radius-card);
}

.c-tile__kicker {
  margin-block-end: auto;
  padding-inline-end: 3.5rem; /* clear the glyph */
  font-size: var(--text-small);
  font-weight: 600;
}

.c-tile__title {
  font-size: 1.375rem;
  letter-spacing: -0.015em;
}

.c-tile__text {
  max-inline-size: 32rem;
  font-size: 1rem;
}

/* The glyph: a small white tile with the icon in ink, top right. */
.c-tile__glyph {
  position: absolute;
  inset-block-start: 1.25rem;
  inset-inline-end: 1.25rem;
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--color-ink);
}

.c-tile__glyph svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

.c-tile--large {
  grid-row: span 2;
}

.c-tile--large .c-tile__title {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.05;
}

.c-tile--dark {
  background: var(--color-ink);
  color: #fff;
}

.c-tile--celadon {
  background: var(--color-leaf);
  color: var(--color-ink);
}

.c-tile--cream {
  background: var(--color-sky);
  color: var(--color-ink);
}

/* Photo tiles: ink while the photo loads, then the photo under a scrim. */
.c-tile--photo {
  background: var(--color-ink);
  color: #fff;
}

.c-tile--photo::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(8 30 28 / 10%) 0%, rgb(8 30 28 / 0%) 30%, var(--color-veil) 100%);
  content: "";
}

.c-tile--clay {
  grid-column: span 2;
}

.c-bento--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.c-tile__text a {
  color: inherit;
  text-decoration-thickness: 1px;
}

@media (width < 900px) {
  .c-bento {
    grid-template-columns: 1fr 1fr;
  }

  .c-tile--large {
    grid-column: span 2;
    grid-row: auto;
    min-block-size: 20rem;
  }

  .c-tile--fern,
  .c-tile--clay {
    grid-column: 1 / -1;
  }
}

@media (width < 600px) {
  .c-bento,
  .c-bento--three {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-tile--large,
  .c-tile--fern,
  .c-tile--clay {
    grid-column: auto;
  }
}

}
@layer components {
/* Learn section: the heading and the story on the left, the four plans (soon, at the opening) on
   the right. The text column starts at the field's inner edge, like every section head. */
.c-learn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.c-learn__intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-inline-start: var(--field-pad);
}

.c-learn__lede {
  max-inline-size: 36rem;
  margin-block-start: 0.75rem;
  color: var(--color-ink-soft);
}

.c-learn__item {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.1rem;
  border-block-start: 1px solid var(--color-line-soft);
}

.c-learn__item:last-child {
  border-block-end: 1px solid var(--color-line-soft);
}

.c-learn__when {
  place-self: start start;
  margin-block-start: 0.15rem;
  padding: 0.1rem 0.6rem;
  border-radius: 6px;
  background: var(--color-leaf);
  font-size: var(--text-small);
  font-weight: 600;
}

.c-learn__item-title {
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.c-learn__item-text {
  color: var(--color-ink-soft);
}

@media (width < 900px) {
  .c-learn {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .c-learn > :last-child {
    padding-inline: var(--field-pad);
  }
}

}
@layer components {
/* Milestones: the progress card (total, caption, status and a real role="progressbar") and the
   company pledge under it. The card is a sky panel on the white page; the milestone scale inside
   it is in scale.css. */
.c-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem 2rem;
  margin-block-end: clamp(1.5rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: var(--radius-card);
  background: var(--color-sky);
}

.c-progress__amount {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.c-progress__caption {
  margin-block-start: 0.5rem;
  color: var(--color-ink-soft);
}

/* «Aportaciones abiertas»: a still white tag with a leaf-green dot. */
.c-progress__status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.5em;
  padding: 0.35em 0.85em;
  border-radius: 8px;
  background: var(--color-page);
  font-size: var(--text-small);
  font-weight: 600;
  white-space: nowrap;
}

.c-progress__status-dot {
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-radius: 50%;
  background: var(--stamp-life);
}

/* The bar to the last milestone; scale.css places it under the stops. White track with a fine
   ink edge, sun fill. */
.c-progress__track {
  block-size: 14px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--color-page);
  box-shadow: inset 0 0 0 1px var(--color-line-soft);
}

/* SVG fill sized by its rect's width attribute (the CSP forbids inline style widths). */
.c-progress__fill {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  fill: var(--color-sun);
}

@media (width < 600px) {
  .c-progress {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

/* Company pledge: the reinvestment commitment, set large with a sun rule. */
.c-milestones__pledge {
  max-inline-size: 52rem;
  margin-inline: var(--field-pad);
  padding-inline-start: clamp(1rem, 2vw, 1.5rem);
  border-inline-start: 4px solid var(--color-sun);
  font-size: clamp(1.1875rem, 1.7vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.c-progress .c-demo-note {
  grid-column: 1 / -1;
  justify-self: start;
}

}
@layer components {
/* Milestone scale inside the progress card: one visually hidden radio per milestone, its label as a
   stop above the progress bar, and one detail card per milestone, of which only the checked one
   shows. No JS: `:checked` shows the card, and with a fine pointer `:has()` previews the card of the
   hovered stop until the pointer leaves it (clicking selects). The column counts are set for the
   nine milestones the site shows (up to site.json's milestonesUpTo): nine columns from 1024px,
   so each stop sits above its own step of the bar; five from 600px (5 + 4) and three on phones
   (3 + 3 + 3), with the bar and the card under the stops. The bar and the shown card follow the
   stops through `order`, so the layout holds for any number of rows. */
.c-scale {
  grid-column: 1 / -1;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.c-scale__hint {
  margin-block-end: 0.6rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
}

.c-scale__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Each hidden radio lies on its own stop's row, as tall as the row (u-sr-only keeps it 1px wide
   and clipped, so it never takes a click). Browsers scroll a focused radio into view, and Chromium
   focuses the radio when its label is tapped: left at the grid's top corner, where an absolute grid
   child sits by default, a tap on a lower row scrolled the page by hundreds of pixels. The rows
   follow the column counts: three stops a row on phones, five from 600px, nine from 1024px. */
.c-scale__input {
  grid-row: 1 / span 1;
  inset-block-start: 0;
  inset-inline-start: 0;
  min-block-size: 100%;
  margin: 0;
}

@media (width < 600px) {
  .c-scale__input:nth-of-type(n + 4) {
    grid-row-start: 2;
  }

  .c-scale__input:nth-of-type(n + 7) {
    grid-row-start: 3;
  }
}

@media (600px <= width < 1024px) {
  .c-scale__input:nth-of-type(n + 6) {
    grid-row-start: 2;
  }
}

/* Keyboard focus also brings the stop's card into view, since the arrow keys change it: the
   browser scrolls the focused radio into view with this margin under it (the bar and the 14rem
   card). A tap or a click focuses without :focus-visible, so it never moves the page. Phones keep
   the plain scroll: their stacked card is taller than many screens. */
@media (width >= 600px) {
  .c-scale__input:focus-visible {
    scroll-margin-block-end: 20rem;
  }
}

/* The label fills its whole cell, with no gap to the next one, so the hover preview never drops
   back to the checked card between two stops; the amount is the pill inside it. */
.c-scale__stop {
  display: grid;
  min-inline-size: 0;
  min-block-size: 44px;
  padding: 4px 3px;
  cursor: pointer;
}

/* An amount that outgrows its pill (larger text spacing, a narrow screen) wraps inside it rather
   than being cut off. */
.c-scale__amount {
  display: grid;
  place-items: center;
  min-inline-size: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--color-ink);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  transition:
    background-color var(--duration) ease,
    border-color var(--duration) ease,
    color var(--duration) ease;
}

/* The short form («200 k€») is for the narrowest phones, where a quarter of the card is narrower
   than «200.000 €»; every other width has room for the full amount. Whichever is hidden is also
   left out of the radio's accessible name. */
.c-scale__short {
  display: none;
}

/* Phones: four stops a row, so the figures step down a size to fit «100.000 €» at 360px. */
@media (width < 600px) {
  .c-scale__amount {
    font-size: 0.8125rem;
  }
}

@media (width < 360px) {
  .c-scale__full {
    display: none;
  }

  .c-scale__short {
    display: inline;
  }
}

/* States. Opening the gate and the complete park (key) get a sun edge. Reached stops are ink with
   white figures; the next one has a water-blue edge. */
.c-scale__stop--key .c-scale__amount {
  border-color: var(--stamp-sun);
}

.c-scale__stop--reached .c-scale__amount {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: #fff;
}

.c-scale__stop--next .c-scale__amount {
  border-color: var(--color-water);
}

/* The checked stop: sun fill, an ink edge, heavier type and an underline, so it never depends on
   colour. */
.c-scale__input:checked + .c-scale__stop .c-scale__amount {
  border-color: var(--color-ink);
  background: var(--color-sun);
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: underline 2px;
  text-underline-offset: 0.25em;
}

.c-scale__input:focus-visible + .c-scale__stop .c-scale__amount {
  outline: 2px solid var(--color-water);
  outline-offset: 2px;
}

/* WebKit drops :focus-visible from a radio reached with the arrow keys, so there the ring (and the
   keyboard scroll margin above) follows :focus; WebKit never focuses a radio on click, so a click
   still draws no ring. The condition is true in WebKit only. */
@supports (hanging-punctuation: first) {
  .c-scale__input:focus + .c-scale__stop .c-scale__amount {
    outline: 2px solid var(--color-water);
    outline-offset: 2px;
  }

  @media (width >= 600px) {
    .c-scale__input:focus {
      scroll-margin-block-end: 20rem;
    }
  }
}

/* The bar comes after every stop, and the shown card after the bar. */
.c-scale__grid > .c-progress__track {
  order: 1;
  grid-column: 1 / -1;
  margin-block: 0.75rem 1.25rem;
}

.c-scale__detail {
  display: none;
  order: 2;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-page);
}

.c-scale__input:checked + .c-scale__stop + .c-scale__detail {
  display: grid;
}

/* Hover is only a preview: it needs a fine pointer, and leaving the stop shows the checked card
   again. These rules come after the :checked one, which has the same specificity. An ink ring
   marks the previewed stop, also on an ink (reached) pill. */
@media (hover: hover) and (pointer: fine) {
  .c-scale__stop:hover .c-scale__amount {
    box-shadow:
      0 0 0 2px var(--color-sky),
      0 0 0 4px var(--color-ink);
  }

  .c-scale__grid:has(.c-scale__stop:hover) .c-scale__detail {
    display: none;
  }

  .c-scale__grid:has(.c-scale__stop:hover) .c-scale__stop:hover + .c-scale__detail {
    display: grid;
  }
}

/* The card's art: 16:9 on top on phones, the left column beside the text from 600px. Hidden cards
   are display: none, so a card's lazy photo loads when the card is shown or previewed (and every
   photo loads at once without JavaScript, when browsers turn lazy loading off). */
.c-scale__media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-leaf);
}

/* Portrait photos whose subject sits high in the frame (`focus: "top"` in milestones.json). */
.c-scale__media--top .c-photo__img {
  object-position: 50% 15%;
}

/* A milestone without a photo: a flat leaf panel with its brand glyph in vida green. */
.c-scale__media--art {
  display: grid;
  place-items: center;
  background: var(--color-leaf);
  color: var(--stamp-life);

  --mw: currentcolor;
  --s1: currentcolor;
  --s2: currentcolor;
  --s3: currentcolor;
  --s4: currentcolor;
}

.c-scale__media--art svg {
  inline-size: auto;
  block-size: 50%;
  aspect-ratio: 1;
  fill: currentcolor;
}

.c-scale__detail-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  min-inline-size: 0;
  padding: 1rem 1.15rem 1.25rem;
}

.c-scale__step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3em 0.6em;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  font-weight: 600;
}

.c-scale__state {
  padding: 0.05em 0.6em;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  color: var(--color-ink);
}

.c-scale__state--reached {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: #fff;
}

.c-scale__state--next {
  border-color: var(--color-water);
  color: var(--color-water);
}

.c-scale__detail-amount {
  margin-block-start: 0.2rem;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.c-scale__title {
  font-size: 1.25rem;
  letter-spacing: 0;
}

.c-scale__text {
  max-inline-size: 44rem;
  color: var(--color-ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Opening the gate and the complete park: a sun band on top of the card. */
.c-scale__detail--key {
  border-block-start: 6px solid var(--color-sun);
}

/* From 600px: five stops a row, and the card's art beside its text. The art keeps its column's
   width and a 2:1 box (about 225px tall on desktop), and grows only taller when a long text needs
   more room. */
@media (width >= 600px) {
  .c-scale__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .c-scale__detail {
    grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  }

  .c-scale__detail--plain {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-scale__media {
    align-self: stretch;
    inline-size: 100%;
    aspect-ratio: 2 / 1;
  }

  .c-scale__detail-body {
    gap: 0.4rem;
    padding: 1.25rem clamp(1.25rem, 2.4vw, 2.25rem);
  }

  .c-scale__detail-amount {
    font-size: clamp(2rem, 3vw, 2.75rem);
  }

  .c-scale__title {
    font-size: 1.375rem;
  }

  .c-scale__text {
    max-inline-size: 38rem;
    font-size: 1.0625rem;
  }
}

/* Wide screens: a flatter art box (3:1), so the whole section fits one screen. */
@media (width >= 1200px) {
  .c-scale__media {
    aspect-ratio: 3 / 1;
  }
}

/* One card height for every milestone, so the page below does not move while the pointer runs
   along the stops. 14rem fits the longest text at 600px and is taller than the 3:1 art from
   1200px; raise it if a milestone gets a much longer text. */
@media (width >= 600px) {
  .c-scale__detail {
    min-block-size: 14rem;
  }
}

/* Desktop: the nine stops share one row, each above its own ninth of the bar. A small ink
   pointer under the stop whose card shows leads down to the card. */
@media (width >= 1024px) {
  .c-scale__grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }

  .c-scale__stop {
    position: relative;
  }

  .c-scale__stop::after {
    position: absolute;
    inset-block-end: -3px;
    inset-inline-start: calc(50% - 6px);
    border: 6px solid transparent;
    border-block-start-color: var(--color-ink);
    border-block-end-width: 0;
  }

  .c-scale__input:checked + .c-scale__stop::after {
    content: "";
  }

  .c-scale__grid > .c-progress__track {
    margin-block-start: 0.4rem;
  }
}

/* While the pointer previews another stop, the pointer moves there with the card. */
@media (width >= 1024px) and (hover: hover) and (pointer: fine) {
  .c-scale__grid:has(.c-scale__stop:hover) .c-scale__input:checked + .c-scale__stop:not(:hover)::after {
    content: none;
  }

  .c-scale__stop:hover::after {
    content: "";
  }
}

/* Forced colours drop the fills: reached stops are solid, the next one has a thicker edge, and the
   checked stop takes the system highlight. Its focus ring and the pointer use the text colour, so
   they show in light and dark themes alike. */
@media (forced-colors: active) {
  .c-scale__stop--reached .c-scale__amount {
    border-color: canvastext;
    background: canvastext;
    color: canvas;
    forced-color-adjust: none;
  }

  .c-scale__stop--next .c-scale__amount {
    border-width: 3px;
  }

  .c-scale__input:checked + .c-scale__stop .c-scale__amount {
    border-color: highlight;
    background: highlight;
    color: highlighttext;
    box-shadow: none;
    forced-color-adjust: none;
  }

  .c-scale__input:focus + .c-scale__stop .c-scale__amount {
    outline-color: canvastext;
  }

  .c-scale__stop::after {
    border-color: transparent;
    border-block-start-color: canvastext;
    forced-color-adjust: none;
  }
}

}
@layer components {
/* Contributions: the amount picker on the leaf field. Nine price chips (eight tiers and the free
   amount) as one radio group, and one white card per chip, of which only the checked one shows
   (`:checked`, no JS and no hover preview: a chip is a choice). The card has the price, what
   reaches the park, the Stripe button and the trust line; the perks sit beside it from 900px.
   The legal note stays visible below. */
.c-picker {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.c-picker__hint {
  margin-block: -0.25rem 1rem;
  color: var(--color-ink-soft);
  font-size: 1rem;
}

.c-picker__legend {
  margin-block-end: 0.75rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Chips: 3 × 3 on phones, 5 + 4 (the four centred) from 760px, one row of nine from 1200px. The
   shown card follows the chips through `order`. */
.c-picker__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

/* Each hidden radio lies on its own chip's row, as tall as the row (u-sr-only keeps it 1px wide and
   clipped), so the browser's scroll to a focused radio (Chromium focuses it when its chip is
   tapped) never jumps to the grid's top corner. The rows follow the chip rows: three on phones,
   five and four from 760px, one from 1200px. */
.c-picker__input {
  grid-row: 1 / span 1;
  inset-block-start: 0;
  inset-inline-start: 0;
  min-block-size: 100%;
  margin: 0;
}

@media (width < 760px) {
  .c-picker__input:nth-of-type(n + 4) {
    grid-row-start: 2;
  }

  .c-picker__input:nth-of-type(n + 7) {
    grid-row-start: 3;
  }
}

@media (760px <= width < 1200px) {
  .c-picker__input:nth-of-type(n + 6) {
    grid-row-start: 2;
  }
}

.c-picker__chip {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.125rem;
  min-inline-size: 0;
  min-block-size: 5rem;
  padding: 0.75rem 0.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  background: var(--color-page);
  text-align: center;
  cursor: pointer;
  transition:
    background-color var(--duration) ease,
    border-color var(--duration) ease,
    transform 120ms var(--ease-out);
}

.c-picker__chip:active {
  transform: scale(0.98);
}

.c-picker__price {
  font-size: clamp(1.25rem, 1.6vw, 1.4375rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* «Otra cantidad» is an open choice, not one more price: sky field and a dashed water-blue edge,
   so nobody reads the tiers as the only amounts allowed. */
.c-picker__chip--free {
  border: 2px dashed var(--color-water);
  background: var(--color-sky);
}

.c-picker__chip--free .c-picker__name {
  color: var(--color-water);
  font-weight: 600;
}

/* «Otra cantidad» is words, not a number: smaller, and it may take two lines. */
.c-picker__chip--free .c-picker__price {
  font-size: 1.0625rem;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: balance;
}

.c-picker__name {
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.c-picker__badge {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Checked: sun fill and an ink edge. */
.c-picker__input:checked + .c-picker__chip {
  border-color: var(--color-ink);
  background: var(--color-sun);
}

.c-picker__input:checked + .c-picker__chip .c-picker__name {
  color: var(--color-ink);
}

.c-picker__input:focus-visible + .c-picker__chip {
  outline: 2px solid var(--color-water);
  outline-offset: 3px;
}

/* WebKit drops :focus-visible from a radio reached with the arrow keys, so there the ring follows
   :focus; WebKit never focuses a radio on click, so a click still draws no ring. The condition is
   true in WebKit only. */
@supports (hanging-punctuation: first) {
  .c-picker__input:focus + .c-picker__chip {
    outline: 2px solid var(--color-water);
    outline-offset: 3px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .c-picker__input:not(:checked) + .c-picker__chip:hover {
    border-color: var(--color-line);
  }
}

/* The card of the checked chip, across every column under the chips. */
.c-picker__detail {
  display: none;
  order: 1;
  grid-column: 1 / -1;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  margin-block-start: 0.5rem;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  border-radius: var(--radius-card);
  background: var(--color-page);
}

.c-picker__input:checked + .c-picker__chip + .c-picker__detail {
  display: grid;
}

.c-picker__summary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c-tier__name {
  color: var(--color-ink-soft);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.c-tier__price,
.c-picker__any {
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

/* At the foot of the perks, small and quiet: what reaches the park after Stripe's fee. */
.c-tier__net {
  max-inline-size: 52ch;
  margin-block-start: 1rem;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid var(--color-line-soft);
  color: var(--color-ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

.c-tier__net strong {
  white-space: nowrap;
}

.c-tier__button,
.c-give-free__link {
  inline-size: 100%;
  min-block-size: 58px;
  margin-block-start: 0.5rem;
}

.c-picker__trust {
  margin-block-start: 0.25rem;
}

.c-picker__perks {
  min-inline-size: 0;
}

.c-picker__perks-title {
  margin-block-end: 0.75rem;
  color: var(--color-ink-soft);
  font-size: 1rem;
  font-weight: 600;
}

/* Every perk the tier includes, each with a check; two columns when there are more than seven and
   room for them. The ones this tier adds carry the sun «Nuevo» tag. */
.c-tier__perks {
  display: grid;
  gap: 0.6rem;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.c-tier__perk {
  position: relative;
  padding-inline-start: 1.9rem;
  break-inside: avoid;
}

.c-tier__perk::before {
  position: absolute;
  inset-block-start: 0.05em;
  inset-inline-start: 0;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  border-radius: 50%;
  background: var(--color-leaf)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%232f5a35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat;
  content: "";
}

.c-tier__new {
  display: inline-block;
  margin-inline-start: 0.4em;
  padding: 0 0.5em;
  border-radius: 6px;
  background: var(--color-sun);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: 0.1em;
}

/* The free amount's card: its text in place of the perks, then Stripe's fee formula. */
.c-picker__free-text {
  max-inline-size: 48ch;
  font-size: 1.0625rem;
  text-wrap: pretty;
}

.c-picker__free-fee {
  max-inline-size: 48ch;
  margin-block-start: 0.75rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  text-wrap: pretty;
}

@media (width >= 600px) {
  .c-tier__perks:has(> :nth-child(8)) {
    display: block;
    columns: 2;
    column-gap: 2rem;
  }

  .c-tier__perks:has(> :nth-child(8)) > .c-tier__perk {
    margin-block-end: 0.6rem;
  }
}

@media (width >= 760px) {
  .c-picker__grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .c-picker__chip {
    grid-column: span 2;
  }

  .c-picker__chip:nth-of-type(6) {
    grid-column: 2 / span 2;
  }
}

/* Without the free amount the second row has three chips, centred too. */
@media (760px <= width < 1200px) {
  .c-picker--no-free .c-picker__chip:nth-of-type(6) {
    grid-column: 3 / span 2;
  }
}

@media (width >= 900px) {
  .c-picker__detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (width >= 1200px) {
  .c-picker__grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .c-picker__chip,
  .c-picker__chip:nth-of-type(6) {
    grid-column: auto;
  }

  .c-picker--no-free .c-picker__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

/* Forced colours drop the fills, so the checked chip takes the system highlight; its focus ring
   uses the text colour, so it shows in light and dark themes alike. */
@media (forced-colors: active) {
  .c-picker__input:checked + .c-picker__chip,
  .c-picker__input:checked + .c-picker__chip .c-picker__name {
    background: highlight;
    color: highlighttext;
    forced-color-adjust: none;
  }

  .c-picker__input:focus + .c-picker__chip {
    outline-color: canvastext;
  }
}

/* Under the picker: the legal note. */
.c-patrons__foot {
  margin-block-start: 1.25rem;
}

.c-patrons__note {
  max-inline-size: 72ch;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  text-wrap: pretty;
}

/* Keyboard focus never lands under the fixed bar, also when tabbing backwards (WCAG 2.4.11). */
.c-patrons :is(a, button) {
  scroll-margin-block-start: var(--nav-offset);
}

}
@layer components {
/* FAQ: native <details>/<summary> with a square «+» marker that turns into a cross. No JS. */
.c-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

/* The aside stays in view while the questions scroll past, so the left column never sits empty. */
.c-faq__aside {
  position: sticky;
  inset-block-start: var(--nav-offset);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-inline-start: var(--field-pad);
}

.c-faq__lede {
  max-inline-size: 26rem;
  color: var(--color-ink-soft);
}

.c-faq__actions {
  margin-block-start: 0.5rem;
}

.c-faq__photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  inline-size: 100%;
  aspect-ratio: 4 / 3;
  margin-block-start: 0.75rem;
  border-radius: var(--radius-card);
  background: var(--color-leaf);
}

.c-faq__item {
  border-block-start: 1px solid var(--color-line-soft);
}

.c-faq__item:last-child {
  border-block-end: 1px solid var(--color-line-soft);
}

.c-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: var(--touch-target);
  padding-block: 0.9rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.c-faq__question::-webkit-details-marker {
  display: none;
}

.c-faq__question::after {
  display: grid;
  flex: none;
  place-items: center;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 8px;
  background: var(--color-sky);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  content: "+";
  transition: transform var(--duration) var(--ease-out);
}

.c-faq__item[open] .c-faq__question::after {
  transform: rotate(45deg);
}

.c-faq__answer {
  max-inline-size: 42rem;
  padding-block-end: 1.1rem;
  color: var(--color-ink-soft);
}

@media (width < 900px) {
  .c-faq__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .c-faq__aside {
    position: static;
  }

  .c-faq__list {
    padding-inline: var(--field-pad);
  }

  .c-faq__photo {
    display: none;
  }
}

}
@layer components {
/* Mural: the patrons' names in ranked order (amount weighted by how early it came), set as a
   flowing wall of type. Higher tiers are larger and heavier, so the wall reads like the entrance
   mural. Every name is ink or water blue on white. */
.c-mural {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em 1.1em;
  margin-block-start: 1.5rem;
  padding-inline: var(--field-pad);
  line-height: 1.15;
}

.c-mural__name {
  font-size: 1.0625rem;
}

.c-mural__name--brote {
  font-size: 1.125rem;
}

.c-mural__name--raiz {
  font-size: 1.25rem;
  font-weight: 500;
}

.c-mural__name--rama {
  font-size: 1.375rem;
  font-weight: 500;
}

.c-mural__name--arbol {
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--color-water);
}

.c-mural__name--arboleda {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 600;
  color: var(--color-water);
}

.c-mural__name--bosque {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.c-mural__name--bioma {
  font-size: clamp(2.25rem, 5vw, 3.625rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-water);
}

.c-mural__empty {
  padding-inline: var(--field-pad);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 600;
}

/* Demo data label: shown while the campaign data is invented (patrons.json "demo": true). */
.c-demo-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.8em;
  border: 1px dashed var(--color-ink-soft);
  border-radius: 6px;
  background: var(--color-page);
  font-size: 0.875rem;
}

.l-wrap > .c-demo-note {
  margin-inline: var(--field-pad);
}

.c-patrons__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 2rem;
  padding-inline: var(--field-pad);
}

.l-field .c-patrons__more,
.l-field .c-mural {
  padding-inline: 0;
}

}
@layer components {
/* Shop («Lookbook del parque», ADR 0005) on the white page: the collection spread with a bento of
   studio photos, the «where the money goes» panel on the leaf field, and the product pages.
   Nothing here sells: no prices, no checkout and no payment links. */

/* Garment colours: decorative dots and swatches only, never text. */
.c-tone--caqui {
  --tone: var(--tone-caqui);
}

.c-tone--crema {
  --tone: var(--tone-crema);
}

.c-tone--beige {
  --tone: var(--tone-beige);
}

.c-tone--lila {
  --tone: var(--tone-lila);
}

.c-tone--azul {
  --tone: var(--tone-azul);
}

/* Header chip with the money line: a white chip on the sky field, with the BIOM mark. */
.c-shop-hero__note {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-inline-size: 36rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
}

.c-shop-hero__mark {
  flex: none;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  padding: 0.3rem;
  border-radius: 8px;
  background: var(--color-sky);
}

.c-shop-hero__mark svg,
.c-shop__promise-mark svg,
.c-pdp__promise-mark svg {
  inline-size: 100%;
  block-size: 100%;
}

/* Section 1, the collection. Under 960px the intro stacks above the bento; 960–1359px it becomes
   a row; from 1360px it is the left page of a spread. */
.c-shop {
  padding-block-start: 0;
}

.c-shop__intro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: var(--field-pad);
}

.c-shop__intro-top {
  max-inline-size: 40rem;
}

.c-shop__intro-foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (960px <= width < 1360px) {
  .c-shop__intro {
    flex-flow: row wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem 3rem;
  }

  .c-shop__intro-foot {
    max-inline-size: 24rem;
  }
}

/* The promise card and the status sit at the bottom of the left column, level with the bento's
   bottom edge, so the column never looks empty. */
@media (width >= 1360px) {
  .c-shop__spread {
    display: grid;
    grid-template-columns: clamp(19rem, 22vw, 25rem) minmax(0, 1fr);
    align-items: stretch;
    column-gap: clamp(1.75rem, 3vw, 3.5rem);
  }

  .c-shop__intro {
    justify-content: space-between;
    margin-block-end: 0;
    padding-inline-end: 0;
  }
}

.c-shop__title {
  margin-block: 0.5rem 1rem;
}

.c-shop__lede {
  max-inline-size: 30rem;
  color: var(--color-ink-soft);
  line-height: 1.55;
}

.c-shop__hint {
  margin-block-start: 0.6rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
}

.c-shop__promise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.4rem 0.9rem;
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--color-leaf);
}

.c-shop__promise-mark {
  grid-row: span 2;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0.4rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
}

.c-shop__promise-text {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.c-shop__jump {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  justify-self: start;
  min-block-size: var(--touch-target);
  color: var(--color-water);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.c-shop__jump:hover {
  text-decoration-thickness: 2px;
}

/* In the narrow spread column the promise card becomes a poster: the mark above larger text. */
@media (width >= 1360px) {
  .c-shop__promise {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.5rem;
  }

  .c-shop__promise-mark {
    grid-row: auto;
    inline-size: 3.25rem;
    block-size: 3.25rem;
  }

  .c-shop__promise-text {
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
    line-height: 1.28;
    letter-spacing: -0.01em;
  }

  .c-shop__jump {
    grid-column: 1;
  }
}

/* «Abrimos pronto»: a still tag with a sun dot, never a pulse. */
.c-shop__status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5em;
  padding: 0.3em 0.8em;
  border: 1px solid var(--color-line-soft);
  border-radius: 8px;
  background: var(--color-page);
  font-size: var(--text-small);
  font-weight: 600;
}

.c-shop__status-dot {
  flex: none;
  inline-size: 0.6rem;
  block-size: 0.6rem;
  border: 1px solid var(--color-ink);
  border-radius: 50%;
  background: var(--color-sun);
}

/* The bento: two columns up to 959px (the featured hoodie spans both), four from 960px, where
   the hoodie takes a 2×2 block and the four T-shirts set the row height beside it. */
.c-shop__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 1.6vw, 1.5rem) var(--grid-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-product--featured {
  grid-column: 1 / -1;
}

@media (600px <= width < 960px) {
  .c-product--featured .c-product__art {
    aspect-ratio: 1 / 1;
  }
}

@media (width >= 960px) {
  .c-shop__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .c-product--featured {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .c-product--featured .c-product__art {
    flex: 1 1 0;
    aspect-ratio: auto;
    min-block-size: 18rem;
  }
}

/* Card: a studio photo on its own backdrop and a caption under it; the whole card is one link. */
.c-product__link {
  display: flex;
  flex-direction: column;
  block-size: 100%;
  border-radius: var(--radius-card);
  color: var(--color-ink);
  text-decoration: none;
}

.c-product__art {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  background: var(--color-studio);
}

.c-product__art .c-photo {
  z-index: 0;
}

.c-product__art .c-photo__img {
  object-position: 50% 30%;
}

.c-product__body {
  display: grid;
  gap: 0.15rem;
  margin-block-start: 0.75rem;
  padding-inline: 0.25rem;
}

.c-product__name {
  justify-self: start;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: underline transparent 2px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--duration) ease;
}

.c-product__price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.c-product__variant {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
}

/* The inset ring keeps the light tones (crema, lila) visible on light surfaces. */
.c-dot {
  flex: none;
  inline-size: 0.75rem;
  block-size: 0.75rem;
  border-radius: 50%;
  background: var(--tone);
  box-shadow: inset 0 0 0 1px rgb(14 31 28 / 22%);
  forced-color-adjust: none;
}

.c-product--featured .c-product__name {
  font-size: clamp(1.375rem, 1.7vw, 1.75rem);
  letter-spacing: -0.02em;
}

.c-product__text {
  max-inline-size: 34ch;
  color: var(--color-ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

/* Looks like a button, but it is part of the card's link, never a control of its own. */
.c-product__cta {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-block-size: 48px;
  margin-block-start: 0.5rem;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-control);
  background: var(--color-water);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color var(--duration) ease;
}

/* Hang tag: the mark and «Para el parque», pinned to the top-left corner of each photo. */
.c-tag {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem 0.4rem 0.45rem;
  border-radius: 8px;
  background: var(--color-page);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.c-tag__mark {
  flex: none;
  inline-size: 1rem;
  block-size: 1rem;
}

.c-tag--lg {
  inset-block-start: 1.1rem;
  inset-inline-start: 1.1rem;
  padding: 0.55rem 0.9rem 0.55rem 0.6rem;
  font-size: 0.9375rem;
}

.c-tag--lg .c-tag__mark {
  inline-size: 1.25rem;
  block-size: 1.25rem;
}

/* Only the featured card and the product photo spell out «Para el parque»; the T-shirt tiles keep
   the mark alone, so the label reads once instead of five times. */
.c-product:not(.c-product--featured) .c-tag__label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (width >= 600px) {
  .c-product--featured .c-tag {
    inset-block-start: 1.1rem;
    inset-inline-start: 1.1rem;
    padding: 0.55rem 0.9rem 0.55rem 0.6rem;
    font-size: 0.9375rem;
  }

  .c-product--featured .c-tag__mark {
    inline-size: 1.25rem;
    block-size: 1.25rem;
  }
}

/* Card states: hover only with a fine pointer, keyboard focus always. The name underlines and the
   featured card's button darkens; nothing zooms or swings. */
@media (hover: hover) and (pointer: fine) {
  .c-product__link:hover .c-product__name {
    text-decoration-color: currentcolor;
  }

  .c-product__link:hover .c-product__cta {
    background: var(--color-water-hover);
  }
}

.c-product__link:focus-visible {
  outline: 2px solid var(--color-water);
  outline-offset: 4px;
}

.c-product__link:focus-visible .c-product__name {
  text-decoration-color: currentcolor;
}

/* Phones: smaller captions; the mark-only tag tightens so it clears the chest logo at 320px. */
@media (width < 600px) {
  .c-product:not(.c-product--featured) .c-product__name {
    font-size: 0.9375rem;
  }

  .c-product:not(.c-product--featured) .c-product__variant {
    font-size: 0.8125rem;
  }

  .c-product:not(.c-product--featured) .c-tag {
    inset-block-start: 0.5rem;
    inset-inline-start: 0.5rem;
    padding: 0.3rem;
  }
}

/* Section 2, where the money goes: a leaf field next to a sky seal made of the four stamps
   (tierra, agua, sol, vida) in their on-light colours. */
.c-cause__panel {
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(2rem, 4.5vw, 4.5rem) var(--field-pad);
  border-radius: var(--radius-field);
  background: var(--color-leaf);
}

.c-cause__title {
  max-inline-size: 20ch;
  margin-block: 0.5rem 1.25rem;
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.c-cause__text {
  max-inline-size: 38rem;
  text-wrap: pretty;
}

.c-cause__key {
  max-inline-size: 36rem;
  margin-block-start: 0.9rem;
  font-size: clamp(1.125rem, 1.35vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.5;
}

.c-cause__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-block-start: 1.75rem;
}

.c-cause__link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-target);
  color: var(--color-water);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.c-cause__link:hover {
  text-decoration-thickness: 2px;
}

.c-cause__note {
  margin-block-start: 1rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
}

.c-cause__seal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  aspect-ratio: 1;
  padding: clamp(1rem, 2.2vw, 2rem);
  border-radius: var(--radius-card);
  background: var(--color-page);
}

.c-cause__stamp {
  inline-size: 100%;
  block-size: 100%;
}

.c-cause__stamp--tierra {
  fill: var(--stamp-earth);
}

.c-cause__stamp--agua {
  fill: var(--stamp-water);
}

.c-cause__stamp--sol {
  fill: var(--stamp-sun);
}

.c-cause__stamp--vida {
  fill: var(--stamp-life);
}

@media (width >= 960px) {
  .c-cause__panel {
    grid-template-columns: minmax(0, 1fr) clamp(14rem, 22vw, 21rem);
    align-items: center;
  }
}

/* One column: the seal goes above the label. At least 120px wide, so each stamp stays at or
   above the brand minimum of 40px. */
@media (width < 960px) {
  .c-cause__panel {
    border-radius: 24px;
  }

  .c-cause__seal {
    order: -1;
    inline-size: max(7.5rem, 120px);
    gap: 0.5rem;
    padding: 0.75rem;
  }
}

@media (width < 420px) {
  .c-cause__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .c-cause__actions .c-button {
    align-self: stretch;
  }
}

/* The last section leaves the bottom padding to main. */
.c-shop-page > .l-section:last-child {
  padding-block-end: 0;
}

/* Keyboard focus never lands under the fixed bar, also when tabbing backwards (WCAG 2.4.11). */
.c-shop-page :is(a, button, input) {
  scroll-margin-block-start: var(--nav-offset);
}

/* Product page: the header is the bar alone; main starts with the breadcrumb. */
.c-pdp,
.c-pdp-more {
  padding-block-start: 0;
}

.c-pdp-more__title,
.c-crumbs {
  padding-inline: var(--field-pad);
}

.c-crumbs {
  margin-block-end: 1rem;
}

.c-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
}

/* The separator is CSS content with empty alternative text, so screen readers skip it (browsers
   without the alt syntax keep the first declaration and still draw it). */
.c-crumbs__list li + li::before {
  margin-inline-end: 0.5rem;
  content: "/";
  content: "/" / "";
}

/* The padding widens the target past 44px (a short word like «Shop» is narrower); the negative
   margin keeps the text where it was. */
.c-crumbs__link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-target);
  margin-inline: -0.75rem -0.5rem;
  padding-inline: 0.75rem 0.5rem;
  color: var(--color-water);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.c-crumbs [aria-current="page"] {
  color: var(--color-ink);
}

.c-pdp__grid {
  display: grid;
  gap: 1.75rem;
}

/* The photo always spans its column. Without the explicit width, a capped height would narrow the
   box through its aspect ratio (and WebKit would size it from the stretched row); with it, a
   capped photo is cropped instead, keeping the chest print in view (object-position 50% 30%). */
.c-pdp__photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  max-block-size: 82svh;
  border-radius: var(--radius-card);
  background: var(--color-studio);
}

.c-pdp__photo .c-photo {
  z-index: 0;
}

.c-pdp__photo .c-photo__img {
  object-position: 50% 30%;
}

/* Tablets: a lower cap, so the title starts on the first screen; the crop keeps the logo whole. */
@media (600px <= width < 1024px) {
  .c-pdp__photo {
    max-block-size: 66svh;
  }
}

@media (width >= 1024px) {
  .c-pdp__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(21rem, 0.9fr);
    align-items: stretch;
    gap: clamp(2rem, 4vw, 5rem);
  }

  .c-pdp__photo {
    min-block-size: 30rem;
    max-block-size: calc(100svh - 9rem);
  }
}

/* The promise follows the buttons instead of sitting at the photo's bottom edge, so the money line
   shows on the first screen. */
.c-pdp__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.c-pdp__main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.c-pdp__title {
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.c-pdp__variant {
  margin-block-start: -0.5rem;
  color: var(--color-ink-soft);
}

.c-pdp__price {
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.1;
}

.c-pdp__text {
  max-inline-size: 34rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

/* Colour and size: each label stacked above its options. Swatches are links to the sibling
   colours; sizes are radio pills with no form and no JS. Each option is at least 48px tall. */
.c-pdp__pickers {
  display: grid;
  gap: 1.25rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--color-line-soft);
}

.c-choice__legend {
  margin-block-end: 0.6rem;
  padding: 0;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  font-weight: 600;
}

.c-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.c-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-block-size: 48px;
  padding: 0 1.1rem 0 0.7rem;
  border: 2px solid var(--color-line-soft);
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--color-ink);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color var(--duration) ease;
}

.c-swatch .c-dot {
  inline-size: 1.4rem;
  block-size: 1.4rem;
}

@media (hover: hover) and (pointer: fine) {
  .c-swatch[href]:hover {
    border-color: var(--color-line);
  }
}

.c-swatch[aria-current="page"] {
  border-color: var(--color-ink);
  font-weight: 600;
}

.c-swatch--static {
  padding-inline-start: 0;
  border-color: transparent;
  background: transparent;
}

.c-choice {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.c-choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.c-choice__option {
  position: relative;
  cursor: pointer;
}

.c-choice__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.c-choice__option span {
  display: inline-grid;
  place-items: center;
  min-inline-size: 48px;
  min-block-size: 48px;
  padding: 0 1em;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-control);
  background: var(--color-page);
  font-size: 1rem;
  font-weight: 600;
  transition:
    background-color var(--duration) ease,
    border-color var(--duration) ease;
}

@media (hover: hover) and (pointer: fine) {
  .c-choice__option:hover span {
    border-color: var(--color-ink);
  }
}

.c-choice__input:checked + span {
  border-color: var(--color-ink);
  background: var(--color-sun);
}

.c-choice__input:focus-visible + span {
  outline: 2px solid var(--color-water);
  outline-offset: 3px;
}

/* Forced colours drop the fill, so the chosen size takes the system highlight. */
@media (forced-colors: active) {
  .c-choice__input:checked + span {
    border-color: highlight;
    background: highlight;
    color: highlighttext;
    forced-color-adjust: none;
  }
}

/* The order button stays inert («Próximamente»); Instagram is the only way out of the shop. The
   two sit side by side except in the narrow 1024–1199px info column, where they stack. */
.c-pdp__actions {
  display: grid;
  gap: 0.6rem;
}

@media (480px <= width < 1024px), (width >= 1200px) {
  .c-pdp__actions {
    grid-template-columns: 1fr 1fr;
  }
}

.c-pdp__actions .c-button {
  inline-size: 100%;
  min-block-size: 56px;
}

.c-pdp__promise {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--color-leaf);
}

.c-pdp__promise-mark {
  grid-row: span 2;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0.45rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
}

.c-pdp__promise-title {
  font-size: 1.0625rem;
  font-weight: 600;
}

.c-pdp__promise-text {
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  line-height: 1.5;
}

.c-pdp-more__title {
  margin-block-end: clamp(1.25rem, 2.4vw, 2rem);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
}

/* The shop's status under a product's variant line (the same tag as /tienda/). .c-pdp__main is a
   flex column: the negative margin pulls the tag up to the line it belongs to. */
.c-pdp__status {
  margin-block-start: -0.5rem;
}

/* In the spread (from 1360px) the T-shirt photos are square, so the collection fits one screen;
   the crop keeps the chest print in view. */
@media (width >= 1360px) {
  .c-product:not(.c-product--featured) .c-product__art {
    aspect-ratio: 1;
  }
}

/* A product page has no page head, so the breadcrumb sits close under the bar. */
.c-shop-page:has(> .c-pdp) {
  padding-block-start: 0.75rem;
}

}
@layer components {
/* Footer: a sky field that mirrors the hero. The horizontal logo, the claim and Instagram on the
   left, three groups of links on the right, and the base line with the company and the trademark
   note. */
.c-footer {
  margin-block: var(--grid-gap) var(--gutter);
  padding-block: clamp(2rem, 4vw, 3.5rem) 1.5rem;
}

.c-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 2.5rem 4rem;
}

.c-footer__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.c-footer__logo {
  inline-size: min(100%, 13rem);
  block-size: auto;
  aspect-ratio: 4155 / 1171;
}

.c-footer__claim {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.c-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.c-footer__group-title {
  margin-block-end: 0.5rem;
  color: var(--color-ink-soft);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.c-footer__list {
  display: flex;
  flex-direction: column;
}

.c-footer__list a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.5rem;
  color: var(--color-ink);
  font-weight: 500;
  text-decoration: none;
}

.c-footer__list a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.c-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-block-start: 2.5rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--color-line-soft);
  color: var(--color-ink-soft);
  font-size: 0.875rem;
}

@media (width < 900px) {
  .c-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width < 480px) {
  .c-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

}
@layer components {
/* Prose: body text of the legal, thank-you, careers and 404 pages, on the white page. The column
   starts at the field's inner edge, like the page title above it, and keeps a reading measure. */
.c-prose {
  padding-inline: var(--field-pad);
  font-size: var(--text-body);
}

.c-prose > * {
  max-inline-size: 44rem;
}

.c-prose > * + * {
  margin-block-start: 1.2rem;
}

.c-prose__actions {
  padding-block-start: 0.75rem;
}

.c-prose__heading {
  padding-block-start: 1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.c-prose__list {
  padding-inline-start: 1.2em;
  list-style: disc;
}

.c-prose__list li + li {
  margin-block-start: 0.3rem;
}

.c-prose a:not(.c-button) {
  color: var(--color-water);
}

/* Long button labels (an email address) may wrap on narrow screens. */
.c-prose__actions .c-button {
  overflow-wrap: anywhere;
}

/* A quiet aside under a hairline (the legal notice's privacy note, the update date). */
.c-page-note--plain {
  margin-block-start: 2rem;
  padding-block-start: 1.2rem;
  border-block-start: 1px solid var(--color-line-soft);
  color: var(--color-ink-soft);
  font-size: 1rem;
}

}
@layer components {
/* «Nuestra labor» / «Our work»: the project's fact card beside the story in prose. The card reads
   like a specimen label from a herbarium: a sky sheet with the BIOM seal, ruled rows of short
   facts, the live counter and one way to help. From 1024px it has a column of its own and stays in
   view while the prose scrolls past (only where the screen is tall enough to show all of it);
   below, it comes first, as the summary of the page. */
.c-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-inline: var(--field-pad);
}

.c-work > .c-prose {
  padding-inline: 0;
}

@media (width >= 1024px) {
  .c-work {
    grid-template-columns: minmax(19rem, 26rem) minmax(0, 46rem);
  }
}

.c-ficha {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  background: var(--color-sky);
  color: var(--color-ink);
}

/* After the base rule, so sticky wins over its position: relative (the seal's containing block). */
@media (width >= 1024px) and (height >= 860px) {
  .c-ficha {
    position: sticky;
    inset-block-start: var(--nav-offset);
  }
}

/* The seal: the BIOM mark on a white tile, as on the shop's promise card. */
.c-ficha__mark {
  position: absolute;
  inset-block-start: clamp(1.2rem, 2.6vw, 1.7rem);
  inset-inline-end: clamp(1.2rem, 2.6vw, 1.7rem);
  inline-size: 2.6rem;
  block-size: 2.6rem;
  padding: 0.4rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
}

.c-ficha__title {
  max-inline-size: calc(100% - 3.4rem);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.c-ficha__facts {
  display: grid;
}

/* Ruled rows, like the lines of a label: the field in the soft ink, the fact in full ink. */
.c-ficha__row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 0.2rem 0.9rem;
  padding-block: 0.7rem;
  border-block-start: 1px dashed rgb(15 63 63 / 26%);
}

.c-ficha__row:last-child {
  border-block-end: 1px dashed rgb(15 63 63 / 26%);
}

.c-ficha__row dt {
  padding-block-start: 0.12rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}

.c-ficha__row dd {
  font-size: 1rem;
  line-height: 1.45;
}

/* The stage, said in words on a sun tag with an ink dot (as on the shop's status). */
.c-ficha__phase {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-inline-end: 0.3em;
  padding: 0.05em 0.6em;
  border-radius: 6px;
  background: var(--color-sun);
  font-size: 0.9375rem;
  font-weight: 600;
}

.c-ficha__phase-dot {
  flex: none;
  inline-size: 0.45rem;
  block-size: 0.45rem;
  border-radius: 50%;
  background: var(--color-ink);
}

.c-ficha__action .c-button {
  inline-size: 100%;
}

@media (width < 400px) {
  .c-ficha__row {
    grid-template-columns: 1fr;
  }
}

/* The live counter on the card: the figures in text, a decorative sun bar on a sky track. */
.c-work-status {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-control);
  background: var(--color-page);
}

.c-work-status__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}

.c-work-status__amount {
  font-size: 1.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.c-work-status__of {
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--color-ink-soft);
}

.c-work-status__bar {
  inline-size: 100%;
  block-size: 12px;
  border-radius: 6px;
}

.c-work-status__track {
  fill: var(--color-sky);
}

.c-work-status__fill {
  fill: var(--color-sun);
}

.c-work-status__next {
  font-size: 0.95rem;
}

.c-work-status__meta {
  font-size: 0.88rem;
  color: var(--color-ink-soft);
}

/* The prose column: a larger opening paragraph, the biomes and the four commitments. */
.c-work__body {
  max-inline-size: 44rem;
}

.c-work__lede {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.5;
}

.c-work__biomes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.5rem 1.2rem;
}

.c-work__biome {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
}

.c-work__biome-icon {
  flex: none;
  inline-size: 2.2rem;
  block-size: 2.2rem;
  padding: 0.35rem;
  border-radius: 8px;
  background: var(--color-leaf);
  color: var(--stamp-life);
}

.c-work__points {
  display: grid;
  gap: 1rem;
}

.c-work__point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.c-work__point-icon {
  display: grid;
  place-items: center;
  inline-size: 2.4rem;
  block-size: 2.4rem;
  border-radius: var(--radius-control);
  background: var(--color-leaf);
  color: var(--stamp-life);
}

.c-work__point-icon svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
}

/* Anchor links to the seven sections, for a long page on a phone: a quiet wrap of links. */
.c-work__toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.3rem;
  padding-block: 0.8rem;
  border-block: 1px solid var(--color-line-soft);
  font-size: 0.98rem;
}

.c-work__toc-list a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-target);
}

/* «En qué se usa tu dinero»: what reaches the park from each tier after Stripe's standard fee. A
   compact ruled table in the prose column; the figures line up on the right, in tabular numbers. */
.c-fee-table__table {
  inline-size: 100%;
  max-inline-size: 36rem;
  border-collapse: collapse;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.c-fee-table__caption {
  padding-block-end: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: start;
}

.c-fee-table__table :is(th, td) {
  padding: 0.45rem 0.6rem;
  border-block-end: 1px solid var(--color-line-soft);
  text-align: end;
}

.c-fee-table__table :is(th, td):first-child {
  padding-inline-start: 0;
  text-align: start;
}

.c-fee-table__table :is(th, td):last-child {
  padding-inline-end: 0;
}

.c-fee-table__table thead th {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  vertical-align: bottom;
  color: var(--color-ink-soft);
}

.c-fee-table__table tbody th {
  font-weight: 400;
}

.c-fee-table__table td {
  white-space: nowrap;
}

.c-fee-table__table td:last-child {
  font-weight: 600;
}

/* The tier name may drop under its amount on the narrowest phones. */
.c-fee-table__tier {
  display: inline-block;
  margin-inline-start: 0.35em;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}

.c-fee-table__note {
  margin-block-start: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

}
@layer utilities {
/* Single-purpose helpers: visually hidden text, the sprite host and the sprite fills. */
.u-sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The inline SVG sprite stays rendered (not display: none) so every <use> resolves. */
.u-sprite {
  position: absolute;
  inline-size: 0;
  block-size: 0;
  overflow: hidden;
}

/* Brand sprite fills: the symbols carry these classes instead of inline styles (strict CSP). */
.sp-mw {
  fill: var(--mw, currentcolor);
}

.sp-s1 {
  fill: var(--s1, #c2602f);
}

.sp-s2 {
  fill: var(--s2, #3d7889);
}

.sp-s3 {
  fill: var(--s3, #d39a2e);
}

.sp-s4 {
  fill: var(--s4, #4f8455);
}

}
