/*
Theme Name: Attune Chiropractic
Theme URI: https://attunechiro.com.au
Author: Attune Chiropractic
Description: Block theme for Attune Chiropractic, Norwest — "Balance in Life". Brand palette (Teal, Deep Teal, Ocean, Aqua, Periwinkle, Cream, Sand, Gold), Figtree + Newsreader typography, problem-led patient navigation, AI-search-friendly semantic markup.
Version: 3.4.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: attune
Tags: block-patterns, full-site-editing, custom-colors, custom-logo, one-column, wide-blocks
*/

/* ---------- foundations ---------- */
:root{
  --attune-radius: 18px;
  --attune-shadow: 0 1px 2px rgba(28,75,71,.05), 0 14px 34px -26px rgba(28,75,71,.35);
  --attune-line: #E2DFD7;
}
html{ scroll-behavior:smooth; }
body{ -webkit-font-smoothing:antialiased; }
img{ height:auto; max-width:100%; }
p:empty{ display:none; }
sup{ font-size:.7em; line-height:0; color:var(--wp--preset--color--teal); font-weight:600; }
::selection{ background:var(--wp--preset--color--aqua); color:var(--wp--preset--color--deep-teal); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{ outline:3px solid var(--wp--preset--color--ocean); outline-offset:2px; }

/* ---------- typography helpers ---------- */
.attune-kicker{
  font-size:.78rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--wp--preset--color--teal); margin-bottom:.5rem !important;
}
.attune-kicker strong{ font-weight:700; }
.attune-h1{ font-size:var(--wp--preset--font-size--xx-large); margin-top:0; }
.attune-h1--hero{ font-size:clamp(2.1rem,4.2vw,3.4rem); line-height:1.08; }
.attune-lead{ font-size:1.2rem; line-height:1.6; color:#3A5552; max-width:60ch; }
.attune-lead-sm{ font-size:1.08rem; color:#3A5552; }
.attune-serif{ font-family:var(--wp--preset--font-family--newsreader); font-size:1.25rem; color:var(--wp--preset--color--muted); }
.attune-serif.attune-lead{ font-size:1.45rem; line-height:1.4; }
.attune-small{ font-size:.92rem; }
.attune-center{ text-align:center; margin-left:auto; margin-right:auto; }
.attune-center.attune-lead-sm{ max-width:62ch; }
.attune-narrow{ max-width:760px; margin-left:auto; margin-right:auto; }
.attune-anchor{ display:block; height:0; margin:0; }
.attune-disclaimer{ font-size:.92rem; color:var(--wp--preset--color--muted); border-top:1px solid var(--attune-line); padding-top:1rem; margin-top:2rem; }

/* ---------- hero bands ---------- */
.attune-hero{
  padding:clamp(2.5rem,6vw,5rem) max(var(--wp--preset--spacing--30),4vw) clamp(2rem,5vw,4rem);
  position:relative; overflow:hidden;
}
.attune-hero::before{ content:""; position:absolute; right:-120px; top:-60px; width:900px; height:720px; background:url("assets/img/pattern-watermark.svg") no-repeat center/contain; opacity:.10; pointer-events:none; }
.attune-hero > *{ position:relative; }
.attune-hero--home{ padding-top:clamp(2rem,5vw,4.5rem); }
.attune-hero-img img{ border-radius:28px; box-shadow:var(--attune-shadow); aspect-ratio:4/3; object-fit:cover; width:100%; }
.attune-portrait img{ border-radius:28px; box-shadow:var(--attune-shadow); width:100%; }
.attune-hero .wp-block-buttons{ margin-top:1.5rem; }

.attune-hero-list{ margin-block:.25rem 0; }
.attune-hero-list li{ font-size:1.02rem; }

/* ---------- sections ---------- */
.attune-section{ padding:clamp(2.5rem,6vw,5rem) max(var(--wp--preset--spacing--30),4vw); }
.attune-section.alignfull{ margin-left:calc(-1 * var(--wp--style--root--padding-left)); margin-right:calc(-1 * var(--wp--style--root--padding-right)); }
.attune-section h2{ margin-top:0; max-width:24ch; }
.attune-section h2.attune-center{ max-width:none; }
.attune-section--problems{ padding-top:clamp(2rem,5vw,4rem); }
.attune-section-inner{ margin-top:3rem; }
.attune-final h2{ color:#fff; }
.attune-final .is-style-outline .wp-block-button__link{ color:#fff; border-color:rgba(255,255,255,.6); }
.attune-final .is-style-outline .wp-block-button__link:hover{ background:rgba(255,255,255,.12); }

/* ---------- article layout ---------- */
.attune-article{ padding:clamp(1.5rem,4vw,3rem) max(var(--wp--preset--spacing--30),4vw) clamp(2.5rem,6vw,5rem); }
.attune-article > *{ max-width:760px; margin-left:auto; margin-right:auto; }
.attune-article > .attune-card-grid, .attune-article > .attune-cta, .attune-article--wide > .attune-timeline{ max-width:1180px; }
.attune-article--wide > *{ max-width:1180px; }
.attune-article--wide > p, .attune-article--wide > h2, .attune-article--wide > h3, .attune-article--wide > ul, .attune-article--wide > ol, .attune-article--wide > blockquote, .attune-article--wide > .wp-block-table{ max-width:760px; }
.attune-article h2{ margin-top:2.5rem; }
.attune-article h3{ margin-top:1.75rem; }
.attune-article ul, .attune-article ol{ padding-left:1.3rem; }
.attune-article li{ margin-bottom:.5rem; }
.attune-article .wp-block-table table{ border-collapse:collapse; width:100%; background:#fff; border-radius:12px; overflow:hidden; }
.attune-article .wp-block-table th, .attune-article .wp-block-table td{ border:1px solid var(--attune-line); padding:.7rem .9rem; text-align:left; }
.attune-article .wp-block-table thead th{ background:var(--wp--preset--color--sand); }

.attune-tldr{ border-radius:var(--attune-radius); padding:1.5rem 1.75rem; border-left:6px solid var(--wp--preset--color--teal); box-shadow:var(--attune-shadow); margin-bottom:1.5rem; }
.attune-tldr p:last-child{ margin-bottom:0; font-size:1.08rem; }
.attune-byline{ display:flex; gap:.9rem; align-items:flex-start; font-size:.92rem; color:var(--wp--preset--color--muted); border-bottom:1px solid var(--attune-line); padding-bottom:1.25rem; margin-bottom:1.5rem; }
.attune-byline img{ flex:0 0 44px; }
.attune-byline strong{ color:var(--wp--preset--color--deep-teal); }
.attune-reviewed{ display:block; margin-top:.2rem; }

ol.attune-steps{ list-style:none; padding-left:0; counter-reset:steps; }
ol.attune-steps li{ counter-increment:steps; position:relative; padding-left:3.2rem; margin-bottom:1rem; min-height:2.4rem; }
ol.attune-steps li::before{
  content:counter(steps, decimal-leading-zero); position:absolute; left:0; top:-.15rem; width:2.4rem; height:2.4rem; border-radius:50%;
  background:var(--wp--preset--color--aqua); color:var(--wp--preset--color--deep-teal); font-weight:700; display:flex; align-items:center; justify-content:center; font-size:.9rem;
}
ol.attune-refs{ font-size:.88rem; color:var(--wp--preset--color--muted); }
ol.attune-refs a{ word-break:break-all; }
.attune-refs-h{ font-size:1.1rem; border-top:1px solid var(--attune-line); padding-top:1.5rem; }

ul.attune-checklist{ list-style:none; padding-left:0; }
ul.attune-checklist li{ position:relative; padding-left:2rem; margin-bottom:.7rem; }
ul.attune-checklist li::before{
  content:""; position:absolute; left:0; top:.3rem; width:1.15rem; height:1.15rem; border-radius:50%; background:var(--wp--preset--color--aqua);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%231C4B47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:80%; background-position:center; background-repeat:no-repeat;
}

/* ---------- cards ---------- */
.attune-card-grid{ gap:1.25rem; margin-top:1.5rem; margin-bottom:1.5rem; }
.attune-card{
  border-radius:var(--attune-radius); padding:1.5rem 1.6rem; border:1px solid var(--attune-line); box-shadow:var(--attune-shadow);
  display:flex; flex-direction:column; gap:.6rem;
}
.attune-card > *{ margin:0; }
.attune-card p:empty{ display:none; }
.attune-card-title{ font-size:1.15rem; margin:0; }
.attune-card-title a{ text-decoration:none; color:inherit; }
.attune-card-title a:hover{ color:var(--wp--preset--color--teal); }
.attune-card .attune-kicker{ margin-bottom:0 !important; }
.attune-card--soft{ box-shadow:none; }
.attune-card--link{ transition:transform .15s ease, box-shadow .15s ease; }
.attune-card--link:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -24px rgba(28,75,71,.45); }
.attune-problem{ font-family:var(--wp--preset--font-family--newsreader); font-weight:500; font-size:1.3rem; line-height:1.3; }
.attune-card-meta{ color:var(--wp--preset--color--teal); font-weight:600; font-size:.95rem; margin-top:auto !important; padding-top:.5rem; }
.attune-arrow{ display:inline-block; transition:transform .15s; }
.attune-card--link:hover .attune-arrow{ transform:translateX(3px); }
.attune-more{ font-weight:600; text-decoration:none; }
.attune-card--step .attune-step-num{ font-family:var(--wp--preset--font-family--newsreader); font-size:2.4rem; line-height:1; color:var(--wp--preset--color--periwinkle); font-weight:500; }
.attune-timeline{ gap:1rem; }
.attune-timeline-item{ border-radius:var(--attune-radius); padding:1.25rem 1.35rem; border:1px solid var(--attune-line); }
.attune-timeline-item > *{ margin:0 0 .4rem; }
.attune-timeline-item .attune-card-title{ font-size:1.02rem; }
.attune-timeline-item p:last-child{ font-size:.95rem; color:#3A5552; }

/* ---------- CTA band ---------- */
.attune-cta{ border-radius:var(--attune-radius); padding:2.25rem 2rem; margin-top:3rem; border:1px solid var(--attune-line); text-align:center;
  position:relative; overflow:hidden; }
.attune-cta::after{ content:""; position:absolute; right:-160px; top:-60px; width:600px; height:480px; background:url("assets/img/pattern-watermark.svg") no-repeat center/contain; opacity:.12; pointer-events:none; }
.attune-cta > *{ position:relative; }
.attune-cta h2{ margin-top:0; max-width:none; }
.attune-cta p{ max-width:60ch; margin-left:auto; margin-right:auto; }
.attune-cta .wp-block-buttons{ justify-content:center; }

/* ---------- FAQ ---------- */
.attune-faq .wp-block-details{ border-bottom:1px solid var(--attune-line); padding:.9rem 0; margin:0; }
.attune-faq .wp-block-details summary{ font-weight:600; font-size:1.05rem; cursor:pointer; list-style:none; position:relative; padding-right:2.2rem; }
.attune-faq .wp-block-details summary::-webkit-details-marker{ display:none; }
.attune-faq .wp-block-details summary::after{ content:"+"; position:absolute; right:.2rem; top:-.1rem; font-size:1.5rem; color:var(--wp--preset--color--teal); font-weight:400; }
.attune-faq .wp-block-details[open] summary::after{ content:"–"; }
.attune-faq .wp-block-details p{ margin:.8rem 0 0; color:#3A5552; }

/* ---------- forms / quiz / map ---------- */
.attune-quiz fieldset{ border:0; padding:0; margin:0 0 1.5rem; }
.attune-quiz legend{ margin-bottom:1rem; }
.attune-quiz-item{ display:flex; gap:.9rem; align-items:flex-start; background:#fff; border:1px solid var(--attune-line); border-radius:14px; padding:.9rem 1rem; margin-bottom:.6rem; cursor:pointer; }
.attune-quiz-item:has(input:checked){ border-color:var(--wp--preset--color--teal); background:#F0FAF8; }
.attune-quiz-item input{ width:1.25rem; height:1.25rem; margin-top:.15rem; accent-color:var(--wp--preset--color--teal); flex:0 0 auto; }
.attune-quiz-result{ margin-top:1.5rem; background:#fff; border-radius:var(--attune-radius); padding:1.5rem 1.75rem; border-left:6px solid var(--wp--preset--color--periwinkle); box-shadow:var(--attune-shadow); }
.attune-quiz-result ul{ padding-left:1.2rem; }
.attune-form label{ display:block; font-weight:600; margin-bottom:.9rem; }
.attune-form input, .attune-form textarea{ display:block; width:100%; margin-top:.3rem; font:inherit; font-weight:400; padding:.7rem .9rem; border:1px solid var(--attune-line); border-radius:10px; background:#fff; }
.attune-embed-placeholder{ border:2px dashed var(--wp--preset--color--aqua); border-radius:14px; padding:1.5rem; color:var(--wp--preset--color--muted); }
.attune-embed-placeholder p{ margin:0 0 .5rem; }
.attune-map iframe{ width:100%; display:block; }
.attune-loc img{ border-radius:14px; aspect-ratio:1/1; object-fit:cover; width:100%; }
.attune-phone-big{ font-size:1.6rem; font-weight:700; text-decoration:none; }

/* ---------- buttons ---------- */
.wp-block-button__link{ box-shadow:0 8px 20px -12px rgba(47,142,134,.8); }
.is-style-outline .wp-block-button__link{ box-shadow:none; border:2px solid var(--wp--preset--color--teal); color:var(--wp--preset--color--teal); background:transparent; padding:calc(.8rem - 2px) calc(1.5rem - 2px); }
.is-style-outline .wp-block-button__link:hover{ background:var(--wp--preset--color--teal); color:#fff; }
.wp-block-buttons{ gap:.75rem; }

/* ---------- header ---------- */
.attune-header{ background:#fff; border-bottom:1px solid var(--attune-line); position:sticky; top:0; z-index:50; }
.attune-header__inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding:.8rem var(--wp--preset--spacing--30); max-width:1180px; margin:0 auto; }
.attune-header .wp-block-site-logo img, .attune-logo img{ height:52px; width:auto; display:block; }
.attune-header .wp-block-navigation{ flex:1; justify-content:center; }
.attune-header__cta{ display:flex; gap:.6rem; align-items:center; }
.attune-header__cta .wp-block-button__link{ padding:.6rem 1.1rem; font-size:.92rem; }
.attune-phone{ display:inline-flex; align-items:center; gap:.4rem; font-weight:700; color:var(--wp--preset--color--deep-teal); text-decoration:none; white-space:nowrap; }
.attune-phone::before{ content:""; width:1rem; height:1rem; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25c1.1.37 2.3.57 3.6.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25c1.1.37 2.3.57 3.6.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width:1000px){ .attune-header .attune-phone span{ display:none; } .attune-header__cta .is-style-outline{ display:none; } }
@media (max-width:600px){ .attune-header .wp-block-site-logo img, .attune-logo img{ height:42px; } }

/* sticky mobile call bar */
.attune-mobile-bar{ display:none; }
@media (max-width:700px){
  .attune-mobile-bar{ display:flex; position:fixed; bottom:0; left:0; right:0; z-index:60; background:#fff; border-top:1px solid var(--attune-line); padding:.6rem .8rem; gap:.6rem; box-shadow:0 -8px 24px -16px rgba(28,75,71,.4); }
  .attune-mobile-bar a{ flex:1; text-align:center; text-decoration:none; font-weight:700; padding:.75rem; border-radius:999px; }
  .attune-mobile-bar a.call{ border:2px solid var(--wp--preset--color--teal); color:var(--wp--preset--color--teal); }
  .attune-mobile-bar a.book{ background:var(--wp--preset--color--teal); color:#fff; }
  body{ padding-bottom:4.5rem; }
}

/* ---------- footer ---------- */
.attune-footer{ background:var(--wp--preset--color--deep-teal); color:#DCE9E7; padding:3.5rem max(var(--wp--preset--spacing--30),4vw) 2.5rem; margin-top:0; position:relative; overflow:hidden; }
.attune-footer::after{ content:""; position:absolute; right:-200px; bottom:-200px; width:900px; height:720px; background:url("assets/img/pattern-watermark.svg") no-repeat center/contain; opacity:.07; pointer-events:none; }
.attune-footer > *{ position:relative; }
.attune-footer a{ color:#fff; }
.attune-footer h3, .attune-footer .wp-block-heading{ color:#fff; font-size:.85rem; letter-spacing:.14em; text-transform:uppercase; margin:0 0 .8rem; }
.attune-footer__grid{ max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2rem; }
@media (max-width:900px){ .attune-footer__grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .attune-footer__grid{ grid-template-columns:1fr; } }
.attune-footer__grid p{ margin:0 0 .6rem; font-size:.95rem; }
.attune-footer__grid ul{ list-style:none; padding:0; margin:0; }
.attune-footer__grid li{ margin-bottom:.45rem; font-size:.95rem; }
.attune-footer__grid li a{ text-decoration:none; }
.attune-footer__grid li a:hover{ text-decoration:underline; }
.attune-footer__logo img{ height:56px; width:auto; margin-bottom:1rem; }
.attune-footer__tag{ font-family:var(--wp--preset--font-family--newsreader); font-style:italic; font-size:1.15rem; color:var(--wp--preset--color--aqua); }
.attune-footer__legal{ max-width:1180px; margin:2.5rem auto 0; border-top:1px solid rgba(255,255,255,.15); padding-top:1.25rem; font-size:.82rem; color:#B9CFCC; display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; justify-content:space-between; }
.attune-footer__legal a{ color:#DCE9E7; }

/* ---------- posts ---------- */
.attune-post-list{ max-width:1180px; margin:2rem auto; }
.attune-post-list .wp-block-post{ background:#fff; border:1px solid var(--attune-line); border-radius:var(--attune-radius); padding:1.5rem; }
.attune-post-list .wp-block-post-title{ font-size:1.25rem; margin:0 0 .5rem; }
.attune-post-list .wp-block-post-title a{ text-decoration:none; }
.attune-single{ max-width:760px; margin:0 auto; padding:2rem var(--wp--preset--spacing--30) 4rem; }

/* ---------- rhythm fixes ---------- */
.attune-article .attune-kicker{ margin-top:2.5rem; }
.attune-article .attune-tldr .attune-kicker, .attune-card .attune-kicker, .attune-timeline-item .attune-kicker, .attune-hero .attune-kicker{ margin-top:0; }
.attune-kicker + h1, .attune-kicker + h2, .attune-kicker + h3{ margin-top:0 !important; }
@media (max-width:600px){ .attune-header__cta .wp-block-buttons{ display:none; } }

/* ---------- call-back forms / editor notes ---------- */
.attune-callback{ margin-top:1.5rem; }
.attune-callback h2{ margin-top:0; font-size:1.35rem; }
.attune-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; }
@media (max-width:600px){ .attune-form__row{ grid-template-columns:1fr; } }
.attune-editor-note{ color:var(--wp--preset--color--muted); border:1px dashed var(--wp--preset--color--aqua); border-radius:10px; padding:.5rem .8rem; margin-top:.75rem; }

/* ---------- colour accents across the suite (periwinkle, ocean, gold, sage, aqua) ---------- */
.attune-accent-teal{ --accent:var(--wp--preset--color--teal); --accent-soft:#E4F1EF; }
.attune-accent-periwinkle{ --accent:var(--wp--preset--color--periwinkle); --accent-soft:#EEF0FB; }
.attune-accent-ocean{ --accent:var(--wp--preset--color--ocean); --accent-soft:#E8F0FA; }
.attune-accent-sage{ --accent:var(--wp--preset--color--sage); --accent-soft:#EDF4EA; }
.attune-accent-gold{ --accent:var(--wp--preset--color--gold); --accent-soft:#FBF4E3; }
.attune-accent-aqua{ --accent:var(--wp--preset--color--aqua); --accent-soft:#E6F6F4; }
.attune-hero[class*="attune-accent-"]{ background:linear-gradient(135deg, var(--accent-soft) 0%, var(--wp--preset--color--cream) 70%); }
.attune-hero[class*="attune-accent-"] .attune-kicker{ color:var(--accent); }
.attune-card[class*="attune-accent-"]{ border-top:5px solid var(--accent); }
.attune-card[class*="attune-accent-"] .attune-kicker{ color:var(--accent); }
.attune-card--photo{ padding-top:0; overflow:hidden; }
.attune-card--photo .attune-card-img{ margin:0 -1.6rem 0.75rem; }
.attune-card--photo .attune-card-img img{ width:100%; aspect-ratio:3/2; object-fit:cover; display:block; }
.attune-card--photo .attune-card-title{ font-size:1.18rem; }
.attune-hero-img--tilt img{ transform:rotate(-1.5deg); border:8px solid #fff; }
.attune-photo-band{ margin:2.5rem auto; }
.attune-photo-band img{ width:100%; aspect-ratio:21/9; object-fit:cover; border-radius:var(--attune-radius); box-shadow:var(--attune-shadow); }
.attune-section--periwinkle{ background:#EEF0FB; }
.attune-section--periwinkle .attune-kicker{ color:#5B6ACF; }
.attune-section--gold{ background:#FBF4E3; }
.attune-section--gold .attune-kicker{ color:#A8842E; }
.attune-section--empathy .attune-kicker{ color:var(--wp--preset--color--ocean); }
.attune-tldr{ border-left-color:var(--wp--preset--color--gold); }
.attune-tldr .attune-kicker{ color:#A8842E; }
.attune-card--step .attune-step-num{ color:var(--wp--preset--color--gold); }
.attune-kicker::before{ content:""; display:inline-block; width:18px; height:3px; background:currentColor; border-radius:2px; margin-right:.5rem; vertical-align:middle; opacity:.7; }
.attune-center.attune-kicker::before{ display:none; }
ol.attune-steps li::before{ background:var(--wp--preset--color--periwinkle); color:#fff; }
.attune-final h2::after{ content:""; display:block; width:56px; height:4px; background:var(--wp--preset--color--gold); border-radius:2px; margin:1rem auto 0; }
.attune-footer__tag{ color:var(--wp--preset--color--gold); }
.attune-footer h3{ color:var(--wp--preset--color--aqua); }
.attune-quiz-result{ border-left-color:var(--wp--preset--color--gold); }
.attune-callback{ border-top:5px solid var(--wp--preset--color--periwinkle); }
.attune-timeline-item .attune-kicker{ color:var(--wp--preset--color--ocean); }
blockquote.wp-block-quote{ border-left-color:var(--wp--preset--color--gold); }

/* ---------- bigger, more prominent header ---------- */
.attune-header__inner{ padding:1rem var(--wp--preset--spacing--30); }
.attune-header .wp-block-site-logo img, .attune-logo img{ height:84px; }
.attune-header{ border-bottom:3px solid var(--wp--preset--color--aqua); box-shadow:0 6px 24px -20px rgba(28,75,71,.5); }
.attune-header .wp-block-navigation{ font-size:1.05rem; font-weight:600; }
.attune-header__cta .wp-block-button__link{ padding:.75rem 1.4rem; font-size:1rem; }
.attune-phone{ font-size:1.1rem; }
@media (max-width:600px){ .attune-header .wp-block-site-logo img, .attune-logo img{ height:60px; } }

/* ---------- header banner in periwinkle (mauve) with gold rule; larger footer logo ---------- */
.attune-header{ background:linear-gradient(90deg,#C6CEF2 0%,#DCE1F8 55%,#EEF0FB 100%); border-bottom:4px solid var(--wp--preset--color--gold); }
.attune-header .wp-block-navigation a, .attune-header .attune-phone{ color:var(--wp--preset--color--deep-teal); }
.attune-header .wp-block-navigation a:hover{ color:#5B6ACF; }
.attune-header__cta .wp-block-button__link{ background:var(--wp--preset--color--gold); color:var(--wp--preset--color--deep-teal); box-shadow:0 8px 20px -12px rgba(201,167,90,.9); }
.attune-header__cta .wp-block-button__link:hover{ background:var(--wp--preset--color--deep-teal); color:#fff; }
.attune-header .wp-block-navigation li ul{ background:#F4F5FD; border-color:#C6CEF2; }
.attune-nav-toggle{ border-color:#5B6ACF; color:#3F4DB8; }
.attune-header.nav-open .wp-block-navigation{ background:#EEF0FB; }
.attune-mobile-bar{ background:#EEF0FB; border-top:3px solid var(--wp--preset--color--gold); }
.attune-mobile-bar a.book{ background:var(--wp--preset--color--gold); color:var(--wp--preset--color--deep-teal); }
.attune-footer__logo img{ height:120px; }
.attune-footer__grid{ grid-template-columns:1.8fr 1fr 1fr 1fr; }
.attune-footer__tag{ font-size:1.45rem; }
@media (max-width:900px){ .attune-footer__grid{ grid-template-columns:1fr 1fr; } .attune-footer__logo img{ height:96px; } }
@media (max-width:560px){ .attune-footer__grid{ grid-template-columns:1fr; } }
.attune-footer__grid p.attune-footer__tag{ font-size:1.5rem; }

.attune-before-you-book{ box-shadow:none; }
.attune-before-you-book .attune-kicker{ color:#A8842E; }
.attune-before-you-book li{ font-size:.95rem; }

/* ---------- readability pass (30 Sep review) ---------- */
body{ font-size:1.15rem; line-height:1.7; color:#1C4B47; }
.attune-lead{ font-size:1.32rem; color:#1C4B47; }
.attune-lead-sm{ font-size:1.18rem; color:#1C4B47; }
.attune-small{ font-size:1rem; color:#2E5A55; }
.attune-serif{ font-size:1.4rem; color:#2E5A55; }
.attune-note{ font-family:var(--wp--preset--font-family--newsreader); font-style:italic; font-weight:500; font-size:1.2rem; color:#1C4B47; margin-top:.5rem; }
.attune-note-heading{ max-width:none !important; margin-top:2.5rem !important; }
.attune-kicker{ font-size:.9rem; }
.attune-card-title{ font-size:1.3rem; }
.attune-card--photo .attune-card-title{ font-size:1.3rem; }
.attune-condition-title{ font-size:1.55rem !important; font-weight:700; line-height:1.2; letter-spacing:-.01em; }
.attune-condition-title a{ color:var(--wp--preset--color--deep-teal); }
.attune-condition-title a:hover{ color:var(--wp--preset--color--teal); }
.attune-problem-quote{ font-family:var(--wp--preset--font-family--newsreader); font-style:italic; font-size:1.15rem; line-height:1.4; color:#2E5A55; margin:0; }
.attune-card-btn{ margin-top:auto !important; padding-top:.75rem; }
.attune-card-btn .wp-block-button__link{ font-size:1rem; padding:.7rem 1.3rem; }
.attune-card--link .attune-card-meta, .attune-card--link .attune-arrow{ display:none; }
.attune-card--link:hover .attune-card-btn .wp-block-button__link{ background:var(--wp--preset--color--deep-teal); }
.attune-byline{ font-size:1rem; color:#2E5A55; }
.attune-disclaimer, ol.attune-refs{ color:#2E5A55; }
.attune-faq .wp-block-details p{ color:#1C4B47; }
.attune-timeline-item p:last-child, .attune-quiz-item{ color:#1C4B47; }
.attune-tldr p:last-child{ font-size:1.18rem; }
.attune-h1{ font-size:clamp(2.3rem,4.4vw,3.4rem); }
h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.attune-footer__grid p, .attune-footer__grid li{ font-size:1.02rem; }
.attune-footer__legal{ font-size:.9rem; color:#C9DAD7; }

.attune-before-you-book{ margin-top:1.5rem; }
.attune-before-you-book p:first-of-type{ font-size:1.05rem; }

.attune-two-up{ grid-template-columns:repeat(2,1fr) !important; }
@media (max-width:700px){ .attune-two-up{ grid-template-columns:1fr !important; } }
.attune-two-up .attune-card-title{ font-size:1.5rem; }
.attune-two-up .wp-block-button__link{ font-size:1.1rem; padding:.9rem 1.7rem; }

/* ---------- Contact Form 7 (enquiry / call-back form) — matches the .attune-form styling ---------- */
.wpcf7{ margin:0; }
.wpcf7 form.wpcf7-form{ display:block; }
.wpcf7 form.wpcf7-form p{ margin:0 0 .9rem; }
.wpcf7 form.wpcf7-form label{ display:block; font-weight:600; color:var(--wp--preset--color--deep-teal); margin-bottom:.9rem; }
.wpcf7 .wpcf7-form-control-wrap{ display:block; margin-top:.3rem; position:relative; }
.wpcf7 .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):not(.wpcf7-checkbox):not(.wpcf7-radio){
  display:block; width:100%; box-sizing:border-box; font:inherit; font-size:1.05rem; font-weight:400; line-height:1.4;
  color:var(--wp--preset--color--deep-teal); padding:.7rem .9rem; border:1px solid var(--attune-line); border-radius:10px; background:#fff;
  -webkit-appearance:none; appearance:none; transition:border-color .15s, box-shadow .15s; }
.wpcf7 .wpcf7-form-control::placeholder{ color:#8A9795; opacity:1; }
.wpcf7 .wpcf7-form-control:focus{ outline:none; border-color:var(--wp--preset--color--teal); box-shadow:0 0 0 3px rgba(47,142,134,.18); }
.wpcf7 textarea.wpcf7-form-control{ min-height:7.5rem; resize:vertical; }
.wpcf7 select.wpcf7-form-control{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%231C4B47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .9rem center; background-size:1rem; padding-right:2.6rem; }
/* two fields side by side: wrap two <label>s in <div class="attune-form__row"> inside the CF7 form template */
.wpcf7 .attune-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:0 1rem; }
@media (max-width:600px){ .wpcf7 .attune-form__row{ grid-template-columns:1fr; } }
/* checkboxes / radios / acceptance */
.wpcf7 .wpcf7-checkbox .wpcf7-list-item, .wpcf7 .wpcf7-radio .wpcf7-list-item{ display:block; margin:0 0 .4rem; font-weight:400; }
.wpcf7 .wpcf7-checkbox input, .wpcf7 .wpcf7-radio input, .wpcf7 .wpcf7-acceptance input{ width:1.2rem; height:1.2rem; margin-right:.5rem; vertical-align:-.2rem; accent-color:var(--wp--preset--color--teal); }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item{ font-weight:400; font-size:.95rem; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label{ display:inline; }
/* submit button = theme button (teal pill) */
.wpcf7 .wpcf7-submit, .wpcf7 input[type="submit"], .wpcf7 button[type="submit"]{
  display:inline-block; width:auto; font:inherit; font-size:1rem; font-weight:600; line-height:1.2; cursor:pointer;
  color:var(--wp--preset--color--white); background:var(--wp--preset--color--teal); border:0; border-radius:999px;
  padding:.8rem 1.5rem; text-decoration:none; box-shadow:0 8px 20px -12px rgba(47,142,134,.8); transition:background .15s, transform .15s; }
.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-submit:focus-visible{ background:var(--wp--preset--color--deep-teal); color:#fff; transform:translateY(-1px); }
.wpcf7 .wpcf7-submit:disabled{ opacity:.6; cursor:wait; }
.wpcf7 .wpcf7-spinner{ margin:0 0 0 .75rem; vertical-align:middle; }
/* validation + response messages */
.wpcf7 .wpcf7-not-valid{ border-color:#C0392B !important; }
.wpcf7 .wpcf7-not-valid-tip{ display:block; margin-top:.35rem; font-size:.88rem; font-weight:500; color:#C0392B; }
.wpcf7 form .wpcf7-response-output{ margin:1.25rem 0 0; padding:.9rem 1.1rem; border:1px solid var(--attune-line); border-radius:12px; font-size:.95rem; background:#fff; }
.wpcf7 form.sent .wpcf7-response-output{ border-color:var(--wp--preset--color--sage); background:#F1F7EF; color:var(--wp--preset--color--deep-teal); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output{ border-color:#C0392B; background:#FBF1F0; color:#7A1F16; }
.wpcf7 form .wpcf7-response-output:empty{ display:none; }
/* on the gold-accented Book page card and soft callback cards the form sits on white already */
.attune-card--soft .wpcf7 form.wpcf7-form{ margin-top:.25rem; }
