/*
Theme Name: Scrase Practice Support
Theme URI: https://scrasepracticesupport.co.uk/
Author: Scrase Practice Support
Author URI: https://scrasepracticesupport.co.uk/
Description: A bespoke professional-services WordPress theme for Scrase Practice Support.
Version: 1.0.1
License: Proprietary
Text Domain: scrase-practice-support
*/
:root {
  --navy: #17375E;
  --navy-900: #0D2748;
  --green: #2E8B57;
  --green-700: #216B42;
  --slate: #5B6770;
  --off-white: #F7F9FC;
  --charcoal: #2C2C2C;
  --border: #DCE5EC;
  --white: #FFFFFF;
  --shadow: 0 22px 60px rgba(13, 39, 72, .11);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.62;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 12px;
}
h1, h2, h3, h4 {
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  line-height: 1.08;
  color: var(--navy);
  margin: 0;
}
h1 { font-size: clamp(2.55rem, 6vw, 5.6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.025em; }
p { margin: 0; color: var(--slate); }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 780px; }
.small { font-size: .92rem; }
strong { color: var(--navy); }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--navy); color: white; padding: 10px 14px; z-index: 1000;
}
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 229, 236, .86);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 88px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 204px; }
.brand img { width: 180px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 700; color: var(--navy); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--green); transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-weight: 800; font-size: 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 14px 22px;
  font-weight: 800; font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(13,39,72,.14); }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-700); }
.btn-secondary { background: white; color: var(--navy); border-color: var(--border); }
.btn-ghost { color: var(--navy); border-color: var(--border); background: rgba(255,255,255,.8); }
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 16%, rgba(46,139,87,.14), transparent 28%), linear-gradient(180deg, var(--off-white), #fff);
  padding: 76px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 62px; align-items: center; }
