/* ============================================================
   fix machine · Opción 4 · one-page home
   The page colour follows the section in view (--bg / --fg on <html>),
   so scrolling down fades ivory → green → one colour per area → ivory.
   ============================================================ */
:root { --bg: #FFFFFF; --fg: #004040; --dim: rgba(0, 64, 64, .42); }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html body { background: var(--bg); color: var(--fg); transition: background-color .9s var(--fm-ease), color .9s var(--fm-ease); }
html.h3-dark { --dim: rgba(255, 255, 255, .42); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } html body { transition: none; } }
.h3 section, .h3-contact, .h3-foot, .h3-fx-shelf { position: relative; }
.eyebrow3 { display: block; font: 500 10.5px var(--fm-sans); letter-spacing: .22em; text-transform: uppercase; opacity: .6; }

/* ── Header: [ nav ]  logo  language · let's talk ─────────── */
.h3-top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--fm-gr) 16px var(--fm-gl); background: var(--bg); color: var(--fg);
  transition: background-color .9s var(--fm-ease), color .9s var(--fm-ease); }

/* ── Hero ────────────────────────────────────────────────── */
.h3-hero { min-height: 100svh; display: grid; justify-items: center; align-content: center; gap: clamp(28px, 4vh, 48px); padding: 110px var(--fm-gr) 90px var(--fm-gl); text-align: center; }
.h3-hero-img { width: min(440px, 72vw); aspect-ratio: 4 / 5; max-height: 48vh; object-fit: cover; display: block; }
.h3-hero h1 { margin: 0; font: 400 clamp(38px, 6.2vw, 92px) / 1.02 var(--fm-serif); letter-spacing: -.02em; }
.h3-roll { display: inline-block; height: 1.08em; overflow: hidden; vertical-align: bottom; font-style: italic; transition: width .9s var(--fm-ease); }
.h3-roll-in { display: flex; flex-direction: column; align-items: flex-start; transition: transform .9s var(--fm-ease); }
.h3-roll-in span { height: 1.08em; display: block; white-space: nowrap; padding-right: .04em; }
.h3-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font: 400 10px var(--fm-sans); letter-spacing: .24em; text-transform: uppercase; opacity: .6; }
.h3-scroll::after { content: ""; display: block; width: 1px; height: 28px; margin: 10px auto 0; background: currentColor; animation: h3-drip 2.2s var(--fm-ease) infinite; transform-origin: top; }
@keyframes h3-drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── About ───────────────────────────────────────────────── */
.h3-about { padding: clamp(60px, 10vw, 140px) var(--fm-gr) 0 var(--fm-gl); display: grid; gap: 30px; }
.h3-lede { margin: 0; font: italic 400 clamp(26px, 3.4vw, 46px) / 1.1 var(--fm-serif); }
.h3-body { margin: 0; max-width: 34ch; font: 400 clamp(21px, 2.3vw, 31px) / 1.28 var(--fm-serif); }
.h3-wide { margin: clamp(40px, 7vw, 110px) 0 0; overflow: hidden; height: clamp(320px, 70vh, 760px); }
.h3-wide img { width: 100%; height: 120%; object-fit: cover; display: block; }

/* ── Services: sticky panel, the scroll moves through the seven areas ── */
.h3-svc { height: calc(var(--n) * 70vh + 100vh); }
.a3-stick { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 30px); padding: 96px var(--fm-gr) 40px var(--fm-gl); }
.a3-col { border-left: 1px solid var(--dim); padding-left: clamp(12px, 1.4vw, 20px); display: flex; flex-direction: column; min-height: 0; }
.a3-areas ul { list-style: none; margin: 14px 0 0; padding: 0; }
.a3-name { display: block; padding: 0; background: none; border: 0; color: var(--dim); font: 400 clamp(26px, 3vw, 46px) / 1.14 var(--fm-serif); text-align: left; cursor: pointer; transition: color .5s; }
.a3-name:hover { color: inherit; opacity: .8; }
.a3-name[aria-pressed="true"] { color: inherit; opacity: 1; }
.a3-count { margin-top: auto; font: 400 11px var(--fm-sans); letter-spacing: .16em; opacity: .7; }
.a3-svcs { position: relative; }
.a3-pane { position: absolute; top: 34px; left: clamp(12px, 1.4vw, 20px); right: 0; opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .5s, transform .7s var(--fm-ease); pointer-events: none; }
.a3-pane.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .1s; }
.a3-tag { margin: 0 0 18px; font: italic 400 clamp(17px, 1.4vw, 20px) / 1.3 var(--fm-serif); max-width: 30ch; }
.a3-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.a3-list li { font: 400 clamp(18px, 1.55vw, 23px) / 1.25 var(--fm-serif); }
.a3-list sup { font: 400 9px var(--fm-sans); letter-spacing: .06em; margin-left: 5px; opacity: .65; vertical-align: super; }
.a3-note { margin: 18px 0 0; font: 400 10.5px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.a3-cta { display: inline-flex; gap: 10px; margin-top: 26px; padding: 0 0 6px; border-bottom: 1px solid currentColor; color: inherit; text-decoration: none; font: 400 11px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; }
.a3-cta i { font-style: normal; transition: transform .4s var(--fm-ease); }
.a3-cta:hover i { transform: translateX(5px); }
.a3-pic { position: relative; border-left: 0; padding-left: 0; }
.a3-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s, transform 1.4s var(--fm-ease); }
.a3-img.is-on { opacity: 1; transform: none; }
.a3-mobile { display: none; }

/* ── Experience ──────────────────────────────────────────── */
.h3-xp { padding: clamp(90px, 12vw, 170px) var(--fm-gr) 40px var(--fm-gl); display: grid; gap: clamp(50px, 7vw, 100px); }
.h3-statement { margin: 0; max-width: 30ch; font: 400 clamp(24px, 2.8vw, 40px) / 1.2 var(--fm-serif); }
.h3-xp .xp { border-top-color: var(--dim); }

