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

  :root {
    /* Brand palette (light mode): see ~/Documents/grok-projects/pixel/brand/design-guidelines.md */
    --frost: #F7F6FC;
    --violet: #6D4AFF;
    --violet-deep: #5232D6;
    --violet-bright: #9C85FF;
    --violet-tint: #E3DCFF;
    --midnight: #15132B;
    --muted: #5E5C78;
    --muted-light: #5E5C78;
    --white: #FFFFFF;

    /* Light theme roles, after the light slides in Pixel (templates/slides.html) */
    --bg: #F7F6FC;       /* Frost: page background */
    --surface: #FFFFFF;  /* Cards */
    --band: #ECE6FE;     /* Lavender band: alternate sections, footer */
    --text: #15132B;     /* Midnight */
    --accent: #5232D6;   /* Violet deep: violet text on light */
    --line: rgba(82,50,214,0.16);
    color-scheme: light;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-weight: 300;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 60px;
    background: rgba(247,246,252,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .brand-logo {
    --brand-text: var(--text);
    --brand-mark-filter: brightness(0) saturate(100%) invert(35%) sepia(49%) saturate(1065%) hue-rotate(340deg) brightness(94%) contrast(91%);
    --brand-word-primary: var(--text);
    --brand-word-accent: var(--violet-bright);
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--brand-text);
    text-decoration: none;
    line-height: 1;
  }
  .brand-logo-image {
    width: auto;
    height: 52px;
    display: block;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: block;
    transform: translateY(0);
  }
  .brand-mark {
    background: var(--brand-word-accent);
    -webkit-mask: url("images/virgo-mark.svg") left center / contain no-repeat;
    mask: url("images/virgo-mark.svg") left center / contain no-repeat;
  }
  .brand-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    width: max-content;
    text-transform: uppercase;
  }
  .brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1;
  }
  .brand-word--primary { color: var(--brand-word-primary); }
  .brand-word--accent { color: var(--brand-word-accent); }
  .brand-wordmark .brand-word--accent { margin-left: 0.22em; }
  .brand-logo--light {
    --brand-text: rgba(255,255,255,0.96);
    --brand-mark-filter: brightness(0) saturate(100%) invert(99%) sepia(5%) saturate(59%) hue-rotate(290deg) brightness(115%) contrast(100%);
    --brand-word-primary: rgba(255,255,255,0.96);
    --brand-word-accent: var(--violet-bright);
  }
  .nav-links { display: flex; gap: 36px; }
  .nav-links a {
    font-size: 13px; font-weight: 400; letter-spacing: 0.08em;
    text-transform: uppercase; text-decoration: none;
    color: var(--muted); transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    background: var(--violet); color: var(--white);
    padding: 10px 24px; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: 13px;
    font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--violet-deep); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 60px 80px;
    position: relative; overflow: hidden;
    background-color: var(--bg);
    /* Lavender base from the light slides */
    background-image: linear-gradient(162deg, #F4F1FF 0%, #ECE6FE 40%, #DED5FC 75%, #E9E3FE 100%);
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .hero-content {
    position: relative;
    z-index: 1;
  }
  .hero-eyebrow {
    font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 28px;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 32px; height: 1px; background: var(--violet);
  }
  .hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    max-width: 820px;
    margin-bottom: 8px;
  }
  .hero-headline em {
    font-style: italic; color: var(--accent);
  }
  .hero-sub {
    font-size: 18px; font-weight: 300; color: var(--muted);
    max-width: 480px; line-height: 1.7; margin-bottom: 52px;
    margin-top: 28px;
  }
  .hero-actions { display: flex; align-items: center; gap: 28px; }
  .btn-primary {
    background: var(--violet); color: var(--white);
    padding: 16px 36px; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: 14px;
    font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
  }
  .btn-primary:hover { background: var(--violet-deep); }
  .btn-ghost {
    color: var(--text); background: transparent; border: none;
    font-family: 'DM Sans', sans-serif; font-size: 14px;
    font-weight: 400; cursor: pointer; letter-spacing: 0.02em;
    text-decoration: underline; text-underline-offset: 4px;
    transition: color 0.2s;
  }
  .btn-ghost:hover { color: var(--accent); }
  /* Layered radials — strong enough to read on screen; still calm */
  .hero-bg-wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
      radial-gradient(ellipse 55% 50% at 24% 45%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.15) 50%, transparent 75%),
      radial-gradient(ellipse 85% 95% at 100% 0%, rgba(82,50,214,0.85) 0%, rgba(109,74,255,0.55) 35%, rgba(109,74,255,0.18) 60%, transparent 80%),
      radial-gradient(ellipse 60% 65% at 100% 100%, rgba(82,50,214,0.30) 0%, rgba(82,50,214,0.08) 45%, transparent 70%),
      radial-gradient(ellipse 70% 60% at 0% 100%, rgba(156,133,255,0.45) 0%, rgba(156,133,255,0.14) 45%, transparent 72%);
  }
  .hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none; /* dark-only vignette */
    z-index: 2;
  }
  .hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.05;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 280px 280px;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-grain { opacity: 0.04; }
  }

  /* SECTION TYPE */
  .section-eyebrow {
    font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-eyebrow::before {
    content: ''; display: block; width: 24px; height: 1px; background: var(--violet);
  }
  /* Second word of a heading in italic violet, like "AI Leader." in the hero */
  .section-headline em, .team-headline em, .media-headline em { font-style: italic; color: var(--accent); }
  .section-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -0.02em; margin-bottom: 24px;
  }
  .section-body {
    font-size: 16px; color: var(--muted); line-height: 1.8; font-weight: 300;
    margin-bottom: 40px;
  }
  /* SERVICES: overview, then one section per service with who it's for and how it works.
     Steps run through the violet shades, darkest first (see Pixel brand guide) */
  /* Home hero: two designed lines, purple (not italic) on the punch, then a smaller supporting line */
  .hero-headline-home { font-size: clamp(48px, 5.5vw, 78px); line-height: 1.0; letter-spacing: -0.03em; max-width: 1050px; }
  .hero-accent { color: var(--accent); white-space: nowrap; }
  .hero-lede { font-size: clamp(22px, 2vw, 30px); font-weight: 300; line-height: 1.35; color: var(--text); max-width: 760px; margin: 40px 0 28px; }
  .hero-home .hero-content { margin-top: -80px; }
  .hero-home .btn-primary { padding: 16px 26px; }
  /* Centered home hero */
  .hero-home .hero-content { text-align: center; }
  .hero-home .hero-headline, .hero-home .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-home .hero-actions { justify-content: center; }
  /* ADVISOR AND BUILDER: one centered statement between the hero and services */
  .builder-section { background: var(--bg); padding: 120px 60px; text-align: center; }
  .builder-section .section-headline { margin-bottom: 28px; }
  .builder-line { font-size: clamp(19px, 1.7vw, 24px); font-weight: 300; line-height: 1.5; color: var(--muted); max-width: 720px; margin: 0 auto; }
  .services-section { background: var(--band); padding: 120px 60px; }
  .services-header { max-width: 720px; margin-bottom: 72px; }
  /* Service cards: outlined card with a ribbon tab (cap, number, icon block) that runs past
     the card's top and bottom edges. Same design as the Pixel "Service cards" slide */
  .scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 20px 0; }
  .scard {
    position: relative; min-height: 260px; padding: 28px 24px 28px 136px;
    border: 2px solid var(--seg); border-radius: 14px;
    color: inherit; text-decoration: none;
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
    /* Violet glow in the card's own shade from the top-right corner */
    background:
      radial-gradient(ellipse 110% 100% at 100% 0%, rgba(var(--glow),0.22) 0%, rgba(var(--glow),0.08) 50%, transparent 85%),
      rgba(255,255,255,0.75);
  }
  /* Brighter glow on hover, faded in with an overlay since gradients don't transition */
  .scard::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(ellipse 95% 85% at 100% 0%, rgba(var(--glow),0.16) 0%, transparent 75%);
    opacity: 0; transition: opacity 0.25s;
  }
  .scard:hover::before, .scard:focus-visible::before { opacity: 1; }
  .scard > h3, .scard > p, .scard > .more { position: relative; }
  /* Per-card shades written out as plain colors so older browsers get the same look:
     seg = border and ribbon, glow = seg as rgb, fold = seg darkened, num = seg lightened */
  .scard:nth-child(1) { --seg: #3F22B5; --glow: 63,34,181;  --fold: #26146D; --num: #3F22B5; }
  .scard:nth-child(2) { --seg: #5232D6; --glow: 82,50,214;  --fold: #311E80; --num: #5232D6; }
  .scard:nth-child(3) { --seg: #6D4AFF; --glow: 109,74,255; --fold: #412C99; --num: #6D4AFF; }
  .scard .tab { position: absolute; left: 20px; top: -20px; bottom: -20px; width: 96px; display: flex; flex-direction: column; }
  /* Folded corners where the ribbon passes the card edge */
  .scard .tab::before, .scard .tab::after {
    content: ''; position: absolute; left: -9px; width: 9px; height: 20px;
    background: var(--fold);
  }
  .scard .tab::before { top: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
  .scard .tab::after { bottom: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
  .scard .t-cap { height: 24px; flex: none; background: var(--seg); }
  .scard .t-num {
    height: 80px; flex: none; background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; font-variant-numeric: lining-nums;
    color: var(--num);
  }
  .scard .t-block {
    flex: 1; background: var(--seg); color: var(--white);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    text-align: center; padding: 0 10px;
  }
  .scard .t-block svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .scard .t-block span { font-size: 12px; line-height: 1.3; }
  .scard h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; line-height: 1.2; }
  .scard p { font-size: 14px; color: var(--muted); line-height: 1.6; }
  .scard .more { margin-top: 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

  .service { --sect-bg: var(--bg); background: var(--sect-bg); padding: 120px 60px; }
  .service.alt { --sect-bg: var(--band); }
  .service-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; margin-bottom: 96px; }
  .service-intro .section-headline { margin-bottom: 0; }
  .service-oneliner { font-size: 18px; color: var(--muted); line-height: 1.8; }
  .service-start { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--violet); font-size: 15px; color: var(--muted); line-height: 1.7; }
  .service-start strong { color: var(--text); font-weight: 500; }
  /* Service page section headings use the home page style, with more room before the content */
  .service > .section-headline { margin-bottom: 56px; }


  .steps { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 32px; position: relative; }
  .steps::before {
    content: ''; position: absolute; top: 31px; left: 32px;
    right: calc((100% - (var(--n) - 1) * 32px) / var(--n) - 32px);
    border-top: 2px dashed rgba(82,50,214,0.3);
  }
  .step { position: relative; }
  .step-dot {
    width: 64px; height: 64px; border-radius: 50%; margin-bottom: 28px; position: relative;
    background: var(--seg); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
    box-shadow: 0 0 0 8px var(--sect-bg), 0 0 0 9px rgba(82,50,214,0.16);
  }
  .step.opt .step-dot { background: var(--sect-bg); color: var(--accent); border: 2px dashed var(--seg); }
  .step h4 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
  .step .line { font-size: 15px; color: var(--text); line-height: 1.6; }
  .step .opt-tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-left: 6px; font-family: 'DM Sans', sans-serif; font-weight: 400; }
  .step .get { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.6; }
  .step .get b { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 4px; }
  .loop-note { margin-top: 40px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
  .loop-note svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .service-cta { margin-top: 80px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
  .service-cta p { font-size: 15px; color: var(--muted); }

  /* OUR TEAM */
  .team-section {
    padding: 120px 60px;
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .team-section-inner {
    max-width: 960px;
  }
  .team-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
    margin-bottom: 56px;
  }
  .team-grid {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 48px 56px;
    align-items: start;
  }
  .team-photo {
    line-height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(82,50,214,0.16);
    border: 1px solid var(--line);
  }
  .team-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .team-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
  }
  .team-role {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 20px;
  }
  .team-bio {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 300;
  }

  /* MEDIA & SPEAKING */
  .media-section-v2 {
    padding: 120px 60px;
    background: var(--band);
    border-top: 1px solid var(--line);
  }
  .media-section-inner {
    max-width: 960px;
  }
  .media-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
    margin-bottom: 56px;
  }
  .media-stage-figure {
    margin: 0 0 56px;
  }
  .media-stage-frame {
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 20px 60px rgba(82,50,214,0.16);
    border: 1px solid var(--line);
  }
  .media-stage-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  .media-category-v2 { margin-bottom: 48px; }
  .media-category-v2:last-of-type { margin-bottom: 0; }
  .media-category-title-v2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--violet);
  }
  .media-list-v2 { list-style: none; padding: 0; margin: 0; }
  .media-list-v2 li {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    font-weight: 300;
    margin-bottom: 14px;
    padding-left: 1.25rem;
    position: relative;
  }
  .media-list-v2 li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .media-list-v2 li:last-child { margin-bottom: 0; }
  .media-list-v2 a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
  }
  .media-list-v2 a:hover { color: var(--accent); }
  .media-list-v2 strong { font-weight: 600; }

  /* CTA */
  .cta-section {
    background: var(--band); padding: 100px 60px; text-align: center;
  }
  /* Home page CTA follows a Raised band section, so it sits on Void with the violet glow */
  .cta-section.glow {
    background-color: var(--bg);
    background-image:
      radial-gradient(ellipse 65% 80% at 100% 0%, rgba(82,50,214,0.6) 0%, rgba(109,74,255,0.3) 40%, transparent 75%),
      radial-gradient(ellipse 70% 60% at 0% 100%, rgba(156,133,255,0.28) 0%, transparent 70%),
      linear-gradient(162deg, #F4F1FF 0%, #ECE6FE 40%, #DED5FC 75%, #E9E3FE 100%);
  }
  .cta-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
  }
  .cta-eyebrow::before, .cta-eyebrow::after {
    content: ''; display: block; width: 32px; height: 1px;
    background: rgba(82,50,214,0.3);
  }
  .cta-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900; color: var(--text);
    line-height: 1.05; letter-spacing: -0.02em;
    max-width: 700px; margin: 0 auto 40px;
  }
  .cta-headline em { font-style: italic; color: var(--accent); }
  .btn-white {
    background: var(--violet); color: var(--white);
    padding: 18px 44px; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: 14px;
    font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
  }
  .btn-white:hover { background: var(--violet-deep); color: var(--white); }

  /* FOOTER */
  footer {
    background: var(--band); padding: 40px 60px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-logo { display: inline-flex; }
  .footer-note { font-size: 12px; color: var(--muted); font-weight: 300; }

  /* FADE IN */
  .fade-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
  .fade-up.d1 { transition-delay: 0.1s; }
  .fade-up.d2 { transition-delay: 0.2s; }
  .fade-up.d3 { transition-delay: 0.3s; }
  .fade-up.d4 { transition-delay: 0.4s; }

  /* Mobile nav */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text);
    border-radius: 8px;
    flex-shrink: 0;
  }
  .nav-toggle:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
  }
  .nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-site.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-site.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-site.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-panel {
    display: flex;
    align-items: center;
    gap: 36px;
    flex: 1;
    justify-content: flex-end;
  }

  @media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .nav-site {
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 12px;
      padding: 14px 20px;
    }
    .brand-logo { margin-right: auto; }
    .brand-logo-image { height: 44px; }
    .nav-panel {
      position: fixed;
      inset: 0;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 99;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 0;
      padding: 76px 20px 32px;
      background: rgba(247,246,252,0.98);
      backdrop-filter: blur(12px);
      transform: translateX(100%);
      transition: transform 0.28s ease;
      overflow-y: auto;
      flex: none;
    }
    .nav-site.nav-open .nav-panel { transform: translateX(0); }
    /* The nav's blur makes it the box that fixed children size against, which clipped the
       full-screen panel to the nav bar. Drop the blur while open so the panel fills the screen */
    .nav-site.nav-open { backdrop-filter: none; }
    /* Keep the logo and close button above the open panel */
    .brand-logo, .nav-toggle { position: relative; z-index: 100; }
    .nav-links {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
    .nav-links a {
      padding: 16px 0;
      border-bottom: 1px solid var(--line);
      font-size: 14px;
    }
    .nav-cta {
      margin-top: 20px;
      text-align: center;
      width: 100%;
    }
  }

  @media (max-width: 768px) {
    nav { padding: 14px 20px; }
    .hero {
      padding: 100px 20px 64px;
      min-height: auto;
    }
    .hero-headline {
      font-size: clamp(2rem, 10vw, 3.25rem);
    }
    .hero-sub { font-size: 16px; margin-bottom: 36px; }
    .hero-headline-home { font-size: clamp(2.25rem, 10vw, 3.25rem); }
    .hero-lede { font-size: 19px; margin: 24px 0 32px; }
    .br-wide { display: none; }
    .hero-home .hero-content { margin-top: 0; }
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
    }
    .btn-primary, .btn-ghost { text-align: center; width: 100%; }
    .builder-section,
    .services-section,
    .service,
    .team-section,
    .media-section-v2 {
      padding: 72px 20px;
    }
    .scards,
    .service-intro {
      grid-template-columns: 1fr;
    }
    .scards { gap: 64px; }
    .service-intro { gap: 24px; margin-bottom: 64px; }
    .steps { grid-auto-flow: row; gap: 36px; }
    .steps::before { display: none; }
    .step:not(:last-child)::after { content: ''; position: absolute; left: 31px; top: 64px; bottom: -36px; border-left: 2px dashed rgba(82,50,214,0.3); }
    .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; }
    .step-dot { grid-row: span 3; margin-bottom: 0; }
    .services-header { margin-bottom: 48px; }
    .service-cta { margin-top: 56px; flex-direction: column; align-items: stretch; gap: 16px; }
    .team-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .media-headline,
    .team-headline { margin-bottom: 40px; }
    .media-stage-figure { margin-bottom: 40px; }
    .cta-section { padding: 64px 20px; }
    .cta-headline { font-size: clamp(1.75rem, 8vw, 2.75rem); }
    .cta-eyebrow::before,
    .cta-eyebrow::after { width: 20px; }
    footer {
      padding: 28px 20px;
      justify-content: center;
      text-align: center;
    }
    .section-headline { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .media-list-v2 a { word-break: break-word; }
  }

  /* SERVICE PAGES: shorter hero, then who it's for and how it works */
  .hero.service-hero { min-height: auto; padding: 200px 60px 120px; }
  .service-hero .hero-headline { font-size: clamp(44px, 6vw, 80px); max-width: 960px; }
  .service-hero .hero-sub { max-width: 620px; margin-bottom: 0; }
  .service-hero .service-start { max-width: 620px; margin-bottom: 48px; }
  .cta-line { font-size: 17px; color: var(--muted); max-width: 520px; margin: -16px auto 40px; line-height: 1.7; }
  @media (max-width: 768px) {
    .hero.service-hero { padding: 120px 20px 64px; }
  }

  /* DIAGNOSTIC: "Where are you stuck?" quiz, one question at a time, then the result */
  .diag-content { width: 100%; max-width: 760px; }
  .diag-progress { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
  .diag-count { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
  .diag-bar { flex: 1; max-width: 240px; height: 2px; background: var(--line); }
  .diag-bar-fill { height: 100%; width: 0; background: var(--violet); transition: width 0.3s; }
  .diag-question {
    font-family: 'Playfair Display', serif; font-weight: 900;
    font-size: clamp(32px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.02em;
    margin-bottom: 40px; outline: none;
  }
  .diag-answers { display: grid; gap: 12px; }
  .diag-answer {
    text-align: left; width: 100%; padding: 20px 24px;
    font-family: 'DM Sans', sans-serif; font-size: 17px; line-height: 1.45; color: var(--text);
    background: rgba(255,255,255,0.72); border: 1px solid var(--line); cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
  }
  .diag-answer:hover, .diag-answer:focus-visible { border-color: var(--violet); background: var(--white); outline: none; }
  .diag-answer.picked { border-color: var(--violet); background: var(--white); box-shadow: inset 4px 0 0 var(--violet); }
  .diag-back {
    margin-top: 28px; padding: 0; background: none; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--muted);
  }
  .diag-back:hover { color: var(--accent); }
  .diag-result-head { font-size: clamp(44px, 5.6vw, 80px); outline: none; }
  .diag-why { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--text); max-width: 620px; margin: 28px 0 44px; }
  .diag-fix { border-left: 2px solid var(--violet); padding-left: 24px; max-width: 620px; margin-bottom: 28px; }
  .diag-fix-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  .diag-fix-name { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
  .diag-fix-line { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--muted); }
  .diag-also { font-size: 15px; color: var(--muted); max-width: 620px; margin-bottom: 8px; }
  .diag-also a { color: var(--accent); }
  .diag-result .hero-actions { margin-top: 40px; }
  .diag-retake { margin-top: 32px; font-size: 14px; color: var(--muted); }
  .diag-retake button {
    padding: 0; background: none; border: none; cursor: pointer;
    font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
  }

  @media (max-width: 768px) {
    .diag-progress { margin-bottom: 28px; }
    .diag-question { margin-bottom: 28px; }
    .diag-answer { font-size: 16px; padding: 16px 18px; }
    .diag-why { font-size: 16px; margin: 20px 0 32px; }
    .diag-fix-name { font-size: 26px; }
  }

  /* WHO IT'S FOR (arc): half ring of violet segments around the client, leader lines out to each situation.
     Ring and text share one box with a fixed shape, so the text stays on its line ends as the page scales */
  .arc { position: relative; max-width: 780px; aspect-ratio: 1000 / 480; margin: 24px 0 104px; }
  .arc-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .arc-seg { filter: drop-shadow(0 12px 24px rgba(82,50,214,0.25)); }
  .arc-hub { fill: var(--white); stroke: rgba(82,50,214,0.12); stroke-width: 2; filter: drop-shadow(0 10px 24px rgba(82,50,214,0.22)); }
  .arc-person, .arc-icon { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .arc-person { stroke: var(--accent); stroke-width: 1.5; }
  .arc-icon { stroke: var(--white); }
  .arc-item { position: absolute; transform: translateY(-50%); width: max-content; max-width: 380px; }
  .arc-item h4 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
  .arc-item p { font-size: 15px; color: var(--muted); line-height: 1.6; }
  .arc-chip { display: none; }
  @media (max-width: 1100px) { .arc-item { width: auto; max-width: 32%; } }
  .arc:last-child { margin-bottom: 0; }

  @media (max-width: 768px) {
    .arc { aspect-ratio: auto; display: grid; gap: 28px; margin: 8px 0 72px; }
    .arc-ring { display: none; }
    .arc-item { position: static; transform: none; max-width: none; display: flex; align-items: flex-start; gap: 18px; }
    .arc-chip { display: flex; flex: none; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: var(--seg); box-shadow: 0 8px 18px rgba(82,50,214,0.22); }
    .arc-chip svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  }
