@font-face {
  font-family: "Geist Mono";
  src: url('/fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --header: 88px;
  --margin: clamp(20px, 4.6vw, 88px);
  --max: 1680px;
  --sec: clamp(88px, 9vw, 150px);
  --gx-focus-ring: var(--gx-brand-primary);
}
html { scroll-behavior: auto !important; }
body { overflow-x: clip; }
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gx-brand-primary); outline-offset: 5px; }
.gx-mark, .gx-mark * { animation: none !important; transform: none !important; }
.header, html:not(.js) .header {
  position: sticky;
  top: 0;
  background: #121212;
  color: white;
  border-bottom: 1px solid #292929;
}
.header__inner { min-height: var(--header); flex-wrap: nowrap; gap: 32px; }
.header__meta { font-size: 11px; line-height: 1.6; font-family: var(--gx-font-mono); color: #BDBDC7; }
.lockup { gap: 10px; padding: 10px 0; }
.lockup .gx-mark { width: 46px; height: 46px; }
.lockup__word { width: 93px; height: auto; }
.nav__list { gap: 28px; }
.nav__link { font-size: 14px; }
.header__actions { margin-left: 10px; }
.btn { min-height: 48px; border-radius: 7px; padding-inline: 22px; }
.btn--header { min-height: 44px; font-size: 14px; }
.btn--primary { background: var(--gx-brand-primary); color: var(--gx-on-accent); }
.btn:hover { transform: none; }
.btn:active { transform: translateY(1px); }
.web-dot { color: var(--gx-brand-primary); }
.mono, .gx-data, .header__meta, time { font-family: var(--gx-font-mono); font-variant-numeric: tabular-nums; }
.hero__content > *, .phead__content > *, .page-head__content > *, .reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.figura-app__zoom { display: inline-flex !important; min-height: 44px; }
.media__view { overflow: hidden; }
.media__video.is-ready { opacity: 1; }
.media__video { object-fit: cover; }
.footer {
  padding: clamp(40px, 7vw, 100px) var(--margin) 40px;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 8vw;
  background: #1E1E1E;
  border-top: 1px solid #3A3A3A;
}
.footer__media { position: relative; inset: auto; grid-column: 2; grid-row: 1 / 3; min-height: 320px; }
.footer__media .media__view { position: relative; aspect-ratio: 4/3; filter: none; }
.footer__top { grid-column: 1; padding: 0; display: grid; gap: 32px; }
.footer__list { gap: 10px 24px; }
.footer__legal { font-size: 13px; color: #BDBDC7; gap: 4px; }
.footer__mid { grid-column: 1; padding: 0; display: block; align-self: end; }
.footer__claim { font-size: 26px; margin-bottom: 20px; }
.footer__lines { color: #BDBDC7; font-size: 12px; max-width: 55ch; }
.footer__bottom { grid-column: 1/-1; padding: 36px 0 25px; margin-top: 10px; border-top: 1px solid #3A3A3A; }
.footer__word { width: clamp(160px, 25vw, 350px); height: auto; }
.footer:not(:has(.footer__media)) .footer__mid { grid-column: 2; grid-row: 1; }
.dialog { width: min(calc(100vw - 24px), 1480px); border: 1px solid #3A3A3A; border-radius: 12px; }
.dialog::backdrop { background: rgb(0 0 0 / .85); }
.dialog__body img { min-width: 960px; width: 100%; max-width: none; height: auto; }
.dialog__head { background: #1E1E1E; color: white; }

/* La entrada permanece operativa mientras se revela la fotografía. */
.gate .header__inner { justify-content: space-between; }
.gate .header__meta { display: block; margin-left: auto; }
.gate-stage {
  display: grid;
  grid-template-columns: minmax(370px, 0.9fr) minmax(0, 1.1fr);
  padding: 24px var(--margin) 30px;
  gap: clamp(25px, 4.5vw, 80px);
  min-height: min(780px, calc(100svh - 146px));
}
.gate-copy { display: flex; align-items: center; padding-block: 40px; }
.gate-copy .hero__content { max-width: 620px; width: 100%; }
.gate-copy .display { font-size: clamp(48px, 5.2vw, 86px); letter-spacing: -.058em; line-height: 1.02; max-width: 9ch; }
.gate-copy .lead { font-size: clamp(16px, 1.26vw, 20px); line-height: 1.6; color: #BDBDC7; margin-top: 28px; max-width: 48ch; }
.gate-copy .hero__ctas { margin-top: 28px; }
.gate-copy .btn--primary { min-height: 54px; }
.gate-copy .gate__form { border-top: 1px solid #3A3A3A; padding-top: 24px; margin-top: 32px; max-width: 470px; }
.gate__form-title { font-size: 14px; }
.gate__row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.gate__row input { min-width: 0; min-height: 52px; border-color: #67676E; }
.gate__row .btn { min-height: 52px; }
.gate__error:empty { display: none; }
.gate-landscape { position: relative; min-width: 0; min-height: 520px; overflow: hidden; }
.gate-aerial, .gate-aerial img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gate-aerial { position: absolute; inset: 0; }
.gate-aerial img { object-position: 56% 50%; }
.gate-film { position: absolute; bottom: 20px; left: 20px; margin: 0; width: min(48%, 270px); background: #121212; border: 5px solid #121212; }
.gate-film .media__view { aspect-ratio: 16/9; position: relative; }
.gate-film .media__video { opacity: 1; width: 100%; height: 100%; position: absolute; inset: 0; }
.gate__foot { padding: 10px var(--margin) 68px; font-size: 11px; }
.gate__foot .container { padding: 0; width: auto; margin: 0; }
.gate__foot-inner { gap: 8px 20px; }
@keyframes solar-reveal {
  from { clip-path: polygon(0 75%, 0 75%, 0 100%, 0 100%); transform: scale(1.025); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="paused"]) .gate-aerial { animation: solar-reveal 1100ms cubic-bezier(.22,.7,.16,1) both; }
}
@media (max-width: 1100px) {
  :root { --header: 76px; }
  .header__meta { display: none; }
  .gate-stage { gap: 30px; grid-template-columns: 1fr 1fr; }
  .gate-copy { padding-block: 28px; }
}
@media (max-width: 767px) {
  :root { --header: 72px; --margin: 20px; }
  .header__inner { gap: 14px; }
  .lockup .gx-mark { width: 38px; height: 38px; }
  .lockup__word { width: 78px; }
  .header__actions { margin-left: auto; gap: 6px; }
  .btn--header { padding-inline: 14px; }
  .js .nav { bottom: auto; max-height: calc(100svh - 72px); border-bottom: 1px solid #3A3A3A; }
  .gate .header__meta { font-size: 9px; text-align: right; }
  .gate-stage { display: flex; flex-direction: column; padding-top: 0; gap: 16px; }
  .gate-copy { padding-block: 30px 14px; }
  .gate-copy .display { font-size: clamp(48px, 12vw, 68px); }
  .gate-copy .lead { margin-top: 20px; font-size: 16px; line-height: 1.5; }
  .gate-copy .hero__ctas { margin-top: 24px; }
  .gate-copy .gate__form { padding-top: 20px; margin-top: 26px; max-width: none; }
  .gate-landscape { height: 490px; min-height: 0; }
  .gate-film { width: 62%; max-width: 245px; bottom: 16px; left: 16px; }
  .gate__foot { padding-top: 6px; }
  .gate .header__inner { gap: 12px; }
  .gate .header__meta { font-size: 8px; }
  .footer { display: flex; flex-direction: column; gap: 32px; padding-bottom: 76px; }
  .footer__media { min-height: 0; }
  .footer__bottom { margin: 0; }
}
html[data-motion="paused"] *, html[data-motion="paused"] *::before, html[data-motion="paused"] *::after { animation: none !important; transition: none !important; }
@media (max-width: 380px) {
  :root { --margin: 16px; }
  .header__inner, .gate .header__inner { gap: 8px; }
  .lockup { gap: 8px; }
  .lockup .gx-mark { width: 32px; height: 32px; }
  .lockup__word { width: 66px; }
  .header__actions { gap: 4px; }
  .btn--header { font-size: 13px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
