/*
Theme Name: Lucy Pedley Bookkeeping Signature
Theme URI: https://lucypedleybookkeeping.com.au/
Author: WOTLINK
Description: Premium theme for Lucy Pedley Bookkeeping. Includes self-updating Key dates with add-to-calendar, a BAS countdown, Xero and MYOB software tabs, interactive services, a time-cost calculator, a testimonial slider and automatic latest blog posts. Edit everything under Appearance > Customize > Lucy Pedley theme. Features can also be placed on any page with the shortcodes [lpb_key_dates], [lpb_bas_countdown], [lpb_software], [lpb_calculator] and [lpb_testimonials].
Version: 3.3.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: lpb
*/

:root {
	--night: #071E24;
	--deep: #0B2A31;
	--mist: #EDF4F3;
	--ink: #0B2A30;
	--teal: #00ACC4;
	--teal-ink: #007F91;
	--green: #8EC63F;
	--violet: #AE92FF;
	--pale: #EEF5F4;
	--soft: color-mix(in srgb, var(--pale) 72%, var(--night));
	--hair: color-mix(in srgb, var(--pale) 16%, transparent);
	--hair-ink: color-mix(in srgb, var(--ink) 14%, transparent);

	--serif: "Newsreader", "Iowan Old Style", Georgia, serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(20px, 4.5vw, 64px);
	--space: clamp(88px, 11vw, 160px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--soft); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: var(--pale); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; line-height: 1.06; letter-spacing: -0.018em; color: var(--pale); margin: 0 0 .45em; }
h2 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; position: relative; }
.light { background: var(--mist); color: color-mix(in srgb, var(--ink) 78%, var(--mist)); color-scheme: light; }
.light h2, .light h3 { color: var(--ink); }
.light a:not([class]) { color: var(--teal-ink); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; max-width: 44ch; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--night); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn-primary { background: var(--teal); color: var(--night); }
.btn-primary:hover { background: var(--pale); color: var(--night); }
.btn-line { border-color: color-mix(in srgb, var(--pale) 40%, transparent); color: var(--pale); }
.btn-line:hover { border-color: var(--pale); background: var(--pale); color: var(--night); }
.light .btn-line { border-color: var(--hair-ink); color: var(--ink); }
.light .btn-line:hover { background: var(--ink); color: var(--mist); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--pale); }
.link-arrow svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.light .link-arrow { color: var(--ink); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--hair); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 96px; transition: height .35s var(--ease); }
.is-scrolled .header-inner { height: 74px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--pale); text-decoration: none; }
.brand:hover { color: var(--pale); }
.brand-mark, .brand-custom { height: 58px; width: auto; display: block; transition: height .35s var(--ease); }
.is-scrolled .brand-mark, .is-scrolled .brand-custom { height: 46px; }
.brand-name { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.45rem; line-height: 1; letter-spacing: -0.01em; color: var(--pale); }
.brand-name small { margin-top: 6px; font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav-list li { position: relative; }
.nav-list a { color: var(--soft); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 0; transition: color .2s; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--pale); }
.nav-list .sub-menu { position: absolute; top: calc(100% + 10px); left: -20px; min-width: 230px; list-style: none; margin: 0; padding: 12px 0; background: var(--deep); border: 1px solid var(--hair); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub-menu a { display: block; padding: 9px 20px; }
.site-nav .btn { padding: 12px 22px; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--hair); border-radius: 50%; background: none; cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: var(--pale); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: calc(96px + clamp(40px, 6vw, 80px)) 0 clamp(72px, 8vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--teal) 14%, transparent), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 5.6vw, 5.4rem); line-height: 1.03; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; margin-bottom: .4em; }
.hero .lede { margin-bottom: 2.2em; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(28px, 4vw, 64px); margin: clamp(48px, 6vw, 80px) 0 0; padding: 28px 0 0; border-top: 1px solid var(--hair); }
.stat dt { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--pale); font-variant-numeric: tabular-nums; }
.stat dd { margin: 8px 0 0; font-size: .9rem; max-width: 18ch; }

