@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("./assets/source-serif-latin.woff2") format("woff2"); }
:root {
  --ink: #22282b; --muted: #555f63; --paper: #f8f7f3; --card: #ffffff; --tint: #eaf3f2;
  --accent: #1f7a76; --accent-soft: #2e9c96; --accent-ink: #ffffff; --line: #dde3e2; --warm: #b3863b; --charcoal: #3f4447;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px; z-index: 10; }

/* Header */
.mast-bar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.mast { display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; color: var(--ink); }
.brand strong { font: 600 1.08rem var(--display); }
.brand small { font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.mast nav { display: flex; gap: 20px; margin-left: auto; font-size: .93rem; }
.mast nav a { text-decoration: none; color: var(--muted); }
.mast nav a:hover { color: var(--accent); }
.call { font-weight: 600; text-decoration: none; color: var(--accent); white-space: nowrap; }
.demo-label { font-size: .7rem; border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; color: var(--muted); white-space: nowrap; }

/* Hero */
.hero { padding: 44px 0 52px; background:
  radial-gradient(circle at 92% 8%, rgb(46 156 150 / .10), transparent 38%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--accent); font-weight: 600; margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18ch; margin-bottom: 16px; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.intro { font-size: 1.08rem; max-width: 56ch; color: var(--muted); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9'/%3E%3C/svg%3E"); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.28em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.primary { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 13px 24px; font: 600 1rem var(--body); cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.primary:hover { background: #17605d; transform: translateY(-1px); }
.secondary { border: 1.5px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 11.5px 22px; font-weight: 600; text-decoration: none; }
.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.facts { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -28px rgb(31 42 55 / .45); }
.facts-photo { margin: 0; position: relative; }
.facts-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
figcaption { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.facts-photo figcaption { position: absolute; right: 8px; bottom: 8px; margin: 0; background: rgb(255 255 255 / .85); padding: 1px 8px; border-radius: 99px; }
.facts dl { margin: 0; padding: 8px 20px 14px; }
.facts dl div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-size: .95rem; }
.stars { color: var(--warm); letter-spacing: 1px; margin-right: 4px; }
.confirm { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; border: 1px dashed var(--warm); color: #8a6526; border-radius: 99px; padding: 0 7px; margin-left: 4px; vertical-align: 2px; }

/* Sections */
.section { padding: 60px 0; border-top: 1px solid var(--line); }
.tint { background: var(--tint); }
.section-head { display: grid; grid-template-columns: 52px 1fr; gap: 14px; margin-bottom: 28px; }
.num { font: 600 .85rem var(--body); color: var(--accent); margin: 0; padding-top: 10px; border-top: 2px solid var(--accent); align-self: start; }
.lede { color: var(--muted); max-width: 62ch; margin: 8px 0 0; }
.small { font-size: .9rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -24px rgb(31 42 55 / .5); }
.card ul { padding-left: 18px; margin: 0 0 10px; }
.card li { margin: 3px 0; }
.card .text-link { margin-top: auto; align-self: flex-start; padding-top: 6px; }

.fees-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.denplan { background: var(--card); border-radius: 14px; padding: 20px 22px; border: 1px solid var(--line); margin-left: 66px; }
.denplan p { margin: 0; color: var(--muted); }
.fee-table { background: var(--card); border-radius: 16px; border: 1px solid var(--line); padding: 10px 22px 14px; }
.table-note { font-size: .82rem; color: var(--muted); margin: 8px 0 4px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
td { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 14px; }

.visit-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.cols p { margin: 0 0 18px; color: var(--muted); }
.practice-photo { margin: 0; }
.practice-photo img { width: 100%; border-radius: 12px; }
.practice-photo img:first-child { image-rendering: auto; border: 1px solid var(--line); }
.practice-photo .street { margin-top: 16px; aspect-ratio: 3 / 2; object-fit: cover; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.person { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.person p { margin: 0; color: var(--muted); }
.person .role { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 1.3rem var(--display); }
.placeholder { border-style: dashed; background: transparent; }
.placeholder .avatar { background: transparent; color: var(--accent); border: 1.5px dashed var(--accent-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
address { font-style: normal; margin: 0 0 12px 66px; line-height: 1.55; }
.contact-grid > div > p { margin-left: 66px; }
.contact-photo { margin: 18px 0 0 66px; }
.contact-photo img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.request { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.request label, .enquiry-form label { display: block; margin: 0 0 14px; font-size: .9rem; font-weight: 500; }
.request input, .request select, .request textarea, .enquiry-form input, .enquiry-form textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #cfd7e1; border-radius: 10px; background: #fff; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

.foot { padding: 32px 0 48px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); background: var(--card); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.demo-line { text-align: right; }

dialog { border: 0; border-radius: 18px; padding: 26px; width: min(100% - 32px, 460px); }
dialog::backdrop { background: rgb(20 30 30 / .45); }
dialog h2 { font-size: 1.6rem; margin-bottom: 6px; }
.topic { color: var(--accent); font-weight: 600; margin: 0 0 10px; }

.mobile-bar { display: none; }

@media (max-width: 980px) {
  .mast nav { display: none; }
  .call { margin-left: auto; }
  .hero-grid, .fees-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .mast { gap: 10px; }
  .brand small { display: none; }
  .call { display: none; }
  .demo-label { margin-left: auto; }
  .hero { padding-top: 26px; }
  .ticks { grid-template-columns: 1fr; }
  .cards, .cols, .team, .row, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .num { width: 42px; }
  .denplan, address, .contact-grid > div > p, .contact-photo { margin-left: 0; }
  .demo-line { text-align: left; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: var(--card); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; }
  .mobile-bar a, .mobile-bar button { text-align: center; border-radius: 999px; padding: 11px; font: 600 .95rem var(--body); text-decoration: none; }
  .mobile-bar a { border: 1.5px solid var(--accent); color: var(--accent); }
  .mobile-bar button { background: var(--accent); color: #fff; border: 0; }
}

/* Keith Vaudrey specifics */
.mast-bar { border-top: 4px solid var(--accent); }
.brand-word { font: 600 1.25rem var(--display); color: var(--accent); }
.owner { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 18px 20px; }
.owner img { border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; }
.owner p { margin: 0; font-size: .95rem; }
.owner .who { font: 600 1.15rem var(--display); }
.owner .cred { color: var(--accent); font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.quote-line { font: italic 1.15rem/1.45 var(--display); color: var(--charcoal); border-left: 3px solid var(--accent); padding-left: 14px; margin: 0 0 20px; max-width: 52ch; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc .card.wide { grid-column: span 2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; padding: 0; list-style: none; }
.chips li { font-size: .82rem; background: var(--tint); color: var(--accent); border-radius: 99px; padding: 3px 10px; margin: 0; }
.history { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.history figure { margin: 0; }
.history figure img { border-radius: 12px; max-width: 300px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.timeline b { display: block; font: 600 1.05rem var(--display); color: var(--accent); }
.clients { columns: 2; column-gap: 32px; padding-left: 18px; }
@media (max-width: 980px) { .svc { grid-template-columns: 1fr 1fr; } .history { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } .svc .card.wide { grid-column: auto; } .clients { columns: 1; } .owner { grid-template-columns: 90px 1fr; } }
