/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Colors */
  --bg:              #f7f7f8;
  --surface:         #ffffff;
  --border:          #e4e4e7;
  --accent:          #bf1e2d;
  --accent-hover:    #a01825;
  --accent-muted:    #fdf0f1;
  --text:            #111112;
  --text-muted:      #52525b;
  --text-faint:      #939598;

  /* Typography */
  --font: Futura, "Futura PT", "Century Gothic", sans-serif;
  --font-mono: "SF Mono", "Fira Code", Consolas, monospace;

  /* Spacing (8-point grid) */
  --s1:  8px;
  --s2:  16px;
  --s3:  24px;
  --s4:  32px;
  --s5:  40px;
  --s6:  48px;
  --s8:  64px;
  --s10: 80px;
  --s12: 96px;
  --s16: 128px;

  /* Radius */
  --r:   8px;
  --r-lg: 14px;

  /* Transitions */
  --t:   0.18s ease;
  --t-md: 0.32s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
}

img, svg { display: block; max-width: 100%; }
a        { color: inherit; text-decoration: none; }
ul       { list-style: none; }
strong   { font-weight: 700; color: var(--text); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s4);
}

section { padding: var(--s16) 0; }

.section-surface { background-color: var(--surface); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  display: block;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--s3);
}

.section-headline {
  font-size: clamp(2.6rem, 5.2vw, 3.575rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--s3);
}

.section-subhead {
  font-size: clamp(1.3rem, 1.82vw, 1.43rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.body-text {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--s3);
}

.body-text:last-of-type { margin-bottom: 0; }

.accent { color: var(--accent); }

.hero-blink-dot {
  animation: hero-blink 1s step-end infinite;
}

@keyframes hero-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--r);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition:
    background-color var(--t),
    color var(--t),
    border-color var(--t),
    box-shadow var(--t),
    transform var(--t);
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 18px rgba(191,30,45,0.22);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background-color: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--accent); }

.btn-sm  { padding: 9px 18px; font-size: 0.84rem; }
.btn-lg  { padding: 16px 34px; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #0f0a0b;
  border-bottom: 1px solid rgba(191,30,45,0.18);
  transition: border-color var(--t), box-shadow var(--t);
}

#site-header.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: 76px;
}

.logo-link { flex-shrink: 0; }
.logo      { height: 39px; width: auto; filter: brightness(0) invert(1); }

#main-nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s5);
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(242,237,232,0.6);
  transition: color var(--t);
}
.nav-link:hover { color: #f2ede8; }

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #f2ede8;
  border-radius: 2px;
  transition: transform var(--t-md), opacity var(--t-md);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background-color: #0f0a0b;
  z-index: 199;
  padding: var(--s6) var(--s4);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  border-top: 1px solid rgba(191,30,45,0.18);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f2ede8;
  transition: color var(--t);
}
.mobile-nav-link:hover { color: var(--accent); }

.mobile-cta { width: 100%; margin-top: var(--s2); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: var(--s12) 0;
}

.hero-inner {
  max-width: 760px;
}

.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: var(--s4);
}

.hero-subhead {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--s5);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: start;
}

.split-left .section-headline { margin-bottom: 0; }

.steps {
  margin-top: var(--s6);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.step {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.step-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-muted);
  border-radius: var(--r);
  color: var(--accent);
  margin-bottom: var(--s1);
}

.step-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.step-desc {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PACKAGES
   ============================================================ */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--s10);
}

.section-header .section-subhead { margin-top: var(--s2); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  align-items: start;
}

.package-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s5);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  transition: box-shadow var(--t-md), transform var(--t-md);
}

.package-card:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

.package-featured {
  border-color: var(--accent);
  box-shadow: 0 4px 28px rgba(191,30,45,0.10);
}

.package-featured:hover {
  box-shadow: 0 12px 48px rgba(191,30,45,0.16);
}

.package-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.package-top { display: flex; flex-direction: column; gap: var(--s2); }

.package-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.package-price {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.price-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0;
}

.package-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.package-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}

.package-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

.package-deliverables {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.package-deliverables li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.package-deliverables li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-inner {
  max-width: 720px;
}

.clients-body {
  font-size: clamp(1.3rem, 1.82vw, 1.43rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--s6);
}

.clients-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.client-item {
  display: flex;
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
}

.client-domain {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  min-width: 240px;
}

.client-desc {
  font-size: 0.875rem;
  color: var(--text-faint);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .client-item {
    flex-direction: column;
    gap: var(--s1);
  }
  .client-domain { min-width: 0; }
}

/* ============================================================
   AI READINESS
   ============================================================ */
.readiness-block {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.readiness-body {
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: var(--s3) auto var(--s5);
  max-width: 460px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
}
.contact-left .section-headline { margin-bottom: 0; }
.contact-left .body-text        { margin-bottom: 0; }

/* Card wrapping the contact details */
.contact-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--t);
  text-decoration: none;
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-muted);
  border-radius: var(--r);
  color: var(--accent);
}

.contact-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

a.contact-item:hover             { color: var(--accent); }
a.contact-item:hover .contact-icon { background-color: var(--accent); color: #fff; }

.contact-location { cursor: default; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background-color: #0f0a0b;
  border-top: 1px solid rgba(191,30,45,0.18);
  padding: var(--s5) 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.footer-logo  { height: 39px; width: auto; flex-shrink: 0; filter: brightness(0) invert(1); }

.footer-copy {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(242,237,232,0.4);
}

.footer-email {
  font-size: 0.78rem;
  color: rgba(242,237,232,0.4);
  transition: color var(--t);
}
.footer-email:hover { color: var(--accent); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.56s ease, transform 0.56s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }

.packages-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.packages-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  section        { padding: var(--s10) 0; }
  #hero          { min-height: auto; padding: var(--s10) 0; }

  .split         { grid-template-columns: 1fr; gap: var(--s6); }
  .steps         { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: var(--s6); }

  .footer-inner  { flex-direction: column; text-align: center; gap: var(--s2); }

  /* Show hamburger, hide desktop nav */
  .hamburger    { display: flex; }
  #main-nav     { display: none; }
  .nav-cta      { display: none; }
  .mobile-nav   { display: block; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 var(--s3); }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn-ghost {
    text-align: center;
  }

  .btn-lg { width: 100%; }
}

/* ============================================================
   DARK CONTENT THEME — main only (header + footer stay light)
   ============================================================ */
main {
  --bg:           #0f0a0b;
  --surface:      #18100f;
  --border:       rgba(191, 30, 45, 0.14);
  --text:         #f2ede8;
  --text-muted:   #a89e9a;
  --text-faint:   #7a706e;
  --accent-muted: rgba(191, 30, 45, 0.18);
  background-color: var(--bg);
  color: var(--text);
}

/* Lift card shadows into warm red on dark */
main .package-card:hover {
  box-shadow: 0 8px 36px rgba(191, 30, 45, 0.18);
}

main .package-featured {
  box-shadow: 0 4px 28px rgba(191, 30, 45, 0.22);
}

main .package-featured:hover {
  box-shadow: 0 12px 48px rgba(191, 30, 45, 0.32);
}

/* CTA button glow on dark */
main .btn-primary:hover {
  box-shadow: 0 4px 22px rgba(191, 30, 45, 0.42);
}

/* Contact card subtle glow */
main .contact-card {
  box-shadow: 0 4px 24px rgba(191, 30, 45, 0.12);
}
