/* 9 Folds Accounting & Tax: site styles. Tokens shared with the practice CRM. */
:root {
	--navy: #0F2F55;
	--navy-deep: #0A2140;
	--blue: #145FAD;
	--cyan: #22BFDF;
	--copper: #E89524;
	--copper-deep: #C57229;
	--fold-1: #E6F1F8;
	--fold-2: #CDE4F2;
	--fold-3: #9CCBE8;
	--paper: #F6F9FB;
	--white: #FFFFFF;
	--text: #0F2F55;
	--muted: #475A6E;
	--line: #D3E2EC;
	--on-dark: #C9DDEE;
	--radius: 8px;
	--wrap: 1200px;
	--font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; }
table, .credentials dd, .step-n { font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; color: var(--navy); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font: 700 16px/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-copper { background: var(--copper); color: var(--navy); }
.btn-copper:hover { background: #F2A63F; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.brand { display: block; flex: none; }
.brand .logo-img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--navy); text-decoration: none; font-weight: 500; padding: 10px 0; display: inline-block; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 6px; min-height: 44px; padding: 8px 14px; font: 600 15px var(--font); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; flex-direction: column; align-items: stretch; gap: 12px; box-shadow: 0 12px 24px rgba(15,47,85,.08); }
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.nav-actions { flex-direction: column; align-items: stretch; }
	.nav-phone { padding: 8px 0; }
	.brand .logo-img { height: 40px; }
}

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
	linear-gradient(135deg, transparent 0 62%, rgba(34,191,223,.10) 62% 100%),
	linear-gradient(225deg, transparent 0 74%, rgba(20,95,173,.35) 74% 100%);
	pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-kicker { color: var(--cyan); font-weight: 600; font-size: 16px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; max-width: 15ch; }
