/* ============================================================
   REVEL MEDIA — shared stylesheet
   Palette: night grade + Revel coral (#FF5A61). Gradient from logo.
   ============================================================ */

:root {
  --ink: #0a0d10;        /* page background */
  --panel: #12161b;      /* raised surfaces */
  --panel-2: #171c22;    /* hover surfaces */
  --line: #232a32;       /* hairlines */
  --bone: #eae6de;       /* primary text */
  --grey: #98a0a8;       /* secondary text */
  --amber: #ff5a61;      /* brand accent — CTAs, highlights (Revel coral) */
  --amber-dim: #e04d55;
  --tally: #ff5a61;      /* LIVE indicators — unified with brand coral */
  --grad: linear-gradient(100deg, #ff7855 0%, #ff5a61 100%); /* logo gradient */
  --font-display: "Anton", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

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

::selection { background: var(--amber); color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

h1, h2, h3 { font-weight: 400; }

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

h1.display { font-size: clamp(2.5rem, 5.8vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 4.5vw, 3.4rem); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 18px;
}

.lede { font-size: 1.2rem; color: var(--grey); max-width: 58ch; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid var(--amber);
  color: var(--amber);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn:hover { background: rgba(255, 90, 97, 0.1); text-decoration: none; }

.btn-solid { background: var(--grad); border-color: transparent; color: var(--ink); }
.btn-solid:hover { filter: brightness(0.92); color: var(--ink); }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.site-head .container {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--amber); padding: 0 2px; }
.brand-logo { height: 28px; width: auto; display: block; }
.site-foot .brand-logo { height: 24px; }

.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav a[aria-current="page"] { color: #fff; position: relative; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--amber);
}

.site-nav .nav-cta { display: none; }

.nav-item { position: relative; display: flex; align-items: center; height: 68px; }
.nav-item > a .caret { font-size: 0.6rem; }

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 200px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  z-index: 60;
}
.nav-item:hover .sub-menu,
.nav-item:focus-within .sub-menu { display: block; }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 6px; }
.sub-menu a:hover { background: var(--panel); }

.site-nav .nav-item > a.active { color: #fff; position: relative; }
.site-nav .nav-item > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--amber);
}

.head-cta { flex-shrink: 0; }

.btn-nav {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  padding: 12px 22px;
  border-radius: 8px;
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}
.btn-solid.btn-nav:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 30px -12px rgba(255, 90, 97, 0.8);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(52px, 8vh, 88px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(255, 90, 97, 0.07), transparent 60%),
    var(--ink);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 13, 16, 0.92) 0%, rgba(10, 13, 16, 0.6) 55%, rgba(10, 13, 16, 0.35) 100%),
    linear-gradient(to top, var(--ink) 0%, transparent 35%);
}

.hero-inner { position: relative; z-index: 2; }

.hero h1 { margin: 0 0 20px; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }

.hero .lede { margin-bottom: 28px; }

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

/* ---------- capability strip ---------- */

.cap-strip {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.cap-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  color: var(--grey);
}
.cap-strip span::before { content: "/ "; color: var(--amber); }

/* ---------- sections ---------- */

.section { padding: clamp(52px, 7vh, 84px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 38px; max-width: 720px; }
.section-head p { color: var(--grey); margin-top: 16px; }

/* ---------- pillars ---------- */

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.18s ease;
}
.pillar:hover { background: var(--panel-2); }

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pillar .tag { color: var(--grey); }
.pillar .tag.live { color: var(--tally); }
.pillar p { color: var(--grey); flex-grow: 1; }
.pillar a { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- work grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--bone);
  display: block;
}
.work-card:hover { text-decoration: none; }

.thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.thumb::after {
  /* film grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--bone);
  background: rgba(10, 13, 16, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.work-card:hover .play,
.work-card:focus-visible .play { opacity: 1; }

/* graded gradient thumbs per category */
.thumb.t-brand  { background: linear-gradient(135deg, #2e1a1b 0%, #14181d 60%, #0e1216 100%); }
.thumb.t-event  { background: linear-gradient(135deg, #1a2430 0%, #12161b 55%, #0d1013 100%); }
.thumb.t-live   { background: linear-gradient(135deg, #2c1518 0%, #171317 55%, #0e0d10 100%); }
.thumb.t-after  { background: linear-gradient(135deg, #20261c 0%, #14181b 55%, #0d1013 100%); }

.work-meta { padding: 20px 22px 24px; }
.work-meta .cat { color: var(--amber); display: block; margin-bottom: 10px; }
.work-meta .cat.live { color: var(--tally); }
.work-meta h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.work-meta p { color: var(--grey); font-size: 0.92rem; }

/* ---------- process (slate sequence) ---------- */

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.scene {
  border-top: 2px solid var(--line);
  padding-top: 26px;
}

.scene-list { list-style: none; margin-top: 10px; }
.scene-list li {
  color: var(--grey);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.scene-list li:last-child { border-bottom: none; }
.scene .mono { color: var(--amber); display: block; margin-bottom: 14px; }
.scene h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.scene p { color: var(--grey); font-size: 0.95rem; }

/* ---------- CTA band ---------- */

.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(255, 90, 97, 0.09), transparent 65%),
    var(--panel);
  text-align: center;
  padding: clamp(76px, 11vh, 130px) 24px;
}
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { color: var(--grey); max-width: 52ch; margin: 0 auto 36px; }

/* ---------- services page ---------- */

.page-hero {
  padding: clamp(48px, 7vh, 76px) 0 clamp(36px, 5vh, 56px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 20px; }

.page-hero.has-video {
  position: relative;
  overflow: hidden;
}
.page-hero.has-video .container { position: relative; z-index: 2; }

.svc-block { display: grid; grid-template-columns: 320px 1fr; gap: 48px; }

.svc-block > header h2 { margin-bottom: 16px; }
.svc-block > header p { color: var(--grey); }

.svc-list { display: grid; gap: 0; }

.svc {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { font-size: 1.05rem; font-weight: 600; }
.svc p { color: var(--grey); font-size: 0.95rem; }
.svc .deliver { display: block; margin-top: 10px; color: var(--amber-dim); }

.addons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.addons span {
  border: 1px solid var(--line);
  color: var(--grey);
  padding: 8px 14px;
}

/* ---------- portfolio filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--line);
  color: var(--grey);
  padding: 10px 18px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover { color: var(--bone); }
.filter-btn[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }

.work-card[hidden] { display: none; }

/* ---------- contact / booking form ---------- */

.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }

.quote-form { display: grid; gap: 22px; }

.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
}
.field label .req { color: var(--amber); }

.field input,
.field select,
.field textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--bone);
  color-scheme: dark;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  width: 100%;
}

.field input[type="date"] { cursor: pointer; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 0;
  border-color: var(--amber);
}
.field textarea { min-height: 150px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form-note { color: var(--grey); font-size: 0.9rem; }

.form-status {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 16px;
  border: 1px solid var(--line);
  display: none;
}
.form-status.ok { display: block; border-color: var(--amber); color: var(--amber); }
.form-status.err { display: block; border-color: var(--tally); color: var(--tally); }

.contact-side { display: grid; gap: 34px; }
.contact-side h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.contact-side p { color: var(--grey); font-size: 0.95rem; }
.contact-side .mono a { color: var(--bone); }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 54px 0 40px; }

.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grey);
  transition: color 0.15s ease;
}
.foot-nav a:hover { color: #fff; text-decoration: none; }

.foot-social { display: flex; align-items: center; gap: 6px; }
.foot-social a { color: var(--grey); display: block; padding: 10px; transition: color 0.15s ease; }
.foot-social a:hover { color: var(--amber); }
.foot-social svg { width: 20px; height: 20px; display: block; fill: currentColor; }

.foot-legal {
  color: var(--grey);
  font-size: 0.8rem;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- reveal on scroll ---------- */


/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .head-cta { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 6px 24px 18px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 13px 2px;
    font-size: 1rem;
    color: var(--bone);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .site-nav a[aria-current="page"] { color: var(--amber); }
  .site-nav a[aria-current="page"]::after { display: none; }

  .nav-item { position: static; display: block; height: auto; }
  .nav-item > a { display: block; }
  .site-nav .nav-item > a.active { color: var(--amber); }
  .site-nav .nav-item > a.active::after { display: none; }
  .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 0 4px 16px;
  }
  .sub-menu a { border-radius: 0; }
  .sub-menu a:hover { background: none; }

  .site-nav .nav-cta {
    display: block;
    margin-top: 14px;
    width: 100%;
    text-align: center;
    border-bottom: none;
    border-radius: 8px;
    color: var(--ink);
    padding: 13px 18px;
  }
}

@media (max-width: 900px) {
  .pillars, .process, .work-grid { grid-template-columns: 1fr 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .pillars, .process, .work-grid, .field-row { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 8px; }

  .hero { padding: 44px 0; }
  .page-hero { padding: 40px 0 32px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }

  .foot-grid { gap: 26px; }
  .foot-nav { gap: 4px 22px; }
  .foot-nav a { padding: 8px 0; display: inline-block; }
  .foot-legal { flex-direction: column; gap: 6px; }
  .hero-actions .btn { text-align: center; }
}

/* ---- Platform strip (home) ---- */
.platforms { padding: 30px 0; border-bottom: 1px solid var(--line); }
.platforms .container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.platforms .plat-label {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber); margin-right: 8px;
}
.chip {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--grey);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  white-space: nowrap;
}

/* ---- Package cards (weddings) ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pkg { background: var(--panel); border: 1px solid var(--line); padding: 30px 28px; position: relative; }
.pkg.popular { border-color: var(--amber); }
.pkg .tag {
  position: absolute; top: -13px; right: 20px; background: var(--grad); color: #fff;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.pkg .mono { color: var(--amber); display: block; margin-bottom: 12px; }
.pkg h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.7rem;
  letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 10px;
}
.pkg > p { color: var(--grey); font-size: 0.95rem; margin-bottom: 6px; }
.pkg .btn { margin-top: 22px; width: 100%; text-align: center; justify-content: center; }
@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr; }
}

/* ---- FAQ accordion ---- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; padding: 18px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); color: var(--amber);
  font-size: 1.25rem; flex-shrink: 0; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--grey); padding: 0 0 20px; max-width: 72ch; }

/* ---- Quote form success (contact) ---- */
.form-done { padding: 28px 0; }
.form-done h2 { font-size: 1.3rem; margin-bottom: 10px; }
.form-done p { color: var(--grey); max-width: 60ch; }
}
