/* ============================================================
   Steven Schram, Ph.D., D.C., L.Ac. | drstevenschram.com
   Quiet clinical. Classic Manhattan. One doctor.
   Palette from the brass plaque, brick, and hardwood rooms.
   ============================================================ */

:root {
  --ink: #2a2420;
  --ink-muted: #6a5f55;
  --stone: #f7f2ea;
  --stone-2: #eadfce;
  --paper: #fffdf9;
  --brick: #9a4f3c;
  --brick-deep: #7a3b2c;
  --brass: #a07d45;
  --brass-soft: #d2b27a;
  --slate: #3f4a4f;
  --clinical: #f3eee6;
  --wood: #c4a484;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(42, 36, 32, 0.1);
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Karla", "Gill Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--stone);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--brick-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ----- Motion ----- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slow-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1); }
}

@keyframes rule-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.rise { animation: rise 0.9s ease both; }
.rise-2 { animation: rise 0.9s ease 0.15s both; }
.rise-3 { animation: rise 0.9s ease 0.3s both; }

@media (prefers-reduced-motion: reduce) {
  .rise, .rise-2, .rise-3, .hero-photo img { animation: none !important; }
}

/* ----- Header ----- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  color: #fff;
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone-2);
  color: var(--ink);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  line-height: 1.15;
  flex-shrink: 0;
}

/* The hands from the practice letterhead, centered against the whole lockup. */
.brand-mark {
  grid-row: 1 / span 2;
  grid-column: 1;
  align-self: center;
  width: auto;
  height: 2.8rem;
}

.brand strong {
  grid-column: 2;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  white-space: nowrap;
}

.brand span {
  grid-column: 2;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.88;
}

.nav a:hover,
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--brick);
  color: #fff;
  box-shadow: 0 8px 22px rgba(154, 79, 60, 0.28);
}

.btn-primary:hover {
  background: var(--brick-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn-ghost:hover { background: rgba(255,255,255,0.12); color: inherit; }

.site-header.is-solid .btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.site-header.is-solid .btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ----- Full-bleed hero (doctor-forward) ----- */

.hero-intro {
  padding: 2.25rem 0 2.5rem;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(210, 178, 122, 0.22), transparent 58%),
    linear-gradient(160deg, #f4efe6 0%, var(--stone) 48%, #e8dcc8 100%);
}

.hero-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 22rem) auto;
  gap: 1.75rem 2.25rem;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  margin: 0;
  width: min(20rem, 36vw);
  flex-shrink: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: saturate(0.92);
}

.hero-copy {
  max-width: 22rem;
}

.hero-copy .rule {
  width: 3.5rem;
  height: 2px;
  background: var(--brass);
  margin-bottom: 1.25rem;
  transform-origin: left;
  animation: rule-in 0.8s ease 0.35s both;
}

.hero-copy .creds {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.4rem;
}

.hero-copy .lede {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-muted);
  max-width: none;
  margin-bottom: 0;
}

/* Desktop-only second beat under the licensed line. */
.hero-more {
  margin: 0.85rem 0 0;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: none;
}

