/* Primary Dental Campbelltown concept: shared look ("Royal Line-up"). */
:root {
  --sc-canvas: #04143F;
  --sc-surface: #0A2470;
  --sc-ink: #F3F7FF;
  --sc-ink-soft: #AFC0E6;
  --sc-accent: #7CD150;
  --sc-accent-ink: #04143F;
  --sc-font-display: "Sora", system-ui, sans-serif;
  --sc-font-text: "Plus Jakarta Sans", system-ui, sans-serif;
  --sc-font-mono: "JetBrains Mono", ui-monospace, monospace;
  --sc-shadow-color: 226 80% 4%;

  --night: #030E30;
  --royal: #04143F;
  --royal-2: #0A2470;
  --royal-3: #0F2F8C;
  --brand-blue: #0047BA;
  --leaf: #7CD150;
  --leaf-hi: #93E066;
  --leaf-brand: #6ABF4B;
  --paper: #FFFDF6;
  --paper-2: #F2EEE2;
  --paper-ink: #0B1A3A;
  --paper-soft: #4A5876;
  --bar-h: 84px;
}

html { background: var(--royal); }
body { background: var(--royal); color: var(--sc-ink); font-family: var(--sc-font-text); }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.wrap-any { overflow-wrap: anywhere; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--leaf); color: var(--royal); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; white-space: nowrap;
  font: 700 1rem/1 var(--sc-font-display); letter-spacing: -.01em; padding: .9em 1.35em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out); }
