/* ===========================================================
   2Gether Corp — Midnight Throttle theme
   Asphalt black + amber ignition + circuit cyan
   =========================================================== */

:root {
  --ink: #0a0b0d;
  --asphalt: #121417;
  --asphalt-2: #1a1d22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --paper: #f5f4f1;
  --muted: #9aa0a8;
  --muted-2: #6b7178;

  --amber: #ff8a1e;
  --amber-2: #ffb020;
  --amber-glow: rgba(255, 138, 30, 0.35);
  --cyan: #22d3d0;
  --cyan-glow: rgba(34, 211, 208, 0.28);

  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;

  --font-display: "Rajdhani", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--amber-2);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

section { position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--amber), var(--amber-2));
  color: #1a0f00;
  box-shadow: 0 10px 30px -10px var(--amber-glow);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px var(--amber-glow); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--amber-glow));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  color: #fff;
}

.brand-name span { color: var(--amber-2); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a:not(.btn) {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.main-nav a:not(.btn):hover { color: #fff; background: var(--line); }

.header-flex {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 82% 12%, var(--cyan-glow), transparent 60%),
    radial-gradient(ellipse 900px 600px at 12% 92%, var(--amber-glow), transparent 60%),
    var(--ink);
}

.hero-stripes {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0px,
    transparent 68px,
    rgba(255, 255, 255, 0.035) 68px,
    rgba(255, 255, 255, 0.035) 70px
  );
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--amber-2); }
.hero h1 .accent-cyan { color: var(--cyan); }

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
}

.hero-stats .stat-num span { color: var(--amber-2); }

.hero-stats .stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark-plate {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background: linear-gradient(155deg, var(--asphalt-2), var(--asphalt) 60%);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-mark-plate::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(135deg, var(--amber), transparent 35%, transparent 65%, var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.hero-mark-plate img {
  width: 58%;
  filter: drop-shadow(0 0 26px var(--amber-glow));
}

/* ---------- About ---------- */

.about {
  padding: 130px 0;
  border-top: 1px solid var(--line);
  background: var(--asphalt);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 20px;
}

.about-copy strong { color: #fff; }

.pillars {
  display: grid;
  gap: 14px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--asphalt-2);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.pillar:hover { border-color: var(--amber-glow); transform: translateX(4px); }

.pillar-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--amber-glow), transparent);
  color: var(--amber-2);
}

.pillar-icon svg { width: 22px; height: 22px; }

.pillar h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Ventures ---------- */

.ventures { padding: 130px 0; }

.venture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.venture-card {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--asphalt);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.venture-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber-glow);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.65);
}

.venture-logo {
  width: 100%;
  height: 92px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  overflow: hidden;
}

.venture-logo img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.venture-logo-text {
  text-align: center;
}

.venture-logo-text span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}

.venture-logo-text .accent-char {
  color: var(--amber-2);
}

.venture-card h4 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.venture-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--cyan);
}

.venture-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.venture-card:hover .venture-link svg { transform: translateX(4px); }

/* ---------- Contact ---------- */

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

.contact-info-standalone {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--asphalt-2);
  border: 1px solid var(--line);
}

.info-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--cyan-glow), transparent);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg { width: 20px; height: 20px; }

.info-card h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  color: var(--muted-2);
}

.info-card p, .info-card a {
  margin: 0;
  color: var(--paper);
  font-size: 1rem;
}

.info-card a:hover { color: var(--amber-2); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0;
  background: var(--ink);
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-flex p {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand img { height: 26px; opacity: 0.8; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid { grid-template-columns: 1fr; }

  .contact-info-standalone { grid-template-columns: 1fr; max-width: 480px; }

  .hero-mark { order: -1; }
  .hero-mark-plate { max-width: 260px; }

  .venture-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: block;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: rgba(10, 11, 13, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 28px 24px;
  }

  .main-nav.open ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.open a:not(.btn) { padding: 14px 8px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding-top: 130px; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 20px; }
  .venture-grid { grid-template-columns: 1fr; }
  .about, .ventures, .contact { padding: 90px 0; }
}
