/* Safire Wellness, meeting draft 2026-11-11. Palette and type carried from the Safire theme
   (editor-2-tenants/safire-wellness/theme/site.css): sapphire blue, bitterroot green, Archivo. */

:root {
  --blue: #1f9df0;
  --blue-deep: #0f6fd0;
  --blue-ink: #0b4f99;
  --blue-bright: #4fb6ff;
  --green: #1fc39a;
  --green-deep: #0e8a6a;
  --dark: #0a1017;
  --dark-alt: #0f1b28;
  --dark-card: #13212f;
  --light: #ffffff;
  --light-alt: #eef4fa;
  --line: #d9e3ee;
  --ink: #0e1720;
  --ink-muted: #4f6173;
  --ink-light: #f2f7fc;
  --ink-dim: #9fb3c7;
  --amber: #8a5a00;
  --amber-bg: #fff4dc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 23, 32, .06), 0 8px 28px rgba(14, 23, 32, .07);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
h1, h2, h3 {
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); font-weight: 750; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-muted); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--green); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; }

/* Draft bar: says plainly what this is. */
.draftbar {
  background: var(--amber-bg); color: var(--amber);
  font-size: .85rem; line-height: 1.4; text-align: center;
  padding: .55rem var(--gutter); border-bottom: 1px solid #f1dfb2;
}
.draftbar strong { font-weight: 700; }

/* Placeholders: anything Berley still has to supply. */
.ph {
  display: inline-block; background: var(--amber-bg); color: var(--amber);
  border: 1px dashed #d9b25c; border-radius: 6px; padding: 0 .4em;
  font-size: .92em; font-weight: 600; line-height: 1.5;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { display: block; font-weight: 750; font-stretch: 112%; font-size: 1.15rem; line-height: 1.1; }
.brand-sub { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-deep); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.mnav { display: none; position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: .55rem .9rem;
  border: 1px solid var(--line); border-radius: 999px;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--light-alt); }