.hero-lede { margin-top: 24px; font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 36em; }
.hero-proof { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-proof li { position: relative; padding-left: 30px; color: #fff; font-weight: 500; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: linear-gradient(135deg, var(--cyan) 0 50%, var(--blue) 50% 100%); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
}

/* Enquiry card */
.enquiry-card { background: #fff; color: var(--text); border-radius: 12px; padding: 32px; box-shadow: 0 24px 60px rgba(4, 18, 38, .35); scroll-margin-top: 96px; }
.form-title { font-size: 26px; font-weight: 800; }
.form-intro { margin-top: 8px; color: var(--muted); font-size: 16px; }
.form-error { margin-top: 16px; background: #F7D9D6; color: #8A1C12; padding: 12px 14px; border-radius: 6px; font-weight: 600; font-size: 15px; }
.form-done p { margin-top: 12px; color: var(--muted); }
.enquiry-form { margin-top: 20px; display: grid; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } .enquiry-card { padding: 24px 20px; } }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #9FB4C6; border-radius: 6px; background: #fff; color: var(--navy); font: 400 16px/1.4 var(--font); }
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(232,149,36,.6); outline-offset: 1px; }
.radios { border: 0; margin: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.radios legend { width: 100%; margin-bottom: 4px; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; min-height: 32px; }
.radios input, .consent input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Deadline band */
.deadline { background: var(--copper); color: var(--navy); }
.deadline-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.deadline p { font-size: 17px; max-width: 60em; }

/* Section rhythm */
.folds, .audiences, .process, .faq { padding: 96px 0; }
.audiences { padding-top: 24px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.section-head h2, .process-intro h2, .faq h2, .reviews h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); max-width: 32em; font-size: 18px; }

/* Nine folds */
.fold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fold { position: relative; min-height: 170px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-decoration: none; color: var(--navy); transition: transform .18s ease, box-shadow .18s ease; }
.fold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,47,85,.14); color: var(--navy); }
.fold-title { font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.fold-more { font-size: 14px; font-weight: 600; color: var(--blue); }
.fold-1 { background: linear-gradient(135deg, var(--fold-1) 0 50%, var(--fold-2) 50% 100%); }
.fold-2 { background: linear-gradient(225deg, var(--fold-1) 0 50%, var(--fold-2) 50% 100%); }
.fold-3 { background: linear-gradient(135deg, var(--fold-2) 0 50%, var(--fold-1) 50% 100%); }
.fold-4 { background: linear-gradient(45deg, var(--fold-2) 0 50%, var(--fold-1) 50% 100%); }
.fold-5 { background: linear-gradient(135deg, var(--navy) 0 50%, var(--blue) 50% 100%); color: #fff; }
.fold-5 .fold-more { color: var(--cyan); }
.fold-5:hover { color: #fff; }
.fold-6 { background: linear-gradient(315deg, var(--fold-2) 0 50%, var(--fold-1) 50% 100%); }
.fold-7 { background: linear-gradient(225deg, var(--fold-2) 0 50%, var(--fold-1) 50% 100%); }
.fold-8 { background: linear-gradient(135deg, var(--fold-1) 0 50%, var(--fold-2) 50% 100%); }
.fold-9 { background: linear-gradient(45deg, var(--fold-1) 0 50%, var(--fold-2) 50% 100%); }
@media (max-width: 820px) { .fold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fold { min-height: 140px; padding: 18px; } .fold-title { font-size: 18px; } }
@media (max-width: 420px) { .fold-grid { grid-template-columns: 1fr; } .fold { min-height: 96px; } }

/* Audiences */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 32px; }
.audience { border-top: 3px solid var(--navy); padding-top: 20px; }
.audience h3 { font-size: 21px; font-weight: 700; }
.audience p { margin-top: 10px; color: var(--muted); }

/* Process */
.process { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.process-intro p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { background: #fff; padding: 28px; }
.step-n { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: var(--blue); }
.steps h3 { margin-top: 14px; font-size: 20px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { background: var(--fold-1); }
.reviews-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-top: 80px; padding-bottom: 80px; }
.reviews-inner > div { flex: 1 1 480px; }
.reviews p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 36em; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 19px; font-weight: 700; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--blue); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 88px; padding-bottom: 88px; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 800; max-width: 16ch; }
.cta-band p { margin-top: 16px; color: var(--on-dark); font-size: 18px; max-width: 32em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Inner pages */
.page-hero { background: var(--fold-1); border-bottom: 1px solid var(--line); padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; max-width: 20ch; }
.page-lede { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 38em; }
.page-content, .about, .contact-section { padding: 64px 0 96px; }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }

.service-list { padding: 24px 0 96px; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.service-name { display: flex; gap: 16px; align-items: flex-start; }
.service-icon { flex: none; width: 36px; height: 36px; }
.service h2 { font-size: 25px; font-weight: 700; line-height: 1.2; }
.service-body p { color: var(--muted); font-size: 18px; }
.service-body .service-includes { margin-top: 12px; color: var(--navy); font-size: 16px; }
@media (max-width: 800px) { .service { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-form .enquiry-card { box-shadow: none; border: 1px solid var(--line); }
.contact-aside { display: grid; gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 21px; }
.contact-card ol { margin: 14px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.contact-card.dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.contact-card.dark h2 { color: #fff; }
.contact-card.dark a { color: #fff; }
.big-phone { margin-top: 14px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.big-phone a { text-decoration: none; }
.contact-card .address { margin-top: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.values { list-style: none; padding: 0; }
.values li { padding: 12px 0; border-top: 1px solid var(--line); }
.credentials { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 100px; }
.credentials h2 { font-size: 22px; }
.credentials dl { margin: 16px 0 24px; }
.credentials dt { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 14px; }
.credentials dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .credentials { position: static; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-dark); font-size: 15px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand .logo-img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-heading { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.footer-grid p { line-height: 1.9; }
.footer-legal { border-top: 1px solid #1B3A63; padding-top: 22px; padding-bottom: 28px; font-size: 14px; line-height: 1.7; }
.footer-legal p + p { margin-top: 6px; }

/* WordPress content basics */
.alignwide { max-width: 1100px; }
.alignfull { width: 100%; }
.wp-block-button__link { background: var(--navy); color: #fff; border-radius: 6px; }
