/* Appin Dental Surgery concept · "Evergreen, Held" · shared look for every page */
:root {
  --sc-canvas: #0B2218;
  --sc-surface: #164430;
  --sc-ink: #F3EFE4;
  --sc-ink-soft: #B9CBBE;
  --sc-accent: #9FDDA9;
  --sc-accent-ink: #0B2218;
  --sc-hairline: rgba(243, 239, 228, .14);
  --sc-hairline-strong: rgba(243, 239, 228, .28);
  --sc-font-display: "DM Serif Display", Georgia, serif;
  --sc-font-text: "Outfit", system-ui, sans-serif;
  --sc-shadow-color: 150deg 60% 3%;

  --ever-deep: #071710;
  --ever: #0B2218;
  --ever-2: #12301F;
  --ever-3: #164430;
  --brand: #2E6B50;
  --leaf: #9FDDA9;
  --ivory: #F3EFE4;
  --ivory-2: #E8E2D2;
  --ink-dark: #0E2A1E;
  --ink-dark-soft: #42594C;
  --bar-h: 84px;
  --r: 22px;
}

html { scroll-padding-top: calc(var(--bar-h) + 12px); }
body { background: var(--ever); color: var(--sc-ink); font-family: var(--sc-font-text); font-weight: 400; letter-spacing: .005em; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; }
img { max-width: 100%; }
a { color: inherit; }
.wrap-any { overflow-wrap: anywhere; }
em { font-style: italic; }
h1 em, h2 em, h3 em, .serif em { color: var(--leaf); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--leaf); color: var(--ever); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; font: 600 1.02rem/1 var(--sc-font-text); text-decoration: none; white-space: nowrap; transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--leaf { background: var(--leaf); color: var(--ever); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--line { color: var(--sc-ink); box-shadow: inset 0 0 0 1.5px var(--sc-hairline-strong); }
.btn--dark { background: var(--ever); color: var(--ivory); }
@media (hover: hover) and (pointer: fine) {
  .btn--leaf:hover { background: #B6E9BD; }
  .btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--leaf); color: var(--leaf); }
  .btn--dark:hover { background: var(--brand); }
}
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2.5px solid var(--leaf); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--leaf); font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 1.5px; }

