/* ===================================================================
   VORA COMPUTE — design system v2 "VOID"
   Futurist-industrial: near-black navy, cream, amber + electric blue.
   Type: Big Shoulders Display (display caps) · Archivo (body)
         · IBM Plex Mono (labels/data)
   Full reference: /brand.html
   =================================================================== */

:root {
  /* color */
  --void:   #0A0C1E;
  --panel:  #11142E;
  --panel-2:#171B3D;
  --line:   rgba(251, 243, 232, 0.14);
  --line-soft: rgba(251, 243, 232, 0.07);
  --cream:  #FBF3E8;
  --muted:  #8E91B5;
  --amber:  #F2B33D;
  --amber-deep: #D99A1F;
  --blue:   #3B5BF6;
  --blue-bright: #5E79FF;

  /* type */
  --display: 'Big Shoulders Display', sans-serif;
  --body: 'Archivo', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--void);
  color: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--amber); color: var(--void); }

/* ---------- type utilities ---------- */

.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.kicker::before { content: "// "; opacity: 0.6; }

/* ---------- topbar + header ---------- */

.topbar { height: 6px; background: var(--amber); position: relative; z-index: 60; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--void) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }

.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--amber); color: var(--void);
  font-family: var(--display); font-weight: 800; font-size: 22px;
}

.brand-name {
  font-family: var(--display);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.brand-name strong { font-weight: 800; color: var(--amber); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  font-family: var(--mono);
  color: var(--muted); text-decoration: none;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.2s;
}
.site-nav a:not(.btn):hover { color: var(--amber); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 32px;
  border: 0;
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber); color: var(--void);
}
.btn-primary:hover { background: var(--cream); }

.btn-ghost {
  background: transparent; color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--amber); color: var(--amber); }

.btn-small { padding: 11px 22px; font-size: 11px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 73px);
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-photo {
  position: absolute; inset: 0;
  background: url("img/hero.jpg") center 38% / cover no-repeat;
  opacity: 0.9;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,30,0.55) 0%, rgba(10,12,30,0.1) 45%, rgba(10,12,30,0.92) 100%),
    linear-gradient(90deg, rgba(10,12,30,0.82) 0%, rgba(10,12,30,0.25) 60%, rgba(10,12,30,0.05) 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  padding-top: 90px; padding-bottom: 120px;
  max-width: 1000px;
}

.eyebrow {
  font-family: var(--mono);
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 30px;
  padding: 8px 14px;
  border: 1px solid rgba(242, 179, 61, 0.35);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(58px, 9.6vw, 132px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin-bottom: 30px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero h1 .hl { color: var(--blue-bright); }

.lede {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(251, 243, 232, 0.82);
  max-width: 560px;
  margin-bottom: 44px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--amber);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 179, 61, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(242, 179, 61, 0); }
}

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 34px;
  background: linear-gradient(var(--amber), transparent);
  animation: drip 2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1) translateY(8px); opacity: 0; }
}

/* ---------- stats band ---------- */

.stats-band {
  border-bottom: 1px solid var(--line-soft);
  background: var(--void);
}

.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 54px 36px;
  border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 12px;
}
.stat:first-child { border-left: 0; padding-left: 0; }

.stat-num {
  font-family: var(--display);
  font-size: clamp(54px, 6.5vw, 88px);
  font-weight: 800; line-height: 0.9;
  color: var(--amber);
  text-transform: uppercase;
}
.stat-unit { font-size: 0.45em; font-weight: 700; letter-spacing: 0.05em; }

.stat-label {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); max-width: 300px; line-height: 1.7;
}

/* ---------- sections ---------- */

.section { padding: 130px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800; line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 64px;
}

/* ---------- photo divider bands ---------- */

.band {
  position: relative;
  height: clamp(260px, 38vw, 420px);
  background-position: center;
  background-size: cover;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--void) 0%, rgba(10,12,30,0.25) 30%, rgba(10,12,30,0.25) 70%, var(--void) 100%);
}
.band-pylons { background-image: url("img/pylons.jpg"); }
.band-dc { background-image: url("img/datacenter.jpg"); }

.band-caption {
  position: absolute; left: 28px; bottom: 20px; z-index: 1;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(251, 243, 232, 0.75);
}

/* ---------- problem ---------- */

.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 100px;
}

.card {
  padding: 40px 32px 12px 0;
  border-right: 1px solid var(--line-soft);
}
.card:last-child { border-right: 0; padding-right: 0; }
.card + .card { padding-left: 32px; }

.card-index {
  font-family: var(--mono);
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--amber);
  display: block; margin-bottom: 26px;
}

.card h3 {
  font-family: var(--display);
  font-size: 26px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.card p { font-size: 15px; color: var(--muted); }
.card strong { color: var(--cream); font-weight: 600; }

.punchline {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700; line-height: 1;
  text-transform: uppercase;
  text-align: center;
  max-width: 880px; margin: 0 auto;
}
.punchline em { font-style: normal; color: var(--amber); }
.punchline .hl { color: var(--blue-bright); }

/* ---------- solution + render ---------- */

.solution-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px;
  align-items: center;
}