.hero-visual { position: relative; isolation: isolate; justify-self: end; width: min(100%, 470px); }
.arch { position: relative; aspect-ratio: 4 / 5.3; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--deep); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.is-loaded .arch img { transform: none; }
.rings { position: absolute; inset: -12% -16% auto -16%; width: 132%; aspect-ratio: 1; pointer-events: none; z-index: -1; }
.rings circle { fill: none; stroke-width: 1; }
.rings g { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.rings g:nth-child(2) { animation-duration: 140s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* BAS countdown: standalone card (shortcode) and full-width strip (homepage) */
.bas-card { position: relative; max-width: 380px; padding: 24px 26px; border-radius: 18px; background: var(--deep); border: 1px solid var(--hair); }
.bas-label { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--soft); margin: 0 0 10px; }
.pulse { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.bas-date { font-family: var(--serif); font-size: 2.2rem; line-height: 1.05; color: var(--pale); margin: 0 0 6px; }
.bas-period { font-size: .9rem; margin: 0 0 18px; }
.bas-meter { height: 3px; border-radius: 3px; background: var(--hair); overflow: hidden; margin-bottom: 12px; }
.bas-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--green)); transition: width 1.4s var(--ease); }
.bas-days { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; margin: 0; }
.bas-days strong { color: var(--pale); font-weight: 600; }

.bas-band { background: var(--deep); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: clamp(44px, 5vw, 64px) 0; }
.bas-band .bas-strip { display: grid; grid-template-columns: 4fr 5fr auto; gap: clamp(32px, 5vw, 72px); align-items: center; max-width: none; padding: 0; border: 0; border-radius: 0; background: none; }
.bas-band .bas-date { font-size: clamp(2.2rem, 3.4vw, 3rem); margin: 0; white-space: nowrap; }
.bas-band .bas-period { margin: 8px 0 0; }
.bas-band .bas-days strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1; }
.bas-band .bas-days { align-items: baseline; margin-bottom: 14px; }
.bas-band .bas-meter { margin: 0; height: 4px; }
.bas-band .bas-note { margin-top: 14px; }

/* Hero load sequence: one orchestrated entrance */
.js .hero [data-in] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.is-loaded .hero [data-in] { opacity: 1; transform: none; }
.js.is-loaded .hero [data-in="2"] { transition-delay: .12s; }
.js.is-loaded .hero [data-in="3"] { transition-delay: .24s; }
.js.is-loaded .hero [data-in="4"] { transition-delay: .4s; }
.js.is-loaded .hero [data-in="5"] { transition-delay: .7s; }

/* Marquee (replaces the old patterned band) */
.marquee { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); overflow: hidden; padding: clamp(22px, 3vw, 34px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item { display: inline-flex; align-items: center; gap: clamp(28px, 4vw, 52px); padding-right: clamp(28px, 4vw, 52px); font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.1; color: var(--pale); white-space: nowrap; }
.marquee-icon { width: clamp(30px, 3.4vw, 44px); height: auto; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.portrait { position: relative; isolation: isolate; margin: 0; padding: clamp(12px, 1.4vw, 18px); }
/* Decorative frame: an evenly spaced arch outline in the LPB logo colours */
.portrait::after { content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: 999px 999px 30px 30px; background: linear-gradient(165deg, var(--teal) 0%, var(--green) 55%, var(--violet) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; opacity: .85; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 14px 14px; }
.portrait.is-mono img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.about-copy h2 { max-width: 14ch; }
.about-copy p { max-width: 54ch; }
.signature { display: flex; align-items: center; gap: 18px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--hair); }
.signature-name { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--pale); line-height: 1; }
.signature-role { font-size: .9rem; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.creds li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--hair); border-radius: 999px; font-size: .88rem; color: var(--pale); }
.creds li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.creds li:nth-child(3n+2)::before { background: var(--green); }
.creds li:nth-child(3n)::before { background: var(--violet); }

