/* ==========================================================
   JTL — Jack The Lad Creative Studios
   Two identities:
   - JTL frame: near-black ground, red accent
   - Blur. section: Klein blue + pearl white, Abril Fatface
   ========================================================== */

:root {
  /* JTL: replace --red with the exact hex from the logo file */
  --ink: #0b0b0b;
  --ink-2: #151515;
  --ink-3: #222;
  --paper: #f2f0eb;
  --muted: #9a978f;
  --line: #2a2a2a;
  --red: #e5231b;
  --red-ink: #ffffff;

  /* Blur. (confirmed) */
  --klein: #002fa7;
  --pearl: #e7e6e2;

  --font-jtl: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-blur: "Abril Fatface", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-jtl);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.02em; line-height: 0.95; }
p { margin: 0; }
::selection { background: var(--red); color: var(--red-ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: var(--red-ink); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(11, 11, 11, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--red); overflow: hidden; flex: none; }
.brand-mark img { width: 100%; height: 100%; mix-blend-mode: screen; transform: scale(1.02); }
.brand-word { width: 54px; height: 22px; color: var(--paper); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--paper); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button {
  font: 700 12px/1 var(--font-jtl); letter-spacing: 0.08em;
  background: none; border: 0; color: var(--muted);
  padding: 7px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

.menu-btn {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: none; cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--paper);
  transition: transform .25s;
}
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 700 14px/1 var(--font-jtl); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--red-ink); }
.btn-ghost { border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-blue { background: var(--klein); color: var(--pearl); }
.btn-blue-ghost { border-color: var(--klein); color: var(--klein); }
.btn-blue-ghost:hover { background: var(--klein); color: var(--pearl); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  min-height: min(calc(100svh - 69px - 52px), 860px);
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px;
  padding: 64px var(--gutter);
}
.eyebrow, .kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.hero-title {
  margin: 20px 0 28px;
  font-size: clamp(44px, 8.4vw, 124px);
  text-transform: uppercase;
}
.hero-lede { max-width: 30ch; font-size: clamp(18px, 1.8vw, 22px); color: #cfccc4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-mark { display: flex; justify-content: center; }
.jack-circle {
  width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 40px 120px -30px rgba(229,35,27,.55);
  animation: float 7s ease-in-out infinite;
}
/* Jack line art is white on black: "screen" lets the red circle show through the black */
.jack-circle { overflow: hidden; }
.jack-circle img { width: 100%; height: 100%; mix-blend-mode: screen; transform: scale(0.9); }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }

/* ---------- Strip ---------- */
.strip {
  display: block; overflow: hidden; text-decoration: none;
  background: var(--red); color: var(--red-ink);
  border-block: 1px solid var(--red);
}
.strip-track {
  display: inline-flex; align-items: center; gap: 28px; white-space: nowrap;
  padding: 14px 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px;
  animation: marquee 32s linear infinite;
}
.strip-spiral { width: 18px; height: 20px; color: var(--red-ink); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Generic section ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(40px, 6vw, 80px); text-transform: uppercase; }

.about-text { max-width: 60ch; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; color: #d8d5cd; }

.team {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-photo { margin: 56px 0 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.team-photo img { width: 100%; height: auto; }
.member .photo {
  aspect-ratio: 4 / 5; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 18px; overflow: hidden;
  transition: border-color .25s;
}
.member:hover .photo { border-color: var(--red); }
.member .photo span { font-size: 72px; font-weight: 900; color: var(--ink-3); }
.member h3 { font-size: 28px; }
.member .role {
  margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red);
}
.member .bio { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ---------- Blur. ---------- */
.blur { background: var(--pearl); color: var(--klein); }
.blur ::selection { background: var(--klein); color: var(--pearl); }
.blur :focus-visible { outline-color: var(--klein); }
.blur-inner {
  max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px;
  grid-template-areas: "head cover" "tracks tracks" "copy copy";
}
.blur-head { grid-area: head; align-self: center; }
.blur-kicker {
  font-family: var(--font-jtl); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; gap: 14px;
}
.blur-title {
  font-family: var(--font-blur); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(96px, 16vw, 220px); line-height: 0.9; margin: 24px 0 36px;
  display: flex; align-items: flex-end;
}
.blur-dot { width: 0.24em; height: 0.26em; margin: 0 0 0.11em 0.04em; color: var(--klein); }
.blur-meta { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.blur-meta dt {
  font-family: var(--font-jtl); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: .65;
}
.blur-meta dd { margin: 4px 0 0; font-family: var(--font-blur); font-size: 24px; }
.blur-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.blur-cover {
  grid-area: cover; aspect-ratio: 1; background: #f4f3ef;
  display: grid; place-items: center;
  box-shadow: 0 40px 80px -40px rgba(0, 47, 167, .35);
}
.cover-spiral { width: 52%; height: 57%; color: var(--klein); animation: spin 14s linear infinite; }
.blur-dot { animation: spin 6s linear infinite; transform-origin: 50% 54%; }
@keyframes spin { to { transform: rotate(-360deg); } }

.tracks {
  grid-area: tracks; list-style: none; margin: 0; padding: 0;
  border-top: 2px solid var(--klein);
  columns: 2; column-gap: 64px;
}
.tracks li {
  break-inside: avoid;
  display: grid; grid-template-columns: 40px 1fr auto 52px; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid rgba(0, 47, 167, .25);
}
.tracks .n { font-family: var(--font-jtl); font-size: 13px; font-weight: 700; opacity: .6; }
.tracks .t { font-family: var(--font-blur); font-size: 22px; }
.tracks .e {
  font-family: var(--font-jtl); font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; display: grid; place-items: center;
  background: var(--klein); color: var(--pearl); border-radius: 2px;
}
.tracks .d { font-family: var(--font-jtl); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.blur-copy { grid-area: copy; font-size: 13px; opacity: .65; }

/* ---------- Party ---------- */
.party-text { max-width: 54ch; font-size: clamp(18px, 1.8vw, 22px); color: #d8d5cd; }
.party-feature { margin: 48px 0 16px; border-radius: var(--radius); overflow: hidden; background: #000; }
.party-feature img { width: 100%; height: auto; }
.gallery { columns: 3; column-gap: 16px; }
.g-item {
  display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0;
  break-inside: avoid; background: #000; border-radius: var(--radius); overflow: hidden;
}
button.g-item { cursor: zoom-in; }
.g-item img, .g-item video { width: 100%; height: auto; display: block; transition: transform .5s, opacity .3s; }
button.g-item:hover img { transform: scale(1.03); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); }
.lb-close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #444; background: var(--ink); color: var(--paper); font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- Music ---------- */
.music { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.embed iframe { border-radius: 12px; background: var(--ink-2); }
.music-side { display: flex; flex-direction: column; gap: 22px; }
.music-side p { font-size: 20px; color: #d8d5cd; }
.link-arrow {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 700;
}
.link-arrow::after { content: "↗"; color: var(--red); transition: transform .2s; }
.link-arrow:hover::after { transform: translate(3px, -3px); }

/* ---------- Services ---------- */
.services-intro { max-width: 50ch; font-size: clamp(18px, 1.8vw, 22px); color: #d8d5cd; margin-bottom: 40px; }
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services li {
  display: flex; align-items: baseline; gap: 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 3vw, 38px); font-weight: 700; letter-spacing: -0.01em;
  transition: color .2s, padding .25s;
}
.services li:hover { color: var(--red); padding-left: 10px; }
.services .sn { font-size: 14px; color: var(--muted); font-weight: 500; min-width: 24px; }

/* ---------- Contact ---------- */
.contact {
  background: var(--red); color: var(--red-ink);
  padding: 120px var(--gutter); text-align: center;
}
.contact .kicker { color: var(--ink); }
.contact-title { font-size: clamp(48px, 9vw, 136px); text-transform: uppercase; margin: 20px 0 24px; }
.contact-text { font-size: clamp(18px, 1.8vw, 22px); }
.contact-links {
  margin: 48px auto 0; max-width: 760px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ig {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 24px 28px; border-radius: 14px; text-decoration: none;
  background: var(--ink); color: var(--paper);
  transition: transform .2s;
}
.ig:hover { transform: translateY(-3px); }
.ig-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ig-handle { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 28px var(--gutter); font-size: 13px; color: var(--muted);
}
.footer { align-items: center; }
.foot-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.foot-word { width: 46px; height: 19px; }
.foot-lockup span { font: 900 13px/1 var(--font-jtl); font-stretch: 62%; letter-spacing: 0.04em; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .music { grid-template-columns: 1fr; }
  .blur-inner { grid-template-columns: 1fr; grid-template-areas: "head" "cover" "tracks" "copy"; }
  .blur-cover { max-width: 520px; width: 100%; }
  .tracks { columns: 1; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 69px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--paper); }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 48px; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .jack-circle { width: 168px; }
  .section, .blur-inner, .contact { padding-top: 80px; padding-bottom: 80px; }
  .gallery { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .party-feature { margin-bottom: 10px; }
  .contact-links { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .member h3 { font-size: 22px; }
  .member .photo span { font-size: 48px; }
  .blur-meta dd { font-size: 20px; }
  .tracks li { grid-template-columns: 32px 1fr auto 44px; }
  .tracks .t { font-size: 19px; }
  .services li { gap: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* The Blur. spiral keeps turning on purpose, just slower */
  .cover-spiral { animation: spin 40s linear infinite !important; }
  .blur-dot { animation: spin 20s linear infinite !important; }
}
