/* ===================================================
   PIZZITOLA HOLDINGS — STYLES
   Dark Luxury Design System
=================================================== */

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

:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dim:    rgba(201,168,76,0.15);
  --bg:          #0a0a0c;
  --bg-2:        #0f0f12;
  --bg-3:        #141418;
  --surface:     #16161b;
  --surface-2:   #1e1e25;
  --border:      rgba(255,255,255,0.07);
  --border-gold: rgba(201,168,76,0.25);
  --text-primary: #f0ede6;
  --text-mid:    #9c99918;
  --text-muted:  #6b6760;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ─── UTILITY ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-heading em {
  font-style: italic;
  color: var(--gold-light);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(10,10,12,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.nav-logo-p { color: #c0c0c0; }
.nav-logo-h { color: var(--gold); }

.nav-logo:hover { opacity: 0.75; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold-light); }

/* ─── HERO ─── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 32px 0;
  border-bottom: 1px solid var(--border);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  top: -80px;
  right: -60px;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(120,80,200,0.07) 0%, transparent 70%);
  bottom: -30px;
  left: -30px;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-20px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  padding-bottom: 60px;
  max-width: 560px;
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent);
  margin: 20px 0;
}

.hero-photo-wrap {
  flex: 0 0 auto;
  position: relative;
  align-self: flex-end;
  margin-bottom: -80px;
  margin-right: -32px;
}

#hero-photo {
  display: block;
  height: 68vh;
  max-height: 600px;
  min-height: 380px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 10%, black 85%, transparent 100%),
                      linear-gradient(to left, transparent 0%, black 8%);
  mask-image: linear-gradient(to top, transparent 0%, black 10%, black 85%, transparent 100%),
              linear-gradient(to left, transparent 0%, black 8%);
  -webkit-mask-composite: intersect;
  mask-composite: intersect;
  filter: drop-shadow(-8px 0 40px rgba(201,168,76,0.08));
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--text-primary);
  white-space: nowrap;
  margin-bottom: 10px;
}

.hero-name em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-company {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.35);
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(240,237,230,0.55);
  line-height: 1.75;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold-dim);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.btn-primary:hover {
  background: rgba(201,168,76,0.25);
  border-color: var(--gold);
  color: var(--gold-light);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── ABOUT ─── */
.about {
  padding: 140px 0;
  background: var(--bg-2);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.about-label {
  padding-top: 8px;
}

.about-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(240,237,230,0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 200;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ─── PORTFOLIO ─── */
.portfolio {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.portfolio-header {
  margin-bottom: 72px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ─── CARDS ─── */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s,
              box-shadow 0.4s;
  cursor: default;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Per-brand accent colors */
.card--streampros  { border-color: rgba(99,179,237,0.15); }
.card--streampros  .card-accent { background: linear-gradient(90deg, #4facfe, #00f2fe); }
.card--streampros:hover { border-color: rgba(79,172,254,0.4); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(79,172,254,0.08); }
.card--streampros  .card-industry { color: #4facfe; }

.card--mysterybreaks { border-color: rgba(240,147,251,0.15); }
.card--mysterybreaks .card-accent { background: linear-gradient(90deg, #f093fb, #f5576c); }
.card--mysterybreaks:hover { border-color: rgba(240,147,251,0.4); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(240,147,251,0.08); }
.card--mysterybreaks .card-industry { color: #f093fb; }

.card--allhands { border-color: rgba(79,209,149,0.15); }
.card--allhands  .card-accent { background: linear-gradient(90deg, #4fd994, #43e97b); }
.card--allhands:hover  { border-color: rgba(79,209,149,0.4); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(79,209,149,0.08); }
.card--allhands  .card-industry { color: #4fd994; }

.card--livepro { border-color: rgba(255,165,0,0.15); }
.card--livepro  .card-accent { background: linear-gradient(90deg, #f7971e, #ffd200); }
.card--livepro:hover  { border-color: rgba(255,165,0,0.4); box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(255,165,0,0.08); }
.card--livepro  .card-industry { color: #f7971e; }

.card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-logo {
  display: flex;
  align-items: center;
}

/* StreamPros — white SVG, transparent background */
.card-logo--svg {
  height: 28px;
}

.card-logo--svg img {
  height: 28px;
  width: auto;
  max-width: 160px;
  display: block;
  opacity: 0.92;
}

/* MysteryBreaks & live.pro — white background logos in tinted pill */
.card-logo--pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 10px;
  height: 44px;
}

.card-logo--pill img {
  max-height: 30px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
}

/* AllHands.ai — dark icon badge */
.card-logo--badge {
  height: 36px;
  width: 36px;
}

.card-logo--badge img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.card-industry {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.card-body {
  flex: 1;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.1;
}

.card-name-suffix {
  font-weight: 300;
  opacity: 0.6;
}

.card-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(240,237,230,0.55);
  line-height: 1.65;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(240,237,230,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.card:hover .card-link { color: var(--text-primary); }
.card:hover .card-link svg { transform: translateX(3px); }

.card-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(240,237,230,0.4);
  border: 1px solid var(--border);
}

/* ─── VISION BAND ─── */
.vision {
  padding: 120px 32px;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.vision::before, .vision::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.vision::before { top: 0; }
.vision::after  { bottom: 0; }

.vision-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.vision-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 24px;
}

.vision-author {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  font-style: normal;
  font-weight: 500;
}

/* ─── CONTACT ─── */
.contact {
  padding: 140px 0;
  background: var(--bg-2);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

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

.contact-text {
  margin-top: 28px;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(240,237,230,0.55);
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 40px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.contact-link:hover {
  border-color: var(--border-gold);
  background: var(--surface-2);
  transform: translateX(6px);
}

.contact-link-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-link-value {
  font-size: 0.95rem;
  color: rgba(240,237,230,0.75);
  font-weight: 300;
}

/* ─── FOOTER ─── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.footer-right {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-stats {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }

  .container { padding: 0 20px; }

  .hero { padding: 90px 20px 0; }

  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-text { max-width: 100%; padding-bottom: 0; }

  .hero-photo-wrap {
    margin-bottom: -80px;
    margin-right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #hero-photo { height: 55vw; min-height: 260px; max-height: 380px; }

  .hero-name { font-size: clamp(2.8rem, 12vw, 4rem); white-space: normal; }

  .about, .portfolio, .contact { padding: 100px 0; }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .nav-links { display: none; }
}
