/* Rowan Dental Co.: spec site stylesheet.
 *
 * Every color, size, and spacing value is transcribed 1:1 from the approved
 * design export (design/approved/):
 *   base styles  = "Rowan Dental - Home Mobile.dc.html"  (390px design)
 *   min-width:880px block = "Rowan Dental - Home (standalone).html" (1280px design)
 * The only additions are focus styles, the mobile menu panel (the design shows
 * the hamburger but no open state), and skip-link/sr-only a11y helpers.
 */

/* ---------- fonts (extracted from the export, self-hosted) ---------- */

/* Bricolage Grotesque 400 800 vietnamese */
/* Bricolage Grotesque 400 800 latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/demo/rowan/fonts/bricolage-grotesque-vf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bricolage Grotesque 400 800 latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/demo/rowan/fonts/bricolage-grotesque-vf-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Hanken Grotesk 300 800 cyrillic-ext */
/* Hanken Grotesk 300 800 vietnamese */
/* Hanken Grotesk 300 800 latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/demo/rowan/fonts/hanken-grotesk-vf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Hanken Grotesk 300 800 latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/demo/rowan/fonts/hanken-grotesk-vf-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 400 600 cyrillic-ext */
/* JetBrains Mono 400 600 cyrillic */
/* JetBrains Mono 400 600 greek */
/* JetBrains Mono 400 600 vietnamese */
/* JetBrains Mono 400 600 latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/demo/rowan/fonts/jetbrains-mono-vf-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 400 600 latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/demo/rowan/fonts/jetbrains-mono-vf-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- base ---------- */

:root {
  /* Sticky-header clearance for in-page anchors; raised at the desktop breakpoint. */
  --header-h: 72px;
  --navy: #274C77;
  --blue: #6096BA;
  --sky: #A3CEF1;
  --page: #F3F7FA;
  --wash: #E7ECEF;
  --card: #FBFCFD;
  --line: #E1E8EE;
  --line-2: #D6DFE6;
  --gray: #8B8C89;
  --body-text: #6E7A87;
  --slate: #55606E;
  --ice: #EAF1F7;
  --near-white: #F4F8FB;
  --pale-blue: #DDEBF7;
  --chip-blue: #DCEAF7;
  --steel: #BAC7D1;
  --navy-sub: #A9BCCB;
  --navy-kicker: #8CA0B2;
  --contact-bg: #E4EBF1;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* Match the other demos' reduced-motion guard (lumen/kessler/maple). Rowan has
 * no animations/transitions today, so this is a no-op — kept for consistency. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--page);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}

::selection { background: var(--blue); color: var(--ice); }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

img { display: block; }

h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--ice);
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  font-size: 14.5px;
}
.skip-link:focus { left: 0; color: var(--ice); }

/* Full-bleed (sanctioned deviation from the export, which frames the page as
 * a 1280px box on an #E7ECEF wash): backgrounds span the viewport; content
 * keeps the design's 1280px reading width via the --bleed side padding below.
 * At viewports <= 1280px this renders pixel-identical to the export. */
.page {
  background: var(--page);
  min-height: 100vh;
}

.mono { font-family: 'JetBrains Mono', monospace; }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* anchored sections land below the sticky mobile header */
[id] { scroll-margin-top: var(--header-h); }

/* ---------- concept bar ---------- */

.concept-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 20px;
  background: var(--wash);
  border-bottom: 1px solid var(--line-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--gray);
  line-height: 1.5;
}
.concept-bar .dot { margin-top: 4px; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand:hover { color: inherit; }

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.site-nav, .header-actions { display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Page scroll is locked while the menu is open; the shared inline script
 * toggles this class from the details' open state. */
body.menu-open { overflow: hidden; }

/* Mobile menu panel: the design shows the hamburger but no open state;
 * styled with the header's own tokens, minimal invention. */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9;
  background: var(--page);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
}
.mobile-menu .menu-phone {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--navy);
}
.mobile-menu .menu-book {
  margin-top: 6px;
  background: var(--blue);
  color: var(--ice);
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  padding: 12px 0;
}

/* ---------- hero ---------- */

