/* Collectible Iteam Figer — White + Inferno theme
   Scarlet Fire header · Flame Orange footer */

:root {
  --scarlet: #D91E18;
  --scarlet-deep: #A3120D;
  --flame: #F2621F;
  --flame-soft: #FF9A2E;
  --ember: #FFD166;
  --inferno: #1E0904;
  --inferno-2: #3A1208;
  --char: #4A2E26;
  --ash: #FBF6F3;
  --ash-2: #F3E9E3;
  --line: #EBDDD5;
  --white: #FFFFFF;
  --text: #24120C;
  --muted: #6E564C;

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(30, 9, 4, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--scarlet-deep); text-underline-offset: 3px; }
a:hover { color: var(--flame); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; color: var(--inferno); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--inferno); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.tag {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--scarlet);
}
.tag::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 650; text-decoration: none;
  border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-fire { background: linear-gradient(120deg, var(--scarlet), var(--flame)); color: var(--white); box-shadow: 0 12px 30px -14px rgba(217, 30, 24, .8); }
.btn-fire:hover { color: var(--white); }
.btn-line { border-color: var(--inferno); color: var(--inferno); background: transparent; }
.btn-line:hover { background: var(--inferno); color: var(--white); }
.btn-light { background: var(--white); color: var(--inferno); }
.btn-light:hover { color: var(--scarlet); }

/* ---------- Header (Scarlet Fire) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--scarlet);
  background-image: linear-gradient(100deg, var(--scarlet-deep) 0%, var(--scarlet) 45%, #E8361A 100%);
  color: var(--white);
  box-shadow: 0 6px 24px -12px rgba(30, 9, 4, .6);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--flame-soft), var(--flame), var(--ember));
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--white); }
.brand .crest { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,.35); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; white-space: nowrap; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: flex; align-items: baseline; gap: 6px;
  padding: 9px 13px; border-radius: 10px; color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .93rem; white-space: nowrap; transition: background .2s ease;
}
.main-nav a span { font-family: var(--mono); font-size: .66rem; opacity: .7; }
.main-nav a:hover { background: rgba(255, 255, 255, .14); color: var(--white); }
.main-nav a[aria-current="page"] { background: var(--white); color: var(--scarlet-deep); }
.main-nav a[aria-current="page"] span { opacity: 1; color: var(--flame); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 12px; padding: 9px 14px; font: 600 .9rem var(--sans); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle-bars i:nth-child(1) { top: 0; }
.nav-toggle-bars i:nth-child(2) { top: 6px; }
.nav-toggle-bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1360px) and (min-width: 1181px) {
  .brand-sub { display: none; }
  .main-nav a { padding: 9px 10px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--inferno); border-top: 3px solid var(--flame);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility 0s linear .35s;
  }
  .main-nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; transition: max-height .35s ease; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px var(--gutter) 18px; }
  .main-nav a { padding: 15px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { background: transparent; color: var(--ember); }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 1.02rem; }
  .brand .crest { width: 40px; height: 40px; }
  .nav-toggle-label { display: none; }
}

/* ---------- Home hero ---------- */
.vault-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 92% 10%, rgba(242, 98, 31, .16), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(217, 30, 24, .10), transparent 70%),
    var(--white);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px);
}
.vault-hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.vault-hero h1 em { font-style: italic; color: var(--scarlet); }
.vault-hero h1 .flame-word {
  background: linear-gradient(100deg, var(--scarlet), var(--flame) 60%, var(--flame-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 16px 14px 0 0; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--inferno); }
.hero-facts span { font-size: .88rem; color: var(--muted); }

.case-stack { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.case-stack figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ash-2); }
.case-stack img { width: 100%; height: 100%; object-fit: cover; }
.case-stack .c-tall { grid-row: span 2; aspect-ratio: 2 / 3; }
.case-stack .c-wide, .case-stack .c-sq { min-height: 0; }
.case-stack .c-wide img, .case-stack .c-sq img { position: absolute; inset: 0; }
.case-stack figcaption {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  background: rgba(255, 255, 255, .93); color: var(--inferno);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px; border-left: 3px solid var(--flame);
}
.case-badge {
  position: absolute; top: -18px; right: -6px; z-index: 2;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--inferno); color: var(--ember);
  display: grid; place-items: center; text-align: center;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  border: 3px solid var(--white); box-shadow: var(--shadow);
}
.case-badge b { display: block; font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; color: var(--white); }

