/* ============================================
   ONENESS STUDIO — Global Stylesheet
   Dark cinematic. Sacred. Borderless.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Sora:wght@200;300;400;500;600&display=swap');

:root {
  --amber:       #D4903C;
  --amber-light: #E8B36A;
  --amber-dark:  #A86E24;
  --copper:      #B87348;
  --black:       #0A0A08;
  --black-warm:  #12110E;
  --black-mid:   #1C1A16;
  --black-soft:  #252320;
  --ivory:       #F2EDE4;
  --ivory-dim:   #D8D2C6;
  --stone:       #8A857A;
  --clay:        #6B6358;
  --deep-red:    #6B2828;
  --terracotta:  #9E5A3C;
  --olive:       #4A5238;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Sora', 'Segoe UI', sans-serif;

  --section-pad: clamp(70px, 11vw, 160px);
  --container-max: 1240px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ============================================
   GRAIN OVERLAY
   ============================================ */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  transition: background 0.5s, backdrop-filter 0.5s;
}
.site-nav.scrolled {
  background: rgba(10, 10, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.4s;
}
.site-nav.scrolled .nav-inner { height: 64px; }

.nav-logo {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ivory);
  letter-spacing: 0.06em;
}
.nav-logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--amber-light); }

.nav-cta {
  border: 1px solid rgba(212, 144, 60, 0.4);
  color: var(--amber) !important;
  padding: 10px 28px;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--amber);
  color: var(--black) !important;
  border-color: var(--amber);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 85vw);
    flex-direction: column;
    background: var(--black-warm);
    padding: 110px 40px 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-expo);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 16px; color: var(--ivory-dim); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 45%, rgba(212, 144, 60, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(158, 90, 60, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 35% 40% at 85% 20%, rgba(107, 40, 40, 0.05) 0%, transparent 50%),
    linear-gradient(175deg, #0A0A08 0%, #0E0D0A 40%, #12100C 100%);
}

/* Animated sound wave lines */
.hero-waves {
  position: absolute; inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.12;
}
.hero-waves .wave {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 30%, var(--amber) 70%, transparent 100%);
  animation: waveShift 6s ease-in-out infinite;
}
@keyframes waveShift {
  0%, 100% { transform: scaleX(0.3); opacity: 0.3; }
  50% { transform: scaleX(1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 920px;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 300;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.3s var(--ease-expo) forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 9vw, 120px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ivory);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.2s 0.5s var(--ease-expo) forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--stone);
  font-weight: 300;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 1.2s 0.7s var(--ease-expo) forwards;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s 0.9s var(--ease-expo) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.3s var(--ease-expo) forwards;
}
.hero-scroll .pulse {
  width: 24px; height: 24px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 0; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 42px;
  transition: all 0.4s var(--ease-expo);
}
.btn-amber {
  background: var(--amber);
  color: var(--black);
}
.btn-amber:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 144, 60, 0.25);
}
.btn-ghost {
  border: 1px solid rgba(242, 237, 228, 0.15);
  color: var(--ivory-dim);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

/* ============================================
   SECTION TYPOGRAPHY
   ============================================ */
.s-label {
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  margin-bottom: 16px;
}
.s-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 24px;
}
.s-title em {
  font-style: italic;
  color: var(--amber);
}
.s-desc {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--stone);
  line-height: 1.65;
  max-width: 640px;
  font-weight: 300;
}

/* Light section overrides */
.light-section { background: var(--ivory); }
.light-section .s-title { color: var(--black); }
.light-section .s-desc { color: var(--clay); }
.light-section .s-label { color: var(--amber-dark); }

/* ============================================
   THE GAP SECTION
   ============================================ */
.gap-section {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--black-warm);
}
.gap-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,144,60,0.2), transparent);
}
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.gap-problems {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.gap-item {
  padding: 28px;
  border-left: 2px solid rgba(212,144,60,0.2);
  transition: border-color 0.3s, background 0.3s;
}
.gap-item:hover {
  border-color: var(--amber);
  background: rgba(212,144,60,0.03);
}
.gap-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 8px;
}
.gap-item p {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.65;
}

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

/* ============================================
   HUB & NODES SECTION
   ============================================ */
.network-section {
  padding: var(--section-pad) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.network-section::after {
  content: '';
  position: absolute;
  bottom: -300px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,144,60,0.04) 0%, transparent 70%);
}
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: clamp(48px, 5vw, 72px);
}
.node-card {
  background: var(--black-mid);
  border: 1px solid rgba(242,237,228,0.04);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-expo), border-color 0.4s;
}
.node-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,144,60,0.25);
}
.node-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 2px;
  background: var(--amber);
  opacity: 0.6;
}
.node-flag {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 400;
  margin-bottom: 12px;
}
.node-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ivory);
  margin-bottom: 12px;
}
.node-card p {
  font-size: 16px;
  color: rgba(242,237,228,0.5);
  line-height: 1.65;
}

