/* ==========================================================================
   WONDER SPACE — Master Stylesheet
   Event & Entertainment · Kuala Lumpur
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Brand palette */
  --navy:        #1B2A6B;
  --navy-dk:     #0F1A45;
  --navy-deeper: #0A1230;
  --gold:        #D4A93C;
  --gold-lt:     #E8C76B;
  --gold-soft:   #F4DF8A;
  --black:       #1A1A1A;
  --ink:         #2A2A2A;
  --muted:       #6B7280;
  --rule:        rgba(212, 169, 60, 0.35);
  --bone:        #F5F1E8;
  --bone-2:      #EFE9DA;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-w: 1240px;
  --gutter:      40px;
  --section-py:  120px;
  --radius-pill: 999px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Layout --- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 var(--gutter); }
.narrow    { max-width: 820px; margin: 0 auto; }
.section   { padding: var(--section-py) 0; }
.section--bone     { background: var(--bone); }
.section--bone-2   { background: var(--bone-2); }
.section--navy     { background: var(--navy-dk); color: var(--white); }
.section--navy-deeper { background: var(--navy-deeper); color: var(--white); }

/* --- Typography Utilities --- */
.serif { font-family: var(--font-display); }
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: ''; width: 32px; height: 2px; background: var(--gold);
}
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--dark { color: var(--gold-lt); }
.eyebrow--dark::before { background: var(--gold-lt); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--navy-dk);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 40px;
  max-width: 720px;
}
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title--light { color: var(--white); }
.section-title em { font-style: italic; color: var(--gold); font-weight: 500; }

.section-lead {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 640px;
  margin: -20px auto 70px;
}
.section-lead--light { color: rgba(255,255,255,0.6); }

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s, padding 0.35s, backdrop-filter 0.35s;
}
.nav.is-scrolled,
.nav--solid {
  background: rgba(15, 26, 69, 0.92);
  backdrop-filter: blur(12px);
  padding: 16px 40px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo  { width: 38px; height: 38px; }
.nav__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.18em;
}
.nav__links { display: flex; gap: 38px; align-items: center; list-style: none; }
.nav__links a {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
  padding: 6px 0;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--gold-lt); }
.nav__cta {
  border: 1px solid var(--gold);
  color: var(--gold-lt) !important;
  padding: 10px 22px !important;
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--gold); color: var(--navy-deeper) !important; }

.nav__toggle {
  display: none;
  width: 32px; height: 32px;
  position: relative;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  margin: 6px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 38px;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-deeper);
}
.btn--primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  border-color: var(--gold-lt);
  color: var(--gold-lt);
}
.btn--text {
  color: var(--white);
  padding: 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  font-weight: 500;
}
.btn--text:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.btn-arrow { font-size: 18px; }

