:root {
    --ink: #211f1e;
    --muted: #655e58;
    --paper: #faf8f5;
    --line: #e4dcd4;
    --orange: #f26422;
    --accent: #a63a08;
    font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.8rem); }
p, address, dd { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--orange); }
[id] { scroll-margin-top: 1.25rem; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 92px; }
.brand img { width: 125px; }
.navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.8rem, 2.5vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.navigation a { display: block; padding-block: .6rem; border-bottom: 2px solid transparent; text-decoration: none; font-size: .94rem; font-weight: 650; }
.navigation a:hover, .navigation [aria-current="page"] { border-color: var(--orange); color: var(--accent); }
.navigation li:last-child a { padding-inline: .9rem; border: 1px solid var(--line); border-radius: .3rem; }
.navigation li:last-child a:hover, .navigation li:last-child [aria-current="page"] { border-color: var(--orange); }
.hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: white; }
.hero-copy { align-self: center; padding: clamp(2.5rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(2.5rem, 6vw, 6rem) max(1.5rem, calc((100vw - 76rem) / 2)); }
.hero-label { color: var(--orange); text-transform: uppercase; font-size: .78rem; font-weight: 750; letter-spacing: .13em; }
.hero h1 { margin-block: .9rem 1.4rem; font-size: clamp(3.25rem, 6.5vw, 6.5rem); letter-spacing: -.07em; }
.hero h1 span { color: var(--orange); }
.hero-description { color: #eee5dc; max-width: 34ch; font-size: 1.08rem; margin-bottom: 1.6rem; }
.hero-image { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.button { display: inline-flex; gap: 1rem; align-items: center; background: var(--orange); color: var(--ink); padding: .72rem 1.1rem; border-radius: .25rem; text-decoration: none; font-weight: 750; }
.button:hover { background: #ff8a53; }
.section { padding-block: clamp(2.5rem, 5vw, 5rem); }
.section + .section { padding-top: 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1.5rem; }
.section-heading a { color: var(--accent); text-underline-offset: .25em; font-weight: 650; }
.service-grid, .panel-grid, .client-grid, .contact-grid, .about-grid { display: grid; gap: 1.15rem; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .panel, .contact-card, .profile { border: 1px solid var(--line); border-radius: .55rem; background: white; }
.service-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.service-card:hover { border-color: var(--orange); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card h3 { display: flex; flex: 1; gap: .75rem; justify-content: space-between; padding: 1.1rem; font-size: 1.14rem; line-height: 1.35; }
.service-card span { color: var(--accent); }
.page-intro { padding-block: clamp(2.5rem, 6vw, 5.5rem); background: var(--ink); color: white; border-bottom: 5px solid var(--orange); }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.about-grid, .contact-grid, .panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-grid { align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.about-grid img { border-radius: .55rem; }
.prose p, .panel p { margin-top: .9rem; color: var(--muted); }
.client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.panel, .contact-card, .profile { padding: clamp(1rem, 2.5vw, 2rem); }
.panel h2, .panel h3 { font-size: 1.35rem; }
.panel ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.panel li { border-top: 1px solid var(--line); padding-block: .5rem; }
.profiles { display: grid; gap: 1.25rem; }
.profile { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.profile img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: .4rem; }
.profile h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
.contact-card address { font-style: normal; color: var(--muted); margin-top: .8rem; }
.contact-card dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .55rem 1rem; margin-block: 1.3rem; }
.contact-card dt { font-weight: 700; }
.contact-card dd { margin: 0; }
.contact-card dd a { color: var(--accent); }
.contact-map { width: 100%; min-height: 24rem; height: 100%; border: 1px solid var(--line); border-radius: .55rem; }
.site-footer { border-top: 3px solid var(--orange); background: var(--ink); color: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1.5rem; padding-block: 1.4rem; }
.footer-inner a { text-decoration: none; font-weight: 700; }
.footer-inner a:hover { text-decoration: underline; }
.footer-inner p { color: #e5dcd5; font-size: .87rem; }
@media (max-width: 850px) {
    .service-grid, .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-image { object-position: 58% center; }
}
@media (max-width: 640px) {
    .shell { width: calc(100% - 2rem); }
    .header-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-bottom: .65rem; }
    .brand img { width: 104px; }
    .navigation a { font-size: .85rem; }
    .navigation li:last-child a { padding-inline: .5rem; }
    .hero, .about-grid, .contact-grid, .client-grid, .panel-grid, .profile { grid-template-columns: minmax(0, 1fr); }
    .hero-copy { padding-inline: 1rem; }
    .hero-image { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
    .profile img { max-width: 14rem; }
    .contact-map { min-height: 18rem; }
    .service-card h3 { padding: .8rem; font-size: 1rem; }
}
