:root {
  --black: #050403;
  --black-2: #0b0806;
  --cream: #f1e7d2;
  --bone: #d8c5a3;
  --muted: rgba(241,231,210,.68);
  --muted-2: rgba(241,231,210,.48);
  --fire: #e8762f;
  --fire-2: #ffb45d;
  --green: #162722;
  --green-2: #0e1a17;
  --line: rgba(241,231,210,.16);
  --max: 1440px;
  --header: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 14%, rgba(232,118,47,.12), transparent 34rem),
    radial-gradient(circle at 14% 28%, rgba(22,39,34,.68), transparent 36rem),
    var(--black);
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  z-index: 100;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ember-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,180,93,.16) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 24%, rgba(255,180,93,.16) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 64%, rgba(255,180,93,.12) 0 1px, transparent 2px);
  background-size: 180px 220px, 260px 280px, 320px 260px;
  animation: embers 18s linear infinite;
  opacity: .45;
}

@keyframes embers {
  from { transform: translateY(0); }
  to { transform: translateY(-120px); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 56px);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

.site-header.scrolled {
  background: rgba(5,4,3,.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "UnifrakturCook", serif;
  font-size: 33px;
  letter-spacing: .03em;
  color: var(--cream);
}

.main-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 38px);
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.main-nav a {
  transition: color .25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--cream);
}

.lang-switch {
  justify-self: end;
  display: flex;
  gap: 12px;
}

.lang-switch button,
.menu-toggle,
.sound-toggle {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.lang-switch button {
  background: transparent;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 8px 0;
}

.lang-switch button.active {
  color: var(--cream);
  border-bottom: 1px solid var(--fire);
}

.menu-toggle {
  display: none;
  width: 36px;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 8px 0;
  background: var(--cream);
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(84px, 9vw, 150px) clamp(18px, 4vw, 56px);
  scroll-margin-top: var(--header);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-shadow {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("../assets/images/hero.jpg") center center / cover no-repeat;
  filter: saturate(.82) contrast(1.08) brightness(.68);
  transform: scale(1.04);
  animation: slow-push 18s ease-in-out infinite alternate;
}

@keyframes slow-push {
  from { transform: scale(1.04); }
  to { transform: scale(1.11); }
}

.hero-shadow {
  background:
    linear-gradient(90deg, rgba(5,4,3,.92) 0%, rgba(5,4,3,.62) 38%, rgba(5,4,3,.2) 70%),
    linear-gradient(0deg, rgba(5,4,3,.94) 0%, transparent 45%, rgba(5,4,3,.38) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(980px, calc(100% - 36px));
  padding: calc(var(--header) + 40px) clamp(18px, 5vw, 82px) 80px;
}

.overline {
  margin: 0 0 18px;
  color: var(--fire-2);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1,
.section h2,
.quote-inner p,
.contact-copy h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 0;
  font-family: "UnifrakturCook", serif;
  font-size: clamp(88px, 17vw, 230px);
  line-height: .78;
  letter-spacing: -.04em;
  text-shadow: 0 8px 50px rgba(0,0,0,.65);
}

.hero-subtitle {
  max-width: 780px;
  margin: 34px 0 0;
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(30px, 4.6vw, 74px);
  line-height: .98;
  font-weight: 600;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(5,4,3,.32);
  backdrop-filter: blur(8px);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(5,4,3,.42);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255,180,93,.75);
}

.button.primary {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}

.button.ghost {
  background: rgba(5,4,3,.3);
}

.scroll-mark {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 4vw, 56px);
  bottom: 42px;
  writing-mode: vertical-rl;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  font-weight: 900;
}

.scroll-mark::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 44px;
  margin-top: 12px;
  background: var(--fire);
}

.section-intro {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(28px, 5vw, 70px);
  margin-bottom: clamp(42px, 6vw, 88px);
}

.section-intro.narrow {
  max-width: 980px;
  display: block;
}

.section h2,
.contact-copy h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(48px, 7vw, 112px);
  line-height: .88;
  letter-spacing: -.05em;
}

.section-intro p:not(.overline),
.visual-copy p,
.sound-content p,
.story-copy p {
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.75;
}

.teaser-section {
  border-top: 1px solid var(--line);
}

.teaser-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255,180,93,.25);
  background:
    linear-gradient(0deg, rgba(5,4,3,.62), rgba(5,4,3,.32)),
    url("../assets/images/poster-qr.jpg") center / cover no-repeat;
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
}

.teaser-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .0001;
}

.teaser-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  background:
    radial-gradient(circle at center, rgba(232,118,47,.18), transparent 32%),
    rgba(5,4,3,.58);
}

