:root {
    color-scheme: light;
    --ink: #26294b;
    --text: #555960;
    --blue: #005caf;
    --pale: #f3f5fa;
    --dark: #1b1b1d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--text); line-height: 1.75; background: #fff; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #e5ad43; outline-offset: 5px; }
h1, h2, h3 { margin: 0 0 1rem; color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1.25rem; }
address { font-style: normal; }
.container { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.section { padding-block: 3.5rem; }
.section-title::after { content: ""; display: block; width: 3rem; height: 3px; margin-top: 1rem; background: var(--blue); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--ink); }
.subtitle { font-style: italic; color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 46px; padding: .65rem 1.25rem; border: 2px solid transparent; border-radius: 2rem; font: inherit; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer; text-align: center; }
.button:hover { text-decoration: none; }
.button-outline { border-color: var(--blue); color: var(--ink); background: transparent; }
.button-outline:hover { background: var(--blue); color: #fff; }
.button-white { color: var(--blue); background: #fff; }
.button-white:hover { background: #edf3ff; }
.button-blue { background: var(--blue); color: #fff; }
.button-blue:hover { background: #004888; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 10; padding: .75rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .8rem; }
.brand { display: block; width: clamp(135px, 30vw, 230px); flex-shrink: 0; }
.appointment { font-size: .85rem; padding-inline: .85rem; }
.hero { background: linear-gradient(100deg, rgb(22 45 79 / 94%), rgb(30 63 105 / 72%)), url("/assets/images/accountant-team.jpg") center / cover; color: #fff; }
.hero-inner { padding-block: 4rem; }
.hero .eyebrow, .hero h1 { color: #fff; }
.hero h1 { margin-bottom: 1.5rem; }
.hero p:not(.eyebrow) { max-width: 590px; }
.hero .button { margin-top: .5rem; }
.studio-grid { display: grid; gap: 1.75rem; }
.studio-photo { object-fit: cover; }
.desktop-photo { order: 1; }
.services { background: var(--pale); }
.services-layout { display: grid; gap: 1.75rem; }
.service-grid { display: grid; gap: 1rem; }
.service-card { padding: 1.5rem; background: #fff; border-radius: .4rem; box-shadow: 0 5px 20px rgb(30 45 75 / 6%); }
.service-card p { margin: 0; }
.contact { background: var(--dark); color: #ddd; scroll-margin-top: 1rem; }
.contact h2 { color: #fff; }
.contact-layout { display: grid; gap: 2.5rem; }
.contact-form { display: grid; gap: 1.25rem; position: relative; }
.form-note { font-size: .85rem; color: #c7c7cc; }
.form-row { display: grid; gap: 1.25rem; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: .35rem; font-size: .95rem; }
input:not([type="checkbox"], [type="hidden"]), textarea { width: 100%; border: 1px solid #949498; border-radius: .2rem; padding: .7rem .85rem; background: #242426; color: #fff; font: inherit; line-height: 1.5; min-height: 48px; }
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ffbdc3; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .65rem; align-items: start; font-size: .875rem; line-height: 1.65; }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--blue); }
.consent label { cursor: pointer; }
.contact a { color: #fff; }
.consent a { font-weight: 700; }
.consent-note { display: block; margin-top: .4rem; color: #c7c7cc; }
.contact-form button { justify-self: start; }
.honeypot { display: none; }
.notice { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid; border-radius: .3rem; }
.notice p { margin-bottom: .5rem; }
.notice ul { margin: 0; padding-left: 1.25rem; }
.notice-success { background: #143c2a; color: #dcfce7; border-color: #9bdfb7; }
.notice-error { background: #492027; color: #ffe0e3; border-color: #ffbdc3; }
.location { align-self: start; max-width: 440px; width: 100%; margin-inline: auto; }
.location img { max-height: 480px; width: 100%; object-fit: cover; object-position: center; }
.location address { margin-block: 1rem .35rem; font-weight: 700; color: #fff; }
.location a { display: inline-flex; align-items: center; min-height: 44px; }
.team-layout { display: grid; gap: 2rem; }
.team-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.team-photos img { aspect-ratio: 4 / 5; object-fit: cover; }
.closing { background: var(--dark); color: #c7c7cc; text-align: center; }
.closing h2 { color: #fff; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.closing .button-outline, .site-footer .button-outline { color: #fff; }
.site-footer { background: var(--dark); color: #c7c7cc; font-size: .9rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 2rem 3rem; }
.footer-brand { display: block; max-width: 300px; margin-bottom: 1.5rem; }
.footer-heading { color: #fff; text-transform: uppercase; font-size: 1rem; }
.footer-heading::after { content: ""; display: block; height: 2px; width: 2rem; margin-top: .8rem; background: var(--blue); }
.site-footer address { margin-bottom: 1rem; }
.site-footer a { color: #fff; }
.footer-bottom { background: #242426; padding-block: 1rem; font-size: .8rem; }
.copyright { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; }
.copyright p { margin: 0; }
.copyright > a { display: inline-flex; align-items: center; min-height: 44px; }
.privacy-page { padding-block: 3rem 4rem; }
.privacy-page h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-bottom: 2.5rem; }
.privacy-copy { max-width: 850px; overflow-wrap: anywhere; margin-bottom: 3rem; }
.privacy-copy h2 { font-size: 1.7rem; }
.privacy-copy h3 { margin-top: 2.5rem; font-size: 1.4rem; }
.privacy-copy h4 { font-size: 1.1rem; color: var(--ink); margin-block: 2rem 1rem; }
.privacy-copy li { margin-bottom: .65rem; }
.privacy-copy ul, .privacy-copy ol { padding-left: 1.5rem; }
@media (min-width: 640px) {
    .container { width: min(100% - 4rem, 1160px); }
    .appointment { font-size: 1rem; padding-inline: 1.5rem; }
    .hero-inner { padding-block: 5.5rem; }
    .form-row, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}
@media (min-width: 900px) {
    .section { padding-block: 5.5rem; }
    .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; align-items: center; }
    .desktop-photo { order: initial; }
    .services-layout { grid-template-columns: 1fr 2fr; gap: 3rem; }
    .contact-layout { grid-template-columns: 1.45fr 1fr; gap: 4rem; }
    .location img { max-height: 620px; }
    .team-layout { grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
    .team-photos { gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