/* About link is for mobile, where nav is behind the hamburger. */
.hero-about {
  display: none;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.hero-about a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero-about a:hover {
  color: var(--brick-deep);
}

/* ----- Quiet strips ----- */

.quiet-note {
  padding: 1.35rem 0;
  background: linear-gradient(90deg, #5d4638, #7a5a45);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

.quiet-note .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.quiet-note strong { color: #fff; font-weight: 600; }
.quiet-note a { color: #fff; text-decoration: underline; text-underline-offset: 0.15em; }
.quiet-note a:hover { opacity: 0.9; }

/* ----- Sections ----- */

.section { padding: 2.5rem 0; }

.section-tight { padding: 2rem 0 2.5rem; }

/* The CTA pads itself, so the section around it must not pad again. */
.section:has(.cta-end) { padding: 0; }

.page-hero-tight {
  padding: 5.5rem 0 1.25rem;
  border-bottom: 0;
}

.page-hero-tight h1 { margin-bottom: 0.4rem; }

.contact-dense {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-lead {
  max-width: 38em;
  color: var(--ink-muted);
  font-size: 1.08rem;
  margin: 0 0 0.65rem;
}

.contact-lead + .contact-dense,
.contact-lead + .welcome-band {
  margin-top: 1.5rem;
}

.contact-sidebar {
  display: grid;
  gap: 1.35rem;
}

.contact-sidebar .info-block h3 {
  margin-bottom: 0.35rem;
}

.contact-main h2 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.contact-intro {
  color: var(--ink-muted);
  margin-bottom: 1rem;
  max-width: 36em;
}

.map-shell-compact {
  aspect-ratio: 4 / 3;
  box-shadow: none;
}

.map-link {
  margin-top: -0.5rem;
  font-size: 0.9rem;
}

.contact-form {
  box-shadow: none;
}

@media (max-width: 900px) {
  .contact-dense { grid-template-columns: 1fr; }
}

.section-clinical { background: var(--clinical); }

.section-paper,
.section-alt { background: var(--paper); }

.section-ink {
  background: linear-gradient(180deg, #3d2f28 0%, #2a211c 100%);
  color: rgba(255,255,255,0.82);
}

.section-ink h2, .section-ink h3 { color: #fff; }

.kicker {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.section-ink .kicker {
  color: var(--brass-soft);
}

.section-lead {
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.section-lead h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  margin-bottom: 0.85rem;
}

.section-lead p { color: var(--ink-muted); }

.section-ink .section-lead p { color: rgba(255,255,255,0.72); }
.section-ink .section-lead a {
  color: var(--brass-soft);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.section-ink .section-lead a:hover { color: #fff; }

/* Techniques as quiet list, not marketing cards */

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--stone-2);
}

.service-list a,
.service-list .service-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--stone-2);
  text-decoration: none;
  color: inherit;
}

.service-list .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--brass);
  letter-spacing: 0.06em;
}

.service-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.service-list p {
  color: var(--ink-muted);
  max-width: 40rem;
  font-size: 0.98rem;
}

.service-list p a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Split: quiet clinical / classic entrance */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: 34rem;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem clamp(1.5rem, 4vw, 3.5rem);
  background: var(--paper);
}

.split-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.split-copy p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
  max-width: 34em;
}

.split-media {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border-radius: 0;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.split.reverse .split-copy { order: 2; }
.split.reverse .split-media { order: 1; }

/* Insurance */

.note-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 2.4rem;
  background: var(--paper);
  border-left: 3px solid var(--brass);
}

.note-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.note-panel p {
  color: var(--ink-muted);
  max-width: 46em;
}

/* Reviews */

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

.review {
  padding: 1.6rem 1.45rem;
  background: var(--paper);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--brass-soft);
}

.section-ink .review {
  background: rgba(255,255,255,0.04);
  border-top-color: var(--brass-soft);
}

.review .stars {
  color: var(--brass-soft);
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
}

.stars {
  color: var(--brass);
  letter-spacing: 0.12em;
}

.reviews-more {
  text-align: center;
  margin-top: 2.25rem;
  color: var(--ink-muted);
}

.review blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-ink .review blockquote { color: rgba(255,255,255,0.9); }

.review cite {
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.section-ink .review cite { color: rgba(255,255,255,0.65); }

.review .source { font-weight: 500; }

/* CTA */

.cta-end {
  text-align: center;
  padding: 3rem 1.5rem;
}

.cta-end h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.cta-end p {
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
}

.cta-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brick);
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.cta-phone:hover { color: var(--brick-deep); }

/* Inner page hero */

.page-hero {
  padding: 5.25rem 0 1.5rem;
  background:
    linear-gradient(180deg, rgba(47, 59, 66, 0.06), transparent 60%),
    var(--stone);
  border-bottom: 1px solid var(--stone-2);
}

.site-header.is-solid + main .page-hero,
body:has(.site-header.is-solid) .page-hero {
  padding-top: 2.75rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  margin-bottom: 0.85rem;
}

.page-hero p {
  max-width: 38em;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

/* Page label for short nav titles: screen-reader only on desktop. */
.page-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prose > h2:first-child {
  margin-top: 0;
}

/* Prose */

.prose { max-width: 42rem; }

.prose h2 {
  font-size: 1.55rem;
  margin: 2.2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.5rem;
}

.prose p { color: var(--ink-muted); margin-bottom: 1rem; }

.prose ul {
  margin: 0 0 1rem 1.2rem;
  color: var(--ink-muted);
}

.prose li { margin-bottom: 0.45rem; }

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

.info-block h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.info-block p,
.info-block li { color: var(--ink-muted); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--stone-2);
  color: var(--ink-muted);
}

.hours-table td:last-child { text-align: right; color: var(--ink); }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.feature-grid > img {
  width: 100%;
  max-width: 15rem;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius);
  filter: saturate(0.92);
}

.feature-grid.feature-sticky {
  align-items: start;
}

@media (min-width: 901px) {
  .feature-grid.feature-sticky > img {
    position: sticky;
    top: 6.5rem;
  }
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .feature-grid > img {
    max-width: 11rem;
  }
}

.about-inline-photo {
  margin: 1.75rem 0 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-inline-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92);
}

