:root {
  --bg: #08060c;
  --bg-soft: #100b17;
  --panel: #15101d;
  --text: #f6f0fa;
  --muted: #b9adc2;
  --purple: #a767d5;
  --purple-bright: #cf8cff;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(112,42,155,.16), transparent 28rem),
    radial-gradient(circle at 85% 28%, rgba(54,40,141,.16), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; background: white; color: black; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8,6,12,.78);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { width: min(1180px, calc(100% - 2rem)); margin: auto; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { text-decoration: none; font-family: Georgia, "Times New Roman", serif; letter-spacing: .14em; font-weight: 700; }
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a { text-decoration: none; color: var(--muted); font-size: .93rem; }
nav a:hover, nav a:focus-visible { color: var(--text); }
.nav-cta { padding: .55rem .9rem; border: 1px solid rgba(207,140,255,.5); border-radius: 999px; color: var(--text); }

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hero-banner {
  width: 100%;
  background: #08060c;
  border-bottom: 1px solid var(--line);
}
.hero-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-copy {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.eyebrow { margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .19em; color: var(--purple-bright); font-size: .76rem; font-weight: 800; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; margin: 0; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); max-width: 12ch; }
h2 { font-size: clamp(2.15rem, 5vw, 4rem); }
.hero-copy > p:not(.eyebrow) { max-width: 680px; color: #e6ddeb; font-size: clamp(1rem, 2vw, 1.2rem); margin: 1.3rem 0 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: .95rem 1.35rem; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #8d4dbc, #d58cff); color: #120818; box-shadow: 0 12px 34px rgba(170,90,225,.28); }

.section { width: min(1180px, calc(100% - 2rem)); margin: auto; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-heading { max-width: 760px; }
.section-heading.centered { text-align: center; margin: 0 auto 2.5rem; }
.section-lead { color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); margin-top: 2.5rem; color: var(--muted); font-size: 1.08rem; }
.intro-grid p { margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.card { position: relative; grid-column: span 6; min-height: 390px; overflow: hidden; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-wide { grid-column: span 7; }
.card-tall { grid-column: span 5; min-height: 560px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover img { transform: scale(1.035); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,3,9,.9)); pointer-events: none; }
.card figcaption { position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.15rem; display: flex; flex-direction: column; }
.card figcaption span { color: #d2c5da; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; }
.card figcaption strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }

.feature-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 6vw, 5rem); border: 1px solid rgba(207,140,255,.22); border-radius: 28px; background: linear-gradient(135deg, rgba(128,58,171,.16), rgba(16,11,23,.92)); box-shadow: var(--shadow); }
.feature-copy { color: var(--muted); }
.feature-copy p { margin-top: 0; }
.feature-copy ul { padding-left: 1.2rem; margin-bottom: 0; }
.feature-copy li + li { margin-top: .55rem; }

.cta { text-align: center; max-width: 820px; }
.cta h2 { margin-bottom: 1.2rem; }
.cta > p:not(.eyebrow) { color: var(--muted); max-width: 650px; margin: 0 auto 2rem; }

footer { border-top: 1px solid var(--line); padding: 2.5rem 1rem 1.25rem; color: var(--muted); background: rgba(0,0,0,.18); }
.footer-inner { width: min(1180px, 100%); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand { margin: 0; color: var(--text); font-family: Georgia, "Times New Roman", serif; letter-spacing: .14em; }
.footer-inner p:last-child { margin: .3rem 0 0; font-size: .9rem; }
.copyright { width: min(1180px, 100%); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }

.legal-page { min-height: 100vh; }
.legal-main { width: min(850px, calc(100% - 2rem)); margin: auto; padding: 5rem 0 7rem; }
.legal-main h1 { max-width: none; font-size: clamp(2.7rem, 7vw, 5rem); margin-bottom: 2rem; }
.legal-main h2 { font-family: inherit; font-size: 1.35rem; font-weight: 800; margin-top: 2.4rem; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main a { color: var(--purple-bright); }
.legal-note { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.back-link { display: inline-flex; margin-bottom: 2rem; text-decoration: none; color: var(--purple-bright); }

@media (max-width: 820px) {
  .nav-wrap { min-height: 62px; }
  nav a:not(.nav-cta) { display: none; }
  .hero-copy { padding: 3rem 0 3.5rem; }
  .intro-grid, .feature-panel { grid-template-columns: 1fr; }
  .gallery { display: block; }
  .card, .card-wide, .card-tall { min-height: 0; aspect-ratio: 4 / 3; margin-bottom: 1rem; }
  .card-tall { aspect-ratio: 4 / 5; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand { font-size: .88rem; }
  .nav-cta { font-size: .82rem; padding: .5rem .75rem; }
  .hero-banner img { min-height: 0; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); max-width: 100%; }
  .hero-copy { width: min(100% - 1.25rem, 1180px); }
  .section { width: min(100% - 1.25rem, 1180px); }
  .card { border-radius: 16px; }
  footer nav { flex-direction: column; gap: .5rem; align-items: flex-start; }
}

/* Final mobile safeguards */
html, body { overflow-x: hidden; }
.hero-copy, .section, .footer-inner, .legal-main { min-width: 0; }
h1, h2, p, a, strong { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .hero-copy h1 { font-size: clamp(2.25rem, 11.5vw, 3.25rem); line-height: 1.02; }
  .hero-banner { line-height: 0; }
  .hero-banner img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .card figcaption strong { font-size: 1.18rem; }
}