/* ── Fixionary (the shelf comes from fixionary.html) ─────── */
.h3-fx { padding: clamp(80px, 10vw, 150px) var(--fm-gr) 0 var(--fm-gl); }
.f3-head { display: grid; justify-items: center; gap: 12px; text-align: center; }
.f3-head h2 { margin: 0; font: 400 clamp(30px, 4vw, 48px) var(--fm-sans); font-stretch: 125%; letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.f3-head p { margin: 0; max-width: 34rem; font: 400 17px / 1.5 var(--fm-serif); opacity: .75; }
.f3-stats { font: 400 10.5px var(--fm-sans); letter-spacing: .16em; text-transform: uppercase; opacity: .6; }

/* ── Contact ─────────────────────────────────────────────── */
.h3-contact { padding: clamp(100px, 12vw, 170px) var(--fm-gr) clamp(70px, 9vw, 120px) var(--fm-gl); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); }
.c3-lede { margin: 0; font: 400 clamp(28px, 3.6vw, 52px) / 1.1 var(--fm-serif); max-width: 16ch; }
.c3-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; align-content: start; }
.c3-form label { display: grid; gap: 6px; }
.c3-form label > span, .c3-areas legend { font: 400 10.5px var(--fm-sans); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.c3-form input:not([type=checkbox]), .c3-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--dim); color: inherit; font: 400 18px var(--fm-serif); padding: 6px 0; border-radius: 0; resize: vertical; }
.c3-form input::placeholder { color: inherit; opacity: .35; }
.c3-form input:focus, .c3-form textarea:focus { outline: none; border-bottom-color: currentColor; }
.c3-wide, .c3-areas, .c3-send { grid-column: 1 / -1; }
.c3-areas { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c3-areas legend { padding: 0; margin-bottom: 12px; }
.c3-chk { display: inline-flex !important; cursor: pointer; }
.c3-chk input { position: absolute; opacity: 0; pointer-events: none; }
.c3-chk span { display: inline-block; padding: 7px 14px; border: 1px solid var(--dim); border-radius: 999px; font: 400 13px var(--fm-sans); transition: background-color .3s, color .3s, border-color .3s; }
.c3-chk input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.c3-chk input:focus-visible + span { outline: 1px solid currentColor; outline-offset: 3px; }
.c3-send { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.c3-send button { background: var(--fg); color: var(--bg); border: 0; padding: 13px 26px; font: 400 11px var(--fm-sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; display: inline-flex; gap: 12px; }
.c3-send button[disabled] { opacity: .5; cursor: progress; }
.c3-send button i { font-style: normal; }
.c3-msg { margin: 0; font: 400 15px / 1.4 var(--fm-serif); max-width: 40ch; }
.c3-summary { grid-column: 1 / -1; margin: 0; white-space: pre-wrap; font: 400 13px / 1.5 var(--fm-sans); padding: 14px; border: 1px solid var(--dim); }

/* ── Footer: the big faded wordmark ──────────────────────── */
footer.h3-foot { margin: 0; border: 0; display: block; padding: clamp(60px, 8vw, 110px) var(--fm-gr) 30px var(--fm-gl); }
.h3-foot-mark { width: 100%; aspect-ratio: 912 / 127; opacity: .14; }
.h3-foot-row { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; font: 400 10.5px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.h3-foot-row a { color: inherit; text-decoration: none; }
.h3-foot-row a:hover { text-decoration: underline; }

/* ── Tablets and phones ──────────────────────────────────── */
@media (max-width: 900px) {
  .h3-svc { height: auto; }
  .a3-stick { display: none; }
  .a3-mobile { display: block; }
  .a3-m { padding: 70px var(--fm-gr) 40px var(--fm-gl); min-height: 90svh; display: flex; flex-direction: column; }
  .a3-m-n { font: 400 11px var(--fm-sans); letter-spacing: .16em; opacity: .7; }
  .a3-m h3 { margin: 8px 0 18px; font: 400 clamp(44px, 12vw, 64px) / 1 var(--fm-serif); }
  .a3-m img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 22px; }
  .h3-contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .c3-form { grid-template-columns: minmax(0, 1fr); }
  .h3-hero h1 { font-size: clamp(28px, 8.4vw, 44px); }
  .h3-foot-row { flex-direction: column; }
}

/* ════════════════════════════════════════════════════════════
   Opción 4 · motion layer
   ════════════════════════════════════════════════════════════ */

/* Header: menu left, language · let's talk · logo in the right corner */
.h3-top { transform: translate3d(0, 0, 0); transition: transform .6s var(--fm-ease), background-color .9s var(--fm-ease), color .9s var(--fm-ease); }
html.h4-hide .h3-top { transform: translate3d(0, -100%, 0); }
html.h3-open .h3-top { transform: none; }

/* The thread: a stitch down the left edge that sews as you scroll, needle at its tip */
.h4-seam { position: fixed; z-index: 30; left: 7px; top: 0; bottom: 0; width: 2px; pointer-events: none; }
.h4-seam::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--p, 0) * 100%);
  background: repeating-linear-gradient(to bottom, currentColor 0 7px, transparent 7px 12px); opacity: .7; }
.h4-seam i { position: absolute; left: -3px; top: calc(var(--p, 0) * 100%); width: 7px; height: 22px; transform: translateY(-100%);
  background: linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.h4-seam i::after { content: ""; position: absolute; left: 1px; bottom: -3px; width: 5px; height: 5px; border-radius: 50%; border: 1px solid currentColor; }

/* Words that rise into place */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-words] .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1s var(--fm-ease); transition-delay: calc(var(--k) * 45ms); }
[data-words].is-in .w > span { transform: none; }
/* Words that ink in as you read */
[data-ink] .w { opacity: .16; transition: opacity .35s; }
[data-ink] .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-words] .w > span { transform: none; } [data-ink] .w { opacity: 1; } }

