/*
Theme Name: Matt Venus
Theme URI: https://www.mattvenus.co.uk
Author: Mr Matt Venus
Description: Custom theme for Mr Matt Venus FRCS (Plast), Consultant Plastic Surgeon. Lightweight, no page builder required.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: mattvenus
*/

/* ---------- Tokens ---------- */
:root {
  --ink: #2A2027;
  --ink-2: #4A3F47;
  --muted: #5E5259;
  --ground: #FAF7F6;
  --white: #FFFFFF;
  --line: #E8E1DE;
  --line-2: #DDD3CF;
  --tint: #EEE5E3;
  --accent: #7B2D5B;
  --accent-dark: #5C1F43;
  --deep: #3E1A33;
  --deep-2: #2E1326;
  --on-dark: #F3E9EF;
  --on-dark-muted: #CDB8C6;
  --on-dark-line: #5E3A54;
  --on-dark-accent: #E7B9D3;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.005em; }
h3 { line-height: 1.2; }
p { margin: 0 0 1.1em; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
  background: var(--white); padding: 12px 16px; color: var(--ink);
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 16px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.section-title { font-size: clamp(32px, 3.6vw, 46px); }
.lead { font-size: 19px; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--on-dark); color: var(--ink); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
/* Keep button styling when a button sits inside a menu or list with its own link colours */
.primary-nav a.btn, .toc a.btn, .entry a.btn { padding: 12px 22px; font-size: 15px; text-decoration: none; }
.primary-nav a.btn-primary, .toc a.btn-primary, .entry a.btn-primary, .aside-card a.btn-primary { color: var(--white); }
.primary-nav a.btn-primary:hover, .toc a.btn-primary:hover, .aside-card a.btn-primary:hover { color: var(--white); background: var(--accent-dark); }
.text-link { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 5px; color: var(--ink); }

/* ---------- Utility bar & header ---------- */
.utility { background: var(--deep-2); color: var(--on-dark); font-size: 14px; }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.utility a { color: var(--on-dark); text-decoration: none; }
.utility a:hover { text-decoration: underline; color: var(--white); }
.utility-links { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.brand-role { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; white-space: nowrap; }
.primary-nav li { position: relative; }
.primary-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; display: inline-block; padding: 8px 0; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--accent); }
.primary-nav .sub-menu {
  position: absolute; left: -18px; top: 100%; min-width: 240px; background: var(--white);
  padding: 10px 0; border-radius: var(--radius); box-shadow: 0 14px 36px rgba(62,26,51,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 20px; font-size: 15px; }
.primary-nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; min-height: 44px;
  padding: 8px 16px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; align-items: center; gap: 8px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav a { padding: 13px 0; display: block; font-size: 17px; }
  .primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0 0 10px 16px; min-width: 0; }
  .primary-nav .sub-menu a { padding: 8px 0; font-size: 16px; }
  .primary-nav .menu-item-has-children > a::after { display: none; }
  .primary-nav .btn { align-self: flex-start; }
}
@media (max-width: 480px) {
  .brand-role { display: none; }
  .brand-name { font-size: 21px; }
  .utility .wrap { justify-content: center; }
  .utility-msg { text-align: center; }
}

