/* Transitional Center, Inc. site styles
   Palette: warm cream, taupe accent, near-black ink, sand panels.
   Contrast notes: --accent (#8c7969) is used only for large text, borders and icons.
   Small text uses --accent-ink (#6f5d4b), which passes WCAG AA on cream, white and sand. */

:root {
  --bg: #fffefb;
  --surface: #ffffff;
  --sand: #eeeee8;
  --sand-2: #e4dfd5;
  --ink: #1a1714;
  --ink-2: #36302a;
  --muted: #5c544c;
  --accent: #8c7969;
  --accent-ink: #6f5d4b;
  --accent-ink-hover: #574738;
  --line: #e4dfd5;
  /* Sampled from the TCI logo (img/logo.png) */
  --brand-slate: #4d4c61;   /* wordmark */
  --brand-sage: #6fa78f;    /* "CENTER" and rules; decorative only (2.7:1 on cream) */
  --brand-olive: #c1c06f;   /* leaves; decorative only */
  --brand-taupe: #ac9b8e;   /* tagline; decorative only */
  /* Deepened logo sage for text and icons */
  --sage-text: #4a8169;     /* 4.49:1 on cream; used for large italic h1 lines (3:1 needed) */
  --sage-ink: #3d6b57;      /* 6.05:1 on cream, 5.24:1 on sand; link hover, icons */
  --dark: #1a1714;
  --on-dark: #f5f1ea;
  --on-dark-muted: #cfc6ba;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 14px 40px rgba(26, 23, 20, 0.08);
  --shadow-sm: 0 4px 14px rgba(26, 23, 20, 0.06);
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1rem/1.7 var(--font-sans);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a[href^="tel:"] { white-space: nowrap; }
a > svg { width: 1em; height: 1em; flex: none; vertical-align: -0.12em; }
a:hover { color: var(--sage-ink); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #e9d9c2; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); font-weight: 400; margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 1.55rem + 2.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
h1 .accent-line, h2 .accent-line { display: block; font-style: italic; color: var(--accent); font-weight: 400; }
h1 .accent-line { color: var(--sage-text); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand-sage), var(--brand-olive)); vertical-align: middle; margin: -2px 10px 0 0; }
.section-dark .eyebrow::before { background: var(--brand-sage); }
.lead { font-size: 1.125rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1160px, 100% - 64px); } }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 10px; z-index: 200; background: var(--surface); color: var(--ink); padding: 0.6rem 1rem; border-radius: 999px; box-shadow: var(--shadow); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons and pills */
.btn, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; font-family: var(--font-sans); font-weight: 600; text-decoration: none;
  border: 1.5px solid transparent; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s;
}
.btn { padding: 0.8rem 1.45rem; font-size: 0.9375rem; line-height: 1.2; }
.pill { padding: 0.32rem 0.95rem; font-size: 0.8125rem; line-height: 1.4; }
.btn-solid { background: var(--accent-ink); color: #fff; }
.btn-solid:hover { background: var(--accent-ink-hover); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline-light, .pill-outline-light { border-color: rgba(245, 241, 234, 0.7); color: var(--on-dark); }
.btn-outline-light:hover, .pill-outline-light:hover { background: rgba(245, 241, 234, 0.12); color: #fff; }
.pill-light { background: var(--sand-2); color: var(--ink); }
.pill-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn svg, .pill svg { width: 1em; height: 1em; flex: none; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.2) blur(10px); } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding-block: 10px; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 70px; width: auto; display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav li { margin: 0; }
.main-nav a { display: block; padding: 0.5rem 0.75rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.9375rem; border-radius: 999px; }
.main-nav a:hover { background: var(--sand); color: var(--ink); }
.main-nav a[aria-current] { background: var(--sand-2); }
.nav-toggle { display: none; }
@media (max-width: 1099px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: 1.5px solid var(--ink);
    color: var(--ink); border-radius: 999px; padding: 0.5rem 1rem; font: 600 0.875rem/1 var(--font-sans); cursor: pointer;
  }
  .js .nav-toggle svg { width: 16px; height: 16px; }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .main-nav.is-open { display: block; }
  .js .main-nav ul { flex-direction: column; padding: 10px 16px 18px; }
  .js .main-nav a { padding: 0.8rem 1rem; font-size: 1rem; }
  html:not(.js) .main-nav { width: 100%; padding-bottom: 10px; }
}
@media (max-width: 1099px) { .js .site-header .container { flex-wrap: nowrap; } }
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand-logo { height: 50px; }
  .js .nav-toggle { padding: 0.45rem 0.8rem; }
  .site-header .container { min-height: 66px; }
}