/* --- HERO (full-bleed, dark, starry) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding: 120px 40px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212, 169, 60, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(82, 130, 220, 0.20), transparent 55%),
    linear-gradient(135deg, #0A1230 0%, #1B2A6B 50%, #0F1A45 100%);
}
.hero--short { min-height: 78vh; padding: 140px 40px 100px; }
.hero--portfolio { min-height: 90vh; align-items: flex-end; padding: 0 0 80px; text-align: left; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(212, 169, 60, 0.7), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 55% 15%, rgba(212, 169, 60, 0.5), transparent),
    radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 90% 75%, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--navy-deeper));
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 1000px; width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-lt);
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 36px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ''; width: 40px; height: 1px; background: var(--gold);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero__title em { font-style: italic; color: var(--gold-lt); font-weight: 300; }
.hero__sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 48px;
  font-weight: 300;
}
.hero--short .hero__sub,
.hero--portfolio .hero__sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  font-weight: 300;
}
.hero__cta-group {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  z-index: 3;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

/* Portfolio hero variant */
.hero--portfolio .hero__inner { text-align: left; max-width: var(--container-w); padding: 0 var(--gutter); }
.crumb {
  color: var(--gold-lt);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.crumb a { opacity: 0.85; }
.crumb a:hover { opacity: 1; }
.crumb-sep { opacity: 0.5; }
.hero--portfolio .hero__title { max-width: 900px; margin-bottom: 24px; }
.hero--portfolio .hero__sub { margin: 0; max-width: 640px; }

/* --- OPENING STATEMENT --- */
.opening {
  padding: 140px 0 100px;
  text-align: center;
  background: var(--bone);
}
.opening__rule {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.opening__text {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  color: var(--navy-dk);
  font-weight: 400;
  font-style: italic;
}
.opening__text strong { font-weight: 500; font-style: normal; color: var(--navy); }

/* --- PILLARS --- */
.pillars { padding: 100px 0 140px; background: var(--bone); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.pillar-card {
  background: var(--white);
  padding: 0 0 44px;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(15, 26, 69, 0.12);
}
.pillar-card__img {
  height: 280px;
  position: relative;
  overflow: hidden;
}
.pillar-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,26,69,0.4));
}
.pillar-card__body { padding: 36px 36px 0; }
.pillar-card__name {
  font-family: var(--font-display);
  color: var(--navy-dk);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.2;
}
.pillar-card__desc {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.pillar-card__link {
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.pillar-card:hover .pillar-card__link { color: var(--gold); }

/* Pillar image placeholders (CSS gradients) */
.pi-corporate {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(212,169,60,0.5), transparent 40%),
    radial-gradient(ellipse at 75% 70%, rgba(255,255,255,0.15), transparent 50%),
    linear-gradient(135deg, #1B2A6B, #0F1A45 60%, #2A3B85);
}
.pi-private {
  background:
    radial-gradient(circle at 50% 65%, rgba(244,223,138,0.35), transparent 45%),
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.1), transparent 40%),
    linear-gradient(135deg, #4A1F3F, #1B2A6B 70%);
}
.pi-concert {
  background:
    linear-gradient(180deg, transparent 50%, rgba(212,169,60,0.4) 51%, transparent 53%),
    linear-gradient(180deg, transparent 60%, rgba(255,255,255,0.2) 61%, transparent 62%),
    radial-gradient(ellipse at 50% 100%, rgba(212,169,60,0.6), transparent 50%),
    linear-gradient(135deg, #0A1230, #1B2A6B);
}

/* --- FEATURED WORK GRID --- */
.featured { padding: 120px 0; background: var(--navy-deeper); color: var(--white); overflow: hidden; }
.featured .section-title { color: var(--white); margin-bottom: 60px; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.work-tile {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}
.work-tile__img {
  position: absolute; inset: 0;
  transition: transform 0.6s;
}
.work-tile:hover .work-tile__img { transform: scale(1.06); }
.work-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 18, 48, 0.85));
}
.work-tile__meta {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  z-index: 2;
}
.work-tile__cat {
  color: var(--gold-lt);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.work-tile__name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

/* Work tile image placeholders */
.wt-1 { background: linear-gradient(135deg, #2A3B85, #0F1A45); }
.wt-2 { background: linear-gradient(135deg, #4A1F3F, #1B2A6B); }
.wt-3 { background: linear-gradient(135deg, #1B2A6B, #0A1230 60%, #D4A93C 130%); }
.wt-4 { background: linear-gradient(135deg, #0F1A45, #2A3B85); }
.wt-5 { background: linear-gradient(135deg, #2A3B85, #4A1F3F 80%); }
.wt-6 { background: linear-gradient(135deg, #1B2A6B, #2A3B85 70%, #D4A93C 140%); }

.featured__view-all {
  text-align: center;
  margin-top: 60px;
}
.featured__view-all a {
  color: var(--gold-lt);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}

/* --- "WE'RE PRODUCERS" SECTION --- */
.what { padding: 140px 0; background: var(--bone); }
.what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.what__img {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(212,169,60,0.5), transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(255,255,255,0.12), transparent 30%),
    linear-gradient(135deg, rgba(15,26,69,0.85), rgba(15,26,69,0.55)),
    linear-gradient(180deg, #1B2A6B, #0A1230);
  position: relative;
  overflow: hidden;
}
.what__img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(10,18,48,0.95), transparent);
}
.what__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 50px);
  color: var(--navy-dk);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 28px;
}
.what__title em { font-style: italic; color: var(--gold); font-weight: 500; }
.what__body {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.services-list {
  list-style: none;
  border-top: 1px solid rgba(15,26,69,0.12);
}
.services-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(15,26,69,0.12);
  color: var(--navy-dk);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.services-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- TESTIMONIAL --- */
.testimonial {
  padding: 140px 0;
  background: var(--bone-2);
  text-align: center;
}
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 28px;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.45;
  color: var(--navy-dk);
  font-weight: 400;
  font-style: italic;
  max-width: 880px;
  margin: 0 auto 36px;
}
.testimonial__attr {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.testimonial__attr strong { color: var(--navy); font-weight: 600; }

/* --- TRUST STRIP --- */
.trust {
  padding: 80px 0;
  background: var(--bone);
  border-top: 1px solid rgba(15,26,69,0.08);
}
.trust__label {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 500;
}
.trust__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust__logo {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 22px;
  font-weight: 500;
  opacity: 0.45;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}
.trust__logo--sans {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 16px;
  text-transform: uppercase;
}
.trust__logo:hover { opacity: 0.85; }

/* --- CLOSING CTA --- */
.closing {
  padding: 160px 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(212,169,60,0.18), transparent 50%),
    linear-gradient(135deg, var(--navy-deeper), var(--navy-dk) 60%, var(--navy));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 25% 35%, rgba(212,169,60,0.6), transparent),
    radial-gradient(1px 1px at 75% 65%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 50% 20%, rgba(212,169,60,0.4), transparent);
  pointer-events: none;
}
.closing__star {
  width: 28px; height: 28px;
  margin: 0 auto 28px;
  display: block;
  position: relative; z-index: 2;
}
.closing__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.closing__title em { font-style: italic; color: var(--gold-lt); font-weight: 300; }
.closing__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 50px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  position: relative; z-index: 2;
}
.closing .btn { position: relative; z-index: 2; }

/* --- FOOTER --- */
.footer {
  background: var(--navy-deeper);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(212,169,60,0.2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__brand .nav__name { color: var(--white); }
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-lt);
  font-size: 16px;
  margin-top: 16px;
}
.footer__h {
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; font-size: 14px; }
.footer__col a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--gold-lt); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* --- ABOUT PAGE: studio story --- */
.story { padding: 140px 0; background: var(--bone); }
.story__title-center {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--navy-dk);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 64px;
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story__img {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(212,169,60,0.45), transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(255,255,255,0.12), transparent 35%),
    linear-gradient(135deg, #1B2A6B, #0A1230);
  position: relative;
  overflow: hidden;
}
.img-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
.story__body p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 24px;
}
.story__body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 72px;
  float: left;
  line-height: 0.85;
  margin: 8px 14px 0 0;
  color: var(--gold);
  font-weight: 500;
}
.story__body p strong { color: var(--navy-dk); font-weight: 600; }

/* --- TEAM GRID --- */
.team { padding: 140px 0; background: var(--bone-2); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card { text-align: center; transition: transform 0.4s; }
.team-card:hover { transform: translateY(-6px); }
.team-card__avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.team-card__avatar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,26,69,0.5));
}
.team-card__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 400;
  z-index: 1;
  letter-spacing: 0.04em;
}
.av-1 { background: radial-gradient(circle at 50% 35%, rgba(212,169,60,0.35), transparent 45%), linear-gradient(135deg, #2A3B85, #0F1A45 70%); }
.av-2 { background: radial-gradient(ellipse at 40% 40%, rgba(244,223,138,0.3), transparent 45%), linear-gradient(135deg, #4A1F3F, #1B2A6B 80%); }
.av-3 { background: radial-gradient(circle at 60% 40%, rgba(212,169,60,0.32), transparent 45%), linear-gradient(135deg, #1B2A6B, #2A3B85); }
.av-4 { background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,0.18), transparent 40%), linear-gradient(135deg, #0A1230, #1B2A6B 70%); }
.team-card__name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy-dk);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 8px;
}
.team-card__role {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.team-card__blurb {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* --- PROCESS (5 STEPS) --- */
.process { padding: 140px 0; background: var(--navy-deeper); color: var(--white); position: relative; overflow: hidden; }
.process::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(212,169,60,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(82,130,220,0.15), transparent 50%);
  pointer-events: none;
}
.process .section-title { color: var(--white); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative; z-index: 2;
  border-top: 1px solid rgba(212,169,60,0.25);
  border-bottom: 1px solid rgba(212,169,60,0.25);
}
.step {
  padding: 50px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.step:last-child { border-right: none; }
.step__num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.2em;
}
.step__name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.step__desc {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.65;
}

/* --- CREDENTIALS --- */
.creds { padding: 100px 0; background: var(--bone); }
.creds__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(15,26,69,0.15);
  border-bottom: 1px solid rgba(15,26,69,0.15);
}
.cred {
  text-align: center;
  padding: 50px 24px;
  border-right: 1px solid rgba(15,26,69,0.08);
}
.cred:last-child { border-right: none; }
.cred__value {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 12px;
}
.cred__value sup {
  color: var(--gold);
  font-size: 28px;
  margin-left: 2px;
  vertical-align: top;
}
.cred__label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* --- METADATA BAR (portfolio detail) --- */
.meta-bar {
  background: var(--navy-deeper);
  color: var(--white);
  padding: 36px 0;
  border-top: 1px solid rgba(212,169,60,0.25);
  border-bottom: 1px solid rgba(212,169,60,0.25);
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px;
}
.meta-item {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}
.meta-item__label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 8px;
  font-weight: 600;
}
.meta-item__value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
}
.meta-item__value--sm {
  font-size: 15px;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  font-weight: 400;
}

/* --- CHAPTER (two-col case study sections) --- */
.chapter { padding: 120px 0; }
.chapter--bone { background: var(--bone); }
.chapter--bone-2 { background: var(--bone-2); }
.chapter__eyebrow {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chapter__eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--gold); }
.chapter__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--navy-dk);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 40px;
  max-width: 720px;
}
.chapter__body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 24px;
}
.chapter__body strong { color: var(--navy-dk); font-weight: 600; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.col-img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1B2A6B, #0A1230);
  position: relative;
  overflow: hidden;
}
.col-img--glow-gold::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(212,169,60,0.55), transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(255,255,255,0.15), transparent 35%);
}
.col-img--glow-cool::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 35% 65%, rgba(82,130,220,0.45), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(212,169,60,0.3), transparent 35%);
}
.col-img--glow-warm::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(244,223,138,0.4), transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(74,31,63,0.5), transparent 40%);
}
.col-img__tag {
  position: absolute;
  bottom: 24px; left: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
}

