/* Blue Waters Recovery Foundation — prototype styles
   Deep water blue + white + soft teal accent. Calm, hopeful, accessible. */

:root {
  --deep: #0B3D5C;
  --deep-dark: #072A40;
  --teal: #2A9D8F;
  --teal-dark: #1F756A;
  --mist: #E8F4F8;
  --sand: #F7F3EE;
  --warm: #F4A261;
  --warm-dark: #E0762F;
  --text: #1A1A1A;
  --muted: #5A6A72;
  --border: #D0DEE6;
  --white: #FFFFFF;
  --focus: #FFBF47;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(11, 61, 92, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--deep); }
a:hover { color: var(--teal-dark); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--deep);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--deep), var(--teal));
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.logo-text { line-height: 1.15; }
.logo-text small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--deep);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-dark); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--teal); }

.nav-cta {
  background: var(--deep) !important;
  color: var(--white) !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--deep-dark) !important; }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(42, 157, 143, 0.18), transparent 50%),
    linear-gradient(160deg, var(--deep) 0%, #0E4F73 45%, #14607F 100%);
  color: var(--white);
  padding: 3.5rem 0 3.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.hero .lede {
  font-size: 1.15rem;
  max-width: 40rem;
  opacity: 0.95;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--warm);
  color: var(--deep-dark);
  border-color: var(--warm);
}
.btn-primary:hover { background: var(--warm-dark); color: var(--white); border-color: var(--warm-dark); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }

.btn-outline {
  background: var(--white);
  color: var(--deep);
  border-color: var(--deep);
}
.btn-outline:hover { background: var(--mist); color: var(--deep); }

.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }

/* Sections */
.section { padding: 3.25rem 0; }
.section-mist { background: var(--mist); }
.section-sand { background: var(--sand); }

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--deep);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section .intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.5rem;
  color: var(--deep);
  font-size: 1.2rem;
}
.card p { margin: 0 0 1rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--deep);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  padding: 0.65rem 0 0.65rem 1.85rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

/* Page hero (inner) */
.page-hero {
  background: var(--mist);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin: 0 0 0.5rem;
  color: var(--deep);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}
.page-hero .lede {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.1rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--deep);
  font-size: 0.95rem;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(42, 157, 143, 0.35);
  border-color: var(--teal);
}
.form .hint {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.donate-box {
  background: linear-gradient(145deg, var(--deep), #14607F);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.donate-box h2 { color: var(--white); margin-top: 0; }
.donate-box p { opacity: 0.92; }
.amount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}
.amount {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.amount:hover, .amount.is-selected {
  background: var(--warm);
  border-color: var(--warm);
  color: var(--deep-dark);
}

.callout {
  border-left: 4px solid var(--teal);
  background: var(--mist);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}
.callout strong { color: var(--deep); }

.featured {
  border: 2px solid var(--teal);
  position: relative;
}
.featured .tag {
  position: absolute;
  top: -0.7rem;
  left: 1rem;
  background: var(--teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.contact-cards {
  display: grid;
  gap: 1rem;
}
.contact-cards a { text-decoration: none; }

/* Dog band */
.dog-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.dog-emoji {
  font-size: 2.75rem;
  line-height: 1;
}
@media (max-width: 560px) {
  .dog-band { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--deep-dark);
  color: rgba(255,255,255,0.88);
  padding: 2.75rem 0 1.5rem;
  margin-top: 0;
}
.site-footer a { color: #B8E0D8; }
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.site-footer h3 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
  font-weight: 600;
  color: var(--deep);
  font-size: 0.95rem;
}
.trust-strip span::before {
  content: "•";
  color: var(--teal);
  margin-right: 0.75rem;
}
.trust-strip span:first-child::before { content: none; margin: 0; }


/* Logo image */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  color: var(--deep);
}
.logo-text small {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Hero with background image */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,42,64,0.88) 0%, rgba(11,61,92,0.72) 55%, rgba(11,61,92,0.45) 100%);
}
.hero > .container {
  position: relative;
  z-index: 1;
  padding-block: 4.5rem 4rem;
}
.hero.page-hero > .container {
  padding-block: 3.5rem 3rem;
}
.hero .lede { color: rgba(255,255,255,0.92); max-width: 38rem; }
.section-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 1.5rem 0 0;
}
.section-visual img {
  width: 100%;
  height: min(360px, 50vw);
  object-fit: cover;
}
.card-visual {
  margin: -1.25rem -1.25rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: 160px;
}
.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 720px) {
  /* logo-text always shown */
  .logo-img { height: 44px; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}
.page-hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7,42,64,0.9) 0%, rgba(11,61,92,0.78) 60%, rgba(11,61,92,0.55) 100%);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
  padding-block: 3.25rem 2.75rem;
}
.page-hero .eyebrow { color: #B8E0D8; }
.page-hero .lede { color: rgba(255,255,255,0.92); }
.page-hero h1 { color: var(--white); }

.hero { min-height: 420px; display: flex; align-items: center; }
.hero > .container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Client Resources page */
.resource-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.resource-toc a {
  display: inline-block;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--deep);
}
.resource-toc a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

