/* ============================================================
   mbalba.com — Holding Page
   Logo: concept 06 — mb•alba dot split
   Palette: ShiftFlow design tokens
   ============================================================ */

/* — TOKENS — */
:root {
  --ink:            #1f2530;
  --navy:           #1f3044;
  --navy-soft:      #2d425a;
  --navy-wash:      #eef1f4;
  --accent:         #d15a3a;
  --accent-strong:  #bb4a2d;
  --accent-soft:    #f8ede7;
  --cream:          #f7f1e7;
  --paper:          #fcfaf5;
  --border:         #dfd7cb;
  --border-soft:    #e9e2d8;
  --muted:          #5d6471;
  --muted-soft:     #7c8491;
  --plum:           #6f5a77;
  --success:        #557b61;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow: 0 12px 40px rgba(31, 48, 68, 0.08);
  --shadow-lg: 0 24px 64px rgba(31, 48, 68, 0.12);
}

/* — RESET — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* — LOGO — */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
}

.logo-mb,
.logo-alba {
  display: inline;
}

.logo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 3px 3px;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* — NAV — */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.status-pip {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pip-pulse 2.4s ease-in-out infinite;
}

@keyframes pip-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 8px 20px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--paper);
}

/* — BUTTONS — */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--paper);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.btn-large {
  font-size: 17px;
  padding: 18px 40px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  padding: 14px 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.18s;
}

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

/* — HERO — */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 64px);
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--navy);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 18px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  opacity: 0.06;
}

/* — SHARED SECTION STYLES — */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* — SERVICES — */
.services {
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--paper);
  padding: 36px 28px;
  transition: background 0.18s;
}

.service-card:hover {
  background: var(--accent-soft);
}

.service-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}

.service-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* — PROCESS — */
.process { background: var(--cream); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process-step {
  border-top: 2px solid var(--border);
  padding-top: 24px;
}

.process-step:hover {
  border-top-color: var(--accent);
}

.process-idx {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 13px;
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.process-step h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* — STATS — */
.stats {
  background: var(--navy);
}

.stats .section-inner {
  padding: 40px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--paper);
  letter-spacing: -0.3px;
}

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

.stat-key {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* — CTA SECTION — */
.cta-section { background: var(--cream); }

.cta-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 80px 80px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 32px;
}

.cta-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-body {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-sub {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted-soft);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
}

/* — FOOTER — */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo .logo-mb,
.footer-logo .logo-alba {
  color: var(--paper);
}

.footer-logo .logo-dot {
  background: var(--accent);
}

.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-soft);
  transition: color 0.18s;
}

.footer-email:hover { color: var(--accent); }

/* — ANIMATIONS — */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-inner > * {
  animation: fade-up 0.6s ease both;
}

.hero-eyebrow  { animation-delay: 0.05s; }
.hero-headline { animation-delay: 0.12s; }
.hero-body     { animation-delay: 0.20s; }
.hero-actions  { animation-delay: 0.28s; }

.hero-mark {
  animation: fade-up 0.8s 0.3s ease both;
}

/* — RESPONSIVE — */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 32px 40px;
    gap: 40px;
  }
  .hero-mark { order: -1; }
  .hero-logo-svg { max-width: 280px; margin: 0 auto; opacity: 0.05; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: repeat(2, 1fr); }
  .section-inner { padding: 60px 32px; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; }
  .nav-status { display: none; }
  .hero { padding: 48px 20px 32px; }
  .hero-headline { font-size: clamp(44px, 12vw, 72px); }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .section-inner { padding: 48px 20px; }
  .stats .section-inner { padding: 32px 20px; }
  .stats-grid { gap: 20px; }
  .stat-div { display: none; }
  .cta-card { padding: 48px 28px; }
  .cta-headline { font-size: 30px; }
  .footer-inner { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
