@import url("../shared/fonts/fonts.css");

/* ============================================================================
   CONCEPT 2 - AFTER DARK
   "Nightlife" isn't the nightclub, it's the evening. The reception IS the
   nightlife, and this company literally sells the light. Lineage: voucher B.
   ========================================================================= */

:root {
  --night:   #101824;
  --night-2: #16202E;
  --night-3: #1C2839;
  --brass:   #A9834B;   /* 5.1:1 on --night - safe for body text            */
  --candle:  #D9A662;   /* 8.1:1 on --night                                 */
  --text:    #E9E4D8;   /* 14.0:1 on --night                                */
  --pewter:  #97A0AC;   /* 6.7:1 on --night                                 */
  --hair:    rgba(169, 131, 75, .28);

  --disp: "Cormorant Garamond", "Constantia", Georgia, serif;
  --body: Constantia, Georgia, "Times New Roman", serif;

  --gut: clamp(1.15rem, 5vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--candle); color: var(--night);
  padding: .85rem 1.25rem; font-family: var(--disp); font-size: .9rem;
  letter-spacing: .1em; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--candle); outline-offset: 3px; }

.wrap { max-width: 64rem; margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 44rem; margin-inline: auto; }

/* letterspaced real capitals - never a fake-small-caps switch */
.label {
  font-family: var(--disp); font-weight: 600;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--brass);
}

/* ---- masthead -----------------------------------------------------------*/
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 24, 36, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.bar-in {
  max-width: 64rem; margin-inline: auto; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.5rem;
}
.bar-mark {
  display: flex; align-items: center; min-height: 44px;
  font-family: var(--disp); font-weight: 600; font-size: .82rem;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; color: var(--text);
}
.bar-nav { display: none; gap: 1.3rem; }
.bar-nav a {
  display: flex; align-items: center; min-height: 44px; white-space: nowrap;
  font-family: var(--disp); font-weight: 600; font-size: .72rem;
  letter-spacing: .17em; text-transform: uppercase; text-decoration: none;
  color: var(--pewter); border-bottom: 1px solid transparent;
}
.bar-nav a:hover { color: var(--candle); border-bottom-color: var(--brass); }
.bar-call {
  display: flex; align-items: center; min-height: 44px; padding: .55rem 1rem;
  font-family: var(--disp); font-weight: 600; font-size: .74rem;
  letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
  color: var(--candle); border: 1px solid var(--hair); border-radius: 2px;
}
@media (min-width: 70rem) { .bar-nav { display: flex; } .bar-call { display: none; } }

/* ---- hero: the dark room, and the light coming up out of it -------------*/
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3.2rem, 12vw, 7rem) 0 clamp(3rem, 10vw, 5.5rem);
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 108%, #223047 0%, rgba(34,48,71,0) 62%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, #0C121B 100%);
}

/* the up-light fan: same equation as the voucher's burst, ported to SVG */
.fan {
  position: absolute; inset: auto 0 -2% 0; z-index: -1;
  width: 100%; height: min(78%, 34rem);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 82%, transparent 100%);
}
.fan line {
  stroke: var(--brass);
  stroke-width: 1.15;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation:
    beam-on 1.2s cubic-bezier(.16,.84,.44,1) forwards,
    breathe 60s ease-in-out 1.6s infinite;
  animation-delay: calc(var(--i) * 38ms), 1.6s;
}
@keyframes beam-on {
  from { opacity: 0; transform: scaleY(.35); }
  to   { opacity: var(--o); transform: scaleY(1); }
}
/* 60s loop, transform + opacity only - no layout, no paint storm */
@keyframes breathe {
  0%, 100% { opacity: var(--o);              transform: scaleY(1); }
  50%      { opacity: calc(var(--o) * .82);  transform: scaleY(1.035); }
}
.hero-glow {
  position: absolute; left: 50%; bottom: -14rem; z-index: -1;
  width: min(46rem, 120%); aspect-ratio: 1; translate: -50% 0;
  background: radial-gradient(circle, rgba(217,166,98,.16) 0%, rgba(217,166,98,0) 65%);
  pointer-events: none;
}

.mark { margin: 0; }
.mark-1 {
  display: block; font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.32rem, 6vw, 2.55rem); line-height: 1.2;
  letter-spacing: .1em; text-transform: uppercase; text-wrap: balance;
}
.mark-1 + .mark-1 { margin-top: .1rem; }
.mark-2 {
  display: block; margin-top: .75rem;
  font-family: var(--disp); font-weight: 400; font-style: italic;
  font-size: clamp(.95rem, 3.4vw, 1.22rem); letter-spacing: .13em;
  color: var(--candle);
}

.hero h1 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(2.1rem, 9.2vw, 4.25rem); line-height: 1.08;
  letter-spacing: -.005em; text-wrap: balance;
  margin: clamp(2rem, 7vw, 3.4rem) auto .1rem; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--candle); }
