:root {
    --ink: #141414;
    --muted: #3f3d39;
    --line: #e3e0d8;
    --paper: #f3f1eb;
    --white: #ffffff;
    --max: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
}

::selection {
    background: var(--ink);
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    max-width: 11em;
}

h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
}

p {
    margin: 0.55rem 0;
}

a {
    color: inherit;
}

a:hover {
    text-decoration-thickness: 1px;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--white);
    color: var(--ink);
    padding: 0.55rem 0.8rem;
    z-index: 20;
}

.skip:focus {
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.wrap {
    width: min(var(--max), calc(100% - 3rem));
    margin-inline: auto;
}

.kicker {
    margin: 0 0 0.85rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lead,
.section-lead {
    color: var(--muted);
    max-width: 40rem;
}

.lead {
    margin-top: 1.2rem;
    font-size: 1.22rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}

.brand img {
    display: block;
    height: 104px;
    width: auto;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 1.25rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.hero {
    padding: 4.75rem 0 3.25rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    padding: 0.9rem 1.25rem;
    font: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--white);
    color: var(--ink);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--white);
}

.scope {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.5rem;
    margin: 3rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.scope li {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

section {
    padding: 5.25rem 0;
}

.hero,
.auth,
.prose,
.insights {
    padding-bottom: 4rem;
}

.band {
    background: var(--paper);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 2rem;
    background: var(--line);
    border: 1px solid var(--line);
}

.cards.cards-growth {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--white);
    padding: 1.5rem 1.35rem 1.6rem;
    min-height: 100%;
}

.card-index {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    border-top: 1px solid var(--ink);
    padding-top: 1rem;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
}

.about-grid,
.contact-grid,
.footer-grid,
.split-tables {
    display: grid;
    gap: 2.5rem;
}

.about-grid,
.contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
}

.statement {
    margin-top: 0;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.hours-title {
    margin-top: 2rem;
    font-size: 1.15rem;
}

.hours,
table {
    width: 100%;
    border-collapse: collapse;
}

.hours th,
.hours td,
th,
td {
    padding: 0.55rem 0.4rem 0.55rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    font-weight: 450;
}

.hours th,
th {
    font-weight: 500;
}

.fine {
    color: var(--muted);
    font-size: 0.95rem;
}

.form {
    display: flex;
    flex-direction: column;
}

.field {
    margin-bottom: 1rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c8c4ba;
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    padding: 0.8rem 0.85rem;
}

textarea {
    resize: vertical;
    min-height: 9rem;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #8a2a2a;
}

.form-errors {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ink);
}

.form-errors ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.field-error {
    color: #8a2a2a;
    font-size: 0.95rem;
}

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.list-label {
    margin-top: 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.name-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    background: var(--line);
    border: 1px solid var(--line);
}

.name-grid li {
    margin: 0;
    padding: 1.35rem 1rem;
    background: var(--white);
    font-size: 1.05rem;
}

#notice,
#services,
#growth,
#approach,
#about,
#clients,
#contact,
#notes {
    scroll-margin-top: 6rem;
}

.banner {
    margin: 1.1rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ink);
}

.banner-success {
    background: var(--paper);
}

.banner-error {
    background: #f7f1ee;
}

.prose {
    width: min(760px, calc(100% - 3rem));
    padding-top: 4rem;
}

.prose h1,
.auth h1,
.insights h1 {
    margin-bottom: 1rem;
}

.auth {
    width: min(640px, calc(100% - 3rem));
    padding-top: 4rem;
}

.form-narrow {
    max-width: 26rem;
}

.site-footer {
    border-top: 1px solid var(--ink);
    padding: 3rem 0 1.4rem;
}

.footer-grid {
    grid-template-columns: 1fr 1.4fr auto;
}

.footer-name {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.site-footer h2 {
    font-size: 1.35rem;
}

.notes-row {
    display: flex;
    gap: 0.55rem;
    align-items: stretch;
}

.notes-row input {
    flex: 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-start;
}

.footer-base {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.insights {
    width: min(var(--max), calc(100% - 3rem));
    padding-top: 3rem;
}

.insights-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 2rem 0 2.5rem;
    background: var(--line);
    border: 1px solid var(--line);
}

.stats article {
    background: var(--white);
    padding: 1.15rem 1.2rem;
}

.stat-value {
    margin: 0;
    font-size: 2.3rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.stats p:last-child {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.split-tables {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2.5rem;
}

.table-wrap {
    overflow-x: auto;
}

.insights section {
    padding: 0 0 2.5rem;
}

.message {
    border-top: 1px solid var(--ink);
    padding: 1rem 0 1.15rem;
}

.message header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.message h3 {
    margin: 0;
}

.message-service {
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.message-body {
    white-space: pre-wrap;
}

@media (max-width: 900px) {
    .cards,
    .cards-growth,
    .name-grid,
    .steps,
    .about-grid,
    .contact-grid,
    .footer-grid,
    .split-tables,
    .stats,
    .split {
        grid-template-columns: 1fr;
    }

    .header-bar,
    .insights-head,
    .notes-row,
    .message header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        justify-content: flex-start;
        padding-bottom: 0.9rem;
    }

    .hero {
        padding-top: 2.8rem;
    }

    section {
        padding: 3.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