/* Decorative shapes */
.has-decor { position: relative; overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -1; }
.blob-a { width: 460px; height: 460px; background: #e9e1d4; top: -170px; right: -120px; opacity: 0.8; }
.blob-b { width: 380px; height: 380px; background: #f1ebe1; bottom: -190px; left: -140px; opacity: 0.9; }
.watermark { position: absolute; z-index: -1; pointer-events: none; opacity: 0.08; height: min(86%, 470px); width: auto; max-width: 60vw; object-fit: contain; right: 3%; top: 50%; transform: translateY(-50%); }
.watermark.center { right: auto; left: 50%; transform: translate(-50%, -50%); }

/* Home hero */
.hero { padding: 48px 0 64px; }
.hero .container { display: grid; gap: 44px; align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero .lead { max-width: 560px; }
@media (min-width: 920px) {
  .hero { padding: 84px 0 96px; }
  .hero .container { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
}
.hero-media { position: relative; justify-self: center; width: min(100%, 440px); }
.arch { border-radius: 230px 230px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--sand-2); margin: 0; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch figcaption { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255, 254, 251, 0.94); color: var(--ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.hero-circle { position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--bg); left: -6%; bottom: 14%; box-shadow: var(--shadow); margin: 0; background: var(--sand-2); }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; right: -2%; top: 9%; background: var(--surface); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 0.8125rem; line-height: 1.35; max-width: 190px; }
.hero-badge strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
@media (max-width: 480px) { .hero-circle { left: -2%; } .hero-badge { right: 0; } }

/* Trust strip */
.trust { background: var(--sand); border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trust ul { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.trust li { display: flex; gap: 12px; align-items: center; margin: 0; }
.trust .icon { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--brand-sage); display: grid; place-items: center; color: var(--sage-ink); flex: none; background: var(--bg); }
.trust .icon svg { width: 20px; height: 20px; }
.trust strong { display: block; font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink); font-weight: 700; line-height: 1.35; }
.trust span { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-sand { background: var(--sand); }
.section-white { background: var(--surface); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #e3d3bd; }
.section-dark a:not(.btn) { color: #f0e3d0; }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-foot { margin-top: 32px; }
.prose { max-width: 740px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

/* Page hero for inner pages */
.page-hero { padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-hero { padding: 80px 0 60px; } }
.page-hero .lead { max-width: 720px; }

/* Mission */
.mission { text-align: center; }
.mission blockquote { margin: 0 auto; max-width: 860px; font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.5; color: var(--ink); }
.mission blockquote p { margin: 0 0 0.8em; }
.mission .tagline { font-family: var(--font-serif); font-style: italic; color: var(--accent); font-size: 1.25rem; margin-top: 8px; }

/* Cards */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .card-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--sage-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card .card-icon svg { width: 22px; height: 22px; }
.card a.card-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; margin-top: 4px; }
.card a.card-link:hover { text-decoration: underline; }
.card.sand { background: var(--sand); box-shadow: none; }

/* Split layout */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.round-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 0; background: var(--sand-2); }
.round-img img { width: 100%; height: 100%; object-fit: cover; }
.circle-img { border-radius: 50%; overflow: hidden; aspect-ratio: 1; margin: 0; box-shadow: var(--shadow); background: var(--sand-2); }
.circle-img img { width: 100%; height: 100%; object-fit: cover; }
.media-pair { position: relative; padding-bottom: 12%; }
.media-pair .round-img { width: 88%; }
.media-pair .circle-img { position: absolute; width: 42%; right: 0; bottom: 0; border: 6px solid var(--bg); }
.section-sand .media-pair .circle-img { border-color: var(--sand); }
figcaption.caption { font-size: 0.8125rem; color: var(--muted); margin-top: 10px; }

/* St. Mary's Hospital: historic photo or sepia placeholder */
.history-card { margin: 0; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; padding: 16px; position: relative; overflow: hidden; box-shadow: var(--shadow);
  background: radial-gradient(120% 95% at 50% 40%, #f2e8d6 0%, #e3d1b1 60%, #cfb78f 100%); }
.history-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 80% at 50% 45%, transparent 55%, rgba(84, 60, 30, 0.18) 100%); }
.history-inner { height: 100%; border: 1px solid rgba(74, 56, 34, 0.45); border-radius: 18px; outline: 1px solid rgba(74, 56, 34, 0.18); outline-offset: -8px;
  display: grid; place-content: center; text-align: center; gap: 6px; color: #4a3b29; padding: 16px; }
.hc-kicker { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.hc-title { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); color: #3b2e20; line-height: 1.15; }
.hc-sub { font-size: 0.95rem; }
.hc-year { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0.12em; margin-top: 4px; }
.history-photo { margin: 0; }
.history-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); filter: grayscale(1) sepia(0.45) contrast(1.05); }
.history-photo figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 10px; }
.history-photo .credit { display: block; font-size: 0.75rem; }

/* Photo gallery */
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery-item.wide { grid-column: 1 / -1; } }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--sand-2); }
.gallery-item.wide img { aspect-ratio: 16 / 9; }
.gallery-item figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 8px; }

