/*
Theme Name: JHS & Co CPA
Theme URI: https://jhscocpa.com
Author: JHS & Co
Description: A custom, brand-compliant WordPress theme for JHS & Co Chartered Professional Accountants.
Version: 1.1.2
Text Domain: jhs-co-cpa
*/

:root { --blue:#0C1A30; --gold:#DDBB8A; --bone:#F4F4F4; --white:#FFFFFF; --black:#010101; --line:rgba(12,26,48,.10); --soft-blue:rgba(12,26,48,.62); --ease:cubic-bezier(.23,1,.32,1); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--white); color:var(--black); font-family:"DM Sans",sans-serif; font-size:16px; font-weight:400; line-height:1.4; letter-spacing:-.01em; }
body.menu-open { overflow:hidden; }
img { display:block; height:auto; max-width:100%; }
a { color:inherit; text-decoration:none; }
h1,h2,h3,h4,p { margin:0; }
h1,h2,h3,h4 { color:var(--blue); font-family:"Playfair Display",Georgia,serif; font-weight:400; letter-spacing:0; line-height:.9; }
h1 { font-size:clamp(2.85rem,6vw,5.5rem); }
h2 { font-size:clamp(2.15rem,4vw,3.7rem); }
h3 { font-size:clamp(1.35rem,2vw,1.75rem); }
.site-shell { margin:0 auto; max-width:1280px; padding-left:24px; padding-right:24px; }
.site-main { padding-top:72px; }
.screen-reader-text { clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; white-space:nowrap; width:1px; }
.site-header { background:var(--white); border-bottom:1px solid var(--line); box-shadow:0 1px 3px rgba(12,26,48,.04); left:0; position:fixed; right:0; top:0; z-index:99; }
.nav-row { align-items:center; display:flex; height:72px; justify-content:space-between; }
.site-brand { display:flex; align-items:center; }
.wordmark { color:var(--blue); font-family:"Playfair Display",Georgia,serif; font-size:1.5rem; line-height:1; white-space:nowrap; }
.wordmark span { color:var(--gold); }
.custom-logo-link { display:inline-flex; min-height:50px; align-items:center; }
.custom-logo { max-height:56px; width:auto; }
.desktop-nav .jhs-menu,.jhs-footer-menu,.mobile-nav .jhs-menu { list-style:none; margin:0; padding:0; }
.desktop-nav .jhs-menu { display:flex; gap:40px; }
.desktop-nav a { color:rgba(12,26,48,.44); font-size:.6875rem; font-weight:500; letter-spacing:0; text-transform:uppercase; transition:color .2s var(--ease); }
.desktop-nav .current-menu-item a,.desktop-nav a:hover { color:var(--blue); }
.desktop-actions { align-items:center; display:flex; gap:24px; }
.phone-link { align-items:center; color:rgba(12,26,48,.48); display:inline-flex; font-size:.6875rem; gap:8px; transition:color .2s var(--ease); }
.phone-link:hover { color:var(--blue); }
.button { align-items:center; border:1px solid var(--blue); display:inline-flex; font-size:.8125rem; font-weight:500; gap:8px; justify-content:center; letter-spacing:0; padding:15px 28px; text-transform:uppercase; transition:background-color .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease),transform .16s var(--ease); }
.button:hover { transform:translateY(-2px); }
.button:active { transform:scale(.97); }
.button-gold { background:var(--gold); border-color:var(--gold); color:var(--blue); }
.button-gold:hover { background:var(--bone); border-color:var(--bone); }
.button-outline { border-color:rgba(255,255,255,.32); color:var(--white); }
.button-outline:hover { border-color:var(--gold); color:var(--gold); }
.button-small { font-size:.6875rem; padding:10px 20px; }
.menu-toggle { background:transparent; border:0; display:none; padding:10px; }
.menu-toggle span:not(.screen-reader-text) { background:var(--blue); display:block; height:1px; margin:5px 0; width:20px; }
.mobile-nav { background:var(--white); border-top:1px solid var(--line); }
.mobile-nav .site-shell { padding-bottom:24px; padding-top:18px; }
.mobile-nav .jhs-menu { display:flex; flex-direction:column; }
.mobile-nav .jhs-menu a { color:rgba(12,26,48,.62); display:block; font-size:.875rem; font-weight:500; padding:13px 0; text-transform:uppercase; }
.mobile-actions { border-top:1px solid var(--line); display:grid; gap:16px; margin-top:10px; padding-top:18px; }
.mobile-actions > a:first-child { color:rgba(12,26,48,.6); font-size:.875rem; }
.eyebrow,.footer-label { color:var(--gold); font-size:.6875rem; font-weight:500; letter-spacing:0; line-height:1; text-transform:uppercase; }
.hero { background-color:var(--blue); background-position:70% center; background-size:cover; color:var(--white); position:relative; }
.hero::before { background:linear-gradient(90deg,var(--blue) 0%,rgba(12,26,48,.87) 43%,rgba(12,26,48,.28) 100%); content:""; inset:0; position:absolute; }
.hero::after { background:linear-gradient(180deg,rgba(12,26,48,.1),transparent 45%,rgba(12,26,48,.28)); content:""; inset:0; position:absolute; }
.hero-content { margin-left:clamp(2rem,7vw,9rem); margin-right:auto; max-width:665px; padding-bottom:160px; padding-top:160px; position:relative; z-index:1; }
.hero h1 { color:var(--white); margin-top:24px; }
.hero .intro { color:rgba(255,255,255,.72); font-size:1.125rem; margin-top:28px; max-width:560px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:16px; margin-top:36px; }
.section { padding-bottom:96px; padding-top:96px; }
.section-bone { background:var(--bone); }
.section-white { background:var(--white); }
.section-blue { background:var(--blue); color:var(--white); }
.section-blue h2 { color:var(--white); }
.section-heading { margin:0 auto 56px; max-width:720px; text-align:center; }
.section-heading h2 { margin-top:18px; }
.value-grid { display:grid; gap:32px; grid-template-columns:repeat(3,1fr); }
.value-card { background:var(--white); border:1px solid var(--line); padding:40px; }
.value-marker { align-items:center; border:1px solid var(--gold); color:var(--gold); display:flex; font-family:"Playfair Display",serif; font-size:1.25rem; height:32px; justify-content:center; margin-bottom:28px; width:32px; }
.value-card h3 { margin-bottom:14px; }
.value-card p,.body-muted { color:var(--soft-blue); font-size:.9375rem; }
.approach { margin:0 auto; max-width:800px; text-align:center; }
.approach h2 { margin-top:22px; }
.approach p { color:rgba(12,26,48,.7); font-size:1.125rem; margin-top:28px; }
.service-preview-head { align-items:end; display:grid; gap:24px; grid-template-columns:2fr 1fr; margin-bottom:56px; }
.service-preview-head h2 { margin-top:16px; max-width:690px; }
.service-preview-head > p { color:rgba(12,26,48,.6); font-size:.9375rem; text-align:right; }
.service-preview { background:var(--line); display:grid; gap:1px; grid-template-columns:repeat(2,1fr); }
.service-preview a { background:var(--white); display:block; min-height:250px; padding:40px; transition:background-color .2s var(--ease); }
.service-preview a:hover { background:var(--blue); }
.service-preview a:hover h3 { color:var(--white); }
.service-preview a:hover p { color:rgba(255,255,255,.68); }
.service-preview a:hover .view-service { color:var(--gold); }
.service-range { color:var(--gold); display:block; font-size:.6875rem; font-weight:500; margin-bottom:22px; text-transform:uppercase; }
.service-preview h3 { margin-bottom:14px; transition:color .2s var(--ease); }
.service-preview p { color:rgba(12,26,48,.65); font-size:.9375rem; transition:color .2s var(--ease); }
.view-service { color:var(--gold); display:inline-block; font-size:.75rem; font-weight:500; margin-top:26px; text-transform:uppercase; }
.image-band { align-items:center; background-position:center; background-size:cover; display:flex; justify-content:center; min-height:360px; position:relative; text-align:center; }
.image-band::after { background:rgba(12,26,48,.42); content:""; inset:0; position:absolute; }
.image-band p { color:var(--white); font-family:"Playfair Display",Georgia,serif; font-size:clamp(1.5rem,2.5vw,2.25rem); line-height:1.05; max-width:650px; padding:24px; position:relative; z-index:1; }
.cta-center { margin:0 auto; max-width:700px; text-align:center; }
.cta-center h2 { margin-top:18px; }
.cta-center p { color:rgba(255,255,255,.68); font-size:1rem; margin:20px auto 36px; max-width:560px; }
.page-hero { background:var(--blue); color:var(--white); padding:112px 0; }
.page-hero h1 { color:var(--white); margin-top:18px; max-width:880px; }
.page-hero .intro { color:rgba(255,255,255,.68); font-size:1rem; margin-top:26px; max-width:580px; }
.page-hero-split { display:grid; gap:48px; grid-template-columns:2fr 1fr; }
.page-hero-split .intro { align-self:end; }
.service-index { display:grid; gap:1px; grid-template-columns:repeat(3,1fr); background:var(--line); }
.service-index a { background:var(--white); display:flex; flex-direction:column; justify-content:space-between; min-height:170px; padding:24px; transition:background-color .2s var(--ease); }
.service-index a:hover { background:var(--bone); }
.service-index span { color:var(--gold); font-size:.75rem; font-weight:500; }
.service-index strong { color:var(--blue); font-family:"Playfair Display",Georgia,serif; font-size:1.25rem; font-weight:400; line-height:1; }
.service-group { padding:96px 0; }
.group-head { display:grid; gap:28px; grid-template-columns:1fr 2fr; margin-bottom:50px; }
.group-head h2 { margin-top:14px; }
.group-head .body-muted { margin-top:20px; max-width:650px; }
.service-row { border-top:1px solid var(--line); display:grid; gap:48px; grid-template-columns:1fr 2fr; padding:56px 0; scroll-margin-top:90px; }
.service-row:last-child { border-bottom:1px solid var(--line); }
.service-row-number { color:var(--gold); font-size:.75rem; font-weight:500; }
.service-row h3 { margin-top:24px; max-width:400px; }
.service-row .eyebrow { margin-top:16px; }
.service-summary { color:rgba(12,26,48,.82); font-size:1.125rem; }
.service-description { color:rgba(12,26,48,.62); font-size:.9375rem; margin-top:18px; max-width:720px; }
.service-items { border-top:1px solid var(--line); display:grid; gap:12px 32px; grid-template-columns:repeat(2,1fr); list-style:none; margin:28px 0 0; padding:24px 0 0; }
.service-items li { color:rgba(12,26,48,.68); font-size:.875rem; padding-left:16px; position:relative; }
.service-items li::before { background:var(--gold); content:""; height:4px; left:0; position:absolute; top:.52rem; width:4px; }
.service-note { border-left:2px solid var(--gold); color:rgba(12,26,48,.58); font-size:.8125rem; margin-top:26px; padding-left:16px; }
.team-list { display:grid; gap:56px; }
.team-card { background:var(--white); border:1px solid var(--line); display:grid; grid-template-columns:1fr 2fr; }
.team-intro { border-right:1px solid var(--line); padding:48px; }
.initials { align-items:center; background:var(--bone); border:1px solid rgba(221,187,138,.7); color:var(--blue); display:flex; font-family:"Playfair Display",Georgia,serif; font-size:1.5rem; height:80px; justify-content:center; width:80px; }
.partner-portrait { aspect-ratio:2/3; background:var(--bone); display:block; margin-bottom:34px; max-width:200px; overflow:hidden; padding:14px; position:relative; width:50%; }
.partner-portrait img { height:100%; object-fit:cover; object-position:center top; width:100%; }
.partner-number { color:rgba(12,26,48,.12); float:right; font-family:"Playfair Display",Georgia,serif; font-size:2rem; }
.team-intro h2 { margin-top:34px; }
.partner-role { color:var(--gold); font-size:.6875rem; font-weight:500; margin-top:12px; text-transform:uppercase; }
.partner-linkedin { border-bottom:1px solid var(--gold); color:var(--blue); display:inline-flex; font-size:.75rem; font-weight:500; gap:7px; margin-top:18px; padding-bottom:5px; text-transform:uppercase; transition:color .2s var(--ease); }
.partner-linkedin:hover { color:var(--gold); }
.partner-overview { color:rgba(12,26,48,.66); font-size:1rem; margin-top:26px; }
.focus-list { border-top:1px solid var(--line); list-style:none; margin:32px 0 0; padding:28px 0 0; }
.focus-list li { color:rgba(12,26,48,.62); font-size:.875rem; margin-top:12px; padding-left:24px; position:relative; }
.focus-list li::before { background:var(--gold); content:""; height:1px; left:0; position:absolute; top:.56rem; width:16px; }
.team-details { padding:48px; }
.team-details > .eyebrow { margin-bottom:22px; }
.team-details p { color:rgba(12,26,48,.66); font-size:1rem; margin-top:20px; }
.team-meta { border-top:1px solid var(--line); display:grid; gap:32px; grid-template-columns:repeat(2,1fr); margin-top:38px; padding-top:30px; }
.team-meta p { margin-top:14px; }
.contact-grid { display:grid; gap:56px; grid-template-columns:2fr 1fr; }
.map-card,.contact-card { background:var(--white); border:1px solid var(--line); }
.map-card-head { border-bottom:1px solid var(--line); padding:24px 32px; }
.map-card-head h2 { margin-top:12px; }
.map-frame { border:0; display:block; height:544px; width:100%; }
.contact-card { padding:36px; }
.contact-card h3 { margin-top:12px; }
.contact-details { display:grid; gap:28px; margin-top:34px; }
.contact-detail { color:rgba(12,26,48,.68); font-size:.9375rem; }
.contact-detail strong,.contact-detail small { color:rgba(12,26,48,.45); display:block; font-size:.6875rem; font-weight:500; margin-bottom:6px; text-transform:uppercase; }
.contact-detail a:hover { color:var(--blue); }
.contact-actions { border-top:1px solid var(--line); display:grid; gap:12px; margin-top:34px; padding-top:28px; }
.contact-actions .button { width:100%; }
.page-content { padding:80px 0; }
.page-content .entry-content { margin:0 auto; max-width:760px; }
.site-footer { background:var(--blue); color:var(--white); padding-top:76px; }
.footer-grid { display:grid; gap:48px; grid-template-columns:4fr 3fr 5fr; }
.wordmark-light { color:var(--white); display:inline-block; margin-bottom:18px; }
.site-footer p { color:rgba(255,255,255,.62); font-size:.875rem; max-width:330px; }
.footer-label { color:rgba(221,187,138,.72)!important; margin-bottom:22px; }
.jhs-footer-menu { display:grid; gap:12px; list-style:none; margin:0; padding:0; }
.jhs-footer-menu a,.footer-contact a { color:rgba(255,255,255,.62); font-size:.875rem; transition:color .2s var(--ease); }
.jhs-footer-menu a:hover,.footer-contact a:hover { color:var(--white); }
.footer-contact { display:grid; gap:14px; }
.footer-contact a { display:grid; gap:2px; }
.footer-contact small { color:rgba(255,255,255,.5); font-size:.6875rem; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.45); font-size:.6875rem; margin-top:64px; padding-bottom:26px; padding-top:26px; text-transform:uppercase; }
@media (max-width: 767px) { .site-main { padding-top:64px; } .nav-row { height:64px; } .desktop-nav,.desktop-actions { display:none; } .menu-toggle { display:block; } .hero-content { margin-left:auto; margin-right:auto; padding-bottom:88px; padding-top:92px; } .hero::before { background:linear-gradient(90deg,var(--blue) 0%,rgba(12,26,48,.9) 63%,rgba(12,26,48,.42) 100%); } .hero .intro { font-size:1rem; } .section,.service-group { padding-bottom:64px; padding-top:64px; } .section-heading,.service-preview-head { margin-bottom:36px; } .value-grid,.service-preview,.service-index,.team-card,.contact-grid,.footer-grid,.page-hero-split,.group-head,.service-row { grid-template-columns:1fr; } .value-card { padding:30px; } .service-preview a { min-height:0; padding:30px; } .service-preview-head > p { text-align:left; } .page-hero { padding:72px 0; } .page-hero-split { gap:24px; } .service-index a { min-height:130px; } .service-row { gap:28px; padding:40px 0; } .service-row h3 { margin-top:18px; } .service-items,.team-meta { grid-template-columns:1fr; } .team-intro { border-bottom:1px solid var(--line); border-right:0; padding:32px; } .partner-portrait { aspect-ratio:2/3; max-width:160px; padding:10px; width:50%; } .team-details { padding:32px; } .contact-grid { gap:30px; } .map-card-head { padding:22px 24px; } .map-frame { height:390px; } .contact-card { padding:28px; } .site-footer { padding-top:56px; } .footer-grid { gap:38px; } .footer-bottom { margin-top:44px; } }
@media (min-width: 768px) { .site-shell { padding-left:40px; padding-right:40px; } }
@media (min-width: 1024px) { .site-shell { padding-left:64px; padding-right:64px; } .site-main { padding-top:80px; } .nav-row { height:80px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }
