/* =============================================
   C3POE — Soundscape Gradient Design System
   Theater of the Mind. Immersive audio technology.
   ============================================= */

:root {
  --midnight:    #050818;
  --midnight-2:  #0A0F2E;
  --violet:      #2B1A52;
  --violet-2:    #482078;
  --plum:        #6B2D8E;
  --bone:        #EDE6D6;
  --bone-dim:    rgba(237,230,214,0.72);
  --bone-faint:  rgba(237,230,214,0.45);
  --bone-line:   rgba(237,230,214,0.14);
  --gold:        #F4C26A;
  --gold-deep:   #D69E3F;
  --rose:        #FF8E9E;
  --muted:       #8D8597;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  background: var(--midnight);
  color: var(--bone);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* Soundscape gradient backdrop — fixed, parallax-like */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(107,45,142,0.45) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 75%, rgba(72,32,120,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(43,26,82,0.3) 0%, transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, #0E0C24 50%, var(--midnight) 100%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 22% 35%, rgba(244,194,106,0.9) 0.7px, transparent 1px),
    radial-gradient(circle at 58% 65%, rgba(244,194,106,0.9) 0.7px, transparent 1px),
    radial-gradient(circle at 78% 22%, rgba(244,194,106,0.9) 0.7px, transparent 1px);
  background-size: 90px 90px, 130px 130px, 100px 100px;
}
main, .nav, .footer { position: relative; z-index: 1; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; }

/* ============== TYPE ============== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.05;
  color: var(--bone);
}
h1 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); margin-bottom: 0.5em; }
h3 { font-size: 1.6rem; font-weight: 500; line-height: 1.2; margin-bottom: 0.5em; }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.04em; }

.italic { font-style: italic; }
.gold { color: var(--gold); }
.serif { font-family: 'Cormorant Garamond', serif; }

p { font-size: 1.05rem; color: var(--bone-dim); margin-bottom: 1em; line-height: 1.6; }

a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--bone); }

::selection { background: var(--gold); color: var(--midnight); }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.chapter {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chapter::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bone-line);
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,8,24,0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--bone-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1340px;
  margin: 0 auto;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand:hover { color: var(--gold); }
.brand .gold { color: var(--gold); }
.brand-mark { display: inline-flex; flex-shrink: 0; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-links a.active { color: var(--gold); }
.nav-links a:hover { color: var(--gold); }
.nav-links .cta-btn { margin-left: 10px; }

/* ============== BUTTONS ============== */
a.btn,
button.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--bone);
  color: var(--midnight) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  border: 1.5px solid var(--bone);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1.2;
  border-radius: 999px;
}
a.btn:hover,
button.btn:hover {
  background: var(--gold);
  color: var(--midnight) !important;
  border-color: var(--gold);
}
a.btn-ghost,
button.btn-ghost {
  background: transparent;
  color: var(--bone) !important;
  border: 1.5px solid var(--bone);
}
a.btn-ghost:hover,
button.btn-ghost:hover {
  background: var(--bone);
  color: var(--midnight) !important;
}
a.btn-gold,
button.btn-gold {
  background: var(--gold);
  color: var(--midnight) !important;
  border-color: var(--gold);
}
a.btn-gold:hover,
button.btn-gold:hover {
  background: var(--bone);
  color: var(--midnight) !important;
  border-color: var(--bone);
}
.cta-btn {
  padding: 10px 20px !important;
  font-size: 0.82rem !important;
}
.nav .cta-btn {
  background: var(--gold) !important;
  color: var(--midnight) !important;
  border-color: var(--gold) !important;
}
.nav .cta-btn:hover {
  background: var(--bone) !important;
  border-color: var(--bone) !important;
}

