  /* ---- state hero ---- */
  .state-hero {
    position: relative;
    /* TEMPLATE TOKEN: state hero image is per-state.
       For UT we pull the existing wedj.com asset; production will host
       these at our own CDN under /images/states/{code}.webp */
    background-image:
      linear-gradient(180deg, oklch(15% 0.008 60 / 0.45) 0%, oklch(15% 0.008 60 / 0.40) 55%, oklch(15% 0.008 60 / 0.65) 100%);
    /* state hero image is set dynamically via JS using /images/states/<code>.webp */
    background-size: cover;
    background-position: center;
    background-color: oklch(15% 0.008 60);
    border-bottom: 1px solid var(--rule);
    padding-top: 56px;
    padding-bottom: 56px;
    color: #ffffff;
  }
  .state-hero .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 16px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.9);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .state-hero .eyebrow::before {
    content: ""; width: 28px; height: 1px;
    background: #ffffff;
    display: inline-block;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
  }
  .state-hero h1 {
    font-family: 'Mona Sans', sans-serif;
    font-variation-settings: "wdth" 100, "wght" 800;
    font-size: clamp(44px, 6.5vw, 76px);
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 18px;
    color: #ffffff;
    text-shadow: 0 0 28px rgba(0,0,0,0.85), 0 2px 4px rgba(0,0,0,0.9);
  }
  .state-hero .sub {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 28px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 24px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.95);
    max-width: none;
  }
  .state-hero .sub strong { color: #ffffff; font-weight: 800; }

  /* mini search form (city + service) — matches the home page search-form pattern */
  .state-search {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 4px;
    box-shadow: var(--shadow-2);
    max-width: 720px;
  }
  @media (max-width: 540px) {
    .state-search { grid-template-columns: 1fr; }
    .state-search .btn { margin: 4px; padding: 14px 18px; justify-self: stretch; }
  }
  .state-search .field {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: var(--r-md);
    transition: background .12s;
    cursor: text;
  }
  .state-search .field:hover { background: var(--bg-2); }
  .state-search label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .state-search select {
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    padding: 0;
    width: 100%;
  }
  .state-search select {
    color-scheme: light;
  }
  .state-search select option {
    background-color: var(--paper);
    color: var(--ink);
  }
  :root[data-theme="dark"] .state-search select {
    color-scheme: dark;
  }
  :root[data-theme="dark"] .state-search select option {
    background-color: oklch(23% 0.01 60);
    color: oklch(95% 0.005 60);
  }
  :root[data-theme="light"] .state-search select {
    color-scheme: light;
  }
  :root[data-theme="light"] .state-search select option {
    background-color: oklch(99% 0.003 60);
    color: oklch(18% 0.01 60);
  }
  .state-search .search-go {
    align-self: center;
    margin: 4px 6px;
    padding: 8px 22px;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-width: 70px;
    height: 38px;
    line-height: 1;
    font-size: 14px;
  }
  .state-hero .trust-strip {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    flex-wrap: wrap;
    text-shadow: 0 0 18px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.95);
  }
  .state-hero .trust-strip strong { color: #ffffff; font-weight: 800; }

  @media (max-width: 540px) {
    .state-hero {
      padding-top: 28px;
      padding-bottom: 32px;
    }
    .state-hero h1 { font-size: clamp(40px, 12vw, 56px); }
    .state-hero .sub { font-size: 15px; }
    .state-hero .trust-strip { gap: 8px 16px; margin-top: 14px; font-size: 14px; }
  }

  /* ---- intro copy ---- */
  .intro-copy {
    background: var(--bg-2);
    padding-top: 22px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--rule);
  }
  .intro-copy p {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: none;
    margin-bottom: 12px;
  }
  .intro-copy p:last-child { margin-bottom: 0; }
  .intro-copy strong { color: var(--ink); font-weight: 700; }

  /* ---- category sections ---- */
  .cat-section {
    padding-top: 48px;
    padding-bottom: 16px;
  }
  .cat-section + .cat-section { border-top: 1px solid var(--rule); }
  .cat-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }
  .cat-head .cat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
    display: block;
  }
  .cat-head h2 {
    font-family: 'Mona Sans', sans-serif;
    font-variation-settings: "wdth" 100, "wght" 800;
    font-size: clamp(24px, 2.6vw, 30px);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
  }
  .cat-head .cat-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-2);
    letter-spacing: 0.04em;
  }
  .cat-head .cat-meta b { color: var(--ink); font-weight: 700; }

  .cat-section > .shell > p.deck {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0 0 22px;
    max-width: none;
  }

  /* per-category accent color on the cat-label */
  .cat-section[data-cat="djs"]            .cat-label { color: oklch(50% 0.20 22); }
  .cat-section[data-cat="photographers"]  .cat-label { color: oklch(48% 0.16 70); }
  .cat-section[data-cat="videographers"]  .cat-label { color: oklch(44% 0.14 155); }
  .cat-section[data-cat="photo-booths"]   .cat-label { color: oklch(46% 0.13 255); }
  @media (prefers-color-scheme: dark) {
    .cat-section[data-cat="djs"]            .cat-label { color: oklch(72% 0.18 22); }
    .cat-section[data-cat="photographers"]  .cat-label { color: oklch(72% 0.16 70); }
    .cat-section[data-cat="videographers"]  .cat-label { color: oklch(72% 0.14 155); }
    .cat-section[data-cat="photo-booths"]   .cat-label { color: oklch(72% 0.13 255); }
  }
  :root[data-theme="light"] .cat-section[data-cat="djs"]            .cat-label { color: oklch(50% 0.20 22); }
  :root[data-theme="light"] .cat-section[data-cat="photographers"]  .cat-label { color: oklch(48% 0.16 70); }
  :root[data-theme="light"] .cat-section[data-cat="videographers"]  .cat-label { color: oklch(44% 0.14 155); }
  :root[data-theme="light"] .cat-section[data-cat="photo-booths"]   .cat-label { color: oklch(46% 0.13 255); }
  :root[data-theme="dark"]  .cat-section[data-cat="djs"]            .cat-label { color: oklch(72% 0.18 22); }
  :root[data-theme="dark"]  .cat-section[data-cat="photographers"]  .cat-label { color: oklch(72% 0.16 70); }
  :root[data-theme="dark"]  .cat-section[data-cat="videographers"]  .cat-label { color: oklch(72% 0.14 155); }
  :root[data-theme="dark"]  .cat-section[data-cat="photo-booths"]   .cat-label { color: oklch(72% 0.13 255); }

  /* city grid — reuses the home page city-tile pattern */
  .city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    overflow: hidden;
  }
  @media (max-width: 800px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .city-grid { grid-template-columns: 1fr; } }
  .city-tile {
    background: var(--paper);
    padding: 14px 16px;
    transition: background .12s;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .city-tile:hover { background: var(--bg-2); }
  .city-tile:hover .name { color: var(--accent); }
  .city-tile .name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    transition: color .12s;
  }
  .city-tile .count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-2);
    letter-spacing: 0.04em;
  }
  /* ---- nearby states ---- */
  .nearby-section {
    padding-top: 48px;
    padding-bottom: 56px;
    border-top: 1px solid var(--rule);
    margin-top: 32px;
    background: var(--bg-2);
  }
  .nearby-section .head {
    margin-bottom: 18px;
  }
  .nearby-section h2 {
    font-family: 'Mona Sans', sans-serif;
    font-variation-settings: "wdth" 100, "wght" 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
  }
  .nearby-section .deck {
    font-size: 14px;
    color: var(--ink-2);
  }
  .states-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
  @media (max-width: 900px) { .states-strip { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 540px) { .states-strip { grid-template-columns: repeat(2, 1fr); } }
  .states-strip a {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    padding: 14px 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: border-color .12s, transform .12s, background .12s;
  }
  .states-strip a:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
  }
  .states-strip a:hover .state-name { color: var(--accent); }
  .states-strip .state-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    transition: color .12s;
  }
  .states-strip .state-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-2);
  }
