/* ========================================= */
/* 0: FONT — Benguiat Pro ITC                */
/* ========================================= */
@font-face {
  font-family: "BenguiatProITC";
  src: url("BenguiatProITC-Medium.woff2") format("woff2"),
       url("BenguiatProITC-Medium.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  /* Choose ONE of these depending on the behavior you want */
  /* 1) No swap (blocks briefly, usually <200–400ms with WOFF2+preload) */
  font-display: block;
  /* Or 2) Instant text now, never swaps to brand font if it’s late
     (good if you hate any pop at all) */
  /* font-display: optional; */
}

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

:root {
  --bg: #000;
  --line: #262626;
  --text: #f5f5f5;
  scroll-padding-top: 64px; /* anchor offset for sticky header */
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: "BenguiatProITC", serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2 {
  font-family: "BenguiatProITC", serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.01em;
}

p {
  color: #eaeaea;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.placeholder {
  background: #121212;
  border: 1px solid var(--line);
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  border-radius: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========================================= */
/* BUTTONS                                   */
/* ========================================= */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
  color: #fff;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
}

.btn-ghost:hover {
  background: #101010;
}

/* Accessibility: Visual feedback for aria-label on focus */
.btn[aria-label] {
  position: relative;
}

.btn[aria-label]:focus::after {
  content: none;
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  font-size: 0.75rem;
  color: #ccc;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn[aria-label]:focus::after {
  opacity: 1;
}

/* Neutralize any fade classes (instant paint) */
.fade-in,
.fade-in.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ========================================= */
/* HEADER                                    */
/* ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  color: #000;
  border-bottom: 1px solid #eaeaea;
}

.header .header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: flex-start;   /* logo + nav in a row */
  align-items: center;
  gap: 80px;                     /* space between logo and nav */
}

.header .logo {
  font-size: 24px;               /* slightly bigger */
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000;
  white-space: nowrap;
}

.header .nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 400px;   /* ✅ shift nav to the right by 40px */
}

.header .nav a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;               /* slightly bigger for balance */
  line-height: 1.4;              /* helps with vertical alignment */
}

.header .nav a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .header .header-inner {
    padding: 6px 12px;
    gap: 16px;
    justify-content: center;     /* center logo when nav is hidden */
  }
  .header .logo {
    font-size: 20px;
  }
  .header .nav {
    display: none;               /* hide nav on small screens */
  }
}


/* ========================================= */
/* HERO                                      */
/* ========================================= */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #1d0f31 0%, rgba(0, 0, 0, 0) 60%), #000;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy p {
  margin-top: 0.7rem;
}

.subtext {
  color: #cfcfcf;
  font-style: italic;
}

.cta-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-media {
  height: 360px; /* your chosen fixed height for first paint */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f0f;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-media picture.img-wrap,
.hero-media picture.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    height: 260px;
  }
}

/* ========================================= */
/* LOGO SECTION                              */
/* ========================================= */
.logo-section {
  background: #fff;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-strip {
  display: block;
  height: clamp(80px, 12vw, 150px);
  width: auto;
  max-width: 92vw;
}

.logo-section picture.img-wrap,
.logo-section picture.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ========================================= */
/* OFFERINGS                                 */
/* ========================================= */

.offerings {
  background: linear-gradient(180deg, #020202 0%, #0a0a0a 100%);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch; /* NEW: make all cards equal height */
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 18px;       /* ✅ keep radius here */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

  display: flex;
  flex-direction: column;
}

.card-media {
  height: 220px;
  overflow: hidden;
  background: #0f0f0f;
  border-bottom: 1px solid var(--line);
  border-radius: 0;          /* ❌ remove radius here */
}



.card-media picture.img-wrap,
.card-media picture.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .card-media {
    height: 200px;
  }
}

