:root {
    --magenta: #c8007a;
    --magenta-dark: #9e005f;
    --magenta-light: #f0007f1a;
    --charcoal: #3d3d3d;
    --charcoal-light: #5a5a5a;
    --warm-white: #fafaf8;
    --off-white: #f3f2ef;
    --border: #e2e0da;
    --text: #2a2a2a;
    --nav-h: 72px;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--warm-white);
    font-size: 16px;
    line-height: 1.65;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center;
  }
  .nav-inner {
    max-width: 1200px; width: 100%; margin: 0 auto;
    padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; cursor: pointer;
  }
  .nav-logo-mark {
    display: flex; align-items: center; gap: 2px;
  }
  .nav-logo-dot {
    width: 8px; height: 8px;
    background: var(--charcoal); flex-shrink: 0;
  }
  .nav-logo-spg {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--magenta);
    letter-spacing: -1px;
  }
  .nav-logo-sub {
    font-size: 11px;
    color: var(--charcoal-light);
    line-height: 1.3;
    border-left: 1px solid var(--border);
    padding-left: 10px;
    font-weight: 400;
  }
  .nav-links {
    display: flex; gap: 32px; list-style: none; align-items: center;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    cursor: pointer;
  }
  .nav-links a:hover { color: var(--magenta); }
  .nav-cta {
    background: var(--magenta);
    color: white !important;
    padding: 9px 20px;
    border-radius: 4px;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--magenta-dark) !important; color: white !important; }

  /* ── PAGES ── */
  .page { display: none; padding-top: var(--nav-h); min-height: 100vh; }
  .page.active { display: block; }

  /* ── HERO ── */
  .hero {
    padding: 100px 40px 80px;
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  }
  .hero-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--magenta);
    margin-bottom: 20px;
  }
  .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--magenta);
  }
  .hero-lead {
    font-size: 17px;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
  }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--magenta);
    color: white;
    padding: 14px 28px;
    border: none; border-radius: 4px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none; display: inline-block;
  }
  .btn-primary:hover { background: var(--magenta-dark); transform: translateY(-1px); }
  .btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 14px 28px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-ghost:hover { border-color: var(--magenta); color: var(--magenta); }

  .hero-visual {
    position: relative;
  }
  .hero-card-stack {
    position: relative; height: 360px;
  }
  .hero-card {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  }
  .hero-card:nth-child(1) { top: 0; right: 40px; width: 280px; }
  .hero-card:nth-child(2) { top: 80px; left: 0; width: 260px; z-index: 2; }
  .hero-card:nth-child(3) { bottom: 0; right: 20px; width: 240px; }
  .hero-card-tag {
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--magenta);
    margin-bottom: 10px;
  }
  .hero-card h3 {
    font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.3;
  }
  .hero-card p { font-size: 13px; color: var(--charcoal-light); line-height: 1.5; }
  .hero-card-line {
    height: 3px; background: var(--magenta); border-radius: 2px;
    margin-bottom: 16px; width: 32px;
  }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 40px;
  }
  .stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .stat { text-align: center; }
  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 40px; color: var(--magenta);
    line-height: 1;
  }
  .stat-label {
    font-size: 13px; color: var(--charcoal-light);
    margin-top: 6px; font-weight: 500;
  }

  /* ── SECTION COMMONS ── */
  .section {
    padding: 80px 40px;
    max-width: 1200px; margin: 0 auto;
  }
  .section-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--magenta);
    margin-bottom: 16px;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15; margin-bottom: 20px;
  }
  .section-lead {
    font-size: 17px; color: var(--charcoal-light);
    line-height: 1.7; max-width: 640px;
    margin-bottom: 56px;
  }
  .divider {
    height: 1px; background: var(--border);
    max-width: 1200px; margin: 0 auto;
  }

  /* ── CARDS GRID ── */
  .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px;
    transition: box-shadow 0.2s, border-color 0.2s;
  }
  .card:hover {
    box-shadow: 0 8px 32px rgba(200,0,122,0.08);
    border-color: var(--magenta);
  }
  .card-icon {
    width: 44px; height: 44px;
    background: var(--magenta-light);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
  }
  .card h3 {
    font-size: 18px; font-weight: 600;
    margin-bottom: 12px; line-height: 1.3;
  }
  .card p { font-size: 14px; color: var(--charcoal-light); line-height: 1.65; }

  /* ── PROCESS STEPS ── */
  .process-steps {
    counter-reset: steps;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }
  .step {
    background: white;
    padding: 36px 28px;
    counter-increment: steps;
    position: relative;
  }
  .step::before {
    content: counter(steps, decimal-leading-zero);
    font-family: 'DM Serif Display', serif;
    font-size: 36px; color: var(--magenta);
    opacity: 0.3;
    display: block; margin-bottom: 16px;
  }
  .step h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
  .step p { font-size: 13px; color: var(--charcoal-light); line-height: 1.6; }

  /* ── PORTFOLIO CARDS ── */
  .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .portfolio-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .portfolio-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
  .portfolio-header {
    background: var(--magenta);
    padding: 32px 28px;
    color: white;
  }
  .portfolio-header h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px; margin-bottom: 4px;
  }
  .portfolio-header .sub { font-size: 12px; opacity: 0.8; font-weight: 500; }
  .portfolio-body { padding: 28px; }
  .portfolio-tag {
    display: inline-block;
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--magenta);
    background: var(--magenta-light);
    padding: 4px 10px; border-radius: 20px;
    margin-bottom: 14px;
  }
  .portfolio-body p { font-size: 14px; color: var(--charcoal-light); line-height: 1.65; }

  /* ── TEAM ── */
  .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .team-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }
  .team-avatar {
    height: 200px;
    background: var(--off-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 56px;
    border-bottom: 1px solid var(--border);
  }
  .team-info { padding: 24px; }
  .team-info h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
  .team-info .role {
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--magenta);
    margin-bottom: 12px;
  }
  .team-info p { font-size: 13px; color: var(--charcoal-light); line-height: 1.6; }

  /* ── HERO FULL WIDTH ── */
  .page-hero {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: 72px 40px;
  }
  .page-hero-inner {
    max-width: 1200px; margin: 0 auto;
  }
  .page-hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1; margin-bottom: 16px;
  }
  .page-hero p {
    font-size: 18px; color: var(--charcoal-light);
    max-width: 600px; line-height: 1.7;
  }

  /* ── LEGAL PAGES ── */
  .legal {
    max-width: 800px; margin: 0 auto;
    padding: 80px 40px;
  }
  .legal h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 40px; margin-bottom: 40px;
  }
  .legal h2 {
    font-size: 20px; font-weight: 600;
    margin-top: 40px; margin-bottom: 12px;
    color: var(--text);
  }
  .legal p, .legal address {
    font-size: 15px; color: var(--charcoal-light);
    line-height: 1.75; margin-bottom: 12px;
    font-style: normal;
  }
  .legal a { color: var(--magenta); }

  /* ── CTA BLOCK ── */
  .cta-block {
    background: var(--magenta);
    color: white;
    padding: 72px 40px;
    text-align: center;
  }
  .cta-block h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 16px;
  }
  .cta-block p {
    font-size: 17px; opacity: 0.85;
    margin-bottom: 36px; max-width: 520px;
    margin-left: auto; margin-right: auto;
    line-height: 1.7;
  }
  .btn-white {
    background: white; color: var(--magenta);
    padding: 14px 32px;
    border: none; border-radius: 4px;
    font-size: 14px; font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none; display: inline-block;
  }
  .btn-white:hover { opacity: 0.9; transform: translateY(-1px); }

  /* ── FOOTER ── */
  footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 48px 40px 32px;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  }
  .footer-brand .logo-spg {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700; font-size: 26px;
    color: var(--magenta);
    letter-spacing: -0.5px;
  }
  .footer-brand p {
    margin-top: 12px;
    font-size: 13px; line-height: 1.7;
    max-width: 280px;
  }
  footer h4 {
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: white; margin-bottom: 16px;
  }
  footer ul { list-style: none; }
  footer ul li { margin-bottom: 10px; }
  footer ul a {
    color: rgba(255,255,255,0.6);
    text-decoration: none; font-size: 14px;
    transition: color 0.2s; cursor: pointer;
  }
  footer ul a:hover { color: var(--magenta); }
  .footer-bottom {
    max-width: 1200px; margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: space-between;
    font-size: 12px; align-items: center;
  }

  /* ── HIGHLIGHT BOX ── */
  .highlight-box {
    background: var(--magenta-light);
    border-left: 3px solid var(--magenta);
    border-radius: 0 6px 6px 0;
    padding: 24px 28px;
    margin: 32px 0;
  }
  .highlight-box p { font-size: 15px; color: var(--text); line-height: 1.7; margin: 0; }

  /* ── TWO COL LAYOUT ── */
  .two-col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
  }
  .two-col-text h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 34px; margin-bottom: 20px; line-height: 1.2;
  }
  .two-col-text p {
    font-size: 15px; color: var(--charcoal-light);
    line-height: 1.75; margin-bottom: 16px;
  }
  .feature-list { list-style: none; margin-top: 24px; }
  .feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px; color: var(--charcoal);
    display: flex; align-items: flex-start; gap: 12px;
  }
  .feature-list li::before {
    content: '→';
    color: var(--magenta); font-weight: 700; flex-shrink: 0;
  }

  /* mobile hamburger placeholder */
  .nav-toggle { display: none; }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .cards-3, .portfolio-grid, .team-grid { grid-template-columns: 1fr; }
    .cards-2, .two-col { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .nav-links { display: none; }
    .section { padding: 60px 24px; }
  }
