/* Planummm Public Artist Landing Page (/@slug) — Mobile-First Obsidian Design */
:root {
  --bg: #0D0E11;
  --surface: #14161C;
  --surface-elevated: #1A1D25;
  --border: #262934;
  --text: #FAFAFA;
  --text-muted: #A1A6B5;
  --accent: #FF4D2A;
  --accent-rgb: 255, 77, 42;
  --accent-ink: #FFFFFF;
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme='light'] {
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --surface-elevated: #ECEAE2;
  --border: #D7D4CA;
  --text: #141414;
  --text-muted: #57564F;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.al-body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
}

@media (min-width: 768px) {
  body.al-body {
    padding-bottom: 0;
  }
}

.al-skip,
.al-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;
}

.al-skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  z-index: 999;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  border-radius: 10px;
}

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

.al-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .al-container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.al-preview-banner {
  background: rgba(var(--accent-rgb), 0.14);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--text);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
}

.al-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.al-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.al-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  min-height: 44px;
}

.al-brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.65);
}

.al-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

@media (min-width: 820px) {
  .al-nav {
    display: flex;
  }
}

.al-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 150ms ease;
}

.al-nav-link:hover {
  color: var(--text);
}

.al-topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.14);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.al-topbar-cta:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Hero */
.al-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 68px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 960px) {
  .al-hero {
    padding: 84px 0 96px;
  }
}

.al-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.al-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: blur(2px) saturate(1.1);
}

.al-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(65% 75% at 75% 20%, rgba(var(--accent-rgb), 0.2), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 50%, transparent) 0%, var(--bg) 100%);
}

.al-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .al-hero-grid {
    grid-template-columns: 1.25fr 0.9fr;
    gap: 48px;
  }
}

.al-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.al-hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.al-hero-subtitle {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 56ch;
}

.al-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.al-hero-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.al-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buttons */
.al-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, opacity 140ms ease;
}

.al-btn:active {
  transform: scale(0.98);
}

.al-btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.28);
}

.al-btn-primary:hover {
  filter: brightness(1.06);
}

.al-btn-secondary {
  background: var(--surface-elevated);
  color: var(--text);
  border-color: var(--border);
}

.al-btn-secondary:hover {
  border-color: var(--accent);
}

.al-btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.al-btn-ghost:hover {
  border-color: var(--accent);
}

.al-btn-whatsapp {
  background: #16803C;
  color: #FFFFFF;
}

.al-btn-whatsapp:hover {
  background: #136B32;
}

.al-btn-full {
  width: 100%;
}

/* Sections */
.al-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .al-section {
    padding: 76px 0;
  }
}

.al-section-head {
  margin-bottom: 28px;
  max-width: 66ch;
}

.al-section-head-split {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .al-section-head-split {
    flex-direction: row;
    align-items: flex-end;
  }
}

.al-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.al-h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.al-lead {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* Social Proof */
.al-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 680px) {
  .al-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.al-metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.al-metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
}

.al-metric-label {
  font-size: 13px;
  color: var(--text-muted);
}

.al-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .al-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.al-quote-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.al-quote-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.al-quote-footer {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--text-muted);
}

.al-quote-footer strong {
  color: var(--text);
  font-size: 13px;
}

/* Store (Phase 2 ready) */
.al-store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .al-store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .al-store-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.al-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, transform 150ms ease;
}

.al-product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.al-product-media {
  aspect-ratio: 4 / 3;
  background: var(--surface-elevated);
  overflow: hidden;
}

.al-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.al-product-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}

.al-product-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
}

.al-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: auto;
  padding-top: 6px;
}

.al-product-price {
  font-weight: 700;
}

.al-product-stock {
  color: var(--text-muted);
}

/* Media Embeds */
.al-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .al-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.al-embed-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.al-embed-card iframe {
  width: 100%;
  border: 0;
  display: block;
}

.al-embed-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
}

.al-embed-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Shows */
.al-shows-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.al-show-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  transition: border-color 150ms ease;
}

@media (min-width: 720px) {
  .al-show-row {
    grid-template-columns: auto 1fr auto;
    padding: 20px 24px;
  }
}

.al-show-row:hover {
  border-color: var(--accent);
}

.al-show-date {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.al-show-month {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
}

.al-show-day {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.al-show-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.al-show-venue {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.al-show-title {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.al-show-action {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .al-show-action {
    grid-column: auto;
  }
}

/* About */
.al-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .al-about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
  }
}

.al-about-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.al-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.al-about-quote {
  margin: 14px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.al-about-body {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.al-about-tags {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.al-about-tags strong {
  color: var(--text);
}

/* Booking & Forms */
.al-booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 920px) {
  .al-booking-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
  }
}

.al-booking-details {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.al-detail-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.al-detail-value {
  font-size: 14px;
  font-weight: 600;
}

.al-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 640px) {
  .al-form-card {
    padding: 28px;
  }
}

.al-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .al-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.al-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.al-field input,
.al-field select,
.al-field textarea,
.al-newsletter-inputs input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
}

.al-field textarea {
  min-height: 96px;
  resize: vertical;
}

.al-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.al-form-feedback p {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.al-feedback-ok {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
}

.al-feedback-err {
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #FB7185;
}

/* Newsletter */
.al-newsletter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .al-newsletter-box {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 36px;
  }
}

.al-incentive {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--accent);
}

.al-newsletter-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 540px) {
  .al-newsletter-inputs {
    flex-direction: row;
  }
}

.al-privacy-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.al-empty-card {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-muted);
}

.al-empty-card p {
  margin: 0;
  font-size: 14px;
}

/* Footer */
.al-footer {
  padding: 38px 0 44px;
}

.al-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 768px) {
  .al-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.al-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.al-footer-brand span {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.al-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.al-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.al-footer-links a:hover {
  color: var(--accent);
}

.al-footer-credits {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .al-footer-credits {
    text-align: right;
  }
}

.al-made-with {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.al-made-with:hover {
  color: var(--text);
}

/* Mobile Sticky CTA (<= 62px height, <15% viewport) */
.al-mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transition: transform 180ms ease, opacity 180ms ease;
}

.al-mobile-sticky.is-hidden {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .al-mobile-sticky {
    display: none;
  }
}

/* Scroll Reveal */
.al-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.al-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .al-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Private / 404 Shell */
.al-private-shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.al-private-card {
  max-width: 520px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.al-private-actions {
  margin-top: 22px;
}
