/* Family Dental Care concept: "Velvet Hour". Shared look for every page. */
:root {
  --sc-canvas: #0A1124;
  --sc-surface: #142042;
  --sc-ink: #FBF2E9;
  --sc-ink-soft: #BDB9CC;
  --sc-accent: #FFB27A;
  --sc-accent-ink: #1A1020;
  --sc-font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --sc-font-text: "Karla", system-ui, sans-serif;
  --sc-shadow-color: 228 60% 4%;
  --velvet: #101A36;
  --velvet-2: #1B2A55;
  --glow: 255 178 122;          /* the mirror's warm light, as rgb channels */
  --bar-h: 84px;
  --r: 14px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
html { background: var(--sc-canvas); }
body {
  background: var(--sc-canvas);
  color: var(--sc-ink);
  font-family: var(--sc-font-text);
  font-size: var(--sc-t-base);
  line-height: 1.66;
  letter-spacing: 0.005em;
}
::selection { background: rgb(var(--glow) / 0.85); color: var(--sc-accent-ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.wrap-any { overflow-wrap: anywhere; }
.soft { color: var(--sc-ink-soft); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sc-accent); color: var(--sc-accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h-xxl, .h-xl, .h-lg, .h-md { font-family: var(--sc-font-display); font-weight: 400; text-wrap: balance; margin: 0; }
.h-xxl { font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6.4rem); line-height: 0.98; letter-spacing: -0.025em; }
.h-xl  { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 1.0; letter-spacing: -0.022em; }
.h-lg  { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.018em; }
.h-md  { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.1rem); line-height: 1.12; letter-spacing: -0.01em; }
.h-xxl em, .h-xl em, .h-lg em, .h-md em { font-style: italic; color: var(--sc-accent); }
.kicker { font-size: var(--sc-t-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-accent); font-weight: 600; margin: 0 0 var(--sc-4); }
.lede { font-size: var(--sc-t-lg); line-height: 1.55; color: var(--sc-ink); max-width: 46ch; text-wrap: pretty; }
.body { color: var(--sc-ink-soft); max-width: 62ch; text-wrap: pretty; }
.body strong { color: var(--sc-ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 600 1rem/1 var(--sc-font-text); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; transition: transform 140ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--glow { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: 0 6px 22px -8px rgb(var(--glow) / 0.75); }
.btn--line { border: 1.5px solid color-mix(in oklab, var(--sc-ink) 45%, transparent); color: var(--sc-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--glow:hover { background: #FFC59A; box-shadow: 0 10px 28px -8px rgb(var(--glow) / 0.85); }
  .btn--line:hover { border-color: var(--sc-ink); background: rgb(251 242 233 / 0.06); }
}

/* ---------- the bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h); display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); padding: 0 var(--sc-gutter); background: linear-gradient(180deg, rgb(10 17 36 / 0.92), rgb(10 17 36 / 0.7)); border-bottom: 1px solid rgb(251 242 233 / 0.07); transition: background-color 200ms var(--ease); }
.bar__logo { display: block; flex: none; margin-right: auto; }
.bar__logo img { display: block; height: 58px; width: auto; }
.bar__nav { display: flex; gap: clamp(14px, 1.5vw, 26px); }
.bar__nav a { font-size: 1.12rem; font-weight: 500; text-decoration: none; color: var(--sc-ink); padding: 6px 0; background: linear-gradient(var(--sc-accent), var(--sc-accent)) left 100% / 0 1.5px no-repeat; transition: background-size 200ms var(--ease); }
.bar__nav a:hover, .bar__nav a[aria-current="page"] { background-size: 100% 1.5px; }
.bar__tel { font-weight: 600; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.bar__book { min-height: 46px; padding: 0 22px; }

/* the breathing chip: a tiny halo that keeps breathing down the page */
.breath { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid rgb(251 242 233 / 0.18); border-radius: 999px; padding: 6px 14px 6px 8px; color: var(--sc-ink-soft); font: 500 0.9rem/1 var(--sc-font-text); cursor: pointer; }
.breath__ring { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, transparent 46%, rgb(var(--glow)) 52%, rgb(var(--glow) / 0.5) 60%, transparent 72%); animation: breathe 10s cubic-bezier(.45,.05,.35,1) infinite; }
.breath__word { min-width: 4.4em; text-align: left; }
.breath[aria-pressed="false"] .breath__ring { animation-play-state: paused; opacity: .55; }
@keyframes breathe { 0%, 100% { transform: scale(0.62); } 40% { transform: scale(1); } }

.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid rgb(251 242 233 / 0.25); color: var(--sc-ink); border-radius: 999px; padding: 8px 16px 8px 10px; font: 600 1rem/1 var(--sc-font-text); cursor: pointer; }
.menu-btn__halo { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(var(--glow)); }
.menu { position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 49; background: #0D1630; border-bottom: 1px solid rgb(251 242 233 / 0.1); box-shadow: var(--sc-e3); max-height: calc(100dvh - var(--bar-h)); overflow: auto; }
.menu__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sc-6); padding: var(--sc-6) var(--sc-gutter) var(--sc-7); max-width: var(--sc-maxw); margin: 0 auto; }
.menu__col { display: flex; flex-direction: column; gap: 4px; }
.menu__col a:not(.btn) { font-family: var(--sc-font-display); font-size: 1.45rem; text-decoration: none; padding: 6px 0; }
.menu__col a:not(.btn):hover { color: var(--sc-accent); }
.menu__head { font-size: var(--sc-t-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft); margin: 0 0 8px; }
.menu__col--act { gap: 12px; align-items: flex-start; }
.menu__note { color: var(--sc-ink-soft); margin: 4px 0 0; }

@media (max-width: 1360px) { .bar__tel { display: none; } }
@media (max-width: 1180px) {
  .bar__nav, .breath { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 700px) {
  :root { --bar-h: 70px; }
  .bar__logo img { height: 44px; }
  .bar__book { min-height: 42px; padding: 0 16px; font-size: .95rem; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 9px; }
  .menu__in { grid-template-columns: 1fr; gap: var(--sc-5); }
}
@media (max-width: 380px) { .bar__logo img { height: 38px; } .bar { gap: 10px; } }

/* ---------- footer ---------- */
.foot { position: relative; background: #070C1B; border-top: 1px solid rgb(251 242 233 / 0.08); }
.foot__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sc-5); padding: var(--sc-8) var(--sc-gutter); max-width: var(--sc-maxw); margin: 0 auto; border-bottom: 1px solid rgb(251 242 233 / 0.08); }
.foot__cta-line { font-family: var(--sc-font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.1; margin: 0; max-width: 22ch; }
main:has(.close) + .foot .foot__cta { display: none; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--sc-7); padding: var(--sc-8) var(--sc-gutter) var(--sc-7); max-width: var(--sc-maxw); margin: 0 auto; }
.foot__logo { height: 54px; width: auto; display: block; margin-bottom: var(--sc-4); }
.foot__tag { color: var(--sc-ink-soft); max-width: 36ch; }
.foot__lines { margin-top: var(--sc-4); }
.foot__tel { font-family: var(--sc-font-display); font-size: 1.6rem; text-decoration: none; }
.foot__social a { margin-right: 14px; color: var(--sc-ink-soft); }
.foot__head { font-size: var(--sc-t-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--sc-accent); font-weight: 600; margin: 0 0 var(--sc-3); }
.foot__visit p { margin: 0 0 var(--sc-3); }
.foot__links { display: flex; flex-direction: column; gap: 6px; }
.foot__links a { color: var(--sc-ink-soft); text-decoration: none; }
.foot__links a:hover, .foot__social a:hover { color: var(--sc-ink); }
.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgb(251 242 233 / 0.08); padding: 4px 0; }
.hours dt { color: var(--sc-ink-soft); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours--small { max-width: 300px; font-size: var(--sc-t-sm); }
.concept { padding: var(--sc-5) var(--sc-gutter) var(--sc-6); border-top: 1px solid rgb(251 242 233 / 0.08); background: #050914; }
.concept p { max-width: var(--sc-maxw); margin: 0 auto; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.concept a { color: var(--sc-ink); }
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr; gap: var(--sc-6); } }