.mnav nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .5rem; display: grid;
}
.mnav nav a { padding: .75rem .9rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav nav a:hover { background: var(--light-alt); }
@media (max-width: 920px) {
  .nav { display: none; }
  .mnav { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.35em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { color: var(--blue-deep); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--ink-light); color: var(--dark); }
.btn-ghost-dark { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: .55em 1.05em; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Home hero (dark, with ridgelines) */
.hero {
  position: relative; overflow: hidden; color: var(--ink-light);
  background: radial-gradient(1200px 520px at 85% -10%, rgba(31, 157, 240, .28), transparent 60%),
              radial-gradient(900px 420px at -10% 30%, rgba(31, 195, 154, .14), transparent 60%),
              linear-gradient(180deg, var(--dark) 0%, var(--dark-alt) 100%);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(7rem, 12vw, 10rem);
}
.hero .eyebrow { color: var(--green); }
.hero h1 { color: #fff; }
.hero .lead { color: #c3d3e3; }
.hero .accent { color: var(--blue-bright); }
.ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(110px, 16vw, 200px); z-index: 1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The example file card in the hero */
.filecard {
  background: rgba(19, 33, 47, .86); border: 1px solid rgba(159, 179, 199, .22);
  border-radius: 18px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  color: var(--ink-light); font-size: .95rem;
}
.filecard-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dark); background: var(--green); border-radius: 999px; padding: .2em .7em; margin-bottom: .9rem;
}
.filecard-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: grid; place-items: center; font-weight: 750; color: #fff; font-stretch: 112%;
}
.filecard-name { font-weight: 700; font-size: 1.05rem; color: #fff; }
.redact { display: inline-block; width: 5.5em; height: .8em; border-radius: 4px; background: #3a4f63; vertical-align: -.05em; }
.redact-text { font-size: .8rem; font-weight: 600; font-style: italic; color: var(--ink-dim); letter-spacing: .02em; }
.avatar-ph { background: var(--amber-bg); color: var(--amber); border: 1px dashed #d9b25c; }
.filecard-role { color: var(--ink-dim); font-size: .88rem; }
.filecard ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(159, 179, 199, .18); }
.filecard li {
  display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px solid rgba(159, 179, 199, .12);
}
.filecard li span:last-child { color: var(--green); font-weight: 600; white-space: nowrap; }
.filecard li span:last-child::before { content: "✓ "; }
.filecard-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; color: var(--ink-dim); font-size: .85rem; }

/* Inner page hero (light) */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--light-alt), #f7fafd);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; z-index: 2; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.page-hero .ridgeline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(60px, 9vw, 110px); z-index: 1; opacity: .9; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--light-alt); }
.section-head { max-width: 46em; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-muted); font-size: 1.08rem; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
.door { display: flex; flex-direction: column; border-top: 4px solid var(--blue); }
.door.physicians { border-top-color: var(--green); }
.door h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.door p { color: var(--ink-muted); flex: 1; }

.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(31, 157, 240, .14), rgba(31, 195, 154, .16)); color: var(--blue-deep);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: .35em; }
.feature p { color: var(--ink-muted); margin: 0; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5em 1em;
  font-weight: 600; font-size: .95rem;
}
.section-alt .chips li { background: #fff; }
.chips.states li { border-color: rgba(31, 195, 154, .5); }

/* Check lists */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 680px) { .checks.two { grid-template-columns: 1fr; } }
.note {
  margin-top: 2rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--blue); background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-muted);
}
.section:not(.section-alt) .note { background: var(--light-alt); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps > li {
  counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem 1.4rem 4.6rem; box-shadow: var(--shadow);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 1.4rem; top: 1.35rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark); color: #fff; font-weight: 750; font-stretch: 112%;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-muted); }
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .9rem; }
.sides div { background: var(--light-alt); border-radius: 10px; padding: .8rem 1rem; font-size: .95rem; color: var(--ink-muted); }
.sides strong { display: block; color: var(--ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .2rem; }
@media (max-width: 680px) { .sides { grid-template-columns: 1fr; } .steps > li { padding-left: 1.5rem; padding-top: 4.2rem; } }

.steps.mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps.mini > li { padding: 4.2rem 1.3rem 1.4rem; }
@media (max-width: 980px) { .steps.mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.mini { grid-template-columns: 1fr; } }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--dark); color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; width: 46%; }

/* Split block */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--dark); color: var(--ink-light); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.panel h3 { color: #fff; }
.panel p { color: #c3d3e3; }

/* People */
.person { text-align: left; }
.person .avatar { width: 64px; height: 64px; font-size: 1.3rem; margin-bottom: 1rem; }
.person .role { color: var(--green-deep); font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--dark) 0%, #0d2440 100%); color: var(--ink-light); }
.cta-band .grid > div { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid rgba(159, 179, 199, .2); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.cta-band p { color: #c3d3e3; }
.cta-single { text-align: center; }
.cta-single p { margin-left: auto; margin-right: auto; max-width: 34em; }
.cta-single .actions { justify-content: center; }

/* Forms */
.forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); align-items: start; }
@media (max-width: 860px) { .forms { grid-template-columns: 1fr; } }
.form { scroll-margin-top: 96px; }
.form h2 { font-size: 1.6rem; }
.form > p { color: var(--ink-muted); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .75em .9em; border: 1px solid #c4d2e0; border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31, 157, 240, .35); border-color: var(--blue-deep); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-weight: 600; }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.contact-lines strong { display: inline-block; min-width: 5.5em; }

/* Footer */
.site-footer { background: var(--dark); color: var(--ink-dim); padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--ink-dim); }
.site-footer p { margin-top: 1rem; max-width: 30em; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; align-content: start; }
.foot-links a { color: var(--ink-light); text-decoration: none; }
.foot-links a:hover { color: var(--blue-bright); }
.foot-base { grid-column: 1 / -1; border-top: 1px solid rgba(159, 179, 199, .18); padding-top: 1.2rem; font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (max-width: 680px) { .site-footer .wrap { grid-template-columns: 1fr; } }