.hero { padding: 30px 20px 32px; }

/* Mobile flattens the desktop two-column DOM so the photo can sit between
 * the intro paragraph and the CTAs, per the mobile design. */
.hero-copy { display: contents; }
.hero { display: flex; flex-direction: column; }
.hero-kicker { order: 1; font-size: 11px; font-weight: 500; }
.hero h1 { order: 2; }
.hero-intro { order: 3; }
.hero-photo { order: 4; }
.hero-ctas { order: 5; }
.hero-tagline { order: 6; }

.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 35px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--navy);
  margin: 14px 0 0;
}

.hero-intro {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body-text);
  margin: 18px 0 22px;
}

.hero-photo {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  background: var(--line);
  border: 1px solid var(--line-2);
  margin-bottom: 22px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-ctas { display: flex; flex-direction: column; gap: 12px; }

.btn-call {
  background: var(--blue);
  color: var(--ice);
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 8px 22px rgba(96, 150, 186, .3);
}
.btn-call:hover { color: var(--ice); }
.btn-call .cta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ice);
  flex: none;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  padding: 15px;
  border: 1.5px solid var(--steel);
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}
.btn-outline:hover { color: var(--navy); }

.hero-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray);
  margin-top: 16px;
  text-align: center;
}

/* ---------- trust strip ---------- */

.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 20px;
}
.trust-strip > div { padding: 18px 16px; }
.trust-strip > div:nth-child(1),
.trust-strip > div:nth-child(2) { border-bottom: 1px solid var(--line); }
.trust-strip > div:nth-child(2),
.trust-strip > div:nth-child(4) { border-left: 1px solid var(--line); }

.trust-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.trust-label { font-size: 13px; color: var(--gray); }

/* ---------- section headers ---------- */

.section-head { margin-bottom: 22px; }
.section-head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-size: 31px;
  margin: 8px 0 0;
}
.section-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--blue);
  font-weight: 600;
}

/* ---------- services ---------- */

.services { padding: 44px 20px 8px; }

.service-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-dot { width: 11px; height: 11px; border-radius: 3px; background: var(--blue); }
.card-dot.dim { background: var(--steel); }

.chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--blue);
  background: var(--chip-blue);
  border-radius: 999px;
  padding: 4px 9px;
}
.chip.neutral { color: var(--navy); background: var(--ice); }

.card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}
.card p { font-size: 14.5px; color: var(--body-text); margin: 6px 0 0; line-height: 1.5; }
.card-more { font-size: 13.5px; color: var(--blue); font-weight: 600; }

/* ---------- first visit ---------- */

.first-visit {
  background: var(--blue);
  padding: 44px 20px 48px;
  margin-top: 44px;
}
.first-visit .kicker { color: var(--pale-blue); }
.first-visit h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--near-white);
  margin: 8px 0 6px;
}
.fv-note {
  font-size: 14.5px;
  color: var(--pale-blue);
  line-height: 1.5;
  margin-bottom: 28px;
}

.steps { display: flex; flex-direction: column; gap: 26px; }

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  grid-template-areas:
    "num   title"
    "photo photo"
    "desc  desc"
    "badge badge";
}
.step-num {
  grid-area: num;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  background: var(--near-white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-bottom: 12px;
}
.step-line { display: none; }
.step h3 {
  grid-area: title;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--near-white);
  margin: 0 0 12px 12px;
}
.step-photo {
  grid-area: photo;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(231, 236, 239, .25);
  margin-bottom: 12px;
}
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.step p {
  grid-area: desc;
  font-size: 14px;
  color: var(--pale-blue);
  line-height: 1.5;
  margin: 0 0 10px;
}
/* The badge row is the grid item; the pill inside stays a true inline so its
 * vertical padding paints without taking layout space, exactly as in the
 * export (the pill visually overflows into the gap below). */
.step-badge-row { grid-area: badge; }
.step-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #EAF3FA;
  border: 1px solid rgba(231, 236, 239, .4);
  border-radius: 999px;
  padding: 5px 11px;
}

/* ---------- smile gallery ---------- */

