/* ============================================================
   Red Gremy — web
   Ambient: capvespre vermell, or de logo, llum de llanterna.
   ============================================================ */
:root {
  --ink: #0c0610;
  --plum: #1a0f1f;
  --plum-2: #26142a;
  --crimson: #b3261e;
  --ember: #ff8a3d;
  --gold: #f2c35b;
  --gold-d: #b9852a;
  --parch: #f3e6c9;
  --muted: #c4ad92;
  --line: rgba(242, 195, 91, .28);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--parch);
  font-family: var(--serif);
  font-size: clamp(1rem, .96rem + .2vw, 1.15rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: .85; }
main, .foot, .top { position: relative; z-index: 1; }
.top { z-index: 50; }

.wrap { width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- tipografia ---------- */
.eyebrow {
  margin: 0 0 .6rem;
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.display {
  margin: 0; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.08; font-weight: 700;
  background: linear-gradient(180deg, #ffe7a6 0%, #eab04a 52%, #b8561f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(30, 6, 4, .9)) drop-shadow(0 6px 18px rgba(255, 110, 40, .25));
}
.lead { max-width: 40rem; color: var(--parch); opacity: .92; font-size: 1.08em; }
.orn { width: 200px; height: 20px; color: var(--gold-d); margin: 1rem 0; }
.sec-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head .orn, .news-inner .orn { margin-inline: auto; }
.sec-head .lead, .news-inner .lead { margin-inline: auto; }
.news-inner { text-align: center; }

/* ---------- botons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 3px; text-decoration: none; cursor: pointer;
  font-family: inherit; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  border: 1.5px solid var(--gold-d); color: var(--parch); background: transparent;
  transition: transform .2s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(255, 120, 40, .28); border-color: var(--gold); color: #fff; }
.btn-primary {
  color: #2b0b05; border-color: #ffd98a;
  background: linear-gradient(180deg, #ffd978 0%, #e0952f 55%, #c4561b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 20px rgba(0, 0, 0, .35);
}
.btn-primary:hover { color: #2b0b05; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 32px rgba(255, 140, 50, .5); }
.btn.is-disabled { opacity: .55; pointer-events: none; border-style: dashed; }
.actions[hidden], [hidden] { display: none !important; }

/* ---------- capçalera ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; height: 64px; display: flex; align-items: center; gap: 1.5rem;
  padding-inline: var(--gutter);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.top.scrolled { background: rgba(12, 6, 16, .82); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { margin-right: auto; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.top.scrolled .brand { opacity: 1; transform: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: .4rem 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--gold); border-color: var(--gold-d); }
.lang { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 4px; padding: 2px; background: rgba(12, 6, 16, .55); }
.lang button { font: inherit; font-size: .72rem; letter-spacing: .12em; color: var(--muted); background: transparent; border: 0; padding: .3rem .55rem; border-radius: 3px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); font-weight: 700; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: rgba(12, 6, 16, .55); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--gold); transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: start center; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -4% 0 -4%; z-index: -3;
  background: url("../img/hero.jpg") center 70% / cover no-repeat;
  transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(1.06);
  will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 70% at 50% 8%, rgba(12, 6, 16, .15), rgba(12, 6, 16, .6) 70%),
    linear-gradient(180deg, rgba(12, 6, 16, .55) 0%, rgba(12, 6, 16, 0) 28%, rgba(12, 6, 16, 0) 55%, var(--ink) 100%);
}
.hero-inner { padding: clamp(96px, 17svh, 170px) var(--gutter) 0; text-align: center; width: min(900px, 100%); }
.hero .eyebrow { text-shadow: 0 2px 8px #000; margin-bottom: 1.1rem; }
.hero .logo { margin: 0 auto; width: min(760px, 90vw); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .65)) drop-shadow(0 0 40px rgba(255, 110, 30, .25)); animation: logoIn 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero .logo img { width: 100%; height: auto; }
.hero .orn { margin-inline: auto; }
.tagline { font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); font-style: italic; color: #fff2d8; text-shadow: 0 2px 14px #000, 0 0 3px #000; margin: .4rem auto 0; max-width: 34rem; }
.hero .actions { justify-content: center; margin-top: 1.8rem; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 8px #000; }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes logoIn { from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(6px) drop-shadow(0 0 0 #000); } }

/* ---------- el món ---------- */
.world { position: relative; padding: clamp(5rem, 12vw, 9rem) 0; overflow: hidden; isolation: isolate; }
.world-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/intro_2_giants.jpg") 70% center / cover no-repeat;
}
.world::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 6, 16, .96) 0%, rgba(12, 6, 16, .82) 38%, rgba(12, 6, 16, .25) 80%, rgba(12, 6, 16, .45) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 80%, var(--ink) 100%);
}
.world .world-inner { width: min(640px, 100% - var(--gutter) * 2); margin-left: max(var(--gutter), calc((100% - 1160px) / 2)); margin-right: auto; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.4rem 0 0; }
.chips li { border: 1px solid var(--line); padding: .3rem .9rem; border-radius: 999px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); background: rgba(12, 6, 16, .5); }
.pull { margin: 2.4rem 0 0; padding-left: 1.4rem; border-left: 2px solid var(--crimson); }
.pull p { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); font-style: italic; line-height: 1.25; color: #ffe2b0; text-shadow: 0 0 30px rgba(255, 80, 30, .35); }
.pull cite { display: block; margin-top: .6rem; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-style: normal; }

