/* ============================================================
   Mucci Michael J. DDS — spec preview
   Design system
   ============================================================ */

:root {
  /* brand */
  --pine:        #13413C;
  --pine-deep:   #0C2E2A;
  --pine-soft:   #1E5A52;
  --cream:       #F4EFE6;
  --cream-deep:  #EAE2D2;
  --gold:        #C2A05A;
  --gold-deep:   #A8853F;
  --ink:         #16221F;
  --ink-soft:    #3F4F4A;
  --paper:       #FBF8F1;
  --line:        rgba(19,65,60,0.14);

  /* type */
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.6rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.3rem);
  --step-3:  clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-4:  clamp(2.7rem, 2rem + 3.6vw, 5rem);

  /* space */
  --gap: clamp(1rem, 0.7rem + 1.5vw, 2rem);
  --section: clamp(4rem, 3rem + 6vw, 8rem);
  --wrap: 1200px;

  --radius: 18px;
  --radius-sm: 11px;
  --ease: cubic-bezier(0.16, 0.84, 0.34, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }

/* Grid/flex children must be allowed to shrink, or long words and fixed
   tracks force the document wider than the viewport on small screens. */
.hero-inner > *, .practice-grid > *, .visit-grid > *,
.care-grid > *, .proof-grid > *, .header-inner > *, .brand-words { min-width: 0; }

.skip-link {
  position: absolute; left: 0; top: -100px;
  background: var(--pine); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* eyebrow / section title shared */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}
.section-title { font-size: var(--step-3); max-width: 18ch; }
.section-title-light { color: var(--cream); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn-primary {
  background: var(--pine); color: var(--cream);
  box-shadow: 0 10px 24px -12px rgba(12,46,42,0.7);
}
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(12,46,42,0.75); }
.btn-ghost {
  background: transparent; color: var(--pine); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--pine); transform: translateY(-3px); background: rgba(19,65,60,0.04); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,241,0.72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(251,248,241,0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(12,46,42,0.6);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--pine); }
.brand-mark {
  position: relative; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--pine); border-radius: 13px;
  overflow: hidden;
}
.brand-mark-arc {
  position: absolute; inset: -40% -10% auto auto; width: 80%; height: 80%;
  background: radial-gradient(circle at 30% 30%, var(--gold), transparent 70%);
  opacity: 0.85;
}
.brand-mark-initial {
  position: relative; font-family: var(--display); color: var(--cream);
  font-size: 1.4rem; font-weight: 600; line-height: 1;
}
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--pine); letter-spacing: -0.01em; }
.brand-credential { color: var(--gold-deep); }
.brand-sub { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.9rem); }
.site-nav a { text-decoration: none; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); position: relative; transition: color 0.2s; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover { color: var(--pine); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--pine); color: var(--cream) !important; padding: 0.6rem 1.1rem;
  border-radius: 100px; letter-spacing: 0.02em; white-space: nowrap; flex: none;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--pine-deep); transform: translateY(-2px); }
.site-nav a:nth-child(1), .site-nav a:nth-child(2), .site-nav a:nth-child(3) { display: none; }
@media (min-width: 760px) {
  .site-nav a { display: inline-block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--pine-deep), var(--pine) 55%, var(--pine-soft));
  color: var(--cream);
  overflow: hidden;
  padding: clamp(3.5rem, 3rem + 6vw, 7rem) 0 clamp(3rem, 2rem + 5vw, 6rem);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }
