@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./dm-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./instrument-serif-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./instrument-serif-italic-latin.woff2') format('woff2');
}

:root {
  --navy: #112b3e;
  --deep-navy: #0c2232;
  --ink: #142d40;
  --paper: #f8f5ef;
  --sand: #ebe5d8;
  --gold: #f0c979;
  --bronze: #744d1d;
  --slate: #435660;
  --light-slate: #d4dde1;
  --rule: #cfc8b8;
  --navy-rule: #536873;
  --serif: 'Instrument Serif', Baskerville, Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5.375rem);
  --shell: 90rem;
  font-family: var(--sans);
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h2 { font-size: clamp(2.7rem, 5.25vw, 5.1rem); letter-spacing: -.012em; }
h3 { font-size: clamp(1.75rem, 3.1vw, 3rem); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #356983; outline-offset: 4px; }
main:focus { outline: none; }
[id] { scroll-margin-top: 1.25rem; }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.4rem, 7.1vw, 7.25rem); }
.eyebrow { color: var(--bronze); font-size: .8125rem; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; font-weight: 700; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.email-link { overflow-wrap: anywhere; }
.skip-link { position: absolute; z-index: 10; inset: 1rem auto auto 1rem; transform: translateY(-230%); padding: .65rem .9rem; background: #fff; color: var(--ink); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: .75rem 1.25rem;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-gold { color: var(--deep-navy); background: var(--gold); }
.button-gold:hover { background: #ffdc98; }
.button-outline { border-color: var(--ink); background: #fff; color: var(--ink); }
.button-outline:hover, .button-outline[aria-current='page'], .button-navy { background: var(--navy); color: #fff; }
.button-navy:hover { background: #21465e; }

.site-header { position: relative; background: #fff; color: var(--ink); z-index: 2; }
.header-inner { display: flex; gap: 2rem; justify-content: space-between; align-items: center; min-height: 6.5rem; }
.brand { flex: none; display: inline-flex; align-items: center; vertical-align: middle; }
.brand img { width: 6.25rem; height: 6.25rem; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3.1rem); }
.main-nav a:not(.button) { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.main-nav a:not(.button):is(:hover, [aria-current='page']) { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 2px; text-underline-offset: .42em; }
.main-nav .button { min-height: 2.9rem; }
.mobile-nav { display: none; }

.home-hero, .contact-hero { background: var(--navy); color: var(--paper); }
.hero-layout, .contact-hero-layout { max-width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); }
.hero-copy { padding: clamp(4.25rem, 8.3vw, 8.1rem) clamp(1.75rem, 4.6vw, 4.75rem) clamp(4.2rem, 8.3vw, 8.1rem) var(--gutter); }
.home-hero .eyebrow, .contact-hero .eyebrow { color: var(--gold); }
.home-hero .eyebrow { display: flex; gap: .75rem; align-items: center; }
.home-hero .eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: currentColor; flex: none; }
.home-hero h1 { margin-top: 1.3rem; font-size: clamp(3.75rem, 6.3vw, 6.65rem); line-height: .93; letter-spacing: -.016em; }
.home-hero h1 span, .home-hero h1 em { display: block; }
.home-hero h1 em { color: var(--gold); font-weight: 400; }
.hero-description { margin-top: 1.55rem; max-width: 36ch; color: var(--light-slate); font-size: clamp(1.0625rem, 1.45vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: 1.65rem; }
.home-hero :focus-visible, .contact-band :focus-visible { outline-color: var(--gold); }
.hero-photo, .contact-photo { min-height: 100%; position: relative; isolation: isolate; overflow: hidden; background: #3c5663; }
.hero-photo img, .contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 50% 35%; filter: saturate(.78); }
.hero-photo::after, .contact-photo::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, #0a2032b8, transparent 27%); pointer-events: none; }

.credibility-strip { background: var(--sand); border-bottom: 1px solid var(--rule); }
.credibility-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 0; list-style: none; }
.credibility-strip li { display: grid; place-items: center; padding: 1.1rem .6rem; line-height: 1.45; text-align: center; font-weight: 700; font-size: .875rem; }
.credibility-strip li + li { border-left: 1px solid var(--rule); }

.overview-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(2rem, 6.3vw, 7.25rem); }
.section-lead .eyebrow { margin-bottom: .95rem; }
.section-lead p:not(.eyebrow) { color: var(--slate); margin-top: 1rem; max-width: 34ch; }
.section-lead .text-link { margin-top: .4rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.6rem; }
.service-teaser { border-top: 1px solid var(--rule); padding: 1.2rem 0 1.55rem; }
.service-teaser h3 { font-size: clamp(1.7rem, 2.65vw, 2.65rem); }
.service-teaser p { margin-top: .6rem; color: var(--slate); }
.service-teaser a, .work-teaser a { text-decoration: none; text-underline-offset: .13em; text-decoration-thickness: 1px; }
.service-teaser a:hover, .work-teaser a:hover { text-decoration: underline; }
.work-preview { background: var(--sand); border-block: 1px solid var(--rule); }
.section-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: .55rem 2rem; flex-wrap: wrap; }
.work-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; margin-top: 2rem; }
.work-teaser { border-top: 1px solid #9e8562; padding-top: 1.2rem; }
.work-teaser h3 { margin-block: .65rem; }
.work-teaser p:not(.eyebrow) { color: var(--slate); max-width: 44ch; }
.team-preview-list { list-style: none; margin: 0; padding: 0; }
.team-preview-list li { border-top: 1px solid var(--rule); }
.team-preview-list li:last-child { border-bottom: 1px solid var(--rule); }
.team-preview-list a { min-height: 4.75rem; display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; align-items: center; justify-content: space-between; padding: .7rem 0; text-decoration: none; }
.mini-name { font: 400 clamp(1.8rem, 3.2vw, 3rem)/1.05 var(--serif); }
.mini-name + span { color: var(--slate); font-size: .875rem; }
.team-preview-list a:hover .mini-name { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }

.page-intro { padding-block: clamp(3.2rem, 8.4vw, 7.8rem); border-block: 1px solid var(--rule); }
.page-intro-sand { background: var(--sand); }
.page-intro-dark { background: var(--navy); color: var(--paper); border-color: var(--navy-rule); }
.page-intro h1, .contact-hero h1 { font-size: clamp(3.6rem, 8.15vw, 7.3rem); letter-spacing: -.02em; line-height: .98; overflow-wrap: break-word; }
.page-intro p, .contact-hero p:not(.eyebrow) { color: var(--slate); max-width: 47ch; margin-top: 1.12rem; font-size: clamp(1.06rem, 1.8vw, 1.29rem); }
.page-intro-dark p, .contact-hero p:not(.eyebrow) { color: var(--light-slate); }
.capability-content, .profile-list, .case-list { padding-block: clamp(2.4rem, 5.4vw, 5.2rem); }
.jump-links { display: flex; gap: .15rem 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: clamp(1.45rem, 3.6vw, 3.5rem); }
.jump-links a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--bronze); font-size: .9375rem; font-weight: 700; text-underline-offset: .26em; }

.capability-row, .case-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr); gap: 1.25rem clamp(2rem, 6.8vw, 7rem); border-top: 1px solid var(--rule); padding-block: clamp(1.85rem, 5vw, 4.65rem); }
.capability-row h2, .case-row h2, .profile h2 { font-size: clamp(2.25rem, 4.5vw, 4.55rem); }
.capability-row p, .case-row > p, .profile-copy p:not(.eyebrow) { max-width: 65ch; color: var(--slate); }
.service-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.service-list li { position: relative; padding: .4rem 0 .4rem 1.1rem; border-bottom: 1px solid var(--rule); }
.service-list li::before { content: ''; position: absolute; left: 0; top: 1.17em; width: .29rem; height: .29rem; border-radius: 50%; background: var(--bronze); }
.industries { border-top: 1px solid var(--rule); display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem 1.5rem; padding-top: 1.35rem; }
.industries h2 { font: 700 .9375rem/1.35 var(--sans); }
.industries ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; color: var(--slate); }

