/* ============================================================
   SQUARE DENTAL — Ennis, Co. Clare
   Light editorial · powder blue + cyan accent · Fraunces/Inter
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --mist: #E4EFF7;          /* powder-blue band */
  --mist-deep: #D3E5F2;     /* icon tiles, chips */
  --ink: #10181F;
  --slate: #52626F;
  --line: #E1E9EF;
  --accent: #12B5CB;        /* brand cyan */
  --accent-soft: #C9EFF5;
  --accent-ink: #08313A;    /* text on cyan */
  --coral: #F4502E;
  --coral-soft: #FDE8E1;
  --coral-ink: #B93312;
  --gold: #E8A33D;
  --radius: 26px;
  --nav-h: 78px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; } /* height:auto lets CSS aspect-ratio beat the width/height attrs */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
fieldset { border: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

::selection { background: var(--accent-soft); color: var(--ink); }

.container { max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
section { padding-block: clamp(76px, 9vw, 128px); }
.band-mist { background: var(--mist); }
.center { text-align: center; }

/* ---------- type ---------- */
.h2, .hero-title, .h3, .score-num, .stat-num, .badge-num {
  font-family: var(--font-display);
  font-weight: 480;
  letter-spacing: -0.015em;
  line-height: 1.04;
  font-variation-settings: 'opsz' 90;
}
.hero-title { font-size: clamp(44px, 6.4vw, 82px); }
.h2 { font-size: clamp(32px, 4.2vw, 54px); }
.h3 { font-size: clamp(24px, 2.6vw, 32px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--slate); max-width: 46ch; }
.eyebrow {
  font-size: 12px; font-weight: 620; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--slate); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; flex: none; }
.hero-eyebrow { flex-wrap: wrap; row-gap: 7px; }
.eyebrow-note { display: flex; align-items: center; gap: 10px; }
.eyebrow-note::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { margin-top: 4px; }
.section-sub { color: var(--slate); margin-top: 14px; }
.text-link { color: var(--accent-ink); font-weight: 600; border-bottom: 2px solid var(--accent); display: inline-block; padding-block: 8px; margin-block: -8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px;
  font-size: 12.5px; font-weight: 680; text-transform: uppercase; letter-spacing: 0.11em;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s, box-shadow .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -6px rgba(18,181,203,.55); }
.btn-primary:hover { background: #0FC4DB; box-shadow: 0 10px 24px -6px rgba(18,181,203,.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22303B; }
.btn-ghost { border: 1.5px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 13px 22px; }
.link-arrow {
  font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
  padding-block: 12px; margin-block: -12px; /* 40px+ touch target without shifting layout */
}
.link-arrow::after { content: '→'; color: var(--accent); transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 100%; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 11px; padding-block: 4px; }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 540; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; margin-inline: auto; }
.nav-links a {
  font-size: 11.5px; font-weight: 640; text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent); transition: right .25s;
}
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-size: 14px; font-weight: 650; white-space: nowrap; }
.nav-phone:hover { color: var(--accent-ink); }
.nav-burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 55;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 24px clamp(20px, 4vw, 48px) 32px;
  transform: translateY(-110%); visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s .35s;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a { padding: 12px 0; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { margin-top: 16px; border-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  background: var(--mist);
  padding-block: calc(var(--nav-h) + clamp(40px, 6vw, 84px)) 0;
  border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
  overflow: clip;
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 72px); align-items: end;
}
.hero-grid > *, .intro-grid > *, .contact-grid > *, .faq-grid > *, .book-card > * { min-width: 0; }
.hero-copy { padding-bottom: clamp(56px, 7vw, 104px); }
.hero-title { margin-bottom: 22px; }
.hero-ctas { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--slate); }
.trust-item strong { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.trust-reg { padding-left: 24px; border-left: 1px solid rgba(16,24,31,.14); }
.emergency-chip {
  display: inline-flex; align-items: center; gap: 13px; margin-top: 30px;
  background: #fff; border-radius: 999px; padding: 9px 24px 9px 9px;
  box-shadow: 0 10px 30px -12px rgba(16,24,31,.18);
  transition: transform .25s;
}
.emergency-chip:hover { transform: translateY(-2px); }
.chip-icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--coral);
  display: grid; place-items: center; color: #fff; flex: none;
}
.chip-icon svg { width: 19px; height: 19px; }
.emergency-chip span:last-child { display: grid; font-weight: 700; font-size: 15px; line-height: 1.25; }
.emergency-chip em {
  font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--coral);
}
.hero-media { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.hero-arch {
  width: 100%; max-height: min(78vh, 720px); overflow: hidden;
  border-radius: 400px 400px 0 0;
  transform-origin: bottom center;
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: 44px;
  background: #fff; border-radius: 20px; padding: 16px 22px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 18px 44px -16px rgba(16,24,31,.28);
}
.badge-num { font-size: 30px; }
.badge-txt { font-size: 11.5px; font-weight: 620; text-transform: uppercase; letter-spacing: .08em; color: var(--slate); line-height: 1.45; }

/* ---------- stats strip ---------- */
.stats { padding-block: clamp(48px, 6vw, 84px); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { display: grid; gap: 4px; justify-items: start; padding-left: 22px; border-left: 2px solid var(--accent); }
.stat-num { font-size: clamp(34px, 3.6vw, 52px); }
.stat-label { font-size: 12px; font-weight: 620; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }

/* ---------- intro ---------- */
.intro { padding-top: 0; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.intro-media { position: relative; }
.intro-media::before {
  content: ''; position: absolute; inset: 10% -7% -7% 12%;
  background: var(--mist); border-radius: var(--radius); z-index: -1;
}
.intro-media img { border-radius: var(--radius); aspect-ratio: 4 / 3.1; object-fit: cover; }
.intro-copy .h2 { margin-bottom: 20px; }
.intro-copy > p { color: var(--slate); }
.tick-list { list-style: none; margin: 26px 0 30px; display: grid; gap: 13px; }
.tick-list li { display: flex; gap: 13px; align-items: start; font-weight: 550; }
.tick-list li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308313A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- services ---------- */
.band-mist { border-radius: clamp(28px, 5vw, 64px); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--paper); border-radius: var(--radius); padding: 34px 30px 28px;
  display: grid; align-content: start; gap: 13px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(16,24,31,.16); }
.svc-icon {
  width: 58px; height: 58px; border-radius: 18px; background: var(--mist);
  display: grid; place-items: center; color: var(--accent-ink); margin-bottom: 8px;
  transition: background .3s;
}
.svc-card:hover .svc-icon { background: var(--accent-soft); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 19px; font-weight: 680; letter-spacing: -0.01em; }
.svc-card p { font-size: 14.5px; color: var(--slate); }
.svc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-price { font-family: var(--font-display); font-size: 17px; font-weight: 560; }
.svc-link { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); padding: 12px 0 12px 12px; margin: -12px 0 -12px -12px; }
.svc-link:hover { color: var(--accent); }

/* ---------- before / after ---------- */
.ba-wrap { max-width: 880px; margin: 0 auto clamp(36px, 4vw, 52px); }
.ba-slider {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 2; cursor: ew-resize; touch-action: none; user-select: none;
  box-shadow: 0 30px 70px -30px rgba(16,24,31,.35);
  --pos: 50%;
}
.ba-slider:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(16,24,31,.06);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--ink);
  box-shadow: 0 8px 24px -6px rgba(16,24,31,.4);
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-label {
  position: absolute; top: 20px; padding: 7px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
}
.ba-label-before { left: 20px; background: rgba(16,24,31,.62); color: #fff; backdrop-filter: blur(4px); }
.ba-label-after { right: 20px; background: rgba(255,255,255,.85); color: var(--ink); backdrop-filter: blur(4px); }
.ba-caption { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--slate); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { display: grid; gap: 6px; justify-items: start; }
.team-photo {
  width: 100%; border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden; margin-bottom: 18px; background: var(--mist-deep);
}
.team-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h3 { font-size: 21px; font-weight: 680; letter-spacing: -0.01em; }
.team-role { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-ink); }
.team-bio { font-size: 14.5px; color: var(--slate); margin-top: 6px; }