/* --- RESULT BAND (with big quote + metrics) --- */
.result-band {
  background: var(--navy-dk);
  color: var(--white);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(212,169,60,0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(82,130,220,0.15), transparent 50%);
}
.result-band .chapter__eyebrow { color: var(--gold-lt); justify-content: center; }
.result-band .chapter__eyebrow::before { background: var(--gold-lt); }
.big-quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 30px;
}
.big-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  max-width: 980px;
  margin: 0 auto 36px;
  position: relative; z-index: 2;
}
.big-quote__attr {
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  position: relative; z-index: 2;
}
.big-quote__attr strong { color: var(--gold-lt); font-weight: 600; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: relative; z-index: 2;
}
.metric {
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.metric:last-child { border-right: none; }
.metric__value {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold-lt);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
}
.metric__label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* --- GALLERY MOSAIC --- */
.gallery-section { padding: 140px 0; background: var(--bone); }
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 8px;
}
.gal {
  overflow: hidden;
  position: relative;
  transition: transform 0.5s;
}
.gal:hover { transform: translateY(-4px); }
.gal::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(15,26,69,0.3));
}
.gal-1 { grid-column: span 8; grid-row: span 4; background: linear-gradient(135deg, #1B2A6B, #2A3B85 50%, #0F1A45); }
.gal-1::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 30%, rgba(212,169,60,0.5), transparent 50%); }
.gal-2 { grid-column: span 4; grid-row: span 2; background: linear-gradient(135deg, #4A1F3F, #1B2A6B); }
.gal-2::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 60% 50%, rgba(244,223,138,0.35), transparent 50%); }
.gal-3 { grid-column: span 4; grid-row: span 2; background: linear-gradient(135deg, #0A1230, #2A3B85); }
.gal-3::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 80%, rgba(212,169,60,0.4), transparent 45%); }
.gal-4 { grid-column: span 4; grid-row: span 3; background: linear-gradient(135deg, #1B2A6B, #0F1A45 70%); }
.gal-4::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(212,169,60,0.4), transparent 50%); }
.gal-5 { grid-column: span 4; grid-row: span 3; background: linear-gradient(135deg, #2A3B85, #4A1F3F 80%); }
.gal-5::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, rgba(255,255,255,0.18), transparent 40%); }
.gal-6 { grid-column: span 4; grid-row: span 3; background: linear-gradient(135deg, #0F1A45, #1B2A6B); }
.gal-6::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 80%, rgba(212,169,60,0.5), transparent 45%); }
.gal-7 { grid-column: span 6; grid-row: span 3; background: linear-gradient(135deg, #1B2A6B, #2A3B85); }
.gal-7::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(212,169,60,0.35), transparent 55%); }
.gal-8 { grid-column: span 6; grid-row: span 3; background: linear-gradient(135deg, #4A1F3F, #0A1230 80%); }
.gal-8::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 60%, rgba(255,255,255,0.2), transparent 35%); }

