/* ============================================================
   Parkway Clinic — prototype styles
   Kernel Lab house pattern: serif display, mono eyebrows,
   alternating bands, pill buttons, 12px cards, tracked micro-labels.
   Palette sampled from the Parkway brand board (Nov 2026).
   Contrast measured, not assumed — ratios noted beside each ink.
   ============================================================ */

.pw {
  /* navy */
  --navy:        #0F283D;
  --navy-deep:   #0A1823;
  --navy-lift:   #17374F;

  /* gold */
  --gold:        #CB941F;
  --gold-t:      #DCB665;   /* on navy      — 7.9:1 */
  --gold-ink:    #7A5712;   /* on alabaster — 6.0:1 */
  --gold-rule:   rgba(203, 148, 31, 0.34);
  --gold-wash:   rgba(203, 148, 31, 0.10);

  /* paper */
  --alabaster:   #F8F5EE;
  --alabaster-2: #F1EDE3;
  --paper:       #FFFDF8;

  /* ink */
  --ink:         #1C2B36;   /* on alabaster — 13.3:1 */
  --ink-2:       #4A5A66;   /* on alabaster —  6.6:1 */
  --on-navy:     #F4F1E9;   /* on navy      — 13.9:1 */
  --on-navy-2:   rgba(244, 241, 233, 0.82);

  --rule:        rgba(28, 43, 54, 0.14);
  --rule-navy:   rgba(244, 241, 233, 0.16);

  --radius:      12px;
  --radius-sm:   8px;
  --pill:        100px;
  --shadow:      0 14px 36px rgba(10, 24, 35, 0.09);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono:  "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

/* `display` on a class beats the user-agent rule for [hidden], so an element
   set hidden in script stays on screen. This is why the accepting-new-patients
   badge did not disappear when the flag was switched off. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3rem);        line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.35rem);  line-height: 1.18; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem); line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0 0 1.05rem; max-width: 36rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 34rem;
}
.band-navy .lede { color: var(--on-navy-2); }

.fineprint { font-size: 0.875rem; line-height: 1.65; color: var(--ink-2); max-width: 32rem; }
.band-navy .fineprint { color: var(--on-navy-2); }

.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.65625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 1.125rem;
}
.band-navy .eyebrow { color: var(--gold-t); }

a { color: #0D4A6B; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-ink); }
.band-navy a { color: var(--gold-t); }
.band-navy a:hover { color: #EFD39A; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.band-navy :focus-visible { outline-color: var(--gold-t); }

/* ---------- Prototype banner ---------- */

.proto-banner {
  margin: 0;
  max-width: none;
  padding: 0.6875rem 1.25rem;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--gold-rule);
  color: var(--on-navy-2);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: center;
}
.proto-banner strong { color: var(--gold-t); font-weight: 500; }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; top: 0; color: var(--navy-deep); }

/* ---------- Layout ---------- */

.wrap { position: relative; max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 30rem) { .wrap { padding: 0 1.125rem; } }

.band { padding: clamp(2.75rem, 1.5rem + 5vw, 5.5rem) 0; }

.band-navy { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.band-paper     { background: var(--alabaster);   border-top: 1px solid var(--rule); }
.band-paper-alt { background: var(--alabaster-2); border-top: 1px solid var(--rule); }

/* Lighthouse beams — echoes the mark. Decorative only. */
.band-navy::after {
  content: "";
  position: absolute;
  top: -32%;
  right: -14%;
  width: min(44rem, 85%);
  aspect-ratio: 1;
  background: repeating-conic-gradient(
    from 18deg at 50% 50%,
    var(--gold-wash) 0deg 3deg,
    transparent 3deg 13deg
  );
  -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent 72%);
  mask-image: radial-gradient(closest-side, #000 10%, transparent 72%);
  pointer-events: none;
}
.band-navy > * { position: relative; z-index: 1; }

/* ---------- Masthead ---------- */

.masthead {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--gold-rule);
  padding: 1.25rem 0;
}
.masthead__inner { display: flex; align-items: center; gap: 1.125rem; }
.masthead__mark { flex: 0 0 auto; width: 58px; height: 62px; }