/* Services: tabs on desktop, accordion on mobile (same markup) */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 46ch; justify-self: end; }
.svc { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(40px, 7vw, 112px); align-items: start; }
.svc-tab { grid-column: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 26px 0; background: none; border: 0; border-top: 1px solid var(--hair-ink); color: color-mix(in srgb, var(--ink) 45%, var(--mist)); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; text-align: left; cursor: pointer; transition: color .25s var(--ease); }
.svc-tab:nth-of-type(1) { grid-row: 1; } .svc-tab:nth-of-type(2) { grid-row: 2; } .svc-tab:nth-of-type(3) { grid-row: 3; } .svc-tab:nth-of-type(4) { grid-row: 4; } .svc-tab:nth-of-type(5) { grid-row: 5; } .svc-tab:nth-of-type(6) { grid-row: 6; }
.svc-tab:last-of-type { border-bottom: 1px solid var(--hair-ink); }
.svc-tab:hover, .svc-tab[aria-selected="true"] { color: var(--ink); }
.svc-tab .svc-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair-ink); display: grid; place-items: center; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.svc-tab[aria-selected="true"] .svc-icon { background: var(--teal); border-color: var(--teal); transform: rotate(-45deg); }
.svc-tab svg { width: 16px; height: 16px; stroke: currentColor; }
.svc-panel { grid-column: 2; grid-row: 1 / span 6; padding: clamp(32px, 4vw, 52px); border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -48px rgba(7, 30, 36, .35); }
.svc-panel[hidden] { display: none; }
.js .svc-panel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.svc-tagline { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; color: var(--ink); margin-bottom: .6em; }
.svc-panel ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.svc-panel li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.svc-panel li svg { flex-shrink: 0; margin-top: 4px; width: 18px; height: 18px; }

/* Calculator */
.calc { background: var(--deep); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.calc-panel { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--hair); border-radius: 22px; background: color-mix(in srgb, var(--night) 60%, transparent); }
.field { margin-bottom: 32px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.field label { color: var(--pale); font-weight: 500; }
.field output { font-family: var(--serif); font-size: 1.8rem; color: var(--pale); line-height: 1; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--fill, 30%), var(--hair) var(--fill, 30%)); outline-offset: 8px; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pale); border: 6px solid var(--teal); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--pale); border: 6px solid var(--teal); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; border-top: 1px solid var(--hair); }
.calc-result dt { font-size: .9rem; margin-bottom: 6px; }
.calc-result dd { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--pale); font-variant-numeric: tabular-nums; }
.calc-result .is-accent { color: var(--green); }
.calc-note { font-size: .85rem; margin: 22px 0 0; }

/* Difference */
.diff h2 { max-width: 22ch; margin-bottom: clamp(48px, 6vw, 80px); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.diff-item { padding-top: 28px; border-top: 1px solid var(--hair); position: relative; }
.diff-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: var(--teal); }
.diff-item:nth-child(2)::before { background: var(--green); }
.diff-item:nth-child(3)::before { background: var(--violet); }
.diff-item h3 { font-size: 1.7rem; margin-bottom: .5em; }
.diff-item p { margin: 0; }

/* Testimonial slider */
.quotes { border-top: 1px solid var(--hair); }
.slider { position: relative; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote { margin: 0; }
.slide p { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.9rem); line-height: 1.16; color: var(--pale); letter-spacing: -0.01em; max-width: 30ch; }
.quotes-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 96px); }
.quotes-grid h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 9ch; }
.quote-mark { display: block; font-family: var(--serif); font-size: 7rem; line-height: .6; color: var(--teal); margin: 8px 0 0; }
.slide figcaption { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; }
.slide figcaption strong { color: var(--pale); font-weight: 600; }
.slider-ui { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.dots { display: flex; gap: 10px; }
.dots button { width: 36px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: var(--hair); cursor: pointer; position: relative; overflow: hidden; }
.dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform-origin: left; animation: dotfill var(--slide-time, 7s) linear forwards; }
.slider.is-paused .dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair); background: none; color: var(--pale); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.arrows button:hover { background: var(--pale); color: var(--night); }
.arrows svg { width: 18px; height: 18px; stroke: currentColor; }