.resource-section { margin-bottom: 2.5rem; }
.resource-section > h2 {
  margin-bottom: 0.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1.25rem;
}
@media (max-width: 800px) {
  .resource-grid { grid-template-columns: 1fr; }
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.resource-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 1.1rem;
}
.resource-card .blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.resource-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.45;
}
.resource-meta strong { color: var(--deep); }
.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}
.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
}
.btn-pdf {
  background: var(--deep);
  color: var(--white) !important;
  border-color: var(--deep);
}
.btn-pdf:hover { background: var(--deep-dark); border-color: var(--deep-dark); color: var(--white) !important; }

.disclaimer-box {
  background: var(--sand);
  border: 1px solid var(--border);
  border-left: 4px solid var(--warm);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.disclaimer-box strong { color: var(--deep); }

.helpline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 800px) {
  .helpline-grid { grid-template-columns: 1fr; }
}
.helpline-card {
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  text-align: center;
}
.helpline-card h3 { color: var(--white); margin: 0 0 0.35rem; font-size: 1.15rem; }
.helpline-card .phone {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #B8E0D8;
  text-decoration: none;
  margin: 0.5rem 0;
}
.helpline-card .phone:hover { color: var(--white); }
.helpline-card p { margin: 0; font-size: 0.9rem; opacity: 0.9; }

