/* American Dental Studio — Clinical precision. Onest + IBM Plex Mono. Indigo ink on cool paper, amber lens. */
:root {
  --pine: #1A0A52;
  --pine-2: #2E2078;
  --enamel: #FBFBFD;
  --amber: #C8923B;
  --sage: #F1F2F8;
  --graphite: #24212F;
  --graphite-2: #58566B;
  --pulse: #C8452F;
  --line: #DADDEA;
  --white: #fff;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --serif: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 4px;
  --wrap: 1160px;
  --gut: 20px;
  --sec: 72px;
}
@media (min-width: 860px) { :root { --gut: 32px; --sec: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--enamel); color: var(--graphite);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (min-width: 860px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--pine); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
.on-pine :focus-visible { outline-color: var(--enamel); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--pine); color: var(--enamel); padding: 10px 16px; border-radius: var(--r); z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec) 0; }
.section--sage { background: var(--sage); }
.section--pine { background: var(--pine); color: var(--enamel); }
.section--pine a:not(.btn) { color: var(--enamel); }

/* Type */
h1, h2, h3 { font-family: var(--serif); color: var(--pine); margin: 0; text-wrap: balance; }
.section--pine h1, .section--pine h2, .section--pine h3 { color: var(--enamel); }
h1 { font-weight: 600; font-size: 38px; line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-weight: 600; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-weight: 600; font-size: 21px; line-height: 1.22; letter-spacing: -0.015em; }
@media (min-width: 860px) { h1 { font-size: 56px; } h2 { font-size: 40px; } h3 { font-size: 28px; } }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: 18px; line-height: 1.55; color: var(--graphite-2); max-width: 36em; }
@media (min-width: 860px) { .lead { font-size: 20px; } }
.section--pine .lead { color: rgba(247, 244, 238, 0.82); }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--pine); margin: 0 0 14px; display: block; }
.section--pine .label { color: var(--sage); }
.sh { max-width: 40em; margin-bottom: 40px; }
.sh p { color: var(--graphite-2); margin: 16px 0 0; }
.section--pine .sh p { color: rgba(247, 244, 238, 0.8); }