/* Latest insights */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: #fff; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(7, 30, 36, .45); }
.post-card img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; margin: -12px -12px 24px; width: calc(100% + 24px); max-width: none; }
.post-meta { font-size: .85rem; margin-bottom: 14px; color: color-mix(in srgb, var(--ink) 60%, #fff); }
.post-card h3 { font-size: 1.65rem; line-height: 1.12; color: var(--ink); margin-bottom: .6em; }
.post-card p { font-size: .98rem; margin-bottom: 24px; }
.post-card .link-arrow { margin-top: auto; color: var(--teal-ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact h2 { font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1.03; max-width: 14ch; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 22px 0; border-top: 1px solid var(--hair); }
.contact-list li:last-child { border-bottom: 1px solid var(--hair); }
.contact-list span { display: block; font-size: .85rem; margin-bottom: 4px; }
.contact-list a, .contact-list strong { font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.65rem); font-weight: 400; color: var(--pale); text-decoration: none; line-height: 1.2; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--teal); }
.contact-form { margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--hair); border-radius: 22px; }
.contact-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .contact-form textarea, .contact-form select,
.entry-content input:not([type=submit]):not([type=checkbox]):not([type=radio]), .entry-content textarea {
	width: 100%; padding: 14px 0; background: transparent; color: var(--pale); border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--teal); }
.contact-form input[type=submit], .contact-form button[type=submit], .entry-content input[type=submit] {
	margin-top: 20px; padding: 16px 34px; border-radius: 999px; border: 0; background: var(--teal); color: var(--night); font: inherit; font-weight: 600; cursor: pointer;
}

/* Mobile action bar */
.action-bar { display: none; }

/* Inner pages */
.page-head { padding: calc(96px + clamp(48px, 7vw, 100px)) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--hair); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%); }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 1.03; max-width: 14ch; margin: 0; }
.post-date { font-size: .95rem; margin-bottom: 1em; }
.entry-content { max-width: 760px; font-size: 1.12rem; }
.entry-content > * + h2 { margin-top: 1.4em; }
.entry-content h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content img { margin: 1.6em 0; border-radius: 14px; }
.entry-content blockquote { margin: 1.6em 0; padding-left: 26px; border-left: 2px solid var(--teal); font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; color: var(--pale); }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--teal); color: var(--night); padding: 16px 30px; font-weight: 600; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.archive-grid .post-card { background: var(--deep); }
.archive-grid .post-card h3 { color: var(--pale); }
.archive-grid .post-meta, .archive-grid .post-card p { color: var(--soft); }
.archive-grid .post-card .link-arrow { color: var(--teal); }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--hair); }
.nav-links { display: flex; gap: 16px; margin-top: 56px; }

/* Footer */
.site-footer { background: var(--night); border-top: 1px solid var(--hair); padding: clamp(64px, 8vw, 100px) 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .brand-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.footer-brand .brand-mark, .footer-brand .brand-custom { height: 72px; width: auto; }
.footer-brand .brand-name { font-size: 1.6rem; }
.footer-brand p { max-width: 32ch; }
.site-footer h3 { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--pale); letter-spacing: 0; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6em; }
.site-footer a { color: var(--soft); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--hair); font-size: .85rem; }
.footer-base p { margin: 0; }

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .875rem; }

/* ---------- Social icons ---------- */
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair); color: var(--pale); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.social a:hover { background: var(--teal); border-color: var(--teal); color: var(--night); }
.social svg { width: 18px; height: 18px; }
.signature { justify-content: space-between; }
.contact-list .social { margin-top: 8px; }
.footer-brand .social { margin-top: 24px; }

