/* =========================================================================
   Majewski Dental — "Clinical Calm"
   Deep teal + aqua, warm white, slate ink. Fraunces display / Inter body.
   Signature: dental-arch frames + thin smile-arc accents.
   ========================================================================= */

:root {
  /* Color */
  --ink:        #16262B;   /* near-black slate text          */
  --ink-soft:   #3C4F55;   /* secondary text                 */
  --teal:       #0F6E6E;   /* primary deep teal              */
  --teal-deep:  #0B4646;   /* dark band / footer             */
  --teal-press: #0A5757;   /* button active                  */
  --aqua:       #2BB3A3;   /* accent                         */
  --aqua-soft:  #7FD4C8;   /* light accent                   */
  --bg:         #FAFBFA;   /* warm white page                */
  --mist:       #E9F1EF;   /* pale teal section band         */
  --sand:       #F3F0E8;   /* warm neutral band              */
  --card:       #FFFFFF;   /* card surface                   */
  --line:       #DCE5E2;   /* hairlines                      */
  --line-deep:  rgba(255,255,255,.16);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --step--1: clamp(.82rem, .80rem + .1vw, .9rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.34rem + .8vw, 2rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.6rem, 2.0rem + 2.9vw, 4.4rem);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16,38,43,.05), 0 10px 34px -18px rgba(16,38,43,.22);
  --shadow-lg: 0 30px 70px -36px rgba(11,70,70,.45);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 540;
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout helpers ---- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(3.4rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.band-mist { background: var(--mist); }
.band-sand { background: var(--sand); }
.band-deep { background: var(--teal-deep); color: #EAF4F2; }
.band-deep h1, .band-deep h2, .band-deep h3 { color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.band-deep .eyebrow { color: var(--aqua-soft); }
.eyebrow::before {
  content: "";
  width: 26px; height: 8px;
  border: 0 solid currentColor;
  border-bottom-width: 1.5px;
  border-radius: 0 0 40px 40px; /* tiny smile arc */
  transform: translateY(-3px);
}

.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; max-width: 46ch; }
.measure { max-width: 64ch; }
.center { text-align: center; }
.center .lede, .center .measure { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  --bg-btn: var(--teal);
  --fg-btn: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg-btn);
  color: var(--fg-btn);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(11,70,70,.55); }
.btn:active { transform: translateY(0); background: var(--teal-press); }
.btn--accent { --bg-btn: var(--aqua); color: #06302C; }
.btn--ghost { --bg-btn: transparent; color: var(--teal); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); background: #fff; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: var(--step-1); }
.band-deep .btn--ghost { color: #fff; border-color: var(--line-deep); }
.band-deep .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* =========================================================================
   Header
   ========================================================================= */
.topbar {
  background: var(--teal-deep);
  color: #CFE6E2;
  font-size: var(--step--1);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .topbar-meta { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar .ico { color: var(--aqua-soft); }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,251,250,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { flex: none; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a {
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: .35rem 0; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--aqua); border-radius: 2px; transition: right .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--teal); }

.header-cta { display: flex; align-items: center; gap: .7rem; }
/* The phone lives in the top bar — keep one primary CTA in the header */
.header-cta .btn--ghost { display: none; }
.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 1080px) {
  .nav { display: none; }
  .masthead .wrap { min-height: 64px; }
  .brand-name { font-size: 1.08rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
  }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.2rem;
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav.open a::after { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero::before { /* ambient arc wash */
  content: ""; position: absolute; z-index: 0;
  width: 720px; height: 720px; right: -200px; top: -260px;
  background: radial-gradient(circle at center, rgba(43,179,163,.18), rgba(43,179,163,0) 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--step-4); font-weight: 560; }
.hero h1 .arcword { position: relative; white-space: nowrap; color: var(--teal); font-style: italic; font-weight: 500; }
.hero h1 .arcword::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: .42em;
  border: 0 solid var(--aqua); border-bottom-width: 3px; border-radius: 0 0 80% 80%;
}
.hero .lede { margin-top: 1.2rem; margin-bottom: 1.8rem; }
.hero-meta { margin-top: 1.7rem; display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; color: var(--ink-soft); font-size: var(--step--1); }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); display: inline-block; }

/* arch-framed hero figure (the signature) */
.arch {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius) / 320px 320px var(--radius) var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, #15807d, #0b4646);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
  isolation: isolate;
}
.arch--photo { display: grid; place-items: center; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame { position: relative; }
.arch-frame::before { /* thin inner arch outline */
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: inherit;
}
/* illustrated brand art that fills each arch (looks intentional pre-photo) */
.arch--art { background: #0b4646; }
.arch-art-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.arch-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 1.5rem 1.4rem 1.3rem; color: #EAF4F2;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: linear-gradient(to top, rgba(5,38,38,.66), rgba(5,38,38,0));
}

/* floating trust chip on hero figure */
.hero-chip {
  position: absolute; left: -18px; bottom: 26px; z-index: 3;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: .8rem 1.05rem; display: flex; align-items: center; gap: .7rem;
  border: 1px solid var(--line); max-width: 250px;
}
.hero-chip .chip-mark { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--mist); color: var(--teal); display: grid; place-items: center; }
.hero-chip b { display: block; font-size: .92rem; }
.hero-chip span { font-size: .76rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-chip { left: 0; }
}

/* =========================================================================
   Trust strip
   ========================================================================= */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: center; justify-content: space-between; padding-block: 1.15rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 500; }
