/*
Theme Name: Factor Hombre 2026
Theme URI: https://factorhombre.org/
Author: Factor Hombre
Description: Experiencia editorial y de campaña de Factor Hombre, construida con HTML, CSS y JavaScript propios.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.0
Text Domain: factor-hombre-2026
*/

:root {
  --black: #07080b;
  --black-soft: #0d1016;
  --navy: #0c1b36;
  --navy-soft: #12284a;
  --red: #aa1d1d;
  --red-bright: #d7352e;
  --gold: #d9a441;
  --gold-bright: #f5cf72;
  --cream: #f5f0e7;
  --ink: #101d32;
  --muted: #8e96a6;
  --line: rgba(255, 255, 255, 0.13);
  --shell: min(1180px, calc(100% - 48px));
  --scroll: 0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-shell { width: var(--shell); margin-inline: auto; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-bright), var(--gold-bright)); box-shadow: 0 0 18px rgba(245, 207, 114, .55); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease;
  border-bottom: 1px solid transparent;
}
.site-header::before { position: absolute; inset: 0; z-index: -1; content: ""; opacity: 0; background: rgba(7, 8, 11, .86); backdrop-filter: blur(18px); transition: opacity .45s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 50px rgba(0, 0, 0, .28); }
.site-header.is-scrolled::before { opacity: 1; }
.header-shell { width: var(--shell); min-height: 90px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { position: relative; display: grid; place-items: center; width: 60px; height: 68px; transition: width .45s ease, height .45s ease, transform .7s cubic-bezier(.2,.8,.2,1); transform: translateY(calc(var(--scroll) * -1.5px)) rotate(calc(var(--scroll) * 1.5deg)); }
.brand-mark::after { position: absolute; inset: 9% 4%; z-index: -1; content: ""; border-radius: 50%; background: rgba(245, 207, 114, .12); filter: blur(13px); animation: pulse 4s ease-in-out infinite; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0,0,0,.42)); animation: crest-breathe 5s ease-in-out infinite; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: "Cinzel", Georgia, serif; font-size: 13px; letter-spacing: .16em; }
.brand-copy small { color: var(--gold-bright); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.site-header.is-scrolled .brand-mark { width: 45px; height: 51px; }
.site-header.is-scrolled .brand-copy small { opacity: 0; height: 0; overflow: hidden; }
.main-nav { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 31px); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.main-nav > a:not(.nav-cta) { position: relative; padding-block: 13px; color: rgba(255,255,255,.73); transition: color .25s ease; }
.main-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a:not(.nav-cta).is-active { color: #fff; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta).is-active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 17px; border: 1px solid rgba(245, 207, 114, .55); color: var(--gold-bright); transition: background .3s ease, color .3s ease, transform .3s ease; }
.nav-cta:hover { color: var(--black); background: var(--gold-bright); transform: translateY(-2px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: white; }
.menu-toggle span:not(.sr-only) { display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; transition: transform .3s ease; }

.hero { position: relative; min-height: min(920px, 100svh); display: grid; align-items: center; padding: 150px 0 100px; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 35%, rgba(91, 25, 25, .25), transparent 37%), linear-gradient(135deg, #06070a 0%, #0b1019 60%, #101a2d 100%); }
.hero::after { position: absolute; right: -5%; bottom: -26%; width: 72vw; height: 72vw; content: ""; border: 1px solid rgba(217,164,65,.12); border-radius: 50%; transform: rotate(-23deg); pointer-events: none; }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.hero-glow--one { top: 24%; right: 28%; width: 220px; height: 220px; background: rgba(202, 31, 31, .2); }
.hero-glow--two { right: -5%; bottom: -8%; width: 480px; height: 480px; background: rgba(20, 61, 120, .3); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(380px, .78fr); align-items: center; gap: clamp(48px, 9vw, 130px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--gold-bright); font-size: 10px; font-weight: 800; letter-spacing: .24em; line-height: 1.5; text-transform: uppercase; }
.eyebrow span { display: block; width: 31px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--red); }
.hero h1, .section-heading h2, .cycle-content h2, .contact-copy h2 { max-width: 760px; margin: 0; font-family: "Cinzel", Georgia, serif; font-size: clamp(43px, 6.2vw, 86px); font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.hero h1 em, .section-heading h2 em, .cycle-content h2 em, .contact-copy h2 em { color: var(--gold-bright); font-style: normal; }
.hero-lede, .section-lede { max-width: 570px; margin: 29px 0 0; color: rgba(255,255,255,.7); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; }
.hero-actions, .cycle-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease; }
.button span { font-size: 18px; font-weight: 400; line-height: 1; }
.button:hover { transform: translateY(-3px); }
.button--red { background: var(--red-bright); color: #fff; box-shadow: 0 12px 28px rgba(215, 53, 46, .18); }
.button--red:hover { background: #f0493c; box-shadow: 0 16px 34px rgba(215, 53, 46, .35); }
.button--ghost { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.85); }
.button--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.button--gold { background: var(--gold); color: var(--ink); }
.button--gold:hover { background: var(--gold-bright); box-shadow: 0 16px 34px rgba(217, 164, 65, .22); }
.button--ghost-light { border-color: rgba(245,207,114,.6); color: var(--gold-bright); }
.button--ghost-light:hover { color: var(--ink); background: var(--gold-bright); }
.hero-signals { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 54px; padding-top: 17px; border-top: 1px solid var(--line); color: rgba(255,255,255,.48); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-signals b { margin-right: 6px; color: var(--gold-bright); font-weight: 500; }
.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.hero-card { position: relative; z-index: 2; width: min(100%, 390px); padding: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(245,207,114,.34); box-shadow: 0 40px 80px rgba(0,0,0,.45); transform: rotate(3.5deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero-card:hover { transform: rotate(0) translateY(-8px); }
.hero-card-topline, .hero-card-footer { display: flex; justify-content: space-between; gap: 8px; padding: 9px 6px; color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-card img { width: 100%; aspect-ratio: .8; object-fit: cover; object-position: 50% 10%; }
.hero-card-footer { color: rgba(255,255,255,.72); }
.visual-orbit { position: absolute; border: 1px solid rgba(217,164,65,.24); border-radius: 50%; transform: rotate(-28deg); }
.visual-orbit--outer { width: 590px; height: 830px; }
.visual-orbit--inner { width: 430px; height: 630px; border-color: rgba(215,53,46,.25); transform: rotate(23deg); }
.floating-seal { position: absolute; z-index: 3; display: grid; place-items: center; width: 75px; height: 75px; border: 1px solid rgba(245,207,114,.62); border-radius: 50%; color: var(--gold-bright); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: center; animation: float 5s ease-in-out infinite; }
.floating-seal--top { top: 16%; right: 0; background: var(--red); }
.floating-seal--top span { color: #fff; font-size: 16px; }
.floating-seal--bottom { bottom: 12%; left: 0; width: 94px; height: 94px; background: var(--black); font-size: 8px; letter-spacing: .18em; line-height: 1.45; animation-delay: -2s; }
.scroll-cue { position: absolute; bottom: 29px; left: 50%; display: grid; justify-items: center; gap: 11px; color: rgba(255,255,255,.55); font-size: 8px; font-weight: 700; letter-spacing: .24em; transform: translateX(-50%); }
.scroll-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: scroll-line 2s ease-in-out infinite; }

.section { position: relative; padding: 125px 0; }
.manifesto, .guides-section { color: var(--ink); background: var(--cream); }
.section-heading { max-width: 800px; }
.section-heading h2, .cycle-content h2, .contact-copy h2 { font-size: clamp(38px, 5vw, 70px); }
.section-heading > p:not(.eyebrow), .section-heading--split > p { max-width: 530px; margin: 27px 0 0; color: rgba(16,29,50,.68); font-size: 17px; line-height: 1.75; }
.manifesto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 75px; }
.manifesto-card { position: relative; min-height: 300px; padding: 30px; overflow: hidden; background: #fff; border: 1px solid rgba(16,29,50,.14); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.manifesto-card:hover { border-color: var(--gold); box-shadow: 0 22px 45px rgba(16,29,50,.12); transform: translateY(-8px); }
.manifesto-card--accent { color: #fff; background: var(--red); border-color: var(--red); }
.manifesto-card--accent::after { position: absolute; right: -30px; bottom: -50px; width: 170px; height: 170px; content: ""; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.card-number { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.manifesto-card--accent .card-number { color: var(--gold-bright); }
.card-icon { display: block; margin-top: 47px; color: var(--gold); font-size: 28px; }
.manifesto-card h3 { margin: 18px 0 12px; font-family: "Cinzel", Georgia, serif; font-size: 25px; }
.manifesto-card p { max-width: 270px; margin: 0; color: rgba(16,29,50,.65); line-height: 1.65; }
.manifesto-card--accent p { color: rgba(255,255,255,.75); }
.manifesto-card a, .guide-body a, .guide-action { position: absolute; right: 30px; bottom: 28px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.manifesto-card--accent a { color: var(--gold-bright); }
.guide-action--soon { color: rgba(16,29,50,.44); cursor: default; }
.manifesto-card a span, .guide-body a span, .guide-action span { margin-left: 7px; font-size: 16px; }

.cycle-section { background: var(--black-soft); }
.section-grid { display: grid; grid-template-columns: minmax(290px, .68fr) minmax(0, 1fr); align-items: center; gap: clamp(55px, 9vw, 130px); }
.cycle-art { position: relative; max-width: 440px; justify-self: center; }
.cycle-art img { position: relative; z-index: 1; width: 100%; box-shadow: 26px 28px 0 rgba(217,164,65,.17), 0 30px 70px rgba(0,0,0,.4); }
.art-frame { position: absolute; inset: -19px -19px 19px 19px; border: 1px solid rgba(245,207,114,.55); }
.art-caption { position: absolute; right: -27px; bottom: 29px; z-index: 2; padding: 14px 16px; background: var(--red); color: #fff; box-shadow: 0 14px 25px rgba(0,0,0,.35); }
.art-caption span { display: block; margin-bottom: 5px; color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.art-caption strong { font-family: "Cinzel", Georgia, serif; font-size: 16px; line-height: 1.1; }
.cycle-content h2 { color: #fff; }
.cycle-content .section-lede { color: rgba(255,255,255,.68); }
.event-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.event-facts div { display: grid; gap: 5px; }
.event-facts span { color: var(--gold-bright); font-size: 9px; font-weight: 800; letter-spacing: .19em; }
.event-facts strong { color: rgba(255,255,255,.86); font-size: 13px; font-weight: 600; line-height: 1.45; }
.text-link { color: var(--gold-bright); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.text-link span { margin-left: 6px; font-size: 16px; }
.registration { display: grid; grid-template-columns: .62fr 1fr; align-items: start; gap: clamp(35px, 8vw, 115px); margin-top: 125px; padding-top: 82px; border-top: 1px solid var(--line); }
.registration-heading h3 { max-width: 420px; margin: 0; color: #fff; font-family: "Cinzel", Georgia, serif; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; }
.registration-heading > p:not(.eyebrow) { max-width: 370px; margin: 16px 0 0; color: var(--muted); line-height: 1.7; }
.form-shell { overflow: hidden; background: #fff; border: 1px solid rgba(245,207,114,.35); border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.form-embed { background: #fff; }
.form-embed iframe { display: block; width: 100%; height: 720px; border: 0; background: #fff; }
.form-fallback { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 25px; padding: 24px; color: var(--ink); background: linear-gradient(135deg, #f5f0e7, #fff); border-top: 1px solid rgba(16,29,50,.12); }
.form-qr { display: grid; place-items: center; padding: 8px; background: #fff; border: 1px solid rgba(16,29,50,.14); }
.form-qr img { width: 100%; height: auto; aspect-ratio: 1; }
.form-fallback-copy { min-width: 0; }
.form-fallback-kicker { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.form-fallback-copy h4 { margin: 8px 0 7px; color: var(--ink); font-family: "Cinzel", Georgia, serif; font-size: 22px; }
.form-fallback-copy p { max-width: 430px; margin: 0; color: rgba(16,29,50,.66); font-size: 13px; line-height: 1.6; }
.form-fallback-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 18px; }
.form-fallback-actions .button { min-height: 43px; padding-inline: 16px; font-size: 9px; }
.form-fallback-actions .text-link { color: var(--red); }

.live-section { background: linear-gradient(145deg, #0b1730, #10284a); }
.section-heading--split { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; max-width: none; }
.section-heading--split > p { margin: 0; color: rgba(255,255,255,.64); }
.live-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 22px; margin-top: 65px; }
.video-shell { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #05070b; border: 1px solid rgba(245,207,114,.3); }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
.video-status { position: absolute; right: 15px; bottom: 15px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(7,8,11,.82); color: var(--gold-bright); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.video-status--inactive { color: rgba(255,255,255,.75); }
.video-status span, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 5px rgba(215,53,46,.17); animation: pulse 2s ease-in-out infinite; }
.video-status--inactive span, .live-dot--inactive { background: var(--gold); box-shadow: 0 0 0 5px rgba(217,164,65,.15); animation: none; }
.video-empty { min-height: 100%; display: grid; place-items: center; align-content: center; gap: 20px; padding: 45px 25px; color: rgba(255,255,255,.78); text-align: center; }
.video-empty strong { max-width: 320px; font-family: "Cinzel", Georgia, serif; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }
.video-empty .button { min-height: 43px; }
.live-aside { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.16); }
.live-aside-top { display: flex; align-items: center; gap: 9px; color: var(--gold-bright); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.live-aside h3 { margin: auto 0 20px; font-family: "Cinzel", Georgia, serif; font-size: clamp(25px, 2.4vw, 35px); line-height: 1.1; }
.live-aside h3 em { color: var(--gold-bright); font-style: normal; }
.live-aside p { margin: 0 0 25px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; }
.live-note { margin-top: auto; padding-top: 22px; color: rgba(255,255,255,.43); font-size: 11px; line-height: 1.55; }

.guides-section { background: #eee9df; }
.guide-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; margin-top: 65px; }
.guide-card { overflow: hidden; background: #fff; border: 1px solid rgba(16,29,50,.14); transition: transform .35s ease, box-shadow .35s ease; }
.guide-card:hover { box-shadow: 0 24px 50px rgba(16,29,50,.14); transform: translateY(-8px); }
.guide-art { min-height: 245px; background-image: linear-gradient(180deg, rgba(9,19,37,.04), rgba(9,19,37,.8)), var(--guide-image); background-position: center; background-size: cover; }
.guide-body { position: relative; min-height: 235px; padding: 25px 30px 70px; }
.guide-tag { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .19em; }
.guide-body h3 { margin: 15px 0 9px; color: var(--ink); font-family: "Cinzel", Georgia, serif; font-size: 27px; }
.guide-body p { max-width: 480px; margin: 0; color: rgba(16,29,50,.67); font-size: 14px; line-height: 1.65; }
.guide-note { display: flex; align-items: center; gap: 15px; margin-top: 25px; padding: 20px 23px; border: 1px solid rgba(16,29,50,.12); color: rgba(16,29,50,.64); }
.guide-note span { color: var(--gold); font-size: 20px; }
.guide-note p { margin: 0; font-size: 13px; }

.contact-section { background: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1fr .82fr; align-items: center; gap: clamp(45px, 10vw, 140px); }
.contact-copy h2 { color: #fff; }
.contact-copy .section-lede { color: rgba(255,255,255,.62); }
.contact-links { margin-top: 42px; border-top: 1px solid var(--line); }
.contact-links a { position: relative; display: grid; gap: 5px; padding: 18px 36px 18px 0; border-bottom: 1px solid var(--line); }
.contact-links span { color: var(--gold-bright); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.contact-links strong { max-width: 390px; color: rgba(255,255,255,.88); font-size: 17px; font-weight: 600; }
.contact-links i { position: absolute; right: 0; bottom: 20px; color: var(--gold-bright); font-size: 21px; font-style: normal; transition: transform .25s ease; }
.contact-links a:hover i { transform: translate(4px,-4px); }
.contact-card { position: relative; padding: 42px; background: linear-gradient(150deg, var(--navy-soft), #0a1324); border: 1px solid rgba(245,207,114,.34); }
.contact-card::after { position: absolute; right: 0; bottom: 0; width: 150px; height: 150px; content: ""; border-top: 1px solid rgba(245,207,114,.35); border-left: 1px solid rgba(245,207,114,.35); opacity: .5; }
.contact-card-mark { width: 95px; height: 108px; margin-bottom: 35px; }
.contact-card-mark img { width: 100%; height: 100%; object-fit: contain; }
.contact-card p { max-width: 400px; margin: 0 0 29px; color: rgba(255,255,255,.72); font-family: "Cinzel", Georgia, serif; font-size: 22px; line-height: 1.45; }
.site-footer { padding: 34px 0; background: #030405; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 48px; object-fit: contain; }
.footer-brand span { font-family: "Cinzel", Georgia, serif; font-size: 11px; letter-spacing: .1em; }
.footer-brand small { color: var(--gold-bright); font-family: Inter, sans-serif; font-size: 8px; letter-spacing: .1em; }
.footer-grid > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.footer-meta { display: grid; justify-items: end; gap: 8px; color: var(--muted); font-size: 10px; }
.footer-meta a { color: var(--gold-bright); }
.mobile-backdrop { display: none; }

.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
html.js .reveal--late { transition-delay: .13s; }
html.js .reveal--later { transition-delay: .24s; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes crest-breathe { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-1deg); } }
@keyframes pulse { 0%, 100% { opacity: .62; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-13px) rotate(3deg); } }
@keyframes scroll-line { 0% { opacity: 0; transform: scaleY(.4); transform-origin: top; } 45% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: top; } }

@media (max-width: 920px) {
  :root { --shell: min(100% - 36px, 720px); }
  .header-shell { min-height: 76px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 2; display: grid; align-content: center; width: min(330px, 84vw); padding: 90px 34px 34px; background: #090c12; box-shadow: -20px 0 70px rgba(0,0,0,.28); transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
  .main-nav.is-open { transform: none; }
  .main-nav > a:not(.nav-cta) { padding: 15px 0; font-size: 13px; }
  .nav-cta { margin-top: 15px; text-align: center; }
  .mobile-backdrop { position: fixed; inset: 0; z-index: 40; display: block; background: rgba(0,0,0,.65); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  body.menu-open .mobile-backdrop { opacity: 1; pointer-events: auto; }
  .hero { padding-top: 125px; }
  .hero-grid, .section-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .hero-visual { min-height: 520px; max-width: 510px; width: 100%; margin-inline: auto; }
  .hero-card { width: min(75vw, 350px); }
  .visual-orbit--outer { width: 470px; height: 650px; }
  .visual-orbit--inner { width: 355px; height: 530px; }
  .cycle-art { max-width: 360px; }
  .registration { grid-template-columns: 1fr; gap: 32px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; }
  .live-grid, .guide-grid { grid-template-columns: 1fr; }
  .live-aside { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-meta { justify-items: start; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 30px); }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 7px; }
  .brand-mark { width: 48px; height: 56px; }
  .hero { min-height: auto; padding: 125px 0 82px; }
  .hero h1, .section-heading h2, .cycle-content h2, .contact-copy h2 { font-size: clamp(36px, 12vw, 56px); }
  .hero-lede, .section-lede { font-size: 15px; }
  .hero-actions, .cycle-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-signals { gap: 12px; margin-top: 35px; font-size: 8px; }
  .hero-visual { min-height: 445px; }
  .hero-card { width: min(75vw, 300px); }
  .visual-orbit--outer { width: 340px; height: 470px; }
  .visual-orbit--inner { width: 275px; height: 400px; }
  .floating-seal { width: 61px; height: 61px; font-size: 9px; }
  .floating-seal--bottom { left: 1%; bottom: 6%; width: 75px; height: 75px; font-size: 7px; }
  .floating-seal--top { right: 0; top: 10%; }
  .scroll-cue { display: none; }
  .section { padding: 84px 0; }
  .manifesto-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .manifesto-card { min-height: 260px; }
  .event-facts { grid-template-columns: 1fr; }
  .cycle-art { width: calc(100% - 25px); margin-right: 25px; }
  .art-caption { right: -15px; }
  .registration { margin-top: 78px; padding-top: 55px; }
  .form-embed iframe { height: 680px; }
  .form-fallback { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .form-qr { width: 138px; }
  .form-fallback-actions { align-items: stretch; flex-direction: column; }
  .form-fallback-actions .button, .form-fallback-actions .text-link { width: 100%; }
  .video-status { right: 8px; bottom: 8px; font-size: 7px; }
  .live-aside { min-height: 310px; padding: 24px; }
  .guide-art { min-height: 190px; }
  .guide-body { min-height: 245px; padding: 23px 23px 70px; }
  .contact-card { padding: 28px; }
  .contact-card p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, html.js .reveal { opacity: 1; transform: none; }
}
