/* Lumen Dental Studio: tokens, base type, buttons, header, menu, CTA band and footer. */
:root {
  --ivory: #F7F4EF;
  --sand: #EDE7DD;
  --stone: #D8CFC2;
  --ink: #141414;
  --ink-deep: #0F0F0F;
  --bronze: #8A6A3F;        /* eyebrows on ivory (AA) */
  --bronze-deep: #7F6139;   /* eyebrows on sand (AA) */
  --champagne: #C9A46E;     /* eyebrows on ink */
  --numeral: #C9B89E;
  --muted: #4E4840;
  --muted-2: #6E675D;
  --on-dark: #C8C1B6;
  --on-dark-2: #A39C91;
  --line: #E4DED4;
  --line-strong: #D6CEC1;
  --line-dark: rgba(247, 244, 239, .16);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --fs-h2: clamp(38px, 4.4vw, 60px);
  --gutter: clamp(20px, 4.4vw, 56px);
  --section-y: clamp(72px, 9vw, 128px);
  --max-w: 1440px;
  --radius: 2px;
  --ease-reveal: cubic-bezier(.2, .7, .1, 1);
  --ease-wipe: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--ivory); -webkit-font-smoothing: antialiased; }
body { color: var(--ink); font-family: var(--font-body); min-height: 100vh; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.serif { font-family: var(--font-display); font-weight: 400; }
.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.eyebrow--dark { color: var(--champagne); }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.01em; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); }
.text-link { align-self: flex-start; font-weight: 600; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn { display: inline-block; border-radius: var(--radius); font-weight: 600; font-size: 15px; letter-spacing: .04em; padding: 17px 28px; border: 0; cursor: pointer; text-align: center; }
.btn--dark { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); padding: 18px 30px; }
.btn--outline { border: 1px solid var(--ink); padding: 16px 24px; letter-spacing: 0; }
.btn--sm { padding: 12px 20px; font-size: 14px; }

/* Header */
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); }
.site-nav, .site-actions { flex: 1; display: flex; align-items: center; font-size: 14px; font-weight: 500; white-space: nowrap; }
.site-nav { gap: 30px; }
.site-actions { gap: 24px; justify-content: flex-end; }
.wordmark { flex: none; white-space: nowrap; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark__name { font-family: var(--font-display); font-size: 30px; letter-spacing: .2em; padding-left: .2em; }
.wordmark__sub { font-size: 10px; letter-spacing: .42em; margin-top: 6px; color: var(--muted-2); padding-left: .42em; }
.menu-toggle { display: none; border: 1px solid var(--ink); background: none; border-radius: var(--radius); padding: 10px 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 26px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 10px 0; }
.mobile-menu .btn { margin-top: 14px; font-family: var(--font-body); font-size: 15px; padding: 16px; }

@media (max-width: 1179px) {
  .site-nav, .site-actions { display: none; }
  .menu-toggle { display: block; }
}
@media (min-width: 1180px) {
  .mobile-menu, .mobile-menu[hidden] { display: none; }
}

/* Shared CTA band */
.cta { border-top: 1px solid var(--line); }
.cta__inner { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.cta__title { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.015em; max-width: 760px; }
.cta__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta__note { font-size: 15px; color: var(--muted); max-width: 340px; line-height: 1.6; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--on-dark-2); }
.site-footer__inner { display: flex; flex-direction: column; gap: 48px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 36px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.site-footer__brand .wordmark__name { font-size: 28px; color: var(--ivory); padding-left: 0; }
.site-footer__brand span + span { font-size: 10px; letter-spacing: .42em; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__heading { color: var(--ivory); font-weight: 600; font-size: 14px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(163, 156, 145, .2); font-size: 12px; color: #8A847A; }
.site-footer__legal div { display: flex; gap: 20px; }

/* Entrance motion */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { transform: translateY(105%); } to { transform: none; } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: scale(1.04); } }
.fade-up { animation: fadeUp .9s both; }
.line { display: block; overflow: hidden; padding-bottom: 8px; }
.line > * { display: block; animation: reveal 1.2s var(--ease-reveal) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-6 { animation-delay: .6s; }
.delay-10 { animation-delay: 1s; }
.delay-11 { animation-delay: 1.15s; }
.delay-13 { animation-delay: 1.3s; }
.delay-16 { animation-delay: 1.6s; animation-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
