/* zainlone.xyz — shared styles */
:root {
  --bg: #0B0D10;
  --panel: #13171C;
  --panel-2: #12161B;
  --text: #E6EAEE;
  --text-soft: #C3CBD3;
  --text-muted: #A7B0BA;
  --text-dim: #8A939D;
  --rule: #23282F;
  --rule-strong: #3A414A;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 16px; }

.eyebrow { margin: 0 0 24px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--text-dim); }
.h2 { margin: 0 0 48px; font-weight: 400; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.01em; }
.section { border-top: 1px solid var(--rule); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.btn {
  display: inline-block; padding: 16px 28px; border: 1px solid var(--text);
  background: transparent; color: var(--text);
  font: inherit; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { background: #fff; }

.placeholder {
  background: var(--panel); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim);
  text-align: center; padding: 16px;
}
.media { width: 100%; height: 100%; object-fit: cover; }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--gutter); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: 28px; }
.socials { display: flex; gap: 4px; }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-soft); }
.icon:hover { color: #fff; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; }
.hero-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero-tree { height: 86%; max-width: 94%; opacity: .5; perspective: 1400px; }
.hero-tree svg { height: 100%; width: auto; animation: spin 30s linear infinite; transform-style: preserve-3d; }
@keyframes spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,.5) 0%, rgba(11,13,16,0) 25%, rgba(11,13,16,0) 70%, rgba(11,13,16,.85) 100%); }
.hero-title { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px 64px; }
.hero-title h1 {
  margin: 0; font-weight: 400; font-size: clamp(40px, 8vw, 112px); line-height: 1;
  letter-spacing: .32em; text-transform: uppercase; padding-left: .32em;
}
@media (prefers-reduced-motion: reduce) { .hero-tree svg { animation: none; } }

/* About teaser */
.about-teaser { padding: 160px 16px; }
.portrait { width: 100%; max-width: 440px; aspect-ratio: 4 / 5; overflow: hidden; }
.about-teaser .lede { margin: 0 0 40px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; color: #DCE2E8; }

/* Work */
.work { padding: 160px 0; }
.feature-media { display: flex; aspect-ratio: 16 / 9; overflow: hidden; }
.feature-text { max-width: 680px; margin: 0 auto; padding: 56px 0 120px; }
.feature-text h3 { margin: 0; font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.01em; }
.feature-text p { margin: 24px 0 40px; font-size: 18px; line-height: 1.7; color: #B9C1CA; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 14px; }
.tile-media { aspect-ratio: 4 / 3; overflow: hidden; }
.tile-media.empty { background: transparent; border: 1px dashed var(--rule-strong); }
.tile-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tile-title { font-size: 18px; font-weight: 400; }
.tile-meta { font-size: 14px; color: var(--text-muted); }

/* Upcoming */
.upcoming { padding: 140px 0; }
.shows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.show { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.show-date { flex: 0 0 120px; display: flex; flex-direction: column; }
.show-date b { font-size: 28px; font-weight: 400; letter-spacing: .04em; }
.show-what { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.show-what b { font-size: 20px; font-weight: 400; }
.show-what span { font-size: 15px; color: var(--text-muted); }
.show-where { flex: 1 1 200px; font-size: 15px; color: var(--text-soft); line-height: 1.5; }
.show .btn { padding: 14px 22px; font-size: 12px; }
.show.tba { color: var(--text-dim); }

.signup { margin-top: 72px; padding: 48px clamp(20px, 4vw, 56px); background: var(--panel-2); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.signup-copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }
.signup-copy strong { font-size: 24px; font-weight: 400; }
.signup-copy span { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.signup-fields { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 8px; }
.signup input[type=email] {
  flex: 1 1 220px; font: inherit; font-size: 16px; padding: 15px 16px;
  background: transparent; color: var(--text); border: 1px solid var(--rule-strong); border-radius: 0;
}
.signup .btn { min-height: 52px; }
.signup-status { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--text-muted); min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* Appearances */
.appearances { padding: 140px 0; }
.appearances .inner { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.year { margin: 0 0 40px; }
.year + .year { margin-top: 72px; }
.appearance { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.appearance h3 { margin: 0; font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.appearance .where { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.appearance p { margin: 6px 0 0; font-size: 17px; line-height: 1.7; color: #B9C1CA; }
.inline-link { border-bottom: 1px solid #5A626C; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.footer-links { padding: 80px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: center; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.footer-note { margin: 0; padding: 0 16px 32px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }

/* Story pages */
.story-hero { position: relative; min-height: 82vh; background: var(--panel); display: flex; flex-direction: column; overflow: hidden; }
.story-hero .hero-media { z-index: 0; }
.story-title { max-width: 860px; margin: 0 auto; padding: 120px 16px 40px; text-align: center; }
.story-title h1 { margin: 0; font-weight: 400; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -.015em; }
.story-title .sub { margin: 32px auto 0; max-width: 620px; font-size: 20px; line-height: 1.6; color: #B9C1CA; }
.story { max-width: 1180px; margin: 0 auto; padding: 80px var(--gutter) 120px; display: flex; flex-direction: column; gap: 160px; }
.chapter { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 88px); align-items: center; }
.chapter.flip { flex-direction: row-reverse; }
.chapter.solo { flex-direction: column; align-items: stretch; gap: 40px; }
.chapter-text { flex: 1 1 360px; min-width: 0; max-width: 560px; }
.chapter.solo .chapter-text { max-width: 640px; flex: none; }
.chapter.solo figure { flex: none; }
.chapter-text .mono { margin: 0 0 16px; text-transform: uppercase; }
.chapter-text h2 { margin: 0 0 24px; font-weight: 400; font-size: 34px; line-height: 1.15; }
.chapter-text p { margin: 0 0 1em; font-size: 18px; line-height: 1.8; color: var(--text-soft); }
.chapter figure { flex: 1 1 420px; min-width: 0; margin: 0; }
figcaption { margin-top: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-dim); }
.fig-grid { display: grid; gap: 8px; }
.credits { margin: 0; max-width: 640px; font-family: var(--mono); font-size: 12px; line-height: 2; color: var(--text-dim); }

/* About page */
.about-hero { max-width: 760px; margin: 0 auto; padding: 72px 16px 96px; }
.about-hero .portrait { max-width: 480px; }
.about-hero h1 { margin: 56px 0 0; font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -.015em; }
.about-hero p { margin: 24px 0 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.55; color: #DCE2E8; }
.about-story { max-width: 680px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px) 140px; display: flex; flex-direction: column; gap: 72px; }
.about-story h2 { margin: 0 0 20px; font-weight: 400; font-size: 28px; line-height: 1.2; }
.about-story p { margin: 0; font-size: 18px; line-height: 1.85; color: var(--text-soft); }
.about-story figure { margin: 0; }

@media (max-width: 640px) {
  .about-teaser, .work, .upcoming, .appearances { padding-top: 96px; padding-bottom: 96px; }
  .story { gap: 96px; }
  .hero-title h1 { letter-spacing: .2em; padding-left: .2em; }
}