.gallery { padding: 44px 20px; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tile {
  position: relative;
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #E1E8EE 0 12px, #E7EEF4 12px 24px);
  border: 1px solid var(--line-2);
}

.tile-ba {
  grid-column: 1 / -1;
  height: 220px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: none;
}
.ba-before { background: repeating-linear-gradient(45deg, #E1E8EE 0 12px, #E7EEF4 12px 24px); position: relative; }
.ba-after { background: repeating-linear-gradient(45deg, #DBE5EE 0 12px, #E7EEF4 12px 24px); position: relative; }
.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  background: var(--card);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--body-text);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--card);
  transform: translateX(-50%);
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

.tile-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: rgba(30, 49, 77, .82);
  color: var(--wash);
  border-radius: 999px;
  padding: 4px 9px;
}
.tile-ba .tile-caption { font-size: 10.5px; padding: 5px 10px; }
/* small tiles drop the "· consent on file" suffix on mobile, per the design */
.tile .consent { display: none; }
.tile-ba .consent { display: inline; }

/* ---------- affordability ---------- */

.afford { padding: 0 20px 44px; }

.afford-card {
  background: var(--navy);
  border-radius: 18px;
  padding: 30px 22px;
  color: var(--wash);
}
.afford-card .kicker { color: var(--navy-kicker); }
.afford-card h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--near-white);
  margin: 8px 0 0;
}
.afford-note {
  font-size: 14px;
  color: var(--navy-sub);
  line-height: 1.5;
  margin: 10px 0 22px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(231, 236, 239, .14);
  border-radius: 12px;
  overflow: hidden;
}
.price-grid > div { background: var(--navy); padding: 18px; }
.price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--sky);
}
.price-label { font-size: 13px; color: var(--navy-sub); margin-top: 6px; }

/* ---------- team ---------- */

.team { padding: 0 20px 44px; }

.team-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.team-photo {
  height: 210px;
  background: repeating-linear-gradient(45deg, #E1E8EE 0 12px, #E7EEF4 12px 24px);
  position: relative;
}
.photo-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  background: var(--card);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--body-text);
}
.team-body { padding: 18px; }
.team-body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.team-role { font-size: 13px; color: var(--blue); font-weight: 600; margin: 3px 0 8px; }
.team-bio { font-size: 13.5px; color: var(--body-text); line-height: 1.5; margin: 0; }

/* ---------- reviews + FAQ ---------- */

.social-proof { padding: 0 20px 44px; }

.reviews { margin-bottom: 40px; }

.rating-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.rating-big {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: var(--navy);
  line-height: 1;
}
.rating-stars { color: var(--blue); font-size: 16px; }
.rating-sub { font-size: 13.5px; color: var(--gray); }

.review-cards { display: flex; flex-direction: column; gap: 12px; }
.review-cards figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px;
}
.review-cards blockquote { margin: 0; }
.review-cards blockquote p {
  font-size: 14.5px;
  color: var(--navy);
  line-height: 1.5;
  margin: 0 0 8px;
}
.review-cards figcaption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--gray);
}

.faq h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 18px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 {
  font-family: inherit;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 6px;
}
.faq-item p { font-size: 14px; color: var(--body-text); line-height: 1.5; margin: 0; }

/* ---------- contact ---------- */

.contact { background: var(--contact-bg); padding: 40px 20px; }

.contact h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 8px 0 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.45;
  margin-bottom: 20px;
}
.contact-phone {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--navy);
}
a.contact-phone:hover { color: var(--navy); }

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.btn-call-solid {
  background: var(--blue);
  color: var(--ice);
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15.5px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(96, 150, 186, .3);
}
.btn-call-solid:hover { color: var(--ice); }
.btn-book-light {
  background: var(--card);
  color: var(--navy);
  padding: 14px;
  border: 1.5px solid var(--steel);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15.5px;
  text-align: center;
}
.btn-book-light:hover { color: var(--navy); }

.map-tile {
  position: relative;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #DBE5EE 0 13px, #E7EEF4 13px 26px);
  border: 1px solid var(--line-2);
}
.map-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: var(--card);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--body-text);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--navy-kicker);
  line-height: 1.5;
}
.footer-links { display: flex; gap: 18px; font-size: 12.5px; color: var(--navy-sub); }
.footer-concept {
  border-top: 1px solid rgba(231, 236, 239, .15);
  padding-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--navy-sub);
  line-height: 1.5;
}
.footer-concept .dot { margin-top: 4px; }