.teaser-placeholder span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  color: var(--cream);
  font-size: 32px;
  margin-bottom: 18px;
}

.teaser-placeholder p {
  margin: 0;
  max-width: 520px;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
}

.quote-section {
  position: relative;
  min-height: 74svh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 10vw, 160px) 18px;
  background:
    linear-gradient(rgba(5,4,3,.78), rgba(5,4,3,.92)),
    url("../assets/images/women-water.jpg") center / cover fixed;
}

.quote-inner {
  max-width: 1120px;
  text-align: center;
}

.quote-inner p {
  margin: 0;
  color: var(--cream);
  font-size: clamp(44px, 7vw, 112px);
  line-height: .95;
  letter-spacing: -.04em;
}

.story-section {
  border-top: 1px solid var(--line);
}

.story-grid,
.visual-section,
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.story-image,
.contact-image {
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.story-image img,
.contact-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04);
}

.story-copy h2 {
  margin: 0 0 34px;
}

.world-section {
  border-top: 1px solid var(--line);
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.symbol-card {
  background: var(--black-2);
  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.symbol-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}

.symbol-card div {
  padding: 28px;
}

.symbol-card h3,
.force-card h3,
.credits-grid h3 {
  margin: 0;
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  line-height: .95;
}

.symbol-card p,
.force-card p,
.info-card span,
.credits-grid p,
.contact-block span {
  color: var(--muted);
  line-height: 1.65;
}

.forces-section,
.development-section,
.materials-section {
  border-top: 1px solid var(--line);
}

.forces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.force-card {
  min-height: 360px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent),
    rgba(5,4,3,.25);
}

.force-card span {
  color: var(--fire);
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 12px;
}

.force-card h3 {
  margin-top: 110px;
}

.visual-section {
  align-items: start;
  border-top: 1px solid var(--line);
}

.visual-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.visual-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: saturate(.86) contrast(1.05);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.info-card {
  padding: 28px;
  min-height: 170px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 900;
}

.info-card strong {
  display: block;
  margin-top: 34px;
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: 1;
}

.credits-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.credits-grid div {
  background: var(--black-2);
  padding: 30px;
}

.sound-section {
  max-width: none;
  min-height: 78svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.sound-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,4,3,.9), rgba(5,4,3,.52)),
    url("../assets/images/hero.jpg") center / cover fixed;
  filter: saturate(.72) brightness(.75);
}

.sound-content {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 36px));
}

.sound-content h2 {
  max-width: 920px;
}

.sound-content p {
  max-width: 680px;
}

.sound-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

audio {
  width: min(420px, 100%);
  filter: sepia(1) saturate(.55) brightness(.82);
}

.materials-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(232,118,47,.12), transparent 280px),
    rgba(255,255,255,.03);
}

.download-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.download-list a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}

.download-list a::after {
  content: " ↗";
  color: var(--fire);
}

.contact-section {
  border-top: 1px solid var(--line);
}

.contact-copy h2 {
  margin-bottom: 46px;
}

.contact-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.contact-block span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 900;
}

.contact-block strong,
.contact-block a {
  display: block;
}

.contact-block strong {
  margin-top: 12px;
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
}