/* ============================================
   WHAT WE PRODUCE
   ============================================ */
.produce-section {
  padding: var(--section-pad) 0;
  background: var(--black-warm);
}
.produce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 5vw, 72px);
}
.produce-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(242,237,228,0.04);
  transition: border-color 0.3s, background 0.3s;
}
.produce-item:hover {
  border-color: rgba(212,144,60,0.2);
  background: rgba(212,144,60,0.02);
}
.produce-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: rgba(212,144,60,0.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}
.produce-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ivory);
  margin-bottom: 8px;
}
.produce-item p {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.65;
}

/* ============================================
   REVENUE / MODEL
   ============================================ */
.revenue-section {
  padding: var(--section-pad) 0;
  background: var(--black);
}
.revenue-streams {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 5vw, 72px);
}
.stream-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(242,237,228,0.04);
  transition: all 0.4s var(--ease-expo);
}
.stream-card:hover {
  border-color: rgba(212,144,60,0.3);
  transform: translateY(-3px);
}
.stream-card .stream-icon {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
  color: var(--amber);
  opacity: 0.7;
}
.stream-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ivory);
  margin-bottom: 6px;
}
.stream-card p {
  font-size: 14px;
  color: var(--stone);
}

/* ============================================
   QUOTE / PULL
   ============================================ */
.quote-section {
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  background: var(--black-warm);
}
.quote-section::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,144,60,0.15), transparent);
}
.quote-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,144,60,0.15), transparent);
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.35;
  max-width: 800px;
  margin: 0 auto 24px;
}
.quote-attr {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 300;
}

/* ============================================
   SOVEREIGNTY / ARTIST SECTION
   ============================================ */
.sovereignty-section {
  padding: var(--section-pad) 0;
  background: var(--black);
}
.sov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(48px, 5vw, 72px);
}
.sov-principle {
  padding: 32px;
  border: 1px solid rgba(242,237,228,0.04);
  position: relative;
}
.sov-principle::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px;
  width: 50px; height: 2px;
  background: var(--amber);
}
.sov-principle h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ivory);
  margin-bottom: 12px;
  margin-top: 4px;
}
.sov-principle p {
  font-size: 16px;
  color: var(--stone);
  line-height: 1.65;
}

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

/* ============================================
   TOUR / VISION SECTION
   ============================================ */
.tour-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212,144,60,0.05) 0%, transparent 70%),
    var(--black-warm);
}
.tour-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.tour-content .s-desc {
  margin: 0 auto 20px;
}

/* ============================================
   CONTACT / LISTEN
   ============================================ */
.contact-section {
  padding: var(--section-pad) 0;
  background: var(--black);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--ivory);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 17px;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,144,60,0.15);
  flex-shrink: 0;
  color: var(--amber);
}
.contact-detail h4 {
  font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ivory-dim); margin-bottom: 2px;
}
.contact-detail p {
  font-size: 16px; color: var(--stone); margin-bottom: 0;
}

.contact-form {
  background: var(--black-mid);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(242,237,228,0.04);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ivory);
  margin-bottom: 8px;
}
.contact-form .form-sub {
  font-size: 16px; color: var(--stone); margin-bottom: 32px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ivory-dim); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(242,237,228,0.08);
  background: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ivory);
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group select option { background: var(--black-mid); color: var(--ivory); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 50% 50%, rgba(212,144,60,0.06) 0%, transparent 60%),
    linear-gradient(135deg, #1A1208 0%, var(--black) 50%, #12100C 100%);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(242,237,228,0.04);
  padding: clamp(60px, 6vw, 80px) 0 0;
  color: var(--stone);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-bottom: clamp(48px, 5vw, 64px);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 16px;
}
.footer-brand span { color: var(--amber); }
.footer-tagline {
  font-size: 15px;
  line-height: 1.65;
  max-width: 300px;
  color: var(--clay);
}
.footer-col h4 {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ivory-dim); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 15px; padding: 5px 0;
  color: var(--stone); transition: color 0.3s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(242,237,228,0.05);
  padding: 24px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 14px; color: var(--clay);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ============================================
   INNER HERO
   ============================================ */
.inner-hero {
  padding: 180px 0 100px;
  text-align: center;
}
.inner-hero .s-title {
  font-size: clamp(42px, 6vw, 76px);
}

/* Ornament */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 24px 0;
}
.ornament .line {
  width: 50px; height: 1px; background: var(--amber); opacity: 0.3;
}
.ornament .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); opacity: 0.5;
}

/* ============================================
   HORIZONTAL RULE
   ============================================ */
.hr-glow {
  border: none; height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(212,144,60,0.2), transparent);
}