/* Hero: the photo opens like a curtain, the title rises, the scroll pushes them apart */
.h3-hero-img { clip-path: inset(50% 0 50% 0); transition: clip-path 1.6s var(--fm-ease) .15s; will-change: transform; }
.h4-ready .h3-hero-img { clip-path: inset(0); }
.h3-hero h1 > span[aria-hidden] { display: inline-block; transform: translate3d(0, 40px, 0); opacity: 0; transition: transform 1.3s var(--fm-ease) .5s, opacity 1s .5s; }
.h4-ready .h3-hero h1 > span[aria-hidden] { transform: none; opacity: 1; }

/* Wide photo opens out to the edges while you scroll past it */
.h3-wide { clip-path: inset(0 var(--ci, 12%) 0 var(--ci, 12%)); }

/* How we work: pinned strip moving sideways */
.p4 { height: 420vh; position: relative; }
.p4-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.p4-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.p4-panel { position: relative; width: 100vw; height: 100%; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 90px max(var(--fm-gr), 8vw) 90px max(var(--fm-gl), 8vw); }
.p4-big { margin: 0; max-width: 14ch; font: 400 clamp(44px, 7vw, 120px) / .98 var(--fm-serif); letter-spacing: -.02em; }
.p4-intro .p4-big { max-width: 10ch; }
.p4-text { margin: 0; max-width: 36ch; font: 400 clamp(18px, 1.6vw, 22px) / 1.4 var(--fm-serif); opacity: .85; }
.p4-ghost { position: absolute; right: 6vw; bottom: 4vh; font: 400 clamp(160px, 30vw, 460px) / .8 var(--fm-serif); color: transparent;
  -webkit-text-stroke: 1px currentColor; opacity: .22; transform: translate3d(calc(var(--g, 0) * 1px), 0, 0); pointer-events: none; }
