/* =========================================================
   XYRA — Producción Audiovisual & Marketing
   ========================================================= */
:root {
  --orange: #ff6800;
  --orange-2: #ff8a33;
  --black: #0a0a0a;
  --ink: #111111;
  --beige: #e6e6dc;
  --beige-2: #e7e0da;
  --white: #f6f5f0;
  --muted: #8a8a84;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: var(--black); }
.o { color: var(--orange); }

.eyebrow {
  font: 600 12px/1 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow--dark { color: var(--black); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,104,0,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,104,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,104,0,0); } }

/* display type shared */
.hero__title, .somos__title, .somos__word, .manifesto__big, .solutions__title, .panel h3, .panel__num,
.work h2, .experts__title, .expert__name, .magnet__title, .contact__title, .footer__big, .menu a {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .95;
  margin: 0;
}
/* editorial accent: italic serif inside display headings */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--black);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 14px/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg); transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: rotate(45deg); }
.btn--dark { --bg: var(--black); --fg: var(--white); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.loader__inner {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center; align-content: center; gap: 28px;
}
.loader__logo { width: clamp(110px, 14vw, 180px); opacity: 0; transform: scale(.85); }
.loader__count { font: 400 clamp(32px, 4vw, 56px)/1 var(--serif); font-style: italic; color: var(--white); }
.loader__count span { color: var(--orange); }
.loader__strips { position: absolute; inset: 0; display: flex; }
.loader__strips i { flex: 1; background: var(--black); }
.loader__strips i:nth-child(even) { background: #121212; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--orange); pointer-events: none;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s;
}
.cursor__label { font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .2s; }
.cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  color: var(--white); background: transparent;
  transition: color .5s, translate .6s var(--ease);
}
/* `translate` (not transform) so it doesn't fight GSAP's intro tween */
.nav.is-hidden { translate: 0 -110%; }
.nav.is-light { color: var(--ink); }
.nav__logo img { height: 34px; width: auto; transition: filter .5s; }
.nav.is-light .nav__logo img { filter: brightness(0); }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a { position: relative; font: 500 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  position: relative; padding-bottom: 6px; font: 600 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em;
  color: var(--orange); transition: color .3s;
}
.nav__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.nav__cta:hover::after { transform: scaleX(.35); }
.nav.is-light .nav__cta { color: var(--ink); }
.nav__burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; color: inherit; }
.nav__burger i { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger i:first-child { top: 19px; } .nav__burger i:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--orange); color: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a { font-size: clamp(40px, 11vw, 80px); }
.menu .menu__cta { color: var(--white); }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 16px var(--gutter); }
  body:has(.menu.is-open) .nav { color: var(--ink); }
  body:has(.menu.is-open) .nav__logo img { filter: brightness(0); }
}

/* ---------- hero ---------- */
/* airy editorial cover: soft color block, one hero photo, serif title, ghost word */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* full-bleed video cover with centered copy */
.hero {
  position: relative; height: 100svh; min-height: 640px; overflow: hidden;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* scrim keeps the white copy legible over any frame of the video */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10,10,10,.62), rgba(10,10,10,.3) 75%),
    linear-gradient(to bottom, rgba(10,10,10,.45), rgba(10,10,10,0) 22%, rgba(10,10,10,0) 70%, rgba(10,10,10,.55));
}