/* ---------- Partner badges ---------- */
.partners { display: flex; align-items: center; gap: 24px 40px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 1px solid var(--hair); }
.partners p { margin: 0; color: var(--pale); font-weight: 500; }
.partners ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; }
.partners li { background: #fff; border-radius: 14px; padding: 10px 18px; height: 76px; display: flex; align-items: center; }
.partners img { height: 56px; width: auto; }
.partner-tpb { gap: 12px; color: var(--ink); font-size: .85rem; line-height: 1.3; }
.partner-tpb strong { display: block; font-size: .92rem; }
.partner-tpb img { height: 50px; }

/* ---------- Software (Xero / MYOB) ---------- */
.sw-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--hair-ink); margin-bottom: clamp(28px, 4vw, 44px); }
.sw-tab { padding: 12px 30px; border: 0; border-radius: 999px; background: none; color: color-mix(in srgb, var(--ink) 60%, #fff); font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.sw-tab[aria-selected="true"] { background: var(--ink); color: var(--mist); }
.sw-panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 52px); border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -48px rgba(7, 30, 36, .35); }
.sw-panel[hidden] { display: none; }
.js .sw-panel:not([hidden]) { animation: panelIn .5s var(--ease); }
.sw-logos { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; min-height: 64px; }
.sw-logos img { height: auto; }
.sw-badge { height: 64px; width: auto; }
.sw-intro h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; }
.sw-intro .btn-row { margin-top: 28px; }
.sw-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.sw-features li { display: flex; gap: 16px; align-items: flex-start; }
.sw-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 12%, #fff); color: var(--teal-ink); }
.sw-ico svg { width: 22px; height: 22px; }
.sw-txt { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.sw-txt strong { color: var(--ink); font-weight: 600; line-height: 1.3; }
.sw-txt span { font-size: .95rem; line-height: 1.55; }

/* ---------- Key dates ---------- */
.keydates { background: var(--deep); }
.kd { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kd-feature { padding: clamp(28px, 3.5vw, 44px); border-radius: 22px; background: var(--night); border: 1px solid var(--hair); position: sticky; top: 110px; }
.kd-f-date { white-space: nowrap; font-family: var(--serif); font-size: clamp(2.2rem, 3.3vw, 3rem); line-height: 1.05; color: var(--pale); margin: 6px 0 8px; }
.kd-f-title { margin: 0 0 26px; }
.kd-feature .bas-meter { height: 4px; margin-bottom: 14px; }
.kd-f-days { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--pale); margin-bottom: 22px; }
.kd-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.kd-filters button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--hair); background: none; color: var(--soft); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.kd-filters button:hover { border-color: var(--pale); color: var(--pale); }
.kd-filters button[aria-pressed="true"] { background: var(--pale); border-color: var(--pale); color: var(--night); }
.kd-list { list-style: none; margin: 0; padding: 0; }
.kd-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--hair); }
.kd-item:last-child { border-bottom: 1px solid var(--hair); }
.kd-when { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 16px; border: 1px solid var(--hair); }
.kd-day { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--pale); }
.kd-mon { font-size: .74rem; margin-top: 4px; }
.kd-body { display: flex; flex-direction: column; gap: 3px; }
.kd-title { color: var(--pale); font-weight: 500; }
.kd-meta { font-size: .88rem; }
.kd-cal-links { display: flex; flex-wrap: wrap; gap: 6px; }
.kd-cal-btn { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); background: none; color: var(--soft); font: inherit; font-size: .8rem; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.kd-cal-btn:hover { border-color: var(--teal); color: var(--pale); }
.kd-add { position: relative; }
.kd-add summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hair); color: var(--soft); font-size: .85rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.kd-add summary::-webkit-details-marker { display: none; }
.kd-add summary::before { content: "+"; font-size: 1.05rem; line-height: 1; color: var(--teal); }
.kd-add summary:hover, .kd-add[open] summary { border-color: var(--teal); color: var(--pale); }
.kd-add .kd-cal-links { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; flex-direction: column; align-items: stretch; gap: 4px; min-width: 190px; padding: 8px; border-radius: 14px; background: var(--night); border: 1px solid var(--hair); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
.kd-add .kd-cal-btn { border: 0; border-radius: 10px; justify-content: flex-start; padding: 10px 12px; font-size: .88rem; }
.kd-add .kd-cal-btn:hover { background: var(--deep); }
.kd .bas-note { margin-top: 18px; }

/* ---------- Stay connected ---------- */
.stay { background: var(--deep); border-top: 1px solid var(--hair); padding: clamp(64px, 8vw, 104px) 0; }
.stay-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.stay h2 { margin-bottom: .35em; }
.stay .lede { margin: 0; max-width: 52ch; }
.stay-action { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.stay-form { width: 100%; }
.stay-form input[type=email], .stay-form input[type=text] { width: 100%; padding: 16px 22px; border-radius: 999px; border: 1px solid var(--hair); background: var(--night); color: var(--pale); font: inherit; }
.stay-form input[type=submit], .stay-form button { margin-top: 10px; padding: 16px 30px; border-radius: 999px; border: 0; background: var(--teal); color: var(--night); font: inherit; font-weight: 600; cursor: pointer; }
.stay-follow { display: flex; align-items: center; gap: 16px; color: var(--pale); font-weight: 500; }

@media (max-width: 1060px) {
	.sw-panel, .kd, .stay-grid { grid-template-columns: 1fr; }
	.kd-feature { position: static; }
}
@media (max-width: 700px) {
	.sw-features { grid-template-columns: 1fr; }
	.sw-tabs { display: flex; }
	.sw-tab { flex: 1; }
	.kd-item { grid-template-columns: 64px 1fr; }
	.kd-when { width: 64px; height: 64px; }
	.kd-add { grid-column: 2; }
	.kd-add .kd-cal-links { left: 0; right: auto; }
	.partners li { height: 64px; padding: 8px 14px; }
	.partners img { height: 46px; }
	.signature { flex-wrap: wrap; gap: 18px; }
}

/* Responsive */
@media (max-width: 1060px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px; padding: 120px var(--gutter) 60px; background: var(--night); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { background: var(--night); }
	.nav-list { flex-direction: column; gap: 6px; }
	.nav-list a { font-family: var(--serif); font-size: 2.4rem; color: var(--pale); }
	.nav-list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 4px 0 8px 4px; }
	.nav-list .sub-menu a { font-family: var(--sans); font-size: 1rem; color: var(--soft); padding: 6px 0; }
	.hero-grid, .about-grid, .calc-grid, .contact-grid { grid-template-columns: 1fr; }
	.hero-visual { justify-self: start; width: min(100%, 520px); margin-left: 8%; }
	.section-head { grid-template-columns: 1fr; }
	.section-head p { justify-self: start; }
	.svc { grid-template-columns: 1fr; }
	.svc-tab, .svc-panel { grid-column: 1; grid-row: auto !important; }
	.svc-panel { margin-bottom: 18px; }
	.diff-grid, .posts-grid, .quotes-grid { grid-template-columns: 1fr; }
	.bas-band .bas-strip { grid-template-columns: 1fr; gap: 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.portrait { max-width: 440px; }
}
@media (max-width: 700px) {
	.header-inner { height: 78px; }
	.brand-mark, .brand-custom { height: 46px; }
	.brand-name { font-size: 1.2rem; }
	.hero { padding-top: calc(78px + 36px); }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:last-child { grid-column: 1 / -1; }
	.hero-visual { margin-left: 0; }
	.svc-panel ul, .calc-result { grid-template-columns: 1fr; }
	.slider-ui { flex-direction: column-reverse; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; }
	.btn-row .btn { flex: 1 1 100%; }
	.action-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; gap: 8px; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--deep) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--hair); transform: translateY(140%); transition: transform .4s var(--ease); }
	.action-bar.is-visible { transform: none; }
	.action-bar a { flex: 1; padding: 13px 10px; font-size: .92rem; }
	.site-footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.marquee-track { animation: none; flex-wrap: wrap; width: auto; }
	.marquee-group[aria-hidden="true"] { display: none; }
}
.entry-content .svc { margin: 2em 0; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--mist); }
.entry-content .svc-tab { color: color-mix(in srgb, var(--ink) 45%, var(--mist)); }
.entry-content .svc-tab[aria-selected="true"], .entry-content .svc-tab:hover { color: var(--ink); }
.entry-content .calc-panel, .entry-content .slider, .entry-content .bas-card { margin: 2em 0; }
.entry-content .bas-card p { margin-bottom: 0; }
.entry-content .slide p { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.bas-note { font-size: .8rem; line-height: 1.5; margin: 12px 0 0; color: color-mix(in srgb, var(--pale) 55%, var(--night)); }
