/* White Hotel – whitehotel.no */
:root {
  --bg: #000;
  --bg-soft: #0d0d0d;
  --text: #fff;
  --muted: #d1d1d1;
  --dim: #8a8a8a;
  --accent: #ff6161;
  --line: rgba(255, 255, 255, .25);
  --font-display: Futura, "Futura PT", "Century Gothic", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Times New Roman", Times, Georgia, serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  max-width: 1400px; height: 100%; margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo img { width: 270px; height: auto; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; }
.nav a {
  text-decoration: none; font-size: 15px; color: var(--text);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--text); }
.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; color: #9a9a9a; transition: color .2s; }
.social a:hover { color: #fff; }
.social svg { width: 26px; height: 26px; fill: currentColor; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; stroke: currentColor; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: calc(100vh - var(--header-h));
  min-height: 420px;
  width: 100%;
  background: #000 url("../images/hero.jpg") center 78% / cover no-repeat;
}
.hero-mark {
  position: absolute; left: 50%; top: 8%; transform: translateX(-50%);
  width: clamp(130px, 24%, 340px); max-height: 38%; height: auto; opacity: .84;
}
.hero h1 { margin: 0; }

/* ---------- Promo strip (album + live) ---------- */
.promo {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #000;
}
.promo > * { aspect-ratio: 1 / 1; min-width: 0; }
.promo-img { overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-img.crop-top img { object-position: center bottom; }
.promo-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 12px; overflow: hidden; isolation: isolate;
  background: #000 center / cover no-repeat;
}
.promo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.72); }
.promo-card.dark { background-size: 260%; background-position: 50% 18%; }
.promo-card.dark::after { background: rgba(0,0,0,.78); }
.promo-card h2 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 300;
  font-size: clamp(18px, 1.7vw, 26px); line-height: 1.2; letter-spacing: .02em; color: var(--accent);
  text-transform: uppercase;
}
.promo-card p {
  margin: 0 0 16px; font-weight: 700; font-size: clamp(12px, 1vw, 16px); line-height: 1.75; text-transform: uppercase;
}
.btn {
  display: inline-block; padding: 7px 18px;
  border: 1px solid var(--accent); color: var(--accent);
  font-weight: 700; font-size: 14px; letter-spacing: .03em; text-decoration: none; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); color: #000; }

/* ---------- Video + Spotify ---------- */
.media { background: #000; padding: 40px 0; }
.videos {
  max-width: 1400px; margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.video { position: relative; aspect-ratio: 16 / 9; background: #111; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.spotify { max-width: 1400px; margin: 24px auto 0; padding: 0 16px; }
.spotify iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; }

/* ---------- Quotes carousel ---------- */
.quotes {
  position: relative; text-align: center; padding: 90px 80px 60px; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(ellipse at 75% 70%, rgba(255,255,255,.05), transparent 55%),
    linear-gradient(180deg, #2b2b2b, #161616);
}
.quotes-track { position: relative; max-width: 760px; margin: 0 auto; min-height: 190px; }
.quote {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
  margin: 0;
}
.quote.is-active { opacity: 1; visibility: visible; position: relative; }
.quote cite { display: block; font-style: normal; font-size: 15px; color: #e8e8e8; margin-bottom: 18px; }
.quote cite::after { content: ""; display: block; width: 30px; height: 1px; background: #888; margin: 18px auto 0; }
.quote blockquote {
  margin: 0; font-family: "Fahkwang", var(--font-body); font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55; color: #f0f0f0;
}
.quotes-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #ddd; cursor: pointer; padding: 12px;
}
.quotes-nav svg { width: 22px; height: 40px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.quotes-nav.prev { left: 50px; }
.quotes-nav.next { right: 50px; }
.quotes-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.quotes-dots button {
  width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: #888; cursor: pointer;
}
.quotes-dots button[aria-selected="true"] { background: #fff; }

/* ---------- Page intro (About) ---------- */
.page-intro { max-width: 980px; margin: 0 auto; padding: 80px 32px 70px; }
.page-intro .kicker { text-align: center; font-family: var(--font-display); font-size: 18px; margin: 0; }
.page-intro h1 {
  text-align: center; margin: 0 0 40px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 56px); line-height: 1.15;
}
.page-intro p { font-size: 15px; line-height: 1.75; margin: 0 0 1.4em; }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 40px 60px;
}
.split-text h2 {
  margin: 0 0 28px; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px);
}
.split-text p { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.9; }
.members { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 2; }

/* ---------- Gallery ---------- */
.gallery-wrap { max-width: 1400px; margin: 0 auto; padding: 40px 30px 60px; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; grid-auto-flow: dense; gap: 10px;
}
.gallery a { display: block; position: relative; overflow: hidden; background: #111; aspect-ratio: 1 / 1; }
.gallery a:nth-child(5n + 2) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.94);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 16px; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; text-align: center; padding: 70px 24px 50px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.82) 45%, rgba(0,0,0,.92) 100%),
    #000 url("../images/footer-bg.jpg") left center / cover no-repeat;
}
.site-footer h2 {
  margin: 0 0 28px; font-family: var(--font-serif); font-weight: 700; color: #9d9d9d;
  font-size: clamp(36px, 4.5vw, 56px); letter-spacing: .02em; text-transform: uppercase; line-height: 1.1;
}
.site-footer p { margin: 0; font-size: 14px; line-height: 1.75; }
.site-footer .contact-gap { margin-top: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .social { justify-content: center; margin: 34px 0 80px; }
.footer-logo { width: min(620px, 80%); margin: 0 auto; }
.copyright { margin-top: 40px !important; font-size: 12px !important; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .videos { grid-template-columns: 1fr; max-width: 900px; }
  .promo { grid-template-columns: repeat(2, 1fr); }
  .promo-card h2 { font-size: clamp(17px, 3.2vw, 28px); }
  .promo-card p { font-size: clamp(12px, 1.8vw, 16px); line-height: 1.5; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 0 20px; }
  .logo img { width: 190px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 24px;
    background: #000; padding: 30px 20px 40px; border-bottom: 1px solid rgba(255,255,255,.12);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: -1;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .nav a { font-size: 18px; }
  .hero { aspect-ratio: 4 / 3; min-height: 0; background-position: center 80%; }
  .hero-mark { top: 7%; }
  .split { grid-template-columns: 1fr; }
  .split .split-img { aspect-ratio: 4 / 3; }
  .split.reverse .split-text { order: 2; }
  .split-text { padding: 56px 24px; }
  .quotes { padding: 70px 50px 50px; }
  .quotes-nav.prev { left: 6px; }
  .quotes-nav.next { right: 6px; }
  .gallery-wrap { padding: 0 10px 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gallery a:nth-child(5n + 2) { grid-column: span 2; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