/* Buttons — every pressable scales on :active */
.btn {
  --bg: transparent; --fg: var(--pine); --bd: var(--pine);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { --bg: var(--pine); --fg: var(--enamel); }
.btn--light { --bg: var(--enamel); --fg: var(--pine); --bd: var(--enamel); }
.btn--ghost-light { --fg: var(--enamel); --bd: rgba(247, 244, 238, 0.5); }
.btn--pulse { --bg: var(--pulse); --fg: #fff; --bd: var(--pulse); }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { --bg: var(--pine-2); --bd: var(--pine-2); }
  .btn:not(.btn--solid):not(.btn--light):not(.btn--pulse):not(.btn--ghost-light):hover { --bg: var(--sage); }
  .btn--light:hover { --bg: #fff; --bd: #fff; }
  .btn--ghost-light:hover { --bg: rgba(247, 244, 238, 0.1); }
  .btn--pulse:hover { --bg: #b23b27; --bd: #b23b27; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.textlink svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .textlink:hover svg { transform: translateX(3px); } }

/* Header: utility bar, logo lockup, mega menus, mobile accordion */
.util { background: var(--pine); color: rgba(247, 244, 238, 0.85); font-size: 13px; display: none; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding-top: 6px; padding-bottom: 6px; gap: 24px; }
.util a { color: var(--enamel); text-decoration: none; margin-left: 22px; transition: opacity 150ms ease; }
.util-r { display: flex; align-items: center; }
.util-sos { background: var(--pulse); color: #fff !important; padding: 6px 14px; border-radius: 6px; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.util-sos:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .util a:hover { opacity: 0.75; } .util-sos:hover { background: #b23b27; opacity: 1 !important; } }
@media (min-width: 1120px) { .util { display: block; } }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
@media (min-width: 1120px) { .hdr .wrap { height: 84px; max-width: 1280px; gap: 28px; } }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--pine); flex: none; }
.brand-logo { width: 46px; height: auto; flex: none; }
@media (min-width: 1120px) { .brand-logo { width: 58px; } }
.brand b { display: block; font: 600 19px/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.brand small { display: block; font: 500 10.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; color: var(--graphite-2); white-space: nowrap; }
.nav, .hdr-cta { display: none; }
.hdr-m { display: flex; gap: 8px; align-items: center; }

.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1.5px solid var(--pine); background: transparent; color: var(--pine); font: 600 14px/1 var(--sans); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.menu-btn:active { transform: scale(0.97); }
.menu-btn i { position: relative; width: 16px; height: 10px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform 220ms var(--ease-out), top 220ms var(--ease-out); }
.menu-btn i::before { top: 1px; } .menu-btn i::after { top: 8px; }
.menu-btn[aria-expanded="true"] i::before { top: 4.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 4.5px; transform: rotate(-45deg); }

@media (min-width: 1120px) {
  .nav { display: flex; align-items: stretch; align-self: stretch; margin: 0; padding: 0; list-style: none; gap: 2px; }
  .nav > li { display: flex; align-items: center; }
  .nav a.nl { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15.5px/1 var(--sans); white-space: nowrap; color: var(--graphite); text-decoration: none; border-radius: 6px; transition: color 150ms ease, background-color 150ms ease; }
  .nav a.nl[aria-current="page"] { color: var(--pine); font-weight: 600; }
  .nav a.nl[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--amber); border-radius: 2px; }
  .chev { width: 11px; height: 11px; opacity: 0.6; transition: transform 200ms var(--ease-out); }
  .hdr-cta { display: flex; }
  .hdr-m { display: none; }

  /* mega panel hangs off the header; li spans full header height so the pointer never crosses a gap */
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--enamel); border-bottom: 1px solid var(--line); box-shadow: 0 28px 48px -28px rgba(26, 10, 82, 0.4);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
    transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms; }
  .hdr .mega .mega-g { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding-top: 28px; padding-bottom: 32px; height: auto; align-items: stretch; justify-content: stretch; max-width: 1280px; }
  .mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; align-content: start; }
  .mi { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); text-decoration: none; color: var(--graphite); transition: background-color 150ms ease; }
  .mi .ic { width: 28px; height: 28px; flex: none; margin-top: 2px; }
  .mi b { display: block; font: 600 15.5px/1.3 var(--sans); color: var(--pine); }
  .mi small { display: block; margin-top: 3px; font: 400 13.5px/1.45 var(--sans); color: var(--graphite-2); }
  .mfeat { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 240px; text-decoration: none; color: var(--enamel); background: var(--pine); }
  .mfeat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform 500ms var(--ease-out); }
  .mf-t { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(180deg, rgba(26, 10, 82,0), rgba(26, 10, 82,0.92) 60%); display: block; }
  .mf-t b { display: block; font: 500 21px/1.2 var(--serif); }
  .mf-t small { display: block; margin: 6px 0 12px; font-size: 14px; color: rgba(247, 244, 238, 0.85); }
  .mf-t em { font: 600 14px/1 var(--sans); font-style: normal; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
  .mf-t svg { width: 15px; height: 15px; }
  .has-mega:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .has-mega:focus-within .chev { transform: rotate(180deg); }
}
@media (min-width: 1120px) and (hover: hover) and (pointer: fine) {
  .nav a.nl:hover { background: var(--sage); }
  .has-mega:hover > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .has-mega:hover .chev { transform: rotate(180deg); }
  .has-mega:hover > a.nl { background: var(--sage); }
  .mi:hover { background: var(--sage); }
  .mfeat:hover img { transform: scale(1.03); }
}

/* Mobile menu: accordion groups */
.mnav { position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--enamel); padding: 20px var(--gut) 40px; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms; }
.mnav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.macc { border-bottom: 1px solid var(--line); }
.macc summary { list-style: none; cursor: pointer; padding: 18px 0; font: 500 21px/1.2 var(--serif); color: var(--pine); display: flex; justify-content: space-between; align-items: center; }
.macc summary::-webkit-details-marker { display: none; }
.macc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--pine); border-bottom: 1.5px solid var(--pine); transform: rotate(45deg) translateY(-2px); transition: transform 220ms var(--ease-out); margin-right: 4px; }
.macc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.macc[open] > div { animation: ans 240ms var(--ease-out); }
.macc > div { padding: 0 0 14px 4px; display: grid; }
.macc > div a { padding: 11px 0; font: 500 16.5px/1.3 var(--sans); color: var(--graphite); text-decoration: none; border-top: 1px solid rgba(26, 10, 82, 0.08); }
.mlink { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 21px/1.2 var(--serif); color: var(--pine); text-decoration: none; }
.mem { width: 100%; margin-top: 28px; }
@media (min-width: 1120px) { .mnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .macc[open] > div { animation: none; } }