.solution-copy h2 { margin-bottom: 44px; }

.solution-list { list-style: none; display: flex; flex-direction: column; }
.solution-list li {
  position: relative; padding: 22px 0 22px 34px;
  font-size: 16px; color: var(--muted);
  border-top: 1px solid var(--line-soft);
}
.solution-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.solution-list li::before {
  content: ""; position: absolute; left: 0; top: 30px;
  width: 12px; height: 12px;
  background: var(--amber);
}
.solution-list strong {
  color: var(--cream); font-weight: 600;
  display: block; margin-bottom: 2px;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
}

.render { margin: 0; position: relative; }
.render-svg {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line);
}
.render figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.render figcaption::before { content: "[ "; color: var(--amber); }
.render figcaption::after { content: " ]"; color: var(--amber); }

/* corner ticks on the render frame */
.render::before, .render::after {
  content: "";
  position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--amber);
  pointer-events: none;
}
.render::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.render::after { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }

/* render animations */
.blades > g { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.vent { animation: vent 2.8s ease-in-out infinite; }
.v2 { animation-delay: 0.5s; }
.v3 { animation-delay: 1s; }
@keyframes vent { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.blink { animation: blink 1.8s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.star { animation: twinkle 3.4s ease-in-out infinite; }
.s2 { animation-delay: 1.1s; }
.s3 { animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.25; } }

/* ---------- how it works ---------- */

.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 44px 32px 8px 0;
  border-right: 1px solid var(--line-soft);
}
.step:last-child { border-right: 0; }
.step + .step { padding-left: 32px; }

.step-num {
  font-family: var(--display);
  display: block;
  font-size: 64px; font-weight: 800; line-height: 1;
  color: var(--amber);
  margin-bottom: 24px;
}

.step h3 {
  font-family: var(--display);
  font-size: 24px; font-weight: 700; line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.step p { font-size: 15px; color: var(--muted); }

/* ---------- about / team ---------- */

.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}

.member {
  padding: 48px 32px 24px 0;
  border-right: 1px solid var(--line-soft);
}
.member:last-child { border-right: 0; }
.member + .member { padding-left: 32px; }

.member img {
  width: 124px; height: 124px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  border: 1px solid var(--line);
  margin-bottom: 26px;
  transition: filter 0.4s var(--ease), border-color 0.4s;
}
.member:hover img { filter: grayscale(0); border-color: var(--amber); }

.member h3 {
  font-family: var(--display);
  font-size: 24px; font-weight: 700;
  text-transform: uppercase; line-height: 1.05;
  margin-bottom: 8px;
}

.member-role {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.member-bio { font-size: 14.5px; color: var(--muted); }

.member-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.member-link:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- contact ---------- */

.contact {
  background: var(--panel);
  border-top: 1px solid var(--line-soft);
  padding: 130px 0;
}

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

.contact h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800; line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.contact-copy > p { color: var(--muted); font-size: 16.5px; max-width: 430px; margin-bottom: 40px; }

.contact-direct { display: flex; flex-direction: column; gap: 12px; }
.contact-direct a {
  font-family: var(--mono);
  color: var(--amber); text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: 0.08em;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-direct a:hover { border-color: var(--amber); }

.contact-form {
  background: var(--void);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex; flex-direction: column; gap: 22px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.contact-form label { display: flex; flex-direction: column; gap: 9px; }
.contact-form label span {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.contact-form label em { font-weight: 400; opacity: 0.6; font-style: normal; }

.contact-form input,
.contact-form textarea {
  font-family: var(--body); font-size: 15px;
  color: var(--cream);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(142, 145, 181, 0.55); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}

.contact-form .btn { align-self: flex-start; }

.form-status { font-family: var(--mono); font-size: 13px; min-height: 1.4em; letter-spacing: 0.04em; }
.form-status.ok { color: #7FE0A0; }
.form-status.err { color: #FF9C8E; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--void);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; padding-bottom: 26px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--amber); }

/* ---------- reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blades > g, .vent, .blink, .star, .hero-badge .dot, .hero-scroll::after { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .solution-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 760px) {
  .site-nav a:not(.btn) { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 72px; padding-bottom: 96px; }
  .hero-scroll { display: none; }
  .section, .contact { padding: 84px 0; }
  .section h2, .contact h2 { margin-bottom: 44px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-soft); padding: 28px 0; }
  .stat:first-child { border-top: 0; }

  .problem-grid, .steps, .team-grid { grid-template-columns: 1fr; }
  .card, .step, .member {
    border-right: 0; padding-left: 0; padding-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .card:last-child, .step:last-child, .member:last-child { border-bottom: 0; }
  .problem-grid { margin-bottom: 64px; }

  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .footer-inner { flex-direction: column; gap: 6px; }
}