/* ---------- Home: hero ---------- */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 24px; }
.hero h1 em { color: var(--accent); }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.credentials { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; max-width: 560px; }
.credentials li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0 16px 18px; border-top: 1px solid var(--line); position: relative; }
.credentials li::before { content: ""; position: absolute; left: 0; top: 24px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.credentials strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.credentials span { font-size: 14px; color: var(--muted); }
@media (max-width: 420px) { .credentials { grid-template-columns: 1fr; } }
.hero-media { flex: 1 1 380px; min-width: 0; position: relative; }
.hero-photo { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius) 160px var(--radius) var(--radius); background: var(--tint); }
.fee-card { position: absolute; left: -24px; bottom: 36px; background: var(--white); padding: 18px 22px; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(62,26,51,.10); max-width: 260px; }
.fee-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.fee-card .fee { font-family: var(--serif); font-size: 32px; color: var(--ink); line-height: 1.15; margin: 4px 0 6px; }
@media (max-width: 640px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .fee-card { left: 12px; bottom: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--deep); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .muted, .section-dark p { color: var(--on-dark-muted); }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-head h2 { margin: 0; max-width: 620px; }
.section-head p { margin: 0; max-width: 460px; color: var(--muted); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

/* Treatment cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.t-card { text-decoration: none; color: var(--ink); background: var(--ground); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s; border: 1px solid transparent; }
.section-white .t-card { background: var(--ground); }
.t-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(62,26,51,.08); }
.t-card .t-num { font-family: var(--serif); font-size: 20px; color: var(--accent); padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.t-icon { width: 52px; height: 52px; color: var(--accent); }
.t-card h3 { font-size: 30px; margin: 6px 0 0; }
.t-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.t-card ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 15px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.t-card ul li::before { content: "–"; color: var(--accent); margin-right: 8px; }
.t-card .more { margin-top: auto; padding-top: 12px; color: var(--accent); font-weight: 600; font-size: 15px; }

/* About split */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split-media { flex: 1 1 360px; min-width: 0; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius); }
.split-copy { flex: 1 1 520px; min-width: 0; }
.split-copy p { color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 32px 0 36px; }
.stat { border-top: 2px solid var(--ink); padding-top: 14px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { border-top: 1px solid var(--on-dark-line); padding-top: 24px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 22px; color: var(--on-dark-accent); margin-bottom: 12px; }
.steps h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.steps p { font-size: 16px; margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.quote { margin: 0; background: var(--white); padding: 32px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.quote figcaption { margin-top: auto; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-white .quote { background: var(--ground); }

.review-links { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.review-links-label { font-weight: 600; color: var(--ink); }
.entry .review-links .btn { color: var(--ink); text-decoration: none; padding: 12px 22px; font-size: 15px; }
.entry .review-links .btn:hover { color: var(--white); }

/* Location */
.location { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.location-copy { flex: 1 1 440px; min-width: 0; }
.location-map { flex: 1 1 440px; min-width: 0; min-height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.location-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-consent { height: 100%; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 32px; color: var(--ink-2); }

/* Callout */
.callout { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: space-between; }
.callout h2 { font-size: 28px; margin: 0 0 8px; }
.callout p { margin: 0; color: var(--ink-2); font-size: 16px; }
.callout > div { flex: 1 1 480px; min-width: 0; }
.callout-logo { flex: 0 0 auto; display: block; }
.callout-logo img { height: 110px; width: auto; mix-blend-mode: multiply; }

/* CTA band */
.cta-band { background: var(--deep); color: var(--on-dark); padding: 88px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 12px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
.cta-band > .wrap > div:first-child { flex: 1 1 520px; min-width: 0; }

/* ---------- Inner pages ---------- */
.page-hero .wrap { padding-top: 44px; padding-bottom: 48px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 36px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.page-hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.page-hero-copy { flex: 999 1 560px; min-width: 0; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin-bottom: 22px; }
.page-hero .lead { max-width: 660px; margin: 0; font-size: 20px; }

.glance { flex: 1 1 340px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 28px; }
.glance .eyebrow { margin-bottom: 16px; }
.glance dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; font-size: 15px; line-height: 1.45; }
.glance dt { color: var(--muted); }
.glance dd { margin: 3px 0 0; font-weight: 600; }
.entry .glance { margin: 0 0 40px; }

.page-body .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 72px; padding-bottom: 88px; }
.page-body.no-toc .wrap { display: block; padding-top: 8px; }
.toc { flex: 1 1 220px; min-width: 0; font-size: 15px; position: sticky; top: 110px; }
.toc p { font-weight: 600; margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.toc .toc-aside { margin-top: 32px; padding: 22px; background: var(--white); border-radius: var(--radius); }
.toc .toc-aside p { font-weight: 400; color: var(--ink-2); margin: 0 0 14px; font-size: 15px; }
@media (max-width: 900px) { .toc { position: static; } }
.entry { flex: 999 1 640px; min-width: 0; max-width: 780px; }
.no-toc .entry { margin: 0; }
.page-hero-grid { align-items: center; }
.hero-portrait { flex: 0 1 340px; min-width: 0; }
.page-hero-grid.is-about { align-items: flex-start; }
.page-hero-grid.is-about .hero-portrait { position: sticky; top: 120px; }
.about-entry { margin-top: 32px; max-width: 720px; }
.about-entry > *:first-child { margin-top: 0; }
@media (max-width: 700px) { .page-hero-grid.is-about { flex-direction: column-reverse; } .page-hero-grid.is-about .hero-portrait { position: static; } }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius) 120px var(--radius) var(--radius); }
@media (max-width: 700px) { .hero-portrait { flex-basis: 100%; max-width: 360px; } }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 34px; line-height: 1.15; margin: 56px 0 16px; scroll-margin-top: 110px; }
.entry h3 { font-size: 24px; margin: 36px 0 12px; }
.entry p, .entry li { color: var(--ink-2); }
.entry strong { color: var(--ink); }
.entry ul, .entry ol { padding-left: 22px; margin: 0 0 1.2em; }
.entry li { margin-bottom: 8px; }
.entry blockquote { margin: 0 0 24px; padding: 28px 32px; background: var(--white); border-radius: var(--radius); font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.entry blockquote p { color: var(--ink); margin: 0 0 12px; }
.entry blockquote cite { font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.entry .wp-block-details { border-bottom: 1px solid var(--line-2); padding: 18px 0; }
.entry .wp-block-details:first-of-type, .entry h2 + .wp-block-details { border-top: 1px solid var(--line-2); }
.entry .wp-block-details summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; color: var(--ink); }
.entry .wp-block-details summary::-webkit-details-marker { display: none; }
.entry .wp-block-details summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--accent); }
.entry .wp-block-details[open] summary::after { content: "–"; }
.entry .wp-block-details > *:not(summary) { margin: 12px 0 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.entry .wp-block-table { overflow-x: auto; margin: 0 0 24px; }
.entry th, .entry td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.entry th { font-weight: 600; background: var(--ground); }
.reviewed { margin-top: 48px; font-size: 14px; color: var(--muted); }

.info-sheet { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--white); border-radius: var(--radius); text-decoration: none; color: var(--ink); margin: 40px 0 0; }
.info-sheet:hover { color: var(--ink); box-shadow: 0 10px 28px rgba(62,26,51,.08); }
.info-sheet svg { width: 32px; height: 32px; color: var(--accent); flex-shrink: 0; }
.info-sheet b { display: block; }
.info-sheet span { font-size: 14px; color: var(--muted); }

.sheet-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.sheet-list li { margin: 0 !important; }
.sheet-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 500; }
.sheet-list a::after { content: "PDF ↓"; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .04em; white-space: nowrap; }
.sheet-list a:hover { box-shadow: 0 10px 28px rgba(62,26,51,.08); }

/* Section (Breast / Body / Hands) child cards */
.child-cards { padding-bottom: 96px; }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 64px; padding-bottom: 96px; }
.contact-form-wrap { flex: 999 1 560px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 40px; }
.contact-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.aside-card { background: var(--white); border-radius: var(--radius); padding: 28px; }
.aside-card h2 { font-size: 24px; margin-bottom: 10px; }
.aside-card p { color: var(--ink-2); font-size: 16px; }
.aside-card p:last-child { margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 14px; color: var(--muted); font-weight: 400; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--ground); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(123,45,91,.3); border-color: var(--accent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.field-check input[type=text] { max-width: 160px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-size: 16px; }
.notice-ok { background: #E3EFEC; color: #173D39; }
.notice-err { background: #F6E5E1; color: #6B2A1D; }
.form-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: var(--on-dark-muted); font-size: 15px; }
.site-footer { border-top: 1px solid var(--on-dark-line); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px 40px; margin-bottom: 28px; }
.footer-cols h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--white); margin: 0 0 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.footer-brand b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--white); line-height: 1.2; margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid var(--on-dark-line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; text-align: center; }
.not-found h1 { font-size: clamp(40px, 5vw, 60px); }
.not-found .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Print ---------- */
@media print {
  .utility, .site-header, .site-footer, .cta-band, .toc { display: none !important; }
  body { background: #fff; }
}

/* ---------- Line drawings & colour accents ---------- */
.line-art { display: block; width: 100%; height: 100%; color: var(--accent); }
.line-art path { vector-effect: non-scaling-stroke; }
.t-art { background: var(--tint); border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: flex-end; justify-content: center; padding: 22px 0 0; margin: -8px -8px 8px; overflow: hidden; transition: background .2s; }
.t-art .line-art { width: auto; height: 100%; }
.t-card:hover .t-art { background: #E8DADB; }
.t-card:hover .line-art path { animation: mv-draw 1.4s ease-out; }
@keyframes mv-draw { from { stroke-dasharray: 600; stroke-dashoffset: 600; } to { stroke-dasharray: 600; stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .t-card:hover .line-art path { animation: none; } }

/* Treatment-area pages and procedure pages */
.area-art { flex: 0 1 300px; min-width: 0; background: var(--tint); border-radius: var(--radius) 120px var(--radius) var(--radius); aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; padding: 36px 20px 0; overflow: hidden; }
.area-art .line-art { width: auto; height: 100%; }
.page-hero-grid.is-area { align-items: center; }
.toc-art { width: 100%; height: 150px; background: var(--tint); border-radius: var(--radius); display: flex; align-items: flex-end; justify-content: center; padding: 14px 0 0; overflow: hidden; margin-bottom: 16px; }
.toc-art .line-art { width: auto; height: 100%; }
@media (max-width: 700px) { .area-art { flex-basis: 100%; max-width: 300px; } }

/* Faint drawing in the dark "talk it through" band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 150%; width: auto; color: var(--on-dark-accent); opacity: .16; pointer-events: none; }
.cta-band .wrap { position: relative; }

/* Professional memberships strip (homepage) */
.memberships { border-top: 1px solid var(--line); background: var(--white); }
.memberships .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; text-align: center; }
.memberships .eyebrow { margin: 0; font-family: var(--sans); font-size: 13px; }
.memberships ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 56px; }
.memberships img { height: 84px; width: auto; mix-blend-mode: multiply; }