.hero__copy {
  position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 860px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__title { margin: 0; font: 700 clamp(42px, 7vw, 120px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.035em; color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__title .serif { color: var(--orange); font-size: 1.12em; }
.hero__title .line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; }
.hero__title .line > span { display: block; }
.hero__lead { margin: 26px auto 0; max-width: 52ch; font: 400 clamp(14px, 1.1vw, 17px)/1.7 var(--body); color: rgba(246,245,240,.92); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero__btn {
  display: inline-block; margin-top: 46px; padding: 14px 28px;
  background: var(--orange); color: #fff; font: 500 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 16px 34px -10px rgba(255,104,0,.6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero__btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -10px rgba(255,104,0,.7); }

.hero__rail { position: absolute; left: var(--gutter); top: 50%; z-index: 2; display: flex; flex-direction: column; gap: 7px; }
.hero__rail i { display: block; width: 14px; height: 1px; background: rgba(246,245,240,.45); }
.hero__rail i:first-child { width: 26px; background: var(--white); }

.hero__social { position: absolute; left: var(--gutter); bottom: 44px; z-index: 3; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.hero__social a { display: block; color: rgba(246,245,240,.7); transition: color .3s; }
.hero__social a:hover { color: var(--orange); }
.hero__social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .hero { min-height: 100svh; padding: 84px 0 48px; }
  .hero__title { font-size: clamp(36px, 12vw, 64px); }
  .hero__btn { margin-top: 30px; }
  .hero__rail, .hero__social { display: none; }
}

/* ---------- somos ---------- */
.somos { background: var(--beige); color: var(--ink); position: relative; }
.somos__pin {
  position: relative; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 90px var(--gutter) 40px;
}
.somos__ghost {
  position: absolute; left: 0; bottom: -4vw; white-space: nowrap; pointer-events: none;
  font: 700 clamp(140px, 20vw, 320px)/1 var(--display); text-transform: uppercase; letter-spacing: -.04em;
  color: rgba(17,17,17,.035);
}
.somos__text { position: relative; z-index: 2; }
.somos__title { font-size: clamp(44px, 5.6vw, 92px); color: var(--orange); }
.somos__words { position: relative; height: clamp(84px, 8vw, 132px); margin-top: 4px; }
.somos__word {
  position: absolute; left: 0; top: 0; display: block;
  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em;
  font-size: clamp(36px, 4.2vw, 68px); line-height: .95;
  padding-top: .12em;
  clip-path: inset(-30% 0 100% 0);
  transition: clip-path .8s var(--ease);
}
.somos__word.was-active { clip-path: inset(100% 0 0 0); }
.somos__word b { display: block; font-weight: 400; color: var(--ink); }
.somos__word { color: var(--orange); }
.somos__word.is-active { clip-path: inset(-30% 0 0 0); }
.somos__desc { position: relative; min-height: 5.5em; max-width: 42ch; margin-top: clamp(10px, 2vh, 24px); }
.somos__desc p { position: absolute; inset: 0 auto auto 0; margin: 0; font-size: clamp(15px, 1.2vw, 18px); color: #3a3a36; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.somos__desc p.is-active { opacity: 1; transform: none; }
.somos__progress { margin-top: 26px; width: min(260px, 60%); height: 3px; background: rgba(17,17,17,.12); }
.somos__progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* each slide is sized to its photo's own ratio (--r) and centred, so the strip reveal never crops it */
.somos__stage { --sh: min(76svh, 720px); position: relative; height: var(--sh); }
.somos__slide {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0;
  width: min(100%, calc(var(--sh) * var(--r))); aspect-ratio: var(--r);
}
.somos__slide > img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.somos__slide:not(.is-first) { visibility: hidden; }
.strips { position: absolute; inset: 0; display: flex; border-radius: 14px; overflow: hidden; }
.strips > div { position: relative; flex: 1; overflow: hidden; }
.strips > div > img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; }
.somos__thumb {
  position: absolute; width: 30%; height: auto; border-radius: 10px; /* natural ratio, no crop */
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 6px var(--beige);
}
.somos__thumb.is-tall { width: 19%; }
.somos__thumb.t1 { left: -10%; top: -8%; }
.somos__thumb.t2 { right: -6%; top: -12%; width: 26%; }
.somos__thumb.t3 { right: 4%; bottom: -14%; width: 27%; }
.somos__thumb.t3.is-tall { width: 17%; }

@media (max-width: 860px) {
  .somos__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 86px; gap: 16px; }
  .somos__stage { --sh: 40svh; min-height: 0; margin: 4svh 6% 0; }
  .somos__words { height: 78px; }
  .somos__desc { min-height: 4.8em; }
  .somos__progress { display: none; }
  .somos__thumb.t1 { left: -6%; }
}

/* ---------- manifesto ---------- */
.manifesto { position: relative; height: 100svh; overflow: hidden; background: var(--black); }
.manifesto__frame { position: absolute; inset: 0 45% 0 0; }
.manifesto__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; clip-path: inset(30% 42% 30% 42% round 14px); }
.manifesto__big {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-58%);
  font-size: clamp(40px, 6vw, 100px); line-height: .9; text-align: left;
  display: flex; flex-direction: column;
}
.manifesto__big span { display: block; }
.manifesto__quote {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 7vh, 64px); width: min(38vw, 520px); margin: 0;
  font: 400 clamp(16px, 1.25vw, 19px)/1.6 var(--body);
}
.manifesto__quote em { font: italic 400 1.3em/1 var(--serif); color: var(--orange); }
.reveal-words .w { opacity: .14; transition: none; }
@media (max-width: 860px) {
  .manifesto__frame { inset: 0 0 50% 0; }
  .manifesto__big { top: calc(50% + 18px); left: var(--gutter); right: var(--gutter); transform: none; font-size: clamp(30px, 8.6vw, 54px); }
  .manifesto__quote { left: var(--gutter); width: auto; bottom: 24px; }
}

