/* VESTRUM COMBINED · warm type and rounded shapes (A), dark banner and blocked services (C), restrained inner pages (D)
   Layout idea: one burgundy banner up top, a bento of photo tiles, then calm white pages with large picture slots.
   Change colours and fonts here; everything below reads from these. */
/* EB Garamond 500, served from this site (assets/fonts, from Google Fonts v33; licence: assets/fonts/OFL.txt).
   Only the Latin file normally loads (25 KB); the extended-Latin one is fetched only for accented letters outside it. */
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:500;font-display:swap;
  src:url(fonts/eb-garamond-500-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:500;font-display:swap;
  src:url(fonts/eb-garamond-500-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{
  --brand:#641634;       /* Vestrum burgundy (from the logo) */
  --brand-deep:#3E0E21;   /* darker burgundy for hover and footer text */
  --tint:#F7E8EC;         /* blush band */
  --accent:#E9BFC7;       /* rose, decoration only */
  --bg:#FFFBFB;           /* page */
  --surface:#FFFFFF;      /* cards */
  --ink:#2A1A20;          /* body text */
  --muted:#5C474F;        /* secondary text */
  --heading:#3E0E21;
  --line:#EAD6DB;
  --field:#7D6870;
  --link:#641634;
  --focus:#1B4B8F;
  --error:#641634;        /* form error text and field border: the brand burgundy, so no new colour (11.98:1 on the page) */
  --display:'EB Garamond',Garamond,Georgia,'Times New Roman',serif;   /* heading font: to change it, replace the files in assets/fonts and the @font-face rules above */
  --body:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --fs:1.0625rem; --lh:1.65; --wrap:74rem;
  --measure:36rem;        /* longest line of body text: about 65-72 characters in the body font */
}

/* ---------- Shared foundations (navigation mechanics, accessibility helpers, generic blocks) ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;color-scheme:light;scroll-padding-top:6rem} /* keeps headings you jump to clear of the sticky header */
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:var(--fs);line-height:var(--lh);overflow-wrap:break-word}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{margin:0;text-wrap:balance;font-family:var(--display);color:var(--heading)}
p,li,dd{text-wrap:pretty}   /* avoids a lone word on the last line; older browsers simply ignore it */
p,ul,ol,dl,dd,figure{margin:0}
a{color:var(--link);text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{text-decoration-thickness:.14em}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:2px}
h1:focus{outline:none}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999rem;top:.5rem;z-index:100;background:var(--ink);color:#fff;padding:.75rem 1rem}
.skip:focus{left:.5rem}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.5rem 1.4rem;font:inherit;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;border:2px solid transparent;text-align:center}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}

/* navigation mechanics: one list, dropdowns on wide screens, accordions on small */
.nav ul{list-style:none;margin:0;padding:0}
.nav a,.nav button{font:inherit;color:inherit;background:none;border:0;margin:0;cursor:pointer;text-decoration:none;display:flex;align-items:center;gap:.4rem;min-height:44px;padding:.25rem .8rem;text-align:left;line-height:1.25}
.nav .chev{flex:none;transition:transform .15s}
.nav button[aria-expanded="true"] .chev{transform:rotate(180deg)}
.js .nav .sub{display:none}
.js .nav button[aria-expanded="true"]+.sub{display:block}
.menu-btn{display:none;align-items:center;gap:.5rem;min-height:44px;padding:.25rem .9rem;font:inherit;font-weight:600;cursor:pointer;background:none;color:inherit;border:2px solid currentColor}
.menu-btn .bars{width:18px;height:12px;border-block:2px solid currentColor;position:relative;flex:none}
.menu-btn .bars::after{content:"";position:absolute;inset-inline:0;top:3px;border-top:2px solid currentColor}
@media (min-width:64rem){
  .nav-drop>ul{display:flex;align-items:center;flex-wrap:wrap}
  .nav-drop .has-sub{position:relative}
  .js .nav-drop .sub{position:absolute;top:calc(100% + 4px);left:0;z-index:30;min-width:17rem;padding:.4rem;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 30px rgba(35,20,26,.14)}
  .nav-drop li:nth-last-child(-n+2) .sub{left:auto;right:0}
  .nav-drop .sub a{min-height:44px;white-space:normal}
}
@media (max-width:63.99rem){
  .nav-drop~.menu-btn,.menu-btn.for-drop{display:inline-flex}
  .js .nav-drop{display:none}
  .js.menu-open .nav-drop{display:block}
  .nav-drop a,.nav-drop button{width:100%;min-height:48px}
  .nav-drop .sub a{padding-left:1.9rem}
}