.btn:active { transform: scale(.97); }
.btn--lg { font-size: 1.08rem; padding: 1em 1.6em; }
.btn--leaf { background: var(--leaf); color: var(--royal); box-shadow: 0 10px 24px -10px #7cd15099, var(--sc-e1); }
.btn--ghost { border-color: #ffffff55; color: var(--sc-ink); background: #ffffff0d; }
.btn--paper { border-color: var(--paper-ink); color: var(--paper-ink); background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn--leaf:hover { background: var(--leaf-hi); }
  .btn--ghost:hover { border-color: var(--sc-ink); background: #ffffff1a; }
  .btn--paper:hover { background: var(--paper-ink); color: var(--paper); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; height: var(--bar-h); z-index: 90; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px);
  padding: 0 clamp(16px, 3vw, 44px); background: color-mix(in oklab, var(--royal) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid #ffffff14; }
.bar__logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; flex: none; }
.bar__logo img { height: 46px; width: auto; display: block; margin-left: -6px; }
.bar__loc { font: 600 .8rem/1 var(--sc-font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin: -4px 0 0 52px; }
.nav { display: flex; gap: clamp(12px, 1.4vw, 26px); margin-left: auto; }
.nav a { font: 600 1.06rem/1 var(--sc-font-text); text-decoration: none; color: var(--sc-ink); padding: 8px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--sc-ease-out); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.bar__tel { font: 700 1.02rem/1 var(--sc-font-display); text-decoration: none; white-space: nowrap; color: var(--sc-ink); }
.bar__tel-l { color: var(--sc-ink-soft); font-weight: 500; margin-right: 2px; }
.bar__book { padding: .8em 1.2em; }
.menu-btn { display: none; align-items: center; gap: 10px; background: #ffffff12; color: var(--sc-ink); border: 1px solid #ffffff40; border-radius: 999px;
  padding: 10px 16px; font: 700 1rem var(--sc-font-display); cursor: pointer; }
.menu-btn__bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-btn__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: currentColor; }
@media (max-width: 1360px) { .bar__tel { display: none; } }
@media (max-width: 1220px) { .nav { display: none; } .menu-btn { display: inline-flex; } .bar__book { margin-left: auto; } }
@media (max-width: 560px) { :root { --bar-h: 70px; } .bar__logo img { height: 36px; } .bar__loc { font-size: .68rem; margin-left: 41px; } .bar__book { display: none; } .menu-btn { margin-left: auto; } }

.menu { position: fixed; inset: var(--bar-h) 0 0 0; z-index: 85; background: var(--night); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__in { max-width: 1100px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px) 120px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.menu__col { display: flex; flex-direction: column; gap: 4px; }
.menu__col a:not(.btn) { font: 700 clamp(1.5rem, 4vw, 2.3rem)/1.2 var(--sc-font-display); text-decoration: none; padding: 6px 0; border-bottom: 1px solid #ffffff14; }
.menu__col--act { gap: 14px; align-items: flex-start; }
.menu__note { color: var(--sc-ink-soft); margin-top: 10px; }
@media (max-width: 760px) { .menu__in { grid-template-columns: 1fr; } }

.dock { display: none; }
@media (max-width: 560px) {
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; }
  .dock a { text-align: center; padding: 16px 10px calc(16px + env(safe-area-inset-bottom)); font: 700 1.02rem var(--sc-font-display); text-decoration: none; }
  .dock__call { background: var(--royal-2); color: var(--sc-ink); }
  .dock__book { background: var(--leaf); color: var(--royal); }
  body { padding-bottom: 60px; }
}

/* ---------- quote tab (signature): paper hanging under the bar ---------- */
.qtab { position: absolute; right: clamp(16px, 3vw, 44px); top: calc(100% - 1px); width: 250px; font-family: var(--sc-font-mono); }
.qtab__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer;
  background: var(--paper); color: var(--paper-ink); border: 0; padding: 9px 12px 11px; font: 700 .78rem var(--sc-font-mono);
  border-radius: 0 0 6px 6px; box-shadow: 0 10px 22px -8px #0009;
  --tear: radial-gradient(circle at 5px 100%, transparent 4px, var(--paper) 4.5px); }
.qtab__title { letter-spacing: .06em; text-transform: uppercase; }
.qtab__count { color: var(--brand-blue); }
.qtab.is-bump .qtab__btn { animation: qbump 420ms var(--sc-ease-out); }
@keyframes qbump { 0% { transform: translateY(0); } 35% { transform: translateY(6px); } 100% { transform: translateY(0); } }
.qtab__paper { background: var(--paper); color: var(--paper-ink); margin-top: -4px; padding: 8px 12px 14px; border-radius: 0 0 6px 6px;
  box-shadow: 0 18px 30px -10px #000a; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 320ms var(--sc-ease-out), visibility 0s 320ms; }
.qtab.is-open .qtab__paper { max-height: 70vh; overflow-y: auto; visibility: visible; transition: max-height 320ms var(--sc-ease-out); }
.qtab__lines li { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; padding: 5px 0; border-bottom: 1px dashed #0b1a3a33; }
.qtab__lines li b { text-align: right; } .qtab__lines li span { min-width: 0; overflow-wrap: anywhere; }
.qtab__tot { display: flex; justify-content: space-between; font: 700 .8rem var(--sc-font-mono); padding-top: 8px; color: var(--brand-blue); }
.qtab__note { font: 500 .66rem/1.45 var(--sc-font-text); color: var(--paper-soft); margin-top: 8px; }
.qtab__lines:empty::before { content: "Scroll past a price and it lands here."; display: block; font-size: .72rem; color: var(--paper-soft); padding: 4px 0 2px; }
@media (max-width: 1220px) { .qtab { width: 210px; } }
@media (max-width: 560px) { .qtab { right: 12px; width: 168px; } .qtab__btn { font-size: .68rem; padding: 7px 9px 9px; } }
.qline-enter { animation: qline 520ms var(--sc-ease-out); }
@keyframes qline { from { opacity: 0; transform: translateY(-6px); background: #7cd15055; } to { opacity: 1; transform: none; background: transparent; } }

/* ---------- shared section type ---------- */
.sec { padding-block: clamp(4.5rem, 8vw, 8rem); position: relative; }
.sec__in { max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.h2 { font: 800 clamp(2rem, 1.4rem + 2.2vw, 3.2rem)/1.04 var(--sc-font-display); letter-spacing: -.035em; text-wrap: balance; }
.h3 { font: 700 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.15 var(--sc-font-display); letter-spacing: -.02em; }
.lede { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.6; color: var(--sc-ink-soft); max-width: 58ch; text-wrap: pretty; }
.kicker { font: 700 .82rem/1 var(--sc-font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.prose p { line-height: 1.7; max-width: 66ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }

/* itemised line (the grammar's unit) */
.items { display: grid; gap: 0; }
.item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 15px 0; border-bottom: 1px solid #ffffff16; }
.item__k { font: 600 1.06rem var(--sc-font-text); }
.item__dots { border-bottom: 2px dotted #afc0e655; transform: translateY(-4px); min-width: 20px; }
.item__v { font: 700 1.06rem var(--sc-font-display); text-align: right; color: var(--sc-ink); }
.item__v--big { font-size: 1.6rem; color: var(--leaf); }
.items--tight .item { padding: 11px 0; }
@media (max-width: 560px) { .item { grid-template-columns: 1fr; gap: 2px; } .item__dots { display: none; } .item__v { text-align: left; color: var(--leaf); } }

/* ---------- footer ---------- */
.foot { background: var(--night); border-top: 1px solid #ffffff14; position: relative; z-index: 2; }
.foot__in { max-width: 1240px; margin: 0 auto; padding: 64px clamp(16px, 4vw, 48px) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr .8fr; gap: 40px; }
.foot__logo { height: 44px; width: auto; margin-left: -6px; }
.foot__tag { color: var(--sc-ink-soft); margin-top: 14px; max-width: 40ch; line-height: 1.6; }
.foot__tel { font: 800 1.6rem var(--sc-font-display); text-decoration: none; color: var(--leaf); display: inline-block; margin-top: 14px; }
.foot__small { color: var(--sc-ink-soft); font-size: .88rem; margin-top: 10px; }
.foot__head { font: 700 .8rem var(--sc-font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-bottom: 14px; }
.foot__col p { line-height: 1.6; }
.foot__col p + p { margin-top: 10px; }
.foot__links { display: flex; flex-direction: column; gap: 8px; }
.foot__links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.foot__social { color: var(--sc-ink-soft); margin-top: 8px; }
.hours { border-collapse: collapse; width: 100%; font-size: .95rem; }
.hours th { text-align: left; font-weight: 500; color: var(--sc-ink-soft); padding: 5px 12px 5px 0; }
.hours td { text-align: right; font-weight: 700; padding: 5px 0; white-space: nowrap; }
.concept { border-top: 1px solid #ffffff14; padding: 22px clamp(16px, 4vw, 48px) 28px; text-align: center; font-size: .86rem; color: var(--sc-ink-soft); }
.concept p { max-width: 900px; margin: 0 auto; line-height: 1.6; }
.concept a { color: var(--sc-ink); }
@media (max-width: 1000px) { .foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__in { grid-template-columns: 1fr; gap: 30px; } }

::selection { background: var(--leaf); color: var(--royal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
