/* Final device compatibility hotfix. Viewport rules apply to every device brand. */
html{max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-block:110px 100px}
body{max-width:100%;font-size:16px}
img,svg,video,iframe,object{max-width:100%}
img{height:auto}
picture{max-width:100%}
main,section,article,aside,figure,form,nav,.wrap,.wrap>*,[class*="grid"]>*,[class*="layout"]>*,[class*="actions"]>*,[class*="row"]>*{min-width:0}
h1,h2,h3,h4,p,li,dt,dd,label,figcaption,summary,address,.btn,.button{overflow-wrap:anywhere}
a[href^="mailto:"],a[href^="https:"],.book-detail-breadcrumbs,.certificate-breadcrumbs{overflow-wrap:anywhere}
.btn,.button,.menu .book,.small-btn{min-height:48px;max-width:100%;white-space:normal;text-align:center;line-height:1.4;letter-spacing:0}
.actions,.contact-actions,.button-row,.book-card-actions,.guide-options,.cert-actions,.certificate-view-actions{flex-wrap:wrap}
.actions{display:flex;gap:12px;align-items:center}
button,input,select,textarea{font-size:16px}
.contact-inquiry-form input,.contact-inquiry-form select,.contact-inquiry-form textarea{font-size:16px}
input:not([type="checkbox"]):not([type="radio"]),select,textarea{min-width:0;max-width:100%;min-height:48px;height:auto}
input[type="date"],input[type="time"],input[type="datetime-local"]{appearance:auto;min-width:0;width:100%;line-height:1.5}
.checks label{min-height:44px;align-items:center}
.checks input{min-width:20px}
.home-text-link,.text-link,.certificate-return,.viewer-return>a,.footer a,.contact-information a,.map-fallback a,.guide-links a{min-height:44px;display:inline-flex;align-items:center}
summary{min-height:48px}
.mobile-toggle{width:48px;height:48px;min-width:48px;flex-shrink:0}
.site-header{padding-top:env(safe-area-inset-top,0px)}
.brand{min-width:0;letter-spacing:0}
.brand img{flex-shrink:0}
.brand span{min-width:0}
.brand small{letter-spacing:0}
.menu li,.menu a{min-width:0;overflow-wrap:anywhere}
.menu a{min-height:44px}
.book-detail-breadcrumbs,.certificate-breadcrumbs{flex-wrap:wrap}
.service-table-wrap{max-width:100%;overscroll-behavior-x:contain}
.service-table-wrap:focus-visible{outline:3px solid var(--rose);outline-offset:3px}
.pdf-shell{width:100%;min-width:0;height:78vh;height:78dvh}
.pdf-shell object{display:block;width:100%;height:100%}
.pdf-fallback{padding:20px}
.pdf-fallback .actions{width:100%}
.viewer-return .btn{white-space:normal}
.policy-viewer-header h1{font-size:54px}
.viewer-header h1{font-size:54px}
.certificate-display{margin-inline:0}
.certificate-display img,.cert-frame img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.certificate-exhibition .cert-frame img{height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain}
/* Each audience card exposes exactly one of the five original portrait panels. */
.home-audience-photo,.audience-photo{height:auto;aspect-ratio:1983/3965;overflow:hidden}
.home-audience-photo picture,.audience-photo picture{display:block;width:100%;height:auto}
.home-audience-photo img,.audience-photo img{width:500%;max-width:none;height:auto;aspect-ratio:auto;object-fit:contain}
.education-lightbox{max-width:calc(100% - 16px);max-height:92vh;max-height:92dvh}
.education-lightbox-toolbar{flex-wrap:wrap}
.education-lightbox-toolbar button{min-width:48px;min-height:48px}
.education-lightbox-viewport{max-width:100%;overflow:auto;overscroll-behavior:contain}
.education-lightbox-viewport:focus-visible{outline:3px solid var(--rose);outline-offset:-3px}
.mobile-hero-media{display:none}