@media (min-width: 801px) {
  .home-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-credit {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.partner-credit a {
  color: #B8E0D8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.partner-credit a:hover { color: #fff; }

.payment-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
  margin-bottom: 0.75rem;
}
.payment-logo img {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.payment-method h3 {
  margin-top: 0.25rem;
}

.logo-text {
  display: flex !important;
  flex-direction: column;
  line-height: 1.15;
  font-weight: 700;
  color: var(--deep);
  font-size: 1.05rem;
}
.logo-text small {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.logo-img { display: none !important; }

/* Meetings: area sub-sections + day-by-day schedule */
.resource-subhead {
  margin: 2rem 0 0.35rem;
  color: var(--deep);
  font-size: 1.2rem;
  scroll-margin-top: 5rem;
}
.resource-section > .resource-subhead:first-of-type { margin-top: 1.5rem; }
.resource-subhead-sm { font-size: 1.05rem; margin-top: 2.25rem; }
.subhead-jump {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}
.subhead-jump a { white-space: nowrap; }
.subhead-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.meeting-schedule {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}
.meeting-schedule h4 { margin: 0 0 0.35rem; color: var(--deep); font-size: 1.05rem; }
.meeting-schedule .schedule-note { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.9rem; }
.meeting-schedule details { border-top: 1px solid var(--border); }
.meeting-schedule summary {
  cursor: pointer;
  padding: 0.65rem 0;
  font-weight: 700;
  color: var(--deep);
}
.meeting-schedule summary .count { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.meeting-schedule .table-wrap { overflow-x: auto; padding-bottom: 0.75rem; }
.meeting-schedule table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.meeting-schedule th,
.meeting-schedule td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.meeting-schedule th { background: var(--mist); color: var(--deep); font-weight: 600; }
.meeting-schedule td:first-child { white-space: nowrap; }
.meeting-schedule .city { color: var(--muted); }

/* Resources: house-area filter */
.area-filter {
  background: var(--mist);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 0.9rem;
  margin: -0.75rem 0 2rem;
}
.area-filter[hidden] { display: none; }
.area-filter-label {
  margin: 0 0 0.6rem;
  font-weight: 700;
  color: var(--deep);
}
.area-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 2px solid var(--deep);
  border-radius: 999px;
  background: var(--white);
  color: var(--deep);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.area-chip:hover { background: var(--white); border-color: var(--teal-dark); color: var(--teal-dark); }
.area-chip[aria-pressed="true"] {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}
.area-chip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.area-filter-status {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: var(--deep);
}
.area-filter-note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.is-area-hidden { display: none !important; }
.area-distance {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.area-distance[hidden] { display: none; }
.helpline-card .area-distance { color: #B8E0D8; margin-bottom: 0.25rem; }
.area-filter-active .resource-card .resource-meta .city { display: none; }
@media (max-width: 560px) {
  .area-filter { padding: 0.9rem 0.9rem 0.8rem; }
  .area-filter-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .area-chip { width: 100%; padding: 0.45rem 0.6rem; }
}

/* Resources: who-it's-for filter (works with the house-area filter) */
.area-filter .group-filter-label { margin-top: 0.9rem; }
.group-badges { margin: 0 0 0.35rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.group-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid #E6D3BF;
  color: #6B3A12;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}
.group-spotlight {
  background: #FFF6EC;
  border: 1px solid #F1D2B3;
  border-left: 4px solid var(--warm-dark);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: -1rem 0 2rem;
}
.group-spotlight[hidden] { display: none; }
.group-spotlight .spot-title { margin: 0 0 0.25rem; font-size: 1.3rem; color: var(--deep); }
.group-spotlight .spot-sub { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.95rem; }
.group-spotlight .spot-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.group-spotlight .spot-name { font-weight: 700; }
.group-spotlight .spot-where { color: var(--muted); font-size: 0.88rem; }
.group-spotlight .spot-where::before { content: "· "; }
.group-spotlight .spot-tel { white-space: nowrap; font-size: 0.92rem; }
.group-spotlight .spot-tel::before { content: "· "; color: var(--muted); display: inline-block; margin-right: 0.25em; text-decoration: none; }
.group-spotlight .spot-clubs { margin: 0.7rem 0 0; font-size: 0.93rem; }
.group-filter-active .resource-card.is-group-match {
  border-color: var(--warm-dark);
  box-shadow: 0 0 0 2px rgba(224, 118, 47, 0.25), var(--shadow);
}
.group-filter-active .meeting-schedule tr.is-group-match td { background: #FFF1E2; font-weight: 600; }
@media (max-width: 560px) {
  .group-spotlight { padding: 0.9rem; }
  .group-spotlight .spot-tel, .group-spotlight .spot-where { display: block; }
  .group-spotlight .spot-where::before, .group-spotlight .spot-tel::before { content: none; margin: 0; }
}
.card-source { margin: 0.5rem 0 0; font-size: 0.8rem; color: var(--muted); }


.hero-phone{margin:0 0 1rem;font-size:clamp(1.35rem,3vw,1.85rem);font-weight:700;letter-spacing:.01em}
.hero-phone a{color:#fff;text-decoration:none;border-bottom:2px solid rgba(184,224,216,.7)}
.hero-phone a:hover,.hero-phone a:focus{border-bottom-color:#B8E0D8;outline:none}
.trust-strip a{color:inherit;font-weight:700;text-decoration:none}
.trust-strip a:hover{text-decoration:underline}





.hero-line{display:block;line-height:1.15}
.hero-sub{display:block;font-size:clamp(1.05rem,2.4vw,1.45rem);font-weight:500;opacity:0.92;line-height:1.35;max-width:28ch}

.hero-headline{display:flex;flex-direction:column;gap:0.35rem;align-items:flex-start;max-width:22ch;transition:opacity .28s ease}
.hero-headline.is-fading{opacity:0}
.hero-line,.hero-sub{
  display:block;
  background:linear-gradient(
    115deg,
    #f4f7f6 0%,
    #ffffff 28%,
    #fff6d6 42%,
    #ffe8a3 50%,
    #fff6d6 58%,
    #ffffff 72%,
    #f4f7f6 100%
  );
  background-size:260% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  animation:hero-sun-shimmer 5.5s ease-in-out infinite;
  filter:drop-shadow(0 1px 10px rgba(255,214,120,.28));
}
.hero-line{line-height:1.15}
.hero-sub{font-style:italic;font-size:clamp(1.05rem,2.4vw,1.45rem);font-weight:500;line-height:1.35;max-width:28ch;animation-delay:0.75s}
@keyframes hero-sun-shimmer{
  0%{background-position:120% 40%}
  55%{background-position:-20% 60%}
  100%{background-position:-20% 60%}
}
@media (prefers-reduced-motion:reduce){
  .hero-line,.hero-sub{animation:none;filter:none;color:#fff;-webkit-text-fill-color:#fff;background:none}
}



.page-hero-with-media{position:relative;overflow:hidden;color:#fff}
.page-hero-with-media .page-hero-media{position:absolute;inset:0;z-index:0}
.page-hero-with-media .page-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.page-hero-with-media::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(105deg,rgba(12,40,48,.78) 0%,rgba(12,40,48,.55) 55%,rgba(12,40,48,.35) 100%)}
.page-hero-with-media .container{position:relative;z-index:2}
.page-hero-with-media .eyebrow,.page-hero-with-media .lede,.page-hero-with-media h1{color:#fff}
.page-hero-with-media .lede{opacity:.95}

.map-cta-wrap{margin:1.25rem 0 1.75rem}
.map-cta-top{margin-top:0.5rem}
.btn-map-cta{
  display:inline-flex;align-items:center;gap:0.85rem;
  padding:0.95rem 1.25rem;border-radius:14px;
  background:linear-gradient(135deg,#0f766e 0%,#0ea5a4 55%,#38bdf8 100%);
  color:#fff!important;text-decoration:none;border:none;
  box-shadow:0 10px 28px rgba(14,116,144,.35),0 0 0 3px rgba(56,189,248,.25);
  transform:translateY(0);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
  max-width:100%;
}
.btn-map-cta:hover,.btn-map-cta:focus{
  filter:brightness(1.06);
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(14,116,144,.42),0 0 0 3px rgba(56,189,248,.4);
  outline:none;
}
.map-cta-icon{font-size:1.6rem;line-height:1}
.map-cta-text{display:flex;flex-direction:column;align-items:flex-start;gap:0.15rem;text-align:left}
.map-cta-text strong{font-size:1.1rem;letter-spacing:.01em}
.map-cta-text small{font-size:0.85rem;opacity:.92;font-weight:500}
.resource-toc .toc-map a{
  background:linear-gradient(135deg,#0f766e,#38bdf8);
  color:#fff!important;border-radius:999px;padding:0.35rem 0.85rem;
  font-weight:700;box-shadow:0 4px 14px rgba(14,116,144,.28);
}
.resource-toc .toc-map a:hover{filter:brightness(1.08)}

/* Bulleted tips inside a resource card (housing explainer) */
.resource-card .card-tips {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.45;
}
.resource-card .card-tips li { margin-bottom: 0.35rem; }
.resource-card .card-tips strong { color: var(--deep); }

/* Free badge + filter */
.free-badge-row{margin:0.15rem 0 0.4rem}
.free-badge{display:inline-block;background:#16a34a;color:#fff;font-weight:800;font-size:0.72rem;letter-spacing:.06em;text-transform:uppercase;padding:0.2rem 0.55rem;border-radius:999px}
.free-toggle-wrap{margin:0.9rem 0 0.2rem}
.free-toggle{display:inline-flex;align-items:center;gap:0.55rem;font:inherit;font-weight:700;color:#166534;background:#f0fdf4;border:2px solid #16a34a;border-radius:999px;padding:0.45rem 1rem;cursor:pointer}
.free-toggle-box{width:1.05rem;height:1.05rem;border:2px solid #16a34a;border-radius:4px;background:#fff;display:inline-grid;place-items:center}
.free-toggle[aria-pressed="true"]{background:#16a34a;color:#fff}
.free-toggle[aria-pressed="true"] .free-toggle-box{background:#fff}
.free-toggle[aria-pressed="true"] .free-toggle-box::after{content:"✓";color:#16a34a;font-size:0.8rem;font-weight:900;line-height:1}
.free-toggle:focus-visible{outline:3px solid #86efac;outline-offset:2px}
.steps-list{margin:0.4rem 0 0.8rem 1.1rem;padding:0;color:var(--muted)}
.steps-list li{margin:0.25rem 0}
.sample-letter{margin:0.6rem 0 0.9rem;border:1px solid var(--border);border-radius:10px;background:#f8fafc}
.sample-letter summary{cursor:pointer;font-weight:700;color:var(--deep);padding:0.6rem 0.8rem}
.sample-letter pre{white-space:pre-wrap;font-size:0.82rem;line-height:1.45;margin:0;padding:0 0.9rem 0.9rem;font-family:ui-monospace,Menlo,Consolas,monospace}

/* Keep jump-link targets below the sticky header */
html { scroll-padding-top: var(--header-offset, 6rem); }
.resource-section, .resource-subhead, [id] { scroll-margin-top: 0; }

/* Slim sticky jump bar + back to top (resources) */
.jump-bar { position: fixed; left: 0; right: 0; z-index: 90; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,.06); transform: translateY(-120%); opacity: 0; transition: transform .2s ease, opacity .2s ease; pointer-events: none; }
.jump-bar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.jump-bar-btn { display: block; width: 100%; max-width: 1100px; margin: 0 auto; text-align: left; background: none; border: 0; padding: .6rem 1.25rem; font: inherit; font-weight: 600; color: var(--deep); cursor: pointer; }
.jump-bar-btn .jb-label { color: #6b7a86; font-weight: 500; margin-right: .25rem; }
.jump-bar-menu { list-style: none; margin: 0 auto; padding: .5rem 1.25rem 1rem; max-width: 1100px; max-height: 60vh; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .35rem .75rem; }
.jump-bar-menu[hidden], .jump-bar-menu li[hidden] { display: none; }
.jump-bar-menu a { display: block; padding: .45rem .6rem; border-radius: 8px; text-decoration: none; color: var(--deep); background: #eef6f8; }
.jump-bar-menu a:hover { background: #d9eef2; }
.back-to-top { position: fixed; right: 18px; bottom: 76px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--deep); color: #fff; font-size: 1.3rem; line-height: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.2); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.back-to-top span { font-size: .65rem; font-weight: 600; margin-top: 2px; }
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ===== Start Here checklist (resources.html #checklist; behavior in js/checklist.js) ===== */
.cl-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 6px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.6rem 1.25rem;
  margin: 0 0 2rem;
}
.cl-head { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cl-eyebrow { color: var(--teal-dark); margin: 0 0 0.15rem; }
.cl-wrap h2 { margin: 0 0 0.35rem; color: var(--deep); }
.cl-intro { margin: 0; color: var(--muted); max-width: 46rem; }
.cl-pyramid { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 0 0 auto; }
.cl-pyramid span {
  display: block; height: 18px; border-radius: 4px; color: var(--white);
  font-size: 0.7rem; font-weight: 700; line-height: 18px; text-align: center;
}
.cl-pyramid span:nth-child(1) { width: 36px;  background: var(--warm); color: var(--deep-dark); }
.cl-pyramid span:nth-child(2) { width: 60px;  background: #5FB3A8; color: var(--deep-dark); }
.cl-pyramid span:nth-child(3) { width: 84px;  background: var(--teal-dark); }
.cl-pyramid span:nth-child(4) { width: 108px; background: #145A78; }
.cl-pyramid span:nth-child(5) { width: 132px; background: var(--deep); }

.cl-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; }
.cl-block h3 { margin: 0; color: var(--deep); font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.cl-progress {
  margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--teal-dark);
  background: var(--mist); border-radius: 999px; padding: 0.1rem 0.65rem; white-space: nowrap;
}
.cl-block.is-complete .cl-progress { background: var(--teal-dark); color: var(--white); }

.cl-first {
  background: var(--sand);
  border: 1px solid var(--border);
  border-left: 6px solid var(--warm);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 0.9rem;
  margin: 1.25rem 0 1.5rem;
}
.cl-first h3 { font-size: 1.25rem; }
.cl-note-strong { margin: 0.5rem 0 0; font-weight: 600; color: var(--deep); font-size: 0.95rem; }

.cl-levels {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem;
}
.cl-level {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.15rem 0.75rem;
}
.cl-step {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--deep); color: var(--white); font-size: 0.9rem; font-weight: 700;
}
.cl-level-1 { border-top: 4px solid var(--deep); }
.cl-level-2 { border-top: 4px solid #145A78; }   .cl-level-2 .cl-step { background: #145A78; }
.cl-level-3 { border-top: 4px solid var(--teal-dark); } .cl-level-3 .cl-step { background: var(--teal-dark); }
.cl-level-4 { border-top: 4px solid #5FB3A8; }   .cl-level-4 .cl-step { background: #5FB3A8; color: var(--deep-dark); }
.cl-level-5 { border-top: 4px solid var(--warm); } .cl-level-5 .cl-step { background: var(--warm); color: var(--deep-dark); }
.cl-sub { margin: 0.2rem 0 0.35rem; color: var(--muted); font-size: 0.92rem; }

.cl-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.cl-item { display: flex; gap: 0.65rem; align-items: flex-start; padding: 0.45rem 0; border-top: 1px solid rgba(208, 222, 230, 0.7); }
.cl-item:first-child { border-top: 0; }
.cl-item input[type="checkbox"] {
  flex: 0 0 auto; width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0;
  accent-color: var(--teal-dark); cursor: pointer;
}
.cl-item input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cl-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.cl-text label { cursor: pointer; color: var(--text); font-size: 0.98rem; line-height: 1.45; }
.cl-first .cl-text label strong { color: var(--deep); }
.cl-item input:checked + .cl-text label { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(31, 117, 106, 0.6); }
.cl-go { font-size: 0.85rem; color: var(--muted); }
.cl-go a { color: var(--deep); font-weight: 600; }
.cl-go a:hover { color: var(--teal-dark); }

.cl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.75rem; margin-top: 1.25rem; }
.cl-save-note { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cl-status { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--deep); font-weight: 600; min-height: 0; }
.cl-status:empty { display: none; }
.cl-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 560px) {
  .cl-wrap { padding: 1.15rem 1rem 1rem; }
  .cl-pyramid { display: none; }
  .cl-first { padding: 1rem 0.9rem 0.8rem; }
  .cl-levels { grid-template-columns: 1fr; }
  .cl-tools .btn { flex: 1 1 auto; text-align: center; }
}

/* Print only the checklist when the "Print checklist" button is used (body.cl-printing is set by js/checklist.js).
   Normal page printing is unaffected. Checkboxes print as empty boxes. */
@media print {
  body.cl-printing .cl-print-hide { display: none !important; }
  body.cl-printing, body.cl-printing main, body.cl-printing .section, body.cl-printing .container {
    margin: 0 !important; padding: 0 !important; background: #fff !important; width: auto !important; max-width: none !important;
  }
  body.cl-printing { font-size: 10pt; line-height: 1.3; }
  body.cl-printing .cl-wrap { border: 0; box-shadow: none; padding: 0; margin: 0; }
  body.cl-printing .cl-pyramid, body.cl-printing .cl-tools, body.cl-printing .cl-status, body.cl-printing .cl-go, body.cl-printing .cl-progress { display: none !important; }
  body.cl-printing .cl-wrap h2 { font-size: 16pt; }
  body.cl-printing .cl-intro { font-size: 9pt; }
  body.cl-printing .cl-first { background: #fff; border: 1.5pt solid #000; border-left-width: 4pt; padding: 6pt 9pt; margin: 8pt 0; }
  body.cl-printing .cl-first h3 { font-size: 12pt; }
  body.cl-printing .cl-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 6pt; }
  body.cl-printing .cl-level { border: 1pt solid #888; border-top-width: 3pt; padding: 5pt 8pt; break-inside: avoid; }
  body.cl-printing .cl-sub { font-size: 8.5pt; margin: 0; }
  body.cl-printing .cl-item { padding: 2pt 0; border: 0; }
  body.cl-printing .cl-text label { font-size: 9.5pt; color: #000 !important; text-decoration: none !important; }
  body.cl-printing .cl-item input[type="checkbox"] {
    -webkit-appearance: none; appearance: none; width: 11pt; height: 11pt; margin-top: 1pt;
    border: 1.2pt solid #000; border-radius: 2pt; background: #fff;
  }
  body.cl-printing .cl-step { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { margin: 0.5in; }
}

/* Start Here banner on resources.html + links on start.html */
.cl-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; flex-wrap: wrap;
  background: var(--sand); border: 1px solid var(--border); border-left: 6px solid var(--warm);
  border-radius: var(--radius); padding: 0.9rem 1.25rem; margin: 0 0 1.25rem;
}
.cl-banner-text { flex: 1 1 22rem; min-width: 0; }
.cl-banner-title { margin: 0; font-weight: 700; color: var(--deep); font-size: 1.1rem; }
.cl-banner-sub { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.93rem; }
.cl-banner-btn { flex: 0 0 auto; }
.cl-browse { margin: 0 0 0; text-align: center; }
@media (max-width: 560px) { .cl-banner-btn { width: 100%; text-align: center; } }

/* LGBTQ+ Lambda clubhouse list (resources.html #groups-lgbtq) */
.lambda-list { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; color: var(--text); }
.lambda-list li { margin: 0.2rem 0; }
.lambda-list a { font-weight: 600; color: var(--deep); }

/* ===== House Expectations page (expectations.html) ===== */
.exp-wrap { max-width: 860px; }
.exp-tools { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.5rem; }
.exp-print-title, .exp-sign { display: none; }
.exp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.exp-item {
  background: var(--white); border: 1px solid var(--border); border-left: 5px solid var(--teal);
  border-radius: var(--radius); padding: 1.1rem 1.35rem 0.9rem; box-shadow: 0 4px 14px rgba(11, 61, 92, 0.07);
}
.exp-item:nth-child(even) { border-left-color: var(--deep); }
.exp-item h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.2rem; font-size: 1.25rem; color: var(--deep); }
.exp-num {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--deep); color: var(--white); font-size: 0.95rem; font-weight: 700;
}
.exp-why { margin: 0 0 0.5rem; color: var(--teal-dark); font-size: 0.95rem; }
.exp-why strong { color: var(--teal-dark); }
.exp-item ul { margin: 0.25rem 0 0.5rem; padding-left: 1.2rem; }
.exp-item li { margin: 0.25rem 0; }
.exp-item p { margin: 0.35rem 0 0.5rem; }
.exp-aside { font-style: italic; color: var(--muted); }
.exp-links { font-size: 0.95rem; }
.exp-links a, .exp-item a { color: var(--deep); font-weight: 600; }
.exp-table-wrap { overflow-x: auto; margin: 0.5rem 0; clear: both; }
.exp-phases td:last-child { white-space: nowrap; }
.exp-phases { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.exp-phases th, .exp-phases td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.exp-phases thead th { background: var(--mist); color: var(--deep); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.exp-phase-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem;
  border-radius: 6px; background: var(--teal-dark); color: var(--white); font-weight: 700;
}
.exp-phase-grad { background: var(--warm); color: var(--deep-dark); }
.exp-testing { background: var(--sand); border-left: 4px solid var(--warm); border-radius: 0 8px 8px 0; padding: 0.6rem 0.85rem; }
.exp-closing { margin: 1.5rem 0 0.5rem; font-weight: 600; color: var(--deep); }
.exp-back { margin: 1rem 0 0; }

/* Review sticky notes: remove every .review-note before going live. Hidden in print. */
.review-note {
  float: right; width: 15rem; margin: 0.25rem 0 0.75rem 1rem; padding: 0.85rem 0.95rem 1rem;
  background: #FFF27A; color: #3a3200; box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.18);
  transform: rotate(2.5deg); font-family: "Caveat", "Comic Sans MS", "Bradley Hand", cursive;
  font-size: 1.3rem; line-height: 1.2; border-radius: 2px; position: relative; z-index: 1;
}
.review-note::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 18px; margin-left: -35px;
  background: rgba(255, 255, 255, 0.55); transform: rotate(-3deg);
}
.exp-phases-item::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) {
  .review-note { float: none; display: block; width: auto; max-width: 20rem; margin: 0.25rem auto 1rem; transform: rotate(1.2deg); }
  .exp-item { padding: 1rem 1rem 0.8rem; }
  .exp-phases th, .exp-phases td { padding: 0.5rem 0.45rem; }
}

@media print {
  body.exp-page .site-header, body.exp-page .site-footer, body.exp-page .page-hero,
  body.exp-page .skip-link, body.exp-page .back-to-top, body.exp-page .jump-bar { display: none !important; }
  .review-note, .exp-tools, .exp-back { display: none !important; }
  body.exp-page { font-size: 9.1pt; line-height: 1.26; color: #000; background: #fff; }
  body.exp-page .section { padding: 0 !important; }
  body.exp-page .container { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .exp-print-title { display: block; margin: 0 0 6pt; font-size: 14pt; font-weight: 700; color: #000; border-bottom: 1.5pt solid #000; padding-bottom: 3pt; }
  .exp-list { display: block; }
  .exp-item { box-shadow: none; border: 0; border-left: 2pt solid #000; border-radius: 0; padding: 1.5pt 0 1.5pt 7pt; margin: 0 0 4pt; break-inside: auto; }
  .exp-item h2, .exp-item .exp-why { break-after: avoid; }
  .exp-item li, .exp-table-wrap, .exp-testing { break-inside: avoid; }
  .exp-item h2 { font-size: 11pt; margin: 0; color: #000; }
  .exp-num { width: auto; height: auto; background: none; color: #000; font-size: 11pt; }
  .exp-num::after { content: "."; }
  .exp-why { font-size: 8.5pt; margin: 0 0 2pt; color: #333; }
  .exp-why strong { color: #333; }
  .exp-item ul { margin: 1pt 0 2pt; padding-left: 12pt; }
  .exp-item li, .exp-item p { margin: 1pt 0; }
  .exp-item a { color: #000; font-weight: 400; text-decoration: none; }
  .exp-links { font-size: inherit; }
  .exp-phases { font-size: 8.5pt; }
  .exp-phases th, .exp-phases td { padding: 2pt 5pt; border-bottom: 0.75pt solid #999; }
  .exp-phases thead th { background: none; color: #000; }
  .exp-phase-badge { width: auto; height: auto; background: none !important; color: #000 !important; }
  .exp-testing { background: none; border-left: 1.5pt solid #000; padding: 2pt 6pt; }
  .exp-closing { margin: 6pt 0 0; color: #000; }
  .exp-sign { display: block; margin-top: 5pt; break-inside: avoid; }
  .exp-sign p { margin: 0 0 13pt; }
  .exp-sign-lines { display: flex; gap: 24pt; }
  .exp-sign-line { flex: 3 1 0; border-top: 1pt solid #000; padding-top: 2pt; font-size: 8.5pt; }
  .exp-sign-date { flex: 1 1 0; }
  @page { margin: 0.42in; }
}
.exp-no-pass { display: inline-block; margin-top: 0.3rem; padding: 0.1rem 0.5rem; border-radius: 4px; background: #FDE7D6; color: #8A3B0B; font-weight: 700; font-size: 0.85rem; }
@media print { .exp-no-pass { background: none; color: #000; padding: 0; margin-top: 1pt; font-size: inherit; } }
/* Sunday deep clean checklist (expectations.html) */
.exp-item ul.exp-checklist { list-style: none; padding-left: 0.2rem; }
.exp-checklist li { position: relative; padding-left: 1.7rem; }
.exp-checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 1.05em; height: 1.05em;
  border: 2px solid var(--teal-dark); border-radius: 3px; background: var(--white);
}
@media print {
  .exp-item ul.exp-checklist { padding-left: 0; }
  .exp-checklist li { padding-left: 13pt; }
  .exp-checklist li::before { width: 8pt; height: 8pt; border: 1pt solid #000; top: 1.5pt; border-radius: 1pt; }
}
/* Nested sub-list (expectations.html meeting sheet tips) */
.exp-item ul.exp-sublist {
  list-style: circle; margin: 0.35rem 0 0.2rem 0.4rem; padding: 0.15rem 0 0.15rem 1.4rem;
  border-left: 3px solid var(--mist); font-size: 0.97em;
}
.exp-item ul.exp-sublist li { margin: 0.2rem 0; }
@media (max-width: 640px) { .exp-item ul.exp-sublist { margin-left: 0.2rem; padding-left: 1.15rem; } }
@media print {
  .exp-item ul.exp-sublist { list-style: circle; margin: 1pt 0 1pt 8pt; padding: 0 0 0 10pt; border-left: 0.75pt solid #999; font-size: inherit; }
  .exp-item ul.exp-sublist li { margin: 0.5pt 0; }
}
.exp-item p.exp-rule-why { margin: 0.3rem 0 0.2rem; font-size: 0.92em; color: var(--muted); }
@media print { .exp-item p.exp-rule-why { font-size: 8.5pt; color: #333; margin: 1pt 0; } }
/* Graduation cap next to Phase 4 (expectations.html) */
@media (min-width: 641px) { .exp-phases th[scope="row"] { white-space: nowrap; } }
.exp-grad-icon { width: 1.1em; height: 1.1em; margin-left: 0.35rem; vertical-align: middle; fill: var(--deep); }
@media print { .exp-grad-icon { fill: #000; width: 10pt; height: 10pt; margin-left: 3pt; } }
/* Keep expectation cards within the viewport on narrow screens (grid items default to min-content width) */
.exp-list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) {
  .exp-phases { font-size: 0.88rem; }
  .exp-phases td:last-child { white-space: normal; min-width: 6.5em; }
  .exp-no-pass { white-space: normal; }
}
/* "Bring:" document checklist inside a resource card */
.resource-meta.resource-bring-label { margin-bottom: 0.2rem; }
.resource-card ul.resource-bring { margin: 0 0 0.6rem; padding-left: 1.25rem; font-size: 0.92rem; color: var(--text, #1A1A1A); }
.resource-card ul.resource-bring li { margin: 0.1rem 0; }
.snap-callout{margin:.6rem 0;padding:.6rem .9rem;font-size:.95rem}
.resource-meta.residency-note{border-left:3px solid var(--teal);background:var(--mist);padding:.4rem .7rem;border-radius:0 6px 6px 0;font-size:.92rem}
.residency-callout{margin:.75rem 0 1rem;padding:.7rem 1rem}
.residency-callout p{margin:0}
