/* ==========================================================================
   Melody Brinkman: site stylesheet
   Built from notes/melody-brinkman-website-style-guide.html.
   Butler headings, Work Sans body. Brand blue #4188ff with the two web
   shades (blue-700, blue-600) for buttons and links. Wide content column.

   Structure mirrors a WordPress theme: header/footer partials, WP menu
   classes (.menu-item, .current-menu-item), .screen-reader-text and
   .entry-content for editor-managed copy.
   ========================================================================== */

/* ----- 0. Fonts (self-hosted) ----- */
@font-face{font-family:"Butler";src:url("../assets/fonts/Butler_Bold.otf") format("opentype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Butler";src:url("../assets/fonts/Butler_Medium.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Work Sans";src:url("../assets/fonts/WorkSans-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Work Sans";src:url("../assets/fonts/WorkSans-Italic.ttf") format("truetype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Work Sans";src:url("../assets/fonts/WorkSans-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Work Sans";src:url("../assets/fonts/WorkSans-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Work Sans";src:url("../assets/fonts/WorkSans-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

/* ----- 1. Tokens ----- */
:root{
  --navy:#093d80;
  --navy-900:#062b5c;
  --blue:#4188ff;      /* brand blue: display type 26px+, the mark, graphic blocks. Never small text. */
  --blue-700:#1a57c4;  /* primary button fill, white label 6.55:1 */
  --blue-600:#3167c2;  /* links and small UI, 5.45:1 on white */
  --blue-400:#649fff;
  --blue-300:#78aafe;
  --blue-200:#92bbfe;
  --blue-100:#accbff;
  --blue-50:#eef4ff;
  --cyan:#40cbfe;      /* decoration only */
  --grey-500:#808080;
  --grey-200:#e6e6e6;
  --grey-100:#f2f2f2;
  --white:#ffffff;
  --surface:#fafbfb;
  --surface-alt:#f6f7f7; /* grey bands and panels (was #fbfbfb / #f6f6f6 / #f2f2f2) */    /* page and section background (was white); pure white is kept for form fields and white buttons */

  --bg:var(--surface);
  --bg-alt:var(--surface-alt);
  --tint:var(--blue-100);
  --text:var(--navy);
  --line:var(--grey-200);
  --link:var(--blue-600);
  --primary:var(--blue-700);
  --on-dark:#dbe6fb;
  --on-dark-line:rgba(255,255,255,.22);
  --focus:var(--navy);

  --shadow-sm:0 0 6px rgba(9,61,128,.05);
  --shadow-md:0 0 24px rgba(9,61,128,.08);
  --shadow-lg:0 0 48px rgba(9,61,128,.10);

  --font-display:"Butler",Georgia,"Times New Roman",serif;
  --font-body:"Work Sans",system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;

  --r-sm:0;
  --r-md:0;
  --r-lg:0;
  --r-pill:0;

  --space-1:4px; --space-2:8px; --space-3:16px; --space-4:24px;
  --space-5:32px; --space-6:48px; --space-7:64px; --space-8:96px;

  /* Layout: content width maximised. The column runs nearly edge to edge
     and only stops growing on very large monitors. Long-form copy keeps its
     own measure inside the wide grid. */
  --max:1760px;
  --side-wide:clamp(20px,10vw,220px); /* left/right padding for every section, header and footer */
  --gutter:var(--side-wide);
  --measure:72ch;
  --header-h:104px;
  --sec-pad-y:clamp(64px,7vw,120px);
}

/* ----- 2. Base ----- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 24px);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg,video,iframe{max-width:100%}
img{display:block;height:auto}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--navy);font-weight:700;line-height:1.1;margin:0;text-wrap:balance}
p,ul,ol{margin:0}
a{color:var(--link)} /* text rollovers on light backgrounds use the brand blue #4188ff (var(--blue)); dark bands keep their own */
strong{font-weight:600}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
::selection{background:var(--blue-100);color:var(--navy)}
[hidden]{display:none!important}

.skip-link{position:absolute;left:16px;top:-120px;z-index:200;background:var(--surface);color:var(--navy);padding:10px 18px;border-radius:var(--r-md);font-weight:500;text-decoration:none;box-shadow:var(--shadow-md)}
.skip-link:focus{top:12px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Type scale */
.h1{font-size:clamp(2.5rem,4.6vw,4.5rem);line-height:1.04;letter-spacing:-.01em}
.h2{font-size:clamp(2rem,3.2vw,3.25rem);line-height:1.08}
.h3{font-size:clamp(1.75rem,2.2vw,2.25rem);line-height:1.15}
.h4{font-size:1.625rem;line-height:1.2}
.lead{font-family:var(--font-body);font-weight:400;font-size:clamp(1.1875rem,1.5vw,1.4375rem);line-height:1.5;color:var(--navy);text-wrap:pretty}
.small{font-size:.9375rem;line-height:1.6}
.hl{color:var(--blue)}

/* Layout helpers */
.wrap{max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--sec-pad-y)}
.section--alt{background:var(--bg-alt)}
.section--tint{background:var(--blue-50)}
.stack{display:flex;flex-direction:column;align-items:flex-start;gap:var(--gap,16px)}
.row{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center}

/* Editor-managed copy (maps to the_content() in WordPress) */
.entry-content{max-width:var(--measure)}
.entry-content > * + *{margin-top:.9em}
.entry-content h2{font-size:clamp(1.75rem,2.4vw,2.375rem);margin-top:1.6em}
.entry-content h3{font-size:1.625rem;margin-top:1.4em}
.entry-content ul,.entry-content ol{padding-left:1.25em}
.entry-content li + li{margin-top:.4em}
.entry-content li::marker{color:var(--blue)}

/* Long-form pages (page.php: Privacy, Cookie, Terms). Copy at ~70 characters a line; tables and callouts use
   tinted bands rather than rule lines; links are underlined; tables stack into labelled cards on phones. */
.legal{background:#fff} /* legal pages sit on pure white, not the off-white --surface */
.legal .entry-content{max-width:none;font-size:1rem;line-height:1.65} /* legal copy runs the full width of .wrap */
.legal .entry-content h2,.legal .entry-content h3{font-family:var(--font-body);font-weight:600;line-height:1.25} /* legal subtitles in Work Sans; the page title stays in Butler */
.legal .entry-content h2{font-size:clamp(1.375rem,1.8vw,1.75rem);margin-top:1.9em}
.legal .entry-content h3{font-size:1.125rem;margin-top:1.6em}
.legal .entry-content h2 + h3{margin-top:.9em}
.legal .entry-content a:not(.btn-neu){color:var(--link);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.legal .entry-content a:not(.btn-neu):hover{color:var(--blue);text-decoration-thickness:2px}
.legal .entry-content a:focus-visible{outline:2px solid var(--focus);outline-offset:2px;text-decoration:none}
.legal .entry-content ol{padding-left:1.5em}
.legal .entry-content code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.875em;background:var(--grey-100);padding:.1em .35em;word-break:break-word}
.legal-updated{color:var(--navy);font-size:.9375rem}
.callout{padding:20px 24px;background:var(--blue-50);border-left:4px solid var(--blue-700)}
.callout p{color:var(--navy);font-weight:500}
.entry-content table{width:100%;max-width:none;border-collapse:collapse;font-size:.9375rem;line-height:1.5}
.entry-content th,.entry-content td{padding:12px 16px;text-align:left;vertical-align:top}
.entry-content thead th{background:var(--navy);color:#fff;font-weight:600}
.entry-content tbody tr:nth-child(even){background:var(--grey-100)}
.entry-content tbody tr:nth-child(odd){background:#fbfbfb}
@media (max-width:700px){
  .entry-content table,.entry-content tbody,.entry-content tr,.entry-content td{display:block;width:100%}
  .entry-content thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .entry-content tbody tr{padding:8px 0}
  .entry-content tbody tr + tr{margin-top:8px}
  .entry-content td{padding:6px 16px}
  .entry-content td[data-label]::before{content:attr(data-label);display:block;font-weight:600;font-size:.8125rem;color:var(--navy)}
}

/* Privacy line under the enquiry and quick forms' submit buttons */
.form-privacy{font-size:.8125rem;line-height:1.5;color:#5c6470} /* muted, 5.9:1 on white */
.form-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.form-privacy a:hover{color:var(--blue)}
.site-footer .form-privacy{color:#fff} /* same as the footer's other copy on the blue */
.site-footer .form-privacy a:hover{color:var(--navy)}

/* ----- 3. Buttons and links ----- */
.text-link{font-weight:500;color:var(--link);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.text-link:hover{color:var(--blue);text-decoration-thickness:2px}
.arrow-link{display:inline-flex;align-items:center;gap:8px}
.arrow-link svg{width:16px;height:16px;transition:transform .15s}
.arrow-link:hover svg{transform:translateX(3px)}

/* Dark surfaces */
.on-dark{background:var(--navy);color:var(--on-dark)}
.on-dark h1,.on-dark h2,.on-dark h3,.on-dark h4,.on-dark .lead{color:#fff}
.on-dark a:not(.btn-neu){color:var(--blue-100)}
.on-dark :focus-visible{outline-color:#fff}

/* ----- 4. Header (header.php) ----- */
.site-header{position:sticky;top:0;z-index:100;background:var(--surface);transition:filter .2s}
/* drop-shadow (not box-shadow) so the logo notch is shadowed with the bar */
.site-header.is-scrolled{filter:drop-shadow(0 0 12px rgba(9,61,128,.08))}
.site-header__inner{position:relative;display:flex;align-items:center;gap:var(--space-5);min-height:var(--header-h);padding-block:20px}

/* Default (up to 1280px): compact wordmark left, menu then contact on the right */
.site-logo{order:1;display:block;flex:none;line-height:0}
.site-logo img{width:auto}
.site-logo .logo-full{display:none}
.site-logo .logo-compact{display:block;height:44px}
.site-logo .logo-tablet,.site-logo .logo-mobile{display:none}
.main-navigation{order:2;margin-left:auto;display:flex;align-items:center}
.header-contact{order:3;display:flex;align-items:center;gap:4px}
.menu-toggle{order:4}

.menu{display:flex;align-items:center;gap:clamp(18px,2.2vw,40px);list-style:none;margin:0;padding:0}
.menu a{display:block;color:var(--navy);text-decoration:none;font-weight:500;font-size:15px;padding:8px 0;border-bottom:2px solid transparent;transition:color .15s}
.menu a:hover{color:var(--blue)} /* rollover: brand blue text, no underline */
/* Menu icons (embedded copies of assets/img/icons/*.svg so they also work from file://): masks take the link colour, so they follow the navy/blue states. In WP, add the menu-item--* class under Menus > CSS Classes */
.menu-item[class*="menu-item--"] > a{display:flex;align-items:center;gap:8px}
.menu-item[class*="menu-item--"] > a::before{content:"";flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.menu-item--treatments{--icon:url("data:image/svg+xml,%3Csvg viewBox=%220 0 145.2 172.4%22 fill=%22%23000%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M113.22,163.92c4.13-3.36,10.16-12.26,12.3-24.05,2.14-11.79-3.64-19.06-3.64-19.06-.69-1.15-1.65-2.1-2.81-2.87-5.55-5.69-14.17-7.8-22.01-4.68-4.6,1.83-8.15,5.17-10.33,9.21,0,0,0,0,0,0-6.23,6.99-5.15,17.82-17.22,23.58-12.07,5.76-18.44.93-28.76-1.8-10.32-2.73-24.35-3.6-24.35-3.6-14.45,2.34-19.02,12.34-15.02,24.08,4,11.74,28.25,6.52,28.25,6.52,0,0,14.51-3.05,26.96-1.85,12.44,1.19,37.18,2.28,37.18,2.28,9.67.25,15.32-4.4,19.45-7.75Z%22/%3E%3Cpath d=%22M144.98,108.37s-1-2.3-3.74-3.05c-2.74-.74-5.47-1.03-7.64-.53-2.17.5-5.92,1.23-8.11,4.15-2.19,2.92-2.93,4.3-1.84,7.1,1.09,2.8,3.65,5.49,8.31,4.98,0,0,4.07-.46,6.24-2.09,2.17-1.63,3.48-2.9,4.4-3.74.93-.84,3.34-3.31,2.39-6.83Z%22/%3E%3Cpath d=%22M139.65,122.38s-7.6-.39-8.77,3.54c-1.17,3.94.19,5.52,1.28,6.28,1.09.77,3.65,1.03,5.83.31,4.41-1.45,5.76-3.51,6.1-4.08s.65-1.88.52-2.74-.84-3.19-4.96-3.32Z%22/%3E%3Cpath d=%22M138.88,136.74s-4.41-1.24-6.62,1.62c0,0-1.76,3.08-.01,5.13,0,0,1.1,1.97,4.87,1.61,3.77-.36,5.37-1.2,6.01-2.01.63-.82,1-1.92.68-2.57-.32-.65-.4-3.11-4.92-3.78Z%22/%3E%3Cpath d=%22M127.48,149.76s.43-1.42,2.99-1.87c2.56-.45,4.87-.54,7.22,1.31,1.81,1.35,1.3,3.86.87,4.61,0,0-1.24,2.6-4.9,2.25s-5.73-3.13-5.73-3.13c0,0-1.2-1.11-.46-3.16Z%22/%3E%3Cpath d=%22M131.37,162.25s.58-2.46-1.85-3.9-2.27-.97-3.61-.9c-1.33.07-4.32.39-4.54,1.97-.22,1.58.23,3.17,3.2,4.58,2.96,1.42,6.22.33,6.8-1.75Z%22/%3E%3Cpath d=%22M79.47,20.89c4.59-2.69,15.04-5.22,26.84-3.08,11.8,2.13,16.58,10.1,16.58,10.1.84,1.05,1.39,2.28,1.7,3.64,3.38,7.19,2.34,16.01-3.33,22.25-3.33,3.66-7.69,5.82-12.24,6.44,0,0,0,0,0,0-8.73,3.38-18.49-1.42-28.12,7.86-9.62,9.28-7.33,16.94-8.4,27.56-1.07,10.62-5.16,24.06-5.16,24.06-7.26,12.72-18.22,13.48-27.82,5.62-9.6-7.86,3.79-28.74,3.79-28.74,0,0,7.94-12.52,11.19-24.6,3.24-12.07,10.9-35.62,10.9-35.62,3.16-9.15,9.49-12.8,14.08-15.5Z%22/%3E%3Cpath d=%22M142.62,10.62s1.81,1.74,1.54,4.57c-.27,2.82-.95,5.49-2.18,7.34-1.23,1.86-3.23,5.11-6.73,6.14-3.5,1.03-5.06,1.24-7.3-.76-2.24-2-3.86-5.34-1.75-9.53,0,0,1.86-3.65,4.14-5.11,2.29-1.46,3.94-2.24,5.04-2.81s4.27-1.97,7.24.16Z%22/%3E%3Cpath d=%22M127.64,10.7s-2.29,7.25-6.39,6.97c-4.1-.29-5.1-2.11-5.44-3.4s.32-3.78,1.76-5.57c2.91-3.62,5.31-4.16,5.96-4.28.65-.12,1.99.05,2.74.48s2.69,1.91,1.37,5.81Z%22/%3E%3Cpath d=%22M113.92,6.39s-.39,4.56-3.84,5.64c0,0-3.5.57-4.81-1.79,0,0-1.46-1.72.2-5.13,1.66-3.4,3.01-4.61,3.99-4.92s2.15-.27,2.64.26,2.77,1.46,1.82,5.93Z%22/%3E%3Cpath d=%22M97.73,12.5s1.48.09,2.8-2.15c1.32-2.24,2.22-4.37,1.31-7.22-.63-2.17-3.16-2.57-4.01-2.43,0,0-2.87.25-3.82,3.8-.95,3.56.93,6.46.93,6.46,0,0,.61,1.51,2.8,1.54Z%22/%3E%3Cpath d=%22M87.39,4.47s2.51.32,3.01,3.1c.5,2.79.11,2.47-.42,3.7-.53,1.22-1.88,3.91-3.44,3.56s-2.88-1.33-3.17-4.6c-.29-3.27,1.87-5.94,4.03-5.76Z%22/%3E%3C/svg%3E")}
.menu-item--price{--icon:url("data:image/svg+xml,%3Csvg viewBox=%220 0 102.61 177.97%22 fill=%22%23000%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M51.31,0L0,42.37v135.6h102.61V42.37L51.31,0ZM51.31,72.01c-7.95,0-14.39-6.44-14.39-14.39s6.44-14.39,14.39-14.39,14.39,6.44,14.39,14.39-6.44,14.39-14.39,14.39Z%22/%3E%3C/svg%3E")}
.menu-item--about{--icon:url("data:image/svg+xml,%3Csvg viewBox=%220 0 118.22 169.71%22 fill=%22%23000%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Ccircle cx=%2259.11%22 cy=%2234.45%22 r=%2234.45%22/%3E%3Cpath d=%22M98.97,66.95c-9.44,11.56-23.8,18.96-39.86,18.96s-30.41-7.4-39.86-18.96C7.42,77.76,0,93.31,0,110.6v59.11h118.22v-59.11c0-17.29-7.42-32.84-19.25-43.65Z%22/%3E%3C/svg%3E")}
.menu-item--contact{--icon:url("data:image/svg+xml,%3Csvg viewBox=%220 0 169.42 169.42%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%2226%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M0,114.07c30.57,0,55.35,24.78,55.35,55.35%22/%3E%3Cpath d=%22M0,62.89c58.83,0,106.53,47.69,106.53,106.53%22/%3E%3Cpath d=%22M0,13c86.39,0,156.42,70.03,156.42,156.42%22/%3E%3C/svg%3E")}
.menu-item--contact > a::before{transform:scale(.8)} /* square glyph reads larger than the others */
/* Active page: a navy bar under the link that draws out from the middle when the page loads. It sits in the
   transparent 2px bottom border, so nothing shifts; reduced-motion users get the finished bar straight away. */
.menu .current-menu-item > a{background:linear-gradient(var(--navy),var(--navy)) 50% 100% / 100% 2px no-repeat border-box;animation:menu-underline .5s cubic-bezier(.2,.7,.2,1) .15s both}
@keyframes menu-underline{from{background-size:0% 2px}to{background-size:100% 2px}}

.header-icon{display:inline-grid;place-items:center;width:36px;height:44px;color:var(--navy);transition:color .15s}
.header-icon svg{width:20px;height:20px}
.header-icon:hover{color:var(--blue)}
.header-icon--contact{display:none} /* mobile/tablet only */
.header-icon--contact svg{width:21.3px;height:21.3px;stroke-width:23.86} /* ink matches the burger: 21px tall (the arcs' top edge sits just inside the box), 3px strokes (23.86 x 21.3/169.42) */
/* The phone glyph is square, so it reads larger than the wide icons beside it: shrink it everywhere */
svg.icon-phone{transform:scale(.8)}
/* Email and Enquiries: icon left of a text label, styled as a menu item */
.header-link{display:inline-flex;align-items:center;gap:8px;margin-left:20px;padding:8px 0;color:var(--navy);text-decoration:none;font-weight:500;font-size:15px;border-bottom:2px solid transparent;transition:color .15s}
.header-link svg{flex:none;width:16px;height:calc(16px * 145.18 / 202.58)} /* sized to the envelope's rectangle, no letterboxing */
.header-enquiries svg{height:calc(16px * 183.78 / 201.59);margin-bottom:calc(16px * (145.18 - 183.78) / 201.59);transform:translateY(1px)} /* nudged 1px down by eye. The speech tail hangs below, so the bubble's rectangle shares the envelope's bottom edge */
.header-link:hover{color:var(--blue)}
.header-link--phone{margin-left:0} /* first item: icon + "Phone", like Email */
.header-link--phone svg.icon-phone{width:16px;height:16px;transform:none}
.header-link--email svg{width:calc((16px * 145.18 / 202.58 + 1px) * 202.58 / 145.18);height:calc(16px * 145.18 / 202.58 + 1px)} /* envelope 1px taller than the base size */
.main-navigation .menu-item--price > a::before,.main-navigation .menu-item--about > a::before{height:14px} /* Prices and About us glyphs 2px shorter in the header menu */

/* Wide (1281px+): contact left, logo centred in a white notch with an even gap on every side, menu right */
@media (min-width:1281px){
  :root{--logo-full-h:79px;--logo-gap:16px} /* notch overhang = 16 + 79 + 16 - header 104 = 7px */
  .header-contact{order:1}
  .main-navigation{order:3}
  .site-logo{position:absolute;left:50%;top:var(--logo-gap);transform:translateX(-50%);z-index:2}
  .site-logo .logo-full{display:block;height:var(--logo-full-h)}
  .site-logo .logo-compact{display:none}
  .site-logo::before{content:"";position:absolute;z-index:-1;inset:calc(var(--logo-gap) * -1);background:var(--surface)}
  /* Grey fold triangles either side of the overhang, so the notch looks like it wraps around the header */
  .site-logo{--notch-drop:calc(var(--logo-gap) * 2 + var(--logo-full-h) - var(--header-h))}
  .site-logo::after{content:"";position:absolute;z-index:-1;top:calc(var(--header-h) - var(--logo-gap));height:var(--notch-drop);left:calc((var(--logo-gap) + var(--notch-drop)) * -1);right:calc((var(--logo-gap) + var(--notch-drop)) * -1);
    background:linear-gradient(to bottom left,#9a9a9a 50%,transparent 50%) left top / var(--notch-drop) 100% no-repeat,linear-gradient(to bottom right,#9a9a9a 50%,transparent 50%) right top / var(--notch-drop) 100% no-repeat}
}
@media (max-width:1100px){.header-enquiries{display:none}.header-link--email .header-link__label,.header-link--phone .header-link__label{display:none}.header-link--email,.header-link--phone{margin-left:0;width:36px;height:44px;justify-content:center;padding:0}.header-link--email svg{width:20px;height:20px}.header-link--phone svg.icon-phone{width:20px;height:20px;transform:scale(.8)}} /* tight bar: email drops back to its icon */

/* Burger: thick square-ended lines, no border. Opening, the lines collapse into one bar, the bar shrinks
   to a dot, and the dot turns and grows into a cross; closing runs the same steps backwards */
.menu-toggle{display:none;width:48px;height:48px;border:0;background:none;place-items:center;cursor:pointer;color:var(--navy);padding:0}
.menu-toggle__bars{position:relative;display:block;width:26px;height:3px;background:currentColor}
.menu-toggle__bars::before,.menu-toggle__bars::after{content:"";position:absolute;left:0;top:0;width:100%;height:100%;background:currentColor}
.menu-toggle__bars::before{translate:0 -9px}
.menu-toggle__bars::after{translate:0 9px}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars{background:transparent}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before{translate:0 0;rotate:45deg}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after{translate:0 0;rotate:-45deg}
@media (prefers-reduced-motion:no-preference){
  .menu-toggle.has-toggled .menu-toggle__bars{animation:burger-bar-close .55s ease-in-out}
  .menu-toggle.has-toggled .menu-toggle__bars::before{animation:burger-top-close .55s ease-in-out}
  .menu-toggle.has-toggled .menu-toggle__bars::after{animation:burger-bottom-close .55s ease-in-out}
  .menu-toggle.has-toggled[aria-expanded="true"] .menu-toggle__bars{animation-name:burger-bar-open}
  .menu-toggle.has-toggled[aria-expanded="true"] .menu-toggle__bars::before{animation-name:burger-top-open}
  .menu-toggle.has-toggled[aria-expanded="true"] .menu-toggle__bars::after{animation-name:burger-bottom-open}
}
/* 0-30% the lines meet, 30-55% the bar shrinks to a 3px dot, then the arms take over and grow from the dot into the cross */
@keyframes burger-bar-open{0%,30%{scale:1 1;background:currentColor}55%{scale:.115 1;background:currentColor}56%,100%{scale:1 1;background:transparent}}
@keyframes burger-top-open{0%{translate:0 -9px;rotate:0deg;scale:1 1}30%,55%{translate:0 0;rotate:0deg;scale:1 1}56%{rotate:0deg;scale:.115 1}100%{translate:0 0;rotate:45deg;scale:1 1}}
@keyframes burger-bottom-open{0%{translate:0 9px;rotate:0deg;scale:1 1}30%,55%{translate:0 0;rotate:0deg;scale:1 1}56%{rotate:0deg;scale:.115 1}100%{translate:0 0;rotate:-45deg;scale:1 1}}
@keyframes burger-bar-close{0%,44%{scale:1 1;background:transparent}45%{scale:.115 1;background:currentColor}70%,100%{scale:1 1;background:currentColor}}
@keyframes burger-top-close{0%{translate:0 0;rotate:45deg;scale:1 1}44%{rotate:0deg;scale:.115 1}45%,70%{translate:0 0;rotate:0deg;scale:1 1}100%{translate:0 -9px;rotate:0deg;scale:1 1}}
@keyframes burger-bottom-close{0%{translate:0 0;rotate:-45deg;scale:1 1}44%{rotate:0deg;scale:.115 1}45%,70%{translate:0 0;rotate:0deg;scale:1 1}100%{translate:0 9px;rotate:0deg;scale:1 1}}

/* Phones and small tablets: wordmark, phone + email icons, burger */
@media (max-width:960px){
  /* icon (26 x 21) pulled right so its gap to the screen edge equals its gap to the header top and bottom; 11px = button padding beside the icon */
  .menu-toggle{display:grid;margin-left:16px;margin-right:calc((var(--header-h) - 21px) / 2 - var(--gutter) - 11px)}
  .header-contact{margin-left:auto;gap:0}
  /* phone + email collapse into one contact icon */
  .header-icon:not(.header-icon--contact),.header-link--email,.header-link--phone{display:none}
  .header-icon--contact{display:inline-grid}
  .main-navigation{display:none}
  .main-navigation.is-open{display:flex;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;background:var(--surface);box-shadow:var(--shadow-md);padding:8px var(--gutter) 20px}
  /* links form a column on the right: left-aligned text, the column's right edge (longest item) level with the
     right edge of the close cross. The cross sits (header-h - 21px) / 2 from the screen edge (see .menu-toggle),
     less about 3px because the rotated bars are narrower than the 26px burger */
  .main-navigation.is-open{padding-right:calc((var(--header-h) - 21px) / 2 + 3px)}
  .main-navigation.is-open .menu{flex-direction:column;align-items:stretch;gap:0;align-self:flex-end;width:max-content}
  .main-navigation.is-open .menu a{padding:13px 0;font-size:1.125rem;border-bottom:0;background:none} /* no underline bar in the open burger menu */
  .main-navigation.is-open .menu .current-menu-item > a{color:var(--navy);font-weight:600}
}
/* Tablet (701-960px): single-line lock-up with credentials. 961-1280px keeps the compact wordmark, as the menu shares the bar */
@media (min-width:701px) and (max-width:960px){
  /* single-line lock-up hanging in a notch below the bar: 40 + 40 + 14 - 84 = 10px overhang, as on mobile */
  :root{--header-h:84px;--t-logo-h:40px;--t-logo-top:40px;--t-gap:14px}
  .site-header__inner{padding-block:18px} /* bar exactly --header-h so the triangles meet its bottom edge */
  .site-logo .logo-compact{display:none}
  .site-logo{position:absolute;left:var(--gutter);top:var(--t-logo-top);z-index:2;
    --notch-drop:calc(var(--t-logo-top) + var(--t-logo-h) + var(--t-gap) - var(--header-h))}
  .site-logo .logo-tablet{display:block;height:var(--t-logo-h)}
  .site-logo::before{content:"";position:absolute;z-index:-1;inset:calc(var(--t-gap) * -1);background:var(--surface)}
  .site-logo::after{content:"";position:absolute;z-index:-1;top:calc(var(--header-h) - var(--t-logo-top));height:var(--notch-drop);left:calc((var(--t-gap) + var(--notch-drop)) * -1);right:calc((var(--t-gap) + var(--notch-drop)) * -1);
    background:linear-gradient(to bottom left,#9a9a9a 50%,transparent 50%) left top / var(--notch-drop) 100% no-repeat,linear-gradient(to bottom right,#9a9a9a 50%,transparent 50%) right top / var(--notch-drop) 100% no-repeat}
}
@media (max-width:960px){.main-navigation.is-open{z-index:3}} /* open menu covers the mobile notch */
/* Mobile: stacked lock-up hanging in a white notch below the bar, same fold triangles as desktop */
@media (max-width:420px){
  :root{--header-h:84px;--m-logo-h:72px;--m-logo-top:var(--gutter);--m-gap:var(--gutter)} /* space above the logo and the notch gap right and below all = the gutter on its left, so the logo sits evenly inside */
  .site-header__inner{gap:var(--space-2);padding-block:18px} /* 18 + 48px burger + 18 = exactly --header-h, so the notch maths lines up with the bar's bottom edge */
  .site-logo .logo-compact{display:none}
  .site-logo{position:absolute;left:var(--gutter);top:var(--m-logo-top);z-index:2;
    --notch-drop:calc(var(--m-logo-top) + var(--m-logo-h) + var(--m-gap) - var(--header-h))} /* gutter + 72 + gutter - 84 = overhang below the bar */
  .site-logo .logo-mobile{display:block;height:var(--m-logo-h)}
  /* the notch runs flush to the left edge of the screen (the logo sits one gutter in), so only the right-hand fold triangle shows */
  .site-logo::before{content:"";position:absolute;z-index:-1;top:calc(var(--m-gap) * -1);right:calc(var(--m-gap) * -1);bottom:calc(var(--m-gap) * -1);left:calc(var(--gutter) * -1);background:var(--surface)}
  .site-logo::after{content:"";position:absolute;z-index:-1;top:calc(var(--header-h) - var(--m-logo-top));height:var(--notch-drop);width:var(--notch-drop);right:calc((var(--m-gap) + var(--notch-drop)) * -1);
    background:linear-gradient(to bottom right,#9a9a9a 50%,transparent 50%) right top / var(--notch-drop) 100% no-repeat}
}

/* ----- 5. Home: video player (square autoplaying loop + full-screen 16:9 version) ----- */
.video-player{position:relative;overflow:hidden;isolation:isolate;background:var(--navy-900)}
.video-player::before{content:"";position:absolute;inset:0;z-index:-1;background:
  radial-gradient(120% 90% at 85% 10%,rgba(65,136,255,.35),transparent 60%),
  linear-gradient(180deg,var(--navy) 0%,var(--navy-900) 100%)}
.video-player__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* Controls: square icon buttons, bottom right */
.video-controls{position:absolute;right:16px;bottom:16px;z-index:2;display:flex;gap:8px}
.video-btn{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:rgba(6,43,92,.6);color:#fff;cursor:pointer;transition:background .15s,color .15s}
.video-btn:hover{background:rgba(6,43,92,.85);color:var(--cyan)}
.video-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.video-btn svg{width:20px;height:20px}
/* Full-screen 16:9 player */
.video-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#000}
.video-lightbox[hidden]{display:none}
.video-lightbox__media{width:100%;height:100%;object-fit:contain;background:#000}
.video-lightbox__close{position:absolute;top:20px;right:20px;z-index:1;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;transition:background .15s,color .15s}
.video-lightbox__close:hover{background:rgba(255,255,255,.24);color:var(--cyan)}
.video-lightbox__close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.video-lightbox__close svg{width:22px;height:22px}
.video-square{width:100%;max-width:680px;aspect-ratio:1/1;justify-self:end;border-radius:var(--r-lg)}

/* ----- 6. Home: intro ----- */
.intro-grid.wrap{padding-inline:var(--side-wide)}
.intro-cta{justify-self:start}

/* ----- Site button: neumorphic pill (.btn-neu). The default button for every page CTA and the enquiry form
   (the Ailments/Treatments band keeps its own ruled-cell links). Full component, contrast notes and every state:
   neumorphic-button.html. Tokens are prefixed --neu-
   here so they can't collide with the site's own. Fill #2563EB (deeper step of the brand blue, button fills only):
   white label 5.17:1, AA at any size, so no contrast-derived minimum label size; fill vs #E8ECEF 4.35:1.
   Label 16px/600 intended; working floor 14px/600 (legibility/touch convention, not contrast). If it shrinks,
   raise the vertical padding so the button holds its 44px minimum height and hit area. Hover adds a 10% white overlay (eff. #3B73ED, 4.32:1),
   pressed an 18% slate overlay (eff. #2155C8, 6.57:1). Fill colour never changes; only press moves (1px). ----- */
/* Sheen: a soft specular highlight that follows the cursor (JS sets --mx/--my, toggles .is-sheen).
   It is a pointer-only affordance with NO accessibility weight: the button must be identifiable and show
   every state without it, and it must stay subtle enough never to compete with the focus outline.
   Layer order: hover/press tint (top) > sheen > --brand fill. --sheen is a registered number so its
   fade animates (160ms); --mx/--my are never transitioned, so the highlight tracks with no lag. */
@property --sheen{syntax:'<number>';inherits:false;initial-value:0}
:root{--neu-brand:#2563EB;--neu-shadow-dark:rgba(163,177,198,.60);--neu-shadow-light:rgba(255,255,255,.90);--neu-focus:#1E3A8A;--neu-overlay-hover:rgba(255,255,255,.10);--neu-overlay-pressed:rgba(15,23,42,.18)}
.btn-neu{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:44px;min-height:44px;padding:12px 28px;border:0;border-radius:999px;--mx:50%;--my:50%;--tint:linear-gradient(transparent,transparent);background-color:var(--neu-brand);background-image:var(--tint),radial-gradient(circle 90px at var(--mx) var(--my),rgba(255,255,255,calc(.18 * var(--sheen))),rgba(255,255,255,0) 70%);color:#fff;font:600 16px/1.2 var(--font-body);letter-spacing:.01em;text-decoration:none;cursor:pointer;box-shadow:2px 3px 4px rgba(120,136,160,.42),5px 7px 14px var(--neu-shadow-dark),-6px -6px 14px var(--neu-shadow-light);transition:transform 140ms ease-out,box-shadow 140ms ease-out,--sheen 160ms ease-out}
.btn-neu:hover{color:#fff;--tint:linear-gradient(var(--neu-overlay-hover),var(--neu-overlay-hover));box-shadow:2px 3px 5px rgba(120,136,160,.42),5px 7px 18px 1px var(--neu-shadow-dark),-6px -6px 18px 1px var(--neu-shadow-light)} /* light only, never moves */
.btn-neu svg{width:15px;height:15px;flex:none} /* optional icon before the label; gap set on .btn-neu */
.btn-neu:focus-visible{outline:3px solid var(--neu-focus);outline-offset:3px}
.btn-neu.is-sheen{--sheen:1}
.btn-neu.is-sheen:active{--sheen:0}
.btn-neu:active{--tint:linear-gradient(var(--neu-overlay-pressed),var(--neu-overlay-pressed));--sheen:0;box-shadow:inset 0 6px 12px rgba(21,53,110,.55),inset 0 2px 4px rgba(21,53,110,.40),inset 0 -2px 6px rgba(255,255,255,.14);transform:translateY(1px)} /* sinks: same blue, less light */
@media (forced-colors:active){.btn-neu,.btn-neu:hover,.btn-neu:active{border:2px solid ButtonBorder;background:ButtonFace;color:ButtonText;box-shadow:none}.btn-neu:focus-visible{outline:3px solid Highlight}}
@media (prefers-reduced-motion:reduce){.btn-neu{transition:none;--sheen:0 !important}.btn-neu,.btn-neu:active{transform:none}}
.intro-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,120px);align-items:center}
.intro-statement{font-size:clamp(1.75rem,2.7vw,3rem);line-height:1.04;text-wrap:pretty;max-width:22ch}
@media (max-width:960px){
  .intro-grid{grid-template-columns:minmax(0,1fr)}
  .video-square{justify-self:stretch;max-width:none}
}

/* Intro body copy under the statement */
.intro-grid__head{display:grid;gap:var(--space-5);align-content:center}
.intro-body{max-width:62ch}

/* ----- 8. Inner pages: banner, opening statement ----- */
/* Banner: blue duotone photo, shorter than the homepage's, with a white H1 */
.hero-banner--page .hero-banner__img{height:clamp(300px,30vw,460px);min-height:0;max-height:none}
.hero-banner--treatments .hero-banner__img{object-position:50% 35%} /* keeps the hands and foot in frame */
.hero-banner--prices .hero-banner__img{object-position:50% 60%} /* keeps the feet in frame */
.hero-banner--prices .hero-banner__title,.hero-banner--about .hero-banner__title,.hero-banner--contact .hero-banner__title{line-height:.94} /* tighter than the other banner headings */
.hero-banner--contact .hero-banner__img{object-position:50% 65%} /* keeps the feet and hand in frame */
.hero-banner--about .hero-banner__img{object-position:50% 55%} /* keeps the gloved hands and foot in frame */
.hero-banner--page .hero-banner__content .wrap{display:grid;gap:var(--space-3);align-content:center}
.hero-banner--page .hero-banner__title{max-width:min(18ch,60vw);font-size:clamp(2.25rem,4vw,4.25rem)}
@media (max-width:700px){.hero-banner--page .hero-banner__img{height:auto;aspect-ratio:16/9}}

/* Opening statement: large Butler statement, body copy beside it */
.page-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,120px);align-items:end}
.page-intro--solo{grid-template-columns:minmax(0,1fr)}
.page-intro--solo .intro-statement{max-width:30ch}
.page-intro-section + .section:not(.treatments-summary,.treatments-section,.tabs-section,.accred){padding-top:0} /* filled bands keep their top padding */
/* Statement stacked over the copy, centred */
.page-intro.page-intro--centred{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:var(--space-5)}
.page-intro--centred .intro-statement{max-width:none;text-wrap:balance} /* two even lines on desktop */
.page-intro--centred .entry-content{max-width:50rem} /* roughly the width of the two-line statement */
.page-intro--centred .entry-content p{text-wrap:balance} /* centred paragraphs break into even lines */
@media (max-width:700px){.page-intro.page-intro--centred{justify-items:start;text-align:left}.page-intro--centred .intro-statement,.page-intro--centred .entry-content p{text-wrap:pretty}} /* mobile: statement and copy left-aligned, normal wrapping */
@media (max-width:900px){.page-intro{grid-template-columns:minmax(0,1fr);gap:var(--space-4)}}

/* ----- 9. Treatments page ----- */
.page-intro-section + .treatments-section,.treatments-section{background:var(--surface-alt);padding-top:var(--sec-pad-y)} /* very light grey band; full top padding now it has a fill */
.treatments-cta{margin-top:0} /* the last treatment's bottom padding already spaces it */
.treatments-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:clamp(32px,6vw,120px);align-items:start}
.toc{position:sticky;top:calc(var(--header-h) + 32px)}
.toc .toc__list{margin-top:0} /* spine starts level with the top of the first number */
.toc__list li{min-height:48px}
.toc__list a{color:var(--navy);text-decoration:none;font-weight:500;transition:color .15s}
.toc__list a:hover{color:var(--blue)}
.toc__list a.is-active{color:var(--blue-700);font-weight:600}
.treatment{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(24px,4vw,80px);padding-block:clamp(40px,4.5vw,72px)}
.treatment:first-child{padding-top:0}
.treatment__head{display:grid;gap:var(--space-3);align-content:start}
.treatment__num{font-family:var(--font-display);font-weight:700;font-size:clamp(2.75rem,3.6vw,3.75rem);line-height:1;color:#d0d0d0}
.treatment__head h2{font-size:clamp(1.875rem,2.6vw,2.75rem);line-height:1}
.treatment .entry-content{max-width:var(--measure)}
.toc__num{display:none}
.treatments-section__head{display:none} /* mobile/tablet only: the rail has no names, so the section needs a title */
@media (max-width:1100px){.treatments-section__head{display:block;margin-bottom:var(--space-5)}}
/* Tablet and mobile: the contents list becomes a narrow sticky rail of numbers beside the treatments */
@media (max-width:1100px){
  .treatments-layout{grid-template-columns:max-content minmax(0,1fr);gap:var(--gutter)} /* gap after the numbers = the page gutter on the left */
  .toc{top:calc(var(--header-h) + 16px)}
  .toc .toc__list{--spine:6px;--tick:10px}
  .toc .toc__list li{min-height:40px;padding-block:0} /* the numbers-only rail stays compact */
  .toc__num{display:inline;font-family:var(--font-display);font-weight:700;font-size:1.0625rem;line-height:1;color:#b0b0b0}
  .toc__list a:hover .toc__num{color:var(--blue)}
  .toc__list a.is-active .toc__num{color:var(--navy)}
  .toc__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* name kept for screen readers */
  .toc__list a{display:flex;align-items:center;min-height:40px}
}
@media (max-width:800px){.treatment{grid-template-columns:minmax(0,1fr)}.treatments-section .treatment__head{display:flex;align-items:flex-start;column-gap:14px}} /* mobile: title to the right of its number, sizes unchanged */

/* ----- 10. Prices page: tabs (ruled tab list like the Treatments contents list, panel laid out like a treatment) ----- */
.tabs-section{background:var(--surface-alt)}
.tabs-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:clamp(32px,6vw,120px);align-items:start}
.tabs-list.toc__list{margin-top:0}
.tabs-list button{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;font-weight:500;color:var(--navy);text-align:left;cursor:pointer;transition:color .15s}
.tabs-list button:hover{color:var(--blue)}
.tabs-list button[aria-selected="true"]{color:var(--blue-700);font-weight:600}
.tab-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-5);align-content:start;min-height:240px} /* number + title above the copy */
.tab-panel .entry-content{max-width:52rem}
.tab-panel .treatment__head{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.35em;font-size:clamp(2.75rem,3.6vw,3.75rem)} /* number and title on one line, same size */
.tab-panel .treatment__num,.tab-panel .treatment__head h2,.tab-panel .treatment__head h3{font-size:1em;line-height:1}
.tab-panel[hidden]{display:none}
.tabs-cta{margin-top:var(--space-5)}
.tabs-section__title{text-align:left;margin-bottom:var(--space-7)}
.tab-panel .treatment__head h3{font-size:1em;line-height:1}
.tab-panel .entry-content .areas-list{margin-block:var(--space-5);padding-left:calc(var(--spine) + var(--tick))} /* keep the ruled list's own indent inside copy */
.tabs-section.tabs-section--white{background:var(--surface)}
.tabs-section--white + .tabs-section--white,.tabs-section--white + .diabetes{padding-top:0} /* About: Podiatry, Chiropody and Diabetes share the white, so one gap between them, not two */
.tab-panel:focus-visible{outline:2px solid var(--blue-700);outline-offset:8px}
/* Tablet and mobile: tab number and title stay on one line, title wrapping beside the number */
@media (max-width:1100px){.tab-panel .treatment__head{flex-wrap:nowrap;align-items:flex-start}}
/* Tablet: tab list stays on the left, narrower */
@media (max-width:1100px){.tabs-layout{grid-template-columns:200px minmax(0,1fr);gap:var(--space-6)}.tabs-list.toc__list li{padding-block:14px}} /* taller rows so wrapped names have space above and below */
/* Mobile: tabs run in a horizontal row above the panel, sharing the width; the spine runs along the bottom with ticks between tabs */
@media (max-width:700px){
  .tabs-layout{grid-template-columns:minmax(0,1fr);gap:var(--space-5)}
  .tabs-list.toc__list{display:flex;padding:0 0 14px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter)}
  .tabs-list.toc__list::-webkit-scrollbar{display:none}
  .tabs-list.toc__list::before{display:none}
  .tabs-list.toc__list li{flex:1 1 0;min-width:0;min-height:0;align-items:flex-start;padding:0 12px 12px;background:linear-gradient(var(--line),var(--line)) left bottom / 100% var(--line-w) no-repeat} /* spine drawn under each tab so it runs the full scroll width */
  .tabs-list.toc__list li:first-child{padding-left:0}
  .tabs-list.toc__list li + li::before{top:auto;bottom:-14px;left:0;width:var(--line-w);height:28px}
  .tabs-list button{white-space:normal;line-height:1.3;padding-block:8px} /* names wrap onto short lines so all tabs fit across the screen */
}
@media (max-width:800px){.tab-panel{min-height:0}.tab-panel .treatment__head h2,.tab-panel .treatment__head h3{line-height:1.08}} /* mobile: a touch more leading so wrapped tab titles don't touch */

/* ----- 11. About page: Podiatry and Chiropody use the tab module (section 10) ----- */

/* ----- 12. Contact page: statement + tiles left, map edge to edge right ----- */
.prefooter.contact-split{background:var(--surface)}
.contact-split__body{display:grid;gap:var(--space-4);align-content:start}
.contact-split__cta{justify-self:start;margin-top:var(--space-2)}
/* Enquiry form (Contact page, right column) */
.enquiry-form{display:grid;gap:var(--space-3);align-content:start;padding:clamp(24px,3vw,48px);background:var(--surface-alt)} /* light grey panel, no shadow */
.enquiry-form__title{font-size:clamp(1.5rem,2vw,2rem);line-height:1.1;margin:0}
.enquiry-form__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-3) var(--space-4)}
.field{display:grid;gap:6px}
.field label{font-weight:600;font-size:.875rem;color:var(--navy)}
.field__required{font-weight:400} /* "(Required)" beside the bold label, as on the Gravity Form */
.field input,.field textarea,.field select{width:100%;font:inherit;color:var(--navy);background:transparent;border:0;border-bottom:1px solid #d0d0d0;border-radius:0;padding:10px 0;min-height:44px;transition:border-color .15s,box-shadow .15s} /* underline only; 44px keeps a comfortable tap target */
.field textarea{resize:vertical;min-height:100px}
/* Select: closed state styled to match the underlined fields, with a navy chevron. The open list is drawn by the browser/OS. */
.field select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:28px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23093d80' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat}
.field select:invalid,.field select:has(option[value=""]:checked){color:#6e6e6e} /* 'Select' placeholder in grey */
.field select option{color:var(--navy)}
.field input:hover,.field textarea:hover,.field select:hover{border-bottom-color:var(--blue-200)}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-bottom-color:var(--blue-700);box-shadow:0 1px 0 var(--blue-700)} /* focus: underline thickens to blue */
.enquiry-form__note{font-size:.8125rem;margin:0}
.enquiry-form .btn-neu{justify-self:start}
@media (max-width:600px){.enquiry-form__row{grid-template-columns:minmax(0,1fr)}}
.contact-tiles.contact-tiles--light{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:var(--space-2)}
.contact-tiles--light .contact-tile{background:var(--surface);color:var(--navy);box-shadow:0 0 16px rgba(9,61,128,.06)}
.contact-tiles--light a.contact-tile:hover{background:var(--surface)}
.contact-tiles--light a.contact-tile:hover .contact-tile__label,.contact-tiles--light a.contact-tile:hover svg{color:var(--blue)} /* icon takes the rollover colour too */
.contact-tiles--light .contact-tile svg,.contact-tiles--light .contact-tile__label{transition:color .15s}
.contact-tiles--light .contact-tile svg{color:var(--navy)}
.contact-tiles--light .contact-tile__detail{color:var(--navy);font-size:.9375rem}
.contact-tiles--light .contact-tile[href^="mailto"] .contact-tile__detail{white-space:normal;overflow-wrap:anywhere}
@media (max-width:1280px){.contact-tiles.contact-tiles--light{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-tiles--light li:nth-child(n+3){grid-column:1/-1}} /* stacked layout: Tel + Mob side by side, Email and Address full width */
.contact-tiles--light a[href^="tel"] .contact-tile__detail{white-space:nowrap} /* numbers never break */
@media (max-width:700px){.contact-tiles--light .contact-tile{padding-inline:16px}}
.map-frame{position:relative;min-height:440px;height:100%;overflow:hidden;background:var(--surface-alt)}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ----- 13. Sidebar content from the live site, now two bands on every page ----- */
/* Ailments | Treatments */
/* Brand blue band, white type. Note: white body text on #4188ff is 3.39:1 (below AA 4.5:1 for small text), by client choice. */
.treatments-summary{background:var(--blue);color:#fff}
.treatments-summary h2{color:#fff}
.treatments-summary{--side:var(--side-wide);--rule:var(--blue-200);--rule-w:.5px;--row:69px}
.treatments-summary .wrap{padding-inline:var(--side)}
/* Ailments / treatments as a ruled two-column list: a line above and below every row,
   one centre line that runs past the first and last rows, no outer edges. No fill, no bullets, no hover. */
.item-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
/* The centre line runs the full column: beside the title, through the list, and past the last row */
.treatments-summary__col{position:relative}
.treatments-summary__col::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:var(--rule-w);background:var(--rule)}
.treatments-summary__col h2{width:50%;height:var(--row);display:flex;align-items:flex-end;padding:0 24px 18px 0;line-height:1}
.item-cards li{display:flex;align-items:center;min-height:var(--row);padding:14px 24px 14px 0;border-bottom:var(--rule-w) solid var(--rule);color:#fff;font-weight:500;line-height:1.35}
.item-cards li:nth-child(-n+2){border-top:var(--rule-w) solid var(--rule)}
.item-cards li:nth-child(even){padding-left:24px;padding-right:0}
/* Odd number of items (e.g. Treatments, with Foot health education last): the last item sits in the free left cell
   of the link row, beside the button, rather than adding a row of its own */
@media (min-width:421px){
  .item-cards:has(> li:last-child:nth-child(odd)) + .item-cards__foot{margin-top:calc(-1 * var(--row))}
  .item-cards > li:last-child:nth-child(odd){border-bottom:0}
}
@media (max-width:420px){
  .item-cards{grid-template-columns:minmax(0,1fr);margin-block:0}
  .treatments-summary__col::before{display:none}
  .treatments-summary__col h2{width:auto;height:auto;padding-bottom:var(--space-3)}
  .item-cards li,.item-cards li:nth-child(even){padding-inline:0}
  .item-cards li:nth-child(2){border-top:0}
}
/* Link row under each table: one row high, in the right-hand half beside the centre line's overrun */
.item-cards__foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:var(--row)}
.link-arrow{grid-column:2;align-self:center;justify-self:start;display:inline-flex;align-items:center;min-height:44px;padding-left:24px;color:#fff;font-weight:600;text-decoration:none}
.link-arrow:hover{text-decoration:underline;text-underline-offset:4px}
/* Filled variant (Contact, Treatments): the whole cell is the button. White fill, blue label; navy fill, white label on hover */
.link-arrow--fill{align-self:stretch;justify-self:stretch;margin-left:0;padding:0 24px;background:#fff;color:var(--blue)} /* fills the whole cell */
.link-arrow--fill:hover{background:var(--navy);color:#fff;text-decoration:none}
@media (max-width:420px){.item-cards__foot{grid-template-columns:minmax(0,1fr)}.link-arrow{grid-column:1;padding-left:0}.link-arrow--fill{padding-inline:20px;min-height:var(--row)}}
.treatments-summary__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--side);align-items:start}
.treatments-summary__col{display:grid;gap:0;align-content:start}
.treatments-summary h2,.prefooter h2{font-size:clamp(1.75rem,2.4vw,2.625rem)}
@media (max-width:1200px){.treatments-summary__grid{grid-template-columns:minmax(0,1fr);row-gap:var(--space-6)}}

/* Home: Foot Health Education. 3 x 2 grid, title in the top-left cell */
.education{background:var(--surface)}
.education-grid{list-style:none;margin-block:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(9,61,128,.2);background-clip:content-box} /* 1px gaps over a navy-tint fill = grid lines between cells only, none round the outside */
.education-grid > li{background:var(--surface)}
.education-grid > li.education-grid__cta{background:var(--blue)}
.education-grid__intro{display:grid;gap:var(--space-3);align-content:start;padding:clamp(24px,2.6vw,40px)} /* same padding as the cards, so everything sits evenly inside the grid lines */
.education-grid__sub{font-family:var(--font-display);font-weight:500;font-size:clamp(1.25rem,1.6vw,1.5rem);line-height:1.3;color:#d0d0d0}
.topic-card{display:flex;flex-direction:column;gap:var(--space-3);padding:clamp(24px,2.6vw,40px);background:var(--surface);border:0;border-radius:var(--r-md)} /* no shading: the grid lines separate the cards */
.topic-card__num{display:block;color:#d0d0d0;font-family:var(--font-display);font-weight:700;font-size:clamp(2.75rem,3.6vw,3.75rem);line-height:1}
.topic-card h3{font-size:clamp(1.5rem,1.9vw,1.875rem);line-height:1.15}
/* Brand blue card: white heading (large text, 3.39:1); buttons carry their own grounds */
.education-grid__cta{display:flex}
.topic-card--cta{flex:1;justify-content:space-between;background:var(--blue);text-decoration:none;min-height:240px;transition:background-color .2s}
.topic-card--cta:hover,.topic-card--cta:focus-visible{background:var(--navy)}
.topic-card__chevron{align-self:flex-start;width:auto;height:clamp(64px,6vw,96px)}
.topic-card--cta h3{color:#fff}
.topic-card--cta h3{font-size:clamp(1.75rem,2.4vw,2.5rem)}
@media (max-width:1100px){
  .education-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .education-grid__intro{grid-column:1/-1;max-width:var(--measure)}
}
@media (max-width:680px){
  .education-grid{grid-template-columns:minmax(0,1fr)}
  .education-grid__intro,.topic-card:not(.topic-card--cta){padding-inline:0} /* text runs the full content width; the blue card keeps its inset */
}

/* Areas We Cover | map */
.prefooter{--pf-gap:var(--sec-pad-y); /* gap before the map = the band's top/bottom padding */position:relative;background:var(--bg-alt)}
.prefooter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--pf-gap);align-items:start;min-height:360px} /* two equal columns */
.prefooter h2{margin-bottom:var(--space-3)}
.prefooter p{max-width:60ch}
/* Map fills the right half of the band edge to edge: no right, top or bottom padding.
   Its left edge is the start of the second column (centre + half the gap). */
/* Areas heading: title on one line, intro below */
.areas-head{display:grid;gap:var(--space-3)}
.areas-head h2{margin:0;line-height:.95}
.areas-head p{margin:0}
/* Left half of the coverage band: main towns, then the wider list of towns beside them */
.areas-cols{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:var(--space-6)}
.areas-list.areas-list--compact{margin-top:-9px} /* lifts the first town so its text top lines up with the top of the title */
.areas-list.areas-list--compact li{min-height:34px;padding-block:0;line-height:1.35;white-space:nowrap;color:#6e6e6e} /* grey, 4.5:1 on the grey band */
/* The longer list is plain: no spine, no ticks */
.areas-list--compact{padding-left:0}
.areas-list--compact li{justify-content:flex-end;text-align:right} /* right-aligned to the column edge */
.areas-list--compact::before,.areas-list--compact li + li::before{display:none}
/* Mobile: heading full width, then the main list and the compact list side by side */
@media (max-width:600px){
  .areas-cols{column-gap:var(--space-4);row-gap:0}
  .areas-cols__main{display:contents}
  .areas-head{grid-column:1/-1}
  .areas-cols .areas-list{grid-row:2}
  .areas-list.areas-list--compact{grid-column:2;margin-top:calc(var(--space-4) - 1px)} /* first town lines up with the top of "Gloucester" */
}
/* Areas list: a navy spine down the left with a short tick crossing it between each town. No bullets. */
.areas-list{--spine:28px;--tick:28px;--line:#b3b3b3;--line-w:1px;position:relative;list-style:none;margin:var(--space-4) 0 0;padding:0 0 0 calc(var(--spine) + var(--tick))}
.areas-list::before{content:"";position:absolute;left:var(--spine);top:0;bottom:0;width:var(--line-w);background:var(--line)}
.areas-list li{position:relative;display:flex;align-items:center;min-height:56px;padding-block:12px;font-weight:500;line-height:1.6} /* row height and line spacing shared by every ruled list (set from "Who it's for") */
.areas-list li + li::before{content:"";position:absolute;top:0;left:calc((var(--spine) + var(--tick)) * -1);width:calc(var(--tick) * 2);height:var(--line-w);background:var(--line)}
.prefooter .map-col{position:absolute;top:0;bottom:0;right:0;left:calc(50% + var(--pf-gap) / 2)}
.prefooter .map-frame{position:absolute;inset:0;min-height:0;height:auto;border:0}
@media (max-width:900px){.prefooter-grid{grid-template-columns:minmax(0,1fr);min-height:0}.prefooter .map-col{position:relative;inset:auto;margin:0 calc(var(--gutter) * -1) calc(var(--sec-pad-y) * -1);aspect-ratio:4/3}}

/* ----- 14. Closing banner ----- */
.cta-band .wrap{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--space-5);align-items:center} /* title left, cards right */
@media (max-width:1440px){.cta-band .wrap{grid-template-columns:minmax(0,1fr)}}
/* Four small contact cards: enquiry form, call, email, post */
.contact-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content minmax(0,1fr); /* email card sizes to its address */gap:var(--space-3)}
.contact-tile{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;column-gap:10px;row-gap:6px;height:100%;padding:22px 24px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none}
.on-dark a.contact-tile{color:#fff} /* beat the band's light-blue link colour */
.contact-tile[href^="mailto"] .contact-tile__detail{white-space:nowrap;overflow-wrap:normal}
a.contact-tile:hover{background:rgba(255,255,255,.16)}
.contact-tile svg{grid-row:1;grid-column:1;align-self:center;width:20px;height:20px;color:#fff} /* icon sits left of the title */
.contact-tile__label{grid-row:1;grid-column:2;font-weight:600;font-size:1rem}
.contact-tile__detail{grid-row:2;grid-column:1/-1; /* starts under the icon, at the card's text edge */font-size:.875rem;color:var(--on-dark);overflow-wrap:anywhere}
@media (max-width:1100px){.contact-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.contact-tiles{grid-template-columns:minmax(0,1fr)}} /* mobile: one card per row so the email address never spills */
.cta-band h2{font-size:clamp(1.5rem,2.2vw,2.25rem);max-width:28ch} /* line break set in the markup; column hugs the text */
.cta-chevron{display:inline-block;width:auto;height:.78em;margin-left:.4em;vertical-align:-.04em} /* sits on the baseline, cap-height tall */

/* ----- 15. Footer (footer.php) ----- */

.site-footer{background:var(--blue);color:#fff;padding-block:var(--sec-pad-y) var(--space-6);font-size:.9375rem}
/* Quick contact: the footer's top row on the brand-blue footer. Title + copy left, one-line form right.
   Inputs are white with navy text (white text on the brand blue is only 3.4:1); spacing, not a rule, separates it from the row below. */
.quick{display:grid;gap:var(--space-5);margin-bottom:var(--sec-pad-y)}
.quick__intro{display:grid;gap:var(--space-3);align-content:start}
.site-footer .quick__intro h2{margin:0;font-family:var(--font-display);font-weight:700;letter-spacing:0;text-transform:none;color:#fff;font-size:clamp(2rem,3.4vw,3rem);line-height:1.02} /* outranks the footer's small-caps h2 style */
.quick__intro p{color:#fff;max-width:46ch;margin:0}
.quick__form,.mb-quick_wrapper form.mb-quick{display:grid;gap:var(--space-3) var(--space-4);align-items:end}
.quick__field{display:grid;gap:6px}
.quick__field label{font-size:.875rem;font-weight:600;color:#fff}
.quick__field input,.quick__field textarea{width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:0;background:var(--navy);color:#fff;font:400 1rem/1.4 var(--font-body)} /* 16px: no iOS zoom. Navy fill: white text 10.55:1, field edge vs the blue footer 3.11:1 (both pass) */
.quick__field textarea{min-height:140px;resize:vertical;display:block} /* drag the corner handle to make it taller */
.quick__field input:focus,.quick__field textarea:focus{outline:3px solid #fff;outline-offset:0}
/* Gravity Forms quick form (CSS class "mb-quick", fields carry the quick__field classes). GF's own CSS is off, so its
   wrappers are flattened (display:contents) and the fields, button and privacy line drop into the grid above. */
.mb-quick_wrapper .gform_body,.mb-quick_wrapper .gform_fields,.mb-quick_wrapper .gform_footer{display:contents}
.mb-quick_wrapper .gfield{min-width:0;margin:0;padding:0;border:0}
.mb-quick_wrapper .gfield_required{margin-left:3px;font-weight:400;color:#fff}
.mb-quick_wrapper .gform_validation_container,.mb-quick_wrapper .gform_hidden,.mb-quick_wrapper input[type=hidden],.mb-quick_wrapper .gform_ajax_spinner{display:none!important} /* honeypot, hidden fields, spinner */
.mb-quick_wrapper .gform_validation_errors{grid-column:1 / -1;padding:12px 16px;background:var(--navy);border-left:3px solid #fff}
.mb-quick_wrapper .gform_submission_error,.mb-quick_wrapper .gfield_validation_message{margin:0;font:600 .875rem/1.4 var(--font-body);color:#fff}
.mb-quick_wrapper .gfield_error input,.mb-quick_wrapper .gfield_error textarea{outline:2px solid #fff;outline-offset:0}
.mb-quick_confirmation_wrapper .gform_confirmation_message{font:500 1.125rem/1.5 var(--font-body);color:#fff}
@media (max-width:1100px){.mb-quick_wrapper .quick__field textarea{height:140px}} /* GF's 10-row textarea, sized like the preview form; desktop fills the tall cell instead */
.quick__send,.mb-quick_wrapper .gform_button{justify-self:start} /* the site's neumorphic button (.btn-neu); this class only places it */
/* Neumorphic shading recalculated for the brand-blue footer: the pair is a darker and a lighter step of #4188FF instead of grey + white */
.site-footer .btn-neu{--neu-brand:var(--navy);--neu-shadow-dark:rgba(12,52,140,.55);--neu-shadow-light:rgba(150,192,255,.55)} /* navy fill: white label 10.55:1, button vs the blue footer 3.11:1 */
.site-footer .btn-neu:not(:active){box-shadow:2px 3px 4px rgba(9,40,110,.45),5px 7px 14px var(--neu-shadow-dark),-6px -6px 14px var(--neu-shadow-light)} /* tight contact shade in deep blue, not the grey used on light pages */
.site-footer .btn-neu:not(:active):hover{box-shadow:2px 3px 5px rgba(9,40,110,.45),5px 7px 18px 1px var(--neu-shadow-dark),-6px -6px 18px 1px var(--neu-shadow-light)}
@media (min-width:701px){.quick__form,.mb-quick_wrapper form.mb-quick{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.quick__field--message,.quick__privacy{grid-column:1 / -1}}
@media (min-width:1101px){
  .quick{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(40px,4vw,80px);align-items:start}
  /* message box takes the space beside the intro (left, spanning two rows); name + phone stack on the right, Send under them. Source order matches, so tabbing follows what you see */
  .quick__form,.mb-quick_wrapper form.mb-quick{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:"msg name" "msg phone" "msg send" "msg privacy";align-items:start}
  .quick__field--name{grid-area:name}
  .quick__field--phone{grid-area:phone}
  .quick__field--message{grid-area:msg;grid-column:auto;height:100%;grid-template-rows:auto 1fr}
  .quick__field--message textarea{height:100%}
  .quick__send,.mb-quick_wrapper .gform_button{grid-area:send}
  .mb-quick_wrapper .quick__field--message .ginput_container{height:100%} /* lets the textarea fill the tall message cell */
  .quick__privacy{grid-area:privacy;grid-column:auto}
}
.footer-grid{display:grid;grid-template-columns:1fr repeat(2,max-content);gap:var(--space-6) var(--space-8);align-items:start} /* logo left; Pages and Contact pushed right */
/* Footer is brand blue, so it uses the on-blue stacked lock-up directly */
.footer-logo{display:block;line-height:0}
.footer-logo img{width:clamp(200px,18vw,280px);height:auto}
.site-footer h2{font-family:var(--font-body);font-size:.8125rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:var(--space-3)}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a{transition:color .15s}
.site-footer a:hover{color:var(--navy);text-decoration:none} /* rollover: navy text, no underline */
/* Contact column: icon in place of a Tel/Mob label, text lined up after it */
.footer-contact__item{display:grid;grid-template-columns:18px auto;column-gap:12px;align-items:center}
.footer-contact__item svg{width:18px;height:16px;color:#fff;transition:color .15s}
.footer-contact__item:has(a:hover) svg{color:var(--navy)} /* icon follows its link's rollover */
.footer-contact__item:nth-child(n+3) svg{transform:scale(.8)} /* email + address: wide glyphs read larger than the phones */
.site-footer .menu-item[class*="menu-item--"] > a{gap:12px} /* match the contact column icons */
.site-footer .menu-item[class*="menu-item--"] > a::before{width:18px}
.footer-base{margin-top:var(--space-8);display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-5);justify-content:space-between;font-size:.875rem}
.footer-base ul{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4)}
@media (max-width:900px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--space-6)}.footer-logo{grid-column:1/-1;justify-self:start}}
@media (max-width:520px){.footer-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){.footer-logo{justify-self:center;margin-top:20px;margin-bottom:35px}} /* mobile: logo centred, extra space below */
.footer-base__address{white-space:nowrap}
@media (max-width:700px){.footer-base__sep{display:none}.footer-base__address{display:block}} /* mobile: address on its own line */

/* ----- Home: banner image with H1 ----- */
.hero-banner{position:relative;display:grid;background:var(--surface)}
.hero-banner > *{grid-area:1/1}
.hero-banner__img{width:100%;height:auto;min-height:440px;max-height:78vh;object-fit:cover;object-position:62% 75%}
/* White fade on the left so the heading reads over the bright background */
.hero-banner__content{position:relative;display:flex;align-items:center;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.86) 30%,rgba(255,255,255,.35) 48%,rgba(255,255,255,0) 60%)}
.hero-banner__content .wrap{width:100%}
.hero-banner__title{max-width:min(13ch,44vw);margin-left:0;font-size:clamp(2.5rem,4.8vw,5.25rem);line-height:1.04;text-shadow:0 0 24px rgba(255,255,255,.6)}
.hero-banner .hero-banner__title--lines{max-width:none} /* line breaks set in the markup */
@media (max-width:420px){
  .hero-banner__img{aspect-ratio:4/3;min-height:0;max-height:none;object-position:68% 80%}
  .hero-banner__content{grid-area:2/1;background:var(--surface);padding-top:32px}
  .hero-banner__title{max-width:none;margin-left:0;line-height:1.08;text-shadow:none}
  .hero-banner + .section{padding-top:40px}
}

/* Blue duotone banner: white and light grey heading over a navy shade */
.hero-banner--blue{background:var(--blue-700)}
.hero-banner--blue .hero-banner__content{background:linear-gradient(90deg,rgba(6,43,92,.62) 0%,rgba(6,43,92,.48) 32%,rgba(6,43,92,.16) 52%,rgba(6,43,92,0) 64%)}
.hero-banner--blue .hero-banner__title{color:#fff;text-shadow:0 0 28px rgba(6,43,92,.3)}
.hero-banner--blue .hero-banner__title .hl{color:#b8b8b8}
@media (max-width:420px){
  .hero-banner--blue .hero-banner__content{background:var(--blue-700);padding-block:32px 36px}
  .hero-banner--blue .hero-banner__title{text-shadow:none}
  .hero-banner--blue + .section{padding-top:var(--sec-pad-y)}
}
.hero-banner picture{display:block}
/* Home, mobile: portrait photo with the H1 laid over the empty pavement at the bottom */
@media (max-width:420px){
  .hero-banner--home .hero-banner__img{aspect-ratio:977/1003;object-position:50% 0} /* bottom ~10% of the photo cropped off */
  .hero-banner--blue.hero-banner--home .hero-banner__content{grid-area:1/1;align-items:flex-end;padding-block:0 36px;background:linear-gradient(0deg,rgba(6,43,92,.45) 0%,rgba(6,43,92,0) 50%)}
  /* Inner pages use the same portrait photo, cropped shorter, with the H1 laid over the bottom */
  .hero-banner--page .hero-banner__img{height:auto;aspect-ratio:977/1003;object-position:50% 0}
  .hero-banner--blue.hero-banner--page .hero-banner__content{grid-area:1/1;align-items:flex-end;padding-block:0 36px;background:linear-gradient(0deg,rgba(6,43,92,.55) 0%,rgba(6,43,92,0) 60%)}
  .hero-banner--page .hero-banner__content .wrap{align-content:end}
}


/* ----- 16. Refinements ----- */
/* Mobile */
@media (max-width:600px){
}

/* Line breaks that only apply where there is room */
.br-mobile{display:none}
@media (max-width:600px){.br-desktop{display:none}.br-mobile{display:inline}}

/* ----- Mobile refinements (<=700px) ----- */
@media (max-width:420px){
  /* Larger banner headings */
  .hero-banner .hero-banner__title{font-size:2.75rem}
  .hero-banner--page .hero-banner__title{font-size:2.625rem}
  /* Home intro: video runs edge to edge, About us button moves under it */
  .intro-grid__head{display:contents}
  .intro-grid .intro-statement,.intro-grid .intro-body{order:0}
  .intro-grid .video-square{order:1;margin-inline:calc(var(--side-wide) * -1);width:auto}
  .intro-grid .intro-cta{order:2}
}

/* About page tab modules: panel number + title sit a clear step below the section title (h2 is 32-52px; these are 24-36px) */
.tabs-section--compact .tab-panel .treatment__head{font-size:clamp(1.5rem,2.2vw,2.25rem)}

/* Tablet: more room under the homepage video before the Ailments & Treatments band */
@media (min-width:701px) and (max-width:960px){.section:has(> .intro-grid){padding-bottom:calc(var(--sec-pad-y) + 48px)}}

/* About: Melody's story under the centred intro. All body copy, left-aligned, split over two columns in one row */
.page-intro--centred .about-story{margin-top:40px;max-width:none;width:100%;text-align:left;columns:2;column-gap:clamp(32px,5vw,96px)}
.page-intro--centred .about-story p{break-inside:avoid;text-wrap:pretty} /* normal wrapping, not the centred intro's balanced lines */
.about-story > * + *{margin-top:.9em}
@media (max-width:900px){.page-intro--centred .about-story{columns:1}}

/* ----- Home: why home visits. Light grey band: the why + who on the left (navy spine list), first-visit answers in a white card on the right ----- */
.home-visits{background:var(--surface-alt)}
.home-visits__grid{display:grid;gap:var(--space-6)}
.home-visits__why{display:grid;gap:var(--space-4);align-content:start}
.home-visits__lede{margin:0;max-width:46ch;font-family:var(--font-body);font-weight:500;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;color:var(--navy)}
.home-visits h3{font-size:clamp(1.25rem,1.5vw,1.5rem);line-height:1.2}
.home-visits__why h3{font-family:var(--font-body);font-weight:600;font-size:1.125rem} /* "Who it's for" in Work Sans, like the lede above it */
.home-visits__why .areas-list{margin:0}
.home-visits__why .areas-list li{font-weight:400}
.home-visits__first{display:grid;gap:var(--space-4);align-content:start;padding:clamp(24px,3vw,48px);background:var(--surface);box-shadow:0 0 16px rgba(9,61,128,.04)}
.home-visits__first dl{display:grid;gap:var(--space-4);margin:0}
.home-visits__first dt{font-weight:600;color:var(--navy)}
.home-visits__first dd{margin:4px 0 0}
.home-visits__first .btn-neu{justify-self:start;margin-top:var(--space-4)} /* extra room above the button, on top of the card's row gap */
@media (min-width:1001px){.home-visits__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,6vw,120px);align-items:start}}
/* Copy still to confirm with Melody: highlighted so it can't slip through to launch */
mark.tbc{background:#fff1a8;color:inherit;padding:0 .15em}

/* ----- Home: review. White band, centred Butler quote with an oversized brand-blue opening mark ----- */
.review{background:var(--surface)}
.review__fig{margin:0 auto;display:grid;justify-items:center;gap:var(--space-4);text-align:center}
.review blockquote{position:relative;margin:0;width:100%;padding-top:clamp(40px,4vw,64px)}
.review blockquote::before{content:"\201C";position:absolute;top:0;left:50%;transform:translateX(-50%);font:700 clamp(5rem,8vw,8rem)/1 var(--font-display);color:var(--blue);height:.6em;overflow:hidden} /* decorative */
.review blockquote p{max-width:44ch;margin:0 auto;font-family:var(--font-display);font-weight:500;font-size:clamp(1.5rem,2.6vw,2.375rem);line-height:1.25;color:var(--navy);text-wrap:balance} /* 30ch of the quote's own size */
.review figcaption{display:grid;gap:2px;font-size:.9375rem}
.review__name{font-weight:600;color:var(--navy)}
.review time{color:#6e6e6e}

/* ----- FAQs (Treatments + About). Title left, questions as separate panels (no divider lines), native <details> so they open without JS ----- */
.faq--white{background:var(--surface)}
.faq--grey{background:var(--surface-alt)}
.faq__grid{display:grid;gap:var(--space-5)}
.faq__list{display:grid;gap:12px}
.faq__item{background:var(--surface-alt)}
.faq--grey .faq__item{background:var(--surface);box-shadow:0 0 16px rgba(9,61,128,.04)}
.faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:18px clamp(20px,2.4vw,32px);cursor:pointer;list-style:none;font-family:var(--font-display);font-weight:700;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.25;color:var(--navy);transition:color .15s}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"";flex:none;width:16px;height:16px;background:linear-gradient(currentColor,currentColor) center/16px 2px no-repeat,linear-gradient(currentColor,currentColor) center/2px 16px no-repeat;transition:transform .2s}
.faq__item[open] summary::after{transform:rotate(45deg)}
.faq__item summary:hover{color:var(--blue)} /* brand blue rollover (#4188ff); the plus/cross follows via currentColor */
.faq__answer{padding:0 clamp(20px,2.4vw,32px) 24px;max-width:70ch}
.faq__answer p + p{margin-top:.9em}
@media (min-width:1101px){.faq__grid{grid-template-columns:minmax(0,1fr) minmax(0,3fr);align-items:start}}

/* ----- About: diabetes. White band after Chiropody: title, a Butler lede, then the copy over two columns ----- */
.diabetes{background:var(--surface)}
.diabetes + .diabetes{padding-top:0}
/* About: "View treatments" call to action closing the Foot health education section */
.about-cta{grid-column:1 / -1;display:grid;grid-template-columns:auto auto;justify-content:start;justify-items:start;gap:var(--space-3) clamp(24px,4vw,64px);align-items:last baseline;margin-top:var(--space-5)} /* title + line on the left, button to their right on the line's baseline */
.about-cta__title{grid-column:1;font-size:clamp(1.375rem,1.8vw,1.75rem);line-height:1.15}
.about-cta p{grid-column:1;grid-row:2;margin:0}
.about-cta .btn-neu{grid-column:2;grid-row:2;align-self:end;margin-bottom:6px} /* button bottom edge on the line's text baseline: the line box runs ~6px below the baseline (half-leading + Work Sans descent at 15px) */
@media (max-width:520px){.about-cta{grid-template-columns:auto}.about-cta .btn-neu{grid-column:1;grid-row:3;margin-top:var(--space-2)}} /* narrow phones: no room beside the line, so the button drops under it */ /* Foot Health Education follows Diabetes in the same layout, on the same white */
.diabetes__grid{display:grid;gap:var(--space-4)}
.diabetes__lede{max-width:40ch;margin:0;font-family:var(--font-display);font-weight:500;font-size:clamp(1.375rem,2vw,1.875rem);line-height:1.25;color:var(--navy);text-wrap:balance}
.diabetes__body{max-width:none}
/* Desktop: title with the lede under it on the left, all the copy together on the right */
@media (min-width:901px){
  .diabetes__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(32px,5vw,96px);align-items:start}
  .diabetes__grid > h2{grid-column:1;grid-row:1}
  .diabetes__lede{grid-column:1;grid-row:2}
  .diabetes__body{grid-column:2;grid-row:1 / span 2}
}

/* ----- About: accreditations. Intro left, three cards (badge slot, title, line) in the topic-card style ----- */
.accred{background:var(--surface-alt)}
.accred__grid{display:grid;gap:var(--space-6)}
.accred__intro{display:grid;gap:var(--space-3);align-content:start}
.accred__intro p{max-width:34ch}
.accred__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}
.accred__item{display:flex;flex-direction:column;gap:var(--space-3);padding:clamp(24px,2.6vw,40px);background:var(--surface);box-shadow:0 0 16px rgba(9,61,128,.04)}
.accred__item h3{font-size:clamp(1.5rem,1.9vw,1.875rem);line-height:1.15}
.accred__item p{margin:0}
/* Badge slot: fixed height so cards line up whatever shape each logo is */
.accred__badge{display:flex;align-items:center;height:88px;margin-bottom:var(--space-2);color:var(--navy)}
.accred__badge img,.accred__badge svg{max-height:100%;width:auto;max-width:100%}
.accred__badge img{mix-blend-mode:multiply} /* logos supplied on white (e.g. the Society JPG): white drops out on the grey band and any non-white background */
.accred__badge--wide img{max-height:56px} /* wide Society crest + wordmark: smaller so it doesn't outweigh the other badges */
.accred__icon{height:56px}
.accred__badge--empty{width:88px;background:var(--grey-100)} /* placeholder until the logo is supplied */
/* HCPC register entry: one white strip under the cards, four label/value pairs */
.accred__register{display:grid;gap:var(--space-3);padding:clamp(24px,2.6vw,40px);background:var(--surface);box-shadow:0 0 16px rgba(9,61,128,.04)}
.accred__register h3{font-size:clamp(1.25rem,1.5vw,1.5rem);line-height:1.2}
.accred__register dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3) var(--space-4);margin:0}
.accred__register dt{font-size:.8125rem;font-weight:600;color:#6e6e6e}
.accred__register dd{margin:2px 0 0;font-weight:600;color:var(--navy)}
/* What keeping HCPC registration involves: sits under the register details, ruled list in the site's spine style */
.accred__cpd{display:grid;gap:var(--space-3);margin-top:var(--space-5);max-width:52rem} /* spacing, not a divider */
.accred__cpd h3{font-size:clamp(1.25rem,1.5vw,1.5rem);line-height:1.2}
.accred__cpd p{margin:0}
/* small round bullets (the site's lists are otherwise ruled; bullets are round by request) */
.accred__bullets{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.accred__bullets li{position:relative;padding-left:20px}
.accred__bullets li::before{content:"";position:absolute;left:4px;top:.68em;width:6px;height:6px;border-radius:50%;background:var(--navy)}
.accred__link{justify-self:start;display:inline-flex;align-items:center;min-height:44px;color:var(--blue-700);font-weight:600;text-decoration:none;transition:color .15s}
.accred__link:hover{color:var(--blue)}
@media (max-width:700px){.accred__register dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1101px){.accred__grid{grid-template-columns:minmax(0,1fr) minmax(0,3fr);align-items:start}.accred__register{grid-column:2}}
@media (max-width:900px){.accred__list{grid-template-columns:minmax(0,1fr)}}

/* ----- Gravity Forms: enquiry form (WP). Form CSS class "mb-enquiry" -> GF adds .mb-enquiry_wrapper.
   GF's own CSS is switched off (_wp/gravity-forms.php), so this reproduces the static form above:
   two-up fields, underlined inputs, chevron select, neumorphic submit. Test page: _gf-test.html ----- */
.mb-enquiry_wrapper{--gf-gap:var(--space-3);--gf-error:#B3261E} /* error red: 6.54:1 on white, 5.74:1 on its tint */
.mb-enquiry_wrapper .gform_heading{margin-bottom:var(--space-3)}
.mb-enquiry_wrapper .gform_required_legend{margin:0;font-size:.8125rem;color:#6e6e6e}
.mb-enquiry_wrapper .gform_fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gf-gap) var(--space-4);margin:0;padding:0;border:0}
.mb-enquiry_wrapper .gfield{grid-column:1 / -1;display:grid;gap:6px;min-width:0;margin:0;padding:0;border:0}
.mb-enquiry_wrapper .gfield--width-half{grid-column:span 6}
.mb-enquiry_wrapper .gfield_label{font-weight:600;font-size:.875rem;color:var(--navy)}
.mb-enquiry_wrapper .gfield_required{margin-left:3px;color:var(--navy);font-weight:400} /* "(Required)" in regular weight beside the bold label */
.mb-enquiry_wrapper .gfield_required .gfield_required{margin:0}
.mb-enquiry_wrapper input:not([type=submit]):not([type=checkbox]):not([type=radio]),.mb-enquiry_wrapper textarea,.mb-enquiry_wrapper select{
  width:100%;font:inherit;font-size:1rem;color:var(--navy);background:transparent;border:0;border-bottom:1px solid #d0d0d0;border-radius:0;padding:10px 0;min-height:44px;transition:border-color .15s,box-shadow .15s} /* no fill: the grey underline marks each field; text sits flush with its label */
.mb-enquiry_wrapper textarea{resize:vertical;min-height:100px;height:100px}
.mb-enquiry_wrapper select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:28px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23093d80' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat}
.mb-enquiry_wrapper select:has(option.gf_placeholder:checked){color:#6e6e6e} /* 'Select' placeholder in grey */
.mb-enquiry_wrapper select option{color:var(--navy)}
.mb-enquiry_wrapper input:hover,.mb-enquiry_wrapper textarea:hover,.mb-enquiry_wrapper select:hover{border-bottom-color:var(--blue-200)}
.mb-enquiry_wrapper input:focus,.mb-enquiry_wrapper textarea:focus,.mb-enquiry_wrapper select:focus{outline:none;border-bottom-color:var(--blue-700);box-shadow:0 1px 0 var(--blue-700)}
/* Validation */
.mb-enquiry_wrapper .gform_validation_errors{margin-bottom:var(--space-4);padding:14px 16px;border-left:3px solid var(--gf-error);background:#FBEDEC}
.mb-enquiry_wrapper .gform_submission_error{margin:0;font:600 .9375rem/1.4 var(--font-body);color:var(--gf-error)}
.mb-enquiry_wrapper .gfield_error .gfield_label{color:var(--gf-error)}
.mb-enquiry_wrapper .gfield_error input,.mb-enquiry_wrapper .gfield_error textarea,.mb-enquiry_wrapper .gfield_error select{border-bottom-color:var(--gf-error)}
.mb-enquiry_wrapper .gfield_validation_message{font-size:.8125rem;color:var(--gf-error)}
/* Submit + confirmation */
.mb-enquiry_wrapper .gform_footer{margin-top:var(--space-4);padding:0}
.mb-enquiry_wrapper .gform_footer .form-privacy{margin-top:var(--space-3)}
.mb-enquiry_wrapper .gform_ajax_spinner{margin-left:12px;vertical-align:middle}
.mb-enquiry_wrapper .gform_hidden,.mb-enquiry_wrapper .gform_validation_container{display:none!important} /* GF's honeypot + hidden fields */
.mb-enquiry_confirmation_wrapper .gform_confirmation_message{padding:20px 0;font:500 1.125rem/1.5 var(--font-body);color:var(--navy)}
@media (max-width:600px){.mb-enquiry_wrapper .gfield--width-half{grid-column:1 / -1}}

/* CTA band tiles: no card fills, no dividers */
.cta-band .contact-tiles{gap:var(--space-3);background:none} /* no dividers: tiles sit straight on the navy */
.cta-band .contact-tile:not(a) .contact-tile__detail,.cta-band .contact-tile__label{white-space:nowrap} /* address and labels on one line */
@media (min-width:1101px){.cta-band .contact-tiles{display:flex;justify-content:space-between;gap:var(--space-4)}.cta-band .contact-tiles > li{flex:none}.cta-band .contact-tile{padding-inline:0}} /* each tile hugs its text; spare width goes between them, so the visible gaps are equal */
.cta-band .contact-tile{column-gap:0}.cta-band .contact-tile svg{min-width:20px;margin-right:10px} /* gap on the icon, not the grid, so the empty outer tracks add no width */
.cta-band .contact-tile{background:var(--navy)}
.cta-band a.contact-tile:hover{background:var(--navy)}
.cta-band a.contact-tile .contact-tile__label,.cta-band a.contact-tile svg{transition:color .15s}
.cta-band a.contact-tile:hover .contact-tile__label,.cta-band a.contact-tile:hover svg{color:var(--cyan)} /* rollover: cyan, like the rest of the site */
/* CTA band tiles: contents centred in each cell (icon + label on one line, detail centred below) */
.cta-band .contact-tile{grid-template-columns:1fr auto auto 1fr;align-content:center;text-align:center} /* spare width goes to the outer tracks, keeping icon + label together */
.cta-band .contact-tile svg{grid-column:2}
.cta-band .contact-tile__label{grid-column:3}
.cta-band .contact-tile__detail{grid-column:1 / -1;justify-self:center}
@media (min-width:1441px){.cta-band .wrap{column-gap:clamp(96px,9vw,180px)}} /* much more room between the title and the first tile */

/* Contact page tiles (Tel / Mob / Email / Address): no card shadows; 1px gaps over a navy-tint fill draw grid lines between them only */
.contact-tiles.contact-tiles--light{gap:1px;background:rgba(9,61,128,.2)}
.contact-tiles--light .contact-tile{box-shadow:none;background:var(--surface)}

/* Accreditations: no card shadows; 1px gaps over a navy-tint fill draw grid lines between the three items only.
   Cells share the section's light grey, so the lines alone separate them. The register entry below is unboxed too. */
.accred__list{gap:1px;background:rgba(9,61,128,.2)}
.accred__item{box-shadow:none;background:var(--surface-alt)}
.accred__register{box-shadow:none;background:none} /* keeps the card padding, so its text lines up with the items above */

/* Footer feet watermark (same mark, scale and position as design 2): oversized, faint, rotated, bleeding off the bottom */
.site-footer{position:relative;overflow:hidden;container-type:inline-size}
.site-footer > .wrap{position:relative;z-index:1}
.footer-feet{position:absolute;pointer-events:none;user-select:none;z-index:0;left:calc(50% + 300px);right:auto;transform:translateX(-50%) rotate(-90deg);bottom:calc(-18% - 250px);width:clamp(390px,51cqw,840px);aspect-ratio:23.4/26.4;font-size:0;background:rgba(255,255,255,.05);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2285.4 0 23.4 26.4%22%3E %3Cpath fill=%22%23000%22 d=%22M98.5,41.83l.44.18c-.21.83-1.39,1.83-3.02,1.83,0,0-2.3,0-2.58-2.09-.39,1.14-1.91,2.09-3.75,2.09,0,0-2.97,0-2.97-2.63,0-2.82,2.17-3.07,6.69-4.21v-1.6c0-2.69-1.5-4.03-3.28-3.1-.83.41-.93.85-.75.88.39.05.72.23.96.57.46.67.28,1.58-.39,2.04-.67.44-1.58.28-2.04-.39-.31-.49-.34-1.11-.08-1.55.26-.44.59-1.14,2.01-1.89,1.16-.62,2.51-.52,2.51-.52,3.38,0,4.31,2.12,4.31,5.17v3.85s-.03,1.81,1.24,1.81c0,0,.54,0,.7-.44ZM93.3,37.46c-2.53.57-3.38,1.78-3.38,3.1,0,0,0,1.7,1.68,1.7.88,0,1.47-.7,1.71-1.32v-3.49Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M102.58,25.46c.64-.52,1.58-1.9,1.91-3.74.33-1.83-.57-2.96-.57-2.96-.11-.18-.26-.33-.44-.45-.86-.88-2.2-1.21-3.42-.73-.71.28-1.27.8-1.6,1.43,0,0,0,0,0,0-.97,1.09-.8,2.77-2.67,3.66-1.87.89-2.86.14-4.47-.28-1.6-.42-3.78-.56-3.78-.56-2.24.36-2.95,1.92-2.33,3.74s4.39,1.01,4.39,1.01c0,0,2.25-.47,4.19-.29,1.93.19,5.77.35,5.77.35,1.5.04,2.38-.68,3.02-1.2Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M107.52,16.83s-.16-.36-.58-.47-.85-.16-1.19-.08-.92.19-1.26.64-.46.67-.29,1.1.57.85,1.29.77c0,0,.63-.07.97-.32s.54-.45.68-.58.52-.51.37-1.06Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M106.69,19.01s-1.18-.06-1.36.55.03.86.2.98.57.16.91.05c.69-.23.89-.55.95-.63s.1-.29.08-.43-.13-.49-.77-.51Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M106.57,21.24s-.69-.19-1.03.25c0,0-.27.48,0,.8,0,0,.17.31.76.25s.83-.19.93-.31.16-.3.11-.4-.06-.48-.76-.59Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M104.8,23.26s.07-.22.47-.29.76-.08,1.12.2c.28.21.2.6.13.72,0,0-.19.4-.76.35s-.89-.49-.89-.49c0,0-.19-.17-.07-.49Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M105.4,25.2s.09-.38-.29-.61-.35-.15-.56-.14-.67.06-.71.31.04.49.5.71.97.05,1.06-.27Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M97.34,3.24c.71-.42,2.34-.81,4.17-.48,1.83.33,2.57,1.57,2.57,1.57.13.16.22.35.26.56.52,1.12.36,2.49-.52,3.46-.52.57-1.19.9-1.9,1,0,0,0,0,0,0-1.36.53-2.87-.22-4.37,1.22-1.49,1.44-1.14,2.63-1.3,4.28-.17,1.65-.8,3.74-.8,3.74-1.13,1.97-2.83,2.09-4.32.87-1.49-1.22.59-4.46.59-4.46,0,0,1.23-1.94,1.74-3.82.5-1.87,1.69-5.53,1.69-5.53.49-1.42,1.47-1.99,2.19-2.41Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M107.15,1.65s.28.27.24.71-.15.85-.34,1.14-.5.79-1.05.95-.79.19-1.13-.12-.6-.83-.27-1.48c0,0,.29-.57.64-.79s.61-.35.78-.44.66-.31,1.12.03Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M104.82,1.66s-.36,1.13-.99,1.08-.79-.33-.84-.53.05-.59.27-.87c.45-.56.82-.65.93-.66s.31,0,.43.07.42.3.21.9Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M102.69.99s-.06.71-.6.88c0,0-.54.09-.75-.28,0,0-.23-.27.03-.8s.47-.72.62-.76.33-.04.41.04.43.23.28.92Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M100.18,1.94s.23.01.43-.33.34-.68.2-1.12c-.1-.34-.49-.4-.62-.38,0,0-.45.04-.59.59s.14,1,.14,1c0,0,.1.23.44.24Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M98.57.69s.39.05.47.48.02.38-.07.57-.29.61-.53.55-.45-.21-.49-.71.29-.92.63-.89Z%22/%3E %3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2285.4 0 23.4 26.4%22%3E %3Cpath fill=%22%23000%22 d=%22M98.5,41.83l.44.18c-.21.83-1.39,1.83-3.02,1.83,0,0-2.3,0-2.58-2.09-.39,1.14-1.91,2.09-3.75,2.09,0,0-2.97,0-2.97-2.63,0-2.82,2.17-3.07,6.69-4.21v-1.6c0-2.69-1.5-4.03-3.28-3.1-.83.41-.93.85-.75.88.39.05.72.23.96.57.46.67.28,1.58-.39,2.04-.67.44-1.58.28-2.04-.39-.31-.49-.34-1.11-.08-1.55.26-.44.59-1.14,2.01-1.89,1.16-.62,2.51-.52,2.51-.52,3.38,0,4.31,2.12,4.31,5.17v3.85s-.03,1.81,1.24,1.81c0,0,.54,0,.7-.44ZM93.3,37.46c-2.53.57-3.38,1.78-3.38,3.1,0,0,0,1.7,1.68,1.7.88,0,1.47-.7,1.71-1.32v-3.49Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M102.58,25.46c.64-.52,1.58-1.9,1.91-3.74.33-1.83-.57-2.96-.57-2.96-.11-.18-.26-.33-.44-.45-.86-.88-2.2-1.21-3.42-.73-.71.28-1.27.8-1.6,1.43,0,0,0,0,0,0-.97,1.09-.8,2.77-2.67,3.66-1.87.89-2.86.14-4.47-.28-1.6-.42-3.78-.56-3.78-.56-2.24.36-2.95,1.92-2.33,3.74s4.39,1.01,4.39,1.01c0,0,2.25-.47,4.19-.29,1.93.19,5.77.35,5.77.35,1.5.04,2.38-.68,3.02-1.2Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M107.52,16.83s-.16-.36-.58-.47-.85-.16-1.19-.08-.92.19-1.26.64-.46.67-.29,1.1.57.85,1.29.77c0,0,.63-.07.97-.32s.54-.45.68-.58.52-.51.37-1.06Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M106.69,19.01s-1.18-.06-1.36.55.03.86.2.98.57.16.91.05c.69-.23.89-.55.95-.63s.1-.29.08-.43-.13-.49-.77-.51Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M106.57,21.24s-.69-.19-1.03.25c0,0-.27.48,0,.8,0,0,.17.31.76.25s.83-.19.93-.31.16-.3.11-.4-.06-.48-.76-.59Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M104.8,23.26s.07-.22.47-.29.76-.08,1.12.2c.28.21.2.6.13.72,0,0-.19.4-.76.35s-.89-.49-.89-.49c0,0-.19-.17-.07-.49Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M105.4,25.2s.09-.38-.29-.61-.35-.15-.56-.14-.67.06-.71.31.04.49.5.71.97.05,1.06-.27Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M97.34,3.24c.71-.42,2.34-.81,4.17-.48,1.83.33,2.57,1.57,2.57,1.57.13.16.22.35.26.56.52,1.12.36,2.49-.52,3.46-.52.57-1.19.9-1.9,1,0,0,0,0,0,0-1.36.53-2.87-.22-4.37,1.22-1.49,1.44-1.14,2.63-1.3,4.28-.17,1.65-.8,3.74-.8,3.74-1.13,1.97-2.83,2.09-4.32.87-1.49-1.22.59-4.46.59-4.46,0,0,1.23-1.94,1.74-3.82.5-1.87,1.69-5.53,1.69-5.53.49-1.42,1.47-1.99,2.19-2.41Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M107.15,1.65s.28.27.24.71-.15.85-.34,1.14-.5.79-1.05.95-.79.19-1.13-.12-.6-.83-.27-1.48c0,0,.29-.57.64-.79s.61-.35.78-.44.66-.31,1.12.03Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M104.82,1.66s-.36,1.13-.99,1.08-.79-.33-.84-.53.05-.59.27-.87c.45-.56.82-.65.93-.66s.31,0,.43.07.42.3.21.9Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M102.69.99s-.06.71-.6.88c0,0-.54.09-.75-.28,0,0-.23-.27.03-.8s.47-.72.62-.76.33-.04.41.04.43.23.28.92Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M100.18,1.94s.23.01.43-.33.34-.68.2-1.12c-.1-.34-.49-.4-.62-.38,0,0-.45.04-.59.59s.14,1,.14,1c0,0,.1.23.44.24Z%22/%3E %3Cpath fill=%22%23000%22 d=%22M98.57.69s.39.05.47.48.02.38-.07.57-.29.61-.53.55-.45-.21-.49-.71.29-.92.63-.89Z%22/%3E %3C/svg%3E") center/contain no-repeat}

/* Mobile: side margins match design 2 (5.5vw, min 20px) so content runs wider */
@media (max-width:700px){:root{--side-wide:clamp(20px,5.5vw,88px)}} /* match design 2's mobile page margins */

/* Mobile: ailments/treatments rows flow as one sentence (no forced desktop line break) */
@media (max-width:700px){.item-cards li br{display:none}}

/* Mobile CTA band: Enquiry form + Call side by side, Email and Address full width below */
@media (max-width:700px){.cta-band .contact-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.cta-band .contact-tiles > li:nth-child(n+3){grid-column:1/-1}.cta-band .contact-tiles > li:nth-child(-n+2) .contact-tile{padding-inline:12px}}

/* Mobile header: contact icon closer to the burger (visible gap ~19px) */
@media (max-width:700px){.menu-toggle{margin-left:-8px}} /* cancels the header row's 8px gap */

/* Mobile banners: H1 baseline sits the page margin above the banner bottom (gap below = gap at the left).
   The negative margin removes the line box below the baseline: .33em at line-height 1.08, .249em at .94 */
@media (max-width:420px){
  .hero-banner--blue.hero-banner--home .hero-banner__content,.hero-banner--blue.hero-banner--page .hero-banner__content{padding-bottom:var(--gutter)}
  .hero-banner--blue .hero-banner__title{margin-bottom:-.33em}
  .hero-banner--prices .hero-banner__title,.hero-banner--about .hero-banner__title,.hero-banner--contact .hero-banner__title{margin-bottom:-.249em}
}

/* Larger phones (421-700px): same as small phones - icons close together, H1 sits on the banner's bottom edge */
@media (min-width:421px) and (max-width:700px){
  .menu-toggle{margin-left:calc(var(--space-5) * -1)} /* cancels the header row's wider gap here, so the icons sit ~19px apart */
  .hero-banner--blue.hero-banner--home .hero-banner__content,.hero-banner--blue.hero-banner--page .hero-banner__content{align-items:flex-end;padding-bottom:var(--gutter);background:linear-gradient(0deg,rgba(6,43,92,.5) 0%,rgba(6,43,92,0) 55%)}
  .hero-banner--home .hero-banner__img,.hero-banner--page .hero-banner__img{height:auto;min-height:0;max-height:none;aspect-ratio:977/1003;object-position:50% 0} /* the portrait mobile photos, cropped as on small phones */
  .hero-banner--page .hero-banner__content .wrap{align-content:end}
  .hero-banner--blue .hero-banner__title{margin-bottom:-.31em}
  .hero-banner--prices .hero-banner__title,.hero-banner--about .hero-banner__title,.hero-banner--contact .hero-banner__title{margin-bottom:-.273em}
}

/* Mobile CTA band: every tile left-aligned - icon + title on the first row, the detail under the title.
   No side padding (the tiles have no visible box on the navy), so the icons line up with the heading's left edge */
@media (max-width:700px){
  .cta-band .contact-tiles > li .contact-tile,.cta-band .contact-tiles > li:nth-child(-n+2) .contact-tile{grid-template-columns:auto minmax(0,1fr);text-align:left;align-content:start;padding-inline:0}
  .cta-band .contact-tile svg{grid-column:1}
  .cta-band .contact-tile__label{grid-column:2}
  .cta-band .contact-tile__detail{grid-column:2;justify-self:start;white-space:nowrap}
}

/* Mobile accreditations: BSc and MChS side by side, HCPC full width below */
@media (max-width:700px){
  .accred__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .accred__item:nth-child(2){grid-column:1/-1;grid-row:2}
  .accred__item:nth-child(3){grid-column:2;grid-row:1}
}

/* Mobile: "HCPC register entry" heading hidden (kept for screen readers) */
@media (max-width:700px){.accred__register{position:relative}.accred__register > h3{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* Mobile footer: feet nearer the centre and turned only slightly (-15deg), so both feet sit in view */
@media (max-width:700px){.footer-feet{left:55%;bottom:5%;width:380px;transform:translateX(-50%) rotate(-15deg)}}

/* Tablet footer (701-1100px): feet nearer the middle and higher, so they sit in view (desktop drops them 250px lower) */
@media (min-width:701px) and (max-width:1100px){.footer-feet{left:55%;bottom:-6%;width:480px}}
/* Taller tablet footer (701-900px, logo above the columns): feet 50px higher */
@media (min-width:701px) and (max-width:900px){.footer-feet{bottom:calc(-6% + 50px)}}

/* ----- Cookie consent banner (Complianz, WordPress only) -----
   Complianz sets its look as custom properties on :root; these override them on its own containers, then
   restyle the parts its variables don't reach. Square corners, centred soft shadow, no divider lines, Work Sans
   copy with a Butler title, and the site's .btn-neu pill buttons. Accept and Deny share the same pill so
   refusing is as easy as accepting; View/Save preferences is the quieter white pill. */
#cmplz-cookiebanner-container .cmplz-cookiebanner,#cmplz-manage-consent{
  --cmplz_banner_background_color:var(--surface);--cmplz_banner_border_color:var(--surface);--cmplz_banner_border_radius:0;--cmplz_banner_border_width:0;--cmplz_banner_width:480px;--cmplz_banner_margin:12px;
  --cmplz_text_color:var(--navy);--cmplz_hyperlink_color:var(--link);--cmplz_text_font_size:14px;--cmplz_title_font_size:22px;--cmplz_link_font_size:13px;
  --cmplz_category_header_title_font_size:15px;--cmplz_category_header_active_font_size:13px;--cmplz_category_body_font_size:13px;--cmplz_category_header_always_active_color:var(--blue-600);
  --cmplz_slider_active_color:var(--blue-700);--cmplz_slider_inactive_color:var(--grey-500);--cmplz_slider_bullet_color:var(--white);
  --cmplz_button_border_radius:999px;--cmplz_button_font_size:16px}
#cmplz-cookiebanner-container .cmplz-cookiebanner{font-family:var(--font-body);color:var(--navy);border-radius:0;box-shadow:var(--shadow-lg);padding:24px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider{display:none}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title{display:block;justify-self:start;grid-column:1 / 3;font-family:var(--font-display);font-weight:700;color:var(--navy);line-height:1.1}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header{grid-template-columns:1fr 1fr 24px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close{color:var(--navy)}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message{line-height:1.55}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category{background:var(--grey-100);border-radius:0}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category + .cmplz-category{margin-top:6px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title{font-weight:600}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox .cmplz-label::before,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox .cmplz-label::after{border-radius:0}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-banner-checkbox input.cmplz-consent-checkbox:focus + .cmplz-label::before{box-shadow:0 0 0 2px var(--focus)}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links .cmplz-link{text-underline-offset:3px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons{gap:12px;padding-top:6px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn{height:auto;min-height:44px;padding:12px 16px;border:0;border-radius:999px;font:600 16px/1.2 var(--font-body);letter-spacing:.01em;white-space:nowrap;
  background-color:var(--neu-brand);background-image:linear-gradient(transparent,transparent);color:#fff;
  box-shadow:2px 3px 4px rgba(120,136,160,.42),5px 7px 14px var(--neu-shadow-dark),-6px -6px 14px var(--neu-shadow-light);transition:transform 140ms ease-out,box-shadow 140ms ease-out}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:hover{background-image:linear-gradient(var(--neu-overlay-hover),var(--neu-overlay-hover))}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:active{background-image:linear-gradient(var(--neu-overlay-pressed),var(--neu-overlay-pressed));box-shadow:inset 0 6px 12px rgba(21,53,110,.55),inset 0 2px 4px rgba(21,53,110,.40);transform:translateY(1px)}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn:focus-visible{outline:3px solid var(--neu-focus);outline-offset:3px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-manage-options{background-color:var(--white);color:var(--navy)}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences:hover,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences:hover{background-image:linear-gradient(var(--blue-50),var(--blue-50))}
/* "Manage consent" tab, bottom corner after a choice is made */
#cmplz-manage-consent .cmplz-manage-consent{font:600 14px/1.2 var(--font-body);color:var(--navy);background:var(--surface);border:0;border-radius:0;box-shadow:var(--shadow-md);padding:10px 16px}
#cmplz-manage-consent .cmplz-manage-consent:focus-visible{outline:3px solid var(--neu-focus);outline-offset:2px}
@media (max-width:480px){#cmplz-cookiebanner-container .cmplz-cookiebanner{padding:20px 16px}}
@media (forced-colors:active){#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn{border:2px solid ButtonBorder;background:ButtonFace;color:ButtonText;box-shadow:none}}