/* ---------- Ribbon marquee ---------- */
.ember-ribbon { background: var(--inferno); color: var(--white); overflow: hidden; border-top: 3px solid var(--flame); border-bottom: 3px solid var(--flame); }
.ember-track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ember-track ul { list-style: none; display: flex; margin: 0; padding: 14px 0; }
.ember-track li { padding: 0 26px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; white-space: nowrap; display: flex; align-items: center; gap: 26px; }
.ember-track li::after { content: "✦"; font-style: normal; color: var(--flame); font-size: .9rem; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- Generic sections ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-ash { background: var(--ash); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 54px); }
.section-head p { color: var(--muted); margin: 0; }
.section-head.single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* Intro split */
.intro-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.intro-photo { position: relative; }
.intro-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.intro-photo .ember-frame { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--flame); border-radius: var(--radius); z-index: -1; }
.intro-photo { isolation: isolate; margin-right: 18px; }
.principles { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: p; display: grid; gap: 0; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.principles li::before { content: "0" counter(p); font-family: var(--mono); color: var(--flame); font-size: .9rem; padding-top: 4px; }
.principles h3 { margin-bottom: .25em; }
.principles p { margin: 0; color: var(--muted); }

/* Turntable video */
.turntable { background: radial-gradient(80% 90% at 80% 0%, #4A160A 0%, var(--inferno) 60%); color: #F6E7DF; }
.turntable h2, .turntable h3 { color: var(--white); }
.turntable .tag { color: var(--flame-soft); }
.turntable-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.video-case { position: relative; padding: 14px; }
.video-case::before, .video-case::after { content: ""; position: absolute; width: 46px; height: 46px; border: 3px solid var(--flame); }
.video-case::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.video-case::after { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.video-case video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; }
.video-toggle {
  position: absolute; right: 28px; bottom: 28px;
  background: rgba(30, 9, 4, .8); color: var(--white); border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 8px 14px; font: 600 .82rem var(--sans); cursor: pointer;
}
.video-toggle:hover { background: var(--scarlet); }
.turntable-notes { list-style: none; padding: 0; margin: 22px 0 0; }
.turntable-notes li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .96rem; }
.turntable-notes b { color: var(--ember); font-weight: 600; }

/* Specimen tag cards */
.tag-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tag-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease;
}
.tag-card:nth-child(4), .tag-card:nth-child(5) { grid-column: span 3; }
.tag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.tag-card .tc-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ash-2); }
.tag-card:nth-child(4) .tc-media, .tag-card:nth-child(5) .tc-media { aspect-ratio: 16 / 9; }
.tag-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tag-card:hover img { transform: scale(1.04); }
.tc-body { padding: 18px 20px 22px; position: relative; flex: 1; display: flex; flex-direction: column; }
.tc-hole {
  position: absolute; top: -15px; right: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--white); border: 2px dashed var(--flame);
}
.tc-code { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--flame); text-transform: uppercase; }
.tc-body h3 { margin: 6px 0 6px; }
.tc-body p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.tc-link { margin-top: auto; font-weight: 650; color: var(--scarlet); font-size: .92rem; }

/* Spotlight rows */
.spotlights { display: grid; gap: clamp(48px, 7vw, 90px); }
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.spotlight.flip .sp-media { order: 2; }
.sp-media { position: relative; }
.sp-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.sp-media.portrait img { aspect-ratio: 4 / 5; }
.sp-media.landscape img { aspect-ratio: 3 / 2; }
.sp-num {
  position: absolute; top: -22px; left: -10px; font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--flame); pointer-events: none;
}
.spotlight.flip .sp-num { left: auto; right: -6px; }
.sp-text .tag { margin-bottom: 12px; }
.sp-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.sp-points li { position: relative; padding-left: 26px; color: var(--muted); }
.sp-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, var(--scarlet), var(--flame)); transform: rotate(45deg); }

/* Story timeline */
.story-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.story-step { counter-increment: s; position: relative; }
.story-step figure { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ash-2); }
.story-step img { width: 100%; height: 100%; object-fit: cover; }
.story-step .step-label { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.story-step .step-label::before {
  content: counter(s); width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--scarlet); color: var(--white); font-family: var(--mono); font-size: .85rem;
}
.story-step .step-label::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--flame), transparent); }
.story-step p { color: var(--muted); font-size: .97rem; }

/* CTA band */
.blaze-band { background: linear-gradient(115deg, var(--scarlet-deep), var(--scarlet) 45%, var(--flame)); color: var(--white); border-radius: 28px; padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; position: relative; overflow: hidden; }
.blaze-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 30px solid rgba(255, 209, 102, .18); }
.blaze-band h2 { color: var(--white); margin-bottom: .3em; }
.blaze-band p { margin: 0; opacity: .92; max-width: 58ch; }
.blaze-band .btn { position: relative; z-index: 1; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--ash); border-bottom: 1px solid var(--line); padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 98, 31, .22), transparent 70%); }
.page-hero .wrap { position: relative; }
.crumbs { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--scarlet); }
.page-hero h1 { max-width: 18ch; }
.page-hero .meta-line { font-family: var(--mono); font-size: .8rem; color: var(--char); margin-top: 18px; }

