:root {
  --ink: #0A0E1A;
  --blue: #204bd8;
  --bg: #F7F8FA;
  --muted: #5B6275;
  --border: #e4e7f0;
  --radius-card: 14px;
  --radius-pill: 100px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
}

em { font-style: italic; color: var(--blue); }

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

@media (max-width: 700px) {
  .wrap { padding: 0 24px; }
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(32,75,216,.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  transform: translateY(-2px);
  border-color: #fff;
}

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .btn-primary { padding: 12px 24px; font-size: 14px; }

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(10,14,26,.35) 0%, rgba(10,14,26,.78) 65%, rgba(10,14,26,.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 24px;
}
.hero-content h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-content p {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollcue 2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* Trust bar */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trustbar .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  text-align: center;
}
.trustbar span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  padding: 0 24px;
  position: relative;
}
.trustbar span + span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: var(--border);
}

/* Section generic */
section { padding: 110px 0; }
@media (max-width: 700px) {
  section { padding: 70px 0; }
}
.section-heading {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 720px;
  margin-bottom: 56px;
}
.light { background: #fff; }
.gray { background: var(--bg); }
.dark { background: var(--ink); color: #fff; }
.dark .muted-text { color: rgba(255,255,255,.6); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pain-grid { grid-template-columns: 1fr; }
}
.pain-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(10,14,26,.08);
}
.pain-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--blue);
  margin-bottom: 16px;
}
.pain-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
}
.pain-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-col {
  padding: 40px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.03);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.service-col:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.06);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.service-col h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 20px;
}
.service-col ul {
  list-style: none;
  margin-bottom: 24px;
}
.service-col li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  font-size: 15px;
}
.service-col li:last-child { border-bottom: none; }
.service-tagline {
  color: var(--blue);
  font-weight: 600;
  font-size: 14.5px;
}

/* Work sample grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
  margin-top: 64px;
}
.work-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  transition: transform .4s ease;
}
.work-grid a:hover img { transform: scale(1.03); }
.work-tile-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.work-tile-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.work-tile-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.work-tile-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.work-tile-5 { grid-column: 4 / 5; grid-row: 2 / 3; }
@media (max-width: 800px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .work-tile-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .work-tile-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .work-tile-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .work-tile-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .work-tile-5 { grid-column: 2 / 3; grid-row: 3 / 4; }
}

/* Proof / about */
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px) {
  .proof-grid { grid-template-columns: 1fr; }
}
.proof-grid h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; }
.proof-grid p { color: var(--muted); font-size: 16px; max-width: 480px; }
.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(10,14,26,.07); }
.stat-card .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--blue);
  margin-bottom: 6px;
}
.stat-card .stat-label { font-size: 13.5px; color: var(--muted); }
.stat-card.wide { grid-column: 1 / 3; text-align: center; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-grid h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.contact-grid > div:first-child p { color: var(--muted); font-size: 16px; max-width: 420px; }

form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}
input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
}
textarea { resize: vertical; min-height: 110px; }

.field { display: flex; flex-direction: column; }

.form-helper {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.form-success {
  display: none;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
}
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* Footer */
footer { padding: 56px 0 32px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color .2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* Legal pages */
.legal-page { padding-top: 140px; padding-bottom: 100px; }
.legal-page h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.legal-page .updated { color: var(--muted); font-size: 14px; margin-bottom: 48px; }
.legal-page h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 40px 0 14px;
}
.legal-page p, .legal-page li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page a.back { color: var(--blue); font-weight: 600; display: inline-block; margin-bottom: 40px; }
