/*
Theme Name: Werribee Retro Coastal
Description: A presentation-only child theme for Werribee Coastal: original logo and live content, retro stripes, condensed italic headings, and Green Tides accents. Requires the existing Werribee Coastal parent theme.
Author: Werribee Acupuncture & Integrated Health
Template: werribee-coastal
Version: 7.0.0
Text Domain: werribee-retro-coastal
*/
@font-face{font-family:'Werribee Retro';src:url('assets/BarlowCondensed-ExtraBoldItalic.ttf') format('truetype');font-weight:800;font-style:italic;font-display:swap}
:root{--cream:#e4dbc9;--orange:#ba4825;--orange-bright:#db6038;--yellow:#edbd58;--blue:#E8A45C;--ink:#233f4a;--line:#c7bdac;--paper:#e4dbc9;--retro:'Werribee Retro','Arial Narrow',sans-serif}
body{background:var(--cream);color:var(--ink)}
#main h1,#main h2,#main h3,.site-footer h2,.editor-styles-wrapper h1,.editor-styles-wrapper h2,.editor-styles-wrapper h3{font-family:var(--retro);font-weight:800;font-style:italic;letter-spacing:-.015em;line-height:1.03;text-wrap:balance}
#main h1{font-size:clamp(52px,7.4vw,100px)}
#main h2{font-size:clamp(36px,4.3vw,58px)}
#main h3{font-size:clamp(30px,3vw,38px)}
#main p{line-height:1.65}
#main h1 em{color:var(--orange)}
.eyebrow{letter-spacing:.16em;font-weight:750}
.site-header{border-bottom:0;padding-block:18px;gap:24px}
.brand{width:155px}.brand img{max-height:130px;width:100%;object-fit:contain}
.site-header nav{gap:22px}.site-header nav a{font-weight:700}
.topbar{background:var(--ink);color:#e4dbc9}
.hero{position:relative;padding-top:65px;padding-bottom:74px;isolation:isolate}
.hero.split{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:7%;align-items:center}
.hero-copy{min-width:0;position:relative;z-index:1}
.hero-copy .lead{font-size:clamp(18px,1.8vw,22px);max-width:580px}
/* Curved triple stripe beneath every page introduction. No blossom decoration. */
.hero::after{content:'';display:block;width:min(470px,65%);height:44px;margin-top:32px;border-bottom:10px solid var(--orange);border-right:10px solid var(--orange);border-radius:0 0 65px 0;box-shadow:9px 9px 0 0 var(--yellow),18px 18px 0 0 var(--blue);pointer-events:none}
.hero.split::after{position:absolute;bottom:18px;left:0;width:40%;height:60px;z-index:-1;margin:0}
/* Existing hero image/logo is retained, with a retro stripe frame. */
#main .hero-art{border-radius:110px 22px 22px 22px;padding:24px;background:var(--cream);border:8px solid var(--cream);box-shadow:0 0 0 9px var(--blue),0 0 0 13px var(--cream),0 0 0 22px var(--yellow),0 0 0 26px var(--cream),0 0 0 35px var(--orange);margin:35px 35px 35px 0;max-width:490px;min-width:0}
.hero-art::before{display:none!important}
#main .hero-art .portrait img{border-radius:75px 12px 12px 12px}
.hero-logo img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.section{padding-block:64px}.section+.section{border-top:1px solid var(--line)}
.visit-note{border-radius:64px 18px 18px 18px;background:var(--blue);padding:36px}
/* Four cards retain their actual wording and links. */
.service-grid{gap:18px;border:0;border-radius:0;overflow:visible;align-items:stretch}
.service-grid>.service-card{margin-block:0!important;border:0!important;border-radius:22px;padding:30px 24px;min-width:0;height:100%;box-sizing:border-box}
.service-grid>.service-card:nth-child(1){background:#ba4825!important;color:#e4dbc9!important}
.service-grid>.service-card:nth-child(2){background:#edbd58!important;color:#233f4a!important}
.service-grid>.service-card:nth-child(3){background:#E8A45C!important;color:#233f4a!important}
.service-grid>.service-card:nth-child(4){background:#5fa58b!important;color:#173b30!important}
.service-card h3,.service-card p,.service-card a{color:inherit!important}
.service-card .eyebrow{min-height:34px;letter-spacing:.1em}
#main .service-card h3{font-size:36px;min-height:2.06em}
.text-link:hover{text-decoration:underline}
.wp-block-button__link,.site-header .nav-book{font-family:var(--sans);font-style:normal;font-weight:750;border-radius:999px;min-height:48px;color:#e4dbc9!important}
.wp-block-button__link:hover,.site-header .nav-book:hover{background:var(--ink);border-color:var(--ink);color:#e4dbc9!important}
.is-style-outline .wp-block-button__link{color:var(--ink)!important;border:2px solid currentColor;background:transparent}
.is-style-outline .wp-block-button__link:hover{background:var(--ink);color:#e4dbc9!important}
.team-grid{gap:38px;align-items:start}.team-grid>.team-card{margin-block-start:0!important;min-width:0}
.team-card>figure.wp-block-image,.team-card>.portrait-placeholder{height:390px;margin:0!important;overflow:hidden;border-radius:22px}
.team-card>figure.wp-block-image img{width:100%!important;height:100%!important;object-fit:cover;object-position:center 25%;display:block}
.team-card>.lisa-portrait img{object-position:center 15%;filter:none}
.team-card h3{margin-top:24px}
/* Green Tides pages use the same stripe shape with green tones. */
body.page-id-24 #main,body.page-id-27 #main{--orange:#326653;--orange-bright:#5fa58b;--yellow:#5fa58b;--blue:#b8d8ca}
body.page-id-24 #main .wp-block-button__link,body.page-id-27 #main .wp-block-button__link{background:#326653!important;border-color:#326653!important;color:#e4dbc9!important}
body.page-id-24 #main .wp-block-button__link:hover,body.page-id-27 #main .wp-block-button__link:hover{background:#233f4a!important;border-color:#233f4a!important;color:#e4dbc9!important}
#main .booking-band{padding-top:58px;padding-bottom:58px;border:0;border-top:12px solid var(--orange);box-shadow:inset 0 6px 0 var(--cream),inset 0 12px 0 var(--blue);background:var(--yellow)}
.site-footer{position:relative;border-top:12px solid #ba4825;box-shadow:0 -6px 0 #edbd58,0 -12px 0 #E8A45C;margin-top:12px;color:#e4dbc9;background:#233f4a}
.site-footer a,.colophon{color:#e4dbc9}.site-footer h3{font-family:var(--sans);font-style:normal}
/* Preserve logo blossoms, but add no lower-page floral artwork. */
#main iframe{max-width:100%}.wp-block-table table{font-size:16px}
#main :focus-visible{outline:3px solid var(--ink);outline-offset:5px}
#main .wpforms-container{--wpforms-button-background-color:#ba4825;--wpforms-button-text-color:#e4dbc9}
@media(min-width:861px) and (max-width:1100px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header nav{gap:13px;font-size:13px}.brand{width:120px}}
@media(max-width:860px){.hero.split{grid-template-columns:1fr;gap:42px}.hero{padding-top:38px;padding-bottom:60px}.hero.split::after{position:static;width:65%;height:36px;margin-bottom:10px}.hero-art{justify-self:center}#main .hero-art{width:calc(100% - 70px);margin:35px;box-sizing:border-box}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding-block:45px}.team-grid{gap:28px}.brand{width:115px}.site-header{position:relative}.site-header nav{z-index:20}}
@media(max-width:560px){#main h1{font-size:clamp(46px,12vw,66px)}#main h2{font-size:38px}.service-grid,.team-grid{grid-template-columns:1fr}.service-card h3{min-height:0!important}.service-card .eyebrow{min-height:0}.team-card>figure.wp-block-image{height:auto;aspect-ratio:1/1}.team-card>figure.wp-block-image img{height:100%!important}.hero.split{gap:20px}#main .hero-art{padding:12px;border-radius:70px 16px 16px 16px}.site-footer{gap:30px}.wp-block-buttons{gap:12px}.section{padding-inline:6%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* V2: reference-led homepage, warm apricot replacing coastal blue. */
:root{--blue:#e8a45c;--apricot:#e8a45c}
.has-blue-background-color{background-color:#e8a45c!important}.has-blue-color{color:#a94a23!important}
.home #main>.hero{max-width:1440px;padding:45px 5% 65px;gap:5%;grid-template-columns:1fr 1fr}
.home #main .hero h1{font-size:clamp(56px,7.2vw,105px);line-height:.94;letter-spacing:-.025em}
.home #main .hero .lead{font-size:clamp(18px,2vw,24px);line-height:1.3;max-width:480px}
.home #main .hero-art{border:0;box-shadow:none;background:transparent;padding:0;margin:30px 0 0;max-width:none;isolation:isolate;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.home #main .hero-art:before{display:block!important;content:'';position:absolute;inset:-26px -100vw -26px -22px;border:0;border-left:16px solid #e8a45c;border-top:16px solid #e8a45c;border-radius:180px 0 0 0;box-shadow:-7px -7px 0 #e4dbc9,-22px -22px 0 #edbd58,-29px -29px 0 #e4dbc9,-44px -44px 0 #ba4825;z-index:-1;width:auto;height:auto}
.home #main .hero::after{display:none}
.home .retro-hero-photo{margin:0!important;flex:1;min-height:430px;overflow:hidden;border-radius:145px 18px 18px 18px}
.home .retro-hero-photo img{display:block;width:100%;height:100%;min-height:430px;max-height:560px;object-fit:cover;object-position:72% center}
.home #main .hero-art:has(.retro-hero-photo) .hero-logo{position:absolute;width:90px;right:16px;bottom:16px;background:#e4dbc9;padding:6px;border-radius:9px}
.home .retro-hero-actions{margin-top:24px}.retro-emily .wp-block-button__link{background:#326653!important;border-color:#326653!important;color:#e4dbc9!important}
.retro-location{font-size:13px;margin-top:18px!important}
.retro-statement{padding:16px 5%;background:#233f4a;color:#e4dbc9;text-align:center;font:italic 800 clamp(26px,3vw,43px)/1.1 var(--retro);margin:0}
.retro-home-services{padding-top:45px;padding-bottom:45px}.retro-home-services>h2{max-width:none}.retro-home-services .service-grid{margin-top:25px}
.retro-home-services .service-card{border-radius:24px!important}.retro-home-services .service-card .eyebrow{font-size:10px}
.retro-team-heading{margin-bottom:24px}.retro-home-team{position:relative}.retro-home-team::after{content:'';display:block;height:32px;width:70%;margin:45px 0 0 auto;border-bottom:10px solid #ba4825;border-left:10px solid #ba4825;border-radius:0 0 0 60px;box-shadow:-8px 8px 0 #edbd58,-16px 16px 0 #e8a45c}
.home .retro-home-team .team-card>figure img{filter:none}
@media(max-width:860px){.home #main>.hero{grid-template-columns:1fr;padding:35px 6% 55px;gap:55px}.home #main .hero-art{width:100%;margin:20px 0 0}.home #main .hero h1{font-size:clamp(56px,11vw,88px)}.home .retro-hero-photo,.home .retro-hero-photo img{min-height:360px;max-height:460px}.home #main .hero-art:before{border-top-left-radius:140px}.home .retro-hero-photo{border-top-left-radius:110px}}

/* V3: shared vector swishes following the supplied reference silhouette. */
#main>.hero:first-child,#main>.standard-page{position:relative;isolation:isolate;padding-bottom:90px}
#main>.hero:first-child::before,#main>.standard-page::before{content:"";display:block;position:absolute;inset:0;z-index:-1;background:url('assets/swish-top.svg') center bottom/100% 100% no-repeat;pointer-events:none;opacity:1}
#main>.hero:first-child::after,.home #main>.hero:first-child::after{display:none!important}
#main .hero-art,.home #main .hero-art{box-shadow:none!important;border:0;background:transparent}
#main .hero-art::before,.home #main .hero-art::before{display:none!important}
#main>.hero:first-child:not(.split){min-height:430px;padding-top:85px}
#main>.hero:first-child:not(.split) .hero-copy{max-width:44%;padding-bottom:50px}
#main>.standard-page::before{height:280px;background-size:100% 280px;opacity:.45}
#main>.standard-page{padding-top:100px}
.home #main>.hero:first-child{padding-top:80px;padding-bottom:95px;min-height:640px}
.home #main>.hero:first-child .hero-art{margin-top:30px;margin-left:20px}
.retro-home-team::after{display:none!important}
.site-footer{margin-top:210px!important;border-top:0!important;box-shadow:none!important;position:relative}
.site-footer::before{content:"";position:absolute;left:0;right:0;top:-210px;height:210px;background:url('assets/swish-bottom.svg') right bottom/100% 100% no-repeat;pointer-events:none}
@media(min-width:861px){body:not(.home) #main>.hero.split:first-child{min-height:580px}}
@media(max-width:860px){
 #main>.hero:first-child,#main>.hero:first-child:not(.split),.home #main>.hero:first-child{padding-top:40px;padding-bottom:110px;min-height:0}
 #main>.hero:first-child::before{inset:auto 0 0;height:90px;background-size:100% 100%}
 #main>.hero:first-child:not(.split) .hero-copy{max-width:100%;padding-bottom:0}
 .home #main>.hero:first-child .hero-art{margin:15px 0 0;width:100%}
 .site-footer{margin-top:120px!important}.site-footer::before{top:-120px;height:120px;background-size:auto 120px;width:100%}
 #main>.standard-page::before{height:90px;top:0;background-size:100% 90px;opacity:1}
}

/* V4 • contours are derived from the supplied artwork. */
body{--service:#ba4825;--on-service:#fff4df;--service-ink:#963a1b;--photo-finish:sepia(.19) saturate(.86) contrast(.96) brightness(1.025)}
body.waih-herbal{--service:#edbd58;--on-service:#233f4a;--service-ink:#765018}
body.waih-cupping{--service:#e8a45c;--on-service:#233f4a;--service-ink:#854716}
body.waih-psychology{--service:#5fa58b;--on-service:#173b30;--service-ink:#326653}
body.waih-service #main :is(h1,h2,h3,.eyebrow){color:var(--service-ink)!important}
body.waih-service #main .booking-band{background:var(--service)!important;color:var(--on-service);border-color:var(--service-ink);box-shadow:none}
body.waih-service #main .booking-band :is(h2,h3,p){color:var(--on-service)!important}
body.waih-service #main .wp-block-button__link{background:var(--service)!important;border-color:var(--service-ink)!important;color:var(--on-service)!important}
body.waih-service #main .booking-band .wp-block-button__link,body.waih-service #main .wp-block-button__link:hover{background:#233f4a!important;border-color:#233f4a!important;color:#e4dbc9!important}
body:not(.home) #main::before{content:"";display:block;width:100%;height:26px;background:linear-gradient(to bottom,var(--service) 0 7px,#e4dbc9 7px 9px,#edbd58 9px 16px,#e4dbc9 16px 18px,#e8a45c 18px 26px)}
body:not(.home) #main>.hero:first-child::before,body:not(.home) #main>.standard-page::before{display:none}
body:not(.home) #main>.hero:first-child:not(.split){min-height:0;padding:clamp(44px,6vw,80px) 5%}
body:not(.home) #main>.hero:first-child:not(.split) .hero-copy{max-width:850px;padding:0}
.site-footer{--swish-h:clamp(80px,19.56vw,290px);margin-top:var(--swish-h)!important}
.site-footer::before{height:var(--swish-h);top:calc(-1 * var(--swish-h));background-size:100% 100%}
#main img,.site-footer img{filter:var(--photo-finish)!important}
#main :is(.hero-logo,.partner-logo,.inline-logo) img,#main img:is([src*="logo" i],[alt*="logo" i]),.brand img{filter:none!important}
#main .sbi_photo{filter:var(--photo-finish)}
#main .sbi_photo img{filter:none!important}
#main .team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
#main .team-grid>.team-card{min-width:0;width:100%;margin-block-start:0!important}
#main .team-grid>.team-card>figure.wp-block-image{display:block;width:100%!important;max-width:none;height:auto!important;aspect-ratio:4/3;margin:0!important;padding:0;overflow:hidden;border-radius:18px}
#main .team-grid>.team-card>figure.wp-block-image img{display:block;width:100%!important;height:100%!important;max-height:none;object-fit:cover;object-position:50% 28%;border-radius:0}
@media(min-width:861px){
.home #main>.hero:first-child{max-width:none;min-height:max(540px,55.39vw);padding:4% 5% 8%;grid-template-columns:43% 1fr;gap:0}
.home #main>.hero:first-child::before{background-size:100% 100%;z-index:1}
.home #main>.hero:first-child .hero-copy{z-index:2}
.home #main>.hero:first-child .hero-art:has(.retro-hero-photo){position:absolute;inset:0;margin:0;padding:0;border-radius:0;pointer-events:none;mask:url('assets/hero-photo-mask.svg') 0 0/100% 100% no-repeat}
.home #main .retro-hero-photo{position:absolute;inset:12% 2% 2% 34%;height:auto;min-height:0;border-radius:0 22px 22px 0;overflow:hidden}
.home #main .retro-hero-photo img{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:70% 40%}
.home #main .hero-art:has(.retro-hero-photo) .hero-logo{bottom:5%;right:4%}
}
@media(max-width:560px){#main .team-grid{grid-template-columns:1fr}body:not(.home) #main::before{height:18px;background-size:100% 18px}}

/* Preserve the mock-up photo's existing warm finish. */
.home #main .retro-hero-photo img{object-position:center;filter:none!important}
.home #main .retro-home-team .team-card>figure{display:none}

/* V6: the lower artwork occupies real page space, outside the footer. */
.home #main>.hero:first-child::before,.home .site-footer::before{display:none!important}
.home .site-footer{margin-top:0!important}
.home .waih-lower-ribbon{display:block;margin:0;padding:0;border:0;background:var(--cream);line-height:0;width:100%}
.home .waih-lower-ribbon>img{display:block;width:100%;height:auto;aspect-ratio:1058/250;max-width:none;margin:0;filter:none!important}
.home #main .waih-upper-ribbon{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0!important;object-fit:fill;z-index:1;pointer-events:none;filter:none!important}
@media(max-width:860px){.home #main .waih-upper-ribbon{position:static;display:block;width:100%;height:auto;aspect-ratio:1058/586;margin:0!important}.home #main>.hero:first-child{padding-bottom:0;row-gap:16px}}

/* One ribbon immediately before the shared footer, on all templates. */
body .site-footer{margin-top:0!important;border-top:0!important;box-shadow:none!important}
body .site-footer::before{display:none!important;content:none!important}
.waih-footer-sweep-v7{display:block;width:100%;height:clamp(80px,19.56vw,290px);padding:0;margin:0;border:0;line-height:0;background:var(--cream)}
.waih-footer-sweep-v7>img{display:block;width:100%;height:100%;object-fit:fill;margin:0;padding:0;border:0;filter:none!important}