.hero-orb-1 {
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  right: -12vw; top: -16vw;
  background: radial-gradient(circle at 35% 35%, rgba(194,160,90,0.55), transparent 65%);
}
.hero-orb-2 {
  width: 38vw; height: 38vw; max-width: 460px; max-height: 460px;
  left: -10vw; bottom: -16vw;
  background: radial-gradient(circle at 50% 50%, rgba(30,90,82,0.9), transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(244,239,230,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(244,239,230,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, black, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 920px) {
  .hero-inner { grid-template-columns: 1.55fr 1fr; }
}
.hero-title {
  font-size: clamp(2.55rem, 1.85rem + 3.3vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  max-width: 16ch;
  margin: 0.5rem 0 0;
  text-wrap: balance;
}
.hero-title::after {
  content: "";
  display: block;
  width: 3.4rem; height: 4px;
  margin-top: 1.35rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(194,160,90,0));
}
.hero-lede {
  font-size: var(--step-1);
  font-family: var(--sans);
  line-height: 1.55;
  color: rgba(244,239,230,0.82);
  max-width: 42ch;
  margin: 1.4rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.hero .btn-ghost { color: var(--cream); border-color: rgba(244,239,230,0.35); }
.hero .btn-ghost:hover { border-color: var(--cream); background: rgba(244,239,230,0.08); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2.4rem;
  margin: 0; padding-top: 1.6rem; border-top: 1px solid rgba(244,239,230,0.18);
}
.hero-facts > div { min-width: 0; }
.hero-facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(244,239,230,0.6); margin-bottom: 0.3rem; }
.hero-facts dd { margin: 0; font-family: var(--display); font-size: var(--step-1); color: var(--cream); }

.hero-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(251,248,241,0.10), rgba(251,248,241,0.04));
  border: 1px solid rgba(244,239,230,0.18);
  border-radius: var(--radius);
  padding: clamp(1.7rem, 1.1rem + 2vw, 2.4rem);
  backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.65), inset 0 1px 0 rgba(244,239,230,0.10);
}
.hero-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: linear-gradient(var(--gold), rgba(194,160,90,0));
}
.hero-card-tag {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 700; color: var(--pine-deep); background: var(--gold);
  padding: 0.4rem 0.8rem; border-radius: 100px; margin-bottom: 1.2rem;
}
.hero-card-line { font-family: var(--display); font-size: var(--step-1); color: var(--cream); margin-bottom: 1.2rem; line-height: 1.25; }
.hero-card-list { list-style: none; margin: 0 0 1.6rem; padding: 1.3rem 0; display: grid; gap: 1rem; border-top: 1px solid rgba(244,239,230,0.14); border-bottom: 1px solid rgba(244,239,230,0.14); }
.hero-card-list li { position: relative; padding-left: 2rem; color: rgba(244,239,230,0.88); font-size: var(--step--1); line-height: 1.45; }
.hero-card-list li::before {
  content: ""; position: absolute; left: -0.05rem; top: -0.04em; width: 1.2rem; height: 1.2rem;
  border-radius: 50%; background: rgba(194,160,90,0.16);
}
.hero-card-list li::after {
  content: ""; position: absolute; left: 0.32rem; top: 0.34em; width: 0.56rem; height: 0.56rem;
  border: 2px solid var(--gold); border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.hero-card-link {
  font-weight: 600; font-size: var(--step--1); color: var(--gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.25s, color 0.25s;
}
.hero-card-link::after { content: "\2192"; transition: transform 0.25s; }
.hero-card-link:hover { color: var(--cream); }
.hero-card-link:hover::after { transform: translateX(4px); }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.strip {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 50%, var(--gold-deep));
  color: var(--pine-deep);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(12,46,42,0.22);
}
.strip::before, .strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, var(--gold-deep), transparent); }
.strip::after { right: 0; background: linear-gradient(270deg, var(--gold-deep), transparent); }
.strip-track {
  display: flex; align-items: center; gap: 1.4rem;
  white-space: nowrap;
  padding: 0.85rem 0;
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.01em;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.strip span:not(.dot) { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; font-weight: 700; font-family: var(--sans); }
.strip .dot { color: var(--pine-deep); opacity: 0.4; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; padding-inline: 1.2rem; }
}

/* ============================================================
   PRACTICE / ABOUT
   ============================================================ */
