/* ─── DESIGN TOKENS ─── */
:root {
  --bg:           #F7F4EF;
  --bg-card:      #FFFFFF;
  --bg-section:   #F0EDE8;
  --text:         #0D0F14;
  --text-dim:     #5C5F6B;
  --text-muted:   #9699A6;
  --accent:       #1C4ED8;
  --accent-soft:  rgba(28, 78, 216, 0.08);
  --accent-glow:  rgba(28, 78, 216, 0.15);
  --dark:         #0D0F14;
  --dark-card:    rgba(255,255,255,0.04);
  --border:       rgba(13, 15, 20, 0.07);
  --border-hover: rgba(13, 15, 20, 0.14);
  --radius:       10px;
  --radius-lg:    16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 72px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 17px;
  font-style: italic;
  letter-spacing: -0.02em;
  color: white;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.logo-mark {
  width: 28px; height: 24px;
  border-radius: 6px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: white;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 7px;
  transition: all 0.18s ease;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--accent) !important;
  background: white !important;
  padding: 7px 18px !important;
  border-radius: 7px !important;
  margin-left: 6px;
  letter-spacing: -0.01em;
  transition: all 0.18s ease !important;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.92) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ─── LAYOUT ─── */
section {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.container-wide {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ─── TYPOGRAPHY ─── */
h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}

h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.label-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 52px;
}

.section-header {
  margin-bottom: 52px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #1a44c2;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(28, 78, 216, 0.3);
}

.btn-primary.btn-large {
  font-size: 15px;
  padding: 16px 32px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  padding: 13px 4px;
  transition: color 0.18s ease;
  letter-spacing: -0.01em;
}

.btn-ghost:hover { color: var(--text); }

/* ─── GRID BACKGROUND ─── */
.hero-bg {
  position: fixed;
  inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(26, 39, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 39, 68, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, var(--bg) 75%);
}

/* ─── HERO (CENTERED) ─── */
#hero {
  padding: 150px 0 60px;
  text-align: center;
}

.hero-centered {
  max-width: 720px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 28px;
}

.hero-centered h1 {
  font-size: clamp(48px, 7vw, 76px);
  margin-bottom: 24px;
}

.hero-centered .hero-body {
  font-size: 19px;
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero-centered .cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}


/* ─── HOW IT WORKS ─── */
#work {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-waterfall {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: all 0.22s ease;
}


.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.4;
}

.step-content h3 {
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.72;
}

/* ─── SERVICES ─── */
#services {
  padding: 100px 0;
  background: var(--dark);
}

#services .section-header .section-label {
  color: rgba(107, 163, 214, 0.8);
}

#services .section-header .label-dot {
  background: rgba(107, 163, 214, 0.8);
}

#services h2 { color: #F7F4EF; }

#services .section-sub { color: rgba(247, 244, 239, 0.45); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(107, 163, 214, 0.35);
  transform: translateY(-2px);
}

.service-card--featured {
  border-color: rgba(107, 163, 214, 0.25);
  background: rgba(28, 78, 216, 0.1);
}

.service-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(107, 163, 214, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 4px 10px;
  background: rgba(107, 163, 214, 0.1);
  border-radius: 4px;
  width: fit-content;
}

.service-price {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  color: #F7F4EF;
  margin-bottom: 4px;
  letter-spacing: -0.025em;
}

.price-period {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  opacity: 0.5;
}

.service-name {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: #F7F4EF;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.service-card > p {
  font-size: 14px;
  color: rgba(247, 244, 239, 0.62);
  line-height: 1.72;
  flex: 1;
  margin-bottom: 28px;
}

.service-cta {
  font-size: 13px;
  font-weight: 600;
  color: rgba(107, 163, 214, 0.85);
  text-decoration: none;
  transition: all 0.18s ease;
  letter-spacing: -0.01em;
}

.service-cta:hover {
  color: #6BA3D6;
  letter-spacing: 0;
}

/* ─── ABOUT ─── */
#about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}

.about-photo-wrap {
  position: sticky;
  top: 88px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.about-stats {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.78;
  margin-bottom: 18px;
}

.about-content .btn-primary {
  margin-top: 8px;
}

/* ─── TESTIMONIAL ─── */
#social-proof {
  padding: 100px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-heading {
  margin-bottom: 52px;
}

.testimonial-layout {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

/* Phone frame */
.phone-frame {
  flex-shrink: 0;
  width: 240px;
  background: #1a1c22;
  border-radius: 36px;
  padding: 12px 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 24px 64px rgba(0,0,0,0.18),
    0 4px 12px rgba(0,0,0,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-notch {
  width: 56px;
  height: 6px;
  background: #2a2d35;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9/16;
  width: 100%;
  background: #111318;
}

.video-embed {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Placeholder shown before the real embed is inserted */
.video-placeholder-ui {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e2128 0%, #2a2d35 100%);
}

.video-play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent rgba(255,255,255,0.8);
  margin-left: 3px;
}

.phone-home-bar {
  width: 48px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  margin: 10px auto 0;
}

/* Quote column */
.testimonial-quote-col {
  flex: 1;
  min-width: 260px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-layout blockquote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.testimonial-divider {
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-style: normal;
}

.testimonial-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-title {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── CTA FOOTER ─── */
#cta-footer {
  padding: 100px 0;
  text-align: center;
}

.cta-footer-inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-footer-inner .section-label {
  justify-content: center;
}

#cta-footer h2 {
  margin-bottom: 40px;
}

#cta-footer .section-sub {
  margin: 0 auto 40px;
  max-width: 400px;
  text-align: center;
}

.cta-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.secondary-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.secondary-link:hover { color: var(--accent); }

/* ─── FOOTER ─── */
footer {
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: var(--bg);
}

.footer-copy {
  text-align: right;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--text-dim);
  transition: color 0.18s ease, background 0.18s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--text);
  background: var(--border);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-status span {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-green 2.5s ease-in-out infinite;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; opacity: 1 !important; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {

  h1 { font-size: clamp(40px, 10vw, 54px); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--accent);
    padding: 16px clamp(20px, 5vw, 72px) 24px;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 15px;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggle { display: flex; }

  .step-card { padding: 24px; }


  .service-cards { grid-template-columns: 1fr; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-wrap {
    position: static;
    width: 200px;
    margin: 0 auto;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-proof {
    gap: 14px;
  }

  .proof-divider { display: none; }

  footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .testimonial-layout {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .testimonial-quote-col {
    text-align: center;
    max-width: 340px;
  }

  .testimonial-divider {
    margin: 0 auto 16px;
  }
}

@media (max-width: 480px) {
  #hero { padding: 110px 0 60px; }
  #work, #services, #about, #social-proof, #cta-footer { padding: 72px 0; }
}