/* ============== HERO ============== */
.hero {
  padding: 100px 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  max-width: 1000px;
  margin: 0 auto 30px;
}
.hero .sub {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--bone-dim);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Animated soundwave */
.wave-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 80px;
  margin: 60px auto 0;
  max-width: 520px;
}
.wave-art .bar {
  width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--plum));
  border-radius: 4px;
  animation: wave 1.4s ease-in-out infinite;
}
.wave-art .bar:nth-child(1)  { height: 28%; animation-delay: 0s; }
.wave-art .bar:nth-child(2)  { height: 42%; animation-delay: 0.05s; }
.wave-art .bar:nth-child(3)  { height: 65%; animation-delay: 0.1s; }
.wave-art .bar:nth-child(4)  { height: 80%; animation-delay: 0.15s; }
.wave-art .bar:nth-child(5)  { height: 55%; animation-delay: 0.2s; }
.wave-art .bar:nth-child(6)  { height: 90%; animation-delay: 0.25s; }
.wave-art .bar:nth-child(7)  { height: 70%; animation-delay: 0.3s; }
.wave-art .bar:nth-child(8)  { height: 100%; animation-delay: 0.35s; }
.wave-art .bar:nth-child(9)  { height: 80%; animation-delay: 0.4s; }
.wave-art .bar:nth-child(10) { height: 55%; animation-delay: 0.45s; }
.wave-art .bar:nth-child(11) { height: 90%; animation-delay: 0.5s; }
.wave-art .bar:nth-child(12) { height: 70%; animation-delay: 0.55s; }
.wave-art .bar:nth-child(13) { height: 80%; animation-delay: 0.6s; }
.wave-art .bar:nth-child(14) { height: 42%; animation-delay: 0.65s; }
.wave-art .bar:nth-child(15) { height: 65%; animation-delay: 0.7s; }
.wave-art .bar:nth-child(16) { height: 100%; animation-delay: 0.75s; }
.wave-art .bar:nth-child(17) { height: 55%; animation-delay: 0.8s; }
.wave-art .bar:nth-child(18) { height: 80%; animation-delay: 0.85s; }
.wave-art .bar:nth-child(19) { height: 65%; animation-delay: 0.9s; }
.wave-art .bar:nth-child(20) { height: 42%; animation-delay: 0.95s; }
.wave-art .bar:nth-child(21) { height: 28%; animation-delay: 1s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============== SECTION ============== */
.section { padding: 100px 0; position: relative; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-head h2 { flex: 1; min-width: 280px; margin-bottom: 0; }
.section-head .lead {
  max-width: 440px;
  font-size: 1.05rem;
  color: var(--bone-dim);
}
.section-head .view-all {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.section-head .view-all:hover { color: var(--bone); border-color: var(--bone); }

/* ============== FEATURE BLOCKS ============== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--bone-line);
}
.feature-row.reverse > :first-child { order: 2; }
.feature-row h2 { margin-bottom: 18px; }
.feature-row p { font-size: 1.05rem; margin-bottom: 1.2em; }
.feature-visual {
  aspect-ratio: 5/4;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bone-line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(244,194,106,0.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(107,45,142,0.35), transparent 55%);
  filter: blur(20px);
}
.feature-visual svg, .feature-visual .art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 100%;
}
.feature-visual .label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
  z-index: 2;
}

/* ============== CARDS ============== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--bone-line);
  padding: 36px 32px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(244,194,106,0.4);
  transform: translateY(-3px);
}
.card .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.card p { color: var(--bone-dim); margin-bottom: 0; font-size: 0.98rem; }

/* ============== EXPERIENCE / AUDIO PLAYER ============== */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.audio-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bone-line);
  padding: 24px 28px;
  transition: all 0.2s;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.audio-card:hover {
  border-color: rgba(244,194,106,0.4);
  background: rgba(255,255,255,0.045);
}
.audio-card .meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.audio-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.audio-card .dur {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--bone-faint);
  letter-spacing: 0.1em;
}
.audio-card audio {
  width: 240px;
  height: 36px;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7);
}