.hero .stand {
  color: var(--pewter); max-width: 46ch; margin: 1.5rem auto 0;
  font-size: clamp(1rem, 2.4vw, 1.1rem);
}

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: clamp(2rem, 6vw, 2.8rem);
  padding: .95rem 2.2rem;
  background: linear-gradient(180deg, var(--candle), var(--brass));
  color: #16110A; font-family: var(--disp); font-weight: 600;
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  box-shadow: 0 10px 30px -14px rgba(217,166,98,.75);
  transition: filter .2s, box-shadow .2s;
}
.cta:hover { filter: brightness(1.08); box-shadow: 0 12px 34px -12px rgba(217,166,98,.9); }
.cta-note { display: block; margin-top: .9rem; font-size: .9rem; color: var(--pewter); }

/* ---- sections -----------------------------------------------------------*/
section { padding: clamp(3rem, 10vw, 5.5rem) 0; position: relative; }
section + section { border-top: 1px solid var(--hair); }
.alt { background: var(--night-2); }

.lede { text-align: center; margin-bottom: clamp(2rem, 6vw, 3rem); }
.lede .label { display: block; margin-bottom: 1rem; }
.lede h2 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.75rem, 5.6vw, 2.9rem); line-height: 1.12; margin: 0;
  text-wrap: balance;
}
.lede h2 em { font-style: italic; color: var(--candle); }
.lede p { color: var(--pewter); max-width: 48ch; margin: 1rem auto 0; }

/* ---- credential strip ---------------------------------------------------*/
.record ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; text-align: center; }
.record li { padding: 1.2rem .5rem; border-bottom: 1px solid var(--hair); }
.record li:last-child { border-bottom: 0; }
.record b {
  display: block; font-family: var(--disp); font-weight: 600;
  font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1; color: var(--candle);
  font-variant-numeric: proportional-nums; letter-spacing: -.005em;
}
.record span {
  display: block; margin-top: .5rem; font-family: var(--disp); font-weight: 600;
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pewter);
}
@media (min-width: 46rem) {
  .record ol { grid-template-columns: repeat(4, 1fr); }
  .record li { border-bottom: 0; border-right: 1px solid var(--hair); }
  .record li:last-child { border-right: 0; }
}

/* ---- services -----------------------------------------------------------*/
.cards { display: grid; gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
@media (min-width: 44rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--night); padding: clamp(1.5rem, 4.5vw, 2.1rem);
  position: relative; overflow: hidden;
}
/* each card lit by a faint beam from below */
.card::after {
  content: ""; position: absolute; left: 50%; bottom: -60%;
  width: 130%; aspect-ratio: 1; translate: -50% 0; pointer-events: none;
  background: radial-gradient(circle, rgba(169,131,75,.14) 0%, rgba(169,131,75,0) 62%);
}
.card h3 {
  font-family: var(--disp); font-weight: 600; font-size: 1.22rem;
  line-height: 1.3; margin: .8rem 0 .55rem; position: relative;
}
.card p { margin: 0; color: var(--pewter); font-size: .98rem; position: relative; }
.card em { color: var(--candle); font-style: italic; }
.card .n {
  font-family: var(--disp); font-weight: 600; font-size: .68rem;
  letter-spacing: .26em; color: var(--brass); position: relative;
}

/* ---- signature: the evening, in order -----------------------------------*/
.timeline { position: relative; max-width: 46rem; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: .6rem; bottom: .6rem;
  width: 1px; background: linear-gradient(180deg,
    rgba(169,131,75,0), var(--brass) 12%, var(--brass) 88%, rgba(169,131,75,0));
}
.beat { position: relative; padding: 0 0 clamp(1.8rem, 5vw, 2.5rem) clamp(1.5rem, 5vw, 2.6rem); }
.beat:last-child { padding-bottom: 0; }
.beat::before {
  content: ""; position: absolute; left: -3.5px; top: .95rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--candle); box-shadow: 0 0 0 4px var(--night), 0 0 14px rgba(217,166,98,.8);
}
.alt .beat::before { box-shadow: 0 0 0 4px var(--night-2), 0 0 14px rgba(217,166,98,.8); }
.beat time {
  display: block; font-family: var(--disp); font-weight: 600;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass); font-variant-numeric: tabular-nums;
}
.beat h3 {
  font-family: var(--disp); font-weight: 400;
  font-size: clamp(1.35rem, 4.4vw, 1.75rem); line-height: 1.2; margin: .25rem 0 .45rem;
}
.beat p { margin: 0; color: var(--pewter); }

/* ---- duotone photography ------------------------------------------------
   Midnight/brass until you touch it, then the room lights up. */
.duo img {
  filter: grayscale(1) contrast(1.06) brightness(.78) sepia(.5) hue-rotate(-7deg) saturate(2.1);
  transition: filter .55s ease;
}
.duo:hover img, .duo:focus-visible img, .duo:active img { filter: none; }
/* one switch for the whole room - hover cannot be tapped */
.wall.lit .duo img { filter: none; }