/* Dogs */
.dogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.dogs li { text-align: center; margin: 0; }
.dogs .circle-img { width: 100%; max-width: 200px; margin: 0 auto 12px; border: 5px solid var(--surface); }
.dogs h3 { font-size: 1.15rem; margin: 0; }
.dogs p { font-size: 0.875rem; color: var(--muted); margin: 2px 0 0; }

/* Process steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--brand-sage); color: var(--sage-ink); font-family: var(--font-serif); font-size: 1rem; margin-bottom: 10px; }
.steps strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.steps span { font-size: 0.9rem; color: var(--muted); line-height: 1.55; display: block; }

/* Chips index */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { margin: 0; }
.chips a { display: inline-block; padding: 0.4rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.chips a:hover { border-color: var(--brand-sage); background: var(--sand); }

/* Service blocks */
.service-block { padding: 40px 0; border-top: 1px solid var(--line); display: grid; gap: 12px 48px; }
.service-block:first-of-type { border-top: 0; }
@media (min-width: 900px) { .service-block { grid-template-columns: 300px 1fr; } }
.service-block h2 { font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem); }
.service-block .body { max-width: 720px; }
.service-block .body p:last-child { margin-bottom: 0; }
dl.approaches { margin: 1.2em 0 0; display: grid; gap: 14px; }
dl.approaches div { background: var(--sand); border-radius: var(--radius); padding: 18px 20px; }
dl.approaches dt { font-family: var(--font-serif); font-weight: 500; color: var(--ink); font-size: 1.05rem; }
dl.approaches dd { margin: 4px 0 0; font-size: 0.95rem; }
ul.ticks { list-style: none; padding: 0; }
ul.ticks li { position: relative; padding-left: 26px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--brand-sage); }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 28px 18px; list-style: none; padding: 0; margin: 0; }
.person { text-align: center; margin: 0; }
.avatar { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; background: var(--sand-2); border: 4px solid var(--surface); box-shadow: var(--shadow-sm); }
.avatar.initials { display: grid; place-items: center; font-family: var(--font-serif); font-size: 2rem; color: var(--accent-ink); background: var(--sand); }
.person h3 { font-size: 1.1rem; margin: 0; }
.person .creds { display: block; font-size: 0.8125rem; color: var(--muted); margin-top: 2px; }
.person .role { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); margin-top: 8px; line-height: 1.45; }
.team-group { margin-top: 56px; }
.team-group > h2 { font-size: 1.5rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 28px; position: relative; }
.team-group > h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--brand-sage); }

/* Org chart */
.org { display: grid; gap: 0; justify-items: center; }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.org-line { width: 2px; height: 32px; background: var(--brand-sage); }
.org-node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; text-align: center; min-width: 220px; box-shadow: var(--shadow-sm); }
.org-node .t { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.org-node .n { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); margin-top: 2px; }
.org-depts { display: grid; gap: 16px; width: 100%; grid-template-columns: 1fr; }
@media (min-width: 640px) { .org-depts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .org-depts { grid-template-columns: repeat(4, 1fr); } }
.org-dept { background: var(--sand); border-radius: var(--radius); padding: 20px; }
.org-dept h2 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; }
.org-dept ul { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.org-dept li { padding: 6px 0; border-top: 1px solid var(--sand-2); margin: 0; }
.org-dept li:first-child { border-top: 0; }
.org-dept li b { display: block; font-weight: 600; color: var(--ink); font-size: 0.8125rem; }

/* Contact */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid address { font-style: normal; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; }
.contact-list .k { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.contact-list a, .contact-list .v { font-size: 1.05rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.callout { background: var(--sand); border-radius: var(--radius-lg); padding: 32px; }
.callout h2 { font-size: 1.6rem; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 64px 0 96px; font-size: 0.9375rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #e3d3bd; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer address { font-style: normal; }
.footer-name { font-family: var(--font-serif); color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(245, 241, 234, 0.16); margin-top: 44px; padding-top: 22px; display: grid; gap: 6px; font-size: 0.8125rem; }
.footer-bottom p { margin: 0; }

/* Floating contact pill */
.float-contact {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 0.8rem 1.25rem; font-weight: 600; font-size: 0.9375rem;
  text-decoration: none; box-shadow: 0 12px 28px rgba(26, 23, 20, 0.28); border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.float-contact:hover { background: var(--accent-ink); color: #fff; }
.float-contact svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .float-contact { right: 24px; bottom: 24px; } }

/* 404 */
.notfound { min-height: 50vh; display: grid; align-content: center; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .float-contact, .nav-toggle, .blob, .watermark { display: none !important; } .site-header { position: static; } }
.today-photo img { filter: none; }
/* 11/12: warmer, slightly deeper hero tone (Matt preferred the first version's hue) */
.hero { background: linear-gradient(105deg, var(--bg) 0%, var(--bg) 38%, #f4ecdf 68%, #eadcc7 100%); }
.hero .blob-a { background: #e3d3bb; opacity: 0.9; }
.hero .blob-b { background: #efe5d6; }
.watermark { filter: sepia(1) saturate(0.7) brightness(0.85); opacity: 0.11; }
