/*
Theme Name: Teignmouth Osteopathic Practice Coastal
Theme URI: https://teignmouthosteopaths.co.uk/
Author: Custom theme for Teignmouth Osteopathic Practice
Description: A fresh, responsive coastal-inspired WordPress theme with editable content, native media placeholders, elegant typography, and dedicated areas for services, practitioners, fees, FAQs, news and contact information. Does not include data or files from the previous compromised site.
Version: 1.6.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: teignmouth-osteopaths
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--navy:#113f52;--navy-dark:#0c3444;--teal:#0b8390;--teal-dark:#086d78;--sea:#dceff0;--sea-strong:#b4dadd;--cream:#fbf8f1;--sand:#f3eee3;--coral:#e9ad93;--text:#244c5b;--muted:#607885;--white:#fff;--border:#e4e6e1;--shadow:0 14px 38px rgba(16,59,75,.075);--heading:Georgia,'Times New Roman',serif;--body:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--radius:22px;}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:95px}
body{margin:0;background:var(--cream);color:var(--text);font:400 16px/1.7 var(--body);-webkit-font-smoothing:antialiased}
body,button,input,textarea,select{font-family:var(--body)}
a{color:var(--teal-dark);text-decoration:none}
a:hover,a:focus-visible{color:var(--navy)}
button,input,textarea{font-size:inherit}
button{cursor:pointer}
img,svg{max-width:100%}img{height:auto;display:block}
:focus-visible{outline:3px solid #e09063;outline-offset:4px}
::selection{background:#b6dee0;color:var(--navy)}
.container{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.screen-reader-text{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.screen-reader-text:focus{position:fixed;top:15px;left:15px;width:auto;height:auto;padding:14px 20px;background:white;z-index:99999}
.site-header{background:rgba(255,255,255,.97);position:sticky;top:0;z-index:200;box-shadow:0 2px 14px rgba(18,63,75,.07)}
.admin-bar .site-header{top:32px}
.header-inner{height:90px;display:flex;gap:24px;align-items:center;justify-content:space-between}
.site-brand{display:flex;align-items:center;flex-shrink:0}
.brand-fallback{display:flex;align-items:center;gap:11px;color:var(--navy)!important;font:400 22px/1.05 var(--heading);white-space:nowrap}
.brand-fallback strong{font-weight:400}
.brand-icon{width:55px;height:55px;color:var(--teal)}
.custom-logo-link img{width:auto;max-height:70px;max-width:230px;object-fit:contain}
.main-navigation{margin-left:auto}
.nav-list{display:flex;list-style:none;gap:24px;padding:0;margin:0;align-items:center}
.nav-list a{color:var(--navy);font-size:13px;font-weight:700;letter-spacing:.01em;white-space:nowrap}
.nav-list a:hover,.nav-list a:focus-visible{color:var(--teal)}
.nav-list .sub-menu{list-style:none;position:absolute;display:none;padding:15px 20px;background:white;border-radius:12px;box-shadow:var(--shadow);z-index:10}
.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu{display:grid;gap:8px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 26px;background:var(--teal);border:2px solid var(--teal);border-radius:100px;color:white!important;font:700 14px/1.3 var(--body);box-shadow:0 8px 20px rgba(8,114,125,.14);transition:transform .2s,background .2s,border-color .2s}
.button:hover,.button:focus-visible{background:var(--navy);border-color:var(--navy);transform:translateY(-2px);color:white}
.button-small{font-size:12px;padding:12px 19px;white-space:nowrap}
.button-outline{background:transparent;color:var(--navy)!important;box-shadow:none;border-color:var(--teal)}
.button-outline:hover{color:white!important}
.button-group{display:flex;gap:14px;flex-wrap:wrap}
.nav-toggle{display:none;background:transparent;border:0;padding:8px}
.nav-toggle span{display:block;height:2px;background:var(--navy);width:27px;margin:6px 0}
.hero{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(circle at 70% 32%,rgba(254,231,211,.8),transparent 37%),linear-gradient(120deg,#fffefa 4%,#f7f8ed 53%,#eff7f6 100%);text-align:center;min-height:490px;display:flex;align-items:center;justify-content:center;padding:78px 20px 130px}
.hero-content{position:relative;z-index:2;display:grid;justify-items:center}
.hero h1{font:400 clamp(48px,6.7vw,89px)/1.1 var(--heading);letter-spacing:-.035em;color:var(--navy);margin:10px 0 15px;max-width:920px}
.hero-eyebrow{color:var(--teal-dark);font-weight:700;letter-spacing:.22em;text-transform:uppercase;font-size:12px}
.hero-motto{margin:0 0 34px;font-size:12px;letter-spacing:.28em;color:var(--navy);font-weight:700;white-space:pre-wrap}
.hero .button-group{justify-content:center}
.hero-shape{position:absolute;z-index:0;pointer-events:none;left:-25%;width:160%;height:250px;bottom:-20px;border-radius:50% 50% 0 0/90% 80% 0 0;transform:rotate(-6deg)}
.hero-shape-one{background:#bfdee0;bottom:-58px;left:-45%;height:240px}
.hero-shape-two{background:linear-gradient(100deg,#7db9c0 0%,#4aa0a9 47%,#0a8691 100%);bottom:-103px;left:-20%;transform:rotate(4deg);height:205px}
.hero-sun{position:absolute;z-index:0;width:245px;height:245px;background:linear-gradient(135deg,#f0ab90,#f7cab0);border-radius:50%;right:12%;top:35%;opacity:.75}
.hero-wave{position:absolute;z-index:1;bottom:-2px;left:0;width:100%;height:105px;pointer-events:none}
.hero-wave svg{height:100%;width:100%;display:block}
.section{padding:110px 0}
.section-tinted{background:linear-gradient(120deg,#e5f2f3,#d5eaec 75%,#eaf5f3)}
.section h2,.page-banner h1{font:400 clamp(37px,4vw,53px)/1.14 var(--heading);color:var(--navy);letter-spacing:-.02em;margin:0 0 22px}
.section h3{font:400 25px/1.2 var(--heading);color:var(--navy);margin:0 0 12px}
.section p{margin-top:0}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.23em;color:var(--teal-dark);text-transform:uppercase;margin:0 0 12px!important}
.lead{font-size:18px;line-height:1.85;max-width:520px}
.split{display:grid;grid-template-columns:.92fr 1.08fr;align-items:center;gap:clamp(36px,6vw,92px)}
.split-services{grid-template-columns:1fr 1fr}
.split-about .section-copy{padding-right:12px}
.text-link{display:inline-flex;align-items:center;gap:11px;font-size:14px;font-weight:700;letter-spacing:.005em;border-bottom:2px solid rgba(13,132,144,.34);padding:8px 0}
.text-link:hover{border-color:var(--navy)}
.image-slot{position:relative;overflow:hidden;background:linear-gradient(135deg,#bcdfe0,#f5ecdc);border-radius:50px 15px 48px 18px;min-height:310px}
.image-slot img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.landscape-slot{min-height:410px}
.portrait-slot{border-radius:18px;min-height:290px;align-self:stretch}
.treatment-slot{min-height:500px;border-radius:130px 24px 90px 20px}
.coast-slot{border-radius:170px 30px 130px 24px}
.slot-empty{position:absolute;inset:0;border:2px dashed rgba(8,110,122,.32);border-radius:inherit;background:repeating-linear-gradient(135deg,transparent 0 14px,rgba(255,255,255,.11) 14px 28px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:25px;color:var(--navy)}
.slot-empty svg{opacity:.7}
.slot-empty span{font-weight:700;font-size:17px}
.slot-empty small{font-size:12px;color:var(--muted)}
.services-section{padding:120px 0}
.service-list{list-style:none;padding:0;margin:26px 0 32px;display:grid;gap:12px}
.service-list li{display:flex;align-items:baseline;gap:13px;line-height:1.5;font-size:15px}
.check-mark{display:inline-grid;place-items:center;background:var(--teal);color:white;width:23px;height:23px;min-width:23px;border-radius:50%;font-size:12px;transform:translateY(2px)}
.section-heading{margin-bottom:38px}
.heading-row{display:flex;align-items:end;justify-content:space-between;gap:40px}
.heading-row>p{max-width:420px;font-size:17px;margin-bottom:8px}
.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.team-card{display:grid;grid-template-columns:43% 57%;background:#fff;border-radius:19px;overflow:hidden;box-shadow:var(--shadow);min-height:310px}
.team-card .portrait-slot{border-radius:0;min-height:100%}
.team-card-copy{padding:31px 30px}
.team-card-copy h3{margin-bottom:15px}
.team-card-copy p:not(.eyebrow){font-size:14px;line-height:1.75}
.team-card-copy .text-link{margin-top:5px}
.fees-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:25px;align-items:stretch}
.fee-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:37px 25px;border-radius:20px;background:rgba(255,255,255,.93);box-shadow:var(--shadow);min-height:275px}
.fee-card h3{font-size:25px;margin:0}
.fee-symbol{display:grid;place-items:center;width:57px;height:57px;border-radius:50%;background:var(--sea-strong);font-size:29px;color:var(--navy);margin-bottom:18px}
.fee-price{font:400 64px/1 var(--heading);color:var(--navy);margin:10px 0 3px!important}
.fee-card>p:last-child{font-size:14px;font-weight:700;margin:0}
.fees-explainer{padding:24px 10px 24px 20px;align-self:center}
.fees-explainer p{font-size:15px;line-height:1.9}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}
.faq-item{background:#fff;border:1px solid #eceee9;border-radius:14px;box-shadow:0 5px 14px rgba(19,61,78,.035);overflow:hidden}
.faq-item summary{display:flex;list-style:none;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;font-size:15px;font-weight:700;color:var(--navy);cursor:pointer}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary span{font-size:23px;font-weight:400;color:var(--teal)}
.faq-item[open] summary span{transform:rotate(45deg)}
.faq-item>p{margin:0!important;padding:0 23px 24px;font-size:14px;line-height:1.8}
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}
.news-card{border-radius:19px;background:#fff;box-shadow:var(--shadow);overflow:hidden;min-height:260px;display:grid;grid-template-columns:44% 56%}
.news-card .news-photo{min-height:100%;border-radius:0}
.news-copy{padding:28px 29px;align-self:center}
.news-copy h3{font-size:24px}
.news-copy h3 a{color:var(--navy)}
.news-copy p:not(.eyebrow){font-size:14px}
.update-card{grid-template-columns:32% 68%}
.update-icon{align-self:center;justify-self:center;font-size:55px;color:var(--teal);display:grid;place-items:center;background:#dbedf0;width:105px;height:105px;border-radius:50%}
.contact-section{background:radial-gradient(circle at 75% 60%,rgba(248,228,199,.65),transparent 48%),var(--cream)}
.contact-grid{display:grid;grid-template-columns:1fr 1.03fr .93fr;gap:30px;align-items:stretch}
.contact-info{padding:15px 0}
.contact-info>p{font-size:16px;margin:0 0 32px}
.contact-line{display:flex;align-items:flex-start;gap:13px;margin:22px 0;line-height:1.5;font-size:15px}
.contact-line a{overflow-wrap:anywhere}
.contact-icon{display:grid;place-items:center;min-width:37px;height:37px;background:var(--teal);color:white;border-radius:50%;font-size:21px}
.contact-panel{background:white;border-radius:20px;box-shadow:var(--shadow);padding:24px}
.form-placeholder{height:100%;min-height:294px;border:2px dashed #cbdedc;border-radius:13px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:30px 20px}
.form-placeholder h3{font-size:24px;margin:0}
.form-placeholder p{font-size:13px;color:var(--muted);line-height:1.65;margin:0 0 5px}
.placeholder-icon{font-size:40px;color:var(--teal)}
.contact-panel .wpcf7 label{display:block;font-size:13px;font-weight:700;color:var(--navy);margin:10px 0}
.contact-panel input:not([type=submit]),.contact-panel textarea{width:100%;max-width:100%;padding:13px 15px;border:1px solid #d5e2e4;border-radius:9px;color:var(--navy);background:#fcfdfd}
.contact-panel input[type=submit]{background:var(--teal);color:white;border:0;border-radius:25px;padding:12px 25px;cursor:pointer;font-weight:700}
.contact-panel textarea{min-height:120px}
.contact-location{position:relative;background:linear-gradient(142deg,#d4e9df 0%,#ecf2e7 40%,#b4dce6 41%,#8dc8d4 100%);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px 15px;gap:9px;overflow:hidden;min-height:290px;color:var(--navy)}
.contact-location:before{content:"";position:absolute;width:180%;height:65px;background:rgba(255,255,255,.65);transform:rotate(-27deg);left:-20%;top:25%;border:2px solid rgba(255,255,255,.4)}
.map-pin{font-size:42px;line-height:1;color:#d26f59;position:relative}
.map-eyebrow{position:relative;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.contact-location strong,.contact-location span,.contact-location a{position:relative}
.site-footer{background:linear-gradient(120deg,#0d3b4e,#0d5562 70%,#0d4354);color:#e9f5f5;padding:76px 0 22px}
.footer-main{display:grid;grid-template-columns:1.5fr .8fr .85fr 1.2fr;gap:48px;margin-bottom:65px}
.footer-logo,.footer-logo .brand-icon{color:#eef8f5!important}
.footer-logo{font-size:23px}
.footer-brand p{color:#c4dce2;font-size:13px;margin-top:20px}
.footer-heading{color:#fff;font-size:15px;font-weight:700;margin:0 0 18px}
.site-footer p{font-size:14px;line-height:1.7;margin:0 0 14px}
.site-footer a{color:#e7f2f5;overflow-wrap:anywhere}
.site-footer a:hover{color:white;text-decoration:underline}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:14px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:24px;border-top:1px solid rgba(255,255,255,.24);font-size:12px;color:#cee3e7}
.inner-page{min-height:50vh}
.page-banner{padding:90px 0 65px;background:linear-gradient(120deg,#e3f1ef,#f8f8ef 60%,#f7e8df)}
.page-banner h1{margin-bottom:0;font-size:clamp(42px,5vw,68px)}
.prose-container{max-width:860px;padding:70px 0 110px}
.prose{font-size:17px;line-height:1.9}
.prose h2,.prose h3{font-family:var(--heading);font-weight:400;color:var(--navy);line-height:1.3;margin-top:32px}
.prose h2{font-size:34px}.prose h3{font-size:27px}
.prose img{border-radius:12px}
.prose blockquote{border-left:4px solid var(--teal);padding-left:22px;margin-left:0;color:var(--navy)}
.post-image img{border-radius:16px}
.post-date{color:var(--muted);font-size:14px}
.post-back{padding-top:30px}
.posts-index{padding:70px 0 110px}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.post-card{background:white;border-radius:19px;box-shadow:var(--shadow);overflow:hidden}
.post-card>a>img{height:245px;width:100%;object-fit:cover}.post-card-copy{padding:30px}
.post-card h2{font:400 31px var(--heading);margin:0 0 12px}.post-card h2 a{color:var(--navy)}
.page-navigation{margin:40px 0}.page-navigation .page-numbers{padding:8px 12px}
@media(max-width:1120px){.nav-list{gap:13px}.nav-list a{font-size:12px}.header-inner{gap:14px}.header-cta{padding:11px 14px}.brand-fallback{font-size:19px}.brand-icon{width:48px;height:48px}.team-card{grid-template-columns:38% 62%}.team-card-copy{padding:23px}.news-copy{padding:22px}.contact-grid{gap:17px}}
@media(max-width:950px){.header-inner{height:76px}.nav-toggle{display:block;margin-left:auto}.main-navigation{display:none;position:absolute;top:76px;left:0;right:0;background:white;padding:17px 32px 25px;box-shadow:0 13px 24px rgba(17,63,82,.12)}.main-navigation.is-open{display:block}.nav-list{flex-direction:column;align-items:flex-start;gap:0}.nav-list li{width:100%}.nav-list a{display:block;padding:10px 0;font-size:16px}.nav-list .sub-menu{position:static;box-shadow:none;padding:0 20px}.header-cta{display:none}.split{gap:30px}.team-grid,.news-grid{grid-template-columns:1fr}.team-card{grid-template-columns:38% 62%}.team-card .portrait-slot{min-height:280px}.fees-grid{grid-template-columns:1fr 1fr}.fees-explainer{grid-column:1/-1;text-align:center;max-width:620px;margin:auto;padding:10px}.contact-grid{grid-template-columns:1fr 1fr}.contact-location{grid-column:1/-1;min-height:200px}.footer-main{grid-template-columns:1fr 1fr;gap:34px}.footer-brand{grid-column:1/-1}.admin-bar .site-header{top:32px}}
@media(max-width:700px){.container{width:min(100% - 36px,550px)}.section{padding:74px 0}.hero{padding:70px 18px 120px;min-height:430px}.hero h1{font-size:clamp(42px,10vw,64px)}.hero-motto{font-size:10px;letter-spacing:.14em}.hero-sun{width:145px;height:145px;right:-20px;top:45%}.hero-shape{height:160px}.hero-shape-two{bottom:-78px}.hero-wave{height:85px}.split,.split-services{grid-template-columns:1fr}.split-about .section-copy{padding:0}.coast-slot{min-height:290px}.treatment-slot{min-height:355px}.services-section .section-copy{order:1}.services-section .treatment-slot{order:2}.section h2{font-size:39px}.heading-row{display:block}.team-card{grid-template-columns:38% 62%;min-height:270px}.team-card-copy{padding:22px 17px}.team-card-copy h3{font-size:23px}.team-card .portrait-slot{min-height:260px}.fees-grid,.faq-grid,.news-grid,.contact-grid,.post-grid{grid-template-columns:1fr}.fees-explainer,.contact-location{grid-column:auto}.fees-grid{gap:16px}.fee-card{min-height:230px}.news-card{min-height:220px}.contact-location{min-height:220px}.footer-main{grid-template-columns:1fr 1fr;gap:32px}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}.site-footer{padding-top:55px}.prose-container{padding:45px 0 70px}.page-banner{padding:65px 0 45px}}
@media(max-width:440px){.brand-fallback{font-size:18px}.brand-icon{width:42px;height:42px}.hero .button-group{flex-direction:column;align-items:center}.hero .button{width:min(100%,260px)}.team-card{grid-template-columns:1fr}.team-card .portrait-slot{min-height:330px;max-height:330px}.team-card-copy{padding:27px}.news-card,.update-card{grid-template-columns:1fr}.news-card .news-photo{min-height:230px}.news-copy{padding:27px}.update-icon{margin-top:35px}.footer-main{grid-template-columns:1fr 1fr}.footer-main>div:last-child{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v1.1 — full biographies, portrait-first cards, improved responsive design */
.hero{min-height:560px;padding-top:112px;padding-bottom:150px}
.hero h1{font-size:clamp(54px,7.2vw,102px)}
.brand-icon{width:64px;height:64px}
.team-card{display:flex;flex-direction:column;min-height:0}
.team-card .portrait-slot{width:100%;height:370px;min-height:370px;max-height:none;border-radius:0;background:#dce8e5}
.team-card .portrait-slot img{width:100%;height:100%;object-fit:contain;object-position:center center;background:#e7e9e2}
.team-card-copy{padding:30px 33px 34px;flex:1}
.team-biography p{font-size:15px;line-height:1.8;margin:0 0 13px}
.team-biography p:last-child{margin-bottom:0}
.treatment-slot{min-height:520px;height:520px;border-radius:30px 110px 30px 110px}
.treatment-slot img{object-fit:contain;background:#d8e9e9}
.contact-map{padding:0;display:flex;flex-direction:column;gap:0;min-height:330px;background:#dcecec;overflow:hidden}
.contact-map:before{display:none}
.contact-map iframe{border:0;width:100%;height:290px;flex:1;min-height:290px}
.contact-map .map-directions{position:relative;padding:14px 16px;font-weight:700;color:#0d4353;background:#e5f2f1;text-decoration:underline;text-underline-offset:3px}
@media(max-width:950px){.team-card{display:flex}.team-card .portrait-slot{height:400px;min-height:400px}.brand-icon{width:56px;height:56px}}
@media(max-width:700px){.hero{min-height:490px;padding:90px 18px 125px}.hero h1{font-size:clamp(43px,10vw,67px)}.team-card .portrait-slot{height:350px;min-height:350px}.team-card-copy{padding:26px}.treatment-slot{height:390px;min-height:390px;border-radius:25px 70px 25px 70px}.contact-map iframe{min-height:300px}}
@media(max-width:440px){.team-card .portrait-slot{height:320px;min-height:320px}.team-card-copy{padding:24px}.team-biography p{font-size:15px}.hero{padding-top:76px}}

/* v1.2 text-only branding */
.brand-fallback .brand-icon,.footer-logo .brand-icon{display:none!important}
.brand-fallback{gap:0}
.brand-fallback span{line-height:1.13}
.footer-logo{font-size:20px}


/* v1.3 — refined, calm, editorial header */
.site-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(17,63,82,.10);
  box-shadow: 0 7px 28px rgba(17,63,82,.045);
}
.header-inner {
  min-height: 104px;
  height: auto;
  gap: clamp(18px,2.5vw,42px);
}
.site-brand {min-width: 270px}
.brand-fallback {
  display: inline-flex;
  align-items: center;
  font: 400 clamp(22px,2.1vw,28px)/1.04 var(--heading);
  letter-spacing: -.025em;
  white-space: normal;
}
.brand-fallback span {line-height:1.09}
.main-navigation {margin-left:auto}
.nav-list {gap: clamp(4px,.5vw,10px)}
.nav-list > li {position:relative}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px clamp(8px,.8vw,14px);
  border-radius: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .012em;
  transition: background .18s,color .18s;
}
.nav-list > li > a:hover,
.nav-list > li > a:focus-visible,
.nav-list > li > a.is-current {
  background: #e9f4f3;
  color: var(--teal-dark);
}
.header-cta {
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(8,114,125,.12);
}
.header-cta span {margin-left:4px}
.nav-list .sub-menu {top:100%;left:0;min-width:180px}
@media(max-width:1190px) {
  .site-brand {min-width:230px}
  .header-inner {gap:14px}
  .nav-list {gap:0}
  .nav-list > li > a {padding-inline:8px;font-size:12px}
  .header-cta {padding:12px 16px;font-size:12px}
}
@media(max-width:1030px) {
  .header-inner {min-height:82px}
  .site-brand {min-width:0}
  .brand-fallback {font-size:23px}
  .nav-toggle {display:block;margin-left:auto}
  .main-navigation {
    display:none;position:absolute;top:100%;left:0;right:0;
    margin:0;padding:12px max(24px,calc((100vw - 1180px)/2)) 24px;
    background:white;border-top:1px solid var(--border);
    box-shadow:0 18px 25px rgba(17,63,82,.09);
    max-height:calc(100vh - 90px);overflow-y:auto;
  }
  .main-navigation.is-open {display:block}
  .nav-list {display:flex;flex-direction:column;align-items:stretch;gap:3px}
  .nav-list > li > a {display:flex;padding:12px 16px;font-size:15px}
  .nav-list .sub-menu {position:static;box-shadow:none;padding:0 20px}
  .header-cta {display:none}
}
@media(max-width:600px) {
  .header-inner {min-height:74px}
  .brand-fallback {font-size:20px}
  .nav-toggle {margin-left:auto}
}
@media(max-width:782px) {
  .admin-bar .site-header {top:46px}
}


/* =====================================================================
   1.4: typography, photography, card alignment and responsive polish
   ===================================================================== */
:root { --card-shadow: 0 20px 50px rgba(13, 55, 71, .065); }
html { scroll-padding-top: 112px; }
body { line-height: 1.72; }
.site-header { box-shadow: 0 5px 25px rgba(16, 59, 75, .045); }
.header-inner { min-height: 96px; }
.site-brand { min-width: 295px; }
.brand-fallback { font-size: clamp(22px, 1.85vw, 28px); letter-spacing: -.025em; }
.nav-list > li > a { font-size: 13px; }
.nav-list > li > a.is-current { background:#e7f4f3; }
.header-cta { border-radius: 999px; box-shadow: 0 8px 18px rgba(6, 114, 127, .11); }
.hero { min-height: 570px; padding-top: 106px; padding-bottom: 155px; }
.hero-content { max-width: 950px; }
.hero h1 { font-size: clamp(58px, 6.9vw, 96px); line-height: 1.06; letter-spacing:-.038em; text-wrap: balance; }
.hero-motto { letter-spacing:.22em; }
.section { padding-block: clamp(90px, 7.2vw, 118px); }
.section h2 { text-wrap: balance; }
.split { gap: clamp(38px, 5.2vw, 84px); }
.split .section-copy { max-width: 570px; }
.split-about { grid-template-columns: .94fr 1.06fr; }
.image-slot { isolation:isolate; }
.coast-slot { min-height: 385px; box-shadow: 0 20px 40px rgba(11,62,73,.07); }
.coast-slot img { object-fit: cover; object-position: center; }
.services-section { padding-block: clamp(94px,8vw,130px); }
.split-services { grid-template-columns: 1.02fr .98fr; align-items:center; }
.treatment-slot {
  height: 565px;
  min-height: 565px;
  border-radius: 26px 100px 26px 100px;
  background: linear-gradient(145deg,#e8f3f2,#cfe7e8);
  box-shadow: 0 20px 48px rgba(11,62,73,.09);
}
.treatment-slot img {
  object-fit:contain;
  object-position: center center;
  background: transparent;
}
.service-list { gap: 14px; }
.service-list li { align-items: center; font-size: 16px; }
.check-mark { transform:none; }
.team-section { background: #fbf8f1; }
.team-grid { gap: 30px; align-items: start; }
.team-card {
  border: 1px solid rgba(14,77,83,.075);
  box-shadow: var(--card-shadow);
  border-radius: 22px;
  overflow:hidden;
}
.team-card .portrait-slot {
  height: 425px;
  min-height:425px;
  background: linear-gradient(135deg,#d9e9e5 0%,#f5f2eb 46%,#e0edeb 100%);
  position: relative;
}
.team-card .portrait-slot:after {
  content:""; position:absolute; inset:auto 0 0;
  height:55px; z-index:1;pointer-events:none;
  background:linear-gradient(0deg,rgba(11,64,70,.055),transparent);
}
.team-card .portrait-slot img {
  width:100%;height:100%;
  object-fit:contain;object-position:center center;
  background:transparent;
}
.team-card-copy { padding: 32px 38px 40px; }
.team-card-copy h3 { font-size:30px;margin-bottom:12px; }
.team-biography p,.team-card-copy p:not(.eyebrow) { font-size:15px;line-height:1.85; }
.team-card .text-link { margin-top:15px; }
.fee-card,.news-card,.contact-panel { box-shadow: var(--card-shadow); }
.fee-card { border:1px solid rgba(14,77,83,.04); }
.fees-explainer { padding-left: 26px; }
.faq-item { border-color: #dfe9e6; }
.faq-item summary { padding:22px 24px; }
.faq-item:hover { border-color:var(--sea-strong); }
.news-grid-single { grid-template-columns: minmax(0, 760px); }
.news-grid-single .news-card { min-height:270px; }
.news-card .news-photo { background:#e2ece9; }
.news-card .news-photo img {object-fit:cover;object-position:center 36%}
.news-copy { padding:34px; }
.news-copy h3 { font-size: 28px; }
.contact-grid { grid-template-columns: minmax(0,.92fr) minmax(0,1.1fr) minmax(0,1fr);gap:24px; }
.contact-info { padding: 15px 8px 0 0; }
.contact-panel { padding:30px; }
.contact-panel textarea { min-height:140px; }
.contact-panel input:focus-visible,.contact-panel textarea:focus-visible {
  outline:2px solid var(--teal);outline-offset:1px;border-color:var(--teal);
}
.contact-map {
  min-height: 415px;
  background: #e8f1f0;
  border: 1px solid #d9e9e7;
  border-radius:22px;
  align-items:stretch;
  justify-content:flex-start;
  text-align:left;
  gap:0;
}
.contact-map .map-frame {
  display:block;
  position:relative;
  min-height: 235px;
  height:235px;
  width:100%;
  overflow:hidden;
  background: linear-gradient(145deg,#cfe6e2,#e8eee4);
}
.contact-map .map-frame:before {
  content:'Map preview';position:absolute;z-index:0;left:20px;top:18px;
  color:var(--navy);opacity:.45; font-size:13px;letter-spacing:.08em;
}
.contact-map iframe {
  display:block;position:relative;z-index:1;
  min-height:235px;height:235px;width:100%;border:0;flex:none;
}
.contact-map .map-details { padding:23px 25px 26px;display:grid;justify-items:start;gap:14px; }
.contact-map .map-details .eyebrow { margin:0!important; }
.contact-map .map-details strong { font-size:15px;line-height:1.6;font-weight:600; }
.contact-map .map-directions {
  border:2px solid var(--teal);
  padding:11px 20px;
  text-decoration:none;
  font-size:13px;
  position:relative;
  color:#fff!important;
  background:var(--teal);
}
.contact-map .map-directions:hover { background:var(--navy); }
.site-footer { padding-top: 70px; }
.footer-main { gap: 40px;margin-bottom:50px; }
@media(max-width:1190px) {
  .site-brand {min-width: 235px}
  .header-inner {min-height:88px}
}
@media(max-width:1030px) {
  .site-brand { min-width:0; }
  .main-navigation { top:100%; }
  .nav-list > li > a { font-size:15px; }
  .nav-list { flex-direction:column;align-items:stretch; }
  .contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-info { padding-right: 20px; }
  .contact-map { grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;min-height:260px; }
  .contact-map .map-frame,.contact-map iframe { min-height:100%;height:100%; }
}
@media(max-width:780px) {
  .section { padding-block:80px; }
  .container { width:min(100% - 40px, 620px); }
  .split,.split-about,.split-services { grid-template-columns:1fr;gap:32px; }
  .services-section .section-copy{order:1}
  .services-section .treatment-slot{order:2}
  .treatment-slot { min-height: 460px;height:460px;border-radius:26px 75px 26px 75px; }
  .coast-slot { min-height:330px; }
  .team-grid,.news-grid,.fees-grid,.faq-grid,.contact-grid { grid-template-columns: 1fr; }
  .news-grid-single{grid-template-columns:1fr;}
  .team-card .portrait-slot {height:380px;min-height:380px}
  .contact-map {grid-column:auto;grid-template-columns:1fr;min-height:0;}
  .contact-map .map-frame,.contact-map iframe {height:250px;min-height:250px}
  .contact-info {padding:0}
  .fees-explainer{grid-column:auto}
}
@media(max-width:540px) {
  .container {width:calc(100% - 36px)}
  .header-inner {min-height:78px}
  .brand-fallback { font-size: 20px; }
  .hero {min-height:485px;padding:76px 18px 125px}
  .hero h1 {font-size:clamp(42px,10vw,60px);line-height:1.1}
  .hero-motto {font-size:10px;letter-spacing:.13em}
  .section {padding-block:68px}
  .section h2 {font-size:clamp(34px,9vw,41px)}
  .lead {font-size:16px}
  .coast-slot {min-height:265px}
  .treatment-slot {min-height:360px;height:360px}
  .team-card .portrait-slot {height:350px;min-height:350px}
  .team-card-copy {padding:27px 25px 32px}
  .team-card-copy h3 {font-size:26px}
  .team-biography p {font-size:15px}
  .news-card {grid-template-columns:1fr}
  .news-card .news-photo {height:220px;min-height:220px}
  .news-copy {padding:27px}
  .fees-explainer {padding:15px 5px;text-align:left}
  .footer-main {gap:30px}
  .contact-panel {padding:22px}
}


/* v1.5: targeted smartphone refinements after Pixel 9 screenshot */
/* Ensure the header remains easy to identify and use at small sizes. */
@media (max-width: 780px) {
  html { scroll-padding-top: 86px; }
  .site-header .header-inner { min-height: 78px; height: auto; gap: 12px; }
  .site-brand { flex: 1 1 auto; min-width:0; }
  .brand-fallback { font-size:clamp(19px,4.7vw,23px); letter-spacing:-.023em; line-height:1.06; }
  .brand-fallback span { line-height:1.08; }
  .nav-toggle {
    flex: 0 0 46px; display:flex; flex-direction:column; justify-content:center; align-items:center;
    min-width:46px; min-height:46px; padding:9px; margin-left:auto;
    border:1px solid #d7e9e7; background:#eaf5f4; border-radius:12px;
  }
  .nav-toggle span { width:23px; height:2px; margin:3px 0; border-radius:3px; }
  .main-navigation { top:100%; max-height:calc(100dvh - 80px); overflow-y:auto; padding:18px 20px 22px; }
  .nav-list > li > a { min-height:48px; padding:12px 14px; font-size:16px; }
  .nav-list > li > a.is-current { background:#e9f4f3; }

  /* Hero: focus on headline and clear calls to action, with decoration kept behind text. */
  .hero { min-height:0; padding:82px 18px 120px; }
  .hero-content { width:100%; max-width:520px; }
  .hero-eyebrow { font-size:11px; line-height:1.5; letter-spacing:.16em; }
  .hero h1 { font-size:clamp(40px,9.2vw,58px); line-height:1.09; letter-spacing:-.034em; margin:14px 0 18px; }
  .hero-motto { font-size:10px; letter-spacing:.11em; line-height:1.7; margin-bottom:25px; }
  .hero-sun { width:105px; height:105px; top:18%; right:-44px; opacity:.38; }
  .hero-shape-one { height:155px; bottom:-47px; }
  .hero-shape-two { height:145px; bottom:-69px; }
  .hero-wave {height:55px;}
  .hero .button-group { display:flex; flex-direction:column; align-items:center; width:100%; gap:12px; }
  .hero .button { width:min(100%,290px); min-height:46px; font-size:14px; padding:12px 17px; }

  /* Consistent, slightly tighter vertical rhythm avoids a needlessly long page. */
  .section { padding:67px 0; }
  .section-heading {margin-bottom:25px;}
  .section h2 { font-size:clamp(35px,8.7vw,44px); line-height:1.12; margin-bottom:18px; }
  .eyebrow {font-size:11px; letter-spacing:.17em;}
  .section p { line-height:1.8; }
  .lead {font-size:16px;line-height:1.85;}
  .split,.split-about,.split-services {gap:28px;}
  .coast-slot { min-height:255px; }
  .services-section { padding:72px 0; }
  .service-list { gap:12px; margin:24px 0 26px; }
  .service-list li {font-size:16px; line-height:1.5; gap:12px; align-items:center;}
  .check-mark {width:23px;height:23px;min-width:23px;}

  /* Render the actual entire treatment photograph at its natural aspect ratio. */
  .treatment-slot { min-height:0; height:auto; aspect-ratio:auto; border-radius:24px 65px 24px 65px; }
  .treatment-slot img { position:relative; inset:auto; width:100%; height:auto; max-height:none; object-fit:contain; }

  /* Keep natural portrait ratios with consistent card spacing. */
  .team-section .heading-row > p {font-size:15px;margin:0;}
  .team-grid {gap:22px;}
  .team-card {border-radius:20px;}
  .team-card .portrait-slot {height:340px;min-height:340px;}
  .team-card-copy {padding:26px 25px 30px;}
  .team-card-copy h3 {font-size:27px;}
  .team-card .team-biography p {font-size:16px;line-height:1.8;margin-bottom:14px;}
  .team-card .text-link {font-size:14px;min-height:44px;}
  .fee-card {min-height:205px;padding:28px 18px;}
  .fee-price {font-size:58px;}
  .fees-grid {gap:13px;}
  .fees-explainer {padding:18px 3px 3px;}
  .faq-grid {gap:12px;}
  .faq-item summary {min-height:54px;padding:15px 17px;font-size:15px;line-height:1.55;}
  .faq-item > p {font-size:15px;padding:0 18px 18px;line-height:1.8;}
  .faq-item summary span {font-size:0;min-width:20px;text-align:center;}
  .faq-item summary span::after {content:'+';font-size:23px;display:block;}
  .faq-item[open] summary span {transform:none;}
  .faq-item[open] summary span::after {content:'−';}
  .news-card .news-photo {min-height:205px;height:205px;}
  .news-copy {padding:24px;}
  .news-copy h3 {font-size:25px;}
  .contact-grid {gap:20px;}
  .contact-panel {padding:23px;}
  .contact-map .map-details {padding:20px 23px 25px;}
}
@media (max-width: 390px) {
  .container { width:calc(100% - 34px); }
  .brand-fallback {font-size:19px;}
  .hero h1 {font-size:clamp(38px,9.4vw,44px);}
  .hero {padding:68px 16px 112px;}
  .hero-sun {right:-55px;top:19%;width:100px;height:100px;}
  .team-card .portrait-slot {height:315px;min-height:315px;}
  .team-card-copy {padding:24px 22px 28px;}
}


/* =============================================================
   1.6 · Authentic practice logo alongside wordmark in top menu
   ============================================================= */
.site-brand {
  min-width: 315px;
  max-width: 36%;
}
.site-brand .brand-with-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-decoration: none;
}
.site-brand .brand-with-logo .brand-mark {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 72px;
  max-width: 64px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.site-brand .brand-with-logo .brand-name {
  display: block;
  min-width: 0;
  color: var(--navy);
  font-family: var(--heading);
  font-weight: 400;
  font-size: clamp(20px, 1.78vw, 27px);
  line-height: 1.12;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.site-brand .brand-with-logo .brand-name strong { font-weight: 400; }
.site-brand .brand-with-logo:hover .brand-name,
.site-brand .brand-with-logo:focus-visible .brand-name { color: var(--teal-dark); }
@media (min-width: 1031px) and (max-width: 1250px) {
  .site-brand { min-width: 275px; }
  .site-brand .brand-with-logo {gap:11px}
  .site-brand .brand-with-logo .brand-mark {height:65px;max-width:56px}
  .site-brand .brand-with-logo .brand-name {font-size:clamp(19px,1.8vw,23px)}
}
@media (max-width: 1030px) {
  .site-brand {flex: 1 1 auto;min-width:0;max-width:none;}
  .site-brand .brand-with-logo {width:auto;max-width:calc(100vw - 128px);gap:12px;}
  .site-brand .brand-with-logo .brand-mark {height:61px;max-width:52px;}
  .site-brand .brand-with-logo .brand-name {font-size:clamp(19px,2.65vw,25px);}
}
@media (max-width: 780px) {
  .site-header .header-inner {min-height:82px;}
  .site-brand .brand-with-logo {max-width:calc(100vw - 115px);gap:10px;}
  .site-brand .brand-with-logo .brand-mark {height:54px;max-width:46px;}
  .site-brand .brand-with-logo .brand-name {font-size:clamp(17px,4.1vw,21px);line-height:1.08;}
  .site-header .nav-toggle {flex-shrink:0;}
}
@media (max-width: 390px) {
  .site-header .header-inner {min-height:76px;}
  .site-brand .brand-with-logo {gap:8px;max-width:calc(100vw - 109px);}
  .site-brand .brand-with-logo .brand-mark {height:48px;max-width:40px;}
  .site-brand .brand-with-logo .brand-name {font-size:clamp(15px,4.4vw,18px);letter-spacing:-.035em;}
}

/* 1.6.1: Anchor must be in normal flow, not on the sticky header. */
.page-top-anchor { display: block; width: 0; height: 0; margin: 0; padding: 0; }


/* v1.6.2 — latest published WordPress news articles, not static announcements */
.news-grid-live {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
.news-live-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  overflow:hidden;
  border:1px solid rgba(17,63,82,.06);
  border-radius:19px;
  box-shadow:var(--card-shadow,var(--shadow));
}
.news-live-media {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  width:100%;
  aspect-ratio:16/10;
  background:linear-gradient(145deg,#d3e7e6,#e9f4f1);
}
.news-live-media .news-live-image {
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}
.news-live-media:hover .news-live-image {transform:scale(1.035)}
.news-live-fallback {
  display:grid;
  place-items:center;
  width:76px;height:76px;
  border-radius:50%;
  font-size:38px;
  line-height:1;
  color:var(--teal);
  background:rgba(255,255,255,.72);
}
.news-live-card .news-copy {
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  width:100%;
  padding:27px 29px 31px;
}
.news-live-card .news-copy .eyebrow {margin:0 0 12px}
.news-live-card .news-copy h3 {
  font-size:clamp(24px,2.2vw,29px);
  line-height:1.2;
  margin:0 0 13px;
}
.news-live-card .news-copy p:not(.eyebrow) {
  font-size:15px;
  line-height:1.65;
  margin:0 0 22px;
}
.news-live-card .news-copy .text-link {margin-top:auto}
.news-view-all {align-self:center;white-space:nowrap}
.news-empty {font-size:16px;margin-top:14px;color:var(--muted)}
@media(max-width:980px) {
  .news-grid-live{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px) {
  .news-grid-live{grid-template-columns:1fr;gap:20px}
  .news-live-card .news-copy{padding:24px 25px 29px}
  .news-live-card .news-copy h3{font-size:27px}
  .news-live-media{aspect-ratio:16/9}
  .news-view-all{align-self:flex-start;margin-top:12px}
}
@media(prefers-reduced-motion:reduce) {
  .news-live-media .news-live-image{transition:none}
}