.checklist {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 1px;
  background: var(--brass);
}

.note-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2.1rem;
  background: var(--paper);
  border-left: 3px solid var(--brass);
}

.note-panel h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.note-panel p { color: var(--ink-muted); max-width: 46em; }

.insurance {
  padding: 2rem 2.1rem;
  background: var(--paper);
  border-left: 3px solid var(--brass);
}

.insurance h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.insurance p {
  color: var(--ink-muted);
  max-width: 46em;
}

.credentials-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-2);
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* Video + forms */

.video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #2a2420;
}

.video-shell-wide {
  max-width: 42rem;
}

.video-shell iframe,
.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #2a2420;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.form-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.form-panel p {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.form-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.form-links-inline {
  margin: 0.75rem 0 1.25rem;
  color: var(--ink-muted);
}

.form-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--clinical);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.form-link:hover {
  background: var(--stone-2);
  color: var(--ink);
  transform: translateY(-1px);
}

.form-link span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.welcome-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.welcome-band figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.welcome-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .media-grid,
  .welcome-band,
  .contact-layout { grid-template-columns: 1fr; }
}

.map-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--stone-2);
  border: 1px solid var(--stone-2);
}

.find-us {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.find-us-copy h2 {
  margin-bottom: 0.75rem;
}

.find-us-copy p {
  color: var(--ink-muted);
  max-width: 32em;
  margin-bottom: 0.65rem;
}

.hours-list {
  display: grid;
  gap: 0.35rem;
  max-width: 18rem;
  margin: 1rem 0 0.5rem;
  font-size: 0.98rem;
}

.hours-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--stone-2);
  color: var(--ink);
}

.hours-list div:last-child {
  border-bottom: 0;
}

.find-us-phone {
  margin: 0.85rem 0 0.35rem;
}

.find-us-phone a {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
  text-decoration: none;
}

.find-us-phone a:hover {
  color: var(--brass);
}

@media (max-width: 900px) {
  .find-us { grid-template-columns: 1fr; }
}

.map-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--stone-2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(154, 79, 60, 0.35);
  border-color: var(--brick);
}

.contact-form .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-status {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.form-status.is-success {
  background: #e8f2ea;
  color: #23472c;
  border: 1px solid #b7d4be;
}

.form-status.is-error {
  background: #f8ebe7;
  color: #6b3226;
  border: 1px solid #e0b5a8;
}

.form-note {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem 2.25rem;
}

.card {
  padding: 0;
  background: transparent;
  border: 0;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* Footer */

.site-footer {
  background: linear-gradient(180deg, #322821 0%, #241d19 100%);
  color: rgba(255,255,255,0.68);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-mark {
  width: auto;
  height: 2.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* Mobile */

@media (max-width: 900px) {
  .split,
  .feature-grid,
  .review-grid,
  .info-grid { grid-template-columns: 1fr; }
  .split.reverse .split-copy,
  .split.reverse .split-media { order: initial; }
  .service-list a,
  .service-list .service-row { grid-template-columns: 3.5rem 1fr; }
  .note-panel { grid-template-columns: 1fr; padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-bottom: 0; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.25rem 1.35rem;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--stone-2);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .brand span { display: none; }
  /* Mark, name, phone, and menu button share one row here, so all four are
     sized to leave the toggle on screen down to 360px. */
  .header-inner { gap: 0.5rem; }
  .brand-mark { height: 1.8rem; }
  .brand strong { font-size: 1rem; }
  /* Let the name give way rather than push the menu button off screen, which
     can otherwise happen while the display font is still loading. */
  .brand { min-width: 0; flex-shrink: 1; }
  .brand strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { flex: 0 0 auto; }
  .header-phone {
    margin-left: auto;
    padding: 0.48rem 0.7rem;
    font-size: 0.7rem;
    white-space: nowrap;
    box-shadow: none;
  }
  .phone-label { display: none; }
  .site-header { position: sticky; background: rgba(252,251,248,0.96); color: var(--ink); border-bottom: 1px solid var(--stone-2); }
  .hero-intro { padding: 1.75rem 0 2.5rem; }
  .hero-intro-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
  }
  .hero-copy {
    max-width: 28rem;
  }
  .hero-copy .lede {
    font-size: 1.12rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }
  .hero-more { display: none; }
  .hero-about { display: block; }
  .hero-photo { width: min(16rem, 72vw); }
  .page-label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0 0 1.25rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
  }
  .section { padding: 2.25rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Narrower than any current phone. The name and the menu matter more than the
   phone pill, and the number still sits in the footer of every page. */
@media (max-width: 359px) {
  .header-phone { display: none; }
}
