/* Hoffman Consultants — Swiss / Inter / high-contrast */
:root {
    --ink: #141414;
    --ink-soft: #1c1c1c;
    --paper: #f4f4f1;
    --paper-soft: #ebebe6;
    --white: #fafaf8;
    --muted: #6a6a64;
    --line: #d6d6d0;
    --line-strong: #2a2a2a;
    --af-topbar-height: 0px;
    --af-navbar-height: 4.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .hero-title, .footer-name {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--ink);
}

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { opacity: 0.7; }

.hc-top {
    background: var(--ink);
    color: rgba(250,250,248,0.72);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.55rem 0;
}
.hc-top-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.hc-top a { color: var(--paper); text-decoration: none; font-weight: 600; }
.hc-top a:hover { opacity: 1; text-decoration: underline; }

.hc-nav.navbar {
    background: var(--paper) !important;
    border-bottom: 1px solid var(--line);
    min-height: var(--af-navbar-height) !important;
    box-shadow: none;
}
.nav-brand { padding-left: 0.5rem !important; }
.nav-logo {
    height: 2.1rem;
    width: auto;
    display: block;
    color: var(--ink);
}
.navbar-item, .navbar-link {
    font-family: "Inter", system-ui, sans-serif !important;
    color: var(--ink) !important;
    font-weight: 500;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.navbar-item:hover { background: transparent !important; opacity: 0.55; }
.navbar-burger span { background: var(--ink) !important; height: 1px !important; }

@media (max-width: 1023px) {
    nav.hc-nav.navbar.is-fixed-top,
    nav.hc-nav.navbar.af-fixed-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 37 !important;
        width: 100% !important;
    }
    .navbar-menu {
        display: none !important;
        background: var(--paper) !important;
        box-shadow: 0 12px 28px rgba(0,0,0,0.12) !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        border-bottom: 1px solid var(--line);
        padding: 0.35rem 0 1rem !important;
    }
    .navbar-menu.is-active { display: block !important; }
    .navbar-menu .navbar-item {
        color: var(--ink) !important;
        padding: 0.85rem 1.25rem !important;
        border-bottom: 1px solid var(--line);
    }
}

.hc-btn {
    font-family: "Inter", system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    height: auto !important;
    padding: 0.95rem 1.35rem !important;
    box-shadow: none !important;
    border-width: 1px !important;
}
.hc-btn-fill {
    background: var(--ink) !important;
    color: var(--paper) !important;
    border-color: var(--ink) !important;
}
.hc-btn-fill:hover { background: #000 !important; color: var(--paper) !important; opacity: 1; }
.hc-btn-line {
    background: transparent !important;
    color: var(--ink) !important;
    border-color: var(--ink) !important;
}
.hc-btn-line:hover { background: var(--ink) !important; color: var(--paper) !important; opacity: 1; }
.hc-btn-fill-invert {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border-color: var(--paper) !important;
}
.hc-btn-fill-invert:hover { filter: brightness(0.95); opacity: 1; }
.hc-btn-line-invert {
    background: transparent !important;
    color: var(--paper) !important;
    border-color: rgba(244,244,241,0.45) !important;
}
.hc-btn-line-invert:hover { border-color: var(--paper) !important; opacity: 1; }

.hc-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
/* B&W photo + hard wash so Inter type stays legible */
.hc-hero.hc-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/hero.jpg') center/cover no-repeat;
    filter: grayscale(100%) contrast(1.2) brightness(0.72);
    z-index: 0;
}
.hc-hero.hc-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            105deg,
            rgba(244, 244, 241, 0.97) 0%,
            rgba(244, 244, 241, 0.92) 42%,
            rgba(244, 244, 241, 0.72) 68%,
            rgba(20, 20, 20, 0.35) 100%
        ),
        linear-gradient(
            180deg,
            rgba(244, 244, 241, 0.55) 0%,
            rgba(244, 244, 241, 0.2) 40%,
            rgba(244, 244, 241, 0.88) 100%
        );
    z-index: 1;
}
.hc-hero .container { position: relative; z-index: 2; width: 100%; }
.hc-hero .hero-columns {
    padding-top: 8.75rem;
    padding-bottom: 3.5rem;
    width: 100%;
}
.hc-hero.hc-hero-photo .hero-title,
.hc-hero.hc-hero-photo .hc-kicker {
    text-shadow: 0 1px 0 rgba(244, 244, 241, 0.65);
}
.hc-hero.hc-hero-photo .hero-lead {
    color: #3f3f3a;
    max-width: 34rem;
}
.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    max-width: 12ch;
    margin: 0.35rem 0 1.1rem;
    font-weight: 600;
}
.hero-lead {
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 36rem;
    margin: 0 0 1.75rem;
}
.hc-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hc-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}
.hc-kicker-on-ink { color: rgba(244,244,241,0.55); }