/* generic content blocks */
.prose{display:flex;flex-direction:column;gap:1.05em;max-width:var(--measure)}
.prose ul,.panel ul,.faq ul{padding-left:1.25em;display:flex;flex-direction:column;gap:.35em}
.prose li ul{margin-top:.35em}
.page-body{display:grid;gap:clamp(2rem,4vw,3.5rem);padding-block:clamp(2rem,5vw,4rem)}
.main{display:flex;flex-direction:column;gap:clamp(1.75rem,3vw,2.5rem);min-width:0}
.side{display:flex;flex-direction:column;gap:1.5rem;min-width:0}
@media (min-width:60rem){.page-body.has-side{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}}
.panel{display:flex;flex-direction:column;gap:.9rem}
.panel>p,.panel>ul{max-width:var(--measure)}   /* full-width boxes (Fees, care pages) keep text at a readable length */
.faq-list{display:flex;flex-direction:column}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;min-height:48px;padding-block:.85rem;font-weight:600}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-weight:400;font-size:1.4em;line-height:1;width:1em;text-align:center}
.faq details[open] summary::after{content:"\2212"}
.faq .answer{display:flex;flex-direction:column;gap:.85em;padding-bottom:1.25rem;max-width:var(--measure)}
.cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}
.card{display:flex;flex-direction:column;gap:.5rem;text-decoration:none;color:inherit}
.card .more{margin-top:auto;padding-top:.5rem;font-weight:600;color:var(--link)}
.steps{list-style:none;padding:0;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));counter-reset:step}
.steps li{counter-increment:step;display:flex;flex-direction:column;gap:.4rem}
.steps li::before{content:counter(step)}
.details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem 1.25rem;align-items:baseline}
.details a{overflow-wrap:anywhere;display:inline-flex;align-items:center;min-height:44px}
.details dt{font-weight:600}
.addr-link{align-items:flex-start}   /* the linked address keeps its lines; the whole block is the tap area */
.form{display:flex;flex-direction:column;gap:1rem}
.field{display:flex;flex-direction:column;gap:.35rem}
.field label{font-weight:600}
.field input,.field textarea{font:inherit;color:var(--ink);background:#fff;border:1.5px solid var(--field);padding:.65rem .8rem;min-height:48px;width:100%}
.field textarea{resize:vertical;min-height:7rem}
/* a field that needs fixing: thicker burgundy border plus the message under it (never colour alone) */
.field [aria-invalid="true"]{border-color:var(--error);box-shadow:0 0 0 1px var(--error)}
.field-error{color:var(--error);font-weight:600;font-size:.95rem;display:flex;gap:.4rem;align-items:baseline}
.field-error::before{content:"!";flex:none;display:inline-grid;place-items:center;width:1.15em;height:1.15em;border-radius:50%;background:var(--error);color:#fff;font-size:.8em;line-height:1}
.field-error[hidden]{display:none}
.form-note:empty{display:none}
.form-note{padding:.75rem 1rem;background:var(--tint);border-left:4px solid var(--brand)}
/* Links page: one full-width box per group, stacked; the links inside run across in columns */
.linkgroups{display:grid;gap:1.5rem}
.linkgroup{display:flex;flex-direction:column;gap:.6rem}
.linkgroup ul{list-style:none;padding:0;display:grid;column-gap:2rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr))}
.linkgroup a,.linkgroup span{display:flex;align-items:center;min-height:44px}
.team{list-style:none;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.team li{display:flex;flex-direction:column;gap:.15rem}
.team .name{font-weight:700}
.getting-here{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
.getting-here div{display:flex;flex-direction:column;gap:.3rem}
.map-ph,.ph{display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;color:var(--brand);background:var(--tint);font-size:.9rem;font-weight:500}
.map-ph{min-height:16rem;flex-direction:column;gap:.35rem}
.map{display:block;width:100%;height:clamp(18rem,45vw,28rem);border:0;border-radius:20px;background:var(--tint)}
/* form spam trap: off screen, so people never see or reach it; bots fill it in */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.simple-page .head-grid{padding-block:clamp(3rem,10vw,7rem)}
.members{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
.crumb ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.25rem .5rem;font-size:.9rem}
.crumb li+li::before{content:"/";margin-right:.5rem;opacity:.6}
.crumb a{display:inline-flex;align-items:center;min-height:44px}
.crumb li{display:flex;align-items:center}
.cta-band .wrap{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between;padding-block:clamp(1.5rem,4vw,2.5rem)}
.cta-band p{max-width:34rem}
.foot-cols{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.foot-cols ul{list-style:none;padding:0}
.foot-cols a{display:inline-flex;align-items:center;min-height:44px}
.foot-cols h2{font-size:1rem}

/* ---------- Version A layout ---------- */
h1,h2,h3{font-weight:500;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,5vw,3.6rem);line-height:1.05}
h2{font-size:clamp(1.6rem,3vw,2.15rem)}
h3{font-size:1.3rem}
.lede{font-size:1.2rem;color:var(--muted);max-width:36rem}
/* small labels in sentence case, as written: no capitals or wide letter spacing (unslop pass) */
.eyebrow,.kicker{font-size:.95rem;font-weight:600;color:var(--brand)}
.btn{border-radius:999px;transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out,transform .1s ease-out}
.btn:active{transform:scale(.97)}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-deep)}
.btn-secondary{border-color:var(--brand);color:var(--brand);background:transparent}
.btn-secondary:hover{background:var(--tint)}
.text-link{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;font-weight:600}

