/* Riverbend Orthodontics — Northshore-weight consumer ortho */
:root {
  --sky: #3dbbf5;
  --sky-deep: #1a8fd0;
  --navy: #16324a;
  --ink: #12171c;
  --mute: #4a5560;
  --mist: #f4f7f9;
  --line: #e4eaef;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-deep); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; background: #fff; padding: 8px; z-index: 30; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.util {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 8px 28px;
  background: var(--navy); color: #e8eef3;
  font-size: 0.82rem; font-weight: 500;
}
.util p { margin: 0; }
.util a { color: #fff; text-decoration: none; font-weight: 600; }
.util-cta {
  margin-left: 14px; background: var(--sky); color: #fff !important;
  padding: 5px 12px; border-radius: 999px; font-size: 0.78rem;
}

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.mark { width: 38px; height: 38px; display: block; }
.word { display: flex; flex-direction: column; line-height: 1.05; }
.word strong {
  font-weight: 800; font-size: 1.08rem; letter-spacing: -0.03em;
}
.word em {
  font-style: normal; font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mute); font-weight: 600;
}
.top nav { display: flex; gap: 22px; font-size: 0.94rem; font-weight: 500; }
.top nav a { color: var(--navy); text-decoration: none; }
.top nav a:hover { color: var(--sky-deep); }
.chip {
  background: var(--sky); color: #fff !important;
  text-decoration: none; font-weight: 700; font-size: 0.86rem;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap;
}
.chip:hover { background: var(--sky-deep); }
.chip-dark { display: inline-block; margin-top: 8px; }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  min-height: min(82vh, 760px);
  background: #fff;
}
.hero-copy {
  padding: 56px 48px 56px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-photo {
  margin: 0;
  min-height: min(82vh, 760px);
  background: #eef6fb;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}
.kicker {
  margin: 0 0 10px; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky-deep);
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  line-height: 0.98; letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--navy);
}
.lede { margin: 0 0 24px; color: var(--mute); font-size: 1.12rem; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-block; background: var(--sky); color: #fff !important;
  text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: 999px;
}
.btn:hover { background: var(--sky-deep); }
.btn-ghost {
  color: var(--navy) !important; text-decoration: none; font-weight: 700;
}

.intro { padding: 80px 0; }
.intro-grid, .why-grid, .book-grid, .hours-grid { display: grid; gap: 36px; }
.intro h2, .ages h2, .why h2, .care h2, .book h2, .hours h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin: 0 0 8px;
  color: var(--navy);
}
.subhead {
  margin: 0 0 16px; color: var(--sky-deep); font-weight: 700; font-size: 1.02rem;
}
.intro p, .why p, .book p { color: var(--mute); }
.intro figure { margin: 0; }
.intro img, .why img {
  width: 100%; height: 380px; object-fit: cover; border-radius: 6px;
}
.intro figcaption {
  margin-top: 10px; font-size: 0.88rem; color: var(--mute); font-weight: 600;
}

.ages { padding: 8px 0 80px; }
.care { padding: 80px 0; background: var(--mist); }
.sec-lead { margin: 0 0 28px; color: var(--mute); max-width: 52ch; }
.tiles { display: grid; gap: 22px; }
.tiles article {
  background: #fff; border-radius: 6px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(22, 50, 74, 0.08);
}
.tiles img { width: 100%; height: 260px; object-fit: cover; object-position: center 18%; }
.tiles .wide { object-position: center 45%; }
.tile-bar { padding: 18px 20px 22px; }
.tile-bar h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0 0 6px; font-size: 1.55rem; font-weight: 700; color: var(--navy);
}
.tile-bar p { margin: 0; color: var(--mute); font-size: 0.95rem; }

.reviews {
  background: var(--sky); color: #fff; padding: 36px 0;
}
.reviews-row { display: grid; gap: 16px; }
.rev-kicker {
  margin: 0; font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700; opacity: 0.85;
}
.rev-score { margin: 4px 0 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.rev-score span { font-size: 1rem; font-weight: 500; opacity: 0.9; }
.rev-note { margin: 0; font-size: 0.9rem; opacity: 0.9; align-self: end; }

.why { padding: 80px 0; }
.why ul { margin: 16px 0 0; padding: 0; list-style: none; }
.why li {
  position: relative; padding: 8px 0 8px 22px; color: var(--mute);
}
.why li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--sky);
}

.book { padding: 80px 0; }
.phone-lg { font-size: 1.5rem; font-weight: 800; }
.phone-lg a { color: var(--navy); text-decoration: none; }
form {
  background: var(--mist); border-radius: 8px; padding: 26px;
}
label { display: block; font-size: 0.82rem; font-weight: 600; margin: 0 0 4px; }
input, select, textarea {
  width: 100%; margin-bottom: 12px; padding: 12px 12px;
  border: 1px solid #d5dbe2; border-radius: 8px; font: inherit; background: #fff;
}
button {
  width: 100%; background: var(--sky); color: #fff; border: 0;
  border-radius: 999px; padding: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer;
}
button:hover { background: var(--sky-deep); }

.hours { background: var(--navy); color: #d7e2ea; padding: 56px 0; }
.hours h2 { color: #fff; }
.hours ul { margin: 0; padding: 0; list-style: none; }
.hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hours p { margin: 0 0 10px; }
.hours a { color: #fff; }

.foot {
  background: #0e1d2b; color: #9aadb8;
  padding: 18px 28px; font-size: 0.88rem;
}
.foot p { margin: 0; }

@media (min-width: 860px) {
  .intro-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .reviews-row { grid-template-columns: 1fr 1fr 1.1fr; align-items: end; }
  .why-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .book-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .hours-grid { grid-template-columns: 1.1fr 1fr 0.8fr; }
}
@media (max-width: 859px) {
  .util { display: none; }
  .top nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy { padding: 32px 22px 28px; }
  .hero-photo { min-height: 58vh; }
  .hero-photo img { object-position: 50% 18%; }
  .intro img, .why img { height: 240px; }
  .tiles img { height: 210px; }
}