/* --- SERVICE PILLS --- */
.services-band { padding: 100px 0; background: var(--bone-2); }
.services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.pill {
  background: var(--white);
  color: var(--navy-dk);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(15,26,69,0.12);
  letter-spacing: 0.04em;
}

/* --- NEXT PROJECT NAV --- */
.next-project {
  background: var(--navy-deeper);
  color: var(--white);
  padding: 100px 0;
}
.next-project__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.next-project__label {
  color: var(--gold-lt);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.next-project__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--white);
  font-weight: 400;
  line-height: 1.15;
  max-width: 560px;
}

/* --- SERVICES PAGE: vertical anchors --- */
.service-block {
  padding: 140px 0;
}
.service-block:nth-child(even) { background: var(--bone-2); }
.service-block:nth-child(odd) { background: var(--bone); }
.service-block .two-col { align-items: start; }
.service-included {
  list-style: none;
  margin: 24px 0;
}
.service-included li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,26,69,0.1);
  font-size: 16px;
  color: var(--navy-dk);
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-included li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  flex-shrink: 0;
}
.service-investment {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(212, 169, 60, 0.1);
  border-left: 3px solid var(--gold);
}
.service-investment__label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.service-investment__value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-dk);
  font-weight: 500;
}

/* --- PORTFOLIO INDEX --- */
.portfolio-index { padding: 100px 0 140px; background: var(--bone); }
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(15,26,69,0.18);
  color: var(--navy-dk);
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  display: block;
  background: var(--white);
  transition: transform 0.4s, box-shadow 0.4s;
  text-decoration: none;
  color: inherit;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 26, 69, 0.12);
}
.portfolio-card__img {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.portfolio-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(15,26,69,0.4));
}
.portfolio-card__body {
  padding: 28px 28px 32px;
}
.portfolio-card__cat {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.portfolio-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy-dk);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 6px;
}
.portfolio-card__meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.portfolio-card.is-hidden { display: none; }

