/* Shared geometry: keep content in flow and collapse navigation before it crowds. */
:root{--site-header-height:88px;--viewport-height:100vh;--viewport-top:0px;--small-viewport-height:100vh}
@supports(height:100dvh){:root{--viewport-height:100dvh}}
@supports(height:100svh){:root{--small-viewport-height:100svh}}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--site-header-height) + 20px)}
.site-header{height:auto;min-height:88px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:12px clamp(18px,3vw,48px);isolation:isolate}
body:not(.chat-open) .site-header{z-index:975}
.site-header>.brand,.site-header>.menu,.site-header>.theme-toggle,.site-header>.header-cta{grid-row:1;order:0}
.site-header .brand{grid-column:1;min-width:0;max-width:100%;margin:0}
.site-header .brand img{flex:none}
.site-header .brand span{display:flex}
.site-header nav{grid-column:2;grid-row:1;display:flex;position:static;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:20px;min-width:0;width:auto;margin:0;order:initial}
.site-header nav>a,.site-header .nav-dropdown-trigger{color:var(--ink);font-size:.9375rem;white-space:nowrap}
.site-header .theme-toggle{grid-column:3;margin:0;min-width:44px;min-height:44px;height:44px}
.site-header .header-cta{grid-column:4;display:flex;min-width:0;white-space:nowrap;padding:14px 20px}
.site-header .menu{grid-column:4;display:none;margin:0;width:44px;height:44px}
.service-page-header{grid-template-columns:auto minmax(0,1fr) auto}
.service-page-header .header-cta{grid-column:3}
.site-header .nav-dropdown{position:static;min-width:0}
.site-header .service-menu{position:absolute;top:100%;left:24px;right:24px;translate:none;width:auto;min-width:0;max-width:1100px;margin:0 auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:16px;max-height:calc(var(--viewport-height) - var(--site-header-height) - 24px);overflow-y:auto;overscroll-behavior:contain}
.service-menu-group,.service-menu a{min-width:0;overflow-wrap:anywhere}
.site-header .service-menu-group>b{font-size:.75rem}
.site-header .service-menu a{font-size:.875rem;white-space:normal;line-height:1.5}
.site-header .service-menu a::after{content:none}
@media not all and (max-width:1200px){
  .site-header nav{align-self:stretch}
  .site-header .nav-dropdown{align-self:stretch;padding-bottom:12px;margin-bottom:-12px}
}

.hero{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;align-items:initial;gap:32px;height:auto;min-height:clamp(640px,calc(var(--small-viewport-height) - var(--site-header-height)),960px);padding:64px clamp(24px,7vw,110px)}
.hero-content{min-width:0;max-width:900px}
.hero h1{font-size:clamp(38px,4.8vw,72px);line-height:1.1;overflow-wrap:break-word}
.hero .journey-card{position:relative;inset:auto;justify-self:end;width:min(100%,360px);min-width:0;max-width:100%;padding:20px 24px}
.journey-card>div{min-width:0}
.journey-card>a{flex:none}
.hero-actions,.trust-row,.consult-actions,.provider-switch{flex-wrap:wrap}
.section-heading{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:32px;align-items:end}
.section-heading>*,.reviews-head>*,.team-card>*,.process>*,.faq>*,.callout>*,.footer-top>*{min-width:0}
.section-heading>p{margin:0}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-card{min-width:0;min-height:0;padding:clamp(24px,3vw,38px)}
.service-card h3{overflow-wrap:break-word}
.service-card a,.official-source,.btn{max-width:100%;overflow-wrap:break-word}
.process,.faq{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.team-card{grid-template-columns:repeat(2,minmax(0,1fr))}
.team-copy{min-width:0;padding:clamp(24px,4vw,56px)}
.portrait{position:relative;min-width:0;min-height:420px}
.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.reviews-head{flex-wrap:wrap;align-items:flex-start;gap:24px}
.reviews-head>div:first-child{flex:1 1 400px}
.review-actions{flex-wrap:wrap;max-width:100%}
.fee-panel div>span{min-width:0}
.fee-panel b{max-width:100%;white-space:normal;text-align:right}
.notice{flex-wrap:wrap}
.credential-card{height:auto;min-height:310px;gap:20px}
.credential-art{flex:none}
.credential-label{min-width:0}
.callout{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) 70px}
.footer-top{grid-template-columns:1.1fr minmax(0,1fr) minmax(0,1fr);gap:32px}
.footer-bottom{flex-wrap:wrap;gap:12px}
body:not([data-service-page])>footer{padding-bottom:110px}
p,h1,h2,h3{overflow-wrap:break-word}