.profile { display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: clamp(1.5rem, 6.4vw, 6.4rem); padding-block: clamp(1.8rem, 4.6vw, 4rem); border-top: 1px solid var(--rule); }
.profile-compact { display: block; padding-block: clamp(1.25rem, 3.1vw, 2rem); }
.profile-compact h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.profile-portrait { position: relative; display: grid; place-items: center; isolation: isolate; width: 100%; max-width: 15rem; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.profile-portrait span { color: var(--bronze); font: 400 3.1rem/1 var(--serif); }
.profile-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 43%; }
#jim-quigley .profile-portrait img { transform: scale(1.65); transform-origin: 41% 38%; }
.profile-portrait.is-missing img { display: none; }
.profile-copy .eyebrow { margin-bottom: .5rem; }
.profile-copy p:not(.eyebrow) { margin-top: .8rem; }
.profile-copy .text-link, .project-links { margin-top: .65rem; }
.profile-links, .project-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.project-video { margin-top: 1rem; }
.project-video iframe { display: block; width: 100%; max-width: 35rem; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--navy); }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .75rem; max-width: 35rem; margin: .65rem 0 1.15rem; padding: 0; list-style: none; }
.project-gallery a, .project-gallery img { display: block; }
.project-gallery img { width: 100%; height: auto; }
.project-mailer { display: block; max-width: 26rem; }
.project-mailer img { display: block; width: 100%; height: auto; }
.project-ad { flex: 1 1 12rem; padding: .7rem 0 0; border-top: 1px solid var(--rule); }
.project-ad blockquote { margin: 0; color: var(--slate); }