.site-head{position:sticky;top:0;z-index:40;background:rgba(255,251,251,.96);border-bottom:1px solid var(--line)}
.head-bar{display:flex;align-items:center;gap:1rem;padding-block:.6rem;flex-wrap:wrap}
.head-actions{display:flex;gap:.6rem;align-items:center;margin-left:auto}
.menu-btn{border-radius:999px;border-color:var(--line);color:var(--brand)}
.nav{font-size:.96rem;font-weight:500}
.nav a:hover,.nav button:hover{color:var(--brand)}
.nav a,.nav button{border-radius:12px}
/* the current page: burgundy text with a short rose underline, not a filled pill */
.nav [aria-current="page"],.nav .is-current{color:var(--brand);text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:.5em}
/* dropdown items can wrap to two lines: keep the underline close so it doesn't cut through the line below */
.nav .sub a{line-height:1.45}
.nav .sub [aria-current="page"]{text-underline-offset:.25em}
.nav .sub{border-radius:20px}
.nav .sub a{border-radius:12px}
@media (min-width:64rem){.head-bar{flex-wrap:nowrap}.nav-drop{margin-left:auto}.nav-drop>ul{flex-wrap:nowrap}.nav-drop>ul>li>a,.nav-drop>ul>li>button{padding-inline:.55rem;white-space:nowrap}.head-actions{margin-left:0}.head-cta{padding-inline:1rem;white-space:nowrap}}
@media (min-width:64rem) and (max-width:79.99rem){.head-cta{display:none}}
@media (max-width:63.99rem){
  .nav-drop{order:5;flex-basis:100%;padding-block:.5rem 1rem;border-top:1px solid var(--line)}
  .head-cta{display:none}
}