.contact-block a {
  margin-top: 6px;
  color: var(--fire-2);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 28px;
    background: rgba(5,4,3,.96);
    backdrop-filter: blur(18px);
    font-size: 20px;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .section-intro,
  .story-grid,
  .visual-section,
  .contact-section,
  .materials-card {
    grid-template-columns: 1fr;
  }

  .symbol-grid,
  .forces-grid,
  .info-grid,
  .credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-image,
  .contact-image {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 70px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand {
    font-size: 28px;
  }

  .lang-switch {
    gap: 8px;
  }

  .hero {
    min-height: 94svh;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-content {
    width: 100%;
    padding: calc(var(--header) + 50px) 18px 70px;
  }

  .hero h1 {
    font-size: clamp(86px, 29vw, 130px);
  }

  .hero-subtitle {
    font-size: clamp(32px, 11vw, 54px);
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 18px;
  }

  .section h2,
  .contact-copy h2,
  .quote-inner p {
    font-size: clamp(44px, 13vw, 70px);
  }

  .teaser-frame {
    min-height: 260px;
  }

  .quote-section {
    background-attachment: scroll;
  }

  .symbol-grid,
  .forces-grid,
  .info-grid,
  .credits-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .symbol-card {
    min-height: auto;
  }

  .symbol-card img,
  .gallery img {
    height: 340px;
  }

  .force-card {
    min-height: 260px;
  }

  .force-card h3 {
    margin-top: 60px;
  }

  .story-image,
  .contact-image {
    min-height: 420px;
  }

  .sound-bg {
    background-attachment: scroll;
  }

  .footer {
    flex-direction: column;
  }
}


/* ==========================================================
   IZAÑAK V2 — EXPERIENCIA INMERSIVA
   Niebla, brasas, parallax, flicker, intro y cursor de luz.
   ========================================================== */

.intro-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #020201;
  overflow: hidden;
  pointer-events: none;
  animation: introFade 2.9s ease forwards;
}

.intro-title {
  position: relative;
  z-index: 2;
  color: var(--cream);
  font-family: "UnifrakturCook", serif;
  font-size: clamp(82px, 17vw, 220px);
  line-height: .8;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(24px) scale(.96);
  animation: introTitle 2.4s cubic-bezier(.2,.8,.2,1) forwards;
  text-shadow: 0 0 36px rgba(255,180,93,.26);
}

.intro-fog {
  position: absolute;
  inset: -25%;
  opacity: .38;
  background:
    radial-gradient(circle at 24% 50%, rgba(241,231,210,.16), transparent 30%),
    radial-gradient(circle at 80% 42%, rgba(41,71,63,.36), transparent 34%),
    radial-gradient(circle at 50% 78%, rgba(232,118,47,.08), transparent 28%);
  filter: blur(34px);
  animation: introFog 3s ease-in-out forwards;
}

@keyframes introTitle {
  0% { opacity: 0; filter: blur(16px); transform: translateY(28px) scale(.95); }
  36% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
  78% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
  100% { opacity: 0; filter: blur(12px); transform: translateY(-20px) scale(1.02); }
}

@keyframes introFade {
  0%, 72% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes introFog {
  from { transform: translate3d(-4%, 3%, 0) scale(1); }
  to { transform: translate3d(5%, -4%, 0) scale(1.15); }
}

.cursor-glow {
  position: fixed;
  z-index: 999;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  background:
    radial-gradient(circle, rgba(255,180,93,.38), rgba(255,180,93,.16) 28%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transition:
    opacity .25s ease,
    width .25s ease,
    height .25s ease,
    background .25s ease;
}

.cursor-glow.is-visible {
  opacity: .82;
}

.cursor-glow.is-hovering {
  width: 78px;
  height: 78px;
  background:
    radial-gradient(circle, rgba(255,180,93,.42), rgba(255,180,93,.14) 34%, transparent 70%);
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 44%, rgba(0,0,0,.38) 78%, rgba(0,0,0,.72) 100%);
  opacity: .78;
}

.fog {
  position: fixed;
  inset: -25%;
  z-index: 2;
  pointer-events: none;
  opacity: .18;
  filter: blur(32px);
  mix-blend-mode: screen;
  will-change: transform;
}

.fog-one {
  background:
    radial-gradient(circle at 22% 44%, rgba(190,210,200,.24), transparent 26%),
    radial-gradient(circle at 72% 58%, rgba(180,210,205,.18), transparent 30%),
    radial-gradient(circle at 48% 82%, rgba(255,180,93,.08), transparent 20%);
  animation: fogDriftOne 46s linear infinite alternate;
}

.fog-two {
  opacity: .12;
  background:
    radial-gradient(circle at 64% 30%, rgba(241,231,210,.20), transparent 26%),
    radial-gradient(circle at 34% 66%, rgba(80,120,108,.22), transparent 32%);
  animation: fogDriftTwo 62s linear infinite alternate;
}

.fog-three {
  opacity: .10;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.20), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(232,118,47,.12), transparent 18%);
  animation: fogDriftThree 72s linear infinite alternate;
}

@keyframes fogDriftOne {
  from { transform: translate3d(-6%, 1%, 0) rotate(.001deg) scale(1); }
  to { transform: translate3d(7%, -4%, 0) rotate(.001deg) scale(1.1); }
}

@keyframes fogDriftTwo {
  from { transform: translate3d(6%, -3%, 0) rotate(.001deg) scale(1.08); }
  to { transform: translate3d(-8%, 5%, 0) rotate(.001deg) scale(1); }
}

@keyframes fogDriftThree {
  from { transform: translate3d(-2%, 7%, 0) rotate(.001deg) scale(1); }
  to { transform: translate3d(5%, -7%, 0) rotate(.001deg) scale(1.13); }
}