/* Hero */
.hero { padding: 40px 0 56px; position: relative; overflow: hidden; }
@media (min-width: 860px) { .hero { padding: 72px 0 96px; } }
.hero-g { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-g { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero h1 { max-width: 12em; }
.hero .lead { margin: 24px 0 32px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--graphite-2); }
.lens { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.lens > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lens::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--amber); pointer-events: none; }
.lens--sm { width: min(100%, 360px); }
.lens-cap { text-align: center; font-size: 14px; color: var(--graphite-2); margin-top: 28px; }
.rise > * { opacity: 0; transform: translateY(12px); animation: rise 600ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.lens.rise-img { opacity: 0; transform: scale(0.97); animation: rise 700ms var(--ease-out) 200ms forwards; }
@media (prefers-reduced-motion: reduce) { .rise > *, .lens.rise-img { animation: fade 200ms ease forwards; transform: none; } @keyframes fade { to { opacity: 1; } } }

/* Credential bar */
.cred { background: var(--pine); color: var(--enamel); }
.cred ul { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 14px 28px; grid-template-columns: 1fr 1fr; font-size: 14px; line-height: 1.4; }
@media (min-width: 900px) { .cred ul { grid-template-columns: repeat(5, auto); justify-content: space-between; padding: 26px 0; font-size: 14.5px; } }
.cred li { display: flex; flex-direction: column; gap: 3px; }
.cred b { font: 500 16px/1.25 var(--serif); }
.cred span { color: rgba(247, 244, 238, 0.72); font-size: 13px; letter-spacing: 0.02em; }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards--2, .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: 12px; background: var(--enamel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-decoration: none; color: var(--graphite);
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms var(--ease-out); }
.section:not(.section--sage) .card { background: #fff; }
.section--sage .card { background: var(--enamel); border-color: transparent; }
.card:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-3px); border-color: var(--pine); box-shadow: 0 16px 32px -20px rgba(26, 10, 82, 0.4); } .card:active { transform: scale(0.985); } }
.card .ic { width: 36px; height: 36px; }
.card h3 { font-size: 21px; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--graphite-2); }
.card .go { margin-top: auto; padding-top: 8px; font: 600 14px/1 var(--sans); color: var(--pine); display: inline-flex; gap: 8px; align-items: center; }
.card .go svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .go svg { transform: translateX(4px); } }

/* Split */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--rev .split-media { order: 2; } }
.facts { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts .n { font: 500 28px/1 var(--serif); color: var(--pine); }
.facts p { margin: 0; color: var(--graphite-2); font-size: 16.5px; }
.facts b { color: var(--graphite); font-weight: 600; display: block; margin-bottom: 2px; }
.loupe { position: relative; border-radius: var(--r); overflow: hidden; background: var(--sage); touch-action: pan-y; }
.loupe img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.loupe .glass { position: absolute; left: 0; top: 0; width: 150px; height: 150px; border-radius: 50%; border: 2px solid var(--amber); box-shadow: 0 8px 24px rgba(26, 10, 82, 0.35); background-repeat: no-repeat; opacity: 0; scale: 0.9; pointer-events: none; transition: opacity 150ms var(--ease-out), scale 150ms var(--ease-out); }
.loupe.is-on .glass { opacity: 1; scale: 1; }
.loupe-hint { font-size: 13px; color: var(--graphite-2); margin-top: 12px; }
@media (hover: none) { .loupe-hint { display: none; } }
.portrait { border-radius: var(--r); overflow: hidden; background: var(--sage); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; border-top: 1.5px solid var(--pine); padding-top: 20px; }
.steps li::before { content: "0" counter(s); display: block; font: 500 14px/1 var(--sans); letter-spacing: 0.1em; color: var(--graphite-2); margin-bottom: 14px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--graphite-2); font-size: 16.5px; }
.section--pine .steps li { border-color: rgba(247, 244, 238, 0.5); }
.section--pine .steps li::before { color: var(--sage); }
.section--pine .steps p { color: rgba(247, 244, 238, 0.8); }

/* Quote */
.quote { max-width: 46em; }
.quote blockquote { margin: 0; font: 500 26px/1.3 var(--serif); letter-spacing: -0.01em; color: var(--pine); text-wrap: balance; }
@media (min-width: 860px) { .quote blockquote { font-size: 34px; } }
.quote cite { display: block; margin-top: 24px; font: 500 15px/1.4 var(--sans); font-style: normal; color: var(--graphite-2); }

