:root {
  color-scheme: dark;
  --bg: #080a0b;
  --bg-2: #0c0f11;
  --panel: #101416;
  --ink: #f3efe6;
  --muted: #a4aaa6;
  --faint: #6d746f;
  --line: rgba(243, 239, 230, 0.12);
  --line-soft: rgba(243, 239, 230, 0.07);
  --gold: #d0a851;
  --gold-soft: rgba(208, 168, 81, 0.14);
  --gold-line: rgba(208, 168, 81, 0.42);
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --edge: clamp(1.25rem, 5vw, 5.5rem);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 0.98; letter-spacing: -0.025em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: #11120c;
  background: var(--gold);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }

/* Shared Sotudios navigation */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--edge);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.topbar.is-stuck {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom-color: var(--line-soft);
  background: rgba(9, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.wordmark img { width: 26px; height: 26px; }
.topnav { display: flex; align-items: center; gap: 2rem; }
.topnav a {
  position: relative;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.topnav a:hover { color: var(--ink); }
.topnav-button { padding: 0.6rem 0.95rem; border: 1px solid var(--line); border-radius: 2px; color: var(--ink) !important; }
.topnav-button:hover { border-color: rgba(243, 239, 230, 0.32); background: rgba(255, 255, 255, 0.04); }
.topnav-current { border-color: var(--gold-line); color: var(--gold) !important; background: var(--gold-soft); }
.topnav-current:hover { border-color: var(--gold); background: rgba(208, 168, 81, 0.2); }

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.breadcrumbs { margin-bottom: 1.35rem; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--gold); }
.breadcrumbs a { transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--ink); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1.35rem;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.button.primary { border-color: var(--gold); color: #13140e; background: var(--gold); }
.button.secondary { background: rgba(255, 255, 255, 0.025); }
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button.secondary:hover { border-color: var(--gold-line); }

/* Asset library hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(7.5rem, 12vw, 10rem) var(--edge) clamp(5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(8, 10, 11, 0.78) 0%, rgba(8, 10, 11, 0.7) 38%, rgba(8, 10, 11, 0.34) 66%, rgba(8, 10, 11, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 10, 11, 0.1), rgba(8, 10, 11, 0.06) 58%, rgba(8, 10, 11, 0.52)),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    var(--hero-image);
  background-position: center, center, center, center, center right;
  background-repeat: no-repeat, no-repeat, repeat, repeat, no-repeat;
  background-size: auto, auto, 64px 64px, 64px 64px, cover;
  background-color: var(--bg);
}
.hero::after {
  content: "ASSET LIBRARY";
  position: absolute;
  right: var(--edge);
  bottom: clamp(2.5rem, 6vw, 5rem);
  color: rgba(208, 168, 81, 0.1);
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; width: min(900px, 100%); }
h1 { max-width: 920px; font-size: clamp(4rem, 8.5vw, 8rem); line-height: 0.91; letter-spacing: -0.05em; }
.lead { max-width: 760px; margin-top: 1.8rem; color: #d7dad5; font-size: clamp(1.04rem, 1.8vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }
.hero-facts {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts > div { min-width: 0; padding: 1rem 1.05rem; border-right: 1px solid var(--line); }
.hero-facts > div:first-child { padding-left: 0; }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt { color: var(--gold); font-family: var(--display); font-size: 1.1rem; font-weight: 700; line-height: 1; }
.hero-facts dd { margin: 0.35rem 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.61rem; letter-spacing: 0.09em; text-transform: uppercase; }

/* Pack collection */
.pack-library, .production, .faq, footer {
  width: min(var(--max), calc(100% - 2 * var(--edge)));
  margin-inline: auto;
}
.pack-library { padding: clamp(6rem, 11vw, 10rem) 0; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}
h2 { font-size: clamp(3.1rem, 6.5vw, 6.3rem); }
.section-heading > p { max-width: 620px; padding-bottom: 0.55rem; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.pack-list { display: grid; gap: 1.5rem; }
.pack-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.pack-card:hover { transform: translateY(-3px); border-color: var(--gold-line); box-shadow: 0 28px 70px -42px #000; }
.pack-media { position: relative; min-height: 520px; overflow: hidden; background: #080a0b; }
.pack-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(8, 10, 11, 0.74)); pointer-events: none; }
.pack-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s ease, filter 0.45s ease; }
.pack-card:hover .pack-media img { transform: scale(1.025); filter: saturate(1.06); }
.pack-media > span {
  position: absolute;
  left: 1.3rem;
  bottom: 1.1rem;
  z-index: 1;
  padding: 0.45rem 0.58rem;
  border: 1px solid var(--gold-line);
  color: var(--gold);
  background: rgba(8, 10, 11, 0.72);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.pack-content { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(2rem, 4vw, 3.8rem); }
.pack-content h3 { max-width: 560px; font-size: clamp(2.4rem, 4.5vw, 4.6rem); }
.pack-content > p:not(.eyebrow) { max-width: 590px; margin-top: 1.3rem; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.pack-facts { display: flex; flex-wrap: wrap; gap: 0.55rem 1.1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: var(--faint); font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pack-facts li { position: relative; padding-left: 0.7rem; }
.pack-facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 4px; height: 4px; background: var(--gold); }
.pack-release { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.35rem; }
.pack-release span { padding: 0.42rem 0.55rem; border: 1px solid var(--line); color: var(--gold); font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pack-content .button { margin-top: auto; padding-top: 0; }

/* Production and FAQ */
.production { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.production-heading { max-width: 960px; }
.production-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(3rem, 6vw, 5rem); background: var(--line); }
.production-grid article { min-height: 270px; padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--bg-2); }
.production-grid article > span { color: var(--gold); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; }
.production-grid h3 { margin-top: 2.8rem; font-size: 1.35rem; line-height: 1.15; }
.production-grid p { margin-top: 0.9rem; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.faq { padding: clamp(6rem, 12vw, 10rem) 0; border-top: 1px solid var(--line); }
.faq h2 { max-width: 720px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 3rem; background: var(--line); }
.faq-grid article { padding: 1.7rem; background: var(--bg-2); }
.faq-grid h3 { font-size: 1.2rem; line-height: 1.15; }
.faq-grid p { margin-top: 0.7rem; color: var(--muted); }

footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
footer > span { text-align: center; }
footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
footer nav a { transition: color 0.2s ease; }
footer nav a:hover { color: var(--gold); }

.has-js .reveal { opacity: 0; transform: translateY(24px); }
.has-js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

@media (max-width: 980px) {
  .section-heading { grid-template-columns: 1fr; gap: 1.3rem; }
  .section-heading > p { padding-bottom: 0; }
  .pack-card { grid-template-columns: 1fr; }
  .pack-media { min-height: 0; aspect-ratio: 16 / 9; }
  .pack-content .button { margin-top: 2rem; }
  .production-grid { grid-template-columns: 1fr; }
  .production-grid article { min-height: 0; }
}

@media (max-width: 840px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts > div:nth-child(2) { border-right: 0; }
  .hero-facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; justify-items: start; padding: 2.8rem 0; }
  footer > span { text-align: left; }
}

@media (max-width: 760px) {
  .topbar { gap: 0.75rem; }
  .topnav { gap: 0.45rem; }
  .topnav-button { padding: 0.55rem 0.7rem; }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 7rem;
    background-image:
      linear-gradient(90deg, rgba(8, 10, 11, 0.8), rgba(8, 10, 11, 0.58)),
      linear-gradient(180deg, rgba(8, 10, 11, 0.16), rgba(8, 10, 11, 0.52)),
      linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
      var(--hero-image);
    background-position: center, center, center, center, 62% center;
  }
  .hero::after { display: none; }
  h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  h2 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-facts > div { padding: 0.9rem 0.7rem; }
  .pack-content { padding: 1.5rem; }
  .pack-content h3 { font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .pack-content .button { width: 100%; }
}

@media (max-width: 430px) {
  .topbar { padding-inline: 0.75rem; gap: 0.5rem; }
  .wordmark { gap: 0.4rem; font-size: 1.05rem; }
  .topnav { gap: 0.35rem; }
  .topnav-button { padding-inline: 0.55rem; letter-spacing: 0.12em !important; }
}

@media (max-width: 360px) {
  .topbar { padding-inline: 0.5rem; gap: 0.35rem; }
  .wordmark { gap: 0.35rem; font-size: 0.9rem; }
  .wordmark img { width: 22px; height: 22px; }
  .topnav { gap: 0.2rem; }
  .topnav-button { padding: 0.45rem 0.38rem; font-size: 0.58rem !important; letter-spacing: 0.06em !important; }
}

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