.hc-band {
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--line-strong);
}
.hc-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.hc-band-grid > div {
    padding: 1.35rem 1rem;
    border-right: 1px solid rgba(244,244,241,0.12);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.hc-band-grid > div:last-child { border-right: none; }
.hc-band-grid span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: rgba(244,244,241,0.4);
    margin-bottom: 0.35rem;
    font-weight: 600;
}
@media (max-width: 800px) {
    .hc-band-grid { grid-template-columns: 1fr 1fr; }
    .hc-band-grid > div:nth-child(2) { border-right: none; }
    .hc-band-grid > div:nth-child(1),
    .hc-band-grid > div:nth-child(2) { border-bottom: 1px solid rgba(244,244,241,0.12); }
}

.section-pad { padding: 5rem 0; }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-soft { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.hc-section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.hc-section-head h2,
.section-pad h2 {
    font-size: clamp(2rem, 4vw, 2.85rem);
    margin: 0.4rem 0 0.75rem;
}
.hc-lead { color: var(--muted); max-width: 38rem; margin: 0; font-size: 1.05rem; }
.hc-lead-on-ink { color: rgba(244,244,241,0.68); }
.hc-lead a { font-weight: 600; }

.hc-svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}
.hc-svc {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 1px solid var(--line);
}
.hc-svc:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
.hc-svc:nth-child(even) { padding-left: 2rem; }
.hc-svc h3 {
    font-size: 1.15rem;
    margin: 0 0 0.55rem;
    font-weight: 600;
}
.hc-svc h3 em { font-style: normal; color: var(--muted); font-weight: 500; }
.hc-svc p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 700px) {
    .hc-svc-grid { grid-template-columns: 1fr; }
    .hc-svc:nth-child(odd),
    .hc-svc:nth-child(even) {
        padding: 1.5rem 0;
        border-right: none;
    }
}

.hc-photo {
    margin: 0;
    border: 1px solid rgba(244,244,241,0.12);
    overflow: hidden;
    background: var(--ink-soft);
}
.hc-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 34rem;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
}
.hc-photo-wide { border-color: var(--line); }
.hc-photo-wide img { max-height: 22rem; filter: grayscale(85%) contrast(1.05); }
.hc-photo-work {
    border: 1px solid var(--line);
    background: var(--white);
}
.hc-photo-work img {
    filter: none;
    object-fit: contain;
    max-height: 28rem;
    background: var(--white);
}
.hc-photo figcaption {
    font-size: 0.78rem;
    color: var(--muted);
    padding: 0.55rem 0.75rem;
    border-top: 1px solid var(--line);
}
.hc-photo-stack {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}
.hc-map {
    margin: 0;
    border: 1px solid var(--line);
    background: var(--white);
}
.hc-map img {
    display: block;
    width: 100%;
    height: auto;
    filter: none;
    object-fit: contain;
    max-height: none;
}
.hc-states {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.hc-states li {
    border: 1px solid var(--line);
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.hc-people {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}
.hc-people li {
    background: var(--paper);
    padding: 1.1rem 1.25rem;
}
.hc-people strong { display: block; font-size: 1.02rem; }
.hc-people span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 700px) { .hc-people { grid-template-columns: 1fr; } }
.hc-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.25rem 0 0.5rem;
}
.hc-doc {
    display: block;
    border: 1px solid var(--line);
    background: var(--white);
    text-decoration: none;
}
.hc-doc:hover { opacity: 1; border-color: var(--ink); }
.hc-doc img { display: block; width: 100%; height: auto; }
.hc-doc span {
    display: block;
    padding: 0.7rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (max-width: 800px) { .hc-doc-grid { grid-template-columns: 1fr; } }
.hc-job {
    border-top: 1px solid var(--line);
    padding: 2.25rem 0 0.25rem;
    margin-top: 2rem;
}
.hc-jobs .hc-job:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.hc-list {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}
.hc-list li {
    padding: 0.7rem 0;
    border-top: 1px solid rgba(244,244,241,0.14);
    color: rgba(244,244,241,0.82);
    font-size: 0.98rem;
}
.hc-list li:last-child { border-bottom: 1px solid rgba(244,244,241,0.14); }
.hc-note {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: rgba(244,244,241,0.45);
}
.section-pad .hc-note,
.section-soft .hc-note { color: var(--muted); }
.hc-note a { color: inherit; }

.hc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.hc-split h3 { font-size: 1rem; margin: 0 0 0.45rem; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; font-weight: 600; }
.hc-split p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 700px) { .hc-split { grid-template-columns: 1fr; gap: 1.5rem; } }

