/* ============================================================
   THE DIGITAL MEDIA — SHARED STYLES
   Used across all pages
   ============================================================ */

:root {
  --bg: #0b0b0a;
  --bg-2: #131311;
  --bg-3: #1a1a17;
  --ink: #f5f1e8;
  --ink-dim: #a8a397;
  --ink-faint: #57544c;
  --accent: #d4ff3a;
  --accent-2: #ff5a1f;
  --accent-3: #6b9eff;
  --line: rgba(245,241,232,0.08);
  --line-strong: rgba(245,241,232,0.18);
  --serif: 'Fraunces', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAVIGATION ============ */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  backdrop-filter: blur(20px);
  background: rgba(11,11,10,0.7);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,255,58,0.3);
}

.mobile-toggle {
  display: none;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--bg);
  z-index: 99;
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--accent); font-style: italic; }

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(212,255,58,0.35);
}
.btn-secondary {
  color: var(--ink);
  padding: 18px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(245,241,232,0.04);
}
.arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn-primary:hover .arrow,
.btn-secondary:hover .arrow { transform: translateX(4px); }

/* ============ SECTION HELPERS ============ */
section { padding: 120px 0; position: relative; }
.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
}
.section-title .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-dim);
}
.section-title .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.section-intro {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 64px;
}

/* ============ PAGE HEADER (for inner pages) ============ */
.page-header {
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-header::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,255,58,0.1), transparent 70%);
  top: -200px; right: -150px;
  filter: blur(60px);
  z-index: 0;
}
.page-header-inner {
  position: relative;
  z-index: 2;
}
.breadcrumbs {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.breadcrumbs a { color: var(--ink-dim); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--ink-faint); margin: 0 8px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 1100px;
}
.page-title .italic { font-style: italic; font-weight: 300; color: var(--accent); }
.page-subtitle {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 700px;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 20px; font-size: 28px; }
.footer-brand p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--ink-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-mega {
  font-family: var(--serif);
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 40px 0;
  color: var(--bg-2);
  text-align: center;
  user-select: none;
}
.footer-mega .italic { font-style: italic; color: var(--bg-3); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.form-group label .required { color: var(--accent-2); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(212,255,58,0.03);
}
.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--sans);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a397' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 50px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.checkbox-label:hover { border-color: var(--line-strong); }
.checkbox-label input { display: none; }
.checkbox-label .check-mark {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.checkbox-label .check-mark::after {
  content: '✓';
  font-size: 12px;
  color: var(--bg);
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
}
.checkbox-label input:checked ~ .check-mark {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-label input:checked ~ .check-mark::after { opacity: 1; }
.checkbox-label input:checked ~ span:last-child { color: var(--ink); }
.checkbox-label span:last-child { color: var(--ink-dim); }
.form-success {
  display: none;
  padding: 24px;
  background: rgba(212,255,58,0.08);
  border: 1px solid rgba(212,255,58,0.3);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.form-success.show { display: block; }

/* ============ CTA SECTION (reusable) ============ */
.cta-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,255,58,0.12), transparent 60%);
  z-index: 0;
}
.cta-content { position: relative; z-index: 2; }
.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
  margin-inline: auto;
}
.cta-section h2 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.cta-section p {
  font-size: 19px;
  color: var(--ink-dim);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  nav.site-nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  section { padding: 80px 0; }
  .page-header { padding: 130px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
}