.hero{background:linear-gradient(180deg,var(--tint),var(--bg))}
.hero-grid{display:grid;gap:2.5rem;align-items:center;padding-block:clamp(2.5rem,6vw,5rem)}
@media (min-width:56rem){.hero-grid{grid-template-columns:1.15fr .85fr}}
.hero-text{display:flex;flex-direction:column;gap:1.25rem}
.hero-art{position:relative;max-width:24rem;justify-self:center;width:100%}
.chip{position:absolute;left:-.5rem;bottom:1.5rem;background:#fff;color:var(--brand);font-weight:600;font-size:.9rem;padding:.55rem 1rem;border-radius:12px}
.ph{border-radius:20px;background:var(--tint);aspect-ratio:4/3}
.ph.arch{border-radius:20px;aspect-ratio:4/5;background:linear-gradient(160deg,var(--accent),var(--tint))}
.ph.arch.tall{aspect-ratio:3/4}
.ph.portrait{aspect-ratio:4/5;max-width:22rem;border-radius:20px}

.band{padding-block:clamp(2.5rem,6vw,4.5rem)}
.band-blush{background:var(--tint);border-radius:20px;margin-inline:clamp(.5rem,2vw,1.5rem)}
.band-stack{display:flex;flex-direction:column;gap:1.75rem}
.band-head{display:flex;flex-direction:column;gap:.5rem;max-width:36rem}
/* referral steps read like a numbered letter: a large Garamond numeral and a hairline, no cards or circles */
.steps li{padding-top:1rem;border-top:1px solid var(--accent)}
.steps li::before{font-family:var(--display);font-weight:500;font-size:3rem;line-height:1;color:var(--brand);margin-bottom:.5rem;font-variant-numeric:lining-nums}
.steps h3{font-size:1.15rem}
.steps p{color:var(--muted)}
.svc-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.4rem;transition:border-color .15s ease-out}
/* hover answers with a rose border: no lift, no coloured shadow (mouse only, so nothing sticks after a tap) */
@media (hover:hover) and (pointer:fine){.card:hover{border-color:var(--accent)}}
.card p,.card-sub{color:var(--muted);font-size:.98rem}
.card .more{display:inline-flex;align-items:center;gap:.4rem}
.svc .ph{aspect-ratio:5/4;margin:-.4rem -.4rem .4rem}
.split{display:grid;gap:2.5rem;align-items:center}
@media (min-width:52rem){.split{grid-template-columns:.7fr 1.3fr}}
.split .ph{max-width:20rem;width:100%;justify-self:center}
.split-text{display:flex;flex-direction:column;gap:.9rem;max-width:36rem}
.quals{font-weight:600;color:var(--brand)}
.contact-grid{display:grid;gap:1.25rem}
@media (min-width:52rem){.contact-grid{grid-template-columns:1fr 1fr}}
.contact-card,.members-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.75rem;display:flex;flex-direction:column;gap:1.1rem}
.contact-card{background:var(--brand-deep);border-color:var(--brand-deep);color:#FBEFF2}
.contact-card h2,.contact-card a{color:#fff}
/* memberships are facts, not buttons: a quiet line of names with small rose dots between them */
.members li{font-weight:600;font-size:.95rem;color:var(--brand-deep);display:flex;align-items:center;gap:.6rem}
.members li+li::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--accent)}