/* ---------- reviews ---------- */
.reviews .section-head { max-width: none; text-align: center; margin-inline: auto; }
.reviews .eyebrow { justify-content: center; }
.review-score { display: flex; align-items: baseline; justify-content: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.score-num { font-size: clamp(46px, 5vw, 68px); }
.score-of { font-size: .45em; color: var(--slate); }
.stars-lg { font-size: 20px; }
.score-src { font-size: 13.5px; color: var(--slate); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; display: grid; gap: 18px; align-content: space-between;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -22px rgba(16,24,31,.14); }
.review-card p { font-size: 15px; line-height: 1.7; }
.review-card p::before { content: none; }
.review-card footer { display: flex; align-items: baseline; gap: 10px; }
.review-card cite { font-style: normal; font-weight: 700; font-size: 14px; }
.review-card footer span { font-size: 11.5px; font-weight: 620; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq-intro .h2 { margin-bottom: 18px; }
.faq-intro p { color: var(--slate); max-width: 38ch; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--paper); border-radius: 20px; overflow: hidden; }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; font-weight: 640; font-size: 16px; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist); transition: background .3s, transform .35s; }
.faq-x::before, .faq-x::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
  background: var(--ink); transform: translate(-50%,-50%);
}
.faq-x::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .35s; }
.faq-item[open] .faq-x { background: var(--accent); transform: rotate(45deg); }
.faq-body { padding: 0 26px; overflow: hidden; }
.faq-body p { padding-bottom: 24px; color: var(--slate); font-size: 15px; max-width: 60ch; }

