/* ============================================================
   PAAKHAUS — monochrome editorial landing page
   ============================================================ */

:root {
  --black: #000000;
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --bg-elev: #151515;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --white: #ffffff;
  --text: #f4f4f4;
  --muted: #9a9a9a;
  --muted-2: #6f6f6f;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--white); color: var(--black); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* logo always rendered white over dark surfaces */
.nav__logo, .hero__logo, .footer__logo { filter: invert(1); }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.6rem); text-transform: none; color: var(--white);
}
.section-lead {
  color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 56ch; margin-top: 20px;
}
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.section-head--center { text-align: center; margin-inline: auto; }

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section + .section { border-top: 1px solid var(--line-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 30px; border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid var(--white);
}
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 0.86rem; font-weight: 500; color: var(--muted);
  transition: color .2s var(--ease); position: relative;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  border: 1px solid var(--line); padding: 10px 20px; border-radius: var(--radius);
  color: var(--white) !important; font-family: var(--font-display); font-weight: 700;
  font-size: 0.74rem !important; letter-spacing: 0.12em; text-transform: uppercase;
}
.nav__cta:hover { background: var(--white); color: var(--black) !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav__toggle span { width: 24px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(8, 8, 8, 0.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  letter-spacing: -0.01em; padding: 10px; color: var(--text);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu__cta { margin-top: 18px; color: var(--muted) !important; font-size: 1rem !important; letter-spacing: 0.2em; text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: clamp(104px, 15vh, 160px) 0 80px; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(0,0,0,0.25), rgba(0,0,0,0.78) 70%, rgba(0,0,0,0.94)),
    linear-gradient(to top, var(--bg) 2%, transparent 35%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%;
  text-align: center;
}
.hero__eyebrow {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.34em;
  text-transform: uppercase; font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-bottom: 30px;
}
.hero__logo { width: min(680px, 82vw); height: auto; margin: 0 auto 30px; }
.hero__tagline {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: clamp(0.95rem, 2.2vw, 1.4rem); color: var(--white);
}
.hero__sub { max-width: 60ch; margin: 22px auto 0; color: rgba(255,255,255,0.78); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 16px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; background: var(--white); border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px);} 40% {opacity:1;} 80% {opacity:0; transform: translateY(10px);} 100%{opacity:0;} }

/* ============================================================
   ABOUT / STATEMENT
   ============================================================ */
.about { background: var(--bg); }
.statement {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18;
  font-size: clamp(1.6rem, 4.2vw, 3.1rem); color: var(--white); max-width: 1000px;
}
.statement em { font-style: normal; color: var(--muted-2); }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat { background: var(--bg-2); padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); text-align: center; }
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1; color: var(--white);
}
.stat__label { display: block; margin-top: 14px; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }

.reach { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 40px; }
.reach__title { color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.74rem; font-family: var(--font-display); font-weight: 700; }
.reach__list { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.reach__list li { color: var(--muted); font-size: 0.98rem; }
.reach__list strong { color: var(--white); font-family: var(--font-display); font-weight: 700; }

/* ============================================================
   WHAT WE DO
   ============================================================ */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.card {
  background: var(--bg); padding: clamp(28px, 3.4vw, 46px);
  display: flex; flex-direction: column; min-height: 280px;
  transition: background .3s var(--ease);
}
.card:hover { background: var(--bg-elev); }
.card__index { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--muted-2); letter-spacing: 0.1em; }
.card__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 18px 0 22px; color: var(--white);
}
.card__list { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.card__list li { color: var(--muted); font-size: 0.96rem; padding-left: 18px; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 1px; background: var(--muted-2); }

.card--cta { justify-content: space-between; text-decoration: none; }
.card--cta .card__index { font-size: 1.6rem; color: var(--muted); }
.card--cta:hover { background: var(--white); }
.card--cta:hover .card__index, .card--cta:hover .card__title, .card--cta:hover .card__cta-link { color: var(--black); }
.card__cta-link {
  margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
  display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 4px; width: fit-content;
}
.card--cta:hover .card__cta-link { border-color: var(--black); }

/* ============================================================
   EXPERIENCE / GALLERY
   ============================================================ */
.experience { padding-bottom: 0; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 6px;
  margin-top: clamp(32px, 5vw, 56px);
}
.gallery__item { overflow: hidden; position: relative; background: var(--bg-elev); cursor: pointer; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.12); opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }

/* ============================================================
   ARTISTS MARQUEE
   ============================================================ */
.artists { background: var(--bg-2); overflow: hidden; }
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; gap: 0; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem); color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.32); padding: 0 28px; line-height: 1.3;
  transition: color .3s var(--ease);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span:hover { color: var(--white); -webkit-text-stroke-color: var(--white); }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.artists__note { text-align: center; color: var(--muted); margin-top: 40px; }

/* ============================================================
   CASE STUDY
   ============================================================ */
.case { background: var(--bg); }
.case__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.case__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__highlights { margin-top: 28px; display: grid; gap: 14px; }
.case__highlights li { padding-left: 28px; position: relative; color: var(--text); font-size: 1.05rem; }
.case__highlights li::before { content: "—"; position: absolute; left: 0; color: var(--muted-2); }

/* ============================================================
   STORY
   ============================================================ */
.story { background: var(--bg-2); }
.story__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.story__text p { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--muted); }
.story__text p + p { margin-top: 24px; }
.story__text p:first-child { color: var(--text); }

/* ============================================================
   PARTNERS / VENUES
   ============================================================ */
.partners { background: var(--bg); }
.partners__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.partners__list li {
  border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft);
  padding: 22px 24px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text); transition: background .25s var(--ease), color .25s var(--ease);
}
.partners__list li:hover { background: var(--white); color: var(--black); }

/* ============================================================
   FUTURE
   ============================================================ */
.future { background: var(--bg-2); }
.future__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.future__grid li {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px); font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--white); letter-spacing: -0.01em;
  display: flex; align-items: flex-end; min-height: 130px; transition: background .3s var(--ease);
}
.future__grid li:hover { background: var(--bg-elev); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__loc { margin-top: 32px; color: var(--muted-2); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; }
.contact__form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.field input, .field select, .field textarea {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); padding: 14px 16px; font-family: inherit; font-size: 1rem; width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--white); background: #1a1a1a; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239a9a9a' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 0.92rem; min-height: 1.2em; }
.form-status.is-ok { color: #cfcfcf; }
.form-status.is-err { color: #ff6b6b; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); border-top: 1px solid var(--line-soft); padding-top: clamp(50px, 7vw, 80px); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; }
.footer__logo { height: 30px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; }
.footer__nav a { color: var(--muted); font-size: 0.9rem; transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--white); }
.footer__bar { border-top: 1px solid var(--line-soft); padding-block: 26px; }
.footer__bar p { color: var(--muted-2); font-size: 0.82rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.94); padding: 5vw; }
.lightbox img { max-width: 100%; max-height: 90vh; width: auto; object-fit: contain; }
.lightbox__close { position: absolute; top: 22px; right: 28px; font-size: 2.6rem; line-height: 1; color: #fff; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll span { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .case__inner, .story__inner, .contact__inner { grid-template-columns: 1fr; }
  .case__media { aspect-ratio: 16 / 10; max-height: 420px; }
  .future__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .work__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery__item--wide { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .future__grid { grid-template-columns: 1fr; }
  .reach__list { gap: 10px 24px; }
  .hero__actions .btn { width: 100%; }
}