.p4-aside { margin: 0; max-width: 40ch; font: italic 400 clamp(16px, 1.3vw, 19px) / 1.45 var(--fm-serif); opacity: .8; }
.p4-num { font: 500 clamp(30px, 3.4vw, 52px) var(--fm-sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.p4-num::before { content: "−"; margin-right: .1em; }
.p4-thread { position: absolute; left: 0; right: 0; bottom: 16vh; width: 100%; height: 40px; overflow: visible; }
.p4-seam { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 9 7; opacity: .75;
  clip-path: inset(0 calc(100% - var(--tp, 0) * 100%) 0 0); }
.p4-needle { position: absolute; bottom: calc(16vh + 20px); left: calc(var(--tp, 0) * 100%); width: 34px; height: 1px; background: currentColor;
  transform: translate3d(-100%, 0, 0) rotate(-14deg); transform-origin: right center; }
.p4-needle::after { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }

/* Services in greens; the list and the photo change with a little choreography */
.a3-list li { overflow: hidden; }
.a3-pane .a3-list li > span, .a3-pane .a3-tag, .a3-pane .a3-note, .a3-pane .a3-cta { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform .8s var(--fm-ease); }
.a3-pane .a3-tag, .a3-pane .a3-note, .a3-pane .a3-cta { display: block; transform: translate3d(0, 24px, 0); opacity: 0; transition: transform .8s var(--fm-ease), opacity .6s; }
.a3-pane.is-on .a3-list li > span, .a3-pane.is-on .a3-tag, .a3-pane.is-on .a3-note, .a3-pane.is-on .a3-cta { transform: none; opacity: 1; }
.a3-pane.is-on .a3-list li:nth-child(1) > span { transition-delay: .12s; } .a3-pane.is-on .a3-list li:nth-child(2) > span { transition-delay: .18s; }
.a3-pane.is-on .a3-list li:nth-child(3) > span { transition-delay: .24s; } .a3-pane.is-on .a3-list li:nth-child(4) > span { transition-delay: .3s; }
.a3-pane.is-on .a3-list li:nth-child(5) > span { transition-delay: .36s; } .a3-pane.is-on .a3-note { transition-delay: .42s; } .a3-pane.is-on .a3-cta { transition-delay: .48s; }
.a3-pane { transition: opacity .35s; transform: none; }
.a3-img { opacity: 1; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.1s var(--fm-ease), transform 1.6s var(--fm-ease); }
.a3-img.is-on { clip-path: inset(0); transform: none; z-index: 2; }
.a3-img.was-on { clip-path: inset(0); z-index: 1; transition: none; }
.a3-name { transition: color .5s, transform .6s var(--fm-ease); }
.a3-name[aria-pressed="true"] { transform: translate3d(14px, 0, 0); }
.a3-name[aria-pressed="true"]::before { content: ""; display: inline-block; width: 0; }
.a3-big { position: absolute; right: 0; bottom: 0; z-index: 3; padding: 10px 14px 4px; font: 400 clamp(54px, 6vw, 96px) / 1 var(--fm-serif); color: var(--fg);
  background: var(--bg); transition: background-color .9s var(--fm-ease); }
.a3-big span { display: inline-block; transition: transform .7s var(--fm-ease); }

/* Experience: the ribbon speeds up with the scroll */
.x4-h { font: 400 clamp(40px, 6vw, 96px) / 1 var(--fm-serif) !important; letter-spacing: -.02em !important; text-transform: none !important; }
.h3-xp .xp-track { animation: none; }

/* Footer: the wordmark in crudo, full strength, rising out of the edge */
footer.h3-foot { color: var(--fm-ivory); }
.h3-foot-clip { display: block; overflow: hidden; }
.h3-foot-mark { opacity: 1; color: var(--fm-ivory); transform: translate3d(0, calc((1 - var(--fp, 0)) * 100%), 0); will-change: transform; }
.h3-foot-row { opacity: .85; }

@media (max-width: 900px) {
  .h4-seam { display: none; }
  .p4 { height: 380vh; }
  .p4-panel { padding: 90px var(--fm-gr) 120px var(--fm-gl); }
  .p4-thread { bottom: 9vh; } .p4-needle { bottom: calc(9vh + 20px); }
  .p4-ghost { font-size: 52vw; right: 4vw; bottom: 18vh; }
}
.a3-pic { overflow: hidden; }
html, body { overflow-x: clip; }

/* Opción 5: the footer is the one green block, so the crudo wordmark always reads */
footer.h3-foot { background: var(--fm-green); color: var(--fm-ivory); }

.h3-foot-mark { display: block; height: auto; }

/* ── Header (v5): five options in sight, “More” for the rest, the action apart on the right ── */
.h3-top { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.h3-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.h3-right .fm-lang { margin: 0; }
.h3-logo { display: block; width: clamp(150px, 14vw, 220px); aspect-ratio: 912 / 127; color: inherit; }
.h3-logo .wordmark { width: 100%; height: 100%; }
.h5-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--fg); color: var(--bg); text-decoration: none;
  font: 500 11px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background-color .9s var(--fm-ease), color .9s var(--fm-ease); }
.h5-cta i { font-style: normal; transition: transform .4s var(--fm-ease); }
.h5-cta:hover i { transform: translateX(4px); }
.h3-nav { position: relative; min-width: 0; }
.h3-menu-btn { display: none; background: none; border: 0; padding: 6px 0; color: inherit; font: 400 11px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.h5-main { position: relative; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.h5-main > li { position: relative; }
.h5-main > li > a, .h5-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; background: none; border: 0; color: inherit; cursor: pointer;
  font: 400 11.5px var(--fm-sans); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; white-space: nowrap; opacity: .72; transition: opacity .3s; }
.h5-main > li > a:hover, .h5-more:hover, .h5-dd:focus-within > a, .h5-dd:hover > a, .h5-dd:hover > .h5-more { opacity: 1; }
.h5-more i, .h5-dd > a i { width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 2px; transition: transform .35s var(--fm-ease); }
.h5-dd:hover .h5-more i, .h5-dd:focus-within .h5-more i, .h5-dd:hover > a i, .h5-dd:focus-within > a i { transform: rotate(225deg); margin-top: 2px; }
/* the active section: full strength, bold, and a bar that slides to it */
.h5-main [aria-current="true"], .h5-main .is-active > .h5-more { opacity: 1; font-weight: 600; }
.h5-ink { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: currentColor; pointer-events: none;
  transition: transform .55s var(--fm-ease), width .55s var(--fm-ease), opacity .3s; opacity: 0; }
/* drop-downs: open on hover or keyboard focus, items arrive left to right */
.h5-sub { position: absolute; top: 100%; left: -14px; z-index: 5; list-style: none; margin: 0; padding: 12px 14px 14px; display: flex; gap: 8px 22px; width: max-content; max-width: 70vw; flex-wrap: wrap;
  background: var(--bg); visibility: hidden; transition: visibility 0s .4s, background-color .9s var(--fm-ease); box-shadow: 0 10px 24px -18px rgba(0,40,40,.35); }
.h5-dd:hover > .h5-sub, .h5-dd:focus-within > .h5-sub, .h5-dd.is-open > .h5-sub { visibility: visible; transition: visibility 0s, background-color .9s var(--fm-ease); }
.h5-sub li { opacity: 0; transform: translate3d(-12px, 0, 0); transition: opacity .3s, transform .45s var(--fm-ease); transition-delay: calc(var(--k, 0) * 35ms); }
.h5-dd:hover > .h5-sub li, .h5-dd:focus-within > .h5-sub li, .h5-dd.is-open > .h5-sub li { opacity: 1; transform: none; }
.h5-sub a { font: 400 11px var(--fm-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: inherit; padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.h5-sub a:hover, .h5-sub a[aria-current="true"] { border-bottom-color: currentColor; }
.h5-sub sup { font-size: 8px; margin-right: 4px; opacity: .6; }
.h5-dd-right > .h5-sub { left: auto; right: -14px; }

/* Tighter screens: still everything in sight, just closer together */
@media (max-width: 1180px) {
  .h5-main > li > a, .h5-more { font-size: 10.5px; letter-spacing: .1em; }
  .h3-logo { width: 150px; }
  .h5-cta { padding: 10px 14px; font-size: 10.5px; }
}
/* Phones: no room, so one “Menu” that shows the same five plus the action */
@media (max-width: 860px) {
  .h3-menu-btn { display: block; }
  .h5-main { position: fixed; top: var(--hh, 64px); left: 0; right: 0; flex-wrap: wrap; gap: 4px 22px; padding: 14px var(--fm-gr) 22px var(--fm-gl); background: var(--bg);
    visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--fm-ease), visibility 0s .5s, background-color .9s var(--fm-ease); }
  .h3-open .h5-main { visibility: visible; clip-path: inset(0); transition: clip-path .5s var(--fm-ease), visibility 0s; }
  .h5-main > li > a, .h5-more { font-size: 12px; opacity: 1; }
  .h5-sub { position: static; visibility: visible; box-shadow: none; padding: 4px 0 10px; max-width: none; width: 100%; background: transparent; }
  .h5-sub li { opacity: 1; transform: none; }
  .h5-dd { flex-basis: 100%; }
  .h5-more i, .h5-dd > a i { display: none; }
  .h5-ink { display: none; }
  .h3-logo { width: 128px; }
  .h3-right { gap: 12px; }
  .h5-cta { padding: 8px 11px; font-size: 9.5px; letter-spacing: .1em; }
}
@media (max-width: 420px) { .h5-cta i { display: none; } .h3-logo { width: 112px; } .h3-right { gap: 10px; } }
.h5-main > .h5-ink { position: absolute; left: 0; bottom: 2px; }

/* ════════════════════════════════════════════════════════════
   Notion · «Consejos de diseño web» applied
   ════════════════════════════════════════════════════════════ */
/* 3 · Grid: one set of margins for header, sections, strip and footer (wider on big screens) */
:root { --fm-gl: max(clamp(18px, 3.6vw, 60px), env(safe-area-inset-left, 0px)); --fm-gr: max(clamp(18px, 3.6vw, 60px), env(safe-area-inset-right, 0px));
        --accent: #3E7370; }
.p4-panel { padding-left: var(--fm-gl); padding-right: var(--fm-gr); }
.h3-about, .h3-xp { max-width: none; }

/* 1 · Contrast: nothing that carries information below ~4.5:1 */
:root { --dim: rgba(0, 64, 64, .58); }
html.h3-dark { --dim: rgba(255, 255, 255, .6); }
.eyebrow3, .a3-note, .f3-stats, .h5-sub sup, .a3-count, .a3-m-n { opacity: .82; }
.c3-form label > span, .c3-areas legend, .f3-head p, .p4-text, .p4-aside { opacity: 1; }
.c3-form input::placeholder { opacity: .55; }
.h3-scroll { opacity: .8; }
.h5-main > li > a, .h5-more { opacity: .85; }
.a3-list sup { opacity: .8; }
[data-ink] .w { opacity: .3; }

/* 2 · Colour: crudo (60) · green (30) · one accent (10) for the few things that matter */
.h5-ink { background: var(--accent); height: 3px; }
.a3-list sup, .h5-sub sup { color: var(--accent); opacity: 1; }
.p4-num { color: var(--accent); }
.h4-seam i::after { border-color: var(--accent); }

/* 4 · Typography: serif (Newsreader) only for headlines; text in sans (Archivo) */
.h3-body, .p4-text, .p4-aside, .a3-tag, .a3-list li, .f3-head p, .c3-msg, .c3-form input:not([type=checkbox]), .c3-form textarea {
  font-family: var(--fm-sans); font-style: normal; letter-spacing: 0; }
.h3-body { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; max-width: 40ch; font-weight: 400; }
.p4-text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
.p4-aside { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.5; }
.a3-tag { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.45; font-weight: 500; }
.a3-list li { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.c3-form input:not([type=checkbox]), .c3-form textarea { font-size: 16px; }

/* 5 · Depth: big in front, small behind — big title under a small photo; ghost numbers and photos move at different speeds */
.h3-hero { gap: clamp(22px, 3.5vh, 40px); }
/* 6 · Emphasis: one loud thing per screen — the action button; the rest speaks lower */
.a3-cta { border-bottom-width: 1px; opacity: .9; }
.h5-cta { box-shadow: 0 8px 18px -12px rgba(0, 40, 40, .55); }

/* 7 · Phones: a labelled tab bar, four options, the active one filled */
.h5-tabbar, .h5-sheet { display: none; }
@media (max-width: 860px) {
  .h3-menu-btn { display: none !important; }
  .h5-main { display: none !important; }
  .h3-top { grid-template-columns: auto 1fr; }
  .h3-nav { display: none; }
  .h3-right { justify-content: flex-end; width: 100%; }
  .h3-right .h5-cta { margin-right: auto; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .h5-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--fm-ivory); color: var(--fm-green); border-top: 1px solid rgba(0,64,64,.18); }
  .h5-tab { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; background: none; border: 0; color: inherit; text-decoration: none;
    font: 500 10.5px var(--fm-sans); letter-spacing: .02em; cursor: pointer; transition: background-color .3s, color .3s; }
  .h5-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
  .h5-tab.is-active { background: rgba(0, 64, 64, .1); font-weight: 700; }
  .h5-tab.is-active svg { fill: currentColor; }
  .h5-tab.is-active svg .keep { fill: none; }
  .h5-sheet { position: fixed; z-index: 44; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); padding: 18px var(--fm-gr) 18px var(--fm-gl);
    background: var(--fm-ivory); color: var(--fm-green); border-top: 1px solid rgba(0,64,64,.18); display: grid; gap: 2px;
    transform: translate3d(0, 110%, 0); visibility: hidden; transition: transform .45s var(--fm-ease), visibility 0s .45s; }
  .h5-sheet.is-open { transform: none; visibility: visible; transition: transform .45s var(--fm-ease), visibility 0s; }
  .h5-sheet a { padding: 10px 0; font: 500 15px var(--fm-sans); color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0,64,64,.12); }
  .h5-sheet a:last-child { border-bottom: 0; }
}

/* Newsletter (in “More”) */
.h5-nl { padding: clamp(80px, 10vw, 140px) var(--fm-gr) clamp(60px, 8vw, 110px) var(--fm-gl); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: end; }
.nl-copy { display: grid; gap: 14px; max-width: 46ch; }
.nl-h { margin: 0; font: 400 clamp(30px, 3.8vw, 54px)/1.06 var(--fm-serif); letter-spacing: -.02em; }
.nl-copy p { margin: 0; font: 400 16px/1.5 var(--fm-sans); }
.nl-form { display: grid; gap: 8px; }
.nl-form label { font: 400 10.5px var(--fm-sans); letter-spacing: .16em; text-transform: uppercase; }
.nl-row { display: flex; gap: 0; border-bottom: 1px solid currentColor; }
.nl-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: 400 18px var(--fm-sans); padding: 10px 0; }
.nl-row input:focus { outline: none; }
.nl-row input::placeholder { color: inherit; opacity: .55; }
.nl-row button { background: var(--fg); color: var(--bg); border: 0; padding: 10px 18px; font: 500 11px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; }
.nl-row button i { font-style: normal; }
.nl-msg { margin: 4px 0 0; font: 400 14px var(--fm-sans); min-height: 1.4em; }
@media (max-width: 860px) { .h5-nl { grid-template-columns: minmax(0, 1fr); } }

/* ════════════════════════════════════════════════════════════
   Opción 6 · magazine cover: the masthead flies into the logo,
   the areas change on a split-flap board
   ════════════════════════════════════════════════════════════ */
.mag { position: relative; }
.cover { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #0E2E2D; color: var(--fm-ivory); }
.cov-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: covSettle 7s ease-out forwards; }
@keyframes covSettle { to { transform: scale(1); } }
.cov-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,26,26,.6), rgba(0,26,26,.05) 40%, rgba(0,26,26,.15) 58%, rgba(0,26,26,.8)); }
.mast { position: absolute; z-index: 3; left: var(--fm-gl); right: var(--fm-gr); top: calc(env(safe-area-inset-top, 0px) + 84px); margin: 0; line-height: 0; visibility: hidden; }
.mast svg { width: 100%; height: auto; display: block; }
.cov-issue { position: absolute; z-index: 3; left: var(--fm-gl); right: var(--fm-gr); top: calc(env(safe-area-inset-top, 0px) + 98px + (100vw - var(--fm-gl) - var(--fm-gr)) * .145);
  display: flex; flex-wrap: wrap; gap: 6px 26px; font: 500 11px var(--fm-sans); letter-spacing: .2em; text-transform: uppercase; border-top: 1px solid rgba(255, 255, 255,.6); padding-top: 10px; }