/* ---------- contact / map ---------- */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.addr { font-style: normal; font-family: var(--font-display); font-size: clamp(20px, 2vw, 25px); font-weight: 500; line-height: 1.5; margin: 22px 0 26px; }
.contact-rows { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 28px; }
.contact-row { display: flex; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid var(--line); transition: padding .25s; }
.contact-row:hover { padding-left: 8px; }
.row-label { font-size: 12px; font-weight: 640; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); }
.row-val { font-weight: 650; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th { text-align: left; font-weight: 640; padding: 9px 0; width: 40%; }
.hours td { text-align: right; color: var(--slate); }
.hours tr + tr { border-top: 1px dashed var(--line); }
.muted { color: var(--slate); font-size: .88em; }
.map-card { position: relative; }
.map-svg { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 24px 60px -30px rgba(16,24,31,.25); }
.map-txt { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: #8FA9BC; letter-spacing: .04em; }
.map-pill-txt { font-family: var(--font-body); font-size: 15px; font-weight: 700; fill: #fff; }
.map-btn { position: absolute; bottom: 22px; right: 22px; background: #fff; }

/* ---------- booking ---------- */
.booking .section-head { text-align: center; margin-inline: auto; }
.booking .eyebrow { justify-content: center; }
.book-card {
  background: var(--paper); border-radius: 32px; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr;
  box-shadow: 0 40px 90px -40px rgba(16,24,31,.3);
  max-width: 1020px; margin-inline: auto; position: relative;
}
.book-form { padding: clamp(32px, 4vw, 56px); display: grid; align-content: start; }
.book-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 34px; }
.book-progress .dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--mist-deep);
  transition: background .3s, transform .3s;
}
.book-progress .dot.is-active { background: var(--accent); transform: scale(1.25); }
.book-progress .dot.is-done { background: var(--accent); }
.book-progress .bar { flex: 1; height: 2px; background: var(--mist-deep); max-width: 56px; }
.book-step { display: none; }
.book-step.is-active { display: block; }
.book-q { font-family: var(--font-display); font-size: clamp(23px, 2.4vw, 30px); font-weight: 520; letter-spacing: -0.01em; margin-bottom: 22px; }
.book-sub { font-size: 12px; font-weight: 680; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin: 20px 0 10px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 600; transition: all .2s;
}
.chip:hover { border-color: var(--accent); }
.chip.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.book-hint { font-size: 13px; color: var(--slate); margin-top: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field span { font-size: 12px; font-weight: 680; text-transform: uppercase; letter-spacing: .1em; }
.field em { text-transform: none; letter-spacing: 0; color: var(--slate); font-weight: 500; }
.field input {
  font: inherit; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #FBFDFE; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-error { color: var(--coral-ink); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.book-nav { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.book-back { font-size: 13px; font-weight: 650; color: var(--slate); }
.book-back:hover { color: var(--ink); }
.book-nav .btn[disabled] { opacity: .35; pointer-events: none; }
.book-micro { font-size: 12.5px; color: var(--slate); margin-top: 20px; }
.book-media { position: relative; min-height: 320px; }
.book-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-success { padding: clamp(40px, 5vw, 64px); display: grid; gap: 16px; justify-items: start; align-content: center; }
.success-mark {
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent-ink);
}
.success-mark svg { width: 26px; height: 26px; }
.book-success p { color: var(--slate); max-width: 42ch; }

/* ---------- footer ---------- */
.footer { background: var(--mist); border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0; margin-top: clamp(40px, 6vw, 80px); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr;
  gap: clamp(32px, 4vw, 64px); padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 56px);
}
.footer-brand p { font-size: 14.5px; color: var(--slate); margin: 18px 0 22px; max-width: 30ch; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; transition: transform .25s, background .25s;
}
.socials a:hover { transform: translateY(-3px); background: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-col { display: grid; gap: 11px; align-content: start; }
.footer-col h4, .footer-cta h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); margin-bottom: 8px; }
.footer-col a { font-size: 14.5px; font-weight: 550; padding-block: 4px; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-cta { display: grid; gap: 14px; align-content: start; justify-items: start; }
.footer-phone { font-size: 13.5px; color: var(--slate); }
.footer-phone a { font-weight: 700; color: var(--ink); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 26px; border-top: 1px solid rgba(16,24,31,.1);
  font-size: 12.5px; color: var(--slate);
}
.legal-links a:hover { color: var(--ink); }

/* ---------- reveal defaults (JS enhances) ---------- */
[data-reveal], [data-hero] { opacity: 1; }
.js [data-reveal], .js [data-hero] { opacity: 0; }
.js.reduced-motion [data-reveal], .js.reduced-motion [data-hero] { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; } /* links are gone from 1080 down — burger takes over, not just at phone width */
  .nav-cta { margin-left: auto; } /* keep cta + burger pinned right once the centered links are gone */
  .nav-burger { margin-left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { margin-top: 44px; max-width: 480px; }
  /* fixed ratio instead of the 78vh cap: no chin-clipping on short screens, less scroll on tall ones.
     Rounded bottom + section padding so the photo reads as a card, not a slice. */
  .hero { padding-bottom: 40px; }
  .hero-arch { border-radius: 300px 300px 28px 28px; max-height: none; aspect-ratio: 1 / 1.3; }
  .hero-arch img { height: 100%; object-position: 50% 0; }
  .hero-badge { bottom: 30px; }
  .team-photo img { aspect-ratio: 1 / 1; object-position: 50% 12%; }
  .intro-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-media { max-width: 560px; }
  /* % offset can push past the viewport and widen the mobile layout viewport — use a fixed offset */
  .intro-media::before { inset: 10% -14px -14px 12%; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .team-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .book-card { grid-template-columns: 1fr; }
  .book-media { display: none; }
  .nav-cta .nav-phone { display: none; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .nav-burger { margin-left: auto; } /* cta hidden — burger alone holds the right edge */
  .hero-eyebrow { align-items: flex-start; }
  .hero-eyebrow > span:first-of-type { flex: none; }
  .eyebrow-note { flex-basis: 100%; padding-left: 32px; } /* second line aligns under the text, not the dash */
  .eyebrow-note::before { display: none; }
  .services-grid, .review-grid, .field-row { grid-template-columns: 1fr; }
  .hero-badge { left: 8px; bottom: 20px; padding: 12px 16px; }
  .badge-num { font-size: 24px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .footer-col a { padding-block: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
