@font-face { font-family: "Barlow Condensed"; src: url("barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
    --red: #be071e;
    --red-bright: #ff6575;
    --ink: #202426;
    --muted: #52595d;
    --light: #f2f3f3;
    --line: #d8dcdc;
    --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --body: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); font: 1rem/1.65 var(--body); }
a { color: inherit; }
a:hover, a:focus-visible { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #2167a9; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0 0 0.7em; }
h1, h2, h3 { line-height: 1.04; }
h1, h2 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.85rem); }
h3 { font-size: 1.3rem; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(1200px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: -200px; left: 16px; background: #fff; padding: 10px 18px; }
.skip:focus { top: 12px; }
.utility { background: var(--ink); color: #fff; font-size: 0.875rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.utility a { text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility strong { margin-left: 0.35em; }
.header { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 18px 0; min-height: 92px; }
.brand { display: block; width: 286px; max-width: 100%; flex-shrink: 0; }
#navigation { display: flex; align-items: center; gap: clamp(0.95rem, 1.85vw, 1.65rem); }
#navigation > a:not(.button) { font-size: 0.925rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
#navigation > a:not(.button):hover, #navigation > a[aria-current] { color: var(--red); text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; font: 700 1rem var(--body); padding: 12px; color: var(--ink); }
.menu-toggle span { margin-left: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; min-height: 49px; padding: 0.68rem 1.25rem; color: inherit; font: 700 0.9375rem/1.3 var(--body); text-align: center; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--red); color: #fff; }
.button.primary:hover { background: #9d0619; }
.button.outline { border-color: #90969a; background: transparent; }
.button.outline:hover { background: #e7e9e9; }
.button.outline-light { color: #fff; border-color: #d0d0d0; background: transparent; }
.button.outline-light:hover { background: #ffffff26; }
.button.light { background: #fff; color: var(--ink); }
.button.light:hover { background: #eceeee; }
.button:disabled { opacity: 0.65; cursor: wait; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.85rem; }
.lead { max-width: 58ch; font-size: 1.125rem; color: var(--muted); }
.hero {
    color: #fff;
    background: linear-gradient(90deg, #171a1ef5 0%, #171a1ed9 35%, #171a1e52 78%, #171a1e47 100%), url("hero.webp") center 47% / cover no-repeat #222629;
}
.hero-inner { padding-block: clamp(4rem, 8vw, 7rem); min-height: 580px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero h1 { font-size: clamp(4.2rem, 9.6vw, 8.5rem); margin-bottom: 0.22em; line-height: 0.86; }
.hero h1 span { color: var(--red-bright); }
.hero .eyebrow { color: #fff; margin-bottom: 1.15rem; }
.hero .lead { max-width: 37ch; color: #f3f3f3; }
.hero .actions { margin-top: 0.75rem; }
.service-band { background: var(--red); color: #fff; }
.service-band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-band a { display: block; padding: 1rem 0.65rem; text-align: center; text-decoration: none; font-weight: 700; border-inline-start: 1px solid #ffffff50; }
.service-band a:last-child { border-inline-end: 1px solid #ffffff50; }
.service-band a:hover { background: #9d0619; }
.section { padding-block: clamp(3rem, 7.5vw, 6.15rem); }
.section-muted, .panel { background: var(--light); }
.section-head, .action-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.section-head { margin-bottom: 1.85rem; }
.section-head h2, .action-row h2 { margin-bottom: 0; }
.section-head .lead, .action-row h2 + p { margin-top: 0.65rem; }
.section-head .button, .action-row .button { flex-shrink: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.card { display: flex; flex-direction: column; background: #fff; padding: 1.9rem; min-height: 190px; text-decoration: none; }
a.card:hover, a.card:focus-visible { background: var(--light); }
.card h3, .card h2 { margin-bottom: 0.6em; }
.card h2 { font-size: 2rem; }
.card p { color: var(--muted); }
.card .text-link { align-self: flex-start; margin-top: auto; padding-top: 0.5rem; }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); font-weight: 700; }
.story { display: grid; grid-template-columns: 1fr 1fr; color: #fff; background: var(--ink); }
.story > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.story-copy { padding: clamp(2.5rem, 7.5vw, 7rem); align-self: center; }
.story-copy p:not(.eyebrow) { color: #e2e6e7; margin-bottom: 1.3rem; }
.story-copy .eyebrow { color: var(--red-bright); }
.page-hero { background: var(--light); border-top: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 6.15rem); }
.page-hero h1 { max-width: 20ch; margin-bottom: 0.3em; }
.columns { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.columns .button { margin-top: 0.7rem; }
.panel { border-top: 4px solid var(--red); padding: clamp(1.25rem, 4vw, 2.5rem); }
.panel h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.scope-list { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.scope-list li { margin-bottom: 0.72rem; padding-left: 0.35rem; }
.scope-list li::marker { color: var(--red); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 0.7rem 0 0; }
.prose { max-width: 720px; }
.prose h2 { font-size: 2.35rem; margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); }
.contact-phone { font-size: 1.3rem; font-weight: 700; overflow-wrap: anywhere; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form h2 { margin-bottom: 0.2em; }
form label { display: block; margin: 0.8rem 0; font-weight: 700; }
form input, form select, form textarea { display: block; width: 100%; margin-top: 0.25rem; min-height: 46px; border: 1px solid #899094; border-radius: 0; padding: 0.65rem 0.72rem; background: #fff; color: var(--ink); font: 1rem var(--body); }
form textarea { resize: vertical; }
.form-trap { position: absolute; top: 0; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 0.875rem; color: var(--muted); }
#form-status:not(:empty) { margin-top: 1rem; padding: 0.875rem; background: var(--light); border-inline-start: 3px solid var(--red); }
.closing { background: var(--red); color: #fff; padding: 3.3rem 0; }
.footer { background: var(--ink); color: #e3e6e7; padding: 3.4rem 0 1.3rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 2.5rem; }
.footer-grid h2 { font: 700 1.125rem/1.2 var(--body); color: #fff; }
.footer-grid a:not(.brand) { display: block; width: fit-content; padding: 0.2rem 0; text-underline-offset: 4px; }
.footer-grid .brand { background: #fff; width: 255px; margin-bottom: 0.8rem; }
.legal { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #ffffff38; margin-top: 2.35rem; padding-top: 1rem; font-size: 0.875rem; }

@media (max-width: 1040px) {
    .wrap { width: min(1200px, calc(100% - 3rem)); }
    .header-inner .brand { width: 230px; }
    #navigation { gap: 0.9rem; }
}
@media (max-width: 960px) {
    .header-inner { flex-wrap: wrap; min-height: unset; padding: 11px 0; gap: 0.5rem; }
    .header-inner .brand { width: min(245px, 68%); }
    #navigation { flex: 1 1 100%; flex-wrap: wrap; }
    .js #navigation { display: none; }
    .js #navigation.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .js #navigation.open > a:not(.button) { padding: 0.72rem 0.2rem; border-top: 1px solid var(--line); }
    .js #navigation.open > .button { margin-top: 0.4rem; }
    .js .menu-toggle:not([hidden]) { display: inline-block; }
    .hero-inner { min-height: 500px; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-head, .action-row { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
    .columns { gap: 2.4rem; }
    .contact { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
    .wrap { width: calc(100% - 2rem); }
    .utility a { font-size: 0.8rem; }
    .utility strong { margin-left: 0; }
    .hero { background-position: 63% center; }
    .hero-inner { min-height: 460px; }
    .hero h1 { font-size: clamp(3.9rem, 14vw, 5.25rem); }
    .service-band .wrap { grid-template-columns: 1fr; width: 100%; }
    .service-band a { border-inline: 0; border-bottom: 1px solid #ffffff45; padding: 0.55rem; }
    .service-band a:last-child { border: 0; }
    .card-grid, .story, .columns, .footer-grid, .form-pair { grid-template-columns: 1fr; }
    .card { padding: 1.45rem; min-height: 155px; }
    .story > img { min-height: 0; aspect-ratio: 16 / 8; }
    .form-pair { gap: 0; }
    .footer-grid { gap: 1.7rem; }
    .lead { font-size: 1.0625rem; }
}
@media (max-width: 350px) {
    .hero h1 { font-size: 3.45rem; }
    .utility .wrap { flex-wrap: wrap; gap: 0; padding-block: 4px; }
}

.hero-ask { color: #fff; font-weight: 700; padding: .6rem .2rem; text-underline-offset: 5px; }
.ask-redcrest { background: var(--light); border-bottom: 1px solid var(--line); }
.ask-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(1.75rem, 6vw, 5.5rem); align-items: start; }
.ask-intro > p:not(.eyebrow) { max-width: 36ch; }
.ask-intro h2 { margin-bottom: .35em; }
.ask-handoff { display: flex; gap: .45rem 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.ask-panel { background: #fff; color: var(--ink); border: 1px solid var(--line); min-width: 0; }
.ask-panel-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; padding: .75rem 1rem; background: var(--ink); color: #fff; }
.ask-panel-header span { font-size: .875rem; align-self: center; }
.ask-thread { display: flex; flex-direction: column; gap: .65rem; max-height: 330px; overflow-y: auto; padding: 1rem; }
.ask-bubble { align-self: flex-start; max-width: 94%; margin: 0; padding: .65rem .8rem; background: var(--light); overflow-wrap: anywhere; white-space: pre-line; }
.ask-bubble.ask-visitor { align-self: flex-end; color: #fff; background: var(--red); }
.ask-source { font-size: .875rem; align-self: flex-start; margin-top: -.2rem; }
.ask-controls { padding: 0 1rem .65rem; }
.ask-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .65rem; }
.ask-suggestions button { color: var(--ink); background: #fff; border: 1px solid var(--line); padding: .48rem .65rem; font: 600 .875rem var(--body); cursor: pointer; }
.ask-suggestions button:hover { border-color: var(--red); background: var(--light); }
.ask-form label { font-size: .875rem; margin-bottom: .25rem; }
.ask-entry { display: flex; align-items: stretch; gap: .45rem; }
.ask-entry input { min-width: 0; margin: 0; }
.ask-note { font-size: .875rem; color: var(--muted); padding: 0 1rem .8rem; margin: 0; }
@media (max-width: 720px) {
    .ask-layout { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
    .ask-suggestions button { min-height: 44px; }
}

.portfolio-hero { background: var(--ink); color: #fff; }
.portfolio-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; }
.portfolio-headline { padding: clamp(2.8rem, 6vw, 5.6rem) clamp(1.5rem, 4vw, 4rem) clamp(2.8rem, 6vw, 5.6rem) 0; }
.portfolio-headline h1 { margin-bottom: .27em; }
.portfolio-headline .eyebrow { color: var(--red-bright); }
.portfolio-headline .lead { color: #eef0f0; }
.portfolio-disclosure { display: inline-block; max-width: 48ch; margin-top: 1rem; padding: .6rem 0 .6rem 1rem; border-left: 3px solid var(--red-bright); color: #eef0f0; font-size: .93rem; }
.portfolio-hero-grid > img { width: 100%; height: 100%; min-height: 0; max-height: 490px; object-fit: cover; object-position: center 42%; }
.work-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: .8rem; }
.work-filters[hidden], .work-count[hidden], .work-card[hidden] { display: none; }
.work-filters button { min-height: 44px; padding: .55rem .85rem; background: #fff; color: var(--ink); border: 1px solid var(--line); font: 700 .9rem/1.3 var(--body); cursor: pointer; }
.work-filters button:hover { border-color: var(--red); }
.work-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-count { color: var(--muted); font-size: .875rem; margin-bottom: 1rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.work-card { background: var(--light); color: var(--ink); }
.work-image { display: block; }
.work-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: filter 150ms ease-in-out; }
.work-image:hover img, .work-image:focus-visible img { filter: brightness(.88); }
.work-caption { padding: clamp(.85rem, 1.75vw, 1.25rem); }
.work-category { font-weight: 700; color: var(--red); font-size: .86rem; }
.work-scope { color: var(--muted); font-size: .95rem; }
.work-dialog { width: min(650px, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 0; padding: clamp(1rem, 3vw, 1.6rem); color: var(--ink); background: #fff; }
.work-dialog::backdrop { background: #111416c7; }
.work-dialog-top, .work-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.work-dialog-top h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.work-dialog figure { margin: .85rem 0; }
.work-dialog figure img { width: 100%; max-height: 62svh; object-fit: contain; background: var(--light); }
.work-dialog figcaption, .work-position { font-size: .875rem; margin-top: .4rem; color: var(--muted); }
.work-dialog .button { min-height: 44px; padding: .55rem .85rem; }
@media (max-width: 900px) {
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .portfolio-hero-grid { grid-template-columns: 1fr; }
    .portfolio-headline { padding-right: 0; }
    .portfolio-hero-grid > img { max-height: 300px; aspect-ratio: 16/9; }
}
@media (max-width: 460px) {
    .work-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .work-image img { transition: none; }
}