.contact-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.contact-intro { padding: clamp(3.2rem, 6.9vw, 6rem) clamp(1.9rem, 4.2vw, 4.2rem) clamp(3.25rem, 6.9vw, 6rem) var(--gutter); }
.contact-hero h1 { font-size: clamp(3.25rem, 6.8vw, 6.4rem); margin-top: .9rem; max-width: 12ch; }
.contact-photo img { object-position: 53% 49%; filter: saturate(.78); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.25fr); gap: clamp(2.25rem, 8.3vw, 8rem); }
.contact-info h2, .inquiry h2 { font-size: clamp(2.2rem, 4.35vw, 4rem); }
.contact-info .text-link { margin-top: .65rem; }
.contact-info address { margin-top: .75rem; font-style: normal; color: var(--slate); }
.inquiry { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.inquiry > p { color: var(--slate); margin-top: .75rem; max-width: 53ch; }
.inquiry form { display: grid; gap: .95rem; margin-top: 1.45rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem 1rem; }
.field label, .draft-fallback label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .32rem; }
.field label span { color: var(--slate); font-weight: 400; }
.field :is(input, select), .draft-fallback textarea { width: 100%; min-height: 3rem; border: 1px solid #8b979a; border-radius: 2px; background: #fff; color: var(--ink); padding: .55rem .7rem; }
.field select { appearance: none; padding-right: 2.45rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-size: 5px 5px; background-position: right 17px center, right 12px center; background-repeat: no-repeat; }
.inquiry form .button { justify-self: start; margin-top: .2rem; }
.form-status { color: var(--slate); font-size: .875rem; }
.draft-fallback label { margin-top: .35rem; }
.draft-fallback textarea { resize: vertical; }

.contact-band { background: var(--navy); color: var(--paper); padding-block: clamp(2.65rem, 5.1vw, 4.85rem); }
.contact-band-inner { display: flex; gap: 1.2rem 2.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.contact-band h2 { font-size: clamp(2.35rem, 4.3vw, 4.4rem); }
.site-footer { background: #fff; border-top: 1px solid var(--rule); }
.footer-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem 2.1rem; padding-block: 1.6rem; }
.footer-main .brand img { width: 5.5rem; height: 5.5rem; }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.3rem; }
.footer-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration: none; font-size: .875rem; font-weight: 600; }
.footer-nav a:is(:hover, [aria-current='page']) { text-decoration: underline; text-underline-offset: .25em; }
.footer-main address { font-size: .875rem; color: var(--slate); font-style: normal; }
.footer-main address .text-link { font-size: inherit; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding-block: .25rem .65rem; border-top: 1px solid var(--rule); color: var(--slate); font-size: .8125rem; }
.footer-meta small { font-size: inherit; }
.footer-social { display: flex; flex-wrap: wrap; gap: 0 1rem; }

@media (max-width: 56rem) {
  .hero-copy { padding-right: 1.65rem; }
  .service-grid { gap: 0 1.2rem; }
  .footer-main { gap: .8rem 1.35rem; }
}

@media (max-width: 45rem) {
  .header-inner { min-height: 5.05rem; }
  .brand img { width: 4.75rem; height: 4.75rem; }
  .main-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; list-style: none; cursor: pointer; font-size: .9375rem; font-weight: 700; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon { height: .6rem; width: 1.15rem; border-block: 1px solid currentColor; }
  .mobile-nav nav { position: absolute; z-index: 2; display: grid; right: 0; top: 3.1rem; min-width: 13rem; padding: .4rem .85rem; background: #fff; border: 1px solid var(--rule); box-shadow: 0 10px 25px #102a3c23; }
  .mobile-nav nav a { display: flex; min-height: 2.75rem; align-items: center; padding: .28rem .2rem; font-size: .9375rem; font-weight: 600; text-decoration: none; }
  .mobile-nav nav a + a { border-top: 1px solid var(--rule); }
  .mobile-nav nav a:is(:hover, [aria-current='page']) { color: var(--bronze); text-decoration: underline; text-underline-offset: .22em; }
  .hero-layout, .contact-hero-layout, .overview-split, .contact-grid, .capability-row, .case-row { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem var(--gutter) 2.5rem; }
  .home-hero h1 { font-size: clamp(3.05rem, 11.2vw, 5.4rem); }
  .hero-description { max-width: 47ch; }
  .hero-photo, .contact-photo { min-height: 0; height: clamp(15rem, 57vw, 24rem); }
  .hero-photo img { object-position: 50% 17%; }
  .contact-intro { padding: 2.9rem var(--gutter) 2.5rem; }
  .credibility-strip ul { padding-inline: .45rem; }
  .credibility-strip li { padding: .78rem .45rem; line-height: 1.4; }
  .profile { grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); }
  .footer-main { grid-template-columns: auto 1fr; }
  .footer-main address { grid-column: 2; }
}

@media (max-width: 32rem) {
  .hero-actions { gap: .45rem .85rem; }
  .hero-actions .button { padding-inline: .85rem; }
  .hero-actions .text-link { font-size: .875rem; }
  .service-grid, .work-preview-grid, .profile, .field-grid { grid-template-columns: 1fr; }
  .service-teaser { padding-bottom: 1.2rem; }
  .profile-portrait { max-width: 11.5rem; }
  .profile { gap: 1.15rem; }
  .footer-main { gap: .25rem .75rem; }
  .footer-nav { gap: 0 .75rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 130ms ease, color 130ms ease; }
}