/* Preserve the full approved physical cover; never crop a title to fit a frame. */
.book-cover img,.luxury-book-frame img,.luxury-book-cover img,.book-detail-cover img,.related-book-grid img,.home-books-row img,.home-featured-cover img,
.woocommerce ul.products li.product a img,.woocommerce div.product div.images img{height:auto;aspect-ratio:auto;object-fit:contain}
.book-detail-cover,.author-shop-grid figure,.contact-vivian-grid figure,.education-vivian-grid figure{margin-inline:0}
.book-purchase-form{max-width:100%;flex-wrap:wrap}
.book-purchase-form input{max-width:100%}
.woocommerce,.woocommerce-page,.wc-block-cart,.wc-block-checkout{min-width:0;max-width:100%}
.woocommerce table.shop_table{width:100%;table-layout:auto}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{overflow-wrap:anywhere}
.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{overflow-wrap:anywhere}
.woocommerce .woocommerce-error .button,.woocommerce .woocommerce-info .button,.woocommerce .woocommerce-message .button{float:none;margin:0 8px 8px 0}
.woocommerce input,.woocommerce select,.woocommerce textarea,.wc-block-components-text-input input,.wc-block-components-combobox input{font-size:16px!important}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select,.woocommerce .select2-container{width:100%!important;min-width:0;max-width:100%}
.select2-container .select2-selection--single{min-height:48px;height:auto}
.select2-container .select2-selection--single .select2-selection__rendered{white-space:normal;line-height:1.5;padding-block:10px}
.woocommerce a.remove,.wc-block-cart-item__remove-link{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.woocommerce #payment ul.payment_methods li label{display:inline;overflow-wrap:anywhere}
.woocommerce #payment input[type="radio"],.woocommerce #payment input[type="checkbox"]{width:20px;height:20px;min-height:20px}
.woocommerce #payment li{min-height:48px}
.woocommerce #payment .payment_box{max-width:100%;overflow-wrap:anywhere}
.woocommerce #place_order,.wc-block-components-checkout-place-order-button{min-height:48px;white-space:normal}
.wc-block-components-quantity-selector{min-height:44px}
.wc-block-components-quantity-selector button{min-width:44px}
.wc-block-components-product-name,.wc-block-components-product-metadata{overflow-wrap:anywhere}

@media(min-width:1280px){
  .site-header .menu,.site-header .menu .menu-list{gap:10px}
  .site-header .menu{font-size:12px}
}
@media(max-width:1279px){
  .site-header .mobile-toggle{display:grid;place-items:center}
  .site-header .menu{display:none}
  .site-header .menu.is-open{display:block}
  .site-header .menu{top:100%;left:12px;right:12px;max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;padding:12px}
  .site-header .menu .menu-list{display:grid;grid-template-columns:1fr;gap:0;align-items:stretch}
  .site-header .menu a{display:flex;width:100%;min-height:48px;white-space:normal}
  body.navigation-open{position:fixed;top:var(--navigation-scroll-top,0px);left:0;right:0;width:100%;overflow:hidden}
}

@media(max-width:1024px){
  /* Text precedes the complete original photo, so faces cannot sit under copy. */
  .responsive-photo-section{display:flex;flex-direction:column;background:#13261a!important;color:#fff}
  .responsive-photo-section:before,.responsive-photo-section:after{display:none}
  .responsive-photo-section>.wrap{min-height:0;width:calc(100% - 36px);padding-block:48px}
  .responsive-photo-section>.wrap>div,.responsive-photo-section .home-executive-copy,.responsive-photo-section .meet-final-copy{width:100%;max-width:100%;padding:0}
  .responsive-photo-section .actions{max-width:none}
  .responsive-photo-section .mobile-hero-media{display:block;order:2;width:100%;margin:0}
  .mobile-hero-media img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain}
  .home-executive-copy>p:not(.kicker){max-width:100%}
  .hero.responsive-photo-section .wrap{grid-template-columns:1fr}
  .journey-hero-inner,.meet-hero-grid,.biography-grid,.book-detail-grid,.flagship-grid,.author-shop-grid,.contact-message-grid,.contact-information-grid,.legal-layout{grid-template-columns:1fr}
  .meet-hero{background:#13261a}
  .meet-hero-grid{min-height:0;gap:36px}
  .credentials-panel,.prep-photo,.legal-nav,.booking-assurance{position:static}
  .journey-hero-photo,.vivian-portrait{min-width:0;max-width:100%}
  .vivian-portrait:before{display:none}
  .vivian-portrait img,.portrait-frame img,.home-vivian-photo img,.vivian-services-grid img,.education-vivian img,.contact-vivian-grid img,.author-shop-grid img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
  .vivian-portrait figcaption{margin:0;padding:18px 12px}
  .image-panel img,.image-panel picture img,.editorial-photo img,.serve-card img,.service-menu-item img,.orientation-image img,.prep-photo img,.booking-connection-grid img,.education-photo-split img,.people-education img,.home-tech-photo img,.message-photo img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain}
  .home-final-conversion .home-final-content{position:relative}
  .home-final-conversion .home-final-content>div{width:100%}
  .home-final-media img,.journey-hero-photo img{height:auto;object-fit:contain}
  .footer-main{grid-template-columns:1fr}
}

@media(max-width:900px){
  body{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}
  html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  .mobile-bar{min-height:60px;padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
  .mobile-bar a{min-height:60px;display:flex;align-items:center;justify-content:center;padding:12px 6px;letter-spacing:0}
  .footer{padding-bottom:32px}
  .wc-block-cart__submit-container{bottom:calc(60px + env(safe-area-inset-bottom,0px))}
  input,select,textarea,button,.btn,[id]{scroll-margin-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  .booking-layout,.contact-form-grid{grid-template-columns:1fr}
  .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2,.woocommerce .cart-collaterals .cart_totals{width:100%;float:none}
  .woocommerce form.checkout{display:block}
}

@media(max-width:620px){
  .journey-stages{padding:20px 0 20px 20px}
  .journey-stages:before{left:20px}
  .journey-stage,.journey-stage:nth-child(even){margin-left:14px;margin-right:0}
  .journey-number{left:-34px;width:40px}
}
@media(max-width:600px){
  .wrap,.responsive-photo-section>.wrap{width:calc(100% - 28px)}
  .nav{gap:8px;min-height:72px}
  .brand img{width:50px;height:50px}
  .brand span{font-size:13px}
  .brand small{display:none}
  .section{padding-block:44px}
  h1,.hero h1,.page-hero h1,.meet-hero h1,.services-gate-hero h1,.forms-portal-hero h1,.shop-gate-hero h1,.contact-gate-hero h1,.education-hero h1,.journey-hero h1,.legal-hero h1,.home-executive-copy h1,.book-detail-copy h1{font-size:36px;line-height:1.08;letter-spacing:0}
  h2,.section-title,.home-section-title,.service-heading h2,.services-final-cta h2,.forms-final-cta h2,.education-final h2,.shop-final-cta h2,.meet-final-copy h2,.contact-final-cta h2,.home-final-conversion h2,.about-final h2,.document-copy h2,.policy-copy h2,.privacy-panel h2,.flagship-book h2,.shop-controls-heading h2{font-size:30px;line-height:1.12;letter-spacing:0}
  .viewer-header h1,.policy-viewer-header h1,.certificate-view-header h1{font-size:28px;line-height:1.15}
  .certificate-view-header{padding-inline:16px}
  .card h3,.service-menu-title h3,.credentials-panel h2,.booking-assurance h2,.luxury-book-info h3{font-size:27px;line-height:1.15}
  .meet-descriptor{font-size:16px;line-height:1.6}
  .kicker,.form-microcopy,.print-guidance,.microcopy,.scope-note,.contact-inquiry-form small,.book-category-label,.book-price-row,.edition-label,.service-number,.document-meta strong,.pricing-reminder dt,.journey-step-label,.journey-price small,.book-availability,.footer-lower,.home-books-row p,.home-books-row>a{font-size:14px;line-height:1.5}
  .home-books-row h3{font-size:26px;line-height:1.2}
  .actions,.contact-actions,.button-row,.book-card-actions,.guide-options,.cert-actions,.certificate-view-actions,.book-purchase-form{display:flex;flex-direction:column;align-items:stretch;gap:12px}
  .actions>a,.contact-actions>a,.button-row>a,.book-card-actions>a,.guide-options>button,.certificate-view-actions>a,.book-purchase-form>.btn,.meet-training-cta{width:100%;white-space:normal}
  .form-grid,.contact-form-grid,.grid.two,.grid.three,.certificate-grid,.training-grid,.shop-grid,.luxury-book-grid,.related-book-grid,.home-books-row,.home-service-grid,.home-pathway-grid,.home-audience-grid,.audience-grid,.meet-books-grid,.footer-links,.legal-nav{grid-template-columns:minmax(0,1fr)}
  .form-shell,.contact-inquiry-form{padding:18px}
  .booking-layout,.contact-message-grid,.document-feature,.policy-feature{gap:28px}
  .document-actions,.policy-copy .document-actions{grid-template-columns:minmax(0,1fr)}
  .form-grid label,.contact-form-grid label{min-width:0}
  .returning-guidance,.credentials-panel,.booking-assurance,.included-panel,.luxury-price-card{padding:20px}
  .luxury-price-card dl>div,.reservation-summary dl>div{gap:12px;align-items:center}
  .luxury-price-card dt,.reservation-summary dt{max-width:65%;overflow-wrap:anywhere}
  .luxury-price-card dd,.reservation-summary dd{flex-shrink:0;font-size:34px}
  .service-heading,.service-menu-title,.shop-controls-heading,.location-heading{display:block}
  .service-price{text-align:left;margin-top:16px}
  .book-detail-cover{width:100%;max-width:430px;margin-inline:auto}
  .book-detail-grid,.flagship-grid,.author-shop-grid{gap:28px}
  .luxury-book-info{padding:20px}
  .book-filters button{min-height:44px;font-size:14px}
  .home-journey-preview ol,.service-journey,.forms-flow{grid-template-columns:1fr}
  .journey-stages{grid-template-columns:1fr}
  .journey-stages{padding:20px 0 20px 20px}
  .journey-stages:before{left:20px}
  .journey-stage,.journey-stage:nth-child(even){min-width:0;margin-left:14px;margin-right:0}
  .journey-number{left:-34px;width:40px}
  .journey-links a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
  .hair-cycle-media{width:100%;margin-inline:0;transform:none}
  .hair-cycle-text,.strand-comparison{grid-template-columns:1fr}
  .strand-comparison article{padding:20px}
  .strand-comparison figure{margin:0 0 20px}
  .education-quick-nav{position:static}
  .education-quick-nav a{font-size:14px;min-height:48px}
  .education-lightbox-viewport{max-height:calc(90vh - 80px);max-height:calc(90dvh - 80px)}
  .viewer-return{flex-direction:column;align-items:stretch}
  .viewer-return a{width:100%;justify-content:center;white-space:normal}
  .policy-viewer>.wrap{width:calc(100% - 24px)}
  .pdf-shell{min-height:440px;height:70vh;height:70dvh}
  .pdf-fallback h2{font-size:28px}
  .certificate-facts{grid-template-columns:1fr}
  .contact-information dd{margin-left:0}
  .contact-information dl>div{grid-template-columns:1fr}
  .contact-map iframe{display:block;width:100%;height:340px}
  .footer-links{gap:24px}
  .footer-links a,.footer-lower a{display:flex;padding-block:10px}
  .footer-brand{max-width:100%}
  .footer-lower{display:block}
  .footer .copyright{overflow-wrap:anywhere}
  .legal-content{font-size:16px}
  .legal-content h2{font-size:28px}
  .woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{width:calc(100% - 24px)}
  .woocommerce table.shop_table,.woocommerce form.checkout,.woocommerce .cart_totals{padding:12px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}
  .woocommerce table.shop_table.cart thead{display:none}
  .woocommerce table.shop_table.cart,.woocommerce table.shop_table.cart tbody,.woocommerce table.shop_table.cart tr{display:block;width:100%}
  .woocommerce table.shop_table.cart tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .woocommerce table.shop_table.cart td{display:block;width:100%;padding:10px 8px;text-align:left!important;min-height:44px;border:none}
  .woocommerce table.shop_table.cart td[data-title]:before{content:attr(data-title) ": ";font-weight:700;float:none}
  .woocommerce table.shop_table.cart td.product-thumbnail{display:block!important}
  .woocommerce table.shop_table.cart td.product-thumbnail:before,.woocommerce table.shop_table.cart td.product-remove:before{display:none}
  .woocommerce table.shop_table.cart td.product-thumbnail img{width:96px;height:auto;object-fit:contain}
  .woocommerce table.shop_table.cart td.product-name a{display:inline;line-height:1.6}
  .woocommerce table.shop_table.cart td.product-quantity .quantity{display:inline-block;width:auto}
  .woocommerce .quantity input.qty{min-width:70px;width:90px}
  .woocommerce table.cart td.actions .coupon{float:none;display:grid;gap:12px}
  .woocommerce table.cart td.actions .coupon .input-text,.woocommerce table.cart td.actions .coupon .button,.woocommerce table.cart td.actions>.button{width:100%!important;float:none}
  .woocommerce table.woocommerce-checkout-review-order-table{table-layout:fixed}
  .woocommerce table.woocommerce-checkout-review-order-table th,.woocommerce table.woocommerce-checkout-review-order-table td{padding:10px 6px;vertical-align:top}
  .woocommerce #payment{padding:8px}
  .woocommerce #payment ul.payment_methods{padding:12px}
  .woocommerce #place_order,.woocommerce .checkout-button{width:100%;min-height:48px;white-space:normal}
  .wc-block-components-sidebar-layout{display:flex;flex-direction:column}
  .wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar-layout .wc-block-components-sidebar{width:100%;margin:0;padding-inline:0}
  .wc-block-components-address-form{display:flex;flex-direction:column}
  .wc-block-components-address-form>*{width:100%!important;max-width:100%;margin-inline:0}
  .wc-block-cart-items__row td{min-width:0}
  .wc-block-cart-items__row .wc-block-cart-item__image{width:72px}
  .wc-block-cart-item__image img{height:auto;object-fit:contain}
  .wc-block-components-checkout-place-order-button{width:100%}
}

@media(max-width:360px){
  .home-executive-copy h1,.journey-hero h1,.legal-hero h1,.education-hero h1{font-size:32px}
  .viewer-header h1,.policy-viewer-header h1,.certificate-view-header h1{font-size:25px}
  .btn,.button{padding:12px;font-size:14px}
  .document-sheet{padding-inline:16px}
  .document-sheet strong{font-size:25px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn:hover,.btn:focus-visible{transform:none}}