.page-head{background:linear-gradient(180deg,var(--tint),var(--bg))}
.head-grid{display:grid;gap:2rem;align-items:center;padding-block:clamp(1.5rem,4vw,3rem)}
@media (min-width:56rem){.head-grid.has-photo{grid-template-columns:1.3fr .7fr}}
.head-text{display:flex;flex-direction:column;gap:.9rem}
.head-grid .ph{max-width:20rem;width:100%;justify-self:end;border-radius:20px}
@media (max-width:55.99rem){.head-grid .ph{display:none}}
.sub{font-weight:600;color:var(--brand)}
.crumb{color:var(--muted)}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(1.25rem,3vw,1.9rem)}
.side .panel{background:var(--tint);border-color:transparent}
.panel h2{font-size:1.5rem}
.faq{display:flex;flex-direction:column;gap:1rem}
.faq-list{gap:.6rem}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding-inline:1.25rem}
.faq details[open]{border-color:var(--accent)}
.faq summary::after{color:var(--brand)}
.cards-block,.steps-block,.team-block{display:flex;flex-direction:column;gap:1.1rem}
.field input,.field textarea{border-radius:12px}
.linkgroup{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.5rem}
.linkgroup h2{font-size:1.4rem}
.team li{background:var(--tint);border-radius:20px;padding:1.1rem 1.25rem}
.team .role,.team .quals{color:var(--muted);font-size:.95rem;font-weight:400}
.bio{max-width:var(--measure)}
.contact-block,.findus-block{display:flex;flex-direction:column;gap:1.25rem}
.map-ph{border-radius:20px}
.getting-here h3{font-size:1.1rem;font-family:var(--body);font-weight:700}
/* referral box above the footer: its own rounded box, with the block gap between it and the footer */
.cta-band{background:var(--tint);border-radius:20px;margin-inline:clamp(.5rem,2vw,1.5rem);margin-bottom:clamp(1.75rem,3vw,2.5rem)}
.cta-band p{font-family:var(--display);font-size:1.35rem;color:var(--heading)}
/* footer: deep burgundy on every page, bookending the dark banner at the top of the home page */
.site-foot{background:var(--brand-deep);color:var(--tint);border-top:1px solid var(--line);padding-block:3rem 2rem;font-size:.97rem}
.site-foot a{color:#fff}
.site-foot h2{color:#fff}
.site-foot :focus-visible{outline-color:#fff}
.site-foot .foot-logo img{filter:brightness(0) invert(1)}   /* the burgundy logo shown in white */
.site-foot .wrap{display:flex;flex-direction:column;gap:2rem}
.foot-brand{display:flex;flex-direction:column;gap:.75rem}
.foot-cols h2{font-family:var(--body);font-weight:700;margin-bottom:.4rem}
.legal{border-top:1px solid var(--brand);padding-top:1.25rem;color:var(--accent);font-size:.9rem;display:flex;flex-direction:column;gap:.4rem}

/* ---------- Combined version: changes on top of the warm layout ---------- */
.hero{background:var(--brand-deep);color:#FBEFF2}
.hero h1{color:#fff;font-size:clamp(2.6rem,5.6vw,4.2rem)}
.hero .eyebrow{color:var(--accent)}
.hero .lede{color:#FBEFF2}
.hero .btn-primary{background:#fff;color:var(--brand-deep)}
.hero .btn-primary:hover{background:var(--tint)}
.hero .btn-secondary{border-color:#fff;color:#fff}
.hero .btn-secondary:hover{background:rgba(255,255,255,.12)}
.hero .ph.arch{background:linear-gradient(160deg,#7C2B49,#54142E);color:#FBEFF2}
/* the referral note is a label, not a button: squarer corners, blush fill, no shadow, so it doesn't read as clickable */
.hero .chip{border-radius:12px;background:var(--tint);color:var(--brand-deep);font-weight:500;box-shadow:none;padding:.45rem .8rem}
.hero :focus-visible,.contact-card :focus-visible,.tile-0:focus-visible{outline-color:#fff}
.tile-0:focus-visible{box-shadow:0 0 0 6px var(--brand-deep)}

.bento-grid{display:grid;gap:1rem}
.tile{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;transition:border-color .15s ease-out}
/* hover answers with a rose border and a slow zoom of the photo inside its frame: no lift, no coloured shadow; mouse only.
   One zoom for every photo that is a link (home tiles, Gallery): --hover-zoom, multiplied by a photo's own "zoom" from content.json (--zoom) */
:root{--hover-zoom:1.03}
.ph.has-img img{transform:scale(var(--zoom,1))}
.tile .ph img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover) and (pointer:fine){.tile:hover{border-color:var(--accent)}.tile-0:hover{border-color:var(--brand-deep)}.tile:hover .ph img{transform:scale(calc(var(--zoom,1) * var(--hover-zoom)))}}
.tile .ph{border-radius:0;aspect-ratio:16/9;flex:1 1 auto;min-height:8rem}
.tile-body{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem 1.4rem 1.4rem}
.tile p{color:var(--muted);font-size:.98rem}
.tile .more{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:var(--link);padding-top:.25rem}
.tile-0{background:var(--brand);border-color:var(--brand)}
.tile-0 .ph{background:linear-gradient(160deg,#7C2B49,#54142E);color:#FBEFF2;min-height:13rem}
.tile-0 h3{color:#fff;font-size:clamp(1.6rem,3vw,2.2rem)}
.tile-0 p{color:#FBEFF2;font-size:1.05rem}
.tile-0 .more{color:#fff}
@media (min-width:56rem){
  .bento-grid{grid-template-columns:repeat(4,1fr)}
  .tile-0{grid-column:span 2;grid-row:span 2}
  .tile-1{grid-column:span 2;flex-direction:row}
  .tile-1 .ph{flex:0 0 40%;aspect-ratio:auto}
  .tile-1 .tile-body{justify-content:center}
}

/* inner pages: calmer, one accent, big picture slots.
   The page heading sits on a blush band (rounded at the bottom, mirroring the referral band above the footer),
   so the brand colour carries through every page without a second dark banner. */
.page-head{background:var(--tint);border-radius:0 0 20px 20px;margin-inline:clamp(.5rem,2vw,1.5rem)}
.page-head+.page-banner{margin-top:clamp(1.75rem,3vw,2.5rem)}
.head-grid{padding-block:1rem clamp(1.75rem,3vw,2.5rem)}
.head-text h1::after{content:"";display:block;width:3.5rem;height:4px;border-radius:4px;background:var(--brand);margin-top:1rem}
.page-banner .ph{width:100%;aspect-ratio:3/1;min-height:11rem;border-radius:20px}
.page-banner.stacked{display:grid;gap:clamp(1.75rem,3vw,2.5rem)} /* same gap as between blocks in .main */
.photo-row{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));padding-bottom:clamp(2rem,5vw,4rem)}
.photo-row .ph{aspect-ratio:3/2;border-radius:20px}
.faq-list{gap:0;border-top:1px solid var(--line)}
.faq details{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding-inline:0}
@media (max-width:55.99rem){.head-grid .ph.portrait{display:flex;justify-self:start;max-width:16rem}}

/* heading face is EB Garamond: slightly larger sizes to suit it, no negative tracking */
h1,h2,h3{letter-spacing:0}
h1{font-size:clamp(2.5rem,5.4vw,3.9rem)}
.hero h1{font-size:clamp(2.8rem,6vw,4.5rem)}
h2{font-size:clamp(1.75rem,3.2vw,2.35rem)}
h3{font-size:1.45rem}
.panel h2,.linkgroup h2{font-size:1.6rem}
.steps h3{font-size:1.25rem}
.cta-band p{font-size:1.5rem}
/* memberships as a slim strip above the footer */
.members-strip{border-block:1px solid var(--line);background:var(--surface)}
.members-strip .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.75rem 1.5rem;padding-block:1.25rem}
.members-strip h2{font-family:var(--body);font-size:.95rem;font-weight:500;color:var(--muted)}
.members-strip .members{justify-content:center}
.site-foot{border-top:0}
#home .band-blush{margin-bottom:clamp(2.5rem,6vw,4.5rem)}
.hero .est{font-size:.85rem;color:var(--accent);margin-top:.5rem}
/* Contact: details box on the left, form on the right */
@media (min-width:56rem){#contact .main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:start}}
/* a picture slot with a photo in it: the photo fills the slot and is cropped to its shape */
.ph.has-img{position:relative;overflow:hidden;padding:0}
.ph.has-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* "fit": "whole" in content.json: the entire photo, uncropped */
.ph.has-img.whole img{object-fit:contain}
.head-grid .ph.has-img.whole.banner{display:block;aspect-ratio:auto;border-radius:20px;max-width:28rem;justify-self:start;background:none}
.head-grid .ph.has-img.whole.banner img{position:static;height:auto}
/* the photo uses the same columns as the text and side box below it, so their edges line up */
.head-grid.has-whole{grid-template-columns:minmax(0,1fr)}
@media (min-width:60rem){
  .head-grid.has-whole{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);column-gap:clamp(2rem,4vw,3.5rem)}
  .head-grid.has-whole .ph.has-img.whole.banner{max-width:none}
}
/* "fit": "beside": beside the heading, cropped to the same shape as the Gynaecology photo */
.head-grid .ph.has-img.whole.matched.banner{aspect-ratio:768/907;width:100%}
.ph.has-img.whole.matched img,.head-grid .ph.has-img.whole.matched.banner img{position:absolute;height:100%;object-fit:cover}
/* Gynaecology and Fertility (photo beside the heading): heading, lede and opening paragraphs sit top-aligned beside the photo,
   the service boxes run full width underneath */
.head-grid.has-whole{align-items:start;padding-block:clamp(1.5rem,3vw,2.5rem)}
.head-grid.has-whole .head-text .prose{margin-top:.35rem}
.page-body.beside-photo{padding-top:clamp(2rem,4vw,3rem)}
.beside-photo .panel{background:var(--tint);border-color:transparent}
.beside-photo .panel ul{display:block;columns:3 15rem;column-gap:2.5rem;max-width:none}   /* short list items, so the box's full width is fine */
.beside-photo .panel li{break-inside:avoid;margin-bottom:.35em}
@media (min-width:60rem){
  .beside-photo .main{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);column-gap:clamp(2rem,4vw,3.5rem)}
}
/* Policies: heading and text in one centred column */
#policies .head-text,#policies .main{width:100%;max-width:44rem;margin-inline:auto}
#policies .prose{max-width:none}
/* ---------- Gallery: a mosaic whose tile shapes follow each photo (gallery_shapes() in build.py) ---------- */
.gallery{list-style:none;margin:0;padding:0;display:grid;gap:clamp(.5rem,1.2vw,.9rem);
  grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(8.5rem,30vw,12rem);grid-auto-flow:row dense}
@media (min-width:40rem){.gallery{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(10rem,22vw,14rem)}}
@media (min-width:64rem){.gallery{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(11rem,16vw,15rem)}}
.g-item{min-width:0;border-radius:20px;overflow:hidden;background:var(--tint)}
.g-tall{grid-row:span 2}
.g-wide{grid-column:span 2}
.g-big{grid-column:span 2;grid-row:span 2}
.g-arch{border-radius:20px}   /* arches retired 1 Dec 2026: all photos use the standard 20px corners */
.g-link,.g-item .ph{display:block;width:100%;height:100%;border-radius:inherit;aspect-ratio:auto}
.g-item .ph{display:flex}
.g-link{position:relative;overflow:hidden}
.g-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
/* a slow zoom and a soft burgundy wash on hover: mouse only, so nothing sticks after a tap */
.g-link::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,transparent 55%,rgba(62,14,33,.35));opacity:0;transition:opacity .25s ease-out}
@media (hover:hover) and (pointer:fine){
  .g-link:hover img{transform:scale(var(--hover-zoom))}
  .g-link:hover::after{opacity:1}
}
.g-link:focus-visible{outline-offset:-3px;outline-color:#fff;box-shadow:inset 0 0 0 6px var(--brand)}

/* Photo viewer (made by site.js; without JavaScript each tile simply opens the full photo) */
html.lb-open{overflow:hidden}
.lightbox{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;
  background:rgba(42,10,23,.94);color:#fff;overflow:hidden}
.lightbox::backdrop{background:transparent}
.lightbox[open]{display:grid;grid-template:"top" auto "stage" 1fr "bottom" auto/1fr;animation:lb-in .18s ease-out}
@keyframes lb-in{from{opacity:0}}
.lb-top{grid-area:top;display:flex;justify-content:space-between;align-items:center;padding:.75rem clamp(.75rem,3vw,1.5rem)}
.lb-count{font-variant-numeric:tabular-nums;font-weight:600;letter-spacing:.02em;color:#FBEFF2;margin:0}
.lb-bottom{grid-area:bottom}
.lb-stage{grid-area:stage;display:grid;place-items:center;min-height:0;padding:0 clamp(.5rem,6vw,5.5rem);touch-action:pan-y}
.lb-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.35);
  transition:opacity .2s ease-out,transform .25s cubic-bezier(.2,.7,.2,1)}
.lb-img.is-loading{opacity:0;transform:translateX(calc(var(--dir,0) * 24px)) scale(.985)}
.lb-btn{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:999px;border:0;cursor:pointer;
  background:rgba(255,255,255,.12);color:#fff;transition:background-color .15s ease-out,transform .1s ease-out}
.lb-btn:hover{background:rgba(255,255,255,.22)}
.lb-btn:active{transform:scale(.94)}
.lb-btn:focus-visible{outline-color:#fff}
.lb-prev,.lb-next{position:absolute;top:50%;margin-top:-24px}
.lb-prev{left:clamp(.5rem,2vw,1.5rem)}
.lb-next{right:clamp(.5rem,2vw,1.5rem)}
@media (max-width:39.99rem){
  .lb-stage{padding:0 .5rem}
  .lb-prev,.lb-next{position:static;margin:0}
  .lb-bottom{grid-area:bottom;display:flex;justify-content:center;gap:1rem;padding:.75rem 0 calc(.75rem + env(safe-area-inset-bottom))}
}

/* "fit": "banner": full-width banner, as tall as it needs to be to show the whole photo */
.page-banner .ph.has-img.natural{display:block;aspect-ratio:auto;min-height:0}
.page-banner .ph.has-img.natural img{position:static;height:auto}
/* a "banner" with a "shape" (width/height) is cropped to that shape at every screen size */
.page-banner .ph.has-img.natural.shaped img{position:absolute;height:100%}