.wordmark {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1.3vw, 1.875rem);
  line-height: 1.05;
  color: var(--on-navy);
}
.wordmark a { color: inherit; text-decoration: none; }
.wordmark a:hover { color: var(--gold-t); }

.tagline {
  margin: 0.375rem 0 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-t);
}

/* ---------- Nav ---------- */

.nav { background: var(--navy-deep); border-bottom: 1px solid var(--rule-navy); }
.nav ul {
  max-width: 68rem; margin: 0 auto; padding: 0 1rem;
  list-style: none; display: flex; flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: 0.8125rem 0.9375rem;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--on-navy); border-bottom-color: var(--gold-rule); }
.nav a[aria-current="page"] { color: var(--gold-t); border-bottom-color: var(--gold); }

/* ---------- Section head (house pattern) ---------- */

.sec-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 0.5rem + 3vw, 4.5rem);
  align-items: end;
  margin-bottom: 2.5rem;
}
.sec-head > p { margin-bottom: 0.25rem; }
@media (max-width: 48rem) {
  .sec-head { grid-template-columns: 1fr; gap: 0.875rem; align-items: start; margin-bottom: 1.75rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.75rem;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #E0A62D; color: var(--navy-deep); }
.band-navy .btn-gold, .band-navy .btn-gold:hover { color: var(--navy-deep); }
.btn svg { flex: 0 0 auto; }
.btn .num { font-variant-numeric: tabular-nums; }

/* ---------- Task cards ---------- */

.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.125rem; }
@media (min-width: 44rem) { .tasks { grid-template-columns: repeat(3, 1fr); } }

.task {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.375rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.task:hover { border-color: var(--gold-rule); transform: translateY(-2px); box-shadow: var(--shadow); }
.task h3 { margin-bottom: 0.5rem; }
.task p { font-size: 0.9375rem; line-height: 1.65; color: var(--ink-2); margin-bottom: 1.25rem; }

.task__go {
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.task__go:hover .task__go-label { text-decoration: underline; }
.task__go-label { display: inline-flex; align-items: center; gap: 0.4375rem; }
.task__go-label svg { flex: none; opacity: 0.75; }

.destination {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 400;
  color: var(--gold-ink);
  text-decoration: none;
}

/* ---------- Confirm callout ---------- */

.confirm {
  display: grid;
  gap: 0.5rem;
  max-width: 38rem;
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--gold-wash);
  border: 1px solid var(--gold-rule);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.confirm p { margin: 0; max-width: none; font-size: 0.9375rem; line-height: 1.65; color: var(--ink-2); }
.confirm__tag {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.band-navy .confirm { background: rgba(203, 148, 31, 0.13); }
.band-navy .confirm p { color: var(--on-navy-2); }
.band-navy .confirm__tag { color: var(--gold-t); }

/* ---------- Steps ---------- */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.125rem; }
.steps > li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid var(--gold-rule);
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.steps h3 { margin-bottom: 0.3125rem; }
.steps p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- Document groups ---------- */

.doc-group {
  margin-bottom: 1.125rem;
  padding: 1.5rem 1.625rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.doc-group h3 { margin-bottom: 0.375rem; }
.doc-group > p { margin-bottom: 0.5rem; font-size: 0.9375rem; line-height: 1.65; color: var(--ink-2); }

.doc-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.doc-list li { border-top: 1px solid var(--rule); }
.doc-list a {
  display: grid;
  gap: 0.1875rem;
  padding: 0.875rem 0;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.doc-list a:hover .doc-name { text-decoration: underline; }
.doc-name { display: inline-flex; align-items: center; gap: 0.4375rem; }
.doc-name svg { flex: none; opacity: 0.7; }
.who { font-weight: 400; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- People ---------- */

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.125rem; }
@media (min-width: 44rem) { .people { grid-template-columns: 1fr 1fr; } }

.person {
  padding: 1.5rem 1.625rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.person h3 { margin-bottom: 0.25rem; }
.person .role {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.person p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- Tick list ---------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.625rem; }
.ticks li { position: relative; padding-left: 1.125rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}

/* Links in tick lists get real height too. */
.ticks a {
  display: inline-block;
  padding: 0.1875rem 0;
  min-height: 28px;
}

/* ---------- Chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  padding: 0.3125rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* ---------- Inline phone links ----------
   SC 2.5.8 exempts inline targets, but this is the one thing a patient taps. */

.tel-inline {
  display: inline-block;
  padding: 0.1875rem 0.125rem;
  min-height: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-foot {
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.5rem) 0;
  background: var(--navy-deep);
  border-top: 1px solid var(--gold-rule);
  color: var(--on-navy-2);
  font-size: 0.9375rem;
}
.site-foot h2 {
  margin-bottom: 0.875rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-t);
}
.site-foot a { color: var(--on-navy); }
.site-foot a:hover { color: var(--gold-t); }
.site-foot address { font-style: normal; line-height: 1.8; }
.site-foot p { margin: 0; line-height: 1.8; }

.foot-cols { display: grid; gap: 2rem; }
@media (min-width: 44rem) { .foot-cols { grid-template-columns: 1.2fr 1fr 1fr; } }

.foot-rule {
  max-width: none;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-navy);
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 233, 0.55);
}

/* ============================================================
   FRONT DOOR
   The design review said the navy hero was the most corporate
   option on the table: Lyra, Modern Health and Reema all sit on
   a tinted ground and let one accent carry the action. So the
   hero is alabaster, navy is ink, and gold is the single accent.
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(203, 148, 31, 0.13) 0%, rgba(203, 148, 31, 0) 58%),
    var(--alabaster);
  border-bottom: 1px solid var(--rule);
  padding: clamp(2.5rem, 1rem + 6vw, 5rem) 0 clamp(2.5rem, 1rem + 5vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; }
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.1rem + 6.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--navy-deep);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--gold-ink);
}

.hero__lede {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 30rem;
  margin: 0 0 1.875rem;
}

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }

.btn-xl {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  padding: 1.0625rem 2rem;
  min-height: 60px;
  box-shadow: 0 10px 28px rgba(203, 148, 31, 0.28);
}
.btn-xl:hover { box-shadow: 0 12px 32px rgba(203, 148, 31, 0.36); }

/* Open / closed, worked out in the browser from the clinic's hours. */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.status__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-2);
  box-shadow: 0 0 0 3px rgba(74, 90, 102, 0.16);
  flex: none;
}
.status[data-open="true"] { color: #2F6B45; }
.status[data-open="true"] .status__dot {
  background: #3C8558;
  box-shadow: 0 0 0 3px rgba(60, 133, 88, 0.2);
}

.hero__meta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.hero__meta div { min-width: 0; }
.hero__meta dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 0.3125rem;
}
.hero__meta dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink); }

