  /* Locally hosted variable Google Fonts; licenses are in assets/fonts/OFL-*.txt. */
  @font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  }
  @font-face {
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  }
  @font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* Illustrations keep the light palette in dark mode, like the photos */
  :root, .app-stage, .liquid-tile, .ex-card {
    color-scheme: light;
    /* Brand kit https://…/Manual_Identidad.md (v2.0 Puente Cauce): Marfil, Blanco, Carbón, Naranja Cauce.
       Naranja Cauce is fills and graphics only (3.2:1 on white); text uses the derived --terra-ink. */
    --cream: #FCFBF8;
    --marfil: #FAF4E8;
    --surface: #FFFFFF;
    --ink: #20211F;
    --terra: #EF633C;
    /* derived from the kit */
    --paper: var(--marfil);
    --line: #E5D9C4;
    --ink-2: #4E4D48;
    --terra-ink: #B5401C;
    --terra-tint: #FCE3D8;
    /* dark bands are Carbón from the kit */
    --petrol: #20211F;
    --on-petrol: #FAF4E8;
    --on-petrol-2: #E6DECC;
    --on-petrol-3: #D8CFBD;
    --terra-soft: #F59B7C;
    --terra-on-petrol: #F6A184;
    /* blue is not a kit colour: it survives only as the river inside illustrations and data */
    --river: #A8CFE3;
    --river-ink: #2B6684;
    --river-tint: #E2EFF6;
    --serif: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
    /* Radius carries meaning: printed surfaces stay square, controls get a slight cut, tags and rails are pills.
       --r-glass is the one rounded material (S13): a translucent panel reads as a different object from a card. */
    --r-surface: 0;
    --r-control: 3px;
    --r-pill: 999px;
    --r-glass: 20px;
    --r-glass-sm: 14px;
    --ease: cubic-bezier(.22,.8,.26,1);
    --spring: cubic-bezier(.3, 1.35, .45, 1);
  }
  /* Dark mode is a user toggle (src/theme.mjs); light is the default; the <head> script applies a saved dark choice before paint */
  :root[data-theme="dark"] {
    color-scheme: dark;
    --cream: #1A1B18;
    --paper: #20211F;
    --surface: #212220;
    --line: #37382F;
    --ink: #FAF4E8;
    --ink-2: #C8C1B2;
    --terra: #EF633C;
    --terra-ink: #F79A78;
    --terra-tint: #38231A;
    --petrol: #111210;
    --river-ink: #8FB9CF;
    --river-tint: #1E2A30;
    --iso-pylon: #8FB6C8;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: clip; scrollbar-color: var(--line) transparent; }
  body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  ::selection { background: var(--terra-ink); color: var(--cream); }
  :focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: var(--r-control); }
  .skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 16px; z-index: 99; }
  .skip:focus { left: 8px; }
  .wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
  .eyebrow { font: 500 14px/1.2 var(--mono); color: var(--terra-ink); }
  h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; margin: 0; }
  /* emphasis in headlines is color only, never italic */
  h1 em, h2 em { font-style: normal; }
  h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.1; }
  .lead { color: var(--ink-2); font-size: 19px; max-width: 56ch; text-wrap: pretty; }
  .link { text-underline-offset: 3px; }
  .link:hover { color: var(--terra-ink); }
  .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--r-control); font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); transition: transform .15s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); cursor: pointer; font-size: 16px; }
  .btn:active { transform: scale(.98); }
  .btn-primary { background: var(--ink); color: var(--cream); }
  .btn-primary:hover { background: var(--terra-ink); border-color: var(--terra-ink); }
  .btn-ghost { background: transparent; color: var(--ink); }
  .btn .arrow { transition: transform .2s var(--ease); }
  .btn:hover .arrow { transform: translateX(4px); }
  .mini { min-height: 44px; padding: 8px 16px; font-size: 14px; }

  /* Nav */
  .nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), background-color .3s var(--ease); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; transition: height .35s var(--ease), margin .35s var(--ease), padding .35s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), border-radius .35s var(--ease); border: 1px solid transparent; border-radius: 0; }
  /* a glass pill once the page scrolls (S13) */
  .nav.scrolled { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.scrolled .wrap { height: 60px; margin-top: 10px; padding-inline: 20px 10px; border-radius: var(--r-pill); background: var(--glass-tint-strong); border-color: var(--glass-rim); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: inset 0 1px 0 var(--glass-edge), var(--glass-shadow); }
  .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; letter-spacing: -.01em; font-size: 18px; white-space: nowrap; }
  .brand img { display: block; width: 216px; height: auto; }
  .brand .logo-dark, .brand-logo.logo-dark { display: none; }
  :root[data-theme="dark"] .brand .logo-light, :root[data-theme="dark"] .brand-logo.logo-light { display: none; }
  :root[data-theme="dark"] .brand .logo-dark, :root[data-theme="dark"] .brand-logo.logo-dark { display: block; }
  .nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
  .nav ul a { text-decoration: none; color: var(--ink-2); }
  .nav ul a:hover { color: var(--ink); }
  .nav .btn { padding: 10px 16px; font-size: 15px; border-radius: var(--r-control); }
  .nav-actions { display: flex; align-items: center; gap: 8px; }
  /* One WhatsApp button reaches every page; the contact page hides it, since there the form is the point. */
  .wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r-pill); background: var(--terra); color: var(--cream); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 10px 28px rgba(32, 33, 31, .18); }
  .wa-fab:hover { background: var(--terra-ink); }
  .wa-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .wa-fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  body:has(#contact-form) .wa-fab { display: none; }
  @media (max-width: 520px) { .wa-fab { right: 12px; bottom: 12px; padding: 0 14px; } }
  .theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease); flex: none; }
  .theme-toggle:hover { border-color: var(--ink); }
  .theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
  [data-theme="dark"] .theme-toggle .icon-sun { display: block; }
  .menu-toggle { display: none; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease); }
  .menu-toggle:hover { border-color: var(--ink); }
  .menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .menu-cta { display: none; }
  .nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--terra); text-decoration-thickness: 2px; text-underline-offset: 8px; }

  /* Hero: the copy sits on paper, the live dotted bridge runs behind it (src/hero-dots.mjs) */
  .hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 96px); overflow: hidden; }
  .hero-copy { position: relative; z-index: 2; max-width: 880px; text-align: center; }
  .hero h1 { margin-top: 16px; font-size: clamp(42px, 5.6vw, 80px); line-height: 1.02; text-wrap: balance; }
  .hero h1 em { color: var(--terra-ink); }
  .hero .lead { margin: 24px auto 32px; }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-copy .hero-ctas { justify-content: center; }
  .hero-copy .hero-ctas.cluster { display: inline-flex; padding: 8px; border-radius: calc(var(--r-control) + 8px); background: var(--glass-tint-strong); }
  .trust-line { margin: 10px 0 0; font: 500 13px/1.5 var(--mono); color: var(--ink-2); }
  .hero-copy .trust-line { max-width: 40ch; margin: 18px auto 0; text-align: center; }
  .hero-scene { display: none; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .js .hero-scene { display: block; -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent); mask-image: linear-gradient(to bottom, #000 86%, transparent); }
  .hero-dots { display: block; width: 100%; height: 100%; }
  .hero-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 8px 8px 16px; min-height: 44px; border-radius: var(--r-pill); font: 500 15px/1.2 var(--sans); text-decoration: none; color: var(--ink); background: var(--glass-tint-strong); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
  .hero-chip:hover { transform: translateY(-1px); }
  .hero-chip .go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--terra-tint); color: var(--terra-ink); font-size: 15px; transition: transform .2s var(--ease); }
  .hero-chip:hover .go { transform: translateX(3px); }
  .js .hero-copy .hero-chip { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) 1.05s forwards; }

  section { padding: clamp(64px, 10vw, 120px) 0; scroll-margin-top: 72px; }
  /* the first section hugs the hero, which already carries the bottom gap for the bridge */
  #problemas { padding-top: 0; }
  /* home CTA: the FAQ section already carries the bottom gap (keep other pages' .cta spacing) */
  #hablemos { padding-top: 0; }
  /* the FAQ follows the problems section, which already carries the gap between them */
  #preguntas { padding-top: 0; }
  .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
  .sec-head .eyebrow { display: block; margin-bottom: 16px; }

  /* Problems: glass cards floating over a shared liquid field */
  #problemas { position: relative; overflow: clip; padding-block: 0 clamp(64px, 10vw, 120px); }
  .problems { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; isolation: isolate; gap: 20px; }
  .problems > .blobs { inset: -40px; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); --b1: var(--terra-tint); --b2: var(--terra); --b3: var(--paper); --blob-op: .46; }
  .problems > .blobs i:nth-child(1) { left: -6%; top: -10%; width: 40%; }
  .problems > .blobs i:nth-child(2) { right: -4%; top: 20%; width: 36%; }
  .problems > .blobs i:nth-child(3) { left: 30%; bottom: -20%; width: 34%; }
  .problem { padding: 28px 24px; background: var(--glass-tint-strong); transition: translate .3s var(--ease), box-shadow .3s var(--ease); }
  .problem:hover { translate: 0 -4px; }
  /* three lines of quote, so the four answers start on the same line */
  .problem .q { font: 400 23px/1.25 var(--serif); margin: 0 0 12px; min-height: calc(3 * 1.25em); }
  .problem .a { font-size: 15px; color: var(--ink-2); margin: 0; }
  .problem .a b { color: var(--river-ink); }
  .problem .n { font: 600 13px var(--mono); color: var(--terra-ink); }

  /* Grid children default to min-width:auto, so a wide figure could push the page sideways */
  .split > * { min-width: 0; }
  .dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--terra); opacity: .8; }
  .flow-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
  .counter { font: 600 13px var(--mono); color: var(--ink-2); }
  .counter b { color: var(--terra-ink); font-size: 18px; }

  /* Process banner (also used by the process and team pages) */

  /* Process banner (also used by the process and team pages) */
  .process-banner { position: relative; overflow: hidden; margin-top: 28px; background: var(--petrol); color: var(--on-petrol); border-radius: var(--r-surface); padding: 48px 56px 48px 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .process-banner p { position: relative; margin: 0; font: 400 clamp(26px, 2.6vw, 36px)/1.15 var(--serif); }
  .process-banner .btn { position: relative; flex: none; background: var(--terra-ink); border-color: var(--terra-ink); color: var(--cream); }
  .process-banner .btn:hover { background: var(--ink); border-color: var(--ink); }
  .process-banner svg.arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

  /* About */
  .about { background: var(--petrol); color: var(--on-petrol-2); }
  .about .eyebrow { color: var(--terra-on-petrol); }
  .about .lead { color: var(--on-petrol-3); }
  .about-head { text-align: center; max-width: 760px; margin: 0 auto; }
  .about-head .lead { margin: 0 auto; }
  .about h2 em { color: var(--terra-soft); }
  /* Team as the isotype: two cards are the two pylons, standing on one deck with the sun rising between them */
  .team-wrap { margin-top: 80px; }
  .team { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: stretch; }
  .member { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 24px; border: 1px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: var(--r-surface) var(--r-surface) 0 0; background: rgba(255,255,255,.055); transition: background-color .2s var(--ease); }
  .member:hover { background: rgba(255,255,255,.09); }
  .member .kicker { font: 500 14px var(--mono); color: var(--terra-on-petrol); }
  .member h3 { font-size: 30px; line-height: 1.05; margin: 8px 0 8px; color: var(--on-petrol); }
  .member .role { font: 500 14px var(--mono); color: var(--on-petrol-2); margin: 0 0 16px; }
  .member .bio { color: var(--on-petrol-3); font-size: 15px; margin: 0 0 16px; }
  .member .text { display: flex; flex-direction: column; }
  /* Photo slot: add class has-photo and a <figure class="portrait"> as first child (see the comment in the template) */
  .member.has-photo { grid-template-columns: 196px 1fr; }
  .portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-surface); overflow: hidden; background: var(--cream); }
  .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .member .link::after { content: ""; position: absolute; inset: -10px -8px; }
  .member .link { position: relative; margin-top: auto; align-self: flex-start; font-weight: 600; text-decoration: none; color: var(--terra-on-petrol); border-bottom: 1.5px solid color-mix(in srgb, var(--terra-on-petrol) 40%, transparent); padding-bottom: 2px; transition: border-color .2s var(--ease), color .2s var(--ease); }
  .member .link:hover { color: var(--on-petrol); border-color: var(--on-petrol); }
  .sun { align-self: center; justify-self: center; width: 64px; height: 64px; border-radius: 50%; background: var(--terra-soft); transform: translateY(70px); opacity: 0; transition: transform 1.4s var(--ease) .3s, opacity 1s .3s; }
  .team-wrap.in .sun { transform: none; opacity: 1; }
  .deck { height: 12px; background: var(--terra); clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 24px 100%); transform: scaleX(0); transition: transform 1.2s var(--ease); }
  .team-wrap.in .deck { transform: none; }
  .team-caption { text-align: center; margin: 16px 0 0; font: 500 14px var(--mono); color: var(--on-petrol-3); }

  /* FAQ */
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
  details { border-top: 1px solid var(--line); }
  details:last-child { border-bottom: 1px solid var(--line); }
  summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; font: 400 23px/1.3 var(--serif); }
  summary::-webkit-details-marker { display: none; }
  summary .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s var(--ease); font: 400 18px/1 var(--sans); }
  summary:hover .plus { background: var(--terra-tint); border-color: var(--terra-ink); }
  details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--cream); }
  details[open] summary:hover .plus { background: var(--ink); }
  details p { margin: 0 0 24px; color: var(--ink-2); max-width: 60ch; }
  .help { position: relative; isolation: isolate; overflow: hidden; margin-top: 32px; padding: 24px; border-radius: var(--r-glass); background: var(--paper); --b1: var(--terra-tint); --b2: var(--terra-soft); --b3: var(--terra); --blob-op: .5; --frost: 60%; }
  .help .blobs i:nth-child(1) { width: 70%; } .help .blobs i:nth-child(2) { width: 60%; }
  .help b { font: 400 23px var(--serif); display: block; }

  /* CTA */
  .cta { text-align: center; overflow: visible; padding-block: 0 clamp(72px, 10vw, 120px); position: relative; }
  .cta .wrap { position: relative; }
  .cta-panel { padding: clamp(64px, 9vw, 112px) 24px clamp(88px, 11vw, 152px); border-radius: calc(var(--r-glass) + 12px); --b1: var(--terra); --b2: var(--terra-tint); --b3: var(--petrol); --blob-op: .6; --frost: 58%; text-align: center; box-shadow: 0 40px 70px -50px rgba(32,33,31,.5); }
  .cta-panel .eyebrow { display: inline-block; }
  .cta h2 { font-size: clamp(54px, 7.6vw, 112px); line-height: .92; }
  .cta h2 em { color: var(--terra-ink); }
  .cta .lead { margin: 24px auto 32px; }
  .cta .hero-ctas { justify-content: center; }
  .cta-arc { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 1400px; max-width: none; opacity: .5; }
  .cta-panel .cta-arc { bottom: -1px; z-index: -1; opacity: .55; }
  .cta-panel .blobs i:nth-child(1) { left: -10%; top: -40%; width: 46%; }
  .cta-panel .blobs i:nth-child(2) { right: -8%; top: 10%; width: 44%; }
  .cta-panel .blobs i:nth-child(3) { left: 36%; bottom: -60%; width: 40%; }

  /* Footer: the Paseo del Paraná at dusk, with the water moving and lapacho petals falling */
  .footer { position: relative; background: var(--cream); color: var(--ink); }
  .foot-art { position: relative; overflow: hidden; height: clamp(210px, 27vw, 370px); background: var(--paper); }
  .foot-art > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; }
  /* the illustration fades into the page colour instead of ending on a cut */
  .foot-art::after { content: ""; position: absolute; inset: auto 0 0; height: 74%; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--cream) 62%, transparent) 42%, var(--cream) 74%); pointer-events: none; }
  /* Water: repeating ripple lines drifting over the river only (right of the railing), softened and masked at both ends */
  .water { position: absolute; left: 44%; right: 0; top: 66%; bottom: 0; overflow: hidden; pointer-events: none; mix-blend-mode: soft-light; opacity: .9; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 34%, #000 78%, transparent), linear-gradient(to right, transparent, #000 18%); mask-image: linear-gradient(to bottom, transparent, #000 34%, #000 78%, transparent), linear-gradient(to right, transparent, #000 18%); -webkit-mask-composite: source-in; mask-composite: intersect; }
  .water i { position: absolute; inset: -9px 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .9) 0 1.5px, transparent 1.5px 9px); animation: ripple 6s linear infinite; }
  .water i:nth-child(2) { inset: -14px 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .6) 0 1px, transparent 1px 14px); animation: ripple-b 10s linear infinite; opacity: .75; }
  @keyframes ripple { from { transform: translateY(0); } to { transform: translateY(9px); } }
  @keyframes ripple-b { from { transform: translateY(0); } to { transform: translateY(-14px); } }
  /* Lapacho petals: a few, falling from the tree on the left with a slow sway */
  .petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .petal { position: absolute; top: -8%; left: var(--x); width: var(--s); height: calc(var(--s) * .72); border-radius: 62% 38% 55% 45% / 60% 55% 45% 40%; background: linear-gradient(140deg, #FBC0CF, #EE7FA2); animation: petal-fall var(--dur) linear var(--delay) infinite; will-change: transform; }
  @keyframes petal-fall {
    0%   { top: -8%; transform: translateX(0) rotate(0deg); opacity: 0; }
    8%   { opacity: .95; }
    45%  { transform: translateX(var(--sway)) rotate(200deg); }
    80%  { transform: translateX(calc(var(--sway) * -.55)) rotate(390deg); opacity: .95; }
    100% { top: 104%; transform: translateX(calc(var(--sway) * -.3)) rotate(460deg); opacity: 0; }
  }
  .paused .water i, .paused .petal { animation-play-state: paused; }
  /* the info block starts inside the faded lower part of the illustration, so the whole footer reads in one view */
  /* the info starts below the picture, on solid cream: the fade already ends in --cream, so the text never sits on the image */
  .foot-body { position: relative; padding-top: clamp(20px, 2.4vw, 32px); }
  .foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); align-items: start; }
  .foot-brand .brand-logo { width: 208px; height: auto; }
  .foot-brand .brand-logo.logo-light { display: block; }
  :root[data-theme="dark"] .foot-art::after { height: 30%; }
  :root[data-theme="dark"] .foot-art > img { filter: brightness(.92); }
  .footer .foot-brand .tag { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 34ch; }
  .foot-contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
  .footer .foot-mail { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 16px 5px 5px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s var(--ease), color .2s var(--ease); }
  .footer .foot-mail:hover { border-color: var(--terra-ink); color: var(--terra-ink); }
  .footer .foot-mail .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--terra-tint); color: var(--terra-ink); }
  .footer .foot-mail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .footer .socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
  /* smaller than the mail pill on purpose: the icons read as a secondary action next to it, not as two buttons */
  .footer .social { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 9px; transition: translate .2s var(--ease), filter .2s var(--ease); }
  .footer .social img { display: block; width: 36px; height: 36px; aspect-ratio: 1; border-radius: 9px; box-shadow: 0 1px 2px rgb(32 33 31 / .12), 0 4px 10px -4px rgb(32 33 31 / .25); }
  :root[data-theme="dark"] .footer .social img { box-shadow: 0 0 0 1px rgb(250 244 232 / .24), 0 4px 10px -4px rgb(0 0 0 / .5); }
  .footer .social:hover { translate: 0 -2px; }
  .footer .social:hover img { box-shadow: 0 2px 4px rgb(32 33 31 / .14), 0 8px 16px -6px rgb(32 33 31 / .3); }
  /* separated from the mail pill by a wider gap so the icons read as a second group, not as part of the pill */
  .footer .socials { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0 0 0 6px; padding: 0; }
  /* smaller than the mail pill on purpose: the icons read as a secondary action next to it, not as two buttons */
  .footer .social { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 9px; transition: translate .2s var(--ease), filter .2s var(--ease); }
  .footer .social img { display: block; width: 36px; height: 36px; aspect-ratio: 1; border-radius: 9px; box-shadow: 0 1px 2px rgb(32 33 31 / .12), 0 4px 10px -4px rgb(32 33 31 / .25); }
  :root[data-theme="dark"] .footer .social img { box-shadow: 0 0 0 1px rgb(250 244 232 / .24), 0 4px 10px -4px rgb(0 0 0 / .5); }
  .footer .social:hover { translate: 0 -2px; }
  .footer .social:hover img { box-shadow: 0 2px 4px rgb(32 33 31 / .14), 0 8px 16px -6px rgb(32 33 31 / .3); }
  .footer .foot-links h2 { font: 500 13px/1.3 var(--mono); color: var(--terra-ink); margin: 0 0 10px; }
  .footer .foot-links ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
  .footer .foot-links a { display: inline-block; padding-block: 7px; color: var(--ink-2); text-decoration: none; transition: color .2s var(--ease); }
  .footer .foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .footer .foot-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
  .foot-legal { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-top: clamp(20px, 2.6vw, 32px); padding: 14px 0 22px; border-top: 1px solid var(--line); font: 500 12px/1.5 var(--mono); color: var(--ink-2); }
  .footer .foot-legal a { color: var(--ink-2); }
  .footer .foot-legal a:hover { color: var(--ink); }

  /* Reveal */
  @media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s); }
    .js .reveal-items > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease) var(--d, 0s), transform .5s var(--ease) var(--d, 0s); }
    .js .reveal.in, .js .reveal-items.in > * { opacity: 1; transform: none; }
    .js .instant, .js .instant > * { transition: none; }
  }
  .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: rise .9s var(--ease) forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  /* entrance of the rest of the hero copy, timed with the bridge build (src/hero-dots.mjs) */
  .js .hero-copy .eyebrow, .js .hero-copy .lead, .js .hero-copy .hero-ctas, .js .hero-copy .trust-line { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .js .hero-copy .eyebrow { display: inline-block; animation-delay: .05s; }
  .js .hero-copy .lead { animation-delay: .65s; }
  .js .hero-copy .hero-ctas { animation-delay: .85s; }
  .js .hero-copy .trust-line { animation-delay: .95s; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal-items > * { opacity: 1; transform: none; }
    .hero h1 .w, .js .hero-copy .eyebrow, .js .hero-copy .lead, .js .hero-copy .hero-ctas, .js .hero-copy .hero-chip { opacity: 1; transform: none; }
    .blobs i, .petal, .water i, .dotspin { animation: none; }
    .petal { display: none; }
  }
  @media (max-width: 1100px) {
    .foot-grid { grid-template-columns: repeat(4, auto); justify-content: space-between; }
    .foot-grid > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 900px) {
    .nav ul { display: none; }
    .menu-toggle { display: grid; }
    .nav.open ul { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; padding: 8px 20px 12px; border-radius: var(--r-glass); background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid var(--glass-rim); box-shadow: inset 0 1px 0 var(--glass-edge), var(--glass-shadow); font-size: 17px; }
    .nav.open ul li + li { border-top: 1px solid var(--glass-rim); }
    .nav.open ul a { display: block; padding: 12px 0; color: var(--ink); }
    .nav.open .menu-cta { display: block; }
    .nav.scrolled .wrap, .nav .wrap { padding-inline: 0; }
    .nav.scrolled .wrap { padding-inline: 16px 8px; }
    .sec-head, .faq-grid { grid-template-columns: 1fr; }
    .sec-head { gap: 20px; }
    .process-banner { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
    .problems { grid-template-columns: 1fr 1fr; }
    .problem .q { min-height: 0; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-brand { grid-column: 1 / -1; }
    .foot-brand .brand-logo { width: 196px; }
    .brand img { width: 190px; }
    .team { grid-template-columns: 1fr; gap: 16px; }
    .member { border-radius: var(--r-surface); border-bottom: 1px solid rgba(255,255,255,.16); }
    .sun { width: 44px; height: 44px; }
  }
  @media (max-width: 640px) {
    .hero { padding-bottom: calc(22vw + 40px); } /* room for the whole bridge under the copy */
    .js .hero-scene { -webkit-mask-image: linear-gradient(to bottom, #000 94%, transparent); mask-image: linear-gradient(to bottom, #000 94%, transparent); }
    .foot-art { height: clamp(170px, 46vw, 230px); }
    .foot-art > img { object-position: 42% 66%; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
    .foot-brand { grid-column: 1 / -1; }
    .foot-legal { flex-direction: column; gap: 6px; }
    .problems { grid-template-columns: 1fr; }
    .problem { padding: 24px 22px; border-bottom: 1px solid var(--glass-rim); border-right: 1px solid var(--glass-rim); }
    .step .pin { align-self: flex-start; }
    .cta-arc { display: none; }
    .cta-panel { padding-inline: 20px; }
  }
  @media (max-width: 560px) {
    .brand img { width: 150px; }
    .nav .btn-primary { display: none; }
    .nav .wrap { gap: 8px; }
    .nav-actions { gap: 6px; }
  }
  @media (max-width: 400px) {
    .member.has-photo { grid-template-columns: 1fr; }
    .portrait { max-width: 220px; }
  }

  /* Consent panel: a dialog, not a card — it floats over the page and stays until answered. */
  .consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; justify-content: center; padding: 12px; }
  .consent[hidden] { display: none; }
  .consent-panel { width: min(640px, 100%); padding: 20px 22px; border-radius: var(--r-glass); background: var(--glass-tint-strong); border: 1px solid var(--glass-rim); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); }
  .consent-title { margin: 0 0 6px; font: 600 16px/1.3 var(--sans); color: var(--ink); }
  .consent-copy { margin: 0; font: 400 14px/1.5 var(--sans); color: var(--ink-2); }
  .consent-copy a { color: var(--terra-ink); }
  .consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .consent-actions .btn { min-height: 40px; }
  .consent-prefs { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .consent-prefs[hidden] { display: none; }
  .consent-switch { display: flex; align-items: center; gap: 10px; font: 500 14px/1.4 var(--sans); color: var(--ink); }
  .consent-note { margin: 8px 0 12px; font: 400 13px/1.5 var(--sans); color: var(--ink-2); }
  @media (max-width: 520px) { .consent { padding: 8px; } .consent-panel { padding: 16px; } .consent-actions .btn { flex: 1 1 auto; } }