/* Referral banner */
.banner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .banner { grid-template-columns: 1fr auto; gap: 48px; } }

/* Visit */
.visit { display: grid; gap: 40px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 80px; } }
.dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.dl dt { font: 500 13px/1.6 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite-2); }
.dl dd { margin: 0; }
.photo { border-radius: var(--r); overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* Footer */
.ftr { background: var(--pine); color: var(--enamel); padding: 72px 0 120px; }
@media (min-width: 860px) { .ftr { padding-bottom: 48px; } }
.ftr .brand { color: var(--enamel); }
.ftr .brand small { color: rgba(247, 244, 238, 0.7); }
.ftr-g { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .ftr-g { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.ftr-g > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .ftr-g > :first-child { grid-column: auto; } }
.ftr h2 { font: 500 13px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin: 0 0 16px; }
.ftr a { display: block; color: var(--enamel); text-decoration: none; padding: 5px 0; font-size: 15.5px; }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { text-decoration: underline; } }
.ftr p { font-size: 15px; color: rgba(247, 244, 238, 0.78); margin: 16px 0 0; max-width: 28em; }
.fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(247, 244, 238, 0.2); font-size: 13px; color: rgba(247, 244, 238, 0.65); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Mobile sticky bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 244, 238, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .mbar { display: none; } }

/* Page head (inner pages) */
.crumbs { font-size: 14px; color: var(--graphite-2); padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); color: #aaa6bf; }
.crumbs a { color: var(--graphite-2); }
.phead { padding: 28px 0 56px; }
@media (min-width: 860px) { .phead { padding: 40px 0 72px; } }
.phead h1 { max-width: 15em; font-size: 34px; }
@media (min-width: 860px) { .phead h1 { font-size: 52px; } }
.phead .lead { margin-top: 24px; }
.phead .btn-row { margin-top: 32px; }
.answer { background: var(--sage); border-radius: var(--r); padding: 24px 28px; margin-top: 36px; max-width: 46em; }
.answer .label { margin-bottom: 8px; }
.answer p { margin: 0; font-size: 17px; line-height: 1.6; }