/* ---------- solutions ---------- */
.solutions { position: relative; background: var(--beige); color: var(--ink); }
.solutions__head {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-content: center; gap: 24px 48px;
  padding: 120px var(--gutter) 80px;
}
.solutions__head .eyebrow { grid-column: 1 / -1; }
.solutions__title { grid-column: 1 / -1; font-size: clamp(38px, 5.6vw, 96px); color: var(--ink); }
.solutions__title .o { display: block; font-size: 1.2em; line-height: .95; }
.solutions__index {
  grid-column: 1 / -1; list-style: none; margin: clamp(16px, 4vh, 40px) 0 0; padding: 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); column-gap: 64px;
}
.solutions__index li {
  display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(17,17,17,.15);
  font: 600 clamp(13px, 1.1vw, 16px)/1.2 var(--body); text-transform: uppercase; letter-spacing: .02em;
}
.solutions__index b { color: var(--orange); font-family: var(--display); font-weight: 700; }

.hscroll { position: relative; overflow: hidden; }
.hscroll__track { display: flex; width: max-content; }
.panel {
  position: relative; width: 100vw; height: 100svh; flex: none;
  display: grid; grid-template-columns: minmax(280px, .65fr) 1.35fr; grid-template-rows: auto 1fr; gap: 12px 48px;
  padding: 110px var(--gutter) 48px; overflow: hidden;
}
.panel--orange { background: var(--orange); color: var(--black); }
.panel--dark { background: var(--black); color: var(--white); }
.panel--light { background: var(--beige); color: var(--ink); }
.panel__num { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: clamp(96px, 11vw, 190px); line-height: .8; color: var(--white); }
.panel--light .panel__num { color: var(--orange); }
.panel__info { grid-column: 1; grid-row: 2; align-self: end; max-width: 460px; }
.panel h3 { font-size: clamp(28px, 2.9vw, 48px); }
.panel h3 span { display: block; margin-top: .14em; font: italic 400 .9em/1 var(--serif); text-transform: none; letter-spacing: -.01em; }
.panel--orange h3 { color: var(--white); } .panel--orange h3 span { color: var(--black); }
.panel--dark h3 span, .panel--light h3 span { color: var(--orange); }
.panel--light h3 { color: var(--ink); }
.panel p { margin: 18px 0 0; font-size: clamp(15px, 1.15vw, 17px); max-width: 40ch; }
.tags { list-style: none; padding: 16px 0 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.tags li { font: 400 14px/1.4 var(--body); opacity: .85; }
.tags li + li::before { content: "/"; margin: 0 12px; opacity: .4; font-style: normal; }

/* mosaic gallery: main.js places every photo at its own aspect ratio (--r) so the set fills the box with no
   gaps and nothing is cropped */
.gallery { position: relative; grid-column: 2; grid-row: 1 / span 2; min-height: 0; }
.gallery figure { position: absolute; margin: 0; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; transition: filter .6s; }
.gallery:hover img { filter: grayscale(.85) brightness(.75); }
.gallery img:hover { filter: none; }

.panel--end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--black); width: 70vw; }
.panel--end h3 { font-size: clamp(42px, 5.4vw, 92px); color: var(--white); margin-bottom: 36px; }
.panel--end h3 span { display: inline; font-size: 1.1em; color: var(--orange); }

