/* Gallery-inspired palette with high-contrast editorial treatments */
:root {
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --bg: #040405;
  --bg-gradient: radial-gradient(circle at 12% 20%, rgba(248, 213, 72, 0.08), transparent 45%),
    radial-gradient(circle at 78% 10%, rgba(90, 107, 255, 0.08), transparent 50%),
    linear-gradient(160deg, rgba(17, 17, 28, 0.9), rgba(4, 4, 5, 0.98));
  --surface: #0e0f14;
  --surface-soft: rgba(22, 24, 34, 0.72);
  --surface-muted: rgba(12, 12, 18, 0.72);
  --text: #f4f5f8;
  --muted: #a5a6b2;
  --accent: #f9d857;
  --accent-soft: rgba(249, 216, 87, 0.18);
  --accent-strong: #ffe378;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 36px 60px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 70px 120px rgba(0, 0, 0, 0.55);
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --transition-fast: 200ms ease;
}

:root[data-theme="light"] {
  --bg: #f7f5ed;
  --bg-gradient: radial-gradient(circle at 22% 18%, rgba(249, 216, 87, 0.12), transparent 48%),
    radial-gradient(circle at 82% 18%, rgba(194, 210, 255, 0.2), transparent 52%),
    linear-gradient(180deg, #fdfaf3, #f6f1e6);
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.88);
  --surface-muted: rgba(245, 241, 231, 0.8);
  --text: #17171f;
  --muted: #4a4b55;
  --accent: #e4b325;
  --accent-soft: rgba(228, 179, 37, 0.16);
  --accent-strong: #b48305;
  --line: rgba(17, 17, 20, 0.12);
  --line-strong: rgba(17, 17, 20, 0.18);
  --shadow-sm: 0 14px 32px rgba(40, 32, 12, 0.1);
  --shadow-md: 0 30px 60px rgba(40, 32, 12, 0.16);
  --shadow-lg: 0 60px 120px rgba(40, 32, 12, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root[data-theme="light"] .theme-toggle .sun {
  opacity: 1;
}

:root[data-theme="light"] .theme-toggle .moon {
  opacity: 0.35;
  transform: rotate(0deg);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    background-image 320ms ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0;
}

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

a:hover,
a:focus {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
  border-radius: inherit;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(8, 9, 14, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 1.35rem clamp(1.5rem, 3vw, 3.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.brand::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(249, 216, 87, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.8vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 6px;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle:hover,
.theme-toggle:focus {
  outline: none;
  border-color: var(--accent);
  transform: translateY(-1px);
  background: var(--surface);
}

.theme-toggle .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.95rem;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle .moon {
  opacity: 0.35;
}

.page {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: clamp(3.2rem, 6vw, 6rem) clamp(1.75rem, 4vw, 4rem) clamp(5rem, 8vw, 6.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 7vw, 6.5rem);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(140deg, rgba(24, 25, 40, 0.94), rgba(8, 8, 12, 0.92));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 24%, rgba(249, 216, 87, 0.25), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(110, 126, 255, 0.25), transparent 58%),
    radial-gradient(circle at 40% 80%, rgba(255, 143, 107, 0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  line-height: 0.98;
  text-transform: none;
  margin: 0;
}

.hero-intro {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  max-width: 38ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


.hero-metadata {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.hero-metadata div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.68rem;
  color: var(--muted);
}

.meta-value {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.button.primary {
  background: var(--accent);
  color: #090909;
  box-shadow: var(--shadow-md);
}

.button.primary:hover,
.button.primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.button.ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.button.secondary {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.button.ghost:hover,
.button.ghost:focus {
  transform: translateY(-2px);
  background: var(--accent-soft);
}

.button.secondary:hover,
.button.secondary:focus {
  transform: translateY(-2px);
  background: var(--accent-soft);
}

.hero-media {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
}

.hero-media img {
  border-radius: calc(var(--radius-lg) - 12px);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  min-height: 420px;
}

.hero-media figcaption {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-badge {
  position: absolute;
  top: 20px;
  right: 22px;
  background: rgba(6, 6, 10, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.info-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.info-item {
  padding: 1.6rem 1.8rem;
  background: var(--surface-muted);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.info-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
  color: var(--muted);
}

.info-value {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 3rem;
  max-width: 840px;
}

.section-overline {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.68rem;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.5rem);
}

.edition-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.edition-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(249, 216, 87, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.edition-card:hover::after,
.edition-card:focus-within::after {
  opacity: 1;
}

.edition-card img {
  border-radius: calc(var(--radius-md) - 12px);
  box-shadow: var(--shadow-sm);
}

.edition-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.edition-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.edition-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
  position: relative;
  z-index: 1;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-top: clamp(2.5rem, 5vw, 3.2rem);
}

.panel {
  position: relative;
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 2.1rem 2.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(249, 216, 87, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.panel:hover::after,
.panel:focus-within::after {
  opacity: 1;
}

.panel h3 {
  position: relative;
  z-index: 1;
  margin-top: 0;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.panel p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

.timeline {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2.4rem, 5vw, 3.2rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.timeline-entry {
  position: relative;
  padding-top: 1.2rem;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 2px;
  background: var(--accent);
}

.timeline-entry h4 {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  margin: 0 0 0.55rem;
  color: var(--muted);
}

.timeline-entry p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}

.gallery-grid img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
}


.faq {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1.85rem 2.1rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
}

.faq-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.95rem;
}

footer.site-footer {
  margin-top: clamp(4.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 6, 10, 0.8), rgba(4, 4, 6, 0.95));
  color: var(--muted);
}

.footer-inner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 2.75rem clamp(1.5rem, 3vw, 3.25rem) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 4rem;
}

.form-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

form label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 216, 87, 0.22);
}

form textarea {
  min-height: 160px;
  resize: vertical;
}

form button {
  margin-top: 2rem;
  width: 100%;
}

.detail-list {
  display: grid;
  gap: 1.6rem;
}

.detail-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 1.85rem 2.1rem;
  box-shadow: var(--shadow-sm);
}

.detail-item h3 {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
}

.detail-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.table thead {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

.table th,
.table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--line);
}

.table tbody tr:hover {
  background: rgba(249, 216, 87, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.62rem;
  background: rgba(249, 216, 87, 0.16);
  color: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.badge.hero-overline {
  background: transparent;
  padding: 0;
  gap: 0.75rem;
}

.badge.hero-overline::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

@media (max-width: 780px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: space-between;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    min-height: 320px;
  }

  .hero-badge {
    top: 18px;
    right: 18px;
  }

  .hero-metadata {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.9rem;
  }
}
