/* ==========================================================================
   GO WITH MEDIA — design system
   ========================================================================== */

:root {
  --bg: #0a0a0d;
  --bg-soft: #0f0f14;
  --surface: #15151c;
  --surface-2: #1b1b24;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --text-muted: #9a9aa7;
  --text-faint: #65656f;
  --accent: #5b6bff;
  --accent-2: #00d4ff;
  --accent-soft: rgba(91, 107, 255, 0.14);
  --gradient: linear-gradient(120deg, var(--accent), var(--accent-2));
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --maxw: 1180px;
  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

ul { margin: 0; padding: 0; list-style: none; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gradient);
  display: inline-block;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #05050a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(91,107,255,.35); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- announcement bar ---------- */

.announce-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.announce-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  position: relative;
}
.announce-bar a {
  color: var(--accent-2);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.announce-bar a:hover { border-color: var(--accent-2); }
.announce-close {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.announce-close:hover { color: var(--text); }
.announce-bar.is-hidden { display: none; }

/* ---------- navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 13, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}
.brand svg { width: 30px; height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

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

.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(91,107,255,0.28), transparent 65%);
  z-index: -1;
  filter: blur(10px);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0,212,255,0.16), transparent 65%);
  z-index: -1;
}
.hero-sm { padding: 80px 0 64px; }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  max-width: 820px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  max-width: 620px;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.quote-block {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  max-width: 640px;
}
.quote-block blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 300;
  font-style: italic;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.quote-block cite {
  font-size: 13px;
  color: var(--text-faint);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.section { padding: 86px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- grids & cards ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-2);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}
.card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.vertical-card {
  position: relative;
  padding: 36px 30px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
}
.vertical-card .tag {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
  display: block;
}

/* ---------- stat strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
}
.stat .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.team-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: #05050a;
  flex: none;
}
.team-card h3 { margin-bottom: 2px; font-size: 19px; }
.team-card .role { color: var(--accent-2); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; display:block; }
.team-card p { margin: 0; font-size: 14.5px; }

/* ---------- job cards ---------- */

.job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 16px;
  overflow: hidden;
}
.job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}
.job-head::-webkit-details-marker { display: none; }
.job-head::marker { content: ""; }
.job-head h3 { margin: 0; font-size: 17px; }
.job-head .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  font-size: 16px;
  color: var(--text-muted);
  transition: transform .2s ease;
}
details[open] .job-head .plus { transform: rotate(45deg); }
.job-body { padding: 0 26px 26px; color: var(--text-muted); font-size: 14.5px; }
.job-body h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin: 16px 0 8px; }
.job-body ul li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.job-body ul li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.office-list { margin-top: 28px; display: grid; gap: 14px; }
.office-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.office-item .icon { color: var(--accent-2); flex: none; margin-top: 2px; }
.office-item strong { display: block; font-size: 14.5px; }
.office-item span { font-size: 13.5px; color: var(--text-muted); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-faint); margin-top: 14px; }

/* ---------- legal ---------- */

.legal {
  max-width: 760px;
}
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--text-muted); font-size: 15px; }
.legal ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--text-faint); font-size: 13.5px; margin-bottom: 40px; }

/* ---------- announcement letter ---------- */

.letter {
  max-width: 680px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.letter p { color: var(--text-muted); font-size: 16px; }
.letter .sign { margin-top: 28px; font-family: var(--font-head); color: var(--text); font-weight: 600; }

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

.footer { border-top: 1px solid var(--border); padding: 70px 0 30px; background: var(--bg-soft); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 50px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 260px; }
.footer-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent-2); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .2s ease;
}
.social-row a:hover { color: var(--text); border-color: var(--accent-2); }
.social-row svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ---------- scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- misc ---------- */

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.divider { height: 1px; background: var(--border); border: none; margin: 0; }

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

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

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }

  body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 74px 0 0 0;
    background: var(--bg);
    padding: 30px 24px;
    gap: 6px;
    overflow-y: auto;
  }
  body.menu-open .nav-links a { padding: 14px 4px; font-size: 17px; width: 100%; }
  body.menu-open .nav-right .btn { display: inline-flex; margin-top: 10px; }
  body.menu-open .nav-right { position: fixed; inset: auto 0 24px 0; justify-content: center; z-index: 101; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  .team-card { flex-direction: column; text-align: center; }
  .letter { padding: 30px; }
  .announce-bar .container { padding-right: 46px; }
}
