/* NEXTDAYMEDICAL — the 'medical' theme's layer over css/practice_site.css.
   Loaded ONLY by practice_site.php when practice_sites.theme is 'medical'; the shipped
   stylesheet is unmodified and every rule here is additive. eliteconcierge is the other
   classic tenant and is live, so nothing in this file may be moved into the shipped sheet
   without deciding, separately, that Elite should change too. CMR-2026-11-18-682.

   Colours are sampled from the printed business card, not invented:
     #421D7A  wordmark ink            -> --practice-primary
     #5E02C2  logo mark stroke        -> --practice-accent (lifted to #6B0FD4 for legibility)
     #3D0176  the wave band           -> the dark about section
     #F0E3FD  the ghost swirl tint    -> hero wash */

:root { --ndm-ink: #3D0176; --ndm-tint: #F0E3FD; --ndm-lilac: #C4A0FF; --ndm-paper: #faf9fc; }

/* ---- THE LOCKUP -------------------------------------------------------------
   The classic header draws an initial inside a ruled square. This practice has a
   drawn mark, so the square is replaced by the mark itself. practice_sites already
   carries logo_image_id and resolves logo_url(), but NOTHING on the public site
   renders it today — the classic header only ever draws the letter. Rendering it
   is the one genuine code change this design needs.

   The card sets the name in a bold geometric sans, not a Didone, so this lockup
   does not use --practice-serif. No webfont: practice_site.css deliberately
   reaches no third party for type, and that holds here. */
.brand { --brand-mark-size: clamp(42px, 4.8vw, 52px); gap: calc(var(--brand-mark-size) * .30); }
.brand_mark_image {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: url('/css/practice_site_assets/nextdaymedical/mark.png') center / contain no-repeat;
  font-size: 0;
  color: transparent;
}
.brand_name,
.brand_descriptor {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.brand_name {
  font-size: calc(var(--brand-mark-size) * .40);
  font-weight: 800;
  letter-spacing: -.005em;
  text-transform: none;
}
.brand_descriptor {
  margin-top: calc(var(--brand-mark-size) * .07);
  font-size: calc(var(--brand-mark-size) * .21);
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--practice-accent);
}

/* ---- HEADINGS ---------------------------------------------------------------
   The one judgement call. Elite sets its headings in Georgia because its printed
   identity is a Didone and the serif carries that. This card is sans throughout
   and says "The Healthcare of Tomorrow"; a Georgia headline fights it. Delete
   this block to put the serif back. */
h1, h2, h3 {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
}
h1 { letter-spacing: -.045em; }
.service_price, .price_big { font-family: inherit; font-weight: 800; }

/* ---- THE WASH ---------------------------------------------------------------
   The card lays a pale lilac swirl behind the top-right corner. Same move here. */
.hero {
  background:
    radial-gradient(circle at 86% 14%, var(--ndm-tint), transparent 46%),
    radial-gradient(circle at 70% 2%, color-mix(in srgb, var(--ndm-tint) 70%, #fff), transparent 34%),
    linear-gradient(135deg, #fbfaff 18%, color-mix(in srgb, var(--practice-primary) 7%, #fff) 100%);
}

/* ---- THE WAVE ---------------------------------------------------------------
   The card's one piece of ornament: a purple wave carrying the web address along
   the bottom edge. It belongs on the footer, which is the same job on a page. */
.ndm_wave { display: block; width: 100%; height: clamp(56px, 7vw, 96px); margin-bottom: -1px; }
footer.ndm_footer {
  padding-top: 26px;
  background: var(--ndm-ink);
  border-top: 0;
  color: rgba(255,255,255,.72);
}
footer.ndm_footer strong { color: #fff; }
footer.ndm_footer .powered-by a,
footer.ndm_footer .practice_site_legal a { color: #fff; }
footer.ndm_footer .ndm_footer_site { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }

/* the dark band takes the card's wave purple rather than practice_site.css's teal */
.about-section { background: var(--ndm-ink); }
.about-section .eyebrow { color: var(--ndm-lilac); }
.location span { color: var(--ndm-lilac); }

/* ---- DELIVERY STRIP ---------------------------------------------------------
   The card's own centre line: In-Office Visits | Virtual Visits, divided by a rule.
   Reproduced as the band directly under the hero because it is the first thing the
   card tells you and the first thing a patient needs to know. */
.ndm_modes { padding: clamp(26px, 3vw, 38px) clamp(24px, 7vw, 110px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 54px); background: #fff; border-bottom: 1px solid #ece7f5; }
.ndm_mode { display: inline-flex; align-items: center; gap: 13px; color: var(--practice-primary); font-size: clamp(16px, 1.7vw, 21px); font-weight: 800; letter-spacing: -.01em; }
.ndm_mode svg { flex: 0 0 auto; width: 30px; height: 30px; fill: none; stroke: var(--practice-primary); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ndm_mode_rule { width: 1px; align-self: stretch; min-height: 34px; background: color-mix(in srgb, var(--practice-primary) 28%, #fff); }
@media (max-width: 620px) { .ndm_mode_rule { display: none; } }

/* ---- INCLUDED-WITH-EVERY-VISIT STRIP ----------------------------------------
   The card's bottom line — Sick Visits · Refills · Follow-Up · Referrals · Labs/Imaging.
   Referrals sit HERE rather than on a priced card, deliberately: the findings register's
   charging rules hold that a standalone referral cannot carry a fee, because the referral
   is itself the item and a percentage billing-agent fee on one is a cut of referral
   generation. It is produced inside a visit at no extra charge, which is what this says. */
.ndm_included { padding: clamp(30px, 4vw, 48px) clamp(24px, 7vw, 110px); background: #fbfaff; border-bottom: 1px solid #ece7f5; }
.ndm_included_inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.ndm_included_label { color: var(--practice-primary); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.ndm_included_list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.ndm_included_list li { display: inline-flex; align-items: center; gap: 18px; color: #4a3d63; font-size: clamp(15px, 1.5vw, 18px); font-weight: 650; }
.ndm_included_list li::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--practice-accent); }
.ndm_included_list li:last-child::after { display: none; }
.ndm_included_note { margin: 16px 0 0; color: #6b6185; font-size: 14px; line-height: 1.6; }

/* ---- NEUTRALS ---------------------------------------------------------------
   practice_site.css sets its neutrals to a teal-black (#173337) and warm greys on a
   cream page (#f7f5f0). Those are Elite's: mixed towards ITS primary, which is why
   that site hangs together. Left alone under a purple brand the page runs warm
   against a cool mark. Same move, re-mixed towards this primary.

   HEADINGS ARE NOT LISTED HERE ON PURPOSE. practice_site.css gives h1/h2/h3 no
   colour at all, so they inherit — which is what lets .care-card and .about-section
   turn their headings white by setting colour on the section. A bare `h1, h2, h3
   { color: ... }` here beats that inheritance and the headline on the purple band
   goes black on purple. It was written that way first; this is what the render
   showed. The ink colour belongs on body, and on the elements the shipped sheet
   writes it onto directly, listed below. */
body { color: #211634; background: var(--ndm-paper); }

/* every place css/practice_site.css writes #173337 onto an element rather than
   letting it inherit — grepped, not guessed */
.user_menu_list a,
.user_menu_list button,
input, textarea,
.steps_list strong,
.faq_item summary,
.price_lines td:last-child,
.price_lines tr.total td,
.eligibility_box strong { color: #211634; }

/* the muted grey, re-mixed */
.hero-summary,
.service_card p,
.pathway-card p,
.service_group_note,
.service_empty_text,
.service_result_count,
.service_sort_label,
.service_multi_mode_note,
.service_price small,
.service_breadcrumb,
.price_caption,
.price_panel_note,
.eligibility_box,
.service_content p,
.service_content li,
.contact-details span,
.field-hint,
.privacy-note { color: #5b5076; }

/* the warm creams */
.services_section, .eligibility_box { background: #faf9fc; }
.on_white .service_card { background: #fbfaff; }
.service_search_clear { background: #f3f0f9; color: #5b5076; }
.service_hero { background: linear-gradient(135deg, #fbfaff 20%, color-mix(in srgb, var(--practice-primary) 7%, #fff) 100%); }
/* background is set once, on the sticky rule below — two .site-header rules both
   writing it is the drift this file keeps warning about */
.site-header { border-bottom-color: rgba(66,29,122,.12); }
.pathway-grid, .pathway-card, .service_card, .service_card_footer { border-color: #e9e3f3; }

/* ---- THE CARE CARD ----------------------------------------------------------
   The circle in the corner holds the practice's initial on the classic theme. Here
   it holds the mark, reversed out, which is what the printed card does. */
.care-card-mark {
  border-color: rgba(255,255,255,.38);
  background: url('/css/practice_site_assets/nextdaymedical/mark_white.png') center / 66% no-repeat;
  font-size: 0;
  color: transparent;
}

/* The wave is the card's one piece of ornament and its job there is the handover
   from white to purple. On the home page the dark band already IS that purple, so
   the wave goes ABOVE it and the purple then runs unbroken through the band and
   into the footer — one block at the foot of the page, exactly as the card reads.
   Placed between two purples instead, it draws a white sliver across the page;
   that is what the first render showed. */
.about-section + .ndm_wave, .ndm_wave + .about-section { margin-top: 0; }
.ndm_wave { margin-top: -1px; }

/* ---- THE HEADER, STUCK TO THE TOP -------------------------------------------
   The shipped header scrolls away. Sticky costs nothing structurally — it is the
   page's first element either way — but it needs three things that are easy to
   leave out: a stacking context above the page (the account menu already claims
   z-index 50, so the header has to clear it), a background that is not see-through
   once content runs under it, and a shadow that appears only once it IS stuck.
   A shadow sitting there at rest reads as a seam across the top of the page. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is_stuck {
  background: rgba(255,255,255,.93);
  box-shadow: 0 1px 0 rgba(66,29,122,.08), 0 10px 30px -14px rgba(66,29,122,.3);
}
/* a browser with no backdrop-filter gets an opaque bar rather than text over text */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: #fff; }
}

/* ---- THE RIGHT-HAND SIDE ----------------------------------------------------
   The shipped nav is one flat flex row with a single gap — clamp(18px, 3vw, 40px)
   — between every child, so the gap between the two icon buttons is the same as
   the gap between two nav words. They therefore read as two more items in the list
   rather than as a pair of controls, which is what "tacked on" is: no grouping, no
   hierarchy, two outlined rings floating beside text.

   Three groups instead, which needs two wrapper elements in the markup
   (.nav_links and .nav_actions) and so is a real markup change, not a CSS-only one:

     [ Home  Services  Contact ] │ [♡] [ Sign in ]

   The links sit close together and carry their own hover; a hairline separates
   navigation from action; the two controls sit 8px apart so they are obviously one
   cluster; and the account control is a labelled pill rather than a third ring,
   because signing in is the one thing on this bar anybody is trying to do. */
nav { gap: 0; }
.nav_links { display: flex; align-items: center; gap: 2px; }
.nav_links a {
  padding: 9px 14px;
  border-radius: 9px;
  color: #4a3d63;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}
.nav_links a:hover { background: color-mix(in srgb, var(--practice-primary) 7%, #fff); color: var(--practice-primary); }
.nav_links a:focus-visible { outline: 2px solid var(--practice-primary); outline-offset: 2px; }
/* the page you are on is stated, not merely available */
.nav_links a[aria-current="page"] { color: var(--practice-primary); background: color-mix(in srgb, var(--practice-primary) 8%, #fff); }

.nav_divider {
  flex: 0 0 auto;
  width: 1px;
  height: 26px;
  margin: 0 clamp(10px, 1.4vw, 18px);
  background: color-mix(in srgb, var(--practice-primary) 17%, #fff);
}

.nav_actions { display: flex; align-items: center; gap: 8px; }

/* the heart loses its ring: a filled tint reads as a control, an outline ring reads
   as an empty placeholder next to a filled button */
.favorite_button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--practice-primary) 7%, #fff);
  color: var(--practice-primary);
  transition: background .16s ease, transform .16s ease;
}
.favorite_button:hover { background: color-mix(in srgb, var(--practice-primary) 14%, #fff); transform: none; }
.favorite_button[aria-pressed="true"] { background: color-mix(in srgb, var(--practice-accent) 14%, #fff); }

.user_menu_button {
  width: auto;
  height: 40px;
  padding: 0 17px 0 14px;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--practice-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.005em;
  transition: background .16s ease, box-shadow .16s ease;
}
.user_menu_button:hover,
.user_menu_button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--practice-primary) 88%, #000);
  box-shadow: 0 6px 16px -6px rgba(66,29,122,.6);
}
.user_menu_label { white-space: nowrap; }
/* signed in, this is the patient's own name and the pill stands down to a tint,
   because the thing worth a filled button is the action they have not taken yet */
.user_menu_button.is_signed_in { background: color-mix(in srgb, var(--practice-primary) 8%, #fff); color: var(--practice-primary); }
.user_menu_list { top: calc(100% + 10px); border-radius: 12px; }

@media (max-width: 850px) {
  /* the shipped sheet hides nav's first link to buy room, written when every link
     was a direct child of nav. With the actions grouped, the heart is ALSO a
     first child, so that rule now hides the heart as well. Re-show it and aim the
     rule at the links group, where it was always meant to point. */
  .nav_actions .favorite_button { display: inline-flex; }
  .nav_links a:first-child { display: none; }
  /* flex-start was for a header whose brand could wrap to two lines; this one cannot */
  .site-header { align-items: center; }
}

@media (max-width: 560px) {
  .nav_links a { padding: 8px 10px; font-size: 14px; }
  .nav_divider { margin: 0 8px; }
}

/* ---- WHERE EACH PIECE STANDS DOWN -------------------------------------------
   css/practice_site.css hides the wordmark at max-width 600px and its comment says
   to RE-MEASURE that number if the weight, the size ratio or the tracking changes.
   All three changed, and then the name changed again (one word, no descriptor) and
   the account control grew a label — so the number was measured twice and the
   FAILURE MODE changed between them, which is the part worth writing down.

   With "NextDay Medical" over "MEDICAL GROUP", the thing that broke was the
   wordmark WRAPPING to two lines: 631px wrapped, 632px held.

   With "NextDayMedical" there is nothing to wrap — it is one word — so the symptom
   moved to the other end of the bar: the Sign in pill runs off the right edge.
   Measured the same way, by bisection against this markup with the mark at its 42px
   clamp floor and the <=850 and <=560 blocks flattened in:

     words shown    clipped at 626px, holds at 628px   -> stand them down at <=640
     words down     holds at 440px and 460px            -> the label survives well below the above
     label down     holds at 360px and 390px, clipped at 320px

   So three steps, not one. A single breakpoint cannot express this: at 500px the
   mark alone plus a labelled pill is right, and at 380px the same bar needs the
   label gone too. Re-measure all three if the name, the label text or the mark
   ratio changes again. */
@media (max-width: 640px) {
  .brand_words { display: none; }
}

/* the label goes before the bar overflows, not when it is already overflowing:
   480 rather than the measured 430, so a wider text engine has somewhere to go */
@media (max-width: 480px) {
  .user_menu_label { display: none; }
  .user_menu_button { width: 40px; padding: 0; border-radius: 50%; }
}

/* 320px still did not fit on the measured figures above, and 320 is a real phone.
   The divider is the only thing here that carries no function, so it is what goes. */
@media (max-width: 400px) {
  .site-header { gap: 12px; padding-inline: 14px; }
  .brand { --brand-mark-size: 36px; }
  .nav_links a { padding: 8px 8px; }
  .nav_actions { gap: 6px; }
  .nav_divider { display: none; }
}

/* ---- THE HEADLINE'S LAST WORD ----------------------------------------------
   The accent, not the primary: the accent IS the logo's violet, so the word picks up
   the mark in the header above it, where the primary is the wordmark ink and would
   read as a slightly lighter version of the headline rather than a highlight.
   Contrast on the hero wash is 7.65:1, against 3.0 required for large text.

   The <em> comes from practice_site_two_tone_headline(), which is the fight theme's
   treatment reused. font-style is reset because <em> is being used for colour here,
   not for emphasis -- the same reset .fd_hero h1 em carries. */
.hero h1 em { font-style: normal; color: var(--practice-accent); }

/* ---- THE HERO ILLUSTRATION --------------------------------------------------
   Replaces the classic theme's .care-card, so the hero's two columns are copy and
   picture rather than copy and a solid block. The shipped grid is 1.25fr / .75fr,
   sized for a narrow aside; a landscape illustration in that column reads as
   decoration. Even columns instead, which still leaves the headline room to set
   "Everyday" on one line at its 96px ceiling.

   NO FRAME, NO SHADOW, NO OFFSET BLOCK — owner's call, 2026-11-18, having seen both.
   The picture is cropped to where ink actually begins, measured per edge (4.0% left,
   8.4% right, 5.7% top, 1.9% bottom — it is not symmetric), and its outer 6% is
   feathered to transparent in the file rather than masked in CSS, so it blends on
   this wash and on anything else it is later placed on with no rule to keep in step.

   The feather is ink-aware, not geometric: within the band, alpha is whichever is
   greater, the smoothstep falloff or how much ink the pixel carries. A geometry-only
   feather was tried first and it cut the exam table, which runs to within 1.9% of the
   bottom edge, while leaving a white halo on the right, where the margin is twice as
   wide. Keeping the ink term is what lets the table reach the edge intact.

   The illustration's own background stays opaque, so a pale panel is visible where
   the wall is. That is a known and accepted consequence of blending rather than
   framing: dropping it would need alpha from ink density across the whole picture,
   and the paper reads ink 2 against the exam table's 5 and a lab-coat fold's 8, so
   any threshold that removes the paper also eats the table. Do not "fix" it that way. */
.hero { grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: clamp(40px, 6vw, 92px); }
.ndm_hero_art { margin: 0; }
.ndm_hero_art img { display: block; width: 100%; height: auto; }

@media (max-width: 850px) {
  /* the shipped sheet already collapses .hero to one column here; the picture leads
     on a phone, above the copy, because it says what this is faster than the words */
  .ndm_hero_art { order: -1; max-width: 560px; }
}

/* ---- THE SERVICE CARDS ------------------------------------------------------
   The shipped card is a square-cornered box with a 1px border, a dash-and-capitals
   mode label, and a hover that draws a 2px rule across the top. Against a brand
   whose every other edge is rounded — the mark, the pills, the buttons — the square
   corners are the thing that reads as unfinished.

   What changes, and what it costs to build:
     - 18px radius, a softer border and a real resting shadow, so a card is an
       object rather than an outline. CSS only.
     - the mode becomes a chip with an ICON, which is the biggest single lift and
       still needs NO new data: the icon is chosen from the delivery modes the row
       already carries, the same ones service_line_mode_phrase() reads to write the
       label. card_html() gains one span; practice_service_lines gains nothing.
     - the price sits on a tinted plate rather than floating, so the eye lands on
       the name first and the number second.
     - hover lifts the card and fills the arrow, which the shipped sheet already
       does; the top rule goes, because a 2px bar across a rounded corner is the one
       part of the old hover that cannot be made to fit. */
.service_grid { gap: 20px; }
.service_card {
  padding: 26px 26px 22px;
  border-radius: 18px;
  border-color: #ece7f5;
  box-shadow: 0 1px 2px rgba(66,29,122,.04), 0 10px 24px -18px rgba(66,29,122,.28);
}
.service_card::before { display: none; }
.service_card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--practice-primary) 26%, #ece7f5);
  box-shadow: 0 1px 2px rgba(66,29,122,.05), 0 22px 44px -22px rgba(66,29,122,.42);
}

/* the mode row: a tinted icon tile, then the words as a chip */
.service_mode {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--practice-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.service_mode::before { display: none; }          /* the shipped 18px dash */
.service_mode_icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--practice-accent) 11%, #fff);
  color: var(--practice-accent);
}
.service_mode_icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.service_card h3 { margin: 0 0 10px; font-size: clamp(21px, 1.7vw, 25px); letter-spacing: -.02em; }
.service_card p { margin: 0 0 26px; font-size: 15.5px; line-height: 1.6; }

.service_card_footer { padding-top: 18px; border-top-color: #f0ecf7; }
.service_price {
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--practice-primary) 7%, #fff);
  color: var(--practice-primary);
  font-size: 21px;
  font-weight: 800;
}
.service_price small { font-size: 10px; letter-spacing: .12em; color: color-mix(in srgb, var(--practice-primary) 62%, #fff); }
.service_card_arrow { width: 38px; height: 38px; border: 0; background: color-mix(in srgb, var(--practice-primary) 7%, #fff); }
.service_card:hover .service_card_arrow { background: var(--practice-primary); color: #fff; }

@media (max-width: 560px) {
  .service_card { padding: 22px 20px 18px; }
}

/* ---- CONTACT, ON THE HOME PAGE ---------------------------------------------
   The /contact page's form, rendered in a band between the pathways and the wave
   into the about section. The form markup is shared with that page, so everything
   here is layout only -- the fields, the panel, the hint and the response box all
   reuse .contact-panel / .field-row / .form-response from practice_site.css and
   are not restyled.

   The band sits on the page tint rather than white so the white panel reads as a
   card against it; .pathways directly above is #fff, and two white bands running
   together would lose the break between "how can we help" and the form. */
.ndm_contact {
  padding: clamp(74px, 9vw, 126px) clamp(24px, 7vw, 110px);
  background: var(--ndm-paper);
  display: grid;
  /* the panel takes no floor. A minmax(400px, ...) here cannot be satisfied until about 910px, so between the
     collapse below and that width the track is forced to its minimum and the grid overflows the viewport
     sideways -- a floor that bought nothing, since the panel is 396px at the breakpoint either way. With 0 the
     columns simply shrink, so no padding or gap change can reintroduce a horizontal scroll. */
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.ndm_contact_intro h2 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 50px); }
.ndm_contact_intro > p:not(.eyebrow):not(.urgent-note) {
  max-width: 560px;
  color: #5f5470;
  font-size: 17px;
  line-height: 1.7;
}
.ndm_contact .contact-details { margin: 30px 0 26px; }
.ndm_contact .contact-details a { color: var(--practice-primary); }
.ndm_contact .contact-details span { color: #8d84a0; }
/* the base rule puts this on white, which disappears against the tinted band */
.ndm_contact .urgent-note {
  background: #fff;
  color: #5f5470;
  border-left-color: var(--practice-accent);
}
.ndm_contact .contact-panel { box-shadow: 0 22px 60px rgba(61, 1, 118, .10); }

/* one column below this -- an editorial choice about where the two columns stop reading well, not a fix for an overflow */
@media (max-width: 900px) {
  .ndm_contact { grid-template-columns: 1fr; gap: 36px; }
  .ndm_contact_intro > p:not(.eyebrow):not(.urgent-note) { max-width: none; }
}