.service-section,.service-section.reverse{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);content-visibility:visible;contain-intrinsic-size:none}
.service-section.reverse{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
.service-section>*{min-width:0}
.service-section-image{position:relative;min-height:320px;aspect-ratio:auto}
.service-section-image img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover}
.service-section-copy{min-width:0;padding:clamp(24px,4vw,48px)}
.service-page-cta{flex-wrap:wrap}
.service-page-cta p{flex:1 1 340px;min-width:0}
.service-page-cta .btn{flex:none}

.booking-modal{inset:auto 0 auto 0;top:var(--viewport-top);height:var(--viewport-height);padding:16px;grid-template-rows:minmax(0,1fr);z-index:1200}
.sunny-panel{right:20px;bottom:88px;width:min(410px,calc(100vw - 32px));height:min(680px,calc(var(--viewport-height) - 108px));max-height:calc(var(--viewport-height) - 32px)}
.sunny-header>div{min-width:0}
.sunny-header-logo,.sunny-close{flex:none}
.sunny-messages{flex:1 1 auto;min-height:0;overflow-y:auto}
.sunny-form input{min-width:0}
body.chat-open .sunny-launch{visibility:hidden;pointer-events:none}

@media(max-width:1200px){
  .site-header,.service-page-header{grid-template-columns:minmax(0,1fr) auto auto;min-height:80px;gap:12px}
  .site-header .theme-toggle{grid-column:2}
  .site-header .menu{display:block;grid-column:3;order:initial}
  .site-header .header-cta{display:none}
  .site-header nav{display:none}
  .site-header.open nav{display:flex;position:absolute;grid-column:auto;grid-row:auto;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;width:auto;max-height:calc(var(--viewport-height) - var(--site-header-height) - 12px);margin:0;padding:12px 20px 20px;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 15px 30px rgba(0,0,0,.2)}
  .site-header.open nav>a,.site-header.open .nav-dropdown-trigger{padding:12px;min-height:44px;font-size:1rem;white-space:normal}
  .site-header.open nav>a::after{content:none}
  .site-header.open nav>a:hover,.site-header.open .nav-dropdown-trigger:hover{background:var(--cream)}
  .site-header.open nav>a:focus-visible,.site-header.open .nav-dropdown-trigger:focus-visible{outline-offset:-2px}
  .site-header.open .nav-dropdown{display:block;width:100%}
  .site-header.open .nav-dropdown-trigger{width:100%;justify-content:space-between}
  .site-header.open .service-menu{position:static;inset:auto;translate:none;transform:none;width:100%;max-width:none;min-width:0;max-height:none;margin:0;padding:12px 0;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .site-header.open .service-menu a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:.875rem}
  .site-header.open .service-home-link{display:block}
  html:not(.has-navigation) .site-header{position:relative}
  html:not(.has-navigation) .site-header nav{display:flex;grid-row:auto;position:static;grid-column:1/-1;flex-direction:column;align-items:stretch;width:100%;max-height:none}
  html:not(.has-navigation) .site-header .menu{display:none}
}
@media(max-width:1100px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){
  .section-heading,.process,.faq,.callout{grid-template-columns:minmax(0,1fr);gap:28px}
  .callout-mark{display:none}
  .section-heading>p{max-width:65ch}
  .service-section,.service-section.reverse{grid-template-columns:minmax(0,1fr)}
  .service-section.reverse .service-section-image{order:0}
  .service-section-image{min-height:0;aspect-ratio:16/9}
  .service-section-copy{max-width:none}
  .service-page-cta p{flex-basis:100%}
}
@media(max-width:900px){
  .team-card{grid-template-columns:minmax(0,1fr)}
  .team-card .portrait{order:0;min-height:0;height:auto;aspect-ratio:4/3}
  .footer-top{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:800px){
  .service-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
  .site-header,.service-page-header{min-height:72px;gap:10px;padding:10px 18px}
  .site-header .brand img{width:46px;height:46px}
  .hero{gap:28px;min-height:0;padding:52px 24px 28px}
  .hero .journey-card{justify-self:stretch;width:100%;padding:18px}
  .hero h1{font-size:clamp(36px,8.8vw,48px)}
  .fee-panel b{text-align:left}
  .sunny-launch{width:auto;min-width:0;max-width:calc(100vw - 24px);padding:8px;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
  .sunny-launch-logo{width:64px;height:36px}
  .sunny-launch>span:nth-child(2){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .sunny-panel{inset:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));width:auto;height:auto;max-height:none}
  .sunny-header{padding:12px;gap:8px}
  .sunny-header-logo{width:60px}
  .sunny-header strong{font-size:16px}
}
@media(max-width:520px){.site-header .brand span{display:none}}
@media(max-height:520px){.sunny-panel{top:10px;bottom:10px;height:auto;max-height:none}}

/* Touch targets, safe areas, and mobile keyboard space. */
.nav-dropdown-trigger,.sunny-close,.sunny-form button,.provider-switch button{min-width:44px;min-height:44px}
.site-header{padding-left:max(clamp(18px,3vw,48px),env(safe-area-inset-left));padding-right:max(clamp(18px,3vw,48px),env(safe-area-inset-right))}
.booking-modal{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
html:not(.js) .theme-toggle,html:not(.js) .sunny-launch{display:none}
@media(any-pointer:coarse),(max-width:900px){.btn,.official-source,.footer-links a,.service-menu a{min-height:44px;display:inline-flex;align-items:center}.hero-actions,.consult-actions{gap:12px}.btn{white-space:normal;text-align:center}}
@media(max-width:700px){.hero,.section,.section-dark,.section-soft{padding-left:max(24px,env(safe-area-inset-left));padding-right:max(24px,env(safe-area-inset-right))}.service-page-main{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}}
.keyboard-open .sunny-panel{inset:auto 10px auto 10px;top:calc(var(--viewport-top) + 10px);width:min(410px,calc(100vw - 20px));height:calc(var(--viewport-height) - 20px);max-height:calc(var(--viewport-height) - 20px);margin-left:auto}
.keyboard-open .sunny-trust,.keyboard-open .sunny-suggestions,.keyboard-open .sunny-swipe-hint{display:none}
.keyboard-open .sunny-disclaimer{font-size:9px;line-height:1.3}
.keyboard-open .sunny-header{padding:4px 10px;gap:8px}
.keyboard-open .sunny-header div span{display:none}
.keyboard-open .sunny-form{padding:8px 10px}
.keyboard-open .sunny-messages{padding:8px 10px}
.keyboard-open .sunny-disclaimer{padding:0 10px 6px;line-height:1.2}
.keyboard-short .sunny-disclaimer{display:none}
.keyboard-short .sunny-header{padding:2px 10px}
.keyboard-short .sunny-header-logo{display:none}
.keyboard-short .sunny-form{padding:4px 8px}
.keyboard-short .sunny-messages{padding:4px 10px}
html:not(.js) button.booking-trigger{display:none}
.booking-fallback{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
@supports not (aspect-ratio:16/9){@media(max-width:900px){.team-card .portrait{height:0;padding-top:75%}}}

/* Service photos use their own proportions on phones and tablets. */
@media(max-width:1100px){
  .service-section,.service-section.reverse{grid-template-columns:minmax(0,1fr)}
  .service-section.reverse .service-section-image{order:0}
  .service-section-image{height:auto;min-height:0;aspect-ratio:auto;padding:0}
  .service-section-image img{position:static;display:block;width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain}
  .service-section:hover .service-section-image img{transform:none}
  .service-section-copy{max-width:none}
}

/* Homepage service, credential and consultation choices. */
html:not([data-theme=dark]) { --muted: #58676f; }
html:not([data-theme=dark]) :is(.section h2 em, .section-soft h2 em, .eyebrow:not(.light),
  .text-link, .process-list b, .reviews .stars) { color: #835719; }
.hero h1 { max-width: 19ch; }
.hero h1 em { font-style: normal; }
.hero .btn { min-height: 44px; }

.credentials {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(34px, 5vw, 64px);
  background: var(--cream);
}
.credentials h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.14; }
.credentials-license p { margin: 14px 0 16px; color: var(--ink); }
.credentials-license .btn { min-height: 44px; }
.credentials-organizations { margin: 0; }
.credentials-organizations div { padding-block: 12px; border-top: 1px solid var(--line); }
.credentials-organizations dt { font-weight: 700; }
.credentials-organizations dd { margin: 0; color: var(--muted); font-size: .875rem; }
.credentials-organizations a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.intro .service-card {
  --service-link: #684415;
  --service-link-visited: #67385c;
  --service-link-active: #402707;
  min-height: 0;
}
html[data-theme=dark] .intro .service-card {
  --service-link: #f0cd8a;
  --service-link-visited: #e7c5ef;
  --service-link-active: #fff0cb;
}
.intro .service-icon { margin-bottom: 24px; }
.intro .service-card p { margin-bottom: 12px; }
.intro .service-card a {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: var(--service-link);
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.intro .service-card a:visited { color: var(--service-link-visited); }
.intro .service-card a:hover,
.intro .service-card a:focus-visible { color: var(--service-link-active); }
.intro .service-card a:focus-visible { outline-color: var(--service-link-active); outline-offset: 2px; }

.external-link-icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: -.13em;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.official-source { gap: .375em; }
.reviews-head p { max-width: 45ch; margin: 12px 0 0; color: var(--muted); }

.consultation {
  padding-block: clamp(48px, 7vw, 105px);
  background: var(--navy);
}
.consultation-inner { max-width: 1150px; }
.consultation-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: 30px;
}
.consultation-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid #506473;
  background: #0b2638;
  text-align: left;
}
.consultation-option h3 {
  margin: 0;
  font: 600 clamp(24px, 2.5vw, 34px)/1.18 'Playfair Display', serif;
}
.consultation .consultation-option p.consultation-rate { margin: 16px 0 0; color: #f4d497; }
.consultation-option dl { display: grid; gap: 12px; width: 100%; margin: 20px 0 24px; }
.consultation-option dt { font-size: .875rem; font-weight: 700; }
.consultation-option dd { margin: 2px 0 0; color: #d5dde0; font-size: .875rem; }
.consultation-option .btn { margin-top: auto; min-height: 44px; }
.consultation p.consultation-help { margin-bottom: 0; font-size: .875rem; }
.consultation-help a { display: inline-block; padding-block: 12px; }
.consultation-help a,
#booking-help a,
.footer-privacy a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.footer-contact { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-contact a, .footer-links a, .footer-privacy a { color: #f4d497; }
.footer-contact span, .footer-privacy p { color: #cad3d7; }
.footer-privacy { margin-top: 22px; max-width: 70ch; }
.footer-privacy summary { padding-block: 12px; font-size: 1rem; }
.footer-privacy p { margin: 0 0 14px; }
.site-footer .footer-bottom { color: #aab7bd; }

:is(.hero-actions, .credentials, .consultation, .fee-preview, .fee-catalogue, .service-grid,
  .service-support, .site-footer, .service-page-footer, .review-actions) :focus-visible {
  outline: 3px solid #835719;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
.hero-actions :focus-visible,
.consultation :focus-visible,
.site-footer :focus-visible,
.service-page-footer :focus-visible,
html[data-theme=dark] :is(.credentials, .fee-preview, .fee-catalogue, .service-grid, .service-support, .review-actions) :focus-visible {
  outline-color: #f0cd8a;
  box-shadow: 0 0 0 3px #061c2e;
}
@media (max-width: 700px) {
  .credentials, .consultation-options { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 52px; }
}