/* ================================================================
   Desktop: values from the 1280px standalone export
   ================================================================ */

@media (min-width: 880px) {

  /* Side padding that floors at the design's 48px and grows past 1280px so
   * section backgrounds bleed to the viewport while content stays centered
   * at the design width. */
  .page { --bleed: max(48px, calc((100% - 1280px) / 2 + 48px)); }

  /* Desktop header is sticky (see .site-header below), so anchored sections must
   * clear it. 96px clears the ~86px desktop header with breathing room. This value
   * is paired with position:sticky + .btn-book white-space:nowrap — change one and
   * headings get buried or the header re-inflates. Validated at 880px (+10px clear). */
  :root { --header-h: 96px; }

  /* concept bar */
  .concept-bar {
    align-items: center;
    gap: 9px;
    padding: 9px var(--bleed);
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: normal;
  }
  .concept-bar .dot { margin-top: 0; }

  /* header */
  .site-header {
    padding: 20px var(--bleed);
    /* Sticky on desktop too, matching lumen/kessler/maple (was `static`, which
     * let the header scroll away). Paired with section[id] scroll-margin-top:96px
     * above; the base rule already sets top:0/z-index:10. */
    position: sticky;
  }
  .brand { gap: 11px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }
  .brand-name { font-size: 19px; }

  .site-nav {
    display: flex;
    gap: 28px;
    font-size: 14.5px;
    font-weight: 500;
  }
  .site-nav a { color: var(--slate); }
  .site-nav a:hover { color: var(--navy); }

  .header-actions { display: flex; align-items: center; gap: 18px; }
  .header-phone {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
  }
  .header-phone:hover { color: var(--navy); }
  .btn-book {
    background: var(--blue);
    color: var(--ice);
    padding: 11px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    box-shadow: 0 6px 16px rgba(96, 150, 186, .28);
    /* Keep "Book online" on one line. Without this it wraps to two lines around
     * 880-1000px, inflating the sticky header from ~86px to ~101px. Paired with
     * the sticky header + scroll-margin-top:96px. */
    white-space: nowrap;
  }
  .btn-book:hover { color: var(--ice); }

  .nav-details { display: none; }

  /* hero */
  .hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    padding: 60px var(--bleed) 44px;
    align-items: center;
  }
  .hero-copy { display: block; }
  .hero-kicker { font-size: 12px; }
  .hero h1 { font-size: 57px; line-height: 1.02; letter-spacing: -0.028em; margin: 18px 0 0; }
  .hero-intro { font-size: 18.5px; max-width: 480px; margin: 22px 0 30px; }
  .hero-photo {
    position: relative;
    height: 440px;
    margin-bottom: 0;
  }
  .hero-ctas { flex-direction: row; gap: 14px; flex-wrap: wrap; align-items: center; }
  .btn-call { padding: 15px 22px; border-radius: 11px; font-size: 15.5px; }
  .btn-outline { padding: 14px 22px; border-radius: 11px; font-size: 15.5px; }
  .hero-tagline { font-size: 12.5px; margin-top: 18px; text-align: left; }

  /* trust strip */
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
    margin: 6px var(--bleed) 0;
  }
  .trust-strip > div { padding: 20px 22px; }
  .trust-strip > div:nth-child(1) { padding: 20px 22px 20px 0; border-bottom: 0; }
  .trust-strip > div:nth-child(2) { border-bottom: 0; }
  .trust-strip > div:nth-child(3) { border-left: 1px solid var(--line); }
  .trust-strip > div:nth-child(4) { padding: 20px 0 20px 22px; }
  .trust-num { font-size: 20px; }
  .trust-label { font-size: 13.5px; }

  /* section headers: heading left, teaser link bottom-right */
  .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  .section-head h2 { font-size: 36px; margin: 10px 0 0; }
  .section-head .kicker { font-size: 12px; }
  .section-link { margin-top: 0; }

  /* services */
  .services { padding: 60px var(--bleed) 20px; }
  .services .section-head { margin-bottom: 30px; }
  .service-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { padding: 22px; gap: 12px; min-height: 186px; }
  .card p { font-size: 14px; line-height: 1.45; }
  .card-more { margin-top: auto; }

  /* first visit */
  .first-visit { padding: 58px var(--bleed) 62px; margin-top: 52px; margin-bottom: 0; }
  .fv-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 38px;
  }
  .first-visit .kicker { font-size: 12px; }
  .first-visit h2 { font-size: 38px; margin: 10px 0 0; }
  .fv-note {
    font-size: 14.5px;
    max-width: 300px;
    text-align: right;
    line-height: normal;
    margin-bottom: 0;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .step {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num   line"
      "photo photo"
      "title title"
      "desc  desc"
      "badge badge";
  }
  .step-num { margin-bottom: 14px; }
  .step-line {
    display: block;
    grid-area: line;
    height: 1px;
    background: rgba(231, 236, 239, .35);
    margin: 0 0 14px 10px;
  }
  .step h3 { font-size: 18px; margin: 0; }
  .step-photo { aspect-ratio: 1 / 1; border-radius: 12px; margin-bottom: 14px; }
  .step p { font-size: 13.5px; line-height: 1.45; margin: 7px 0 12px; }
  .step-badge { padding: 4px 9px; }

  /* smile gallery */
  .gallery { padding: 58px var(--bleed); }
  .gallery .section-head { margin-bottom: 26px; }
  .gallery-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
  .tile { height: 280px; }
  .tile-ba { grid-column: auto; height: 280px; }
  .tile-caption { font-size: 10.5px; padding: 5px 10px; }
  .tile .consent { display: inline; }

  /* affordability */
  .afford { padding: 0 var(--bleed) 58px; }
  .afford-card { padding: 38px 40px; }
  .afford-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .afford-card .kicker { font-size: 12px; }
  .afford-card h2 { font-size: 30px; }
  .afford-note {
    font-size: 14px;
    max-width: 320px;
    line-height: normal;
    margin: 0;
  }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid > div { padding: 22px; }
  .price { font-size: 26px; }
  .price-label { font-size: 13.5px; }

  /* team */
  .team { padding: 0 var(--bleed) 58px; }
  .team .section-head { display: block; margin-bottom: 28px; }
  .team-cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .team-photo { height: 220px; }
  .team-body { padding: 20px; }
  .team-bio { line-height: 1.45; }

  /* reviews + FAQ */
  .social-proof {
    padding: 0 var(--bleed) 58px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .reviews { margin-bottom: 0; }
  .rating-row { margin-bottom: 22px; }
  .rating-big { font-size: 44px; }
  .review-cards { gap: 14px; }
  .faq h2 { font-size: 28px; margin: 0 0 20px; }

  /* contact */
  .contact {
    padding: 52px var(--bleed);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .contact h2 { font-size: 34px; margin: 10px 0 18px; }
  .contact-info { line-height: normal; margin-bottom: 22px; }
  .contact-ctas { flex-direction: row; gap: 12px; margin-bottom: 0; }
  .btn-call-solid { padding: 14px 22px; border-radius: 11px; font-size: 15px; }
  .btn-book-light { padding: 13px 22px; border-radius: 11px; font-size: 15px; }
  .map-tile { height: 240px; }

  /* footer */
  .site-footer { padding: 26px var(--bleed); gap: 16px; }
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-note { font-size: 11.5px; line-height: normal; }
  .footer-links { gap: 20px; }
  .footer-concept {
    align-items: center;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: normal;
  }
  .footer-concept .dot { margin-top: 0; }
}

/* ---------- nav disclosure (demo hosting under /demo/rowan/) ----------
 * The mobile menu is a native <details>/<summary>; one small inline script in
 * index.html closes it on link tap/outside tap/Escape/resize. The menu still
 * opens and closes without JS. */
summary.nav-toggle { list-style: none; }
summary.nav-toggle::-webkit-details-marker { display: none; }
summary.nav-toggle::marker { content: ""; }