.cov-board { position: absolute; z-index: 3; left: var(--fm-gl); right: var(--fm-gr); bottom: clamp(30px, 6vh, 64px); display: grid; gap: 14px; max-width: calc(100% - 300px); }
.cov-pre { margin: 0; font: 400 clamp(26px, 3.4vw, 52px)/1 var(--fm-serif); }
.flaps { --cw: clamp(18px, 2.6vw, 40px); display: flex; flex-wrap: nowrap; gap: calc(var(--cw) * .1); }
.flap { position: relative; flex: none; display: grid; place-items: center; width: var(--cw); height: calc(var(--cw) * 1.45); background: #0B2626; color: var(--fm-ivory);
  font: 600 calc(var(--cw) * .82)/1 var(--fm-sans); border-radius: calc(var(--cw) * .08); box-shadow: inset 0 -1px 0 rgba(255,255,255,.06), 0 6px 14px -8px rgba(0,0,0,.6); perspective: 300px; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.6); }
.flap.sp { background: rgba(11,38,38,.45); }
.flap.flip { animation: flapFlip .14s ease-in; }
@keyframes flapFlip { 50% { transform: rotateX(80deg); } }
.cov-main { position: absolute; z-index: 3; right: var(--fm-gr); bottom: calc(clamp(30px, 6vh, 64px) + 70px); width: min(30vw, 380px); text-align: right; }
.cov-main span { display: block; font: 500 11px var(--fm-sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.cov-main p { margin: 0; font: italic 400 clamp(24px, 2.8vw, 44px)/1.02 var(--fm-serif); }
.cov-barcode { position: absolute; z-index: 3; right: var(--fm-gr); bottom: clamp(30px, 6vh, 64px); display: grid; gap: 3px; justify-items: center; background: var(--fm-ivory); color: #111; padding: 7px 9px 5px; }
.cov-barcode svg { width: 92px; height: 28px; fill: #111; }
.cov-barcode span { font: 500 8.5px var(--fm-sans); letter-spacing: .12em; }
.cover .h3-scroll { z-index: 3; color: var(--fm-ivory); }
/* the flying masthead → logo (fixed, driven by scroll) */
.flymast { position: fixed; z-index: 41; left: 0; top: 0; line-height: 0; color: var(--fm-ivory); transform-origin: 0 0; pointer-events: none; will-change: transform; }
.flymast svg { width: 100%; height: auto; display: block; }
.flymast.gone { visibility: hidden; }
html.h6-fly .h3-top .h3-logo { visibility: hidden; }
/* header sits on the cover: no band, crudo text */
html.h6-over .h3-top { background: transparent; color: var(--fm-ivory); }
html.h6-over .h5-cta { background: var(--fm-ivory); color: var(--fm-green); box-shadow: none; }
@media (max-width: 860px) {
  .mast { top: calc(env(safe-area-inset-top, 0px) + 70px); }
  .cov-issue { top: calc(env(safe-area-inset-top, 0px) + 80px + (100vw - var(--fm-gl) - var(--fm-gr)) * .145); gap: 4px 14px; font-size: 9.5px; }
  .cov-board { max-width: none; bottom: 96px; }
  .cov-main, .cov-barcode { display: none; }
  .flaps { --cw: min(6.4vw, 30px); }
}
@media (prefers-reduced-motion: reduce) { .cov-img { animation: none; transform: none; } .flap.flip { animation: none; } }

/* Cursor: a green dot (a bigger ochre dot over anything you can press) */
html, body { cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48Y2lyY2xlIGN4PSI4LjAiIGN5PSI4LjAiIHI9IjYiIGZpbGw9IiMwMDQwNDAiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+") 8 8, auto; }
a, button, label, summary, [role="button"], .a3-name, .spool, .h5-tab { cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDI2IDI2Ij48Y2lyY2xlIGN4PSIxMy4wIiBjeT0iMTMuMCIgcj0iMTAiIGZpbGw9IiMzRTczNzAiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9zdmc+") 13 13, pointer; }
input:not([type=checkbox]), textarea { cursor: text; }

/* Header on the way down: stays, but steps back (translucent); back to full on the way up or under the mouse */
html.h4-hide .h3-top { transform: none; opacity: .38; background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.h4-hide .h3-top:hover, html.h4-hide .h3-top:focus-within { opacity: 1; background: var(--bg); }
.h3-top { transition: transform .6s var(--fm-ease), opacity .45s ease, background-color .6s var(--fm-ease), color .9s var(--fm-ease); }
/* drop-downs keep their own colours, also on the cover */
.h5-sub { color: var(--fm-green); background: var(--fm-ivory); }
html.h6-over .h5-sub a, html.h6-over .h5-sub { color: var(--fm-green); }
/* the scroll cue would sit on the split-flap board: not on the cover */
.cover .h3-scroll { display: none; }

.p4-num::before { content: "+"; }

.x6 { display: grid; gap: 16px; max-width: 46ch; }
.x6-text { margin: 0; font: 400 clamp(16px, 1.25vw, 19px)/1.5 var(--fm-sans); color: var(--fg); }
.x6-hl { margin: 0; font: italic 400 clamp(28px, 3.2vw, 48px)/1.08 var(--fm-serif); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }

/* Experience: title + label on the left, text on the right, logos underneath */
.h3-xp .xp { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(32px, 6vw, 110px); row-gap: clamp(56px, 7vw, 96px); align-items: end; padding-top: clamp(28px, 3vw, 44px); }
.h3-xp .xp-head { flex-direction: column-reverse; align-items: flex-start; justify-content: flex-end; gap: 18px; }
.h3-xp .xp-head p { font: 500 11px/1.4 var(--fm-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fm-muted); }
.h3-xp .x6 { max-width: 54ch; gap: 22px; padding-left: clamp(20px, 2vw, 32px); border-left: 1px solid var(--dim); }
.h3-xp .xp-ticker { grid-column: 1 / -1; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--dim); }
@media (max-width: 900px) {
  .h3-xp .xp { grid-template-columns: 1fr; row-gap: 32px; }
  .h3-xp .x6 { padding-left: 0; border-left: 0; }
}

/* Accent: a lighter tone of the fix machine green; on dark sections, a pale sage */
html.h3-dark { --accent: #A9C4BF; }


/* Mobile cover (option D): the big masthead under the header flies to the logo, as on desktop,
   and the full-screen video shrinks into a 16:9 band as you scroll (home4.js sets its size) */
@media (max-width: 860px) {
  .mast { top: calc(env(safe-area-inset-top, 0px) + 78px); }
  .cov-issue { top: calc(env(safe-area-inset-top, 0px) + 72px); }
  .h3-top .h3-right { grid-column: 1 / -1; }
  .cover .cov-img { bottom: auto; }
  /* the cover stays pinned while the video shrinks (55% of a screen of scroll), then the page moves on */
  .mag { height: calc(100vh + 55vh); height: calc(100svh + 55vh); }
  .cover { position: sticky; top: 0; }
}
.cov-cue { display: none; }
@media (max-width: 860px) {
  .cov-cue { display: block; position: absolute; z-index: 3; left: 50%; bottom: calc(108px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
    font: 500 10px/1 var(--fm-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fm-ivory); background: rgba(0, 26, 26, .45);
    padding: 7px 12px; border-radius: 999px; pointer-events: none; transition: opacity .3s; white-space: nowrap; }
  .cov-cue i { font-style: normal; display: inline-block; animation: cueBob 1.6s ease-in-out infinite; }
}
@keyframes cueBob { 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .cov-cue i { animation: none; } }

/* Mobile cover: the issue line becomes a bigger moving ticker at the bottom, so nothing crosses the middle of the video */
.cov-tick { display: none; }
@media (max-width: 860px) {
  .cov-issue { display: none; }
  .cov-tick { display: block; position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); overflow: hidden; color: var(--fm-ivory); pointer-events: none; }
  .cov-tick-track { display: flex; width: max-content; animation: covTick 22s linear infinite; }
  .cov-tick-track span { flex: none; padding-right: 1.6em; font: 500 15px/1 var(--fm-sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
  .cov-tick-track span::after { content: "·"; padding-left: 1.6em; }
  .cov-board { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes covTick { to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .cov-tick-track { animation: none; } }

/* "How we work": a real pair of scissors cutting along the dashed line (it replaces the needle) */
.p4-needle { width: 64px; height: 32px; margin-bottom: -16px; background: currentColor; transform: translate3d(-8px, 0, 0); transform-origin: center;
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiAyOCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSI4IiBjeT0iNyIgcj0iNS4yIi8+PGNpcmNsZSBjeD0iOCIgY3k9IjIxIiByPSI1LjIiLz48cGF0aCBkPSJNMTIuNiA5LjYgTDI3IDE0IEw1MyAyMS41Ii8+PHBhdGggZD0iTTEyLjYgMTguNCBMMjcgMTQgTDUzIDYuNSIvPjwvZz48Y2lyY2xlIGN4PSIyNyIgY3k9IjE0IiByPSIxLjgiIGZpbGw9IiMwMDAiLz48L3N2Zz4K") center / contain no-repeat; mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NiAyOCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSI4IiBjeT0iNyIgcj0iNS4yIi8+PGNpcmNsZSBjeD0iOCIgY3k9IjIxIiByPSI1LjIiLz48cGF0aCBkPSJNMTIuNiA5LjYgTDI3IDE0IEw1MyAyMS41Ii8+PHBhdGggZD0iTTEyLjYgMTguNCBMMjcgMTQgTDUzIDYuNSIvPjwvZz48Y2lyY2xlIGN4PSIyNyIgY3k9IjE0IiByPSIxLjgiIGZpbGw9IiMwMDAiLz48L3N2Zz4K") center / contain no-repeat;
  animation: p4Snip .5s ease-in-out infinite alternate; }
.p4-needle::after { content: none; }
@keyframes p4Snip { to { transform: translate3d(-8px, 0, 0) scaleY(.8); } }
@media (prefers-reduced-motion: reduce) { .p4-needle { animation: none; } }

/* Footer: legal links (cookies, terms, privacy, FAQs) */
.h3-foot-legal { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); font: 400 10.5px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; }
.h3-foot-legal a { color: inherit; text-decoration: none; opacity: .75; }
.h3-foot-legal a:hover, .h3-foot-legal a:focus-visible { opacity: 1; text-decoration: underline; }
.cp-foot .h3-foot-legal { flex-basis: 100%; margin-top: 4px; padding-top: 12px; border-top-color: var(--dim); }

/* Newsletter lives in the green footer, above the big wordmark */
.h3-foot .h3-foot-nl { padding: 0 0 clamp(50px, 7vw, 96px); margin-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .22); color: var(--fm-ivory); }
.h3-foot-nl .eyebrow3 { color: var(--fm-ivory); opacity: .8; }
.h3-foot-nl .nl-copy p { opacity: .85; }
.h3-foot-nl .nl-row { border-bottom-color: rgba(255, 255, 255, .7); }
.h3-foot-nl .nl-row input { color: var(--fm-ivory); }
.h3-foot-nl .nl-row button { background: var(--fm-ivory); color: var(--fm-green); }
.h3-foot-nl .nl-row button:hover { background: #A9C4BF; }
/* Mobile tab bar: Services · Experience · Fixionary · Team · More */
@media (max-width: 860px) { .h5-tabbar { grid-template-columns: repeat(5, 1fr); } }
.h3-foot .h3-foot-nl { text-transform: none; letter-spacing: normal; }
.h3-foot-nl .eyebrow3, .h3-foot-nl .nl-form label, .h3-foot-nl .nl-row button { text-transform: uppercase; letter-spacing: .16em; }

/* Inner pages share the home's three type voices: Newsreader italic for headlines, Archivo for text (bold to stress), Archivo uppercase spaced for labels and menus */
.pd h1, .pd h2, .a2-body .a2-h1, .a2-body .a2-h2, .cp h1, .cp h2 { font-family: var(--fm-serif); font-style: italic; font-weight: 400; }
.h3-right .fm-lang-btn { padding: 7px 0; line-height: 1; }

/* "How we work": the real logo (with its dot) above 360° */
.p4-intro .p4-brand { max-width: none; display: grid; gap: .22em; }
.p4-logo { width: min(100%, 7.6em); aspect-ratio: 912 / 127; color: inherit; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--fm-ease); }
.p4-brand:has(.is-in) .p4-logo, html:not(.h4-ready) .p4-logo { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .p4-logo { clip-path: none; transition: none; } }

/* Scissors v3: smaller outline icon (rings, crossed blades, pivot), drawn inline so the top blade covers the other */
.p4-needle { width: 46px; height: 28px; margin-bottom: -14px; background: none; -webkit-mask: none; mask: none; }
.p4-needle svg { display: block; width: 100%; height: 100%; overflow: visible; }
.p4-needle { transform: translate3d(6px, 0, 0); animation-name: p4Snip3; }
@keyframes p4Snip3 { to { transform: translate3d(6px, 0, 0) scaleY(.78); } }
/* Mobile: the cutting line sits above the tab bar so the scissors stay visible */
@media (max-width: 860px) {
  .p4-thread { bottom: calc(env(safe-area-inset-bottom, 0px) + max(130px, 17vh)); }
  .p4-needle { bottom: calc(env(safe-area-inset-bottom, 0px) + max(130px, 17vh) + 20px); }
}
/* Inner pages open at the top instantly: no smooth scroll on page load */
html:has(body.a2-body), html:has(body.cp), html:has(body.pd) { scroll-behavior: auto; }
@media (max-width: 860px) { .h5-tabbar { grid-template-columns: repeat(4, 1fr); } }
/* 2026-10-23 · footer newsletter must fit phones (button was pushed off-screen) */
.nl-form { grid-template-columns: minmax(0, 1fr); }
.nl-row { min-width: 0; }
@media (max-width: 420px) { .nl-row button { padding: 10px 12px; letter-spacing: .1em; } }
/* 2026-10-24 · Newsletter: language choice (Español / English) and opt-in box in Let's talk */
.nl-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; font: 500 10.5px var(--fm-sans); letter-spacing: .14em; text-transform: uppercase; }
.nl-lang[hidden] { display: none; }
.nl-lang span { opacity: .75; }
.nl-lang label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: inherit; letter-spacing: inherit; }
.nl-lang input { appearance: none; width: 13px; height: 13px; margin: 0; border: 1px solid currentColor; border-radius: 50%; display: grid; place-content: center; cursor: pointer; }
.nl-lang input::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .2s; }
.nl-lang input:checked::after { transform: scale(1); }
.nl-lang input:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.nl-lang i { font-style: normal; }
.c3-nl { display: grid; gap: 10px; }
.c3-nlchk { display: inline-flex !important; align-items: flex-start; gap: 10px; cursor: pointer; font: 400 14px/1.4 var(--fm-sans); text-transform: none; letter-spacing: normal; }
.c3-nlchk input { appearance: none; flex: none; width: 16px; height: 16px; margin: 1px 0 0; border: 1px solid currentColor; display: grid; place-content: center; cursor: pointer; }
.c3-nlchk input::after { content: ""; width: 8px; height: 8px; background: currentColor; transform: scale(0); transition: transform .2s; }
.c3-nlchk input:checked::after { transform: scale(1); }
.c3-nlchk input:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.c3-form .nl-lang input, .h5-nl .nl-lang input { width: 13px; height: 13px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
.c3-form .c3-nlchk input { width: 16px; height: 16px; padding: 0; border: 1px solid currentColor; border-radius: 0; background: transparent; }
.c3-form .c3-nlchk > span { text-transform: none; letter-spacing: normal; font: 400 14px/1.4 var(--fm-sans); }

/* 2026-10-25 · "More about …" link (sketch 1, live underline): the line keeps drawing itself and the arrow nudges,
   so it reads as clickable even without a cursor; on hover the label fills in */
.a3-cta, .a3-pane .a3-cta { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 0; opacity: 1;
  font-weight: 500; background: linear-gradient(color-mix(in srgb, currentColor 30%, transparent) 0 0) left bottom / 100% 1px no-repeat; }
.a3-cta::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: left; animation: ctaDraw 2.8s cubic-bezier(.7, 0, .2, 1) infinite; }
.a3-cta::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -12px; right: -12px; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.a3-cta i { animation: ctaNudge 2.8s ease-in-out infinite; }
.a3-cta:hover, .a3-cta:focus-visible { color: var(--bg); }
.a3-cta:hover::before, .a3-cta:focus-visible::before { transform: scaleY(1); }
.a3-cta:hover::after { animation-play-state: paused; }
.a3-cta:hover i { transform: none; }
@keyframes ctaDraw { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 55% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes ctaNudge { 0%, 40%, 100% { transform: none; } 55% { transform: translateX(6px); } 70% { transform: none; } 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .a3-cta::after, .a3-cta i { animation: none; } }
/* Phones: the link keeps the width of its text (in the service cards it was stretched to the full width, so the
   moving line read as a plain divider), and a tap fills it like the hover does on desktop */
.a3-m .a3-cta { align-self: flex-start; margin-right: 12px; }
.a3-cta:active { color: var(--bg); } .a3-cta:active::before { transform: scaleY(1); }
/* Services panel: room for a sixth line (Sustainability has six blocks since 2026-10-27) */
.a3-pane.is-on .a3-list li:nth-child(6) > span { transition-delay: .42s; }
.a3-pane.is-on .a3-note { transition-delay: .48s; } .a3-pane.is-on .a3-cta { transition-delay: .54s; }
