/* =========================================================
   RAMORA STUDIOS — design tokens
   ========================================================= */
:root{
  --black: #050505;
  --black-soft: #0c0c10;
  --purple: #222083;
  --purple-bright: #4b47d6;
  --purple-line: rgba(75, 71, 214, 0.35);
  --white: #ffffff;
  --offwhite: #f6f6f4;
  --ink: #050505;
  --ink-60: rgba(5,5,5,0.6);
  --ink-35: rgba(5,5,5,0.35);
  --paper-60: rgba(255,255,255,0.6);
  --paper-35: rgba(255,255,255,0.35);
  --hairline: rgba(5,5,5,0.12);
  --hairline-dark: rgba(255,255,255,0.14);

  --display: 'Space Grotesk', 'Sora', sans-serif;
  --body: 'Inter', 'Manrope', sans-serif;

  --max: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
  --section-pad: clamp(80px, 12vw, 160px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family: var(--display); margin:0; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family: inherit; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

.section-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section{ padding: var(--section-pad) 0; }

.section-title{
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  max-width: 14ch;
}
.section-title.light{ color: var(--white); }
.section-lede{
  margin-top: 22px;
  max-width: 46ch;
  font-size: 18px;
  color: var(--ink-60);
}
.section-lede.light{ color: var(--paper-60); }

.grain{
  position: fixed; inset:0; pointer-events:none; z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display:flex; align-items:center; gap: 32px;
}
.nav-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.nav-logo-icon{ height: 26px; width: auto; display:block; }
.nav-logo-word{ height: 15px; width: auto; display:block; }
.nav-links{
  display:flex; gap: 28px;
}
.nav-links a{
  color: var(--ink-60);
  font-size: 14.5px;
  transition: color .2s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-cta{
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 2px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav-cta:hover{ background: var(--purple); border-color: var(--purple); color: var(--white); }
.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width: 28px; height: 20px; position: relative;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span{
  display:block; height:1.5px; width:100%; background: var(--ink);
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: clamp(90px, 16vw, 180px) 0 clamp(60px, 10vw, 110px);
}
.hero-lines{
  position:absolute; inset:0; width:100%; height:100%;
  opacity: 0.55;
}
.hero-inner{
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero-kicker{
  font-size: 14px;
  color: var(--paper-60);
  margin-bottom: 22px;
}
.hero-headline{
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: 1.02;
  max-width: 15ch;
}
.hero-sub{
  margin-top: 28px;
  max-width: 48ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--paper-60);
}
.hero-ctas{
  display:flex; flex-wrap: wrap; gap: 14px;
  margin-top: 40px;
}
.hero-micro{
  margin-top: 56px;
  font-size: 13.5px;
  color: var(--paper-35);
}

.btn{
  display:inline-block;
  padding: 13px 26px;
  font-size: 15px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary{ background: var(--purple); color: var(--white); }
.btn-primary:hover{ background: var(--purple-bright); }
.btn-outline{ border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-outline:hover{ border-color: var(--white); }
.btn-ghost{ color: var(--paper-60); }
.btn-ghost:hover{ color: var(--white); }
.btn-wide{ width: 100%; text-align:center; border:none; cursor:pointer; }

/* =========================================================
   NETWORK
   ========================================================= */
.network{
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
  position: relative;
  overflow: hidden;
}
.network-grid{
  display:grid;
  grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items:center;
  position: relative;
  z-index: 1;
}
.network-hint{
  margin-top: 30px;
  font-size: 14px;
  color: var(--paper-35);
  min-height: 1.6em;
  transition: color .2s ease;
}
.network-hint.is-active{ color: var(--white); }
.network-map-wrap{
  width:100%;
  position: relative;
}
.network-map-wrap::before{
  content:"";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at center, rgba(75,71,214,0.28) 0%, rgba(75,71,214,0.08) 35%, transparent 65%);
  pointer-events: none;
}
.network-map{ width:100%; height:auto; position: relative; }

.node-circle{
  fill: rgba(255,255,255,0.03);
  stroke: rgba(255,255,255,0.35);
  stroke-width: 2;
  transition: stroke .25s ease, fill .25s ease, stroke-width .25s ease;
}
.node-circle.tier-primary{ stroke: rgba(75,71,214,0.75); stroke-width: 2.4; fill: rgba(75,71,214,0.08); }
.node-circle.center{ fill: url(#centerGrad); stroke: none; }
.node-pulse{
  fill: none;
  stroke: var(--purple-bright);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseRing 3.2s ease-out infinite;
}
@keyframes pulseRing{
  0%{ transform: scale(1); opacity: 0.55; }
  100%{ transform: scale(1.55); opacity: 0; }
}
.node-line{
  stroke: url(#lineGrad);
  stroke-width: 1.2;
  opacity: 0.8;
  transition: stroke-width .25s ease, opacity .25s ease;
}
.node-line.tier-primary{ stroke-width: 1.8; }
.node-line.is-active{ stroke-width: 2.4; opacity: 1; }
.node-particle{ fill: var(--purple-bright); opacity: 0.75; }

.node-label{
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  fill: rgba(255,255,255,0.8);
  pointer-events: none;
  transition: fill .25s ease;
}
.node-label.center-label{ font-weight: 700; fill: var(--white); font-size: 14.5px; letter-spacing: 0.08em; }

.node-group{ cursor: pointer; transition: opacity .3s ease; outline: none; }
.node-group:focus, .node-group:focus-visible{ outline: none; }
.node-group:hover .node-circle{ stroke: var(--purple-bright); fill: rgba(75,71,214,0.18); }
.node-group:hover .node-label{ fill: var(--white); }

.network-map.is-hovering .node-group:not(.is-active){ opacity: 0.3; }
.network-map.is-hovering .node-group.is-active{ opacity: 1; }
.network-map.is-hovering .node-line:not(.is-active){ opacity: 0.15; }

/* =========================================================
   OFFERING
   ========================================================= */
.offering{ background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.offer-list{ margin-top: 56px; }
.offer-row{
  display:grid;
  grid-template-columns: minmax(160px, 300px) 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
}
.offer-row:last-child{ border-bottom: 1px solid var(--hairline); }
.offer-name{ font-family: var(--display); font-size: 20px; font-weight: 500; }
.offer-desc{ color: var(--ink-60); max-width: 52ch; font-size: 16px; }

/* =========================================================
   APPROACH
   ========================================================= */
.approach{ background: var(--black); color: var(--white); }
.principles{
  margin-top: 56px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline-dark);
}
.principle{
  padding: 26px 22px 26px 0;
  border-right: 1px solid var(--hairline-dark);
}
.principle:last-child{ border-right:none; }
.principle h3{ font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.principle p{ color: var(--paper-60); font-size: 14.5px; }

.process{ margin-top: 88px; }
.process-label{ font-size: 14px; color: var(--paper-35); margin-bottom: 26px; }
.process-steps{ border-top: 1px solid var(--hairline-dark); }
.process-steps li{
  display:grid;
  grid-template-columns: 56px 160px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.process-index{ font-family: var(--display); color: var(--purple-bright); font-size: 14px; }
.process-name{ font-family: var(--display); font-size: 19px; }
.process-desc{ color: var(--paper-60); font-size: 15px; }

/* =========================================================
   PATHWAYS
   ========================================================= */
.pathways{ background: var(--offwhite); }
.pathway-grid{
  margin-top: 56px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.pathway{
  padding: 34px 32px 40px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.pathway h3{ font-size: 22px; margin-bottom: 14px; }
.pathway-tag{ font-size: 15px; color: var(--ink); font-weight: 500; margin-bottom: 14px; }
.pathway-body{ color: var(--ink-60); font-size: 15px; margin-bottom: 26px; }
.pathway-cta{ font-size: 15px; color: var(--purple); font-weight: 500; }
.pathway-cta:hover{ color: var(--purple-bright); }

/* =========================================================
   INSIGHTS
   ========================================================= */
.insights{ background: var(--black); color: var(--white); text-align: left; }
.insights-statement{
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.3;
  max-width: 24ch;
}
.insight-cards{
  margin-top: 64px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline-dark);
}
.insight-card{
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--hairline-dark);
}
.insight-card:last-child{ border-right: none; padding-right:0; }
.insight-cat{ display:block; font-family: var(--display); font-size: 15px; margin-bottom: 12px; }
.insight-card p{ color: var(--paper-60); font-size: 14.5px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about{ background: var(--white); }
.about-inner{ max-width: 780px; }

/* =========================================================
   APPLY
   ========================================================= */
.apply-inner{ max-width: 640px; }
.apply-eyebrow{
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 18px;
}

/* -- background variants -- */
.apply-projects{ background: var(--purple); color: var(--white); }
.apply-investors{ background: var(--black); color: var(--white); border-top: 1px solid var(--hairline-dark); }
.apply-partners{ background: var(--white); color: var(--ink); border-top: 1px solid var(--hairline); }
.apply-partners .apply-eyebrow{ color: var(--purple); }

.apply-form{ margin-top: 48px; display:flex; flex-direction:column; gap: 22px; }
.form-row{ display:flex; flex-direction:column; gap: 8px; }
.form-row-split{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-row label, .form-group-label{ font-size: 14px; color: var(--paper-60); }
.form-row input, .form-row select, .form-row textarea{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  padding: 10px 2px;
  border-radius: 0;
  resize: vertical;
  width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none;
  border-bottom-color: var(--white);
}
.form-row select option{ color: var(--ink); }

/* light-background form variant (partners section) */
.apply-form.on-light .form-row label,
.apply-form.on-light .form-group-label{ color: var(--ink-60); }
.apply-form.on-light .form-row input,
.apply-form.on-light .form-row select,
.apply-form.on-light .form-row textarea{
  color: var(--ink);
  border-bottom-color: rgba(5,5,5,0.25);
}
.apply-form.on-light .form-row input:focus,
.apply-form.on-light .form-row select:focus,
.apply-form.on-light .form-row textarea:focus{
  border-bottom-color: var(--ink);
}
.apply-form.on-light .checkbox-item{ color: var(--ink-60); }

/* checkbox group (project "what do you need") */
.checkbox-grid{
  margin-top: 4px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.checkbox-item{
  display:flex; align-items:center; gap: 10px;
  font-size: 14.5px;
  color: var(--paper-60);
  cursor: pointer;
}
.checkbox-item input{ width:auto; accent-color: var(--purple-bright); }

.apply-projects .btn-primary{ background: var(--black); margin-top: 8px; }
.apply-projects .btn-primary:hover{ background: var(--black-soft); }
.apply-investors .btn-primary{ background: var(--purple); margin-top: 8px; }
.apply-investors .btn-primary:hover{ background: var(--purple-bright); }
.apply-partners .btn-primary{ background: var(--purple); color: var(--white); margin-top: 8px; }
.apply-partners .btn-primary:hover{ background: var(--purple-bright); }

.form-note{ margin-top: 6px; font-size: 14.5px; }
.apply-projects .form-note, .apply-investors .form-note{ color: var(--white); }
.apply-partners .form-note{ color: var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{ background: var(--black); color: var(--paper-60); padding: 72px 0 0; }
.footer-inner{
  display:flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-logo{ font-family: var(--display); color: var(--white); letter-spacing: 0.1em; font-size: 15px; margin-bottom: 14px; }
.footer-line{ color: var(--paper-60); font-size: 15px; margin-bottom: 8px; }
.footer-micro{ font-size: 13px; color: var(--paper-35); }
.footer-nav{ display:flex; flex-wrap:wrap; gap: 22px 28px; max-width: 420px; }
.footer-nav a{ font-size: 14.5px; }
.footer-nav a:hover{ color: var(--white); }
.footer-bottom{
  padding: 24px var(--gutter);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-social{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--hairline-dark);
  color: var(--paper-60);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
  flex-shrink: 0;
}
.footer-social:hover{
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .network-grid{ grid-template-columns: 1fr; }
  .principles{ grid-template-columns: repeat(2,1fr); }
  .principle{ border-bottom: 1px solid var(--hairline-dark); }
  .principle:nth-child(2n){ border-right: none; }
  .pathway-grid{ grid-template-columns: 1fr; }
  .insight-cards{ grid-template-columns: 1fr; }
  .insight-card{ border-right:none; border-bottom: 1px solid var(--hairline-dark); padding: 24px 0; }
  .offer-row{ grid-template-columns: 1fr; gap: 10px; }
  .process-steps li{ grid-template-columns: 40px 1fr; }
  .process-desc{ grid-column: 2 / 3; }
  .form-row-split{ grid-template-columns: 1fr; gap: 22px; }
  .checkbox-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav-links{
    position: fixed; top: 62px; left:0; right:0;
    background: var(--white);
    flex-direction: column;
    padding: 20px var(--gutter) 30px;
    gap: 18px;
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open{ opacity:1; transform: translateY(0); pointer-events:auto; }
  .nav-toggle{ display:flex; }
  .nav-cta{ display:none; }
  .hero-ctas .btn{ width: 100%; text-align:center; }
  .hero-ctas{ flex-direction:column; }
}