/* ==========================================================================
   Jessica Jade — "Gold serif"
   The chosen direction. Near-black and warm gold, high-contrast serif display
   type throughout, square buttons.
     Phone   — photo fills the top, words sit below it, centred.
     Desktop — photo to the right, words to the left, full navigation.
   ========================================================================== */

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:          #0C0C0C;
  --bg-raised:   #141414;
  --bg-bar:      #1A1A1A;

  --gold:        #E0C48F;
  --gold-2:      #C9A96B;
  --gold-soft:   rgba(224, 196, 143, 0.18);

  --cream:       #F6F1E8;
  --text:        #EDE7DC;
  --muted:       #A69C8E;
  --dim:         #7C7367;

  --border:      rgba(224, 196, 143, 0.16);
  --border-hi:   rgba(224, 196, 143, 0.36);

  --radius:      4px;
  --radius-lg:   8px;

  --shell:       1200px;
  --header-h:    82px;
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  padding: 0.85rem 1.4rem;
  background: var(--gold); color: #111; font-weight: 600;
}
.skip-link:focus { left: 0; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  color: var(--gold);
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.shell.narrow { max-width: 760px; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-alt { background: var(--bg-raised); }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.section-intro {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 3rem;
}

/* Inline link inside body copy */
.text-link {
  color: var(--cream);
  border-bottom: 1px solid var(--border-hi);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.prose p { color: var(--muted); margin-bottom: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose p:first-of-type { color: var(--text); font-size: 1.1rem; }

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--bg-bar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--shell);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  min-width: 0;
}

.brand-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  color: #14120E;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 14px rgba(224, 196, 143, 0.28);
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold);
  white-space: nowrap;
}

/* Matching the two mockups: the wide screen shows the name in full, the phone
   shows the round badge on its own because the name crowds the menu button. */
.brand-badge { display: none; }

@media (max-width: 560px) {
  .brand-badge { display: grid; }
  .brand-name  { display: none; }
}

.nav-list { display: flex; gap: clamp(1.1rem, 2.4vw, 2.1rem); }

.nav-link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after { transform: scaleX(1); }

/* Mobile menu */
.nav-toggle {
  display: none;
  order: 3;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gold);
  cursor: pointer;
  align-items: center; justify-content: center;
}

.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span {
  display: block; width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-bar);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease);
  }
  .nav > .nav-list { overflow: hidden; }

  .nav.is-open { grid-template-rows: 1fr; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
  }
  .nav-list li { border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-link { display: block; padding: 1rem 0; }
  .nav-link::after { display: none; }

  .nav.is-open .nav-list { padding-bottom: 0.75rem; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(560px, calc(100dvh - var(--header-h)), 900px);
  display: flex;
  align-items: flex-end;   /* phone: words sit under the photo */
  overflow: hidden;
}

@media (min-width: 880px) {
  .hero { align-items: center; }
}

.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;   /* phone: keep the subject high in frame */
}

/* On a wide screen the photo becomes a tall portrait panel on the right, the
   way the desktop mockup shows it, rather than stretching across the whole
   width — a 2:3 portrait spread full-bleed would crop her head and feet. */
@media (min-width: 880px) {
  .hero-media { left: 46%; }
  /* Biased above centre: a tall portrait in a shorter panel crops top and
     bottom, and losing the top of her head is the worse of the two. */
  .hero-img { object-position: center 28%; }
}

@media (min-width: 1200px) {
  .hero-media { left: 50%; }
}

.hero-media-fallback {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column;
  align-items: center; justify-content: flex-start;
  gap: 0.75rem;
  text-align: center;
  /* Sits in the photo's upper area so it never collides with the headline
     or the buttons, at any screen width. */
  padding: clamp(2rem, 9vh, 5rem) 1.5rem 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(224,196,143,0.10), transparent 62%),
    linear-gradient(135deg, #1C1A17, #0C0C0C);
}
.hero-media.is-empty .hero-media-fallback { display: flex; }

@media (min-width: 880px) {
  /* The panel is already clear of the words, so centre the hint inside it. */
  .hero-media-fallback { justify-content: center; padding: 2rem 1.5rem; }
}

.fallback-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.fallback-hint { font-size: 0.8rem; color: var(--dim); }

/* Phone: photo reads at the top, words sit on black beneath it.
   Desktop: the fade runs left-to-right so the words sit over dark on the left. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Reaches solid black before the headline starts, so the words sit on flat
     black like the phone mockup instead of over the photograph. */
  background: linear-gradient(
    180deg,
    rgba(12,12,12,0.45) 0%,
    rgba(12,12,12,0.06) 20%,
    rgba(12,12,12,0.38) 40%,
    rgba(12,12,12,0.88) 52%,
    #0C0C0C 60%,
    #0C0C0C 100%
  );
}

/* Desktop: the words sit on flat black, and the photo's left edge is feathered
   into it so there is no hard seam between the two. */
@media (min-width: 880px) {
  .hero-scrim {
    background:
      linear-gradient(90deg, #0C0C0C 0%, #0C0C0C 42%, rgba(12,12,12,0.82) 52%, rgba(12,12,12,0.28) 64%, transparent 76%),
      linear-gradient(180deg, rgba(12,12,12,0.42) 0%, transparent 22%, rgba(12,12,12,0.55) 100%);
  }
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem) clamp(7rem, 15vw, 9rem);
  text-align: center;
}

.hero-title { margin-bottom: 1rem; }

.hero-title-name {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.7rem, 9.5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--cream);
}