.card-body {
  padding: 1.5rem;

  flex: 1; /* NEW: stretch body to push actions to bottom */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.price-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-alt {
  background: linear-gradient(135deg, #ff000d, #000);
  color: #fff;
  border: 1px solid #f7f7f7;
}

.card-body p {
  margin: 0.65rem 0;
}

.checklist {
  margin: 1rem 0 1.2rem 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.35rem 0;
  color: #e8e8e8;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #86ffb3;
  font-weight: 700;
}

.card-actions {
  margin-top: 0.8rem;
}

@media (max-width: 980px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-media {
    height: 180px;
  }

  .card-body {
    padding: 1.1rem;
  }

  .price-badges {
    gap: 0.35rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
}


/* ========================================= */
/* 3.95: EVENTS — IMAGE VISIBILITY SAFETY    */
/* ========================================= */
.events {
  background: linear-gradient(180deg,#050505 0%,#020202 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.events-inner { padding: 2rem 0; }
.events-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 1rem; }

.events-viewport { overflow: hidden; position: relative; width: 100%; }
.events-track { display: inline-flex; gap: 16px; width: max-content; }

/* Two strips side-by-side, then animate the parent left by 50% */
.events-strip { display: inline-flex; gap: 16px; }

.event-slide { flex: 0 0 auto; width: clamp(220px, 26vw, 320px); cursor: pointer; }
.event-slide img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform .25s ease;
}
.event-slide img:hover { transform: scale(1.04); }

/* 💡 CSS-only marquee animation */
@keyframes ev-marquee {
  0%   { transform: translateX(0);     }
  100% { transform: translateX(-50%); } /* move exactly one strip width */
}
.events-viewport .events-track {
  animation: ev-marquee 40s linear infinite;
  will-change: transform;
}

/* Pause animation on hover/focus for mouse/trackpad users */
@media (hover:hover) and (pointer:fine) {
  .events-viewport:hover .events-track,
  .events-viewport:focus-within .events-track {
    animation-play-state: paused;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .events-viewport .events-track { animation: none; }
}

/* Mobile spacing tweaks */
@media (max-width: 980px) {
  .events-inner { padding: 1.25rem 0; }
  .events-track, .events-strip { gap: 12px; }
  .event-slide { width: 70vw; } /* nice peek of next poster */
}

/* Safety: ensure posters are never invisible due to blur-up loaders */
.events .img-wrap { animation: none !important; background-image: none !important; }
.events .img-wrap > img {
  opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important;
}

/* ========================================= */
/* 3.951: EVENTS — CSS MARQUEE FALLBACK (opt)*/
/* ========================================= */
/* Use if you want posters to move even if JS dies.
   Activate by adding class "marquee-fallback" to .events-track in HTML. */
@keyframes events-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.events .events-track.marquee-fallback {
  display: flex;
  gap: 16px;            /* match your current gap */
  animation: events-marquee 40s linear infinite;
  will-change: transform;
}
@media (max-width: 980px) {
  .events .events-track.marquee-fallback { gap: 12px; }
}

/* ========================================= */
/* 3: OFFERINGS (SOLO / GROUP) — FIXED CORNERS */
/* ========================================= */
.offerings {
  background: linear-gradient(180deg, #020202 0%, #0a0a0a 100%);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 18px;
  overflow: hidden; /* children clip to same radius */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 220px;
  overflow: hidden;
  background: transparent; /* no halo behind images */
  border-radius: 18px 18px 0 0; /* match card */
  line-height: 0; /* avoid 1px gap */
}

.card-media picture.img-wrap,
.card-media picture.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit; /* match card-media */
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.price-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-alt {
  background: linear-gradient(135deg, #ff000d, #000);
  color: #fff;
  border: 1px solid #f7f7f7;
}

.card-body p {
  margin: 0.65rem 0;
}

.checklist {
  margin: 1rem 0 1.2rem 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.35rem 0;
  color: #e8e8e8;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #86ffb3;
  font-weight: 700;
}

.card-actions {
  margin-top: 0.8rem;
}

@media (max-width: 980px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-media {
    height: 180px;
  }

  .card-body {
    padding: 1.1rem;
  }

  .price-badges {
    gap: 0.35rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
}

/* ========================================= */
/* 3.9: OPEN DECKS — FIXED CORNERS            */
/* ========================================= */
.open-decks {
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.open-decks-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.open-decks-copy p {
  margin: 0.8rem 0;
}

.open-decks .checklist {
  margin: 1rem 0 1.2rem 0;
}

.open-decks-art {
  border-radius: 18px; /* match offerings */
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  height: 280px;
  aspect-ratio: 10 / 7;
  line-height: 0; /* avoid gap */
}

.open-decks-art picture.img-wrap,
.open-decks-art picture.img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit; /* consistent corners */
}

@media (max-width: 980px) {
  .open-decks-inner {
    grid-template-columns: 1fr;
  }
  .open-decks-art {
    order: -1;
    height: 220px;
    aspect-ratio: 10 / 7;
  }
}


/* ========================================= */
/* 4: FOOTER                                 */
/* ========================================= */
.footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  text-align: center;
}

.footer-socials {
  margin: 0.4rem 0 1rem 0;
}

.footer-socials a {
  color: #eaeaea;
  text-decoration: none;
  margin: 0 0.4rem;
}

.footer-socials a:hover {
  color: #fff;
}

/* ========================================= */
/* MOBILE PATCH PACK                         */
/* ========================================= */
@media (max-width: 980px) {
  .container {
    padding: 1.25rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .hero-media {
    height: 240px;
  }
  .hero .cta-row {
    gap: 0.6rem;
  }
  h1 {
    font-size: clamp(1.9rem, 6vw, 2.5rem);
  }
  h2 {
    font-size: clamp(1.2rem, 3.8vw, 1.6rem);
  }
  p {
    font-size: 0.98rem;
  }
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .card-media {
    height: 180px;
  }
  .card-body {
    padding: 1.1rem;
  }
  .price-badges {
    gap: 0.35rem;
  }
  .badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
  .footer {
    padding: 1rem;
  }
  .footer-socials a {
    margin: 0 0.35rem;
  }
}

@media (max-width: 420px) {
  .badge,
  .badge-alt {
    font-size: 0.75rem;
  }
  .hero-media {
    height: 200px;
  }
  .event-slide {
    width: 78vw;
  }
}

/* ================================================ /
/ MOBILE FRIENDLY VERSION — HEADER + QUICK ACTIONS /
/ (MOBILE ONLY; paste near end of your CSS file) /
/ ================================================ */

/* Hide the header nav on small screens and keep only the site title visible */
@media (max-width: 640px) {
  .header .nav { display: none !important; }
  .header .header-inner {
    justify-content: center; /* center the title for a clean mobile look */
  }
}

/* Mobile-only quick actions section (hidden on desktop by default) */
.mobile-quick { display: none; }

@media (max-width: 640px) {
  .mobile-quick {
    display: block;
    background: linear-gradient(180deg, #0b0b0b 0%, #060606 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .mobile-quick-inner {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    text-align: center;
  }
  .mobile-quick h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.45rem);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
  }
  .mobile-quick-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    justify-items: center;
  }
  .mobile-quick .btn {
    width: min(520px, 100%);
    text-align: center;
  }
}
/* ========================================= */
/* FORCE PAINT OVERRIDES (NO DEFER)          */
/* ========================================= */
.hero,
.logo-section,
.offerings,
.events,
.open-decks,
.footer {
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}

/* ========================================= */
/* BLUR-UP + SKELETON LOADERS                */
/* ========================================= */
.blur-up {
  filter: blur(12px);
  transform: scale(1.02);
  transition: filter 0.35s ease, transform 0.35s ease, opacity 0.25s ease;
}

.blur-up.is-loaded {
  filter: blur(0);
  transform: scale(1);
}

.img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0c0c0c;
  --shimmer: #111;
  --shine: #1a1a1a;
  background-image: linear-gradient(90deg, var(--shimmer), var(--shine), var(--shimmer));
  background-size: 300% 100%;
  animation: img-skeleton 1.2s linear infinite;
}

@keyframes img-skeleton {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

.img-wrap[data-ratio="3/2"] { aspect-ratio: 3/2; }
.img-wrap[data-ratio="4/3"] { aspect-ratio: 4/3; }
.img-wrap[data-ratio="3/4"] { aspect-ratio: 3/4; }
.img-wrap[data-ratio="10/7"] { aspect-ratio: 10/7; }
.img-wrap[data-ratio="8/1"] { aspect-ratio: 8/1; }
.img-wrap[data-ratio="16/9"] { aspect-ratio: 16/9; }

.img-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.04);
  transition: opacity 0.25s ease, filter 0.45s ease, transform 0.45s ease;
}

.img-wrap.is-loaded {
  animation: none;
  background-image: none;
}

.img-wrap.is-loaded > img {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* Support for picture elements */
picture.img-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

picture.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .blur-up,
  .img-wrap,
  .event-slide img {
    animation: none !important;
    transition: none !important;
    filter: none !important;
    transform: none !important;
  }
  .img-wrap.is-loaded > img {
    opacity: 1;
  }
}


/* ========================================= */
/* 0.6: GLOBAL — IMAGE VISIBILITY SAFETY     */
/* ========================================= */
/* Guarantees images become visible even if the blur-up class doesn't flip */
.img-wrap { 
  animation: none !important;
  background-image: none !important;
}
.img-wrap > img {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

/* ========================================= */
/* IG PREVIEW HINT (forces embed image)      */
/* ========================================= */
.ig-thumb-hint {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}

.ig-thumb-hint img {
  display: block;
  width: 1200px;   /* expose full size to scrapers */
  height: 630px;
}