/* Collection page */
.coll-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 60px); align-items: end; }
.coll-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--inferno); }
.coll-index a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 10px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--inferno); font-weight: 600; }
.coll-index a span:first-child { font-family: var(--mono); font-size: .76rem; color: var(--flame); }
.coll-index a:hover { color: var(--scarlet); background: rgba(255,255,255,.6); }
.coll-index a::after { content: "↓"; color: var(--flame); }

.category { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.category:nth-of-type(even) { background: var(--ash); }
.cat-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cat-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; color: var(--flame); text-transform: uppercase; margin-bottom: 10px; display: block; }
.cat-copy .lede { margin-bottom: 1.2em; }
.look-for { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--flame); border-radius: 12px; padding: 18px 20px; margin-top: 22px; }
.look-for h3 { font-size: 1.05rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--scarlet-deep); }
.look-for ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.look-for li { margin-bottom: 6px; }
.cat-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cat-media figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ash-2); position: relative; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-media .m-portrait { aspect-ratio: 2 / 3; }
.cat-media .m-land { aspect-ratio: 3 / 2; grid-column: span 2; }
.cat-media figcaption { padding: 10px 12px; font-size: .84rem; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); }
.cat-media .m-portrait figcaption, .cat-media .m-land figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.94); }
.cat-media.single { grid-template-columns: minmax(0, 1fr); }
.cat-video { position: relative; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.cat-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cat-video .video-toggle { right: 14px; bottom: 14px; }

/* Gallery */
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery button {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--ash-2);
  border-radius: 14px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative;
}
.gallery button img { width: 100%; height: auto; transition: transform .4s ease, filter .4s ease; }
.gallery button:hover img { transform: scale(1.03); filter: saturate(1.1); }
.gallery button span {
  position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); text-align: left;
  background: rgba(30, 9, 4, .78); color: var(--white); font-size: .75rem; padding: 4px 9px; border-radius: 6px;
  opacity: 0; transition: opacity .25s ease;
}
.gallery button:hover span, .gallery button:focus-visible span { opacity: 1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(30, 9, 4, .9); }
.lightbox-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 12px; }
.lightbox p { color: var(--white); margin: 12px 0 0; text-align: center; font-size: .95rem; padding: 0 8px; }
.lightbox-close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--scarlet); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }

.care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.care-card { background: var(--white); border-radius: 16px; padding: 24px 22px; border: 1px solid var(--line); border-top: 4px solid var(--scarlet); }
.care-card:nth-child(even) { border-top-color: var(--flame); }
.care-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Legal: Privacy Center (sidebar TOC) ---------- */
.privacy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.toc { position: sticky; top: 100px; background: var(--ash); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 12px; }
.toc h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--scarlet); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--inferno); text-decoration: none; }
.toc a:hover { color: var(--scarlet); text-decoration: underline; }
.prose { max-width: 74ch; }
.prose section { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { font-size: 1.12rem; font-family: var(--sans); font-weight: 700; margin-top: 1.2em; }
.prose li { margin-bottom: 6px; }
.callout { background: linear-gradient(120deg, rgba(217, 30, 24, .07), rgba(242, 98, 31, .09)); border-radius: 14px; padding: 18px 20px; border-left: 4px solid var(--scarlet); margin: 0 0 1em; }
.callout p:last-child { margin: 0; }

/* ---------- Legal: Visitor Rules (rule cards) ---------- */
.rules-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; margin-bottom: 40px; }
.rule-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: rule; }
.rule { counter-increment: rule; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 22px; position: relative; overflow: hidden; }
.rule::before {
  content: "Rule " counter(rule, decimal-leading-zero); display: inline-block; margin-bottom: 12px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); background: var(--inferno); padding: 4px 10px; border-radius: 6px;
}
.rule::after { content: ""; position: absolute; right: -40px; top: -40px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, rgba(242,98,31,.18), transparent 70%); }
.rule.wide { grid-column: span 2; }
.rule p, .rule li { color: var(--muted); font-size: .97rem; }
.rule p:last-child { margin-bottom: 0; }
.rule ul { margin: 0 0 .6em; }

