/* Causeway Dentistry staging site. Colors from the practice's logo: sea blue, deep water, sand. */
:root {
  --ink: #12253a;
  --deep: #123c63;
  --sea: #2f75b4;
  --sea-dark: #235e93;
  --sand: #f5eee2;
  --sand-deep: #e7d9bf;
  --gold: #8a6a1f;
  --white: #ffffff;
  --muted: #4a5a6b;
  --line: #d9dee5;
  --tag: #9a3b00;
  --radius: 14px;
  --head: "Fraunces", Georgia, serif;
  --body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 18px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 650; line-height: 1.15; color: var(--deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--deep); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:not(.btn):hover { color: var(--sea-dark); text-decoration: underline; }
.menu-btn { display: none; font: 600 1rem var(--body); background: none; border: 2px solid var(--deep); color: var(--deep); border-radius: 999px; padding: 8px 16px; min-height: 44px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; }
.btn-main { background: var(--sea-dark); color: #fff; }
.btn-main:hover { background: var(--deep); }
.btn-call { background: var(--deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-light { background: #fff; color: var(--deep); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.link { font-weight: 700; }

/* hero */
.hero { position: relative; background: var(--sand); padding: 56px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .9rem; color: var(--gold); margin-bottom: 12px; }
.lede { font-size: 1.2rem; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: #fff; border: 1px solid var(--sand-deep); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.hero-photo { margin: 0; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(18, 60, 99, .18); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--white); }

/* sections */
.section { padding: 64px 0; }
.tint { background: var(--sand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sea-dark); color: #fff; font: 650 1.4rem var(--head); margin-bottom: 12px; }
.page-top { background: var(--sand); padding: 56px 0 40px; }
.page-top .answer { font-size: 1.25rem; max-width: 760px; color: var(--ink); }
.rows { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.rows li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.rows li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px; border-left: 3px solid var(--sea); border-bottom: 3px solid var(--sea); transform: rotate(-45deg); }
.plain { padding-left: 1.1em; }
.plain li { margin-bottom: 8px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-bottom: 20px; }
.svc-group ul { list-style: none; padding: 0; margin: 0; }
.svc-group li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.svc-group li a { font-weight: 700; }
.svc-group li span { display: block; color: var(--muted); font-size: 1rem; }

/* card and form */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 34px rgba(18, 37, 58, .08); }
.card-sub { color: var(--muted); }
.req-form label { display: block; font-weight: 600; margin-bottom: 14px; }
.req-form input:not([type=checkbox]):not([type=radio]) { display: block; width: 100%; margin-top: 6px; font: 17px var(--body); padding: 12px; border: 1px solid #8795a6; border-radius: 10px; min-height: 48px; }
.req-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.req-form legend { font-weight: 600; margin-bottom: 6px; }
.req-form .inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 16px 8px 0; min-height: 32px; }
.req-form input[type=checkbox], .req-form input[type=radio] { width: 20px; height: 20px; }
.consent { font-weight: 400 !important; font-size: 1rem; display: flex !important; gap: 10px; align-items: flex-start; }
.note { font-size: 1rem; color: var(--muted); background: var(--sand); border-radius: 10px; padding: 10px 12px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; }
.err { color: #a11a1a; font-weight: 700; }
.sent h3 { font-size: 1.6rem; }
.staging-note { margin-top: 12px; }

/* tags for anything the practice has not confirmed */
.tag { display: inline-block; border: 2px dashed var(--tag); color: var(--tag); background: #fff7f0; border-radius: 8px; padding: 3px 10px; font-size: .95rem; font-weight: 700; line-height: 1.4; }
.banner { margin-top: 12px; }

/* about, gallery */
.portrait { margin: 0; border-radius: 180px 180px var(--radius) var(--radius); overflow: hidden; max-width: 460px; }
.wide { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-weight: 600; margin-top: 8px; }

/* questions */
.accordion details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.accordion summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; min-height: 44px; }
.prose h2 { margin-top: 1.2em; }

/* closing and footer */
.closing { background: var(--deep); color: #fff; padding: 56px 0; text-align: center; }
.closing h2 { color: #fff; }
.closing .ctas { justify-content: center; }
.site-footer { background: var(--ink); color: #e9eef4; padding: 48px 0 90px; font-size: 1rem; }
.site-footer a { color: #cfe3f7; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot-logo { background: #fff; border-radius: 10px; padding: 8px; width: 170px; margin-bottom: 14px; }
.foot-h { color: #fff; font-size: 1.15rem; }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.foot-links li { margin-bottom: 6px; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours.dark li { border-bottom-color: var(--line); }
.foot-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; }
.site-footer.minimal { padding: 28px 0; }

/* sticky call bar on phones */
.sticky-bar { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 10px; }
  .minimal .btn-call { padding: 10px 14px; font-size: .95rem; }
  .hero-grid, .two, .three, .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 32px 0 70px; }
  .hero-photo { border-radius: 140px 140px var(--radius) var(--radius); }
  .section { padding: 44px 0; }
  .sticky-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; transform: translateY(100%); transition: transform .2s; }
  .sticky-bar.show { transform: none; }
  .sticky-bar a { text-align: center; padding: 16px; font-weight: 700; color: #fff; background: var(--deep); text-decoration: none; }
  .sticky-bar a + a { background: var(--sea-dark); }
}
@media (max-width: 420px) { .brand img { width: 120px; } .minimal .brand img { width: 110px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.urgent { border-left: 5px solid #a11a1a; background: #fff3f1; padding: 12px 16px; border-radius: 8px; font-weight: 700; color: #6d1010; max-width: 760px; }