/* ---- ticker + wall ------------------------------------------------------*/
.ticker-row {
  display: flex; align-items: stretch; gap: .6rem;
  margin-bottom: clamp(1.4rem, 4vw, 2rem);
}
.ticker {
  position: relative; overflow: hidden; flex: 1; min-width: 0;
  border-block: 1px solid var(--hair); padding: .85rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex; width: max-content; gap: 0;
  animation: slide 78s linear infinite;
}
.ticker.paused .ticker-track { animation-play-state: paused; }
.ticker-track > span {
  font-family: var(--disp); font-weight: 600; font-size: .82rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brass);
  white-space: nowrap; padding-right: 2.2rem;
}
.ticker-track > span i { color: var(--candle); font-style: normal; padding-left: 2.2rem; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ctrl {
  flex: none; min-width: 44px; min-height: 44px; padding: 0 .8rem;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--pewter);
  border: 1px solid var(--hair); border-radius: 2px; cursor: pointer;
  font-family: var(--disp); font-weight: 600; font-size: .64rem;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.ctrl:hover { color: var(--candle); border-color: var(--brass); }
.no-js .ctrl { display: none; }
.wall-ctrl { display: flex; justify-content: flex-end; margin-bottom: .8rem; }

.wall { display: grid; gap: .55rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .wall { grid-template-columns: repeat(3, 1fr); } }
.wall img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }

/* ---- venues -------------------------------------------------------------*/
.venues { list-style: none; margin: 0 auto; padding: 0; max-width: 42rem;
  display: grid; gap: 0; }
@media (min-width: 40rem) { .venues { grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; } }
.venues li {
  padding: .9rem 0; border-bottom: 1px solid var(--hair);
  font-family: var(--disp); font-size: 1.16rem;
}

/* ---- testimonials -------------------------------------------------------*/
.reviews { display: grid; gap: clamp(1rem, 3.5vw, 1.5rem); }
@media (min-width: 52rem) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review {
  margin: 0; background: var(--night-3); border: 1px solid var(--hair);
  padding: clamp(1.5rem, 5vw, 2.1rem); position: relative;
}
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 .9rem; }
.review blockquote p:last-of-type { margin-bottom: 0; }
.review .pull {
  font-family: var(--disp); font-style: italic;
  font-size: clamp(1.2rem, 3.6vw, 1.42rem); line-height: 1.4; color: var(--candle);
}
.review figcaption {
  margin-top: 1.3rem; padding-top: .9rem; border-top: 1px solid var(--hair);
  font-family: var(--disp); font-weight: 600; font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
}

/* ---- team ---------------------------------------------------------------*/
.team { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 58rem) { .team { grid-template-columns: repeat(5, 1fr); } }
.team figure { margin: 0; }
.team img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.mono {
  width: 100%; aspect-ratio: 4/5; display: grid; place-items: center;
  background: var(--night-3); border: 1px solid var(--hair);
  font-family: var(--disp); font-weight: 600; font-size: 2rem; color: var(--brass);
}
.team figcaption { margin-top: .65rem; }
.team .nm { display: block; font-family: var(--disp); font-size: 1.05rem; }
.team .rl {
  display: block; margin-top: .1rem; font-family: var(--disp); font-weight: 600;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pewter);
}

/* ---- V.O.G. reels -------------------------------------------------------*/
.reels { display: grid; gap: 1rem; }
@media (min-width: 44rem) { .reels { grid-template-columns: repeat(2, 1fr); } }
.reel {
  display: block; text-decoration: none; position: relative;
  border: 1px solid var(--hair); background: var(--night-3); padding: .5rem;
}
.reel img { aspect-ratio: 3/2; object-fit: cover; }
.reel span {
  display: flex; align-items: center; gap: .7rem; min-height: 44px;
  padding: .65rem .3rem 0; font-family: var(--disp); font-weight: 600;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--candle);
}
.reel span::before {
  content: ""; flex: none; width: 0; height: 0;
  border-left: 10px solid var(--candle);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}

/* ---- contact ------------------------------------------------------------*/
.contact-grid { display: grid; gap: clamp(1.8rem, 5vw, 3rem); }
@media (min-width: 46rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid h3 {
  font-family: var(--disp); font-weight: 600; font-size: .7rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--hair);
}
.big-tel {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(1.5rem, 6vw, 2.1rem); color: var(--candle);
  font-variant-numeric: tabular-nums; text-decoration: none; letter-spacing: .01em;
}
.mailto { display: inline-flex; align-items: center; min-height: 44px; word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; }
.hours th {
  text-align: left; font-weight: 400; padding: .55rem 0; color: var(--pewter);
  border-bottom: 1px solid var(--hair);
}
.hours td {
  text-align: right; padding: .55rem 0; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--hair);
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ---- footer -------------------------------------------------------------*/
footer { border-top: 1px solid var(--hair); padding: 2.8rem 0 3.6rem; text-align: center; }
footer .fm {
  font-family: var(--disp); font-weight: 600; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase;
}
footer .fs { margin: .8rem 0 0; font-size: .9rem; color: var(--pewter); }
.back {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem;
  font-family: var(--disp); font-weight: 600; font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--pewter);
}

/* ---- scroll reveal ------------------------------------------------------*/
.rise { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise.in { opacity: 1; transform: none; transition: none; }
  .fan line { opacity: var(--o); transform: none; animation: none; }
  .ticker-track { animation: none; transform: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track > span:nth-child(n+2) { display: none; }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