/* ---------- Legal: Cookie Notes (Q&A + table) ---------- */
.cookie-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.cookie-pill { border-radius: 16px; padding: 20px; background: var(--inferno); color: #F6E7DF; }
.cookie-pill:nth-child(2) { background: var(--scarlet); color: var(--white); }
.cookie-pill:nth-child(3) { background: var(--flame); color: var(--white); }
.cookie-pill strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin-bottom: 4px; }
.cookie-pill span { font-size: .93rem; }
.qa { border-top: 2px solid var(--inferno); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; color: var(--inferno);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--flame); transition: transform .2s ease; }
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa .qa-body { padding: 0 0 22px; max-width: 76ch; color: var(--text); }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; margin: 8px 0 16px; }
.cookie-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { background: var(--ash); font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--scarlet-deep); }
.cookie-table tr:last-child td { border-bottom: 0; }
.status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 650; }
.status.on { background: rgba(242, 98, 31, .15); color: #A84012; }
.status.off { background: var(--ash-2); color: var(--char); }
.browser-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 10px 0 0; }
.browser-list li { background: var(--ash); border-radius: 12px; padding: 14px 16px; font-size: .94rem; }
.browser-list b { display: block; color: var(--inferno); }

/* ---------- Connect Desk ---------- */
.desk-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.desk-cards { display: grid; gap: 16px; }
.desk-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.desk-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--scarlet), var(--flame)); color: var(--white); }
.desk-icon svg { width: 26px; height: 26px; }
.desk-card h2 { font-size: 1.3rem; margin-bottom: .3em; }
.desk-card p { margin: 0; color: var(--muted); }
.desk-card .big { font-size: clamp(1rem, 2.3vw, 1.2rem); font-weight: 650; color: var(--inferno); word-break: break-word; overflow-wrap: anywhere; }
.desk-card address { font-style: normal; font-size: 1.08rem; color: var(--inferno); font-weight: 600; line-height: 1.5; }
.desk-photo { position: relative; border-radius: 22px; overflow: hidden; min-height: 360px; background: var(--inferno); }
.desk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.desk-photo .desk-note { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 16px 18px; }
.desk-photo .desk-note p { margin: 0; font-size: .95rem; color: var(--text); }
.tips-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tips-list li { background: var(--white); border-radius: 16px; padding: 22px; border: 1px solid var(--line); }
.tips-list h3 { font-size: 1.1rem; }
.tips-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer (Flame Orange) ---------- */
.site-footer { background: var(--flame); background-image: linear-gradient(160deg, #F57A2A 0%, var(--flame) 45%, #DE4E14 100%); color: var(--white); margin-top: 0; position: relative; }
.site-footer::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--scarlet), var(--ember), var(--scarlet)); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--inferno); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding: clamp(44px, 6vw, 70px) 0 36px; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.foot-brand .crest { flex: none; width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.foot-brand strong { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.foot-top p { margin: 0; color: rgba(255,255,255,.93); max-width: 40ch; }
.foot-head { font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; color: var(--inferno); font-weight: 700; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.foot-contact { font-style: normal; display: grid; gap: 10px; }
.foot-contact a { font-weight: 650; overflow-wrap: anywhere; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.35); padding: 18px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .86rem; color: rgba(255,255,255,.92); }
.foot-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost-code { font-family: var(--serif); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; background: linear-gradient(120deg, var(--scarlet), var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .vault-hero-grid, .intro-split, .turntable-grid, .coll-hero-grid, .cat-grid, .desk-grid, .privacy-layout { grid-template-columns: minmax(0, 1fr); }
  .section-head, .rules-intro { grid-template-columns: minmax(0, 1fr); }
  .intro-photo { max-width: 460px; }
  .tag-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tag-card, .tag-card:nth-child(4), .tag-card:nth-child(5) { grid-column: span 1; }
  .tag-card:nth-child(5) { grid-column: span 2; }
  .tag-card:nth-child(4) .tc-media { aspect-ratio: 4 / 3; }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-top > div:first-child { grid-column: span 2; }
  .toc { position: static; }
  .tips-list { grid-template-columns: minmax(0, 1fr); }
  .desk-photo { min-height: 320px; }
}
@media (max-width: 720px) {
  .spotlight, .spotlight.flip { grid-template-columns: minmax(0, 1fr); }
  .spotlight.flip .sp-media { order: 0; }
  .story-rail { grid-template-columns: minmax(0, 1fr); }
  .story-step figure { aspect-ratio: 4 / 3; }
  .rule-list, .browser-list, .cookie-summary { grid-template-columns: minmax(0, 1fr); }
  .rule.wide { grid-column: span 1; }
  .blaze-band { grid-template-columns: minmax(0, 1fr); }
  .case-badge { width: 88px; height: 88px; top: -14px; right: 0; }
  .case-badge b { font-size: 1.25rem; }
  .hero-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-facts div:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .tag-cards, .care-grid { grid-template-columns: minmax(0, 1fr); }
  .tag-card:nth-child(5) { grid-column: span 1; }
  .cat-media { grid-template-columns: minmax(0, 1fr); }
  .cat-media .m-land { grid-column: span 1; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-top > div:first-child { grid-column: span 1; }
  .case-stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .case-stack figcaption { font-size: .58rem; padding: 4px 7px; left: 6px; bottom: 6px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }
  .desk-card { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

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