.hc-meta {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.85;
}
.hc-meta strong {
    display: inline-block;
    min-width: 4.5rem;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hc-meta a { font-weight: 500; text-decoration: none; }
.hc-meta a:hover { text-decoration: underline; opacity: 1; }

.hc-form {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 1.75rem;
}
.hc-form .label {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.hc-form .input,
.hc-form .textarea {
    border-radius: 0 !important;
    border: 1px solid var(--line) !important;
    box-shadow: none !important;
    background: var(--paper) !important;
    color: var(--ink) !important;
}
.hc-form .input:focus,
.hc-form .textarea:focus { border-color: var(--ink) !important; }

.hc-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}
.hc-team article {
    background: var(--paper);
    padding: 1.75rem 1.35rem;
}
.hc-team .avatar {
    width: 100%;
    aspect-ratio: 1;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hc-team h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.hc-team .role {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.55rem;
}
.hc-team p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 800px) { .hc-team { grid-template-columns: 1fr; } }

.hc-footer {
    background: var(--ink);
    color: rgba(244,244,241,0.62);
    padding: 3rem 0 2.5rem;
    font-size: 0.92rem;
    border-top: 1px solid var(--line-strong);
}
.hc-footer a { color: var(--paper); text-decoration: none; }
.hc-footer a:hover { text-decoration: underline; opacity: 1; }
.footer-logo {
    height: 2.4rem;
    width: auto;
    filter: invert(1);
    margin-bottom: 1rem;
}
.footer-name {
    color: var(--paper) !important;
    font-size: 1.15rem;
    margin: 0 0 0.65rem;
}
.footer-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244,244,241,0.4);
    margin: 0 0 0.75rem;
}
.hc-muted { color: rgba(244,244,241,0.35); font-size: 0.8rem; }
.hc-copy { margin-top: 1.5rem; font-size: 0.75rem; color: rgba(244,244,241,0.35); }

/* af-sticky-header */
@media (max-width: 1023px) {
    body.has-af-topbar nav.navbar.is-fixed-top,
    body.has-af-topbar nav.navbar.af-fixed-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 37 !important;
        width: 100% !important;
    }
    body.has-af-topbar nav.navbar:not(.is-fixed-top):not(.af-fixed-nav) {
        top: var(--af-topbar-height) !important;
    }
}
body.has-af-topbar .hero {
    padding-top: calc(var(--af-topbar-height) + var(--af-navbar-height) + 1.25rem) !important;
}
body.has-af-topbar .hero .hero-columns,
body.has-af-topbar .hero-columns {
    padding-top: max(2rem, 1.5rem) !important;
}

/* hero-safe-area — tablet & mobile hero horizontal breathing room */
@media (max-width: 1023px) {
    .hc-top { padding-left: 1.25rem; padding-right: 1.25rem; }
    .section-pad > .container,
    .hc-footer > .container,
    .hc-band > .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        box-sizing: border-box !important;
    }
    .navbar > .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .hero .container,
    .hero .container.hero-columns,
    .hero > .hero-columns,
    .hero .hero-body > .container {
        padding-left: 1.75rem !important;
        padding-right: 1.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .hero .columns { margin-left: 0 !important; margin-right: 0 !important; }
    .hero .hero-columns { padding-left: 0 !important; padding-right: 0 !important; }
    .hero .column { padding-left: 0 !important; padding-right: 0 !important; }
}
@media (max-width: 768px) {
    .hero .container,
    .hero .container.hero-columns,
    .hero > .hero-columns,
    .hero .hero-body > .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .hero .hero-columns,
    .hero .column { padding-left: 0 !important; padding-right: 0 !important; }
    .hc-hero .hero-columns { padding-bottom: 2.5rem; }
}

/* Inner pages */
.hc-page-hero {
    min-height: auto !important;
    padding-bottom: 0;
    background: var(--paper) !important;
    border-bottom: 1px solid var(--line);
}
.hc-page-hero.hc-hero-photo::before,
.hc-page-hero.hc-hero-photo::after { display: none; }
.hc-page-hero .hero-title { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.hc-prose { max-width: 46rem; }
.hc-prose p { color: var(--muted); margin: 0 0 1.1rem; font-size: 1.05rem; }
.hc-prose h2 {
    font-size: 1.35rem;
    margin: 2.25rem 0 0.75rem;
}
.hc-prose h3 {
    font-size: 1.05rem;
    margin: 1.75rem 0 0.5rem;
}
.hc-prose ul { margin: 0 0 1.25rem; padding-left: 1.15rem; color: var(--muted); }
.hc-prose li { margin-bottom: 0.4rem; }
.hc-faq details {
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
}
.hc-faq summary {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    color: var(--ink);
}
.hc-faq summary::-webkit-details-marker { display: none; }
.hc-faq summary::after {
    content: "+";
    color: var(--muted);
    flex: 0 0 auto;
    font-weight: 500;
}
.hc-faq details[open] summary::after { content: "–"; }
.hc-faq details .hc-faq-a {
    margin: 0.85rem 0 0.2rem;
    color: var(--muted);
    max-width: 44rem;
    font-size: 0.98rem;
}
.hc-faq details .hc-faq-a p { margin: 0 0 0.75rem; }
.hc-faq details .hc-faq-a p:last-child { margin-bottom: 0; }
.hc-mat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin: 1.5rem 0 2rem;
}
.hc-mat-grid span {
    background: var(--paper);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
}
@media (max-width: 700px) { .hc-mat-grid { grid-template-columns: 1fr 1fr; } }
.navbar-item.is-active-nav { opacity: 1 !important; text-decoration: underline; text-underline-offset: 0.35em; }
.hc-toc {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 1.25rem 1.35rem;
    margin: 0 0 2rem;
}
.hc-toc strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}
.hc-toc ol { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.hc-toc a { text-decoration: none; font-weight: 500; }
.hc-toc a:hover { text-decoration: underline; opacity: 1; }