.practice { padding: var(--section) 0; background: var(--paper); }
.practice-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .practice-grid { grid-template-columns: 0.85fr 1.15fr; }
}
.practice-figure {
  position: relative; border-radius: var(--radius);
  min-height: clamp(360px, 30vw, 460px);
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(30,90,82,0.85), transparent 60%),
    linear-gradient(155deg, var(--pine-soft) -10%, var(--pine) 38%, var(--pine-deep));
  display: flex; overflow: hidden; isolation: isolate;
  box-shadow: 0 34px 70px -34px rgba(12,46,42,0.75), inset 0 0 0 1px rgba(244,239,230,0.07);
  margin-bottom: 0.5rem;
}
.practice-figure::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(244,239,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,230,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 80%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 30% 80%, black, transparent 70%);
}
.practice-figure-glow {
  position: absolute; z-index: 0; inset: -30% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(194,160,90,0.45), transparent 65%);
  filter: blur(6px);
}
/* smile-arc motif so the panel reads as designed, not a missing photo */
.practice-figure-arc {
  position: absolute; z-index: 1; left: 50%; bottom: -52%; transform: translateX(-50%);
  width: 150%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(194,160,90,0.4);
  box-shadow: 0 0 0 22px rgba(244,239,230,0.04);
}
.practice-figure-accent {
  position: absolute; z-index: 1; right: -24%; top: -24%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(244,239,230,0.16);
}
.practice-figure-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(1.4rem, 1rem + 2vw, 2.2rem);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
}
.practice-plate-head { display: flex; align-items: center; gap: 0.95rem; }
.practice-plate-mark {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; font-family: var(--display); font-weight: 600;
  font-size: 1.7rem; line-height: 1; color: var(--pine-deep);
  background: linear-gradient(150deg, #E7C982, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 12px 26px -14px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
}
.practice-plate-id { display: flex; flex-direction: column; gap: 0.28rem; min-width: 0; }
.practice-plate-name { font-family: var(--display); font-size: 1.18rem; color: var(--cream); line-height: 1.1; }
.practice-plate-meta {
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(244,239,230,0.58); font-weight: 700;
}
.practice-plate-quote {
  font-family: var(--display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem);
  line-height: 1.28; color: var(--cream); margin: 0; max-width: 20ch;
  letter-spacing: -0.01em;
}
.practice-plate-facts {
  margin: 0; padding-top: clamp(1.2rem, 0.9rem + 1vw, 1.7rem); padding-right: 7.5rem;
  border-top: 1px solid rgba(244,239,230,0.16);
  display: grid; grid-template-columns: repeat(2, auto); justify-content: start;
  column-gap: clamp(1.6rem, 1rem + 2vw, 2.8rem); row-gap: 1rem;
}
.practice-plate-facts > div { min-width: 0; }
.practice-plate-facts dt {
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(244,239,230,0.55); font-weight: 700; margin-bottom: 0.35rem;
}
.practice-plate-facts dd { margin: 0; font-family: var(--display); font-size: 1.04rem; color: var(--gold); line-height: 1.15; }
@media (max-width: 460px) {
  .practice-plate-facts { grid-template-columns: 1fr; padding-right: 6.5rem; row-gap: 0.7rem; }
  .practice-badge { padding: 0.6rem 0.85rem 0.6rem 0.7rem; gap: 0.55rem; }
  .practice-badge-num { font-size: 1.7rem; }
}
/* floating rating badge — overlaps the edge for editorial depth */
.practice-badge {
  position: absolute; z-index: 3; right: 1.3rem; bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--paper); color: var(--ink);
  padding: 0.7rem 1.1rem 0.7rem 0.85rem; border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(19,65,60,0.08);
}
.practice-badge-num { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--pine); line-height: 1; }
.practice-badge-text { display: flex; flex-direction: column; gap: 0.18rem; }
.practice-badge-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.05em; line-height: 1; }
.practice-badge-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); font-weight: 700; }
.practice-copy .section-title { margin-bottom: 1.4rem; max-width: 16ch; }
.practice-copy p { color: var(--ink-soft); max-width: 52ch; }
.practice-points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.practice-points li {
  position: relative; padding-left: 1.7rem; color: var(--ink-soft); line-height: 1.5;
}
.practice-points li::before {
  content: ""; position: absolute; left: 0; top: 0.6em; width: 0.75rem; height: 0.75rem;
  background: var(--gold); border-radius: 50%;
}
.practice-points strong { color: var(--pine); }

/* ============================================================
   CARE / SERVICES
   ============================================================ */