.pg { display: grid; gap: 48px; }
@media (min-width: 980px) { .pg { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; } }
.prose > section { margin-bottom: 64px; }
.prose h2 { font-size: 28px; margin-bottom: 20px; }
@media (min-width: 860px) { .prose h2 { font-size: 34px; } }
.prose p, .prose li { color: var(--graphite); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose li::marker { color: var(--pine); }
.ticks { list-style: none !important; padding: 0 !important; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 36px !important; margin: 0 !important; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%231A0A52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='7.5'/%3E%3Cpath d='m5.8 9.2 2.2 2.2 4.2-4.6'/%3E%3C/svg%3E") no-repeat center / contain; }
.note { background: var(--sage); border-radius: var(--r); padding: 20px 24px; margin: 28px 0; color: var(--graphite); box-shadow: inset 0 2px 0 var(--amber); }
.note b { font-family: var(--serif); font-weight: 500; color: var(--pine); display: block; font-size: 20px; margin-bottom: 4px; }
.note--pulse { box-shadow: inset 0 2px 0 var(--pulse); }
.aside { position: sticky; top: 100px; background: var(--pine); color: var(--enamel); border-radius: var(--r); padding: 28px; }
.aside h2 { font-size: 24px; color: var(--enamel); }
.aside p { color: rgba(247, 244, 238, 0.82); font-size: 15.5px; margin: 12px 0 20px; }
.aside .btn { width: 100%; margin-bottom: 10px; }
.aside .dl { border-color: rgba(247, 244, 238, 0.2); margin-top: 20px; }
.aside .dl > div { grid-template-columns: 72px 1fr; padding: 11px 0; border-color: rgba(247, 244, 238, 0.2); font-size: 14.5px; }
.aside .dl dt { color: var(--sage); font-size: 11.5px; }
.aside a { color: var(--enamel); }
@media (max-width: 979px) { .aside { position: static; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 500 20px/1.3 var(--serif); color: var(--pine); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid var(--pine); border-bottom: 1.5px solid var(--pine); transform: translateY(-70%) rotate(45deg); transition: transform 220ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] .ans { animation: ans 240ms var(--ease-out); }
@keyframes ans { from { opacity: 0; transform: translateY(-4px); } }
.faq .ans { padding: 0 0 22px; max-width: 40em; color: var(--graphite); }
.faq .ans p:last-child { margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq details[open] .ans { animation: none; } }

/* Gallery */
.gal { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .gal { grid-template-columns: repeat(3, 1fr); } }
.gal figure { margin: 0; }
.gal img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r); }
.gal .tall img { aspect-ratio: 2/3; }
.gal figcaption { font-size: 14px; color: var(--graphite-2); margin-top: 10px; }

/* Form */
.form { display: grid; gap: 18px; max-width: 520px; }
.form label { display: grid; gap: 8px; font: 500 14px/1.3 var(--sans); letter-spacing: 0.02em; color: var(--graphite); }
.form input, .form select { min-height: 52px; padding: 0 16px; border: 1.5px solid #aaa6bf; border-radius: var(--r); background: #fff; font: 400 16px/1 var(--sans); color: var(--graphite); transition: border-color 150ms ease, box-shadow 150ms ease; width: 100%; }
.form input:focus, .form select:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(26, 10, 82, 0.15); }
.form .help { font-size: 14px; color: var(--graphite-2); margin: 0; }

/* Reveal on scroll (JS adds .js to <html>; content stays visible without it) */
.js .rv { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { transform: none; transition: opacity 200ms ease; } }

/* Emergency page */
.sos { background: var(--pine); color: var(--enamel); border-radius: var(--r); padding: 28px; display: grid; gap: 20px; }
.sos h2 { color: var(--enamel); font-size: 26px; }
.sos p { margin: 0; color: rgba(247, 244, 238, 0.85); }

/* Narrow phones: keep the header on one line */
@media (max-width: 520px) {
  .hdr .wrap { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand svg { width: 32px; height: 32px; }
  .brand b { font-size: 15.5px; }
  .brand small { display: none; }
  .hdr-m { gap: 6px; }
  .hdr-m .btn-sm { padding: 0 11px; font-size: 13px; min-height: 40px; }
  .menu-btn { padding: 0 12px; font-size: 13px; min-height: 40px; }
}
@media (max-width: 520px) { .brand b { font-size: 14px; letter-spacing: -0.02em; } .lens { width: calc(100% - 32px); } }

.visit > *, .pg > *, .split > *, .hero-g > * { min-width: 0; }
.dl dd { overflow-wrap: anywhere; }
@media (max-width: 520px) { .dl > div { grid-template-columns: 88px 1fr; gap: 12px; } }

/* Narrow phones */
.brand-logo { }
@media (max-width: 520px) { .brand small { display: none; } .brand b { font-size: 14.5px; letter-spacing: -0.02em; } .brand-logo { width: 38px; } .hdr-m .btn-sm { padding: 0 11px; font-size: 13px; min-height: 40px; } .menu-btn { padding: 0 12px; font-size: 13px; min-height: 40px; gap: 8px; } .hdr .wrap { gap: 8px; } .hdr-m { gap: 6px; } .brand { gap: 8px; min-width: 0; } }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-top: 20px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 16px; }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--sage); font: 600 13px/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--pine); }
.tbl tbody th { font-weight: 600; color: var(--pine); width: 26%; }
.tbl tr:last-child > * { border-bottom: 0; }
.upd { margin-top: 24px; font-size: 13px; color: var(--graphite-2); }
.flogo { display: inline-block; background: #fff; border-radius: var(--r); padding: 12px 16px; }
.flogo img { width: 112px; height: auto; }
.ftr .flogo { padding: 12px 16px; }
@media (max-width: 450px) { .hdr-m .btn--pulse { display: none; } }

/* ---- Impeccable pass: hierarchy, one authored moment, browser surfaces ---- */
::selection { background: var(--pine); color: var(--enamel); }
html { scrollbar-color: #aaa6bf var(--enamel); accent-color: var(--pine); }
input, select, textarea { caret-color: var(--pine); }
.dl dd, .cred b, .facts .n { font-variant-numeric: tabular-nums; }
@media (min-width: 860px) { h1 { font-size: 58px; } .hero h1 { font-size: 66px; line-height: 1.02; } }
.hero h1, .phead h1 { text-wrap: balance; }

/* worry tiles: the question is the layout */
.qgrid { display: grid; gap: 16px; }
@media (min-width: 720px) { .qgrid { grid-template-columns: 1fr 1fr; } }
.q { display: flex; flex-direction: column; gap: 14px; min-height: 230px; padding: 32px; background: var(--enamel); border-radius: var(--r); text-decoration: none; color: var(--graphite); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms ease; }
.q h3 { font-size: 30px; line-height: 1.12; letter-spacing: -0.02em; max-width: 12em; }
.q p { margin: 0; color: var(--graphite-2); max-width: 28em; font-size: 16.5px; }
.q .go { margin-top: auto; font: 600 14px/1 var(--sans); color: var(--pine); display: inline-flex; gap: 8px; align-items: center; }
.q .go svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.q:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .q:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(26, 10, 82, 0.5); } .q:hover .go svg { transform: translateX(4px); } }