@media (max-width: 900px) {
  .solutions__head { grid-template-columns: 1fr; min-height: auto; padding: 110px var(--gutter) 60px; }
  .hscroll__track { flex-direction: column; width: 100%; }
  .panel { width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; padding: 56px var(--gutter); gap: 20px; }
  .panel__num, .panel__info, .gallery { grid-column: 1; grid-row: auto; }
  .panel__num { font-size: clamp(96px, 30vw, 180px); }
  .panel--end { width: 100%; padding: 80px var(--gutter); }
}

/* ---------- work ---------- */
.work { background: var(--black); padding: clamp(80px, 14vh, 160px) 0; overflow: hidden; }
.work__head { padding: 0 var(--gutter); margin-bottom: 48px; }
.work h2 { font-size: clamp(36px, 5vw, 84px); }
.work h2 .o { display: block; font-size: 1.2em; }
.work__row { margin-top: 14px; }
.work__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
/* height is shared, width follows each photo's own ratio (--r) so nothing is cropped */
.work__track img, .work__track video { height: clamp(200px, 32vh, 340px); width: auto; aspect-ratio: var(--r); border-radius: 8px; flex: none; }
.work__track video { display: block; object-fit: cover; background: #111; }
/* rows can be grabbed and swiped; vertical page scroll still works on touch */
.work__row { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.work__row.is-dragging { cursor: grabbing; }
.work__track img, .work__track video { -webkit-user-drag: none; }
/* near-invisible scrubber: a hairline that brightens on hover */
.work__bar { position: relative; height: 18px; margin: 4px var(--gutter) 0; cursor: pointer; touch-action: none; }
.work__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.08); transition: background .3s; }
.work__thumb { position: absolute; left: 0; top: 50%; width: 12%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255,255,255,.18); transition: background .3s, height .3s, margin .3s; will-change: transform; }
.work__bar:hover::before, .work__row:hover + .work__bar::before { background: rgba(255,255,255,.18); }
.work__bar:hover .work__thumb, .work__bar.is-active .work__thumb, .work__row:hover + .work__bar .work__thumb { background: var(--orange); height: 4px; margin-top: -2px; }

