  body { background: var(--paper); }

  /* ─── Page head ─── */
  .page-head {
    background: var(--orange-soft);
    padding: 72px 0 80px;
  }
  .page-head .grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: end;
  }
  .page-head h1 {
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: 1;
    letter-spacing: -0.035em;
  }
  .page-head h1 .script {
    display: block;
    font-size: 1.05em;
    color: var(--orange-deep);
    margin-top: -2px;
    padding-bottom: 0.1em;
  }
  .page-head .lede {
    color: var(--ink);
    opacity: .82;
    font-size: 18px;
    line-height: 1.55;
    margin-top: 22px;
    max-width: 520px;
  }
  .head-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    box-shadow: var(--shadow-md);
  }
  .head-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
    font-weight: 700;
  }
  .head-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
  .head-card .row {
    display: flex; justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }
  .head-card .row strong { font-weight: 600; }
  .head-card .open-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-soft);
    color: var(--green-deep);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
  }
  .head-card .open-now::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #2BB673;
    box-shadow: 0 0 0 3px rgba(43, 182, 115, .25);
  }
  /* Closed / by-appointment states. Set server-side from ct_hours — these used
     to be inline styles written by the (now deleted) inline schedule script. */
  .head-card .open-now.is-closed,
  .head-card .open-now.is-appointment {
    background: var(--orange-soft);
    color: var(--orange-deep);
  }
  .head-card .open-now.is-closed::before,
  .head-card .open-now.is-appointment::before {
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(233, 78, 27, .2);
  }

  /* ─── Contact lanes ─── */
  .lanes {
    padding: 72px 0 32px;
  }
  .lanes .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .lane {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s, box-shadow .15s;
  }
  .lane:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .lane h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
  .lane .for { color: var(--muted); font-size: 14px; line-height: 1.45; margin-bottom: 20px; }
  .lane .channels {
    margin-top: auto;
    display: flex; flex-direction: column;
    gap: 4px;
  }
  .lane .channel {
    display: flex; justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    align-items: center;
  }
  .lane .channel .k { color: var(--muted); }
  .lane .channel .v { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 6px; }
  .lane .channel a { color: var(--ink); }
  .lane .channel a:hover { color: var(--orange); }

  /* ─── Form + sidebar ─── */
  .form-section {
    padding: 56px 0 96px;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .form-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-sm);
  }
  .form-card .eyebrow { margin-bottom: 8px; display: inline-block; }
  .form-card h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; margin-bottom: 8px; }
  .form-card h2 .script { color: var(--orange); display: inline-block; font-size: 1.05em; vertical-align: -3px; padding-bottom: 0.05em; }
  .form-card .intro { color: var(--muted); font-size: 16px; margin-bottom: 28px; }

  .field {
    display: flex; flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
  }
  .field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0;
  }
  .field label .req { color: var(--orange); margin-left: 2px; }
  /* Radios and checkboxes are excluded: the chip selector hides its radios with
     position:absolute, and a width:100% on an absolutely positioned element with
     no positioned ancestor resolves against the viewport — each hidden radio then
     ran a full viewport-width past the right edge and scrolled the whole page. */
  .field input:not([type="radio"]):not([type="checkbox"]),
  .field select,
  .field textarea {
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color .12s, box-shadow .12s, background .12s;
    width: 100%;
  }
  .field input:hover, .field select:hover, .field textarea:hover { border-color: #c9c2b1; }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--green);
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 102, 97, .12);
  }
  .field textarea { min-height: 110px; resize: vertical; }
  .field .help { font-size: 12px; color: var(--muted); }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* Chip selector */
  .chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  /* Visually hidden, but still focusable so the chips stay keyboard-operable.
     Explicit 1px box so it can never contribute to layout width. */
  .chip-group input {
    position: absolute;
    width: 1px; height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
  }
  .chip-group input:focus-visible + label {
    outline: 2px solid var(--green);
    outline-offset: 2px;
  }
  .chip-group label {
    cursor: pointer;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: all .12s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .chip-group label:hover { border-color: var(--ink); }
  .chip-group input:checked + label {
    background: var(--green-deep);
    color: white;
    border-color: var(--green-deep);
  }
  .chip-group input:checked + label .dot {
    background: var(--orange);
  }
  .chip-group .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }

  .form-actions {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .form-actions .submit-note {
    color: var(--muted);
    font-size: 13px;
    margin-left: auto;
  }

  /* Sidebar */
  .sidebar-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 16px;
  }
  .sidebar-card.dark { background: var(--ink); color: white; border-color: transparent; }
  .sidebar-card.dark h4 { color: white; }
  .sidebar-card.dark p { color: rgba(255,255,255,.72); }
  .sidebar-card.dark a { color: var(--orange); border-color: rgba(255,255,255,.2); }

  .sidebar-card h4 {
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 600;
  }
  .sidebar-card .person {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
  }
  .sidebar-card .person:last-child { margin-bottom: 0; }
  .sidebar-card .person .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
  }
  .sidebar-card .person .role {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
  }
  .sidebar-card .person .name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 2px;
  }
  .sidebar-card .person .contact-line {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
  }
  .sidebar-card .person .contact-line a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

  /* Hours card */
  .hours-table { display: flex; flex-direction: column; gap: 10px; }
  .hours-table .row {
    display: flex; justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
  }
  .hours-table .row.today {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 -12px;
  }
  .hours-table .row strong { font-weight: 600; }
  .hours-table .row .day { color: var(--muted); }
  .hours-table .row.today .day { color: var(--green-deep); font-weight: 700; }

  /* ─── Map + directions ─── */
  .map-section {
    padding: 0 0 96px;
  }
  .map-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    box-shadow: var(--shadow-sm);
  }
  .map-visual {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #E8F0EE 0%, #D8E5E1 100%);
    position: relative;
    overflow: hidden;
  }
  /* Direct child only — this sizes the static fallback illustration. Left
     unscoped it also caught Leaflet's inline attribution flag and blew it up
     to fill the map. */
  .map-visual > svg { width: 100%; height: 100%; display: block; }

  /* Pin visuals are shared by the static fallback (.map-pin, positioned by the
     rule below) and the Leaflet marker (.oc-pin, positioned by Leaflet), so the
     brand pin survives on a real map instead of Leaflet's default blue teardrop. */
  .map-visual > .map-pin {
    position: absolute;
    top: 42%; left: 52%;
    transform: translate(-50%, -100%);
    z-index: 3;
  }
  .pin-card {
    background: var(--ink);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    position: relative;
  }
  .pin-card::after {
    content: "";
    position: absolute;
    bottom: -5px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px;
    background: var(--ink);
  }
  .pin-dot {
    width: 24px; height: 24px;
    background: var(--orange);
    border: 4px solid white;
    border-radius: 50%;
    margin: 14px auto 0;
    box-shadow: 0 4px 12px rgba(233,78,27,.5);
    position: relative;
  }
  .pin-dot::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--orange);
    opacity: .2;
    animation: mapPulse 2s ease-out infinite;
  }
  @keyframes mapPulse {
    0% { transform: scale(1); opacity: .35; }
    100% { transform: scale(2.4); opacity: 0; }
  }

  /* ─── Live map ─── */
  .map-embed {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--green-soft);
  }
  .map-embed .leaflet-container {
    width: 100%; height: 100%;
    background: var(--green-soft);
    font-family: inherit;
  }
  /* Leaflet is given a zero-size icon anchored exactly on the coordinate, so
     the card and dot are placed relative to that origin here. */
  .oc-pin { width: 0 !important; height: 0 !important; }
  .oc-pin .pin-dot { position: absolute; left: -12px; top: -12px; margin: 0; }
  .oc-pin .pin-card { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); }
  .map-embed .leaflet-control-attribution {
    background: rgba(255,255,255,.86);
    font-size: 11px;
    color: var(--muted);
  }
  .map-embed .leaflet-control-attribution a { color: var(--green-deep); text-decoration: underline; }
  .map-embed .leaflet-bar a {
    color: var(--ink);
    border-bottom-color: var(--line);
  }
  .map-embed .leaflet-bar a:hover { background: var(--cream); }

  .map-side {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
  }
  .map-side h3 { font-size: 24px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
  .map-side .addr { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 24px; }
  .nearby-list {
    display: flex; flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
  }
  .nearby {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }
  .nearby .place { color: var(--ink); font-weight: 500; }
  .nearby .dist { color: var(--muted); font-variant-numeric: tabular-nums; }
  .map-side .ext-links {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: auto;
  }
  .map-side .ext-links a {
    flex: 1;
    text-align: center;
  }

  /* ─── FAQ ─── */
  .faq-section {
    padding: 32px 0 96px;
  }
  .faq-section .head {
    margin-bottom: 40px;
    text-align: center;
  }
  .faq-section h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
  }
  .faq-section h2 .script { color: var(--orange); display: inline-block; font-size: 1.05em; vertical-align: -3px; padding-bottom: 0.05em; }
  .faq-list {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
  }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    gap: 20px;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary .toggle {
    width: 32px; height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: background .15s, color .15s, border-color .15s, transform .2s;
  }
  .faq-item[open] summary .toggle {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
    transform: rotate(45deg);
  }
  .faq-item summary:hover .toggle { border-color: var(--ink); }
  .faq-item .answer {
    padding: 0 0 22px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 720px;
  }

  @media (max-width: 980px) {
    .page-head .grid { grid-template-columns: 1fr; gap: 32px; }
    .lanes .grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; gap: 32px; }
    /* Grid items default to min-width:auto, so they refuse to shrink below
       their content and spill out of the single column on narrow phones. */
    .form-grid > * { min-width: 0; }
    .form-card { padding: 28px 24px; }
    .field-row { grid-template-columns: 1fr; }
    .map-card { grid-template-columns: 1fr; }
    .map-side { padding: 28px; }
  }

  @media (max-width: 768px) {
    .page-head { padding: 48px 0 56px; }
    .lanes { padding: 48px 0 24px; }
    .form-section { padding: 40px 0 64px; }
    .map-section { padding: 0 0 64px; }
    .faq-section { padding: 24px 0 64px; }

    .head-card { padding: 22px 20px; }
    .lane { padding: 22px 20px; }
    .sidebar-card { padding: 20px; }
    .form-card { padding: 24px 18px; }
    .map-side { padding: 24px 20px; }

    /* These are all `justify-content: space-between` pairs. On a narrow
       column the value side (a long email, a phone number, a place name)
       can't shrink below its content, so let the pair wrap onto two lines
       instead of pushing the row wider than its card. */
    .head-card .row,
    .lane .channel,
    .hours-table .row,
    .nearby {
      flex-wrap: wrap;
      gap: 2px 12px;
    }
    .head-card .row > *,
    .lane .channel > *,
    .hours-table .row > *,
    .nearby > * { min-width: 0; overflow-wrap: anywhere; }

    .faq-item summary { gap: 12px; font-size: 16px; }
    .form-actions .submit-note { margin-left: 0; }
  }