/* ---------- type ---------- */
.serif { font-family: var(--sc-font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; text-wrap: balance; }
.h-xxl { font-size: clamp(2.9rem, 1.6rem + 4.6vw, 6.2rem); }
.h-xl { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.6rem); }
.h-lg { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); }
.h-md { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.kicker { font: 600 .82rem/1.2 var(--sc-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); }
.lede { font-size: clamp(1.12rem, 1rem + .4vw, 1.35rem); line-height: 1.55; color: var(--sc-ink-soft); max-width: 46ch; text-wrap: pretty; }
.body { font-size: 1.06rem; line-height: 1.68; color: var(--sc-ink-soft); max-width: 62ch; text-wrap: pretty; }
.body + .body { margin-top: 1em; }
.soft { color: var(--sc-ink-soft); }

/* ---------- bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 90; height: var(--bar-h); display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); padding: 0 var(--sc-gutter); background: rgba(11, 34, 24, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--sc-hairline); transition: background-color 200ms var(--sc-ease-out); }
.bar.is-top { background: rgba(11, 34, 24, .35); box-shadow: none; }
.bar__logo { display: block; flex: none; margin-right: auto; }
.bar__logo img { display: block; height: 58px; width: auto; }
.bar__nav { display: flex; gap: clamp(16px, 1.8vw, 30px); }
.bar__nav a { font-size: 1.16rem; font-weight: 500; text-decoration: none; color: var(--sc-ink); padding: 6px 0; background: linear-gradient(var(--leaf), var(--leaf)) 0 100% / 0 2px no-repeat; transition: background-size 180ms var(--sc-ease-out), color 160ms; }
.bar__nav a:hover, .bar__nav a[aria-current="page"] { background-size: 100% 2px; color: var(--leaf); }
.bar__tel { font-weight: 600; font-size: 1.08rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar__tel:hover { color: var(--leaf); }
.menu-btn { display: none; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: rgba(243,239,228,.1); color: var(--sc-ink); font: 600 1rem var(--sc-font-text); cursor: pointer; }
.menu-btn__hands { width: 30px; height: 22px; fill: var(--leaf); transition: transform 220ms var(--sc-ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__hands { transform: scale(1.15) translateY(-2px); }
@media (max-width: 1240px) {
  .bar__nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  :root { --bar-h: 70px; }
  .bar__tel { display: none; }
  .bar__logo img { height: 46px; }
  .bar__book { min-height: 44px; padding: 0 1em; font-size: .95rem; }
}
@media (max-width: 420px) {
  .bar__book { display: none; }
}

.menu { position: fixed; inset: var(--bar-h) 0 0; z-index: 89; background: var(--ever-deep); overflow-y: auto; }
.menu__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 40px var(--sc-gutter) 60px; max-width: var(--sc-maxw); margin: 0 auto; }
.menu__col { display: flex; flex-direction: column; gap: 6px; }
.menu__col a:not(.btn) { font: 400 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.25 var(--sc-font-display); text-decoration: none; padding: 4px 0; }
.menu__col a:not(.btn):hover, .menu__col a[aria-current="page"] { color: var(--leaf); }
.menu__head { font: 600 .8rem var(--sc-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 10px; }
.menu__col--act { gap: 12px; align-items: flex-start; }
.menu__note { color: var(--sc-ink-soft); line-height: 1.6; margin-top: 8px; }
@media (max-width: 860px) { .menu__in { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- footer ---------- */
.foot { background: var(--ever-deep); color: var(--sc-ink); position: relative; z-index: 2; }
.foot__cta { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 10vw, 140px) var(--sc-gutter) clamp(60px, 7vw, 100px); background: radial-gradient(70% 90% at 50% 100%, #1F5A40 0%, var(--ever-deep) 70%); }
.foot__hands { position: absolute; left: 50%; bottom: -60px; width: min(760px, 120vw); height: auto; transform: translateX(-50%); fill: var(--brand); opacity: .55; }
.foot__cta-line { position: relative; font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.6rem)/1.05 var(--sc-font-display); max-width: 18ch; margin: 0 auto 28px; text-wrap: balance; }
.foot__cta .btn-row { position: relative; justify-content: center; }
body:has(.close) .foot__cta { display: none; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 70px var(--sc-gutter) 40px; max-width: var(--sc-maxw); margin: 0 auto; border-top: 1px solid var(--sc-hairline); }
.foot__logo { height: 64px; width: auto; display: block; margin-bottom: 18px; }
.foot__tag { color: var(--sc-ink-soft); line-height: 1.6; max-width: 40ch; }
.foot__lines { margin-top: 18px; line-height: 1.9; }
.foot__lines a { text-decoration: none; } .foot__lines a:hover { color: var(--leaf); }
.foot__tel { font: 400 1.7rem var(--sc-font-display); }
.foot__social { display: flex; gap: 18px; margin-top: 12px; }
.foot__social a { color: var(--leaf); font-weight: 600; text-underline-offset: .25em; }
.foot__head { font: 600 .8rem var(--sc-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 14px; }
.foot__visit p { line-height: 1.6; margin-bottom: 12px; }
.foot__visit a { color: var(--leaf); font-weight: 600; text-underline-offset: .25em; }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--sc-hairline); padding-top: 6px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--sc-ink-soft); }
.foot__links { display: flex; flex-direction: column; gap: 8px; }
.foot__links a { text-decoration: none; } .foot__links a:hover { color: var(--leaf); }
.concept { border-top: 1px solid var(--sc-hairline); padding: 22px var(--sc-gutter) 30px; max-width: var(--sc-maxw); margin: 0 auto; }
.concept p { color: var(--sc-ink-soft); font-size: .92rem; line-height: 1.6; }
.concept a { color: var(--leaf); text-underline-offset: .2em; }
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- shared bits ---------- */
.leaf-frame { border-radius: 46% 6% 46% 6% / 30% 4% 30% 4%; overflow: hidden; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { list-style: none; font-weight: 500; font-size: .98rem; padding: 9px 14px; border-radius: 999px; background: rgba(159, 221, 169, .1); box-shadow: inset 0 0 0 1px rgba(159, 221, 169, .28); }
.badges { padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
