/*
Theme Name: KTM Care
Theme URI: https://ktmcare.com.au
Author: KTM Care
Author URI: https://ktmcare.com.au
Description: Custom WordPress theme for KTM Care — NDIS nursing, disability and home care services. Fully editable via the Customizer, menus and the KTM Care Booking plugin. Unified design system: navy #003C72, gold #FFBF00, teal #00BFA5.
Version: 1.0.25
Requires at least: 6.0
Tested up to: 6.6
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: ktmcare
Tags: custom-colors, custom-logo, custom-menu, editor-style, featured-images, translation-ready, block-styles, wide-blocks, one-column, two-columns
*/

/* ============================================================
   KTM CARE — THEME STYLES
   Brand tokens: navy #003C72 / gold #FFBF00 / teal #00BFA5
   Fonts: Poppins (display), Nunito Sans (body), Caveat (script)
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  --navy:#044B67;
  --navy-rgb:4,75,103;
  --navy-dark:#03384D;
  --navy-dark-rgb:3,56,77;
  --gold:#FFA614;
  --gold-rgb:255,166,20;
  --gold-dark:#E29312;
  --gold-deep:#C17D0F;
  --teal:#7DB93A;
  --teal-rgb:125,185,58;
  --teal-dark:#65962F;
  --red:#E60000;

  /* Derived tokens. These fallbacks ship with the theme; ktmcare_css_vars()
     recomputes every one of them from the three brand colours in the Customizer,
     including the readable text versions, so a palette change repaints the site
     without editing this file. */
  --gold-text:#A86D0D;   /* accent darkened until it passes 4.5:1 on white */
  --teal-text:#59842A;   /* support darkened until it passes 4.5:1 on white */
  --focus:#044B67;
  --focus-dark:#FFFFFF;
  --tint-primary:#F0F4F6;
  --tint-accent:#FFF7EA;
  --tint-support:#F1F7E9;
  --tint-paper:#FFFDF9;
  --on-dark-accent:#9FCB6D;
  --on-dark-gold:#FFB63E;

  --ink:#17324A;
  --muted:#5E7180;
  --paper:#FFFFFF;
  --cream:var(--tint-paper);
  --soft:var(--tint-primary);
  --soft-aqua:var(--tint-support);
  --soft-gold:var(--tint-accent);
  --soft-blue:var(--tint-primary);
  --line:#E3E9EC;

  --font-display:"Poppins","Segoe UI",system-ui,sans-serif;
  --font-body:"Nunito Sans","Segoe UI",system-ui,sans-serif;
  --font-script:"Caveat","Segoe Script",cursive;

  --radius:26px;
  --shadow:0 18px 55px rgba(var(--navy-rgb),.10);
  --shadow-soft:0 10px 35px rgba(var(--navy-rgb),.06);
  --container:1180px;
  --gx:18px;
  --bleed:max(var(--gx),calc((100vw - var(--container)) / 2));
}

/* ---------- Reset & base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  color:var(--ink);
  line-height:1.65;
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
body.lock{overflow:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:8px}
/* On navy surfaces the ring switches to white so it stays above 3:1. */
.topbar :focus-visible,.hero :focus-visible,.cta :focus-visible,footer :focus-visible{outline-color:var(--focus-dark)}

.container{width:min(calc(100% - 2 * var(--gx)),var(--container));margin-left:auto;margin-right:auto}
.section{padding:96px 0}

/* WordPress core a11y helpers */
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
  height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important;
}
.screen-reader-text:focus{
  background:#fff;border-radius:6px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);
  clip:auto !important;clip-path:none;color:var(--navy);display:block;font-size:.9rem;
  font-weight:700;height:auto;left:12px;line-height:normal;padding:14px 22px;text-decoration:none;
  top:12px;width:auto;z-index:100000;
}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100000}
.skip-link:focus{left:12px;top:12px;background:#fff;padding:12px 20px;border-radius:8px;color:var(--navy);font-weight:800}

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);color:var(--navy);line-height:1.16;letter-spacing:-.02em}
h1{font-weight:800}
h2{font-weight:700;font-size:clamp(1.6rem,3.2vw,2.5rem)}
h3{font-weight:700;font-size:1.05rem}
h4{font-weight:700;font-size:1rem}
p{color:var(--muted)}

.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  color:var(--teal-text);
  font-size:.76rem;font-weight:800;
  text-transform:uppercase;letter-spacing:.15em;
  font-family:var(--font-display);
}
.eyebrow:before{content:"";width:28px;height:3px;background:var(--gold);border-radius:3px}

.section-title{max-width:720px;margin-bottom:48px}
.section-title h2{margin-top:10px}
.section-title p{margin-top:16px;font-size:1.02rem}
.section-title.center{margin-left:auto;margin-right:auto;text-align:center}
.section-title.center .eyebrow{justify-content:center}
.gold{color:var(--gold-text)}

