:root {
  --bg: #050505;
  --panel: #0c0c0f;
  --line: rgba(82, 226, 255, 0.14);
  --text: #f4f4f6;
  --muted: #a9b0b8;
  --accent: #54e6ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(45, 134, 164, 0.15), transparent 24%),
    linear-gradient(180deg, #070707 0%, #020202 100%);
  color: var(--text);
}
img, video { display: block; width: 100%; }
.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.58));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
}
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  font-size: .76rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: .95;
  max-width: 720px;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}
.section h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.section-copy, .subsection p {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 780px;
  line-height: 1.65;
}
.subsection + .subsection { margin-top: 48px; }
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.large-grid .media-card img { height: 420px; }

.media-card, .story-card, .video-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.media-card img {
  height: 320px;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
  cursor: pointer;
}
.media-card:hover img,
.story-card:hover img { transform: scale(1.04); }
.titled-grid figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  background: rgba(3, 10, 16, 0.62);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .95rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}
.story-card { min-height: 260px; }
.story-card.wide { grid-row: span 2; min-height: 540px; }
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.68));
}
.story-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 1rem;
}

.salon-grid .media-card img { height: 280px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.video-card video {
  height: 330px;
  object-fit: cover;
  background: #000;
}
.last-section { padding-bottom: 110px; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.92);
  z-index: 1000;
}
.modal.is-open { display: flex; }

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; }
  .story-card.wide { grid-row: auto; min-height: 420px; }
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .wrap { width: min(100% - 28px, 1240px); }
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .media-card img, .large-grid .media-card img, .salon-grid .media-card img, .video-card video { height: 260px; }
  .hero { min-height: 76vh; }
  .hero-content { padding-bottom: 36px; }
  .modal { padding: 10px; }
  .modal-image,
  .modal-video {
    max-width: 98vw;
    max-height: 96vh;
    border-radius: 12px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
}


.story-card, .media-card, .video-card { cursor: pointer; }
.story-card::after { pointer-events: none; }
.story-label { pointer-events: none; }
.modal-image,
.modal-video {
  max-width: min(1320px, 98vw);
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
  background: #000;
}
.modal-video { display: none; }
.modal.show-image #modalImage { display: block; }
.modal.show-image #modalVideo { display: none; }
.modal.show-video #modalImage { display: none; }
.modal.show-video #modalVideo { display: block; }
.video-card video {
  cursor: pointer;
}


/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  filter: blur(2px);
  transition:
    opacity .28s ease-out,
    transform .28s ease-out,
    filter .28s ease-out;
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.section.reveal { transition-duration: .32s; }
.media-card.reveal,
.story-card.reveal,
.video-card.reveal,
.subsection.reveal {
  transition-duration: .24s;
}
