/* ── JACOB REPP DIGITAL — style.css ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── TOKENS ── */
:root {
  --ink:    #0a0b0f;
  --ink2:   #12141c;
  --ink3:   #1c1f2d;
  --border: #252838;
  --mid:    #4a4f6a;
  --dim:    #8a90aa;
  --light:  #d4d8ea;
  --white:  #f0f2fa;
  --accent: #5b8bff;
  --accent2:#a78bfa;
  --gold:   #e8c86a;
  --glow:   rgba(91,139,255,0.18);

  --ff-head: 'Syne', sans-serif;
  --ff-body: 'DM Sans', sans-serif;

  --nav-h:  64px;
  --mbn-h:  64px;
  --max:    1140px;
  --r:      10px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--light);
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

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

/* ── TOPBAR ── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,11,15,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 900;
  gap: 16px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--ff-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo span { font-size: 1.25rem; color: var(--white); }
.logo small {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.top-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.top-social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dim);
  transition: color 0.2s;
}
.top-social a:hover { color: var(--accent); }
.top-social svg { width: 18px; height: 18px; fill: currentColor; }

.navlinks {
  display: flex;
  gap: 4px;
  align-items: center;
}
.navlinks a {
  padding: 6px 14px;
  border-radius: var(--r);
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--dim);
  transition: color 0.2s, background 0.2s;
}
.navlinks a:hover { color: var(--white); background: var(--ink3); }
.navlinks .nav-cta {
  background: var(--accent);
  color: var(--ink);
  padding: 6px 16px;
  border-radius: 999px;
}
.navlinks .nav-cta:hover { background: #7aa3ff; color: var(--ink); }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--light);
  border-radius: var(--r);
}

/* ── MOBILE BOTTOM NAV ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--mbn-h);
  background: rgba(10,11,15,0.95);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  z-index: 900;
  flex-direction: row;
  align-items: stretch;
}
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--mid);
  font-size: 0.62rem;
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.mbn-item svg { width: 20px; height: 20px; fill: currentColor; }
.mbn-item.mbn-active { color: var(--accent); }
.mbn-item.mbn-cta { color: var(--gold); }
.mbn-item:hover { color: var(--white); }

/* ── MAIN OFFSET ── */
main { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(91,139,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(167,139,250,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink2) 100%);
  z-index: 0;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.hero-text {
  position: relative;
  z-index: 1;
  padding: 80px 60px 80px 80px;
  max-width: 620px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.22s;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: #7aa3ff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(91,139,255,0.35); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--light);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.hero-visual {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 60px 60px 0;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-badge-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hero-badge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.hbc-label {
  font-size: 0.65rem;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hbc-name {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.hbc-title {
  font-size: 0.85rem;
  color: var(--dim);
  margin-bottom: 20px;
}
.hbc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hbc-tag {
  padding: 4px 10px;
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.hero-stat {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 12px;
  text-align: center;
}
.hero-stat-val {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stat-lbl {
  font-size: 0.62rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ── SECTIONS ── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 40px;
}
.section-sm { padding: 64px 40px; }
.section-full { max-width: none; padding: 100px 40px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--dim);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 56px;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.service-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover::after { opacity: 1; }
.sc-icon {
  width: 44px; height: 44px;
  background: rgba(91,139,255,0.1);
  border: 1px solid rgba(91,139,255,0.2);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.sc-title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.sc-desc {
  font-size: 0.88rem;
  color: var(--dim);
  line-height: 1.65;
}

/* ── ABOUT / SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text p {
  font-size: 0.98rem;
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text p:first-child { color: var(--light); font-size: 1.08rem; }

.about-creds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
}
.cred-icon {
  font-size: 1.1rem;
  width: 36px;
  flex-shrink: 0;
  text-align: center;
}
.cred-text { font-size: 0.85rem; color: var(--dim); }
.cred-text strong { color: var(--light); display: block; font-size: 0.9rem; margin-bottom: 2px; }

.about-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-block {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.sb-label {
  font-size: 0.68rem;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.sb-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--dim);
}
.sb-list li::before {
  content: '→';
  color: var(--accent);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ── PROCESS ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
}
.process-step {
  background: var(--ink2);
  padding: 32px 24px;
  position: relative;
}
.ps-num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--border);
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.ps-title {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.ps-desc {
  font-size: 0.83rem;
  color: var(--dim);
  line-height: 1.6;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 40px;
}

/* ── INTAKE FORM PAGE ── */
.intake-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}
.intake-intro { margin-bottom: 48px; }
.intake-intro p { color: var(--dim); font-size: 0.98rem; line-height: 1.75; margin-top: 12px; }

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
}
.form-group label .req { color: var(--accent); margin-left: 2px; }
.form-hint {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: -2px;
  line-height: 1.5;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91,139,255,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--mid); }

.radio-group, .check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-opt, .check-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.radio-opt input, .check-opt input { 
  margin-top: 3px; 
  accent-color: var(--accent);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.radio-opt span, .check-opt span {
  font-size: 0.9rem;
  color: var(--dim);
  line-height: 1.5;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--border);
}
.form-section-head {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: -8px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-row {
  margin-top: 12px;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-submit:hover {
  background: #7aa3ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91,139,255,0.35);
}
.submit-note {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 10px;
  line-height: 1.5;
}

/* ── THANK YOU PAGE ── */
.thankyou-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.thankyou-card {
  max-width: 520px;
  width: 100%;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thankyou-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.ty-icon { font-size: 2.8rem; margin-bottom: 20px; }
.ty-title {
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.ty-body { font-size: 0.95rem; color: var(--dim); line-height: 1.7; margin-bottom: 32px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--mid);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--mid);
}
.footer-copy a { color: var(--dim); transition: color 0.2s; }
.footer-copy a:hover { color: var(--accent); }

/* ── PAGE TRANSITION ── */
.page-transition {
  animation: fadeUp 0.45s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text {
    padding: 60px 28px 0;
    max-width: 100%;
  }
  .hero-visual {
    padding: 24px 28px 48px;
    min-height: auto;
  }
  .hero-card-stack { max-width: 100%; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .intake-wrap { padding: 48px 24px 100px; }
  .section { padding: 64px 24px; }
  .section-full { padding: 64px 24px; }
  .divider { margin: 0 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { padding: 0 16px; }
  .navlinks { display: none; }
  .navlinks.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,11,15,0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 899;
  }
  .navlinks.is-open a { padding: 12px 16px; border-radius: var(--r); }
  .menu-toggle { display: flex; }
  .top-social { display: none; }
  .mobile-bottom-nav { display: flex; }
  main { padding-bottom: var(--mbn-h); }
  .hero-stat-row { grid-template-columns: repeat(3,1fr); gap: 6px; }
  .hero-stat-val { font-size: 1rem; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-text { padding: 40px 20px 0; }
  .hero-visual { padding: 20px 20px 40px; }
  .section { padding: 48px 20px; }
  .intake-wrap { padding: 40px 20px 100px; }
  .thankyou-card { padding: 40px 24px; }
}