.torch-glow {
  position: fixed;
  inset: auto 0 0 auto;
  width: min(52vw, 720px);
  height: min(52vw, 720px);
  z-index: 3;
  pointer-events: none;
  opacity: .35;
  background: radial-gradient(circle, rgba(232,118,47,.28), rgba(232,118,47,.08) 36%, transparent 70%);
  transform: translate(28%, 30%);
  animation: torchFlicker 3.2s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes torchFlicker {
  0%, 100% { opacity: .24; filter: blur(10px); transform: translate(28%, 30%) scale(1); }
  18% { opacity: .42; filter: blur(14px); transform: translate(27%, 31%) scale(1.06); }
  32% { opacity: .30; filter: blur(9px); transform: translate(29%, 29%) scale(.98); }
  52% { opacity: .48; filter: blur(15px); transform: translate(27%, 30%) scale(1.08); }
  76% { opacity: .28; filter: blur(11px); transform: translate(30%, 32%) scale(1.01); }
}

.ember-layer {
  animation: embers 18s linear infinite, emberPulse 4.8s ease-in-out infinite;
}

@keyframes emberPulse {
  0%, 100% { opacity: .32; }
  50% { opacity: .56; }
}

.hero-bg,
.sound-bg {
  will-change: transform;
}

.immersive-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 58%, rgba(232,118,47,.22), transparent 16%),
    radial-gradient(circle at 44% 30%, rgba(40,68,62,.20), transparent 26%);
  animation: heroBreath 7.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes heroBreath {
  0%, 100% { opacity: .48; transform: scale(1); }
  50% { opacity: .78; transform: scale(1.025); }
}

.ambient-note {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.reveal {
  filter: blur(10px);
  transform: translateY(38px) scale(.985);
  transition:
    opacity .95s ease,
    transform .95s cubic-bezier(.2,.8,.2,1),
    filter .95s ease;
}

.reveal.is-visible {
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.symbol-card,
.force-card,
.info-card,
.gallery img,
.contact-image,
.story-image,
.teaser-frame,
.materials-card {
  transition:
    transform .55s cubic-bezier(.2,.8,.2,1),
    border-color .55s ease,
    box-shadow .55s ease,
    filter .55s ease;
}

.symbol-card:hover,
.force-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,180,93,.34);
  box-shadow: 0 26px 80px rgba(0,0,0,.24);
}

.symbol-card:hover img,
.gallery img:hover,
.story-image:hover img,
.contact-image:hover img {
  filter: saturate(1.02) contrast(1.1) brightness(1.03);
}

.gallery img:hover {
  transform: scale(1.035);
  z-index: 2;
}

.gallery {
  overflow: hidden;
}

.gallery img {
  transition:
    transform .65s cubic-bezier(.2,.8,.2,1),
    filter .65s ease;
}

.teaser-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255,180,93,.38);
  box-shadow:
    inset 0 0 80px rgba(0,0,0,.8),
    inset 0 0 160px rgba(232,118,47,.08);
  animation: framePulse 5.6s ease-in-out infinite;
}

@keyframes framePulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.button,
.main-nav a,
.lang-switch button,
.download-list a,
.contact-block a {
  position: relative;
}

.button::after,
.download-list a::before,
.contact-block a::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s ease;
  opacity: .5;
}

.button:hover::after,
.download-list a:hover::before,
.contact-block a:hover::before {
  transform: scaleX(1);
}

.download-list a::before,
.contact-block a::before {
  left: 0;
  right: 0;
  bottom: 8px;
}

.contact-block a::before {
  bottom: -4px;
}

@media (max-width: 1080px) {
  .cursor-glow {
    display: none;
  }

  .fog {
    opacity: .10;
  }

  .torch-glow {
    opacity: .22;
  }
}

@media (max-width: 720px) {
  .intro-title {
    font-size: clamp(76px, 27vw, 120px);
  }

  .fog-two,
  .fog-three {
    display: none;
  }

  .fog-one {
    opacity: .10;
    filter: blur(24px);
  }

  .torch-glow {
    width: 90vw;
    height: 90vw;
    opacity: .20;
  }

  .immersive-hero::after {
    opacity: .28;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .intro-veil {
    display: none;
  }

  .fog,
  .ember-layer,
  .torch-glow,
  .cursor-glow {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Logo Izañak superior izquierdo — definitivo */
.site-header {
  grid-template-columns: auto 1fr auto;
}

.site-header .brand-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: 46px;
  padding: 0;
}

.site-header .brand-logo img {
  display: block;
  width: 96px;
  max-width: 96px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.62));
}

@media (max-width: 720px) {
  .site-header .brand-logo,
  .site-header .brand-logo img {
    width: 78px;
    min-width: 78px;
    max-width: 78px;
  }

  .site-header .brand-logo {
    height: 38px;
  }

  .site-header .brand-logo img {
    max-height: 34px;
  }
}