/* ---------- els cinc ---------- */
.five { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--ink), var(--plum) 40%, var(--ink)); }
.cast { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(4, 1fr); }
.hero-card {
  grid-column: span 2; grid-row: span 2; position: relative;
  display: grid; grid-template-rows: 1fr auto; gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem);
  background: radial-gradient(90% 70% at 50% 0%, rgba(255, 120, 50, .22), transparent 70%), linear-gradient(180deg, var(--plum-2), #170c1a);
  border: 1.5px solid var(--gold-d); border-radius: 6px;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--line), 0 24px 60px rgba(0, 0, 0, .5);
}
.arc { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.2rem, 2vw, 1.2rem); min-height: 300px; }
.arc figure { margin: 0; text-align: center; flex: 0 1 auto; }
.arc img { height: clamp(230px, 28vw, 340px); width: auto; max-width: none; margin-inline: -18%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); }
.arc figure:last-child img { height: clamp(260px, 32vw, 380px); }
.arc figcaption { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: .4rem; }
.arrow { align-self: center; font-size: 1.8rem; color: var(--gold); text-shadow: 0 0 16px rgba(255, 150, 50, .6); }
.hc-text h3, .locked h3 { margin: .3rem 0 .1rem; font-size: 1.7rem; color: var(--gold); line-height: 1.1; }
.hc-text h3 { font-size: 2.3rem; }
.role { margin: 0 0 .6rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }
.hc-text p:last-child, .locked p:not(.role):not(.hint) { margin: 0; color: var(--parch); opacity: .9; font-size: .98em; }
.badge { display: inline-block; padding: .2rem .8rem; border-radius: 999px; background: var(--crimson); color: #fff4e0; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }

.locked {
  position: relative; padding: 1.4rem 1.2rem 1.5rem; text-align: center; border-radius: 6px;
  background: linear-gradient(180deg, rgba(38, 20, 42, .85), rgba(18, 9, 22, .92));
  border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s;
}
.locked:hover { transform: translateY(-4px); border-color: var(--gold-d); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 120, 40, .12); }
.rune {
  width: 104px; height: 104px; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 190, 90, .16), transparent 68%);
  border: 1.5px dashed var(--gold-d); position: relative;
  animation: spin 40s linear infinite;
}
.rune::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid var(--line); }
.glyph { font-size: 3rem; line-height: 1; color: var(--gold-d); animation: spin 40s linear infinite reverse; text-shadow: 0 0 18px rgba(242, 195, 91, .45); }
.glyph.ember { color: var(--ember); text-shadow: 0 0 22px rgba(255, 110, 30, .8); animation: spin 40s linear infinite reverse, flick 2.4s ease-in-out infinite; }
.glyph.violet { color: #b98cff; text-shadow: 0 0 20px rgba(170, 110, 255, .7); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flick { 0%, 100% { opacity: 1; } 45% { opacity: .75; } 60% { opacity: 1; } 80% { opacity: .85; } }
.hint { margin: .9rem 0 0; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: .8; }

/* ---------- racons del món ---------- */
.places { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 4rem); background: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; border: 1.5px solid var(--gold-d); box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--line), 0 18px 40px rgba(0, 0, 0, .5); aspect-ratio: 16 / 10; }
.gallery figure.big { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #ffe2b0; background: linear-gradient(transparent, rgba(12, 6, 16, .85)); }

/* ---------- membres del gremi ---------- */
.member { padding: 1.2rem 1.1rem 1.5rem; text-align: center; border-radius: 6px; background: linear-gradient(180deg, rgba(38, 20, 42, .85), rgba(18, 9, 22, .92)); border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.member:hover { transform: translateY(-4px); border-color: var(--gold-d); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 120, 40, .12); }
.member .portrait { height: 250px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; margin-bottom: .8rem; background: radial-gradient(60% 55% at 50% 60%, rgba(255, 150, 60, .2), transparent 70%); }
.member .portrait img { height: 250px; width: auto; max-width: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.member h3 { margin: .3rem 0 .1rem; font-size: 1.7rem; color: var(--gold); line-height: 1.1; }
.member p:not(.role) { margin: 0; color: var(--parch); opacity: .9; font-size: .96em; }

/* ---------- tres camins ---------- */
.paths { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; background: linear-gradient(180deg, var(--ink), #150a18 50%, var(--ink)); }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
.door { --mx: 50%; --my: 40%; display: flex; flex-direction: column; }
.arch {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate;
  border-radius: 999px 999px 8px 8px;
  border: 3px solid var(--gold-d);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 6px var(--line), 0 28px 60px rgba(0, 0, 0, .55), inset 0 0 60px rgba(0, 0, 0, .6);
  background: var(--plum);
}
.arch > img:not(.kid) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.9) brightness(.82); }
.arch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 260px at var(--mx) var(--my), rgba(255, 190, 90, .42), transparent 70%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; pointer-events: none; }
.door:hover .arch::after, .door:focus-within .arch::after { opacity: 1; }
.door:hover .arch > img:not(.kid) { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.door:nth-child(1) .arch > img { object-position: 52% 50%; }
.door:nth-child(2) .arch > img { object-position: 24% 50%; }
.door:nth-child(3) .arch > img { object-position: 45% 70%; }
.arch .kid { position: absolute; left: 50%; bottom: 3%; height: 46%; width: auto; max-width: none; translate: -50% 0; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); z-index: 1; transition: translate .6s; }
.door:hover .arch .kid { translate: -50% -6px; }

.books { position: absolute; inset: auto 0 14% 0; display: flex; justify-content: center; align-items: flex-end; gap: 10px; z-index: 1; }
.book { width: 21%; aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px; display: grid; place-items: center; color: #ffe7a6; font-size: clamp(1.1rem, 2vw, 1.8rem);
  border: 1px solid rgba(255, 220, 140, .55); box-shadow: 4px 8px 18px rgba(0, 0, 0, .6), inset 6px 0 8px rgba(0, 0, 0, .35), inset 0 0 0 4px rgba(0, 0, 0, .15);
  transition: transform .4s; }
.book b { text-shadow: 0 2px 0 rgba(0, 0, 0, .6), 0 0 14px rgba(255, 190, 80, .6); }
.b1 { background: linear-gradient(160deg, #b3261e, #5d0f0c); transform: rotate(-4deg); }
.b2 { background: linear-gradient(160deg, #6b2b86, #2b0f3a); height: 112%; aspect-ratio: auto; align-self: flex-end; }
.b3 { background: linear-gradient(160deg, #1f6f6a, #0b2f33); transform: rotate(4deg); }
.door:hover .b1 { transform: rotate(-8deg) translateY(-6px); }
.door:hover .b3 { transform: rotate(8deg) translateY(-6px); }
.cover-note { position: absolute; left: 0; right: 0; bottom: 5%; text-align: center; z-index: 1; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: #ffe2b0; text-shadow: 0 1px 6px #000; }
.play { position: absolute; left: 50%; top: 46%; width: 76px; height: 76px; translate: -50% -50%; z-index: 1; border-radius: 50%; border: 2px solid #ffe2b0; background: rgba(12, 6, 16, .55); backdrop-filter: blur(3px); transition: transform .3s, background .3s; }
.play::before { content: ""; position: absolute; left: 52%; top: 50%; translate: -50% -50%; border-left: 22px solid #ffe2b0; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.door:hover .play { transform: scale(1.1); background: rgba(179, 38, 30, .75); }

.door-body { padding: 1.6rem .3rem 0; text-align: center; display: flex; flex-direction: column; align-items: center; flex: 1; }
.tag { margin: 0; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); }
.door-body h3 { margin: .2rem 0 .5rem; font-size: 1.9rem; color: var(--gold); line-height: 1.1; }
.door-body p { margin: 0 0 .5rem; opacity: .92; }
.langs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin: .2rem 0 .6rem !important; }
.langs span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 3px; padding: .12rem .55rem; color: var(--muted); }
.status { font-size: .74rem !important; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: .2rem .9rem; border-radius: 999px; font-weight: 700; margin-top: .4rem !important; }
.door-body .actions { justify-content: center; margin-top: 1rem; }
.fine { font-size: .78rem; opacity: .7; max-width: 26rem; margin: 1rem auto 0; line-height: 1.5; }

/* ---------- crònica ---------- */
.news { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0; overflow: hidden; isolation: isolate; }
.news-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/intro_1_village.jpg") center 60% / cover no-repeat; }
.news::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink), rgba(12, 6, 16, .72) 30%, rgba(12, 6, 16, .8) 70%, var(--ink)); }
.signup { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 560px; margin: 1.8rem auto 0; }
.signup input { flex: 1 1 260px; padding: .9rem 1.1rem; font: inherit; color: var(--parch); background: rgba(12, 6, 16, .75); border: 1.5px solid var(--gold-d); border-radius: 3px; }
.signup input::placeholder { color: var(--muted); }
.form-msg { flex-basis: 100%; margin: .2rem 0 0; min-height: 1.4em; color: var(--gold); }
.soon-msg { margin: 1.4rem 0 0; font-style: italic; color: var(--muted); }
.news .actions { justify-content: center; }

/* ---------- peu ---------- */
.foot { text-align: center; padding: 3.5rem var(--gutter) 3rem; background: var(--ink); border-top: 1px solid var(--line); }
.foot img { margin: 0 auto 1rem; height: 30px; width: auto; opacity: .9; }
.foot p { margin: .2rem 0; color: var(--muted); font-size: .9rem; }

/* ---------- aparició en scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .doors { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 3rem; }
  .cast { grid-template-columns: repeat(2, 1fr); }
  .hero-card { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 820px) {
  .burger { display: flex; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(12, 6, 16, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: .6rem var(--gutter) 1rem; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid rgba(242, 195, 91, .1); }
  .top { gap: .8rem; }
  .top:has(.nav.open) { background: rgba(12, 6, 16, .96); }
  .world::after { background: linear-gradient(180deg, rgba(12, 6, 16, .9), rgba(12, 6, 16, .8) 60%, var(--ink)); }
  .world .world-inner { margin-left: var(--gutter); margin-right: var(--gutter); width: auto; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.big { aspect-ratio: 16 / 10; }
  .cast { grid-template-columns: 1fr; }
  .arc { min-height: 260px; }
  .hero .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  #embers { display: none; }
}