/* everything else: a quiet ruled list instead of a second card grid */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 24px; gap: 4px 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--graphite); transition: padding-left 200ms var(--ease-out), background-color 200ms ease; }
.row b { font: 500 24px/1.2 var(--serif); color: var(--pine); }
.row span { grid-column: 1; color: var(--graphite-2); font-size: 16px; }
.row svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; justify-self: end; transition: transform 200ms var(--ease-out); }
@media (min-width: 860px) { .row { grid-template-columns: 340px 1fr 24px; } .row span { grid-column: 2; } .row svg { grid-column: 3; grid-row: auto; } }
@media (hover: hover) and (pointer: fine) { .row:hover { padding-left: 12px; background: var(--sage); } .row:hover svg { transform: translateX(4px); } }

/* page heads: the lens ring as quiet signature, credential bar rules */
.phead { position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -140px; top: 50%; width: 460px; height: 460px; border: 1.5px solid rgba(26, 10, 82, 0.1); border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.phead .wrap { position: relative; z-index: 1; }
@media (max-width: 859px) { .phead::after { display: none; } }
.cred li + li { position: relative; }
@media (min-width: 900px) { .cred li + li::before { content: ""; position: absolute; left: -16px; top: 4px; bottom: 4px; width: 1px; background: rgba(247, 244, 238, 0.22); } }
.section--pine .sh h2, .section--pine h2 { font-size: 34px; }
@media (min-width: 860px) { .section--pine h2 { font-size: 44px; } }
.answer { box-shadow: inset 0 2px 0 var(--amber); }

/* ================= Clinical precision layer ================= */
body { background: var(--enamel); }
.section--sage, .section--pine { position: relative; }
.mono { font-family: var(--mono); }
.btn { letter-spacing: -0.005em; }
.card, .q, .aside, .answer, .note, .tbl, .photo, .portrait, .gal img, .mfeat, .mega { border-radius: var(--r); }
.q { border: 1px solid var(--line); }
.section--sage .q { border-color: transparent; }
.answer, .note { box-shadow: none; border: 1px solid var(--line); background: #fff; }
.answer, .note { border-radius: 0; border-left: 0; position: relative; }
.answer::before, .note::before { content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 3px; background: var(--amber); }
.note--pulse::before { background: var(--pulse); }
.cred b { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
.cred span { font-size: 14px; }

/* hero */
.hero { padding: 36px 0 64px; border-bottom: 1px solid var(--line); }
.hero { background-color: var(--enamel); position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
@media (min-width: 860px) { .hero { padding: 64px 0 88px; } }
.hero-g { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-g { grid-template-columns: 1fr 0.9fr; gap: 72px; } }
.hero h1 { max-width: 10.5em; }
.hero .lead { max-width: 30em; }
.proofline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 12px/1.5 var(--mono); letter-spacing: 0.03em; text-transform: uppercase; color: var(--graphite-2); }
.proofline i { font-style: normal; color: var(--amber); }
.open-chip { display: inline-flex; align-items: center; gap: 8px; }
.open-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9aa0b8; }
.open-chip.is-open::before { background: #2f9e6b; box-shadow: 0 0 0 0 rgba(47, 158, 107, 0.5); animation: ping 2.2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 7px rgba(47, 158, 107, 0); } }
@media (prefers-reduced-motion: reduce) { .open-chip.is-open::before { animation: none; } }

/* microscope lens explorer */
.scope-wrap { position: relative; padding: 24px 0 0 24px; }
.scope-wrap::before, .scope-wrap::after { content: ""; position: absolute; pointer-events: none; opacity: 0.55;
  background: repeating-linear-gradient(90deg, var(--pine) 0 1px, transparent 1px 8px) left bottom / 100% 5px no-repeat, repeating-linear-gradient(90deg, var(--pine) 0 1px, transparent 1px 40px) left bottom / 100% 10px no-repeat; }
.scope-wrap::before { left: 24px; right: 0; top: 4px; height: 12px; }
.scope-wrap::after { left: 4px; top: 24px; bottom: 0; width: 12px; background: repeating-linear-gradient(0deg, var(--pine) 0 1px, transparent 1px 8px) right top / 5px 100% no-repeat, repeating-linear-gradient(0deg, var(--pine) 0 1px, transparent 1px 40px) right top / 10px 100% no-repeat; }
.scope { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sage); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(26, 10, 82, 0.55); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.scope-lens { touch-action: none; }
.scope img { width: 100%; display: block; pointer-events: none; -webkit-user-drag: none; }
.scope--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.scope--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.scope-lens { position: absolute; left: 0; top: 0; width: var(--S, 156px); height: var(--S, 156px); border-radius: 50%; cursor: grab; background-repeat: no-repeat; background-color: var(--sage);
  box-shadow: 0 0 0 2px var(--amber), 0 0 0 7px rgba(251, 251, 253, 0.7), 0 22px 40px -12px rgba(26, 10, 82, 0.6); transition: scale 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.scope-lens::before, .scope-lens::after { content: ""; position: absolute; background: rgba(251, 251, 253, 0.85); mix-blend-mode: difference; }
.scope-lens::before { left: 50%; top: 14%; bottom: 14%; width: 1px; }
.scope-lens::after { top: 50%; left: 14%; right: 14%; height: 1px; }
.scope-lens:active, .scope.is-drag .scope-lens { cursor: grabbing; scale: 1.04; }
.scope-lens:focus-visible { outline: 2px solid var(--pine); outline-offset: 8px; }
.scope-tag { position: absolute; z-index: 1; padding: 5px 8px; font: 500 11px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; background: var(--pine); color: var(--enamel); border-radius: 3px; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
.scope-tag.on { opacity: 1; transform: none; }
.scope-out { display: grid; gap: 4px; padding: 16px 0 0; min-height: 92px; }
.scope-out b { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }
.scope-out span { font-size: 16px; line-height: 1.5; color: var(--graphite); max-width: 32em; }
.scope-hint { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 7px 10px; font: 500 12px/1 var(--mono); letter-spacing: 0.03em; background: rgba(251, 251, 253, 0.92); color: var(--pine); border-radius: 3px; pointer-events: none; transition: opacity 300ms ease; }
.scope.is-touched .scope-hint { opacity: 0; }
@media (max-width: 520px) { .scope-lens { --S: 124px; } }

/* look / explain / treat stepper with tooth diagram */
.journey { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .journey { grid-template-columns: 1fr 380px; gap: 80px; } }
.jlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(251, 251, 253, 0.28); }
.jlist li { border-bottom: 1px solid rgba(251, 251, 253, 0.28); }
.jbtn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; width: 100%; padding: 22px 0; color: var(--enamel); -webkit-tap-highlight-color: transparent; }
.jbtn:focus-visible { outline: 2px solid var(--enamel); outline-offset: 2px; }
.jbtn .n { font: 500 13px/1.9 var(--mono); color: var(--sage); opacity: 0.7; }
.jbtn h3 { font-size: 28px; color: var(--enamel); opacity: 0.55; transition: opacity 200ms ease; }
.jbtn p { grid-column: 2; margin: 0; color: rgba(251, 251, 253, 0.82); max-width: 30em; }
.js .jlist li p { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 320ms var(--ease-out), opacity 200ms ease; }
.js .jlist li.on p { max-height: 160px; opacity: 1; margin-top: 8px; }
.jlist li.on h3 { opacity: 1; }
.jlist li.on .n { color: var(--amber); opacity: 1; }
.jbtn:active { scale: 0.995; }
.tooth { width: 100%; max-width: 360px; margin: 0 auto; }
.tooth svg { width: 100%; height: auto; overflow: visible; }
.tooth .outline { fill: rgba(251, 251, 253, 0.05); stroke: var(--enamel); stroke-width: 0.22; stroke-linejoin: round; }
.tooth .pulp { fill: rgba(200, 146, 59, 0); stroke: rgba(251, 251, 253, 0.55); stroke-width: 0.25; transition: fill 400ms var(--ease-out), stroke 300ms ease; }
.tooth .canal { fill: none; stroke: rgba(251, 251, 253, 0.55); stroke-width: 0.45; stroke-linecap: round; transition: stroke 400ms var(--ease-out), stroke-width 400ms var(--ease-out); }
.tooth .scan { fill: none; stroke: var(--amber); stroke-width: 0.25; opacity: 0; }
.tooth .crown { fill: none; stroke: var(--amber); stroke-width: 0.35; opacity: 0; transform: translateY(-1.5px); transition: opacity 400ms var(--ease-out) 150ms, transform 400ms var(--ease-out) 150ms; }
.tooth .tag { font: 500 0.95px var(--mono); fill: var(--sage); letter-spacing: 0.04em; opacity: 0; transition: opacity 300ms ease 200ms; }
[data-step="1"] .scan { opacity: 1; animation: scan 2.4s var(--ease-in-out) infinite; }
@keyframes scan { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(19px); } }
[data-step="2"] .pulp { fill: rgba(200, 146, 59, 0.55); stroke: var(--amber); }
[data-step="2"] .canal { stroke: var(--amber); }
[data-step="2"] .tag-2 { opacity: 1; }
[data-step="3"] .pulp { fill: rgba(251, 251, 253, 0.85); stroke: var(--enamel); }
[data-step="3"] .canal { stroke: var(--enamel); stroke-width: 0.6; }
[data-step="3"] .crown { opacity: 1; transform: none; }
[data-step="3"] .tag-3 { opacity: 1; }
[data-step="1"] .tag-1 { opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-step="1"] .scan { animation: none; transform: translateY(11px); } }

/* reassurance line near CTAs */
.assure { margin-top: 14px; font-size: 14px; color: var(--graphite-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid #b7bad0; border-radius: 6px; font: 500 14px/1 var(--sans); background: #fff; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.chips span:active { transform: scale(0.97); }
.chips input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--enamel); }
.chips input:focus-visible + span { outline: 2px solid var(--pine); outline-offset: 2px; }
.req::after { content: " *"; color: var(--pulse); }

/* credential bar: the doctor first, then the proof */
.cred .wrap { display: grid; gap: 4px 40px; align-items: center; }
@media (min-width: 900px) { .cred .wrap { grid-template-columns: auto 1fr; } }
.cred-doc { display: flex; align-items: center; gap: 16px; padding: 22px 0 6px; text-decoration: none; color: var(--enamel); }
@media (min-width: 900px) { .cred-doc { padding: 26px 0; padding-right: 40px; border-right: 1px solid rgba(251, 251, 253, 0.22); align-self: stretch; } }
.cred-doc img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; box-shadow: 0 0 0 2px var(--amber), 0 0 0 5px rgba(251, 251, 253, 0.16); transition: scale 200ms var(--ease-out); }
.cred-doc b { display: block; font: 600 18px/1.2 var(--serif); letter-spacing: -0.01em; text-transform: none; color: var(--enamel); }
.cred-doc small { display: block; margin-top: 4px; font: 500 12px/1.3 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: rgba(251, 251, 253, 0.7); }
@media (hover: hover) and (pointer: fine) { .cred-doc:hover img { scale: 1.05; } }
.cred-doc:active img { scale: 0.97; }
.cred ul { padding-top: 14px; }
@media (min-width: 900px) { .cred ul { padding: 26px 0; grid-template-columns: repeat(4, auto); } .cred li:last-child { display: none; } }
.ftr a.flogo { display: inline-block; width: auto; padding: 10px 12px; margin-bottom: 4px; background: #fff; border-radius: 6px; line-height: 0; }
.ftr .flogo img { width: 84px; height: auto; display: block; }

/* light footer */
.ftr { background: var(--sage); color: var(--graphite); border-top: 1px solid var(--line); }
.ftr .brand, .ftr h2 { color: var(--pine); }
.ftr h2 { font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; color: var(--graphite-2); }
.ftr a { color: var(--pine); }
.ftr a.flogo { background: none; padding: 0; margin-bottom: 8px; border-radius: 0; mix-blend-mode: multiply; }
.ftr .flogo img { width: 96px; }
.ftr p { color: var(--graphite-2); }
.fine { border-top: 1px solid var(--line); color: var(--graphite-2); }
.fine a { color: var(--pine); }
@media (hover: hover) and (pointer: fine) { .ftr a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; } }

.hero h1 { max-width: 13em; }
@media (min-width: 960px) { .hero h1 { font-size: 56px; } }