.hero-copy { padding-bottom: 80px; }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art {
  background: white; border: 1px solid var(--border); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow);
  transform: translateY(40px);
}
.hero-panel { padding: 28px 28px 32px; }
.hero-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.status-pill { border-radius: 999px; background: #EAF5EF; color: var(--green); font-weight: 800; padding: 8px 12px; font-size: .82rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; position: relative; z-index: 2; }
.mini-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px; box-shadow: 0 10px 28px rgba(13,39,72,.08); }
.mini-card b { display: block; font-family: "DM Sans", sans-serif; color: var(--navy); font-size: 1.45rem; line-height: 1; }
.mini-card span { color: var(--slate); font-size: .88rem; }
.trust-bar { background: var(--navy); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; }
.trust-item { padding: 24px 18px; display: flex; gap: 12px; align-items: center; border-left: 1px solid rgba(255,255,255,.12); }
.trust-item:first-child { border-left: 0; }
.trust-icon { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; color: white; background: rgba(46,139,87,.28); border: 1px solid rgba(46,139,87,.72); border-radius: 999px; font-weight: 900; }
.trust-item span { font-weight: 800; line-height: 1.25; }
.section { padding: 92px 0; }
.section-soft { background: var(--off-white); }
.section-dark { background: var(--navy); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255,255,255,.76); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head p { max-width: 620px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: 0 10px 32px rgba(13,39,72,.055);
}
.card h3 { margin-bottom: 14px; }
.card-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: #EAF5EF; color: var(--green); font-size: 1.25rem; font-weight: 900; margin-bottom: 24px; }
.problem-panel {
  background: white; border: 1px solid var(--border); border-radius: 34px; padding: clamp(34px, 5vw, 58px); box-shadow: var(--shadow);
}
.problem-list { display: grid; gap: 16px; margin-top: 24px; }
.tick { display: flex; gap: 12px; align-items: flex-start; color: var(--slate); }
.tick::before { content: "✓"; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; background: #EAF5EF; color: var(--green); display: grid; place-items: center; font-weight: 900; margin-top: 1px; }
.service-card { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card a { font-weight: 800; color: var(--green); margin-top: 20px; }
.split-panel { border-radius: 34px; overflow: hidden; border: 1px solid var(--border); background: white; box-shadow: var(--shadow); }
.visual-panel { min-height: 520px; background: linear-gradient(135deg, #0D2748, #17375E 58%, #2E8B57); position: relative; overflow: hidden; }
.visual-panel::before { content: ""; position: absolute; inset: 58px; border-radius: 26px; border: 1px solid rgba(255,255,255,.25); }
.visual-panel::after { content: "Supporting your clients. Strengthening your practice."; position: absolute; left: 54px; bottom: 54px; right: 54px; color: white; font-family: "DM Sans", sans-serif; font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.split-copy { padding: clamp(34px, 5vw, 58px); }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { counter-increment: step; position: relative; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.process-card::before { content: counter(step); width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: white; display: grid; place-items: center; font-weight: 900; margin-bottom: 22px; }
.software-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.software-item { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 18px; text-align: center; font-weight: 800; color: var(--navy); }
.cta { border-radius: 34px; background: linear-gradient(135deg, var(--navy), var(--navy-900)); padding: clamp(38px, 6vw, 70px); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(46,139,87,.22); right: -120px; top: -140px; }
.cta > * { position: relative; z-index: 1; }
.cta .hero-actions { margin-top: 26px; }
.page-hero { background: var(--off-white); padding: 70px 0; border-bottom: 1px solid var(--border); }
.page-hero .lead { margin-top: 20px; }
.content-flow { max-width: 820px; }
.content-flow h2 { margin: 42px 0 14px; }
.content-flow p { margin: 0 0 18px; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 34px; align-items: start; }
.contact-card { background: var(--navy); color: white; border-radius: 30px; padding: 34px; }
.contact-card h3 { color: white; }
.contact-card p, .contact-card a { color: rgba(255,255,255,.78); }
.form { display: grid; gap: 16px; }
label { font-weight: 800; color: var(--navy); }
input, textarea, select {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 15px 16px; font: inherit; color: var(--charcoal); background: white;
}
textarea { min-height: 150px; resize: vertical; }
.form-note { background: #EAF5EF; color: var(--green-700); border-radius: 16px; padding: 16px; font-size: .92rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; border: 0; background: transparent; font: inherit; font-weight: 900; color: var(--navy); text-align: left; cursor: pointer; padding: 0; }
.faq-answer { display: none; padding-top: 14px; }
.faq-item.is-open .faq-answer { display: block; }
.site-footer { background: #0D2748; color: white; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr .9fr; gap: 34px; }
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer-col h4 { color: white; margin-bottom: 15px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.72); margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.62); font-size: .9rem; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { min-height: 76px; }
  .nav-links, .header-actions { display: none; }
  .nav.is-open .nav-links, .nav.is-open .header-actions { display: flex; }
  .nav.is-open { align-items: flex-start; padding: 18px 0; flex-direction: column; }
  .nav.is-open .nav-links { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav.is-open .header-actions { width: 100%; }
  .nav.is-open .header-actions .btn { width: 100%; }
  .hero-grid, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 10px; }
  .hero-art { transform: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .process { grid-template-columns: repeat(2, 1fr); }
  .software-grid { grid-template-columns: repeat(3, 1fr); }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 46px; }
  .hero-actions, .header-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .trust-grid, .grid-3, .grid-4, .process, .software-grid, .stat-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .brand img { width: 150px; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .visual-panel { min-height: 360px; }
  .visual-panel::after { left: 30px; right: 30px; bottom: 34px; }
}

.footer-legal{margin-top:18px;color:rgba(255,255,255,.64);font-size:12px;line-height:1.6;}

.profile-photo-card{border-radius:34px;overflow:hidden;border:1px solid var(--border);background:white;box-shadow:var(--shadow);position:relative;}
.profile-photo-card img{width:100%;height:100%;min-height:520px;object-fit:cover;}
.profile-photo-card .profile-fallback{display:grid;place-items:center;min-height:520px;background:linear-gradient(135deg,#0D2748,#17375E 58%,#2E8B57);color:white;text-align:center;padding:42px;}
.profile-photo-card .profile-fallback strong{display:block;color:white;font-family:"DM Sans",sans-serif;font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.04em;line-height:1.05;}
.profile-photo-card .profile-fallback span{display:block;margin-top:14px;color:rgba(255,255,255,.78);font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.82rem;}
.profile-caption{position:absolute;left:22px;right:22px;bottom:22px;border-radius:20px;background:rgba(13,39,72,.88);backdrop-filter:blur(10px);padding:18px 20px;color:white;}
.profile-caption b{display:block;color:white;font-family:"DM Sans",sans-serif;font-size:1.25rem;}
.profile-caption span{display:block;color:rgba(255,255,255,.76);font-size:.9rem;}

.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