.care { padding: var(--section) 0; background: var(--pine-deep); color: var(--cream); position: relative; }
.care-head { max-width: 40ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.care-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
@media (min-width: 720px) {
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .care-item-wide { grid-column: span 1; }
}
@media (min-width: 1000px) {
  .care-grid { grid-template-columns: repeat(3, 1fr); }
  .care-item-wide { grid-column: span 2; }
}
.care-item {
  position: relative; overflow: hidden;
  background: rgba(244,239,230,0.045);
  border: 1px solid rgba(244,239,230,0.12);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.care-item::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.care-item:hover { transform: translateY(-6px); border-color: rgba(194,160,90,0.5); background: rgba(244,239,230,0.07); }
.care-item:hover::after { transform: scaleX(1); }
.care-index {
  font-family: var(--display); font-size: 1rem; color: var(--gold);
  letter-spacing: 0.1em; display: block; margin-bottom: 1rem;
}
.care-item h3 { font-size: var(--step-2); margin-bottom: 0.7rem; color: var(--cream); }
.care-item p { color: rgba(244,239,230,0.78); margin: 0; max-width: 46ch; }

/* ============================================================
   PROOF / RATING
   ============================================================ */
.proof { padding: var(--section) 0; background: var(--cream); }
.proof-grid {
  display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center;
  gap: clamp(2.2rem, 1.5rem + 3vw, 3.5rem);
}
@media (min-width: 820px) {
  .proof-grid {
    grid-template-columns: auto 1fr; align-items: center; justify-items: start; text-align: left;
    gap: clamp(3rem, 2rem + 4vw, 5.5rem);
  }
}
.proof-rating {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 0.35rem;
  width: clamp(196px, 22vw, 244px); aspect-ratio: 1; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 50% 34%, #ffffff, var(--cream) 78%);
  box-shadow: 0 34px 64px -32px rgba(12,46,42,0.42), inset 0 0 0 1px rgba(19,65,60,0.08);
}
.proof-rating::before {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  border: 1px solid rgba(194,160,90,0.5);
}
.proof-num { font-family: var(--display); font-weight: 600; font-size: clamp(3.4rem, 2.4rem + 4vw, 4.8rem); color: var(--pine); line-height: 0.95; }
.proof-stars { color: var(--gold); letter-spacing: 0.16em; font-size: 1.05rem; }
.proof-source { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 700; }
.proof-body .section-title { margin: 0.5rem 0 1.2rem; max-width: 22ch; }
.proof-body p { color: var(--ink-soft); max-width: 50ch; margin-bottom: 1.8rem; }
.proof-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0; padding: 0; justify-content: center; }
@media (min-width: 820px) { .proof-tags { justify-content: flex-start; } }
.proof-tags li {
  font-size: var(--step--1); font-weight: 600; color: var(--pine);
  background: rgba(19,65,60,0.05); border: 1px solid var(--line);
  padding: 0.5rem 1.05rem; border-radius: 100px; white-space: nowrap;
}

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit { padding: var(--section) 0; background: var(--paper); }
.visit-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) {
  .visit-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.visit-copy .section-title { margin-bottom: 1.3rem; }
.visit-copy p { color: var(--ink-soft); max-width: 48ch; margin-bottom: 2rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.visit-details {
  background: var(--pine); color: var(--cream); border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  box-shadow: 0 30px 60px -36px rgba(12,46,42,0.7);
}
.visit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.visit-list li { display: grid; gap: 0.3rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(244,239,230,0.16); }
.visit-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.visit-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); font-weight: 700; }
.visit-value { font-size: var(--step-0); color: var(--cream); line-height: 1.45; }
.visit-value a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(194,160,90,0.6); transition: border-color 0.2s; }
.visit-value a:hover { border-color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--pine-deep); color: var(--cream); padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.3rem; }
.footer-brand .brand-sub { color: rgba(244,239,230,0.65); }
.footer-contact { display: flex; flex-direction: column; gap: 0.3rem; text-align: right; font-size: var(--step--1); color: rgba(244,239,230,0.8); }
.footer-contact a { color: var(--gold); text-decoration: none; font-weight: 600; font-size: var(--step-0); }
.footer-contact a:hover { color: var(--cream); }

.spec-footer {
  background: var(--ink); color: rgba(244,239,230,0.72);
  font-size: 0.8rem; text-align: center; padding: 1.1rem 1.4rem; line-height: 1.5;
}
.spec-footer a { color: var(--gold); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Content is visible by default. Only when JS is active (html.js) do we
   hide-then-reveal, so a no-JS load shows the full page. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* staggering inside a container */
.js [data-reveal].is-in { transition-delay: var(--rd, 0ms); }

/* Above-the-fold (hero) must paint on load, never wait on the observer.
   These elements animate IN with a pure-CSS load-in instead of being
   gated by IntersectionObserver, so the hero is never a blank void. */
.js .hero .reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.85s var(--ease) both;
  transition: none;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.js .hero .eyebrow      { animation-delay: 0.05s; }
.js .hero .hero-title   { animation-delay: 0.16s; }
.js .hero .hero-lede    { animation-delay: 0.30s; }
.js .hero .hero-actions { animation-delay: 0.42s; }
.js .hero .hero-facts   { animation-delay: 0.52s; }
.js .hero .hero-card    { animation-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero .reveal { opacity: 1; transform: none; animation: none; }
  .btn, .care-item, .nav-cta, .hero-card-link { transition: none; }
}