/* ============== CATALOG ============== */
.catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.catalog-item {
  display: flex;
  flex-direction: column;
}
.catalog-item .cover {
  aspect-ratio: 1;
  background: var(--midnight-2);
  border: 1px solid var(--bone-line);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.catalog-item:hover .cover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.catalog-item .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.catalog-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.catalog-item .links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.catalog-item .links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 11px;
  border: 1px solid var(--bone-line);
  background: transparent;
  color: var(--bone);
  transition: all 0.15s;
}
.catalog-item .links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--midnight);
}

/* ============== STATS ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--bone-line);
  border-bottom: 1px solid var(--bone-line);
  margin: 60px 0;
}
.stat-cell {
  padding: 38px 24px;
  border-right: 1px solid var(--bone-line);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-cell .num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3.8rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 400;
}
.stat-cell .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-top: 12px;
}

/* ============== CTA STRIP ============== */
.cta-strip {
  background: linear-gradient(135deg, rgba(107,45,142,0.45), rgba(72,32,120,0.2));
  border-top: 1px solid var(--bone-line);
  border-bottom: 1px solid var(--bone-line);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-strip::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(244,194,106,0.18), transparent 65%);
  filter: blur(60px);
}
.cta-strip .wrap { position: relative; z-index: 1; max-width: 760px; }
.cta-strip h2 { margin-bottom: 22px; }
.cta-strip p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 32px; }
.cta-strip .hero-cta { justify-content: center; }

/* ============== PAGE HEADER ============== */
.page-header {
  padding: 90px 0 40px;
  border-bottom: 1px solid var(--bone-line);
}
.page-header h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); margin-bottom: 22px; max-width: 920px; line-height: 1.02; }
.page-header p { font-size: 1.18rem; color: var(--bone-dim); max-width: 740px; }
.page-header .breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 24px;
}

/* ============== FORM ============== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.form-aside h3 { margin-bottom: 14px; font-size: 1.9rem; }
.form-aside p { font-size: 1rem; }
.form-aside ul { list-style: none; margin: 28px 0; }
.form-aside li {
  padding: 18px 0;
  border-top: 1px solid var(--bone-line);
}
.form-aside li:last-child { border-bottom: 1px solid var(--bone-line); }
.form-aside li strong {
  display: block;
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-aside li span { color: var(--bone-dim); font-size: 0.95rem; line-height: 1.5; }

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bone-line);
  padding: 44px 40px;
  position: relative;
  backdrop-filter: blur(10px);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--bone-line);
  padding: 10px 0;
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field select option { background: var(--midnight-2); color: var(--bone); }
.field textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.field .hint { font-size: 0.85rem; color: var(--bone-faint); margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hp { position: absolute; left: -10000px; }
.contact-form button.btn { display: block; width: 100%; margin-top: 12px; }

/* ============== FOOTER ============== */
.footer {
  background: rgba(5,8,24,0.6);
  border-top: 1px solid var(--bone-line);
  padding: 70px 0 28px;
  backdrop-filter: blur(20px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer .brand { margin-bottom: 18px; display: inline-flex; }
.footer-brand p { font-size: 0.95rem; max-width: 360px; color: var(--bone-faint); }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--bone-line);
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--bone-faint);
}
.socials { display: flex; gap: 10px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--bone-line);
  color: var(--bone);
  text-decoration: none;
  transition: all 0.15s;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--midnight);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .catalog { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.four { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--bone-line); }
}
@media (max-width: 768px) {
  .nav-inner { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.cta-btn) { display: none; }
  .wrap { padding: 0 20px; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 70px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 50px 0; }
  .feature-row.reverse > :first-child { order: 0; }
  .catalog { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .cards-grid, .cards-grid.two, .cards-grid.four { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .audio-card { grid-template-columns: 1fr; gap: 12px; }
  .audio-card audio { width: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .wave-art { max-width: 320px; height: 60px; gap: 4px; }
  .wave-art .bar { width: 3px; }
}
@media (max-width: 480px) {
  .catalog { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--bone-line); }
  .stat-cell:last-child { border-bottom: none; }
}
