:root {
  --ink: #221a26; --muted: #5e5563; --paper: #fbf9fc; --card: #ffffff; --band: #f3eef5;
  --accent: #5b1a5e; --accent-2: #7d3a80; --accent-ink: #ffffff; --line: #e4dbe7; --tick: #2f7d5b;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/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; }

.topbar { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.mast { display: flex; align-items: center; gap: 20px; padding: 14px 0; flex-wrap: wrap; }
.brand { text-decoration: none; color: var(--accent); line-height: 1.1; }
.brand-main { font: 700 1.25rem var(--display); display: block; }
.brand-sub { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mast nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.mast nav a { text-decoration: none; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.mast nav a:hover { color: var(--accent); }
.call-btn { background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.demo-label { font-size: .72rem; border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; color: var(--muted); }

.hero { padding: 48px 0 40px; background: linear-gradient(180deg, var(--card), var(--paper)); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--accent-2); font-weight: 600; margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: .1em 0 .35em; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .4em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
.intro { font-size: 1.08rem; max-width: 56ch; color: var(--muted); margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.ticks li { position: relative; padding-left: 28px; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--tick); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 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; margin-top: 22px; }
.primary { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 13px 22px; font: 600 1rem var(--body); cursor: pointer; text-decoration: none; display: inline-block; }
.primary:hover { background: var(--accent-2); }
.secondary { border: 1.5px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 11px 20px; text-decoration: none; font-weight: 600; }
.text-link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.hero-photo { margin: 0; }
.hero-photo img { border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
figcaption, .fine { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fact p { margin: 0 0 4px; font-size: .95rem; }
.small-h { font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 8px; }
.fact table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.fact th { text-align: left; font-weight: 600; padding: 2px 10px 2px 0; }
.fact td { text-align: right; }

.strip { background: var(--accent); color: var(--accent-ink); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; }
.strip p { margin: 0; font-size: .92rem; opacity: .95; }
.strip strong { display: block; font: 600 1.05rem var(--display); }

.section { padding: 64px 0; }
.band { background: var(--band); }
.section-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card p { font-size: .95rem; color: var(--muted); flex: 1; margin: 0 0 12px; }
.card .text-link { align-self: flex-start; font-size: .95rem; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgb(91 26 94 / .1); } }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.split p { max-width: 62ch; }
.side-photo { margin: 0; }
.side-photo img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cert { background: var(--card); border-left: 4px solid var(--tick); padding: 12px 16px; border-radius: 8px; margin-top: 14px; font-size: .95rem; }

.fees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fee-group { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.fee-group dl { margin: 0; }
.fee-group dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.fee-group dl div:last-child { border-bottom: 0; }
.fee-group dd { margin: 0; font-weight: 700; color: var(--accent); white-space: nowrap; }
.nhs-free { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.cols { columns: 3; column-gap: 28px; padding-left: 18px; margin: 8px 0 12px; }
.cols li { margin-bottom: 6px; break-inside: avoid; font-size: .95rem; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.team article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.team article.lead { grid-column: span 2; border-color: var(--accent); }
.team h3 { margin: 0 0 2px; font-size: 1.05rem; }
.team p { margin: 0; font-size: .9rem; color: var(--muted); }
.team .quals { color: var(--accent-2); font-weight: 600; }

.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-box { background: var(--band); border-radius: 16px; padding: 24px; }
.info-box p { margin: 0 0 14px; color: var(--muted); }

.visit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.addr { font: 600 1.2rem var(--display); }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.contact-card p a { font-size: 1.1rem; font-weight: 600; color: var(--accent); text-decoration: none; }

.foot { padding: 28px 0 44px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
dialog { border: 0; border-radius: 18px; padding: 28px; width: min(100% - 32px, 480px); }
dialog::backdrop { background: rgb(0 0 0 / .4); }
.enquiry-form label { display: block; margin: 12px 0; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.note { font-size: .85rem; color: var(--muted); }

@media (max-width: 1000px) {
  .hero-grid, .split, .visit, .split-even { grid-template-columns: 1fr; }
  .cards, .fees, .team { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 8px; }
  .cols { columns: 2; }
}
@media (max-width: 640px) {
  .topbar { position: static; }
  .mast { gap: 10px 12px; }
  .mast nav { order: 3; width: 100%; margin-left: 0; gap: 16px; flex-wrap: nowrap; overflow-x: auto; font-size: .9rem; padding-bottom: 2px; }
  .call-btn { margin-left: auto; padding: 7px 13px; font-size: .9rem; }
  .demo-label { order: 2; }
  .hero { padding-top: 28px; }
  .ticks, .cards, .fees, .facts, .strip-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .team article.lead { grid-column: span 2; }
  .cols { columns: 1; }
  .section { padding: 48px 0; }
}
