/* Straight Up Smiles site styles. Brand colors and fonts match the Squarespace site as of Nov 2026. */
:root {
  --green: #197c64;        /* brand green (darkened from #209C7D for contrast, Nov 2026) */
  --green-dark: #125c4a;
  --ink: #1d2224;
  --muted: #4a5457;
  --charcoal: #283133;     /* header background */
  --paper: #ffffff;
  --mist: #f1f1f1;         /* page background on the old site */
  --line: #d9dedf;
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'Lato', system-ui, sans-serif;
  --ui: 'Pontano Sans', 'Lato', system-ui, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 1.0625rem/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 300; line-height: 1.2; color: var(--green); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; font: 400 .95rem/1 var(--ui); letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; padding: 1.05em 2em; border: 2px solid var(--green); transition: background .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-small { padding: .8em 1.4em; font-size: .85rem; }
.btn-ghost { background: transparent; color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.band-dark .btn, .hero .btn { border-color: #fff; }

/* Announcement bar + header */
.announce { display: block; background: var(--green); color: #fff; text-align: center; font: 400 .92rem/1.4 var(--ui);
  letter-spacing: .04em; padding: .65em 1em; text-decoration: none; }
.announce:hover { color: #fff; text-decoration: underline; }
.site-header { background: var(--charcoal); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: 200px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav a { color: #fff; text-decoration: none; font: 400 1rem/1 var(--body); }
.site-nav ul a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.social { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.social a { display: inline-flex; width: 28px; height: 28px; }
.social svg { width: 22px; height: 22px; fill: currentColor; margin: auto; }
.site-header .social a { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle .bar { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--charcoal);
    flex-direction: column; align-items: flex-start; padding: 12px 24px 28px; gap: 20px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
  .header-row { min-height: 72px; }
  .logo img { width: 170px; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.band-mist { background: var(--mist); }
.band-dark { background: var(--charcoal); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark a:not(.btn) { color: #fff; }
.hero { position: relative; min-height: clamp(380px, 62vh, 640px); display: grid; align-items: center; color: #fff;
  background: var(--charcoal) center/cover no-repeat; padding: 80px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 30, .5); }
.hero .wrap { position: relative; }
.hero h1, .hero h2 { color: #fff; max-width: 18em; }
.hero p { font-size: 1.25rem; max-width: 34em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.lead { font-size: 1.3rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
.card { text-align: center; }
.card img { margin: 0 auto 16px; width: 160px; }
.card h4 { color: var(--ink); }
.svc img { width: 120px; margin-bottom: 14px; }
.svc h3 { color: var(--ink); }
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 46em; }
.quote blockquote p { font: 300 clamp(1.3rem, 2.4vw, 1.75rem)/1.45 var(--head); color: var(--green); }
.band-dark .quote blockquote p, .band-dark.quote blockquote p { color: #fff; }
.quote cite { font-style: normal; color: var(--muted); }
.band-dark cite { color: #cfd6d7; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps .num { font: 300 3rem/1 var(--head); color: var(--green); margin-bottom: 8px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.faq h3 { color: var(--ink); font-size: 1.25rem; font-weight: 500; margin-top: 1.6em; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 1.2em 0; }
.office h3 { font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: .3em; }
.office p { margin: 0 0 .3em; }
@media (max-width: 520px) { .offices { grid-template-columns: 1fr; } }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.map { width: 100%; height: 320px; border: 0; }
@media (max-width: 700px) { .maps { grid-template-columns: 1fr; } }
.meta { font-family: var(--ui); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; color: var(--muted); }
.svc-meta { font-size: .95rem; color: var(--muted); }
.form-pending { border: 2px dashed var(--green); background: #f4faf8; padding: 20px 22px; margin: 1em 0; }
.form-pending p { margin: .5em 0 0; }
.prose { max-width: 50em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .5em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.gallery a { display: block; border: 1px solid var(--line); background: #fff; }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.gallery span { display: block; padding: 10px 12px; font-size: .95rem; color: var(--ink); }

/* Footer */
.site-footer { background: var(--mist); padding: 64px 0 24px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer-title { font-size: 1.8rem; }
.footer-links { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer .social a { color: var(--ink); }
.disclaimer { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.map-link { display: grid; place-items: center; background: var(--mist); text-align: center; padding: 20px; }

/* Call and text first: most new patients find us on Google and call (Alex, Nov 2026). */
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.hero .btn-row { margin-top: 8px; }
.contact-cta { background: var(--mist); padding: 24px; }
.band-mist .contact-cta { background: var(--paper); }
.contact-cta-lead { font-size: 1.15rem; }
.callbar { display: none; }
@media (max-width: 960px) {
  .header-actions .btn-ghost-light { display: none; }
  .callbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--green); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -2px 8px rgba(0,0,0,.15); }
  .callbar a { color: #fff; text-align: center; padding: 14px 8px; font: 700 1rem/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.3); }
  body { padding-bottom: 52px; }
}
.header-actions .btn { white-space: nowrap; }
@media (max-width: 1340px) { .site-header .header-actions .social { display: none; } }
.logo { flex-shrink: 0; } .site-nav ul { flex-wrap: nowrap; } @media (min-width: 961px) and (max-width: 1100px) { .site-nav ul { gap: 14px; } .site-nav { gap: 16px; } .logo img { width: 160px; } }
@media (max-width: 1150px) { .header-actions .btn-ghost-light { display: none; } }
.form-embed { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); padding: 20px; }
.h-form { font-size: 1.4rem; margin-bottom: .4em; }
