/* ==========================================================================
   Dudes Music — Stylesheet (v2, design draft)
   Cool monochrome, minimal color steps: --bg / --fg / --gray + one hairline.
   No accent color. Hierarchy from scale, weight, whitespace, and image
   treatment (grayscale → color on hover) only.
   ========================================================================== */

:root{
  --bg:    #08090a;                    /* near-true black, cool-toned */
  --fg:    #f5f6f7;                    /* crisp off-white — high contrast vs. bg */
  --gray:  #8b8f95;                    /* single mid gray, cool-toned, secondary text only */
  --line:  rgba(245,246,247,0.13);     /* hairline divider, translucent */
  --line-strong: rgba(245,246,247,0.24);

  --container: 1280px;
  --gutter: clamp(24px, 6vw, 96px);
  --radius: 8px;

  --ff:   "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Display tier — hero headline only, not a general h1 (documented exception below) */
  --step-hero: clamp(3.2rem, 9vw, 8.4rem);

  /* Marketing type scale — used site-wide unless a page-scoped exception says otherwise */
  --step-h1:   clamp(2.2rem, 4.4vw, 3.2rem);
  --step-h2:   clamp(2.2rem, 5.4vw, 4.6rem);
  --step-h3:   clamp(1.3rem, 2.4vw, 1.9rem);
  --step-h4:   clamp(1.05rem, 1.6vw, 1.3rem);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

.container{
  width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow{
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.section{ padding: clamp(100px, 16vw, 220px) 0; }
.section-tight-top{ padding-top: clamp(60px, 10vw, 120px); }
.section-border-top{ border-top: 1px solid var(--line); }

.section-head{
  max-width: 820px;
  margin-bottom: clamp(64px, 9vw, 120px);
}

/* ---------- Global heading scale ----------
   Every h1/h2/h3/h4 on the site shares one size + weight + tracking for its
   level, so headings never drift between sections. Color and font-family are
   intentionally NOT set here — they inherit from context (e.g. the light
   .indie-panel flips text to dark), which is the one thing that's allowed to
   vary. Two documented, scoped exceptions to the size rule exist:
   1) .hero h1 — a one-off "display" tier bigger than a normal h1 (--step-hero).
   2) .legal-page h1/h2 — legal documents use a smaller, document-appropriate
      tier so an Impressum heading doesn't render at marketing-headline size.
   Both exceptions are self-contained below; nothing else should override
   heading size/weight/tracking per-component. */
h1{
  font-size: var(--step-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
h2{
  font-size: var(--step-h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h3{
  font-size: var(--step-h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h4{
  font-size: var(--step-h4);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.lede{
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--gray);
  max-width: 640px;
  font-weight: 400;
}

/* Spacing-only utility — never use inline styles to adjust heading margins */
.heading-gap-lg{ margin-bottom: 32px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 34px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid var(--fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}
.btn-primary{
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover{ transform: translateY(-2px); opacity: .88; }
.btn-ghost{
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover{ border-color: var(--fg); transform: translateY(-2px); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 12px 22px; font-size: 0.82rem; }

/* ---------- Header (minimal, no nav menu — one pager) ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(84px, 11vw, 112px);
}
.site-header.is-solid{
  background: rgba(8,9,10,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
}
.logo{ display: inline-flex; align-items: center; }
.logo-mark{
  height: clamp(20px, 2.6vw, 28px);
  width: auto;
}

/* Legal pages use a static (non-fixed) simple header */
.site-header.static{
  position: relative;
  background: var(--bg);
  border-bottom-color: var(--line);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-poster,
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* full color, nightlife grade — no grayscale on the hero */
  filter: saturate(1.2) contrast(1.08) brightness(0.82);
}
.hero-video{
  background: #000;
  opacity: 0;
  z-index: 1;
  /* crossfade between the two stacked <video> elements — see main.js.
     The next clip is fully preloaded into the hidden element before it's
     made active, so this fade-in never has to wait on buffering. */
  transition: opacity 0.7s ease;
}
.hero-video.is-active{ opacity: 1; }
@media (max-width: 700px){
  /* save bandwidth/battery on mobile — poster image carries the hero instead */
  .hero-video{ display: none; }
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,9,10,0.25) 0%, rgba(8,9,10,0.4) 55%, rgba(8,9,10,0.88) 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(64px, 9vw, 120px);
  padding-top: clamp(220px, 30vw, 320px);
}
.hero h1{
  font-size: var(--step-hero);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.94;
  max-width: 17ch;
}

/* ---------- Photo component (grayscale → color on hover) ---------- */
.photo{
  position: relative;
  overflow: hidden;
  background: #050506;
}
.photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
  transform: scale(1.001);
  transition: filter .6s ease, transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.photo:hover img,
.photo:focus-within img{
  filter: grayscale(0) saturate(1.45) contrast(1.05) brightness(1.12);
  transform: scale(1.05);
}
.photo-credit{
  position: absolute;
  right: 16px; bottom: 16px;
  font-family: var(--ff-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: rgba(245,246,247,0.5);
  opacity: 0;
  transition: opacity .3s ease;
}
.photo:hover .photo-credit{ opacity: 1; }

/* Always-on lowercase caption pinned to a photo — fritz-kola style label */
.photo-caption{
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(8,9,10,0.55);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--fg);
}
.photo-caption::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fg);
  flex-shrink: 0;
}

/* Small pill/sticker badge — e.g. under the hero headline */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  color: var(--fg);
  background: rgba(245,246,247,0.04);
}

/* ---------- Two-up split image block ---------- */
.split-media{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.split-media .photo{ aspect-ratio: 3 / 4; }

/* ---------- Tags (service labels — filled pill/chip) ---------- */
.tags-wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
}
.tag{
  display: inline-flex;
  align-items: center;
  padding: 15px 20px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Statement / big pull text ---------- */
.statement{
  max-width: 1060px;
}
.statement p{
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--fg);
}
.statement p + p{ margin-top: 40px; }
.statement .muted{ color: var(--gray); }

/* ---------- Independent split (full-bleed photo + headline | light statement panel) ---------- */
.indie-split{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  border-top: 1px solid var(--line);
}
.indie-media{
  position: relative;
  min-height: clamp(420px, 62vw, 720px);
}
.indie-media .photo{ position: absolute; inset: 0; }
.indie-headline{
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 5vw, 56px);
  z-index: 2;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--fg);
  text-transform: uppercase;
}
.indie-headline .accent{
  display: block;
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--fg);
}
.indie-panel{
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 72px);
}
.indie-panel p{
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.squiggle{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q 10 0, 20 5 T 40 5 T 60 5 T 80 5 T 100 5' stroke='%2308090a' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 30px 9px;
  padding-bottom: 7px;
}

/* ---------- Services split (statement + tags | full-bleed photo) ---------- */
.services-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  border-top: 1px solid var(--line);
}
.services-copy-col{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) var(--gutter);
}
.services-copy-col h2{
  max-width: 16ch;
  /* Never break inside a word (no auto-hyphenation, no mid-word wrap) —
     lines only wrap at spaces. */
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.services-media{ position: relative; min-height: 420px; }
.services-media .photo{ position: absolute; inset: 0; }

/* ---------- Founders ---------- */
/* Shorter top/bottom padding than the default .section, and a squarer
   (less tall/portrait) photo crop — the source photo is itself a square,
   so 1:1 shows it uncropped instead of stretching a tall sliver of it. */
#founders{ padding: clamp(64px, 9vw, 130px) 0; }
.founders-wrap{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.founders-media{ aspect-ratio: 1 / 1; }
.founders-list{ display: grid; gap: 0; }
.founder-row{
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.founder-row:last-child{ border-bottom: 1px solid var(--line); }
.founder-role{
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}
.founder-row p.bio{
  margin-top: 16px;
  color: var(--gray);
  font-size: 0.98rem;
  max-width: 46ch;
}
.placeholder-note{
  margin-top: 48px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--gray);
  border-left: 2px solid var(--line-strong);
  padding-left: 20px;
}

/* ---------- Submit CTA (split, image bleed) ---------- */
.submit-section{ border-top: 1px solid var(--line); }
.submit-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}
.submit-media{ position: relative; min-height: 420px; }
.submit-media .photo{ position: absolute; inset: 0; }
.submit-copy-col{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) var(--gutter);
}
.submit-copy-col h2{ max-width: 12ch; }
.submit-mini-list{ margin-top: 40px; display: grid; gap: 16px; }
.submit-mini-list li{
  font-size: 0.95rem;
  color: var(--gray);
  padding-left: 26px;
  position: relative;
}
.submit-mini-list li::before{
  content: "—";
  position: absolute; left: 0; color: var(--gray);
}

.submit-form{ margin-top: 56px; }

/* ---------- Form ---------- */
.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-field{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}
.form-field input,
.form-field select,
.form-field textarea{
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--fg);
  padding: 12px 0;
  font-family: var(--ff);
  font-size: 0.98rem;
  border-radius: 0;
}
.form-field textarea{ resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: none;
  border-color: var(--fg);
}
.form-consent{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 28px;
}
.form-consent input{ margin-top: 4px; }
.form-consent a{ text-decoration: underline; }
.form-status{
  margin-top: 20px;
  font-size: 0.88rem;
}
.form-status[data-state="success"]{ color: var(--fg); }
.form-status[data-state="error"]{ color: var(--gray); }

/* ---------- Footer (minimal) ---------- */
.site-footer{
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.footer-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--gray);
}
.footer-row a{ color: var(--gray); }
.footer-row a:hover{ color: var(--fg); }
.footer-legal-links{ display: flex; gap: 22px; flex-wrap: wrap; }
.cookie-settings-link{ cursor: pointer; }

/* ---------- Legal pages ---------- */
.legal-page{ padding: clamp(64px, 9vw, 120px) 0 140px; }
.legal-page .container{ max-width: 760px; }
.legal-page h1{ margin-bottom: 16px; } /* size/weight/tracking inherited from global h1 */
.legal-updated{ font-family: var(--ff-mono); color: var(--gray); font-size: 0.8rem; margin-bottom: 64px; }
/* Documented exception: legal-document subheadings use a smaller, document-
   appropriate tier instead of the huge global h2 (marketing section headers) —
   every h2 within .legal-page still shares this one size, so it's internally
   consistent, just a different, intentionally scoped tier. */
.legal-page h2{
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 56px;
  margin-bottom: 16px;
}
.legal-page p, .legal-page li{
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.75;
}
.legal-page p + p{ margin-top: 16px; }
.legal-page ul{ margin-top: 16px; display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.legal-page a{ text-decoration: underline; color: var(--fg); }
.legal-back{
  display: inline-block;
  margin-bottom: 56px;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--gray);
}
.legal-back:hover{ color: var(--fg); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .indie-split{ grid-template-columns: 1fr; }
  .indie-media{ min-height: 60vh; }
  .founders-wrap{ grid-template-columns: 1fr; }
  .founders-media{ aspect-ratio: 16/10; }
  .submit-wrap{ grid-template-columns: 1fr; }
  .submit-media{ min-height: 320px; }
  .services-split{ grid-template-columns: 1fr; min-height: 0; }
  .services-media{ min-height: 320px; order: -1; }
  .form-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .btn{ width: 100%; }
  .footer-row{ flex-direction: column; align-items: flex-start; }
  .site-header .btn{ width: auto; padding: 10px 16px; font-size: 0.76rem; }
  .split-media{ grid-template-columns: 1fr; }
  .split-media .photo{ aspect-ratio: 4 / 3; }
}