/* ---------- experts ---------- */
.experts { background: var(--beige-2); color: var(--ink); }
.experts__intro {
  position: relative; height: 100svh; background: var(--black); color: var(--white); overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 var(--gutter);
}
.experts__title { font-size: clamp(42px, 6.4vw, 110px); }
.experts__title span { display: block; }
.experts__title .serif { font-size: 1.25em; line-height: .9; }
.experts__slit { height: 100%; width: clamp(140px, 18vw, 300px); margin-right: 6vw; }
.experts__slit img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 48% 0 48%); }
.expert {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  min-height: 100svh; padding: clamp(60px, 10vh, 120px) var(--gutter);
}
.expert__photo { overflow: hidden; border-radius: 0; }
.expert__photo img { width: 100%; height: auto; aspect-ratio: 445 / 450; object-fit: cover; transform-origin: 50% 80%; }
.expert--flip .expert__photo { order: 0; }
.expert:not(.expert--flip) .expert__photo { order: 2; }
.expert__name { font-size: clamp(36px, 4.4vw, 74px); }
.expert__name .o { display: block; font-size: 1.25em; line-height: .9; }
.expert__role { margin: 18px 0 8px; font: italic 400 22px/1.2 var(--serif); color: var(--orange); }
.expert__motto { font: italic 400 clamp(20px, 1.8vw, 26px)/1.3 var(--serif); }
.expert__body p { max-width: 52ch; color: #3b3834; }
.expert__body p.expert__motto { color: var(--ink); }
.expert__cta { margin-top: 18px; }
@media (max-width: 860px) {
  .experts__intro { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-top: 90px; }
  .experts__slit { width: 46vw; height: 52svh; margin: 0 auto 24px; }
  .expert { grid-template-columns: 1fr; min-height: 0; }
  .expert .expert__photo { order: 0 !important; }
}

/* ---------- magnet ---------- */
.magnet { position: relative; height: 100svh; background: var(--black); overflow: hidden; display: grid; place-items: center; text-align: center; }
.magnet__trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.magnet__trail img { position: absolute; top: 0; left: 0; width: clamp(160px, 18vw, 280px); height: auto; border-radius: 6px; opacity: 0; will-change: transform; }
.magnet__title { position: relative; z-index: 2; font-size: clamp(42px, 7.6vw, 130px); mix-blend-mode: difference; pointer-events: none; }
.magnet__title .serif { font-size: 1.3em; line-height: .9; }
.magnet__title span { display: block; }
.magnet__title .o { color: var(--orange); mix-blend-mode: normal; }
.magnet__hint { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 2; margin: 0; font: 600 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- contact ---------- */
.contact {
  background: var(--orange); color: var(--black);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(90px, 14vh, 160px) var(--gutter);
}
.contact__title { font-size: clamp(40px, 5.2vw, 88px); color: var(--black); }
.contact__title .serif { font-size: 1.2em; }
.contact__title span { color: var(--white); }
.contact__links { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 14px; }
.contact__links a { display: inline-flex; align-items: center; gap: 14px; font: 600 clamp(16px, 1.4vw, 20px)/1.2 var(--body); transition: gap .3s; overflow-wrap: anywhere; }
.contact__links a:hover { gap: 22px; }
.contact__links svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact { align-items: start; }
/* Collapsed by default so the orange block stays clean; opens into the full form. */
.contact__drop { background: var(--black); color: var(--white); border-radius: 22px; overflow: hidden; }
.contact__toggle {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px;
  padding: clamp(22px, 2.6vw, 36px) clamp(24px, 3vw, 44px);
}
.contact__toggle::-webkit-details-marker { display: none; }
.contact__toggle-title { font: 700 clamp(22px, 2vw, 30px)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.contact__toggle small { grid-column: 1; font: 400 14px/1.4 var(--body); color: var(--muted); }
.contact__plus { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); transition: transform .45s var(--ease); }
.contact__plus::before, .contact__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--black); }
.contact__plus::after { transform: rotate(90deg); }
.contact__toggle:hover .contact__plus { transform: scale(1.08); }
.contact__drop[open] .contact__plus { transform: rotate(45deg); }
.contact__toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; border-radius: 22px; }
.contact__form { display: grid; gap: 22px; align-content: start; padding: 4px clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px); border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; }
.contact__form label > span, .contact__form legend { display: block; font: 400 14px/1 var(--body); color: var(--muted); margin-bottom: 10px; }
.contact__form input:not([type=checkbox]), .contact__form textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--white);
  font: 500 18px/1.4 var(--body); padding: 6px 0 10px; outline: none; resize: vertical; transition: border-color .3s;
}
.contact__form input:focus, .contact__form textarea:focus { border-color: var(--orange); }
.contact__form fieldset { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font: 600 13px/1 var(--body); transition: all .25s; }
.chips input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--black); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.contact__form .btn { justify-self: start; --bg: var(--orange); --fg: var(--white); }
.contact__note { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--orange-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--black); padding: clamp(64px, 9vh, 110px) var(--gutter) 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(40px, 6vh, 72px); }
.footer__brand p { margin: 0 0 24px; max-width: 34ch; color: var(--muted); font-size: 15px; }
.footer__cta { display: inline-flex; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.footer__cta:hover { color: var(--white); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; }
.footer__col h3 { margin: 0 0 8px; font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.footer__col a { color: var(--white); overflow-wrap: anywhere; transition: color .25s; }
.footer__col a:hover { color: var(--orange); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__big {
  font-size: 26vw; line-height: .8; text-align: center; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px var(--orange);
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 100% 0%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .9s var(--ease);
}
.footer__big:hover { background-size: 100% 100%; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: var(--muted); }
.footer__row p { margin: 0; }
/* bottom-right, away from the fixed nav logo in the top-left */
.footer__logo { height: 52px; width: auto; margin-left: auto; }
.footer__top { color: var(--white); }
.footer__top:hover { color: var(--orange); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .manifesto__frame img, .experts__slit img { clip-path: none; }
  .reveal-words .w { opacity: 1; }
}

/* ---------- launch checklist additions ---------- */
:root { --orange-ink: #a64200; } /* orange dark enough for small text on light surfaces */

/* contrast: small text must reach 4.5:1 */
.hero__btn { color: var(--black); font-weight: 600; }
.solutions__index b, .expert__role { color: var(--orange-ink); }
.contact__form .btn { --fg: var(--black); }
.contact__form .btn::before { background: var(--white); }
.contact__form .btn:hover { color: var(--black); }

/* closed menu must not be reachable with the keyboard */
.menu { visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu.is-open { visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }

/* the scroll lock has to sit on the element that actually scrolls */
html:has(body.is-loading) { overflow: hidden; }

/* spam trap: off-screen field real visitors never see */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__legal { margin: 0; font-size: 13px; color: var(--muted); }
.contact__legal a { color: var(--white); text-decoration: underline; }

/* floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #128c7e; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.55);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* cookie notice */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 80;
  width: min(420px, calc(100vw - 40px)); padding: 20px;
  background: var(--ink); color: var(--white);
  border: 1px solid rgba(255,255,255,.16); border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  font-size: 14px; line-height: 1.5;
}
.cookie p { margin: 0 0 14px; }
.cookie a { color: var(--white); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions button {
  flex: 1; padding: 12px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--white); background: transparent; color: var(--white);
  font: 700 13px/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
}
.cookie__actions button[data-consent="accepted"] { background: var(--white); color: var(--black); }
@media (max-width: 560px) { .cookie { left: 12px; right: 12px; width: auto; bottom: 88px; } }

/* footer legal links */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a, .footer__legal button, .page__foot button {
  color: var(--white); font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.footer__legal a:hover, .footer__legal button:hover { color: var(--orange); }

/* ---------- legal + 404 pages ---------- */
.page { background: var(--beige); color: var(--ink); min-height: 100svh; display: flex; flex-direction: column; }
.page__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px var(--gutter); background: var(--black); color: var(--white); }
.page__bar img { height: 34px; width: auto; }
.page__back { font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.legal { flex: 1; width: 100%; max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) var(--gutter); }
.legal h1 { margin: 0 0 12px; font: 700 clamp(32px, 5vw, 58px)/1 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.legal h2 { margin: 40px 0 10px; font: 700 19px/1.25 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #2b2b28; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--orange-ink); text-decoration: underline; }
.legal a.btn { text-decoration: none; }
.legal a.btn--dark { color: var(--white); }
.legal a.btn:not(.btn--dark) { color: var(--black); }
.legal a.btn:hover { color: var(--bg); }
.legal__date { font-size: 14px; color: #55554f; }
.legal__draft { padding: 14px 16px; border-left: 4px solid var(--orange); background: #fff4c2; font-size: 14px; }
.legal mark { background: #ffe08a; padding: 0 4px; border-radius: 3px; }
.legal__table { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(17,17,17,.18); }
.legal__btn { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 14px/1 var(--body); cursor: pointer; }
.legal .notfound__code { margin: 0 0 12px; font: italic 400 clamp(96px, 20vw, 200px)/.9 var(--serif); color: var(--orange-ink); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 26px var(--gutter); background: var(--black); color: var(--muted); font-size: 13px; }
.page__foot a { color: var(--white); }
/* ---------- mobile pass: tap targets of 44px, text of 14px or more ---------- */
html:has(.menu.is-open) { overflow: hidden; } /* open menu locks the page behind it */
html { -webkit-text-size-adjust: 100%; }
.nav__burger { width: 44px; height: 44px; }
.nav__burger i { left: 10px; right: 10px; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.solutions__index li { font-size: clamp(14px, 1.1vw, 16px); }
.hero__btn { min-height: 44px; display: inline-flex; align-items: center; }
.cookie__actions button { min-height: 44px; }
.legal__btn { min-height: 44px; }
.page__bar a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 860px) {
  .footer__col { gap: 0; }
  .footer__col h3 { margin-bottom: 4px; font-size: 14px; }
  .footer__col a, .footer__legal a, .footer__legal button, .footer__top, .footer__cta,
  .page__foot a, .page__foot button, .contact__links a, .menu a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .footer__legal { gap: 0 18px; }
  .footer__row, .footer__cta, .page__foot, .page__back, .contact__legal { font-size: 14px; }
  .hero__btn, .cookie__actions button, .chips span { font-size: 14px; }
  .chips span { padding: 14px 16px; }
  .page__foot { gap: 0 24px; align-items: center; }
  .cookie { padding: 16px; }
}