/* --- CONTACT PAGE --- */
.contact-section { padding: 100px 0 140px; background: var(--bone); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form {
  background: var(--white);
  padding: 50px;
  border: 1px solid rgba(15,26,69,0.08);
}
.form-field {
  margin-bottom: 24px;
}
.form-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid rgba(15,26,69,0.12);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.form-checkbox input { width: auto; }
.form-submit { margin-top: 12px; }
.form-success,
.form-error {
  padding: 18px 24px;
  margin-bottom: 24px;
  font-size: 15px;
  display: none;
}
.form-success {
  background: rgba(212, 169, 60, 0.15);
  border-left: 3px solid var(--gold);
  color: var(--navy-dk);
}
.form-error {
  background: rgba(180, 50, 50, 0.08);
  border-left: 3px solid #B43232;
  color: #8B1F1F;
}
.form-success.is-visible,
.form-error.is-visible { display: block; }

.contact-info {
  padding-top: 20px;
}
.contact-info__h {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy-dk);
  margin-bottom: 16px;
  font-weight: 400;
}
.contact-info__p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-info__item {
  margin-bottom: 24px;
}
.contact-info__label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-info__value {
  font-size: 16px;
  color: var(--navy-dk);
  font-weight: 500;
}
.contact-info__value a {
  border-bottom: 1px solid rgba(212,169,60,0.5);
  transition: color 0.2s, border-color 0.2s;
}
.contact-info__value a:hover { color: var(--gold); border-color: var(--gold); }

/* --- 404 PAGE --- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 40px;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(212,169,60,0.18), transparent 50%),
    linear-gradient(135deg, #0A1230, #1B2A6B 60%, #0F1A45);
}
.error-page__inner { max-width: 600px; }
.error-page__num {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 300;
  color: var(--gold-lt);
  line-height: 1;
  margin-bottom: 24px;
}
.error-page__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 18px;
  font-weight: 400;
}
.error-page__title em { font-style: italic; color: var(--gold-lt); }
.error-page__sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-size: 17px;
}

/* --- BADGE / MOCKUP-LIKE (kept for dev use, hidden in prod) --- */
.mockup-note { display: none; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  :root { --section-py: 80px; --gutter: 28px; }
  .nav { padding: 16px 28px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy-deeper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform 0.4s;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 16px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .what__grid { grid-template-columns: 1fr; gap: 50px; }
  .two-col { grid-template-columns: 1fr; gap: 50px; }
  .two-col--reverse { direction: ltr; }
  .story__grid { grid-template-columns: 1fr; gap: 50px; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .step:nth-child(2) { border-right: 1px solid rgba(255,255,255,0.08); }
  .creds__row, .metrics, .meta-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cred:nth-child(2), .metric:nth-child(2) { border-right: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-form { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gal-1 { grid-column: span 6; }
  .gal-2, .gal-3, .gal-4, .gal-5, .gal-6 { grid-column: span 3; }
  .gal-7, .gal-8 { grid-column: span 6; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .work-grid, .team__grid, .portfolio-grid { grid-template-columns: 1fr; }
  .steps, .creds__row, .metrics, .meta-grid { grid-template-columns: 1fr; }
  .step:nth-child(n) { border-right: none; }
  .cred, .metric, .meta-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .cred { border-bottom: 1px solid rgba(15,26,69,0.08); }
  .cred:last-child, .metric:last-child { border-bottom: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; }
  .next-project__row { flex-direction: column; align-items: flex-start; }
}
