  :root {
    --midnight: #0B1735;
    --midnight-deep: #060B1F;
    --midnight-soft: #1A2548;
    --teal: #14B8A6;
    --teal-light: #5EEAD4;
    --teal-deep: #0F766E;
    --violet: #8B5CF6;
    --amber: #F59E0B;
    --amber-deep: #D97706;
    --cream: #FAFAF7;
    --white: #FFFFFF;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0F172A;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--slate-900);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* === UTILITY BAR === */
  .utility-bar {
    background: var(--midnight-deep);
    color: var(--slate-400);
    font-size: 12px;
    padding: 8px 0;
  }
  .utility-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .utility-bar a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
  }
  .utility-bar a:hover { color: var(--teal-light); }
  .utility-bar .util-links { display: flex; gap: 20px; }
  .utility-phone { color: var(--white); font-weight: 500; }

  /* === MAIN NAV === */
  nav.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.96);
  }
  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .nav-logo {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--midnight);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  .nav-logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--violet) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
  }
  .nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
  }
  .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
  }
  .nav-link:hover { color: var(--teal-deep); }
  .nav-link.active { color: var(--midnight); font-weight: 600; }
  .nav-cta-group { display: flex; gap: 12px; align-items: center; }
  .btn {
    font-family: inherit;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    padding: 11px 20px;
  }
  .btn-primary {
    background: var(--midnight);
    color: var(--white);
  }
  .btn-primary:hover { background: var(--midnight-soft); transform: translateY(-1px); }
  .btn-amber {
    background: var(--amber);
    color: var(--midnight);
    font-weight: 600;
  }
  .btn-amber:hover { background: var(--amber-deep); color: var(--white); }
  .btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
  }
  .btn-ghost:hover { border-color: var(--midnight); color: var(--midnight); }
  .btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
  }
  .btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
  .btn-large { padding: 14px 28px; font-size: 15px; }
  @media (max-width: 900px) {
    .nav-links { display: none; }
  }

  /* === PAGE SYSTEM === */
  .page { display: none; }
  .page.active { display: block; animation: fadeIn 0.3s ease-out; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  /* === HERO (DARK COSMIC) === */
  .hero-dark {
    background: var(--midnight);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 96px 0 120px;
  }
  .hero-dark::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-dark::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-stars {
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(1.5px 1.5px at 20% 30%, white, transparent),
      radial-gradient(1px 1px at 60% 20%, white, transparent),
      radial-gradient(1.5px 1.5px at 80% 60%, white, transparent),
      radial-gradient(1px 1px at 30% 70%, white, transparent),
      radial-gradient(1px 1px at 50% 50%, white, transparent),
      radial-gradient(1.2px 1.2px at 90% 40%, white, transparent),
      radial-gradient(1px 1px at 15% 85%, white, transparent);
    background-size: 100% 100%;
    opacity: 0.4;
    pointer-events: none;
  }
  .hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal-light);
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
  }
  .hero-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--teal-light);
    border-radius: 50%;
  }
  .hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(40px, 6.5vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 920px;
  }
  .hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--slate-300);
    max-width: 660px;
    margin-bottom: 40px;
  }
  .hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

  /* === LOGO WALL === */
  .logo-wall {
    background: var(--white);
    padding: 64px 0;
    border-bottom: 1px solid var(--slate-200);
  }
  .logo-wall-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .logo-wall-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--slate-500);
    margin-bottom: 36px;
    font-weight: 600;
  }
  .logo-wall-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
  }
  @media (max-width: 1100px) {
    .logo-wall-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  }
  @media (max-width: 600px) {
    .logo-wall-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  }
  .logo-item {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-400);
    letter-spacing: -0.01em;
    text-align: center;
    transition: color 0.2s;
    line-height: 1.3;
  }
  .logo-item:hover { color: var(--midnight); }

  /* === SECTION === */
  section.content-section {
    padding: 112px 0;
  }
  .section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
  section.dark { background: var(--midnight); color: var(--white); }
  section.darker { background: var(--midnight-deep); color: var(--white); }
  section.cream { background: var(--cream); }
  section.white { background: var(--white); }
  section.slate { background: var(--slate-50); }

  .section-eyebrow {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--teal-deep);
    margin-bottom: 16px;
  }
  section.dark .section-eyebrow, section.darker .section-eyebrow { color: var(--teal-light); }
  .section-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 880px;
  }
  .section-title em { font-style: italic; color: var(--teal-deep); }
  section.dark .section-title em, section.darker .section-title em {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .section-lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--slate-600);
    max-width: 720px;
    margin-bottom: 56px;
  }
  section.dark .section-lede, section.darker .section-lede { color: var(--slate-300); }

  /* === STAT BLOCKS === */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    padding: 56px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
  }
  section.dark .stats-grid, section.darker .stats-grid {
    border-color: rgba(255, 255, 255, 0.1);
  }
  .stat-block {
    border-left: 2px solid var(--teal);
    padding-left: 24px;
  }
  section.dark .stat-block, section.darker .stat-block { border-left-color: var(--teal-light); }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--midnight);
    margin-bottom: 8px;
  }
  section.dark .stat-num, section.darker .stat-num { color: var(--white); }
  .stat-label {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.5;
  }
  section.dark .stat-label, section.darker .stat-label { color: var(--slate-300); }

  /* === SERVICE CARDS === */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .service-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    transition: width 0.3s;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 23, 53, 0.08);
    border-color: var(--slate-300);
  }
  .service-card:hover::before { width: 100%; }
  .service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(139, 92, 246, 0.12));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }
  .service-icon svg { width: 24px; height: 24px; color: var(--teal-deep); }
  .service-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--midnight);
    min-height: 28px;
    display: flex;
    align-items: flex-start;
    transition: color 0.3s;
    white-space: nowrap;
  }
  .service-card:hover .service-title { color: var(--teal-deep); }
  .service-body {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-deep);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .service-link::after {
    content: "→";
    transition: transform 0.2s;
  }
  .service-link:hover::after { transform: translateX(4px); }

  /* === SPECIALTY GRID === */
  .specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
  .specialty-grid.five-balanced {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
  .specialty-grid.five-balanced .specialty-card { grid-column: span 2; }
  .specialty-grid.five-balanced .specialty-card:nth-child(4) { grid-column: 2 / span 2; }
  .specialty-grid.five-balanced .specialty-card:nth-child(5) { grid-column: 4 / span 2; }
  @media (max-width: 900px) {
    .specialty-grid.five-balanced { grid-template-columns: 1fr; }
    .specialty-grid.five-balanced .specialty-card,
    .specialty-grid.five-balanced .specialty-card:nth-child(4),
    .specialty-grid.five-balanced .specialty-card:nth-child(5) { grid-column: auto; }
  }
  .specialty-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .specialty-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    transition: width 0.4s ease;
  }
  .specialty-card:hover {
    border-color: var(--slate-300);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 23, 53, 0.08);
  }
  .specialty-card:hover::before { width: 100%; }
  .specialty-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: rgba(20, 184, 166, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
  }
  .specialty-name {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 500;
    color: var(--midnight);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
  }
  .specialty-card:hover .specialty-name { color: var(--teal-deep); }
  .specialty-creds {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .specialty-cred-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .cred-pill {
    background: var(--slate-100);
    color: var(--slate-700);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
  }

  /* === CUSTOMER STORY === */
  .story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }
  .story-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .story-logo {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: -0.01em;
  }
  .story-stat {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--teal-deep), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .story-stat-label {
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.5;
  }
  .story-quote {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    line-height: 1.5;
    font-style: italic;
    color: var(--midnight);
    flex: 1;
  }
  .story-author {
    border-top: 1px solid var(--slate-200);
    padding-top: 16px;
  }
  .story-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--midnight);
  }
  .story-author-title {
    font-size: 13px;
    color: var(--slate-500);
  }

  /* === FEATURE LIST === */
  .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
  }
  .feature-list.principles-five {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1100px;
    margin: 0 auto;
  }
  .feature-list.principles-five .feature-item { grid-column: span 2; }
  .feature-list.principles-five .feature-item:nth-child(4) { grid-column: 2 / span 2; }
  .feature-list.principles-five .feature-item:nth-child(5) { grid-column: 4 / span 2; }
  .feature-list.three-by-two {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
  @media (max-width: 900px) {
    .feature-list.principles-five { grid-template-columns: 1fr; }
    .feature-list.principles-five .feature-item,
    .feature-list.principles-five .feature-item:nth-child(4),
    .feature-list.principles-five .feature-item:nth-child(5) { grid-column: auto; }
    .feature-list.three-by-two { grid-template-columns: 1fr; }
  }
  .feature-item {
    display: flex;
    gap: 16px;
  }
  .feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--teal), var(--violet));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 18px;
  }
  .feature-content h4 {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--midnight);
    letter-spacing: -0.01em;
  }
  section.dark .feature-content h4, section.darker .feature-content h4 { color: var(--white); }
  .feature-content p {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.6;
  }
  section.dark .feature-content p, section.darker .feature-content p { color: var(--slate-300); }

  /* === FINAL CTA === */
  .final-cta {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-soft) 100%);
    color: var(--white);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
  }
  .final-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
  }
  .final-cta-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .final-cta-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .final-cta-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .final-cta-sub {
    font-size: 18px;
    color: var(--slate-300);
    margin-bottom: 36px;
  }
  .final-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* === FOOTER === */
  footer.site-footer {
    background: var(--midnight-deep);
    color: var(--slate-400);
    padding: 72px 0 32px;
  }
  .footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 56px;
  }
  @media (max-width: 900px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; display: inline-flex; }
  .footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
  .footer-col h5 {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    text-align: left;
  }
  .footer-col a:hover { color: var(--teal-light); }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: var(--slate-400);
  }
  .footer-bottom a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 12px;
  }
  .footer-bottom a:hover { color: var(--teal-light); }
  .footer-bottom span { color: var(--slate-400); font-size: 12px; }

  /* === ABOUT PAGE === */
  .about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  @media (max-width: 800px) {
    .about-section { grid-template-columns: 1fr; gap: 32px; }
  }
  .about-prose p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--slate-700);
    margin-bottom: 18px;
  }
  .about-prose p strong { color: var(--midnight); font-weight: 600; }
  .credential-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .credential-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 20px;
  }
  .credential-card h5 {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--midnight);
    margin-bottom: 6px;
  }
  .credential-card p {
    font-size: 13px;
    color: var(--slate-600);
    line-height: 1.5;
  }

  /* === RESOURCE TILES (1099 page) === */
  .resource-tile {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .resource-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    transition: width 0.3s;
  }
  .resource-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 23, 53, 0.08);
    border-color: var(--slate-300);
  }
  .resource-tile:hover::before { width: 100%; }
  .resource-tile-num {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    color: var(--teal-deep);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
  }
  .resource-tile-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--midnight);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
  }
  .resource-tile:hover .resource-tile-title { color: var(--teal-deep); }
  .resource-tile-body {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
  }
  .resource-tile-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-deep);
  }
  @media (max-width: 800px) {
    .page #page-1099-resources [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
  }

  /* === CHECKBOX ROW (referral form) === */
  .checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: var(--white);
    font-size: 14px;
    color: var(--slate-700);
    cursor: pointer;
    transition: all 0.2s;
  }
  .checkbox-row:hover { border-color: var(--teal); background: rgba(20, 184, 166, 0.04); }
  .checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--teal-deep);
    cursor: pointer;
  }
  @media (max-width: 600px) {
    .page #page-refer-vms [style*="grid-template-columns: repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }
  }

  /* === VMS thank-you banner === */
  .vms-thanks-banner {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 32px;
  }
  .vms-thanks-banner h4 {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: var(--midnight);
    margin-bottom: 8px;
  }
  .vms-thanks-banner p {
    font-size: 15px;
    color: var(--slate-700);
    line-height: 1.55;
  }

  /* === FILE UPLOAD INPUT === */
  .file-upload-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px dashed var(--slate-300);
    border-radius: 8px;
    background: rgba(20, 184, 166, 0.02);
    font-size: 14px;
    color: var(--slate-700);
    cursor: pointer;
    transition: all 0.2s;
  }
  .file-upload-input:hover {
    border-color: var(--teal);
    background: rgba(20, 184, 166, 0.05);
  }
  .file-upload-input::file-selector-button {
    background: var(--midnight);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
    transition: background 0.2s;
  }
  .file-upload-input::file-selector-button:hover {
    background: var(--teal-deep);
  }

  /* === ARTICLE READING LAYOUT === */
  .article-meta-bar {
    font-size: 13px;
    color: var(--slate-300);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-deep);
    cursor: pointer;
    margin-bottom: 32px;
    text-decoration: none;
  }
  .article-back:hover { color: var(--violet); }
  .article-body {
    max-width: 720px;
    margin: 0 auto;
  }
  .article-body p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--slate-700);
    margin-bottom: 20px;
  }
  .article-body h2 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--midnight);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
  }
  .article-body h3 {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 500;
    color: var(--midnight);
    margin: 32px 0 12px;
    letter-spacing: -0.01em;
  }
  .article-body strong { color: var(--midnight); font-weight: 600; }
  .article-body em { color: var(--teal-deep); font-style: normal; font-weight: 500; }
  .article-body ul, .article-body ol {
    margin: 0 0 24px 24px;
    padding: 0;
  }
  .article-body li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--slate-700);
    margin-bottom: 10px;
  }
  .article-body blockquote {
    border-left: 3px solid var(--teal);
    padding: 4px 0 4px 20px;
    margin: 28px 0;
    color: var(--slate-700);
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
  }
  .article-cta {
    margin-top: 56px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.06), rgba(139, 92, 246, 0.06));
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    text-align: center;
  }
  .article-cta h4 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    color: var(--midnight);
    margin-bottom: 8px;
  }
  .article-cta p {
    font-size: 15px;
    color: var(--slate-700);
    margin-bottom: 20px;
  }

  /* === SCROLL-REVEAL ANIMATIONS === */
  .reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }
  .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal-up {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* === FOOTER SOCIAL ICONS === */
  .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }
  .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--slate-300);
    text-decoration: none;
    transition: all 0.2s;
  }
  .footer-social-icon:hover {
    background: linear-gradient(135deg, var(--teal), var(--violet));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
  }
  .footer-social-icon svg {
    width: 16px;
    height: 16px;
  }

  /* === EQUIPMENT/PLATFORM PILLS === */
  .platform-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 24px 0;
  }
  .platform-pill {
    background: var(--white);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
  }
  section.dark .platform-pill, section.darker .platform-pill {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: var(--slate-300);
  }

  /* === REFERRAL PAGE === */
  .step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 48px 0;
  }
  .step-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    padding: 32px;
    position: relative;
  }
  .step-num {
    font-family: 'Fraunces', serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-deep);
    margin-bottom: 16px;
    letter-spacing: 0.08em;
  }
  .step-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--midnight);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .step-card p {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.6;
  }
  .referral-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 48px 0;
  }
  @media (max-width: 700px) { .referral-paths { grid-template-columns: 1fr; } }
  .referral-path {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--midnight-soft) 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
  }
  .referral-path::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 60%);
    border-radius: 50%;
  }
  .referral-path-content { position: relative; z-index: 1; }
  .referral-path h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .referral-path p {
    color: var(--slate-300);
    margin-bottom: 24px;
    line-height: 1.6;
  }

  /* === CONTACT FORM === */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
  }
  @media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
  .contact-form {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    padding: 40px;
  }
  .form-row { margin-bottom: 20px; }
  .form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 8px;
  }
  .form-row input,
  .form-row select,
  .form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--slate-900);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .form-row input:focus,
  .form-row select:focus,
  .form-row textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
  }
  .form-row textarea { min-height: 110px; resize: vertical; }
  .contact-info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }
  .contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-deep);
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 18px;
  }
  .contact-info-block h4 {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--midnight);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
  }
  .contact-info-block p, .contact-info-block a {
    font-size: 15px;
    color: var(--slate-600);
    line-height: 1.6;
    text-decoration: none;
  }
  .contact-info-block a:hover { color: var(--teal-deep); }

  /* === SPECIALTIES PAGE === */
  .specialty-deep {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid var(--slate-200);
  }
  @media (max-width: 800px) {
    .specialty-deep { grid-template-columns: 1fr; gap: 16px; }
  }
  .specialty-deep:last-child { border-bottom: none; }
  .specialty-deep-header h3 {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--midnight);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .specialty-deep-header .specialty-tag { margin-bottom: 0; }
  .specialty-deep-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-700);
    margin-bottom: 16px;
  }
  .specialty-deep-body h5 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-500);
    font-weight: 600;
    margin: 24px 0 10px;
  }

  /* === PAGE HEADER (non-home) === */
  .page-header {
    background: var(--cream);
    padding: 80px 0 64px;
    border-bottom: 1px solid var(--slate-200);
  }
  .page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }
  .page-header h1 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--midnight);
    margin-bottom: 16px;
    max-width: 880px;
  }
  .page-header h1 em {
    font-style: italic;
    color: var(--teal-deep);
  }
  .page-header p {
    font-size: 19px;
    line-height: 1.55;
    color: var(--slate-600);
    max-width: 720px;
  }

  /* === BLOG TEASER === */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  .blog-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
  }
  .blog-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--violet));
    transition: width 0.4s ease;
    z-index: 2;
  }
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(11, 23, 53, 0.08);
    border-color: var(--slate-300);
  }
  .blog-card:hover::after { width: 100%; }
  .blog-img {
    height: 160px;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--violet) 100%);
    position: relative;
    overflow: hidden;
  }
  .blog-img.alt-1 {
    background: linear-gradient(135deg, var(--teal-deep) 0%, var(--midnight) 100%);
  }
  .blog-img.alt-2 {
    background: linear-gradient(135deg, var(--midnight) 0%, var(--teal) 100%);
  }
  .blog-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(1.5px 1.5px at 30% 40%, white, transparent),
      radial-gradient(1px 1px at 70% 60%, white, transparent),
      radial-gradient(1.5px 1.5px at 50% 30%, white, transparent);
    opacity: 0.3;
  }
  .blog-content { padding: 24px; }
  .blog-meta {
    font-size: 12px;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .blog-title {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--midnight);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
  }
  .blog-card:hover .blog-title { color: var(--teal-deep); }
  .blog-excerpt {
    font-size: 14px;
    color: var(--slate-600);
    line-height: 1.5;
  }

  /* === HELPER === */
  .gap-32 { margin-top: 32px; }
  .gap-48 { margin-top: 48px; }
  .gap-64 { margin-top: 64px; }
  .text-center { text-align: center; }

  @media (max-width: 700px) {
    .nav-cta-group .btn-ghost { display: none; }
    section.content-section { padding: 80px 0; }
    .hero-dark { padding: 64px 0 80px; }
  }