.trust-item svg { color: var(--teal); flex: none; }

/* =========================================================================
   Section heads
   ========================================================================= */
.head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.head h2 { font-size: var(--step-3); }
.head.center { margin-inline: auto; }

/* =========================================================================
   Service cards
   ========================================================================= */
.grid { display: grid; gap: 1.15rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-4px); border-color: var(--aqua-soft); box-shadow: 0 26px 50px -30px rgba(11,70,70,.5); }
.card-ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--mist); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1rem; }
.card .more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--teal); display: inline-flex; align-items: center; gap: .35rem; }
.card-link:hover .more { gap: .6rem; }

/* =========================================================================
   Feature / Why  (split with arch photo)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 840px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } .split-media { max-width: 440px; margin-inline: auto; } }

.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .95rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .ck {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mist); color: var(--teal); display: grid; place-items: center; margin-top: 2px;
}
.checklist b { font-weight: 600; }
.checklist span { color: var(--ink-soft); }

/* =========================================================================
   Stats
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 1.2rem 0; }
.stat .num { font-family: var(--display); font-size: var(--step-3); line-height: 1; color: var(--teal); }
.band-deep .stat .num { color: var(--aqua-soft); }
.stat .lbl { font-size: var(--step--1); color: var(--ink-soft); margin-top: .5rem; }
.band-deep .stat .lbl { color: #BFD8D4; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.quote .stars { color: #E0A93B; letter-spacing: 2px; font-size: .95rem; margin-bottom: .7rem; }
.quote p { font-size: 1.02rem; color: var(--ink); margin-bottom: 1.1rem; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 600; font-family: var(--display); }
.quote .who b { font-size: .95rem; }
.quote .who span { display: block; font-size: .8rem; color: var(--ink-soft); }

/* =========================================================================
   Hours + Map (contact / home)
   ========================================================================= */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours th { font-weight: 500; color: var(--ink-soft); }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours tr.closed td { color: var(--ink-soft); font-weight: 500; }
.hours tr.today th, .hours tr.today td { color: var(--teal); }

.infocard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow); }

/* =========================================================================
   FAQ accordion
   ========================================================================= */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 0 1.3rem; margin-bottom: .8rem; box-shadow: var(--shadow);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; font-family: var(--display);
  font-size: var(--step-1); font-weight: 540; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 26px; height: 26px; position: relative; color: var(--teal); transition: transform .25s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq summary .pm::before { left: 50%; top: 4px; width: 2px; height: 18px; transform: translateX(-50%); }
.faq summary .pm::after { top: 50%; left: 4px; height: 2px; width: 18px; transform: translateY(-50%); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq details > *:not(summary) { padding-bottom: 1.2rem; }
.faq p { color: var(--ink-soft); margin: 0; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -120px; bottom: -180px; width: 460px; height: 460px;
  border: 1.5px solid var(--line-deep); border-radius: 50%;
}
.cta::after {
  content: ""; position: absolute; right: -40px; bottom: -260px; width: 460px; height: 460px;
  border: 1.5px solid var(--line-deep); border-radius: 50%;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: var(--step-3); }
.cta .lede { color: #BFE0DB; }

/* =========================================================================
   Page hero (interior pages)
   ========================================================================= */
.pagehead { background: var(--mist); border-bottom: 1px solid var(--line); padding-block: clamp(2.6rem, 5vw, 4rem); position: relative; overflow: hidden; }
.pagehead::before {
  content: ""; position: absolute; left: 50%; bottom: -340px; transform: translateX(-50%);
  width: 760px; height: 420px; border: 1.5px solid rgba(15,110,110,.14);
  border-radius: 760px 760px 0 0;
}
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { font-size: var(--step-3); max-width: 20ch; }
.pagehead .lede { margin-top: .8rem; }

.crumbs { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); }

/* =========================================================================
   Prose / service detail
   ========================================================================= */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6rem; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: .6rem; margin: 1rem 0 1.4rem; }
.prose ul li { display: flex; gap: .65rem; }
.prose ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--mist); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230F6E6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

.aside-card { position: sticky; top: 96px; }
.layout-aside { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .layout-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* pill list of treatments */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .95rem; font-size: .9rem; font-weight: 500; }

/* =========================================================================
   Forms
   ========================================================================= */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(43,179,163,.18); }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-status { font-size: .95rem; font-weight: 600; color: var(--teal); min-height: 1.2em; }

/* =========================================================================
   Footer
   ========================================================================= */
