:root {
    color-scheme: light;
    --ink: #181918;
    --muted: #71716d;
    --line: #e9e9e5;
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: #fff;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 2px; }
::selection { background: #e9e8e2; }
.page { min-height: 100svh; max-width: 1800px; margin: 0 auto; padding: 0 56px; display: flex; flex-direction: column; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 112px; }
.wordmark { font-size: 28px; font-weight: 700; letter-spacing: -1.7px; }
.wordmark span { color: #85877c; }
main { flex: 1; display: flex; flex-direction: column; }
.hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 0; }
h1 { margin: 0; font-size: clamp(58px, 9.4vw, 148px); font-weight: 450; letter-spacing: -.075em; line-height: 1.18; }
.headline { display: flex; align-items: center; gap: .19em; white-space: nowrap; }
.word-window { display: inline-block; position: relative; top: .06em; width: 2.85em; height: 1.3em; overflow: hidden; border-radius: .18em; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.045em;
    /* Feather the moving word into the page instead of revealing a hard clipping edge. */
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.word { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; padding: 0 .08em .075em 0; will-change: transform, opacity, filter; }
.period { margin-left: .015em; }
.expertise { width: min(880px, 100%); margin: 0 auto 48px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.service { position: relative; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; padding: 18px 0 8px; display: grid; grid-template-columns: 25px 1fr; align-items: baseline; row-gap: 8px; font-size: 15px; color: var(--muted); transition: color .3s; }
.service::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.service.active::before { transform: scaleX(1); }
.service.active, .service:hover { color: var(--ink); }
.service-number { color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.service-note { grid-column: 2; font-size: 10px; color: var(--muted); }
.service-description { min-height: 2.8em; margin: 23px 0 0; text-align: center; font-size: 11px; line-height: 1.6; color: var(--muted); }
.footer { border-top: 1px solid var(--line); min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 10px; color: var(--muted); }
.footer p { margin: 0; }
.business-info { max-width: 450px; padding: 20px 0; line-height: 1.8; }
.business-info p + p { margin-top: 3px; }
.motion-control { border: 0; background: none; padding: 8px 0; font: inherit; color: inherit; }
.motion-control:hover { color: var(--ink); }
.legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.legal-links a:hover { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -100px; background: var(--ink); color: white; padding: 12px; z-index: 5; }
.skip-link:focus { top: 12px; }
@media (min-height: 1000px) { .expertise { margin-bottom: 65px; } }
@media (max-width: 900px) {
    .page { padding: 0 32px; }
    .header { min-height: 96px; }
    .hero { padding: 80px 0; }
    .footer { flex-wrap: wrap; padding-bottom: 16px; gap: 0 20px; }
}
@media (max-width: 600px) {
    .page { padding: 0 24px; }
    .header { min-height: 88px; }
    .wordmark { font-size: 25px; }
    .hero { min-height: 370px; padding: 60px 0; }
    h1 { font-size: clamp(39px, 10.5vw, 63px); }
    .expertise { margin-bottom: 26px; }
    .services { gap: 12px; }
    .service { font-size: 12px; grid-template-columns: 1fr; row-gap: 11px; padding-top: 13px; }
    .service-number { font-size: 8px; }
    .service-note { display: none; }
    .service-description { font-size: 10px; margin-top: 20px; padding: 0 12px; }
    .footer { flex-wrap: wrap; justify-content: center; gap: 13px; padding: 21px 0; min-height: 90px; font-size: 9px; }
    .footer p { text-align: center; width: 100%; }
    .business-info { padding: 0; max-width: 300px; }
    .legal-links { justify-content: center; gap: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    .word { will-change: auto; }
}
