@charset "UTF-8";

:root {
      color-scheme: light dark;
      --page: #f6f1e7;
      --paper: #fffdf7;
      --ink: #0F1E33;
      --muted: #55606E;
      --line: #C9CED6;
      --forest: #173F66;
      --forest-deep: #0F1E33;
      --accent: #c23b21;
      --accent-soft: #fbd9d0;
      --sun: #e7b340;
      --sky: #D7E2EE;
      --shadow: 0 18px 50px rgba(15,30,51,.11);
      --radius-sm: 10px;
      --radius-md: 18px;
      --radius-lg: 30px;
      --sans: "IBM Plex Sans", ui-sans-serif, sans-serif;
      --serif: "Libre Baskerville", Georgia, serif;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --page: #0A141F;
        --paper: #152539;
        --ink: #f6f1e7;
        --muted: #B9C4D0;
        --line: #2E4258;
        --forest: #7FB2E5;
        --forest-deep: #A9CCF2;
        --accent: #fe6c54;
        --accent-soft: #57251d;
        --sun: #efbd55;
        --sky: #1D324B;
        --shadow: 0 20px 54px rgba(0, 0, 0, .28);
      }
    
      .biz-verified { color: #f3d27a; background: rgba(239,189,85,.13); border-color: #8a6a1f; }}

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--page);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    svg { display: block; max-width: 100%; }
    .wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

    
    
    
    

    .hero { padding: 58px 0 22px; overflow: hidden; }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 880px);
      justify-content: center;
      gap: clamp(38px, 7vw, 88px);
      align-items: center;
    }
    /* Grid items must be allowed to shrink below their min-content size:
       the hero search input's intrinsic min-content (267px) otherwise
       inflates the track to 393.5px and clips the hero on phones. */
    .hero-grid > * { min-width: 0; }
    h1, h2, h3, p { margin-top: 0; }
    h1 {
      max-width: 680px;
      margin-bottom: 24px;
      font-family: var(--serif);
      font-size: clamp(2.65rem, 5.8vw, 5.4rem);
      line-height: 1.03;
      letter-spacing: -.055em;
      font-weight: 700;
    }
    .hero-copy > p:not(.place-line) {
      max-width: 620px;
      margin-bottom: 32px;
      color: var(--muted);
      font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    }
    .actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-proof {
      margin: -18px 0 26px; font-size: .95rem; font-weight: 600; color: var(--forest);
      display: flex; align-items: center; gap: 8px;
    }
    .hero-proof::before { content: "✓"; font-weight: 700; }
    .search-label { margin: 24px 0 8px; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
    .hero-search { display: flex; gap: 8px; margin-top: 0; max-width: 520px; }
    .hero-search input {
      flex: 1; padding: 15px 20px; font-size: 1.06rem; font-family: var(--sans); min-height: 56px;
      color: #0F1E33; background: #fffdf7; border: 3px solid var(--accent);
      border-radius: 999px; outline: none; min-width: 0;
      box-shadow: 0 8px 22px rgba(15,30,51,.18);
    }
    .hero-search input::placeholder { color: #55606E; opacity: 1; }
    .hero-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
    .hero-search button {
      padding: 15px 28px; font-size: 1.06rem; font-weight: 700; font-family: var(--sans); min-height: 56px;
      color: #fff; background: var(--accent); border: 3px solid var(--accent);
      border-radius: 999px; cursor: pointer; white-space: nowrap;
      box-shadow: 0 8px 22px rgba(254,108,84,.35);
    }
    .hero-search button:hover { filter: brightness(1.07); }
    .search-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
    .search-chips .chips-label { font-weight: 700; font-size: .95rem; color: var(--muted); }
    .search-chips a {
      display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
      background: var(--paper); color: var(--ink); border: 1.5px solid var(--forest);
      border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none;
    }
    .search-chips a:hover { border-color: var(--accent); color: var(--accent); }
    .button {
      min-height: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 13px 20px;
      border: 2px solid var(--ink);
      border-radius: var(--radius-sm);
      background: var(--ink);
      color: var(--page);
      font-weight: 700;
      text-decoration: none;
      transition: transform .18s ease, background-color .18s ease, color .18s ease;
    }
    .button.secondary { background: transparent; color: var(--ink); }
    .button.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
    .button:hover { transform: translateY(-2px); }
    .button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
    .button svg { width: 18px; height: 18px; }

    .town-art {
      border-radius: 28px;
      box-shadow: var(--shadow);
      overflow: hidden;
      isolation: isolate;
      line-height: 0;
    }
    .town-art img { display: block; width: 100%; height: auto; }

    .promise {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 24px 0;
    }
    .promise .wrap {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
    }
    .promise-item { padding: 4px 30px; border-right: 1px solid var(--line); }
    .promise-item:first-child { padding-left: 0; }
    .promise-item:last-child { border-right: 0; }
    .promise strong { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 1rem; }
    .promise span { color: var(--muted); font-size: .91rem; }

    section { padding: 44px 0; }
    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
      gap: 48px;
      align-items: end;
      margin-bottom: 40px;
    }
    h2 {
      margin-bottom: 0;
      font-family: var(--serif);
      font-size: clamp(2rem, 4vw, 3.45rem);
      line-height: 1.13;
      letter-spacing: -.04em;
    }
    .section-head p { margin-bottom: 4px; color: var(--muted); }

    .categories {
      display: grid;
      grid-template-columns: repeat(9, 1fr);
      border: 1px solid var(--line);
      background: var(--paper);
      box-shadow: var(--shadow);
    }
    .category {
      min-width: 0;
      min-height: 210px;
      padding: 25px 22px;
      border-right: 1px solid var(--line);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .category:last-child { border-right: 0; }
    .category h3 { margin: 20px 0 7px; font-family: var(--serif); font-size: 1.12rem; }
    .category p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
    .category-icon { width: 42px; height: 42px; color: var(--accent); }
    .category[data-filter], .category[data-scrollto] { cursor: pointer; transition: background .2s ease; }
    .category[data-filter]:hover, .category[data-scrollto]:hover { background: rgba(23,63,102,.07); }
    .category[data-filter]:focus-visible, .category[data-scrollto]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

    .local-callout { padding-top: 0; }
    .callout {
      display: grid;
      grid-template-columns: .7fr 1.3fr;
      min-height: 350px;
      background: var(--forest-deep);
      color: #f6f1e7;
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .callout-art { background: var(--accent-soft); position: relative; min-height: 300px; }
    .callout-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
    .callout-copy { padding: clamp(38px, 7vw, 76px); align-self: center; }
    .callout-copy h2 { margin-bottom: 18px; }
    .callout-copy p { max-width: 610px; color: #B9C4D0; margin-bottom: 28px; }
    .callout-copy .button { background: #f6f1e7; color: #0F1E33; border-color: #f6f1e7; }

    .plans-wrap { background: var(--paper); }
    .plans {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      align-items: stretch;
    }
    .plan {
      position: relative;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      display: flex;
      flex-direction: column;
      background: var(--page);
    }
    .plan.featured { border: 3px solid var(--forest); padding: 28px; }
    .plan-label { min-height: 25px; margin-bottom: 18px; color: var(--forest); font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .plan h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 1.45rem; }
    .price { margin-bottom: 24px; font-family: var(--serif); font-size: 2.45rem; line-height: 1; }
    .price span { color: var(--muted); font-family: var(--sans); font-size: .85rem; font-weight: 500; }
    .plan ul { margin: 0 0 28px; padding: 0; list-style: none; }
    .plan li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); font-size: .93rem; }
    .plan li::before { content: "✓"; position: absolute; left: 1px; color: var(--forest); font-weight: 800; }
    .plan .button { margin-top: auto; }
    .plans-note { margin-top: 24px; text-align: center; color: var(--muted); font-size: .95rem; }
    .hero-home { font-family: var(--serif); font-style: italic; color: var(--forest-deep); font-size: 1.06rem; max-width: 520px; }
    .why-local { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--page); padding: 28px 30px; margin-bottom: 26px; }
    .why-local h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 6px; }
    .why-local .why-lead { color: var(--muted); margin: 0 0 20px; max-width: 640px; }
    .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
    .why-item strong { display: block; color: var(--forest); margin-bottom: 2px; }
    .why-item span { font-size: .93rem; color: var(--ink); }
    @media (max-width: 680px) { .why-grid { grid-template-columns: 1fr; } .why-local { padding: 24px 22px; } }
    

    .faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 90px); align-items: start; }
    .faq-intro p { color: var(--muted); max-width: 360px; margin-top: 17px; }
    details { border-top: 1px solid var(--line); }
    details:last-child { border-bottom: 1px solid var(--line); }
    summary {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 22px 3px;
      cursor: pointer;
      list-style: none;
      font-weight: 700;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: "+"; color: var(--accent); font-size: 1.35rem; line-height: 1; }
    details[open] summary::after { content: "−"; }
    details p { margin: -4px 30px 24px 3px; color: var(--muted); }

    footer { padding: 0 0 42px; }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      align-items: center;
      padding-top: 28px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: .87rem;
    }
    .footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
    .footer-links a { font-weight: 600; text-underline-offset: 3px; }
    .social-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: .87rem; font-weight: 600; }
    .social-row .soc { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color .15s, border-color .15s, transform .15s; }
    .social-row .soc:hover { color: var(--forest); border-color: var(--forest); transform: translateY(-2px); }
    .social-row .soc svg { width: 18px; height: 18px; fill: currentColor; }


    .dir-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
    #dir-search {
      flex: 1 1 240px; max-width: 340px; padding: 12px 16px; font-size: 1rem;
      font-family: var(--sans); color: var(--ink); background: var(--paper);
      border: 1px solid var(--line); border-radius: 999px; outline: none;
    }
    #dir-search:focus { border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 22%, transparent); }
    .dir-pills { display: flex; flex-wrap: wrap; gap: 8px; }
    .pill {
      padding: 9px 16px; font-size: .88rem; font-weight: 600; font-family: var(--sans);
      color: var(--muted); background: transparent; border: 1px solid var(--line);
      border-radius: 999px; cursor: pointer;
    }
    .pill:hover { color: var(--ink); border-color: var(--forest); }
    .pill.active { background: var(--forest); border-color: var(--forest); color: #fff; }
    .dir-count { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
    .view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 14px; }
    .view-toggle button { padding: 8px 20px; font: 600 .85rem var(--sans); background: transparent; border: 0; color: var(--muted); cursor: pointer; }
    .view-toggle button.active { background: var(--forest); color: #fff; }
    .map-wrap { margin-top: 14px; }
    .map-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; flex-wrap: wrap; }
    .map-btn { padding: 8px 16px; font: 600 .85rem var(--sans); color: var(--forest); background: transparent; border: 1px solid var(--forest); border-radius: 999px; cursor: pointer; }
    .map-hint { color: var(--muted); font-size: .85rem; }
    #biz-map { height: 440px; border: 1px solid var(--line); border-radius: var(--radius-md); z-index: 0; background: #D7E2EE; }
    .biz-pin span { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.4); }
    .leaflet-popup-content { font-family: var(--sans); font-size: .85rem; line-height: 1.5; margin: 12px 14px; }
    .leaflet-popup-content strong { font-size: .95rem; }
    @media (max-width: 640px) { #biz-map { height: 340px; } }
    .biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .biz-card {
      background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md);
      padding: 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow);
      cursor: pointer; transition: transform .16s ease, box-shadow .16s ease;
    }
    .biz-tag {
      align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .07em;
      text-transform: uppercase; color: var(--forest); background: color-mix(in srgb, var(--forest) 12%, transparent);
      padding: 4px 10px; border-radius: 999px; margin-bottom: 4px;
    }
    .biz-card h3 { margin: 0; font-family: var(--serif); font-size: 1.18rem; letter-spacing: -.01em; }
    .biz-card h3 a { color: inherit; text-decoration: none; }
    .biz-card h3 a:hover { text-decoration: underline; }
    .biz-card h3 a::after { content: " →"; color: var(--accent); font-weight: 700; }
    @media (hover:hover) {
      .biz-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15,30,51,.14); }
    }
    .biz-addr { margin: 0; color: var(--muted); font-size: .9rem; }
    .biz-phone { align-self: flex-start; color: var(--forest); font-weight: 600; font-size: .92rem; text-decoration: none; }
    .biz-directions { align-self: flex-start; color: var(--forest); font-weight: 600; font-size: .92rem; text-decoration: none; }
    .biz-web { align-self: flex-start; color: var(--forest); font-weight: 600; font-size: .92rem; text-decoration: none; }
    .biz-card { position: relative; }
    .biz-verified { position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: #6d4f0e; background: #fbeecb; border: 1px solid #e0b73e; border-radius: 999px; padding: 3px 10px; box-shadow: 0 1px 4px rgba(0,0,0,.10); }
    .biz-phone:hover { text-decoration: underline; }
    .biz-web:hover { text-decoration: underline; }
    .biz-order {
      align-self: flex-start; margin-top: 6px; display: inline-block;
      background: var(--accent); color: #fff; font-weight: 700; font-size: .92rem;
      padding: 8px 18px; border-radius: 999px; text-decoration: none;
    }
    .biz-order:hover { filter: brightness(.9); }
    .biz-claim { align-self: flex-start; margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 700; font-size: .88rem; text-decoration: none; }
    .biz-claim:hover { text-decoration: underline; }
    .dir-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }
    .dir-note { margin-top: 26px; color: var(--muted); font-size: .92rem; text-align: center; }
    .dir-note a { color: var(--forest); font-weight: 700; }

    .biz-card.featured {
      border: 2px solid var(--sun); position: relative; cursor: pointer;
    }
    .biz-card.featured:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15,30,51,.14); }
    .feat-badge {
      position: absolute; top: -13px; right: 14px; background: var(--sun); color: #0F1E33;
      font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
      padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap;
    }
    .feat-more { margin-top: auto; padding-top: 10px; color: var(--forest); font-weight: 700; font-size: .88rem; }
    .modal-backdrop {
      position: fixed; inset: 0; background: rgba(10,20,31,.62); z-index: 200;
      display: none; align-items: center; justify-content: center; padding: 20px;
    }
    .modal-backdrop.open { display: flex; }
    .modal {
      background: var(--paper); border-radius: var(--radius-lg); max-width: 620px; width: 100%;
      max-height: 88vh; overflow-y: auto; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.35);
    }
    .modal-close {
      position: absolute; top: 10px; right: 14px; z-index: 2; background: rgba(10,20,31,.55); color: #fff;
      border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1.3rem; line-height: 1;
      cursor: pointer;
    }
    .modal-photo {
      height: 220px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
      background: linear-gradient(135deg, var(--forest-deep), var(--forest));
      display: flex; align-items: center; justify-content: center;
      color: #f6f1e7; font-family: var(--serif); font-size: 4rem;
    }
    .modal-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .modal-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
    .modal-body h3 { margin: 0; font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.01em; }
    .feat-story { margin: 4px 0; color: var(--ink); font-size: .98rem; line-height: 1.6; }
    .feat-offer {
      background: color-mix(in srgb, var(--sun) 16%, transparent);
      border: 1px dashed var(--sun); border-radius: var(--radius-md); padding: 14px 16px; margin: 6px 0;
    }
    .feat-offer strong { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 4px; }
    .feat-offer p { margin: 0; font-weight: 600; }
    .feat-hours { margin: 0; color: var(--muted); font-size: .9rem; white-space: pre-line; }
    .feat-web { color: var(--forest); font-weight: 700; font-size: .92rem; text-decoration: none; }
    .feat-web:hover { text-decoration: underline; }

    .newsletter { background: var(--forest-deep); color: #f6f1e7; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center; margin-top: 8px; }
    .newsletter h2 { margin-bottom: 12px; color: #f6f1e7; }
    .newsletter p { color: #B9C4D0; max-width: 560px; margin: 0 auto 24px; }
    .nl-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
    .nl-form input {
      flex: 1; padding: 13px 18px; font-size: 1rem; font-family: var(--sans);
      border: 1px solid transparent; border-radius: 999px; outline: none; min-width: 0;
    }
    .nl-form input:focus { box-shadow: 0 0 0 3px rgba(231,179,64,.45); }
    .nl-form button {
      padding: 13px 26px; font-size: 1rem; font-weight: 700; font-family: var(--sans);
      background: var(--sun); color: #0F1E33; border: none; border-radius: 999px; cursor: pointer; white-space: nowrap;
    }
    .nl-form button:hover { filter: brightness(1.06); }
    .nl-done { display: none; color: var(--sun); font-weight: 700; margin-top: 6px; }
    .nl-sample {
      text-align: left; background: var(--paper); color: var(--ink);
      border-radius: var(--radius-md); padding: 22px 24px; margin: 0 auto 26px;
      max-width: 560px; box-shadow: var(--shadow); font-size: .92rem;
    }
    .nl-sample .nl-subject { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
    .nl-sample .nl-date { color: var(--muted); font-size: .8rem; margin-bottom: 14px; }
    .nl-sample h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--forest); margin: 14px 0 6px; }
    .nl-sample ul { margin: 0; padding-left: 18px; }
    .nl-sample li { margin-bottom: 5px; }
    .nl-sample .nl-more { margin-top: 14px; font-size: .85rem; color: var(--muted); }
    .nl-sample .nl-more a { font-weight: 700; }
    @media (max-width: 560px) { .nl-form { flex-direction: column; } }

    @media (max-width: 920px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 620px) { .biz-grid { grid-template-columns: 1fr; } }

    @media (max-width: 920px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-copy { text-align: center; }
      .hero-copy h1, .hero-copy p { margin-inline: auto; }
      .place-line, .actions { justify-content: center; }
      .town-art { width: min(620px, 100%); margin: 0 auto; }
      .categories { grid-template-columns: repeat(2, 1fr); }
      .category { min-height: 190px; border-bottom: 1px solid var(--line); }
      .category:nth-child(2n) { border-right: 0; }
      .category:last-child { grid-column: 1 / -1; border-bottom: 0; }
      .plans { grid-template-columns: 1fr; }
      .plan { max-width: 680px; width: 100%; margin: 0 auto; }
      .callout { grid-template-columns: .85fr 1.15fr; }
    }

    @media (max-width: 680px) {
      .wrap { width: min(100% - 28px, 1180px); }
      
      .hero { padding: 42px 0 12px; }
      h1 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
      .hero-copy > p:not(.place-line) { font-size: 1rem; }
      .actions { flex-direction: column; }
      .button { width: 100%; }
      .town-art { border-radius: 22px; }
      .promise .wrap { grid-template-columns: 1fr; }
      .promise-item, .promise-item:first-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
      .promise-item:last-child { border-bottom: 0; }
      section { padding: 32px 0; }
      .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
      .categories { grid-template-columns: 1fr; }
      .category, .category:nth-child(2n) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
      .category:last-child { grid-column: auto; }
      .callout { grid-template-columns: 1fr; }
      .callout-art { min-height: 230px; }
      .callout-copy { padding: 38px 26px 42px; }
      .plan { padding: 24px; }
      .plan.featured { padding: 22px; }
      .faq-grid { grid-template-columns: 1fr; gap: 28px; }
      .footer-inner { align-items: flex-start; flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    }
    .events-sec { margin-top: 8px; }
    .events-grid { display: grid; gap: 14px; margin-top: 26px; }
    @media (min-width: 720px) { .events-grid { grid-template-columns: 1fr 1fr; } }
    .event-card {
      display: flex; gap: 16px; align-items: flex-start;
      background: var(--paper); border: 1px solid var(--line);
      border-radius: var(--radius-md); padding: 18px;
    }
    .event-emoji { font-size: 1.02rem; line-height: 1; display: block; margin-bottom: 1px; }
    .event-date {
      flex: 0 0 62px; text-align: center; background: var(--forest);
      color: var(--paper); border-radius: 12px; padding: 10px 4px;
    }
    .event-date .event-mon { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .event-date .event-day { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
    .event-info h3 { margin: 2px 0 6px; font-size: 1.05rem; }
    .event-meta { margin: 0 0 8px; color: var(--muted); font-size: .9rem; }
    .event-src { font-weight: 700; color: var(--forest); font-size: .9rem; }
    .events-note { color: var(--muted); font-size: .9rem; margin-top: 18px; }
    .events-toggle { display: block; width: 100%; margin-top: 16px; padding: 14px 18px; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--forest); background: var(--forest); color: var(--paper); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-align: center; }
    .events-toggle:hover { filter: brightness(1.07); }
    .events-toggle .ev-chev { display: inline-block; margin-left: 8px; transition: transform .25s ease; }
    .events-toggle[aria-expanded="true"] .ev-chev { transform: rotate(180deg); }
    .event-card[hidden] { display: none !important; }
    .events-promo {
      display: block; margin-top: 22px; padding: 14px 18px; border-radius: 12px;
      background: color-mix(in srgb, var(--accent) 13%, var(--paper));
      border: 1px solid var(--accent); color: var(--ink);
      font-weight: 700; font-size: 1rem; text-decoration: none;
    }
    .events-promo:hover { filter: brightness(1.04); text-decoration: none; }
    .dotw {
      margin-top: 4px;
      border: 2px solid var(--accent);
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--paper)), var(--paper) 72%);
      padding: 30px 32px;
      box-shadow: var(--shadow);
    }
    .dotw-eyebrow {
      font-size: .78rem; font-weight: 800; letter-spacing: .14em;
      text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
    }
    .dotw-title {
      font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.1rem);
      line-height: 1.2; margin: 0 0 10px; letter-spacing: -.02em;
    }
    .dotw-copy { color: var(--muted); font-size: 1.02rem; max-width: 640px; margin: 0 0 20px; }
    @media (max-width: 680px) { .dotw { padding: 24px 22px; border-radius: var(--radius-md); } }
    /* hero-pin-oct23 (MOCK): nav pinned in normal flow — always visible at
       first paint, sticks at top:0 while scrolling. Was position:fixed and
       translateY(-110%) hidden until 500px of scroll. In-flow sticky means
       no body offset is needed and content never slides underneath it.
       The .visible class is no longer visual; the ticker pin sync keys off
       it, and the scroll script now sets it unconditionally (see below). */
    .sticky-nav {
      position: sticky; top: 0; z-index: 60;
      background: var(--paper); border-bottom: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .sticky-nav .wrap {
      display: flex; align-items: center; gap: 4px;
      padding-top: 10px; padding-bottom: 10px;
      overflow-x: auto; scrollbar-width: none;
    }
    .sticky-nav .wrap::-webkit-scrollbar { display: none; }
    .sticky-nav .brand {
      font-family: var(--serif); font-weight: 700; font-size: 1rem;
      color: var(--ink); text-decoration: none; white-space: nowrap;
      margin-right: 10px;
    }
    .sticky-nav .brand em { color: var(--forest); font-style: normal; }
.brand .bm { color: var(--accent, #c23b21); }
@media (prefers-color-scheme: dark) { .brand .bm { color: #fe6c54; } }
    .sticky-nav a.nav-link {
      white-space: nowrap; text-decoration: none; color: var(--muted);
      font-size: .88rem; font-weight: 600; padding: 8px 12px; border-radius: 999px;
    }
    .sticky-nav a.nav-link:hover { color: var(--ink); background: var(--line); }
    @media (prefers-color-scheme: dark) {
      /* Contrast fixes: these surfaces turn light in dark mode, so text goes dark for readability */
      .callout,
      .callout-copy p,
      .newsletter,
      .newsletter h2,
      .newsletter p,
      .pill.active,
      .button.accent,
      .modal-photo { color: #0F1E33; }
      
      
    }
  
    /* New-to-town welcome modal */
    .welcome-trigger { display: inline-block; margin-top: 14px; color: var(--forest); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
    .welcome-modal { max-width: 560px; padding: 28px; }
    .welcome-modal h2 { margin: 0 0 6px; font-size: 1.4rem; }
    .welcome-sub { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }
    .welcome-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
    .welcome-tabs button { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; }
    .welcome-tabs button.active { background: var(--forest); border-color: var(--forest); color: #fff; }
    .welcome-panel { display: none; }
    .welcome-panel.active { display: block; }
    .welcome-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
    .welcome-item:last-child { border-bottom: none; }
    .welcome-item strong { display: block; font-size: .92rem; margin-bottom: 2px; }
    .welcome-item span { font-size: .9rem; color: var(--muted); }
    .welcome-item a { color: var(--forest); font-weight: 600; }
    .welcome-note { margin-top: 16px; font-size: .85rem; color: var(--muted); background: color-mix(in srgb, var(--sun) 14%, transparent); border-radius: 10px; padding: 10px 14px; }
    /* Hero single-column layout (Joe, 2026-10-16): art under the headline,
       copy centered, Google line as the hero sign-off. */
    .hero-copy { text-align: center; }
    .hero-copy h1, .hero-copy > p { margin-inline: auto; }
    .place-line, .actions, .search-chips { justify-content: center; }
    .hero-search { margin-inline: auto; }
    .town-art { width: min(720px, 100%); margin: 2px auto 30px; }
    .hero-home { margin: 30px auto 0; text-align: center; max-width: 640px; }

    .cat-n { display: inline-block; background: var(--forest); color: #fff; border-radius: 999px;
      font-size: .72rem; font-weight: 700; padding: 2px 9px; vertical-align: middle; margin-left: 6px; }
    .board-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 8px 0 4px; }
    @media (min-width: 760px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
    .board-tile { display: block; border: 1px solid color-mix(in srgb, var(--forest) 42%, var(--line)); border-radius: 16px; padding: 18px;
      text-decoration: none; color: var(--ink); background: var(--paper); }
    .board-tile:hover { border-color: var(--forest); }
    .board-tile strong { display: block; font-size: 1.05rem; margin: 6px 0; line-height: 1.35; }
    .board-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--forest); }
    .board-tile span:last-child { font-weight: 700; color: var(--forest); font-size: .9rem; }
    .picker { text-align: center; }
    .dice-panel { max-width: 780px; margin: 0 auto; padding: clamp(30px, 5vw, 54px) clamp(18px, 4vw, 48px);
      border: 2px solid var(--accent); border-radius: var(--radius-lg);
      background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 17%, var(--paper)), var(--paper) 72%);
      box-shadow: var(--shadow); }
    .hero-copy > p.hero-home { margin-bottom: 12px; }
    .gem-band-sec { padding: 32px 0 0; }
    .gem-band { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 18px; background: color-mix(in srgb, var(--sky) 16%, var(--paper)); }
    .gem-band-icon { font-size: 1.8rem; line-height: 1; }
    .gem-band-text { margin: 0; flex: 1 1 280px; font-size: .98rem; }
    .gem-meta { color: var(--muted); font-weight: 600; }
    .gem-band-links a { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
    .season-strip { display: flex; align-items: center; justify-content: center; gap: 9px; text-align: center; padding: 9px 16px; font-size: .92rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--paper); }
    .season-strip a { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
    .season-strip .season-emoji { font-size: 1.05rem; }
    .season-fall { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); }
    .season-thanks { background: color-mix(in srgb, var(--sun) 16%, var(--paper)); }
    .season-christmas { background: color-mix(in srgb, var(--forest) 13%, var(--paper)); }
    .season-newyear { background: color-mix(in srgb, var(--sun) 20%, var(--paper)); }
    .season-spring { background: color-mix(in srgb, var(--sky) 35%, var(--paper)); }
    .season-summer { background: color-mix(in srgb, var(--sun) 13%, var(--paper)); }
    .season-july4 { background: color-mix(in srgb, var(--sky) 30%, var(--paper)); }
    .season-winter { background: color-mix(in srgb, var(--sky) 22%, var(--paper)); }
    .spot-meta { color: var(--muted); font-weight: 600; margin: 2px 0 6px; }
    .dice-panel h2 { font-size: clamp(1.95rem, 5.6vw, 2.75rem); line-height: 1.14; margin: 12px 0 12px; }
    .dice-art svg { width: 136px; height: auto; }
    .dice-art.rolling svg { animation: dice-shake .16s linear infinite; }
    @keyframes dice-shake { 0%,100% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
    .dice-sub { max-width: 560px; margin: 0 auto 24px; color: var(--muted); font-size: 1.03rem; }
    .dice-reel { max-width: 540px; margin: 0 auto 22px; min-height: 76px; display: flex; align-items: center; justify-content: center;
      background: var(--paper); border: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 18px;
      font-family: var(--serif); font-weight: 700; font-size: clamp(1.25rem, 4.6vw, 1.8rem); padding: 12px 18px; }
    .dice-reel.landed { border-style: solid; border-color: var(--accent); animation: dice-pop .35s ease; }
    @keyframes dice-pop { 0% { transform: scale(.97); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
    .dice-btn { background: var(--accent); color: #fff; border: none; cursor: pointer; font-weight: 700;
      font-size: 1.25rem; padding: 18px 46px; border-radius: 999px; min-height: 62px;
      box-shadow: 0 10px 24px rgba(254,108,84,.35); }
    .dice-btn:hover { filter: brightness(1.07); }
    .dice-btn:disabled { opacity: .65; cursor: wait; }
    .pick-result { max-width: 520px; margin: 22px auto 6px; border: 1px solid var(--line);
      border-radius: 16px; padding: 22px; text-align: center; background: var(--paper); }
    .pick-result h3 { margin: 8px 0 4px; font-size: 1.4rem; }
    .pick-result .pick-actions { margin-top: 12px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
    .pick-again { background: none; border: 1px solid var(--forest); color: var(--forest); cursor: pointer;
      font-weight: 700; padding: 10px 20px; border-radius: 999px; min-height: 44px; }
    .dice-cat { margin-top: 14px; }
    .dice-cat a { color: var(--accent); font-weight: 700; }
    .dice-note { margin-top: 22px; font-size: .92rem; color: var(--muted); }
    .dice-note a { color: var(--forest); font-weight: 700; }
    .dice-towns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 560px; margin: 0 auto 20px; }
    .dice-town { appearance: none; border: 1.5px solid var(--muted); background: var(--paper); color: inherit; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
    .dice-town[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
    @media (prefers-reduced-motion: reduce) { .dice-art.rolling svg, .dice-reel.landed { animation: none; } }
    .pick-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
    @media (min-width: 760px) { .pick-grid { grid-template-columns: repeat(4, 1fr); } }
    .pick-card { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
      text-decoration: none; color: var(--ink); }
    .pick-card:hover { border-color: var(--forest); }
    .pick-card strong { display: block; margin: 8px 0 2px; font-size: 1.02rem; }
    .pick-card span:last-child { font-size: .9rem; opacity: .75; }
    .see-all-btn { display: inline-block; background: var(--forest); color: #fff; font-weight: 700;
      padding: 14px 30px; border-radius: 999px; text-decoration: none; min-height: 52px; }
    .hero-verified { margin: 10px 0 0; font-size: .9rem; font-weight: 500; color: var(--muted); }
    .nl-band-sec { padding: 0; }
    .town-board { padding-top: 0; padding-bottom: 40px; }
    @media (max-width: 680px) { .town-board { padding-bottom: 24px; } }
    .nl-band {
      display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
      background: var(--paper); border: 2px solid var(--accent); border-radius: 999px;
      padding: 12px 24px; box-shadow: var(--shadow);
    }
    .nl-band-icon { font-size: 1.8rem; line-height: 1; }
    .nl-band-text { margin: 0; flex: 1 1 280px; font-size: .98rem; }
    .nl-band-links { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
    .nl-band-links a { color: var(--forest); font-weight: 700; white-space: nowrap; text-underline-offset: 3px; }
    @media (max-width: 680px) { .nl-band { border-radius: var(--radius-md); padding: 14px 18px; } }

    /* Around-town ticker — slim line under the header: upcoming
       events + newest neighbors from this page, plus live hometown
       scores from ESPN (the full scoreboard panel was retired
       2026-10-17 in its favor). Deliberately quiet: small type, theme
       colors, slow roll only when items overflow the line. It must
       never outshine the directory — it hides itself when empty. */
    .ticker { background: color-mix(in srgb, var(--forest) 6%, var(--paper)); border-bottom: 1px solid var(--line); overflow: hidden; color: var(--ink); }
    .ticker[hidden] { display: none !important; }
    .ticker.ticker-pinned { position: sticky; top: var(--nav-h, 52px); z-index: 55; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
    .ticker-view { overflow: hidden; }
    .ticker-track { display: flex; width: max-content; margin: 0 auto; padding: 7px 0; }
    .ticker-track.rolling { margin: 0; animation: ticker-roll linear infinite; }
    .ticker:hover .ticker-track.rolling { animation-play-state: paused; }
    @keyframes ticker-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
    @media (prefers-reduced-motion: reduce) { .ticker-track.rolling { animation: none; } }
    .ticker-item { display: inline-flex; align-items: center; gap: 7px; padding: 1px 18px; font-size: .86rem; white-space: nowrap; border-right: 1px solid var(--line); }
    a.ticker-item { color: inherit; text-decoration: none; }
    a.ticker-item:hover { text-decoration: underline; }
    .ticker-item:last-child { border-right: none; }
    @media (max-width: 480px) { .ticker-item { padding: 1px 12px; font-size: .8rem; gap: 5px; } .ticker-track { padding: 6px 0; } }
    .tk-live { color: var(--accent); font-weight: 800; font-size: .7rem; letter-spacing: .06em; }
    .tk-score { font-weight: 800; font-variant-numeric: tabular-nums; }
    .tk-status { color: var(--muted); font-size: .82rem; }
    .tk-final { color: var(--muted); font-weight: 700; font-size: .78rem; }

  
    /* AA contrast pass (2026-10-16): deepened accent token + dark-scheme label fixes */
    @media (prefers-color-scheme: dark) {
      .button.accent, a.biz-order, .biz-order, .dice-btn, .dice-town[aria-pressed="true"], #submit-btn, .hero-search button, .cta-btn { color: #0F1E33 !important; }
      .cta-btn { background: var(--accent); }
      .cat-n, #view-list.active, #view-map.active { color: #0F1E33 !important; }
      .event-when, .spot-call { color: var(--accent); }
    }

    a.brand { display: inline-flex; align-items: center; line-height: 1; }
    a.brand img.brand-mark { width: 27px; height: 27px; border-radius: 7px; margin-right: 8px; flex: none; }
  
    /* Overhaul 2026-10-20: hero headline breathing room — the serif ink
       overflowed the 1.03 line box by a few px in the device sweep. */
    #hero-title { line-height: 1.12; padding-bottom: .05em; }
  
    /* Oct 22 conversion rebuild */
    .pf-band{background:var(--paper);border:2px solid var(--accent);border-radius:16px;padding:30px 26px;text-align:center;margin:28px 0;}
    .pf-quote{font-family:var(--serif);font-size:clamp(1.55rem,3.6vw,2.3rem);line-height:1.2;margin:0;color:var(--forest);}
    .pf-attr{margin:12px 0 0;color:var(--muted);font-size:.95rem;}
    .pf-stats{margin:16px 0 0;font-weight:700;color:var(--ink);}
    .sp-block{margin:36px 0;}
    .sp-block p{max-width:62ch;}
    .cta-band{background:var(--paper);border:2px solid var(--forest);border-radius:16px;padding:28px 26px;text-align:center;margin:32px 0;}
    .cta-band h2{margin-top:0;}
    .cta-links{display:flex;gap:14px 30px;flex-wrap:wrap;justify-content:center;margin-top:18px;}
    .cta-links a{color:var(--forest);font-weight:800;font-size:1.05rem;text-decoration:none;border-bottom:3px solid var(--accent);padding-bottom:2px;}
    .fresh-band{background:var(--paper);border-top:2px solid var(--accent);border-bottom:2px solid var(--accent);padding:20px 16px;text-align:center;}
    .fresh-band p{margin:0;font-size:1.08rem;color:var(--ink);}
    .fresh-band strong{color:var(--forest);}
    .fresh-band .fresh-news-link{display:inline-block;margin-top:8px;font-weight:700;color:var(--forest);}
    .owner-band{background:var(--paper);border:2px solid var(--forest);border-radius:16px;padding:24px 26px;text-align:center;margin:30px 0;}
    .owner-band a{color:var(--forest);font-weight:800;text-decoration:none;border-bottom:3px solid var(--accent);padding-bottom:2px;}

/* tapfix-oct23: tap targets >=40px (audit 2026-10-23) */
a.brand{padding-top:9px;padding-bottom:9px}
.nav-link,.sticky-nav a.nav-link{padding-top:11px;padding-bottom:11px}
button.share-btn{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.event-share{display:inline-flex;align-items:center;min-height:40px;padding-top:6px;padding-bottom:6px}
.dice-town{min-height:40px}
.try-chips button,.also-searched button{min-height:40px;padding-top:9px;padding-bottom:9px}
/* Hero fix 2026-10-26 (Joe — think like a visitor, not an owner): the H1
   keeps its exact words (it is this page's SEO headline) but steps down to
   a quiet eyebrow line above the poster, and the search block now sits
   directly under the poster with the owner CTAs below it. Placed last in
   the sheet — after every base rule and every dark-scheme block — so it
   wins cleanly in both color schemes. */
#hero-title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 0;
}
.search-chips { margin-bottom: 26px; }

/* Desktop hero poster cap (Joe, 2026-10-29): the poster is a tall 4:5
   portrait; sized by width it stood 900px tall on desktop — over a full
   screen of scrolling just to get past it. On wide screens only, size it
   by HEIGHT so the whole poster fits on one screen, text intact, nothing
   cropped. Mobile rules are untouched. */
@media (min-width: 900px) {
  .town-art { width: fit-content; max-width: 100%; }
  .town-art img { width: auto; height: min(580px, 72vh); }
}
  