.hero-title-sub {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 6.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold);
  margin-top: 0.25rem;
}

.hero-credits {
  font-size: clamp(0.88rem, 1.7vw, 1rem);
  color: var(--text);
  max-width: 38ch;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

@media (min-width: 880px) {
  .hero-content { text-align: left; padding-top: clamp(2rem, 6vw, 4rem); }
  .hero-credits { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
}

.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-solid {
  background: var(--gold);
  color: #14120E;
}
.btn-solid:hover { background: var(--cream); transform: translateY(-2px); }

.btn-outline {
  border-color: rgba(246, 241, 232, 0.45);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn:active { transform: translateY(0); }

/* Platform strip along the bottom of the hero */
.hero-platforms {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: 0;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(0.9rem, 3vw, 2.4rem);
  padding: 1.1rem clamp(1.25rem, 5vw, 3rem);
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.platforms-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
}

.platform-chip {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.platform-chip:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ── About ───────────────────────────────────────────────────────────────── */

/* Full-bleed About — the photo IS the section, words sit over the bottom. */

.about-full {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.about-full-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: -2;
}

/* Dark wash so the words stay readable over the photo. */
.about-full::after {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom,
      rgba(12, 12, 12, 0.70) 0%,
      rgba(12, 12, 12, 0.28) 18%,
      rgba(12, 12, 12, 0.34) 34%,
      rgba(12, 12, 12, 0.72) 55%,
      rgba(12, 12, 12, 0.92) 80%,
      var(--bg) 100%);
}

.about-full-copy {
  position: relative;
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

/* Same type as the rest of the site — only the backing is different. */
.about-full-copy .prose { max-width: 44rem; }

/* The photo behind the words is bright in places — lift the body copy to full
   strength and give everything a soft shadow so it stays readable. */
.about-full-copy .prose p { color: var(--text); }
.about-full-copy .prose p,
.about-full-copy .eyebrow,
.about-full-copy .section-title {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 22px rgba(0, 0, 0, 0.85);
}

.about-full-copy .stat-list {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 60rem;
}

.about-full-copy .stat {
  background: rgba(12, 12, 12, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.split { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4.5rem); }

@media (min-width: 900px) {
  .split { grid-template-columns: 1.35fr 0.65fr; align-items: start; }
}

.stat-list { display: grid; gap: 1rem; }

.stat {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  display: flex; align-items: center; gap: 1.1rem;
}

.stat-figure {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 2.4ch;
}

.stat-label { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.stat-label strong { color: var(--text); font-weight: 500; }

/* ── Gallery ─────────────────────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, #1A1815, #101010);
}

.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover img { transform: scale(1.04); }

/* A landscape photo squeezed into a portrait tile loses most of its frame, so
   wide images take two columns and a wider tile instead. Set by script.js from
   the image's real proportions, so it keeps working if the photos change. */
.tile.is-wide {
  aspect-ratio: 16 / 10;
}

@media (min-width: 620px) {
  .tile.is-wide { grid-column: span 2; }
}

.tile-empty {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.28;
}
.tile.is-empty .tile-empty { display: flex; }

.gallery-note {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--dim);
}

/* ── Live shows ──────────────────────────────────────────────────────────── */

.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}

.show-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem 1rem;
  height: 100%;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
              transform 0.3s var(--ease);
}

.show-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem; font-weight: 500;
  color: var(--cream);
}

.show-desc { grid-column: 1; font-size: 0.86rem; color: var(--muted); }

.show-go {
  grid-row: 1 / span 2; grid-column: 2;
  font-size: 1.2rem; color: var(--dim);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.show-card:hover {
  border-color: var(--border-hi);
  background: rgba(224, 196, 143, 0.05);
  transform: translateY(-3px);
}
.show-card:hover .show-go { color: var(--gold); transform: translateX(4px); }

.schedule-note {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 2px solid var(--gold);
  background: rgba(224, 196, 143, 0.05);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.schedule-note strong { color: var(--gold); display: block; margin-bottom: 0.3rem; font-weight: 600; }
.schedule-note p { font-size: 0.9rem; color: var(--muted); }

/* ── Customs ─────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  padding: 2rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.step-num {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-hi);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.45rem;
}

.step-body { font-size: 0.9rem; color: var(--muted); }

.customs-cta { margin-top: 2.5rem; }

/* ── Contact ─────────────────────────────────────────────────────────────── */

.contact-card {
  padding: 2rem 2rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 2rem;
}

.contact-label {
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}

.contact-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  color: var(--cream);
  word-break: break-word;
}

.contact-link {
  border-bottom: 1px solid var(--border-hi);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.socials { display: flex; gap: 0.75rem; }

.social {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social:hover {
  color: var(--gold);
  border-color: var(--border-hi);
  background: rgba(224, 196, 143, 0.07);
  transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  padding: clamp(3rem, 6vw, 4rem) 0 clamp(2.5rem, 5vw, 3rem);
  background: var(--bg-bar);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.age-notice {
  font-size: 0.85rem; color: var(--muted);
  max-width: 48ch; margin: 0 auto 1.2rem;
}
.age-notice strong { color: var(--cream); font-weight: 600; }

.footer-credit {
  font-size: 0.76rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.footer-copy { font-size: 0.76rem; color: var(--dim); }

/* ── Motion ──────────────────────────────────────────────────────────────── */

/* Guarded by .js so a blocked or failed script can never leave the page blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .tile:hover img { transform: none; }
}