.foot { background: var(--teal-deep); color: #CFE6E2; padding-block: clamp(2.8rem, 5vw, 4rem) 1.5rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .96rem; }
.foot .brand-name { color: #fff; }
.foot .brand-sub { color: var(--aqua-soft); }
.foot-about p { color: #BFD8D4; font-size: .95rem; max-width: 32ch; margin-top: 1rem; }
.foot .socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.foot .socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-deep); display: grid; place-items: center; }
.foot .socials a:hover { background: rgba(255,255,255,.08); }
.foot-bottom { border-top: 1px solid var(--line-deep); margin-top: 2.4rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #9FC2BD; }
.foot-bottom a { color: #CFE6E2; }

/* sticky mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .header-cta .btn { display: none; }   /* phones use the sticky Call/Book bar */
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(250,251,250,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .callbar .btn { width: 100%; padding: .85rem; }
  body { padding-bottom: 72px; }
}

/* =========================================================================
   Polish pass — depth, motion, refinement
   ========================================================================= */

/* Faint dot texture behind the hero (sits behind content) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,110,110,.07) 1.4px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(115deg, transparent 48%, #000 92%);
  mask-image: linear-gradient(115deg, transparent 48%, #000 92%);
}

/* Service cards: animated accent bar + softer icon tile */
.card-link { position: relative; overflow: hidden; }
.card-link::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card-link:hover::before { transform: scaleX(1); }
.card-ico { background: linear-gradient(150deg, #E9F1EF, #D7ECE7); transition: transform .25s ease; }
.card-link:hover .card-ico { transform: translateY(-2px) rotate(-3deg); }

/* Quote cards: subtle opening mark */
.quote { position: relative; }
.quote::before {
  content: "\201C"; position: absolute; top: .2rem; right: 1.1rem;
  font-family: var(--display); font-size: 4.5rem; line-height: 1; color: var(--mist);
  pointer-events: none;
}

/* Editorial italic emphasis — Fraunces italic as the brand's warm voice */
.serif-it { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--teal); }
.band-deep .serif-it { color: var(--aqua-soft); }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Mobile refinements
   ========================================================================= */
@media (max-width: 640px) {
  /* Trust strip → tidy 2×2 grid instead of a long list */
  .trust .wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.1rem;
    padding-block: 1.25rem;
  }
  .trust-item { align-items: flex-start; font-size: .85rem; line-height: 1.35; }
  .trust-item svg { margin-top: 2px; }

  /* Hero art: shorter so it doesn't dominate the fold */
  .hero-figure .arch { aspect-ratio: auto; height: 330px; }
  .hero-chip { bottom: 16px; }

  /* Slightly calmer hero headline on small screens */
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 2.9rem); }
}

@media (max-width: 480px) {
  /* Top bar: drop the hours sentence, keep the actionable NAP centered */
  .topbar .wrap { justify-content: center; gap: .25rem 1.1rem; }
  .topbar .wrap > span:not(.topbar-meta) { display: none; }
  .topbar .topbar-meta { gap: .35rem 1rem; }
}

/* =========================================================================
   Refinement pass 2 — entrance, header depth, prose rhythm, anchors
   ========================================================================= */

/* In-page anchor links clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* Sticky header gains depth once you scroll */
.masthead { transition: box-shadow .25s ease, background .25s ease; }
.masthead.is-stuck {
  box-shadow: 0 8px 30px -18px rgba(16,38,43,.5);
  background: rgba(250,251,250,.94);
}

/* Brand-rhythm marker before each long-form section heading */
.prose > h2 { position: relative; padding-top: 1.1rem; }
.prose > h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 32px; height: 9px;
  border: 0 solid var(--aqua); border-bottom-width: 2px;
  border-radius: 0 0 60px 60px;
}

/* Orchestrated hero entrance (motion-safe only) */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-figure { animation: heroRise .7s cubic-bezier(.22,.61,.36,1) both; }
  .hero-copy > .eyebrow { animation-delay: .04s; }
  .hero-copy > h1       { animation-delay: .12s; }
  .hero-copy > .lede    { animation-delay: .22s; }
  .hero-copy > .btn-row { animation-delay: .32s; }
  .hero-copy > .hero-meta { animation-delay: .40s; }
  .hero-figure { animation-name: heroRiseFig; animation-delay: .26s; }
  .hero h1 .arcword::after { animation: arcDraw .6s ease .55s both; transform-origin: left; }
}
@keyframes heroRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes heroRiseFig { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes arcDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Skip-to-content link (visible on focus) */
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 200;
  background: var(--teal); color: #fff; padding: .7rem 1.1rem;
  border-radius: 10px; font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow); transition: top .18s ease;
}
.skip-link:focus { top: 12px; }
[id="main"]:focus { outline: none; }

/* Subtle film grain on the dark teal bands (static — reduced-motion safe) */
.band-deep, .foot {
  background-image: url("images/grain.png");
  background-repeat: repeat;
  background-size: 96px 96px;
  background-blend-mode: soft-light;
}

/* 4 testimonials → 2×2 grid */
.quotes--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .quotes--two { grid-template-columns: 1fr; } }

/* utility */
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