/* The illustration. Photography is the real answer and it is a line item;
   until the shoot happens this is a deliberate piece of art rather than a
   stock photograph of someone else's clinic. */
.hero__art { position: relative; }
.hero__art svg { display: block; width: 100%; height: auto; }
.hero__art figcaption {
  margin-top: 0.875rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: center;
}

/* Provider cards with a portrait frame, so the photo slot is visible now. */
.person--portrait { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; align-items: start; }
.portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-t);
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--gold-rule);
}
@media (max-width: 30rem) {
  .person--portrait { grid-template-columns: 1fr; }
}

/* Accepting new patients. Confirmed 4 Dec 2026.
   The one fact every prospective patient is looking for, so it gets a mark of
   its own rather than a line in a list. In the build its text and its presence
   both come from site_content, so the front desk can switch it off the day the
   panel fills. */
.badge-accepting {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5rem 0.9375rem;
  border-radius: var(--pill);
  background: rgba(60, 133, 88, 0.10);
  border: 1px solid rgba(60, 133, 88, 0.32);
  color: #2F6B45;                      /* 5.9:1 on the hero ground */
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-accepting svg { flex: none; }

.hero__meta dd strong { font-weight: 700; color: var(--navy-deep); }

/* A line the front desk can raise from the back office: a closure, a snow day,
   a phone outage. Hidden until site_content carries one. */
.notice {
  margin: 0;
  max-width: none;
  padding: 0.8125rem 1.25rem;
  background: var(--gold-wash);
  border-bottom: 1px solid var(--gold-rule);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
}
