:root {
  --moss: #2f4a3a;
  --moss-deep: #1f3328;
  --linen: #eef0e8;
  --paper: #f8f9f4;
  --willow: #8fa77f;
  --plum: #6b3a4f;
  --ink: #26302a;
  --muted: #56615a;
  --rule: #cfd5c7;
  --measure: 36rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.7 "Lora", Georgia, serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 0.2em; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

h1, h2, h3 {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  color: var(--moss-deep);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: var(--measure); }

.demo-ribbon {
  display: block;
  background: var(--plum);
  color: #fff;
  text-align: center;
  font: 0.85rem/1.4 system-ui, sans-serif;
  padding: 0.5rem 1rem;
  text-decoration: none;
}
.demo-ribbon:hover { text-decoration: underline; }

.wrap { width: min(68rem, 100% - 2rem); margin-inline: auto; }

.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.5rem; padding-block: 1rem;
}
.brand { text-decoration: none; color: var(--moss-deep); display: grid; line-height: 1.15; }
.brand strong { font: 400 1.45rem "Marcellus", Georgia, serif; }
.brand span { font-size: 0.85rem; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.98rem; }
.nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { border-bottom-color: var(--willow); }

.btn {
  display: inline-flex;
  background: var(--moss);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 2rem;
  font: 600 1rem/1.2 system-ui, sans-serif;
}
.btn:hover { background: var(--moss-deep); }
.btn.quiet { background: transparent; color: var(--moss); box-shadow: inset 0 0 0 2px var(--moss); }

/* Home hero: photo with an arched window crop, the practice's one flourish */
.hero { background: var(--linen); padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.arch {
  border-radius: 50% 50% 0.5rem 0.5rem / 38% 38% 0.5rem 0.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section.tint { background: var(--linen); }

.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: 0.5rem; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.steps li { border-top: 2px solid var(--willow); padding-top: 1rem; }
.steps h3 { margin-bottom: 0.3em; }

.quote {
  font: 400 clamp(1.3rem, 3vw, 1.7rem)/1.45 "Marcellus", Georgia, serif;
  color: var(--moss-deep);
  max-width: 40rem;
  margin: 0 0 0.5rem;
}
.quote + p { color: var(--muted); font-size: 0.95rem; }

.fees { width: 100%; max-width: 40rem; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.fees th, .fees td { text-align: left; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.fees td.price { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 1rem; }
.fees small { display: block; color: var(--muted); font-size: 0.9rem; }

.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 1.5rem; }
.facts div { background: var(--paper); border-left: 3px solid var(--willow); padding: 1rem 1.25rem; }
.facts strong { display: block; color: var(--moss-deep); }

.cta-band { background: var(--moss); color: #fff; text-align: left; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3eadf; }
.cta-band .btn { background: #fff; color: var(--moss-deep); }

.site-foot { background: var(--moss-deep); color: #d6ddd2; font-size: 0.92rem; padding-block: 2.5rem; }
.site-foot .wrap { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-foot a { color: #fff; }
.site-foot strong { color: #fff; font-weight: 600; }

.page-head { background: var(--linen); padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-head p { font-size: 1.15rem; color: var(--muted); }

/* Link back to the showcase: set in its colours, outside the practice's own nav */
.wots {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.85rem;
  border-radius: 999px; background: #dce5e3; color: #17323a; text-decoration: none;
  font: 600 0.85rem/1 "Helvetica Neue", Arial, sans-serif; white-space: nowrap;
}
.wots::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #b8321f; order: 2; }
.wots:hover { background: #cbd8d5; }

.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.25rem 1.5rem; margin-top: 2rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.site-foot .legal nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-foot .legal nav a { display: inline-flex; align-items: center; min-height: 44px; }

.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.demo-note { background: var(--linen); border-left: 3px solid var(--willow); padding: 0.9rem 1.1rem; font-size: 0.95rem; color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap, .split, .steps { grid-template-columns: 1fr; }
  .arch { max-width: 20rem; }
  .nav { gap: 0.25rem 1rem; }
}

.in-frame .wots { display: none; }

/* Demo ribbon: says it's a demo, and carries the way back to the showcase */
.demo-ribbon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 1rem; text-align: center; text-decoration: none; padding: 0.25rem 1rem; }
.demo-ribbon .wots { min-height: 40px; padding: 0 0.9rem; background: rgba(255, 255, 255, 0.92); color: #17323a; }
.demo-ribbon .wots:hover { background: #fff; text-decoration: underline; }
.demo-ribbon:hover { text-decoration: none; }

/* Tap targets of at least 44px for buttons and stacked contact links */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.demo-ribbon .wots { min-height: 44px; }
.site-foot .wrap > div a, .facts a { display: inline-flex; align-items: center; min-height: 44px; }