/* ---------- Buttons ---------- */
.btn{
  min-height:48px;padding:0 22px;border-radius:999px;
  border:1px solid transparent;display:inline-flex;
  align-items:center;justify-content:center;gap:9px;
  font-family:var(--font-display);font-weight:600;font-size:.9rem;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn .arr{font-weight:700}
.primary{background:var(--gold);color:var(--navy);box-shadow:0 10px 24px rgba(255,191,0,.28)}
.primary:hover{background:var(--gold-dark)}
.outline{background:#fff;color:var(--navy);border-color:var(--line)}
.outline:hover{border-color:var(--teal)}
.white-outline{background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.28)}
.white-outline:hover{background:rgba(255,255,255,.16)}
.dark{background:var(--navy);color:#fff}
.dark:hover{background:var(--navy-dark)}
.link-more{display:inline-flex;align-items:center;gap:8px;margin-top:24px;color:var(--navy);font-weight:800;font-family:var(--font-display);font-size:.9rem}
.link-more:hover{color:var(--teal-dark)}
.link-more svg{width:16px;height:16px}

/* ---------- Brand ---------- */
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.brand img.logo{width:auto;height:64px;object-fit:contain}
.brand-name{font-family:var(--font-display);font-size:1.55rem;font-weight:800;line-height:1;color:var(--navy);letter-spacing:-.02em;display:block}
.brand-name span{color:var(--gold-text)}
.brand-sub{
  display:block;margin-top:4px;
  color:var(--muted);font-size:.6rem;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;font-family:var(--font-display);white-space:nowrap;
}

/* ---------- Admin bar offsets ---------- */
.admin-bar .header{top:32px}
@media(max-width:782px){.admin-bar .header{top:46px}}

/* ---------- Top bar ---------- */
.topbar{background:var(--navy);color:#fff;font-size:.8rem;font-weight:600}
.topbar-inner{min-height:40px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.topbar .left{color:rgba(255,255,255,.92);display:flex;align-items:center;gap:8px}
.topbar .right{display:flex;align-items:center;gap:18px}
.topbar-item{display:inline-flex;align-items:center;gap:7px;color:#fff}
.topbar-item:hover{color:var(--gold)}
.topbar-item svg{width:14px;height:14px}
.topbar-socials{display:flex;align-items:center;gap:12px}
.topbar-socials a{color:#fff;display:inline-flex}
.topbar-socials a:hover{color:var(--gold)}
.topbar-socials svg{width:15px;height:15px}

/* ---------- Header / nav ---------- */
.header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.nav{min-height:78px;display:flex;align-items:center;gap:26px}
.nav-links{display:flex;align-items:center;gap:26px;margin-left:auto}
.nav-links .nav-list{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}
.nav-links .nav-list li{position:relative}
.nav-links .nav-list a{
  font-family:var(--font-display);
  font-size:.86rem;font-weight:600;color:#44586A;position:relative;padding:4px 0;display:inline-block;
}
.nav-links .nav-list a:hover{color:var(--navy)}
.nav-links .nav-list .current-menu-item > a,
.nav-links .nav-list .current_page_item > a,
.nav-links .nav-list .current-menu-ancestor > a{color:var(--navy);font-weight:700}
.nav-links .nav-list .current-menu-item > a:after,
.nav-links .nav-list .current_page_item > a:after,
.nav-links .nav-list .current-menu-ancestor > a:after{
  content:"";position:absolute;left:0;right:0;bottom:-6px;height:3px;
  border-radius:3px;background:var(--gold);
}
/* dropdowns */
.nav-links .nav-list .sub-menu{
  list-style:none;position:absolute;top:calc(100% + 14px);left:-14px;min-width:220px;
  background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);
  padding:10px;display:none;z-index:120;
}
.nav-links .nav-list li:hover > .sub-menu,
.nav-links .nav-list li:focus-within > .sub-menu{display:block}
.nav-links .nav-list .sub-menu a{padding:9px 12px;border-radius:10px;display:block;font-size:.84rem}
.nav-links .nav-list .sub-menu a:hover{background:var(--soft)}
.nav-links .nav-list .sub-menu li{width:100%}
.nav-actions{display:flex;align-items:center;gap:10px}
.menu{
  display:none;width:44px;height:44px;border:1px solid var(--line);
  border-radius:12px;background:#fff;color:var(--navy);font-size:1.2rem;line-height:1;
}

/* ---------- Hero (home) ---------- */
.hero{
  position:relative;overflow:hidden;
  min-height:var(--hero-min,640px);display:flex;align-items:center;
  --hero-pos:center right;
  --ov-1:.97;--ov-2:.91;--ov-3:.46;--ov-4:.18;
  background:linear-gradient(90deg, rgba(var(--navy-dark-rgb),var(--ov-1)) 0%, rgba(var(--navy-rgb),var(--ov-2)) 42%, rgba(var(--navy-rgb),var(--ov-3)) 73%, rgba(var(--navy-rgb),var(--ov-4)) 100%);
  background-size:var(--hero-size,cover);background-position:var(--hero-pos);background-repeat:no-repeat;
}
.hero.has-photo{background-image:
  linear-gradient(90deg, rgba(var(--navy-dark-rgb),var(--ov-1)) 0%, rgba(var(--navy-rgb),var(--ov-2)) 42%, rgba(var(--navy-rgb),var(--ov-3)) 73%, rgba(var(--navy-rgb),var(--ov-4)) 100%),
  var(--ktm-hero-photo);
}
/* Decorative ring removed: at this size it read as a smudge behind the copy. */
.hero-content{position:relative;z-index:2;padding:110px 0;max-width:790px}
.hero .eyebrow{color:var(--on-dark-accent)}
.hero h1{color:#fff;margin-top:12px;font-size:clamp(2.7rem,6vw,4.6rem);font-weight:800}
.hero h1 .gold{color:var(--gold)}
.hero-copy{max-width:650px;margin-top:24px;color:rgba(255,255,255,.86);font-size:1.08rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:38px;list-style:none}
.trust li{
  padding:9px 13px;border-radius:999px;
  color:#fff;background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.19);font-size:.8rem;font-weight:800;
}
.trust li b{color:var(--on-dark-accent);margin-right:4px}

/* ---------- Quick cards ---------- */
.quick-wrap{margin-top:-55px;position:relative;z-index:5}
.quick{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-radius:24px;background:#fff;box-shadow:var(--shadow);
  overflow:hidden;border:1px solid var(--line)
}
.quick-card{
  padding:28px 30px;display:flex;gap:18px;align-items:flex-start;
  border-right:1px solid var(--line)
}
.quick-card:last-child{border-right:0}
.quick-card h3{font-size:1rem}
.quick-card p{font-size:.86rem;margin-top:4px}

/* icon bubbles */
.icon{
  flex:0 0 50px;width:50px;height:50px;border-radius:16px;
  display:grid;place-items:center;
}
.icon svg{width:24px;height:24px}
.icon.blue{background:var(--soft-blue);color:var(--navy)}
.icon.gold{background:var(--soft-gold);color:var(--gold-text)}
.icon.teal{background:var(--soft-aqua);color:var(--teal-dark)}

/* ---------- Cards (services / contact) ---------- */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{
  padding:31px;border:1px solid var(--line);border-radius:var(--radius);
  background:#fff;box-shadow:var(--shadow-soft);
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex;flex-direction:column;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card p{margin-top:10px}
.service-icon{
  width:60px;height:60px;border-radius:18px;
  display:grid;place-items:center;margin-bottom:25px;
}
.service-icon svg{width:28px;height:28px}
.service-icon.blue{background:var(--soft-blue);color:var(--navy)}
.service-icon.gold{background:var(--soft-gold);color:var(--gold-text)}
.service-icon.teal{background:var(--soft-aqua);color:var(--teal-dark)}
.list{list-style:none;display:grid;gap:7px;margin-top:20px}
.list li{font-size:.9rem;color:#526671}
.list li:before{content:"✓";color:var(--teal);font-weight:900;margin-right:8px}
.card .link-more{margin-top:auto;padding-top:24px}

/* ---------- NDIS band ---------- */
.ndis-band{background:var(--navy);color:#fff;padding:35px 0}
.ndis-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.ndis-mark{display:flex;align-items:center;gap:15px}
.ndis-dot{
  width:52px;height:52px;border-radius:50%;background:var(--gold);flex:0 0 52px;
  display:grid;place-items:center;color:var(--navy);font-weight:900;font-size:.68rem;letter-spacing:.02em;
}
.ndis-band h3{color:#fff;font-size:1.15rem}
.ndis-band p{color:rgba(255,255,255,.72);font-size:.88rem;margin-top:2px}

/* ---------- Support areas ---------- */
.area-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.area{
  min-height:150px;padding:22px;border:1px solid var(--line);
  border-radius:18px;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;
  text-align:center;
}
.area svg{width:30px;height:30px;color:var(--teal)}
.area strong{color:var(--navy);font-family:var(--font-display);font-weight:600;font-size:.95rem}

/* ---------- Steps ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.step{
  padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff;position:relative
}
.step-number{font-size:.72rem;font-weight:900;letter-spacing:.1em;color:var(--gold-text);font-family:var(--font-display)}
.step h3{margin-top:17px}
.step p{font-size:.9rem;margin-top:9px}
.step:not(:last-child):after{
  content:"\2192";position:absolute;right:-15px;top:35px;z-index:3;
  color:var(--teal);font-size:1.3rem;font-weight:900
}

/* ---------- CTA band (home, dark) ---------- */
.cta{
  padding:80px 0;background:
  radial-gradient(circle at 85% 20%,rgba(255,191,0,.18),transparent 25%),
  var(--navy)
}
.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}
.cta h2{color:#fff;max-width:680px}
.cta p{color:rgba(255,255,255,.72);margin-top:12px;max-width:620px}
.cta .eyebrow{color:var(--on-dark-accent)}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap}

/* ---------- About hero ---------- */
.about-hero{position:relative;background:var(--cream);overflow:hidden;padding-bottom:132px}
.hero-grid{
  display:grid;grid-template-columns:1.03fr .97fr;gap:clamp(28px,4.5vw,64px);
  align-items:stretch;
}
.hero-media{
  position:relative;z-index:2;
  margin-left:calc(-1 * var(--bleed));
  width:calc(100% + var(--bleed));
  margin-bottom:-64px;
}
.hero-media img{
  width:100%;height:100%;min-height:560px;object-fit:cover;
  border-radius:0 0 34px 0;
}
.hero-scrim{
  position:absolute;inset:0;border-radius:0 0 34px 0;pointer-events:none;
  background:radial-gradient(120% 65% at 12% 6%,rgba(255,255,255,.82) 0%,rgba(255,255,255,.42) 42%,rgba(255,255,255,0) 68%);
}
.hero-script{
  position:absolute;top:34px;left:34px;z-index:3;
  font-family:var(--font-script);font-weight:700;
  font-size:clamp(1.55rem,2.3vw,2.1rem);
  line-height:1.12;color:#1D3A55;max-width:8ch;
}
.hero-script .heart-inline{width:22px;height:20px;margin-left:2px;vertical-align:-2px;color:var(--gold-deep)}
.hero-copy-about{position:relative;padding:56px 0 26px}
.hero-copy-about .leaf-motif{
  position:absolute;top:20px;right:-6px;width:150px;height:130px;
  color:#D5E5DC;opacity:.85;pointer-events:none;z-index:0;
}
.hero-copy-about .eyebrow,.hero-copy-about h1,.hero-copy-about .about-lead{position:relative;z-index:2}
.hero-copy-about h1{
  margin-top:16px;
  font-size:clamp(2rem,3.35vw,2.9rem);
  color:var(--navy);font-weight:800;
}
.hero-copy-about h1 .gold{color:var(--gold-text)}
.about-lead{
  margin-top:20px;color:#4A5B66;font-size:1.01rem;line-height:1.75;
}
.about-lead p{margin-top:16px;color:#4A5B66}
.about-lead p:first-child{margin-top:0}
.about-lead strong{color:var(--navy);font-weight:800}
.hero-wave{position:absolute;left:0;right:0;bottom:-1px;height:132px;z-index:4;pointer-events:none}
.hero-wave svg{position:absolute;inset:0;width:100%;height:100%}
.hero-wave .wave-heart{width:44px;height:40px;left:31%;top:14px;right:auto;bottom:auto}

/* ---------- Feature band (about) ---------- */
.features{background:#fff;padding:74px 0 6px}
.feature-shell{
  background:var(--soft);border-radius:30px;
  padding:44px 20px;
  display:grid;grid-template-columns:repeat(4,1fr);
}
.feature{padding:6px 26px;text-align:center}
.feature + .feature{border-left:1px solid #DEE8F2}
.f-icon{
  width:58px;height:58px;border-radius:50%;margin:0 auto 16px;
  display:grid;place-items:center;
}
.f-icon svg{width:25px;height:25px}
.f-icon.blue{background:var(--tint-primary);color:var(--navy)}
.f-icon.pink{background:#FBE7EC;color:#C2185B}
.f-icon.green{background:var(--tint-support);color:var(--teal-text)}
.f-icon.yellow{background:var(--tint-accent);color:var(--gold-text)}
.f-icon.teal{background:var(--soft-aqua);color:var(--teal-dark)}
.feature h3{font-size:1rem;color:var(--navy)}
.feature p{margin-top:8px;font-size:.88rem;line-height:1.6}

/* ---------- CTA band (aqua shell, about/contact) ---------- */
.cta-band{background:#fff;padding:44px 0 84px}
.cta-band-inner{
  background:var(--soft-aqua);border-radius:30px;
  padding:40px 46px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
  position:relative;overflow:hidden;
}
.cta-leaf{position:absolute;left:-14px;bottom:-28px;width:170px;height:150px;color:#CBE6DC;pointer-events:none}
.cta-band-copy{position:relative;z-index:2;padding-left:78px}
.cta-band-copy .eyebrow{color:var(--teal-dark)}
.cta-band-copy h2{margin-top:6px;font-size:clamp(1.3rem,2.1vw,1.8rem);color:var(--navy)}
.cta-band-inner .btn{position:relative;z-index:2;flex:0 0 auto}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:
    radial-gradient(circle at 88% 10%,rgba(255,191,0,.16),transparent 30%),
    linear-gradient(180deg,var(--soft-blue),#fff);
  padding:64px 0 56px;border-bottom:1px solid var(--line);
}
.page-hero .eyebrow + h1{margin-top:12px}
.page-hero h1{font-size:clamp(2.1rem,4.2vw,3.2rem)}
.page-hero .page-intro{margin-top:16px;max-width:720px;font-size:1.02rem}

/* ---------- Entry content (pages / posts / services) ---------- */
.entry-content{font-size:1rem}
.entry-content > *{margin-top:1.2em}
.entry-content > *:first-child{margin-top:0}
.entry-content h2{margin-top:1.6em;font-size:clamp(1.4rem,2.4vw,2rem)}
.entry-content h3{margin-top:1.5em;font-size:1.15rem}
.entry-content p{color:#4A5B66}
.entry-content ul,.entry-content ol{padding-left:1.3em;color:#4A5B66}
.entry-content li{margin-top:.4em}
.entry-content a{color:var(--teal-dark);text-decoration:underline;text-underline-offset:3px}
.entry-content a:hover{color:var(--navy)}
.entry-content blockquote{
  border-left:4px solid var(--gold);background:var(--cream);
  padding:18px 22px;border-radius:0 16px 16px 0;color:#4A5B66;font-style:italic;
}
.entry-content img{border-radius:16px}
.entry-content table{border-collapse:collapse;width:100%}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px 14px;text-align:left}
.entry-content th{background:var(--soft);color:var(--navy);font-family:var(--font-display)}
.entry-content code{background:var(--soft);padding:2px 7px;border-radius:6px;font-size:.9em}
.entry-content pre{background:var(--navy-dark);color:#EAF2F8;padding:18px 20px;border-radius:16px;overflow:auto}
.entry-content hr{border:0;border-top:1px solid var(--line)}

/* WP block support */
.entry-content .wp-block-button__link{
  background:var(--gold);color:var(--navy);border-radius:999px;
  font-family:var(--font-display);font-weight:600;padding:14px 26px;text-decoration:none;
}
.entry-content .wp-block-button__link:hover{background:var(--gold-dark)}
.entry-content .alignwide{width:min(100%,calc(var(--container) + 160px));margin-left:auto;margin-right:auto}
.entry-content .alignfull{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);border-radius:0}
.entry-content .aligncenter{margin-left:auto;margin-right:auto}
.entry-content .wp-block-image figcaption,
.entry-content figcaption,
.wp-caption-text{
  font-size:.8rem;color:var(--muted);text-align:center;margin-top:8px;
}
.entry-content .wp-block-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0;list-style:none}
.entry-content .wp-block-quote{border-left:4px solid var(--gold);background:var(--cream);padding:18px 22px;border-radius:0 16px 16px 0}

/* ---------- Services archive / grid ---------- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.archive-header{padding:64px 0 8px}
.archive-header h1{font-size:clamp(2rem,4vw,3rem)}
.archive-header .archive-description{margin-top:12px;max-width:680px}

/* ---------- Single service ---------- */
.service-hero{background:linear-gradient(180deg,var(--soft-blue),#fff);padding:64px 0 48px;border-bottom:1px solid var(--line)}
.service-hero .back-link{font-size:.84rem;color:var(--muted);font-weight:700;font-family:var(--font-display);display:inline-flex;align-items:center;gap:6px}
.service-hero .back-link:hover{color:var(--navy)}
.service-hero .service-icon{margin:22px 0 18px}
.service-body{padding:64px 0 20px}
.service-features{
  background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 30px;margin-top:34px;
}
.service-features h3{margin-bottom:14px}
.service-features .list{margin-top:0}
.service-features .list li:before{content:"✓"}
.service-cta{margin-top:34px;display:flex;gap:12px;flex-wrap:wrap}

/* ---------- Blog / archives ---------- */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post-card{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;
  display:flex;flex-direction:column;box-shadow:var(--shadow-soft);transition:transform .25s ease,box-shadow .25s ease;
}
.post-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.post-card .post-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover}
.post-card .post-body{padding:24px 26px 26px;display:flex;flex-direction:column;flex:1}
.post-card .posted-on{font-size:.76rem;color:var(--teal-dark);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-family:var(--font-display)}
.post-card h2{font-size:1.15rem;margin-top:8px}
.post-card h2 a:hover{color:var(--teal-dark)}
.post-card p{font-size:.9rem;margin-top:10px}
.post-card .link-more{margin-top:auto;padding-top:18px}

/* pagination */
.pagination{margin:48px 0 0;display:flex;justify-content:center}
.pagination .page-numbers{
  display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;margin:0 4px;
  border:1px solid var(--line);border-radius:12px;color:var(--navy);font-weight:800;background:#fff;
}
.pagination .page-numbers.current{background:var(--navy);color:#fff;border-color:var(--navy)}
.pagination .page-numbers:hover{border-color:var(--teal)}

/* ---------- Search form ---------- */
.search-form{display:flex;gap:10px;max-width:520px}
.search-form input[type="search"]{
  flex:1;min-height:48px;padding:10px 14px;border:1px solid #CCDCDC;border-radius:12px;background:#fff;
}
.search-form input[type="search"]:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,191,165,.12);outline:0}
.search-form button{
  min-height:48px;padding:0 20px;border-radius:12px;border:0;background:var(--gold);color:var(--navy);font-weight:800;font-family:var(--font-display);
}

/* ---------- 404 ---------- */
.error-404{padding:90px 0;text-align:center}
.error-404 .code{
  font-family:var(--font-display);font-weight:800;font-size:clamp(4rem,10vw,7rem);
  color:var(--navy);line-height:1;
}
.error-404 .code span{color:var(--gold-text)}
.error-404 h1{margin-top:10px}
.error-404 p{margin:14px auto 0;max-width:520px}
.error-404 .btn{margin-top:28px}

/* ---------- Footer ---------- */
footer{background:var(--navy-dark);color:rgba(255,255,255,.72);padding:58px 0 22px}
.footer-grid{display:grid;grid-template-columns:1.45fr .95fr 1fr 1.1fr;gap:40px;align-items:start}
footer .brand img.logo{height:72px}
footer .brand-name{color:#fff}
footer .brand-name span{color:var(--gold)}
footer .brand-sub{color:rgba(255,255,255,.55)}
.footer-about{max-width:370px;margin-top:18px;font-size:.88rem}
.footer-title{
  color:#fff;font-weight:800;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;
  font-family:var(--font-display);margin-bottom:14px;
}
.footer-links{display:grid;gap:9px;font-size:.88rem;list-style:none;padding:0;margin:0}
.footer-links a:hover{color:#fff}
.footer-socials{display:flex;gap:10px}
.footer-socials a{
  width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  display:grid;place-items:center;color:#fff;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.footer-socials a:hover{background:var(--gold);border-color:var(--gold);color:var(--navy-dark)}
.footer-socials svg{width:15px;height:15px}
.footer-script{
  font-family:var(--font-script);font-weight:600;
  font-size:1.7rem;line-height:1.15;color:var(--on-dark-gold);
  display:flex;align-items:flex-start;gap:10px;justify-content:flex-end;text-align:left;
  margin-top:26px;
}
.footer-script svg{width:22px;height:20px;color:var(--gold);flex:0 0 auto;margin-top:8px}
.footer-bottom{
  display:flex;justify-content:space-between;gap:20px;
  border-top:1px solid rgba(255,255,255,.14);margin-top:44px;padding-top:18px;
  font-size:.76rem;
}

/* ---------- Contact cards (shared) ---------- */
.contact-cards{margin-top:0}

/* ---------- Generic content helpers ---------- */
.mt-0{margin-top:0}
.mt-40{margin-top:40px}
.text-center{text-align:center}
.hr-line{border:0;border-top:1px solid var(--line);margin:40px 0}
.narrow{max-width:780px;margin-left:auto;margin-right:auto}

/* ---------- Motion (opt-in, reduced-motion aware) ---------- */
/* The hidden state is gated on .js-ready, which the theme's own script adds as
   its first statement. If JavaScript is blocked or the file fails to load,
   nothing is ever hidden — the content simply renders in place. */
.js-ready [data-reveal],
.js-ready .section-title,
.js-ready .post-card,
.js-ready .cards,
.js-ready .steps,
.js-ready .area-grid,
.js-ready .ndis-band{opacity:0;transform:translateY(16px)}
.js-ready [data-reveal].is-visible,
.js-ready .section-title.is-visible,
.js-ready .post-card.is-visible,
.js-ready .cards.is-visible,
.js-ready .steps.is-visible,
.js-ready .area-grid.is-visible,
.js-ready .ndis-band.is-visible{
  opacity:1;transform:none;
  transition:opacity .3s cubic-bezier(.2,0,0,1),transform .3s cubic-bezier(.2,0,0,1);
}

/* ---------- Hero carousel ---------- */
.hero.has-slides{background:var(--navy)}
.hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden}
/* Each slide carries the theme's own legibility gradient over its photo, so the
   heading keeps the contrast it has today. Slides are decorative: the copy does
   not change between them. */
.hero-slide{
  position:absolute;inset:0;opacity:0;
  background-position:var(--slide-pos,var(--hero-pos,center right));background-repeat:no-repeat;background-size:var(--slide-size,var(--hero-size,cover));
  background-image:linear-gradient(90deg, rgba(var(--navy-dark-rgb),var(--ov-1)) 0%, rgba(var(--navy-rgb),var(--ov-2)) 42%, rgba(var(--navy-rgb),var(--ov-3)) 73%, rgba(var(--navy-rgb),var(--ov-4)) 100%), var(--ktm-slide);
  transition:opacity .45s ease;
}
.hero-slide.is-active{opacity:1}
.hero-carousel{position:absolute;right:var(--gx);bottom:24px;z-index:3;display:flex;align-items:center;gap:10px}
.hero-nav,.hero-playpause{
  min-width:44px;min-height:44px;padding:0 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.38);background:rgba(255,255,255,.14);color:#fff;
  font-family:var(--font-display);font-size:.78rem;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
}
.hero-nav:hover,.hero-playpause:hover{background:rgba(255,255,255,.26)}
.hero-dots{display:inline-flex;align-items:center;gap:6px}
/* 24×24 target with a 9px visual dot — meets the WCAG 2.5.8 minimum. */
.hero-dot{
  width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
}
.hero-dot:before{content:"";width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);transition:background .15s ease,transform .15s ease}
.hero-dot:hover:before{background:rgba(255,255,255,.7)}
.hero-dot.is-active:before{background:var(--gold);transform:scale(1.3)}
@media(max-width:700px){
  .hero-carousel{bottom:16px;gap:8px}
  .hero-nav{display:none}
}

/* ---------- NDIS provider badge ---------- */
.ndis-badge{
  display:block;width:200px;height:auto;max-width:100%;
  margin-top:24px;border-radius:10px;
}

/* ---------- Sticky mobile call bar ---------- */
/* Rendered in the footer for every page, but only shown on small screens —
   on desktop the header already carries the phone number and Book care. */
.callbar{display:none}

@media(max-width:700px){
  .callbar{
    position:fixed;left:0;right:0;bottom:0;z-index:90;
    display:flex;gap:10px;
    padding:10px var(--gx) calc(10px + env(safe-area-inset-bottom, 0px));
    background:rgba(255,255,255,.97);
    border-top:1px solid var(--line);
    box-shadow:0 -10px 30px rgba(var(--navy-rgb),.10);
  }
  .callbar a{
    flex:1 1 0;min-height:48px;border-radius:999px;
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    font-family:var(--font-display);font-weight:700;font-size:.88rem;text-decoration:none;
  }
  .callbar-call{background:#fff;color:var(--navy);border:1px solid var(--line)}
  .callbar-call svg{width:18px;height:18px}
  .callbar-book{background:var(--navy);color:#fff;border:1px solid var(--navy)}
  .callbar-book:focus-visible{outline-color:var(--focus-dark)}
  /* Reserve the bar's height so it never covers the end of the page. */
  body{padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px))}
}

/* ---------- Service cards: even heights, photo-led, softer surfaces ---------- */
.services-grid{align-items:stretch}
.services-grid .card{
  display:flex;flex-direction:column;height:100%;
  background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;
  box-shadow:0 1px 2px rgba(16,36,44,.04),0 12px 28px -18px rgba(16,36,44,.28);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.services-grid .card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;margin:0}
.services-grid .card > div{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.services-grid .card > div > :last-child{margin-top:auto}
.services-grid .card h3{letter-spacing:-.015em}
.services-grid .card:hover{
  transform:translateY(-4px);border-color:rgba(var(--navy-rgb),.25);
  box-shadow:0 2px 4px rgba(16,36,44,.05),0 22px 44px -22px rgba(16,36,44,.35)
}
@media(hover:none){.services-grid .card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){
  .services-grid .card{transition:none}
  .services-grid .card:hover{transform:none}
}
/* With the overlapping quick strip gone, the first section needs less head room. */
.hero + .section{padding-top:80px}

/* ---------- Warm pass: softer edges, friendlier type, a human accent ---------- */
.section-title{max-width:64ch}
.section-title .eyebrow{display:inline-flex;align-items:center;gap:10px}
.section-title .eyebrow::before{content:"";width:26px;height:2px;border-radius:2px;background:var(--gold);flex:0 0 auto}
.section-title h2{letter-spacing:-.022em;line-height:1.12;text-wrap:balance}
.section-title p{max-width:58ch;line-height:1.68}
.card,.post-grid .card{border-radius:22px}
.cards img,.post-grid img{border-radius:18px}
.btn{border-radius:999px;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
.btn:hover{transform:translateY(-2px)}
/* Full-bleed hero stays square. A rounded bottom edge exposed the page
   background at both corners, which read as a white gap above the next band. */

/* Hero copy rises once on load. Gated on .js-ready so a failed script leaves
   the text visible, and skipped entirely under reduced-motion. */
@keyframes ktm-hero-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.js-ready .hero h1{animation:ktm-hero-rise .48s cubic-bezier(.22,.7,.24,1) both}
.js-ready .hero p{animation:ktm-hero-rise .48s cubic-bezier(.22,.7,.24,1) .07s both}
.js-ready .hero .hero-actions,
.js-ready .hero .btn-row,
.js-ready .hero .trust{animation:ktm-hero-rise .48s cubic-bezier(.22,.7,.24,1) .14s both}
@media(prefers-reduced-motion:reduce){
  .js-ready .hero h1,
  .js-ready .hero p,
  .js-ready .hero .hero-actions,
  .js-ready .hero .btn-row,
  .js-ready .hero .trust{animation:none;opacity:1;transform:none}
}
/* Anchored sections clear the sticky header instead of hiding under it. */
[id]{scroll-margin-top:96px}
@media(prefers-reduced-motion:reduce){
  .btn{transition:none}
  .btn:hover{transform:none}
}

/* ---------- Testimonials ---------- */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;align-items:stretch}
.quote{
  margin:0;padding:30px 28px 26px;background:var(--paper,#fff);border:1px solid var(--line);border-radius:22px;
  box-shadow:0 1px 2px rgba(16,36,44,.04),0 14px 30px -22px rgba(16,36,44,.3);
  display:flex;flex-direction:column;position:relative
}
.quote blockquote{margin:0;font-size:1.02rem;line-height:1.68;color:var(--ink,#12262e)}
.quote blockquote::before{
  content:"\201C";display:block;font-size:2.4rem;line-height:.6;margin-bottom:12px;color:var(--gold)
}
.quote blockquote p{margin:0}
.quote blockquote p + p{margin-top:.7em}
.quote figcaption{margin-top:auto;padding-top:18px;border-top:1px solid var(--line);font-size:.9rem;line-height:1.45}
.quote figcaption strong{display:block;color:var(--navy)}
.quote figcaption span{display:block;color:#5c6d75;font-size:.82rem;margin-top:2px}
@media(max-width:900px){.quotes{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.quotes{grid-template-columns:1fr}}

/* ---------- Support areas: cards with image and subtext ---------- */
.services-grid .card > .service-media{padding:0;display:block;flex:0 0 auto}
.service-media img{margin:0;display:block}

.area-grid.has-cards{grid-template-columns:repeat(4,1fr);gap:18px}
.area-card{
  background:var(--paper,#fff);border:1px solid var(--line);border-radius:18px;padding:22px 20px;
  display:flex;flex-direction:column;gap:8px;
  box-shadow:0 1px 2px rgba(16,36,44,.04),0 10px 24px -20px rgba(16,36,44,.3)
}
.area-thumb{
  display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;
  border-radius:14px;background:var(--tint-accent,#fff8ec);margin-bottom:6px;overflow:hidden
}
.area-thumb img{width:52px;height:52px;object-fit:cover;display:block;margin:0;border-radius:14px}
.area-thumb.is-icon svg{width:22px;height:22px;color:var(--green)}
.area-card strong{font-size:.98rem;line-height:1.3;color:var(--navy);letter-spacing:-.01em}
.area-sub{font-size:.84rem;line-height:1.5;color:#5c6d75}
@media(max-width:1000px){.area-grid.has-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.area-grid.has-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.area-grid.has-cards{grid-template-columns:1fr}}

/* ---------- Support areas: image on top, caption underneath ---------- */
.area-grid.has-cards{grid-template-columns:repeat(4,1fr);gap:18px}
.area-card{
  position:relative;display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:0 1px 2px rgba(16,36,44,.04),0 14px 30px -24px rgba(16,36,44,.35);
  isolation:isolate
}
.area-media{
  position:relative;aspect-ratio:4/3;background:var(--tint-support,#f2f7f8);
  flex:0 0 auto;overflow:hidden
}
.area-media img{
  width:100%;height:100%;object-fit:cover;display:block;margin:0;
  transition:transform .4s ease
}
.area-body{padding:12px 14px 14px;border-top:1px solid var(--line);flex:1 1 auto}
.area-body strong{
  display:block;font-size:.95rem;line-height:1.3;font-weight:800;letter-spacing:-.01em;color:var(--navy)
}
.area-sub{display:block;margin-top:4px;font-size:.8rem;line-height:1.5;color:#5c6d75}
.area-card:hover .area-media img{transform:scale(1.03)}
.area-media-fallback{align-items:center;justify-content:center}
.area-mark{
  display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  background:rgba(var(--navy-rgb),.08);color:var(--navy)
}
.area-mark svg{width:18px;height:18px}
@media(max-width:1100px){.area-grid.has-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.area-grid.has-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
  .area-grid.has-cards{grid-template-columns:1fr}
}
@media(hover:none){.area-card:hover .area-media img{transform:none}}
@media(prefers-reduced-motion:reduce){
  .area-media img{transition:none}
  .area-card:hover .area-media img{transform:none}
}

/* Mobile hero: keep the subject centred instead of pinned right, which pushed
   the interesting part of the photo off the left edge on a narrow screen. */
@media(max-width:700px){
  .hero,.hero-slide{background-position:center center!important}
}

/* ---------- Services rail: 3-up track on desktop, list on mobile ---------- */
.services-rail{position:relative}
.services-rail .rail-track{
  grid-template-columns:none;grid-auto-flow:column;
  grid-auto-columns:minmax(0,calc((100% - 40px)/3));
  gap:20px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px
}
.services-rail .rail-track::-webkit-scrollbar{display:none}
.services-rail .rail-track .card{scroll-snap-align:start}
.services-rail .rail-track:focus-visible{outline:2px solid var(--focus,#044B67);outline-offset:4px;border-radius:8px}
.rail-nav{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.rail-btn{
  width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--navy);
  font-size:1.05rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background-color .16s ease,color .16s ease,transform .16s ease
}
.rail-btn:hover:not(:disabled){background:var(--navy);color:#fff;transform:translateY(-2px)}
.rail-btn:disabled{opacity:.35;cursor:default}
.services-rail.is-still .rail-nav{display:none}
@media(max-width:900px){
  .services-rail .rail-track{grid-auto-columns:minmax(0,calc((100% - 20px)/2))}
}
@media(max-width:700px){
  .services-rail .rail-track{
    grid-auto-flow:row;grid-template-columns:1fr;grid-auto-columns:auto;
    overflow:visible;scroll-snap-type:none
  }
  .rail-nav{display:none}
}
@media(prefers-reduced-motion:reduce){
  .rail-btn{transition:none}
  .rail-btn:hover:not(:disabled){transform:none}
}

@media print{
  /* Site chrome never belongs on paper. The header is .header (there is no
     .site-header in this theme) and the nav lives inside it, so both go. */
  #wpadminbar,.topbar,.header,.nav,.nav-links,.nav-actions,.site-footer,
  .callbar,.ktm-modal,.skip-link,.wp-accessibility-toolbar,.wpa-toolbar,
  [id*="accessibility-toolbar"]{display:none!important}
  body{background:#fff!important}
}

/* ---------- Section bands: palette-driven tints and soft brand shapes ---------- */
/* Alternating bands take a pale tint derived from the Customizer colours, and
   each tinted band carries two soft shapes plus an arc that echo the logo's
   sweep. Everything is drawn with gradients — no image assets — and the tint
   follows any palette change because it is computed in PHP. */
.section{position:relative}
#services{background:var(--tint-support)}
.section.soft-blue{background:var(--tint-primary)}
.section.soft-gold{background:var(--tint-accent)}

#services::before,
.section.soft-blue::before,
.section.soft-gold::before,
#contact::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(circle at 88% 12%, rgba(var(--teal-rgb),.10) 0 20%, transparent 58%),
    radial-gradient(circle at 6% 88%, rgba(var(--navy-rgb),.07) 0 24%, transparent 60%);
}
/* A soft arc along the bottom edge, echoing the swoosh under the logo. */
#services::after,
.section.soft-blue::after,
.section.soft-gold::after,
#contact::after{
  content:"";position:absolute;left:-6%;right:-6%;bottom:-58px;height:116px;pointer-events:none;z-index:0;
  border-radius:50%;
  background:radial-gradient(50% 100% at 50% 0, rgba(var(--teal-rgb),.13), transparent 72%);
}
#services,.section.soft-blue,.section.soft-gold,#contact{overflow:hidden}
#services>.container,.section.soft-blue>.container,.section.soft-gold>.container,#contact>.container{position:relative;z-index:1}
/* The darkest band gets a faint dot texture — the one place it reads as texture
   rather than noise. */
.cta{position:relative;overflow:hidden}
.cta::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:radial-gradient(rgba(255,255,255,.10) 1.4px, transparent 1.5px);
  background-size:26px 26px;
}
.cta>.container{position:relative;z-index:1}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .nav-links,.nav-actions>.btn{display:none}
  .menu{display:block}
  /* Pin the burger to the right edge in BOTH states. Without this it sat next to
     the brand while the menu was closed, then jumped right once it opened. */
  .nav-actions{margin-left:auto}
  .nav.open{flex-wrap:wrap}
  .nav.open .nav-links{display:grid;order:5;width:100%;gap:0;padding-bottom:14px;margin-left:0}
  .nav.open .nav-links .nav-list{display:grid;width:100%;gap:0}
  .nav.open .nav-links .nav-list a{padding:12px 0;border-top:1px solid var(--line);display:block}
  .nav.open .nav-links .nav-list .current-menu-item > a:after{display:none}
  .nav.open .nav-links .nav-list .sub-menu{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 14px;min-width:0}
  .hero-grid{grid-template-columns:1fr;gap:26px}
  .hero-media{margin-bottom:0;width:calc(100% + var(--bleed));border-radius:0}
  .hero-media img{min-height:0;aspect-ratio:16/11;border-radius:0 0 28px 0}
  .hero-scrim{border-radius:0 0 28px 0}
  .hero-copy-about{padding:10px 0 30px}
  .hero-copy-about .leaf-motif{width:110px;height:96px;top:0}
  .about-hero{padding-bottom:104px}
  .hero-wave{height:104px}
  .hero-wave .wave-heart{left:24%}
  .feature-shell{grid-template-columns:repeat(2,1fr);gap:10px 0;padding:36px 10px}
  .feature + .feature{border-left:0}
  .feature:nth-child(even){border-left:1px solid #DEE8F2}
  .cta-band-inner{flex-direction:column;align-items:flex-start;padding:36px 34px}
  .cta-band-copy{padding-left:64px}
  .cards,.services-grid,.post-grid{grid-template-columns:repeat(2,1fr)}
  .area-grid{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .step:not(:last-child):after{display:none}
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:32px}
  .footer-script{justify-content:flex-start}
}
@media(max-width:700px){
  :root{--gx:14px}
  .section{padding:68px 0}
  .topbar .left{display:none}
  .topbar-inner{justify-content:center;text-align:center}
  .topbar .right .topbar-item.email{display:none}
  .hero{min-height:560px}
  .hero-content{padding:90px 0}
  .hero-actions .btn{width:100%}
  .quick-wrap{margin-top:-25px}
  .quick{grid-template-columns:1fr}
  .quick-card{border-right:0;border-bottom:1px solid var(--line)}
  .quick-card:last-child{border-bottom:0}
  .cards,.services-grid,.post-grid{grid-template-columns:1fr}
  .area-grid,.steps{grid-template-columns:1fr 1fr}
  .ndis-inner,.cta-inner{align-items:flex-start;flex-direction:column}
  .cta-actions{width:100%}
  .cta-actions .btn{width:100%}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
  .hero-media img{aspect-ratio:4/3.4}
  .hero-script{top:22px;left:22px}
  .feature-shell{grid-template-columns:1fr;padding:34px 8px}
  .feature{padding:16px 22px}
  .feature:nth-child(even){border-left:0}
  .feature + .feature{border-top:1px solid #DEE8F2;border-left:0}
  .cta-band-copy{padding-left:0}
  .cta-leaf{left:-30px;bottom:-40px;width:140px;height:124px;opacity:.7}
  .cta-band-inner .btn{width:100%}
  .page-hero{padding:48px 0 42px}
}
@media(max-width:470px){
  .topbar-item.email{display:none}
  .brand-sub{display:none}
  .brand-name{font-size:1.35rem}
  .brand img.logo{height:52px}
  .area-grid,.steps{grid-template-columns:1fr}
  .error-404{padding:60px 0}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.card,.post-card{transition:none}
  /* Nothing is hidden, nothing slides, nothing fades on an axis. */
  .js-ready [data-reveal],
  .js-ready .section-title,
  .js-ready .post-card,
  .js-ready .cards,
  .js-ready .steps,
  .js-ready .area-grid,
  .js-ready .ndis-band{opacity:1;transform:none}
  .btn:hover,.card:hover,.post-card:hover{transform:none}
  .hero-slide{transition:none}
}
