@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair.woff2") format("woff2");
  font-weight: 500 650;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #0b213d;
  --blue: #142c54;
  --midnight: #081a30;
  --white: #fff;
  --paper: #f7f8f8;
  --wash: #edf3f7;
  --muted: #4a5c70;
  --rule: #cbd7df;
  --on-blue: #dbe7ef;
  --dark-rule: #547087;
  --brass: #d9be91;
  --brass-dark: #806237;
  --teal: #08778a;
  --display: "Playfair Display", Georgia, serif;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
:where(.header, .hero, .contact-info, .footer, .lightbox) :focus-visible { outline-color: var(--brass); }
.shell { width: min(100% - 5rem, 80rem); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: 1rem; z-index: 3; background: var(--brass); color: var(--midnight); padding: .75rem; transform: translateY(-170%); }
.skip:focus { transform: none; }

.header { background: var(--midnight); color: var(--white); border-bottom: 1px solid #30455e; }
.header-inner { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; gap: .85rem; align-items: center; font-size: 1.28rem; font-weight: 800; text-decoration: none; white-space: nowrap; line-height: 1.14; }
.brand img { width: 3.75rem; height: 2.85rem; object-fit: contain; }
.brand small { display: block; margin-top: .18rem; color: var(--on-blue); font-size: .75rem; font-weight: 650; letter-spacing: .14em; }
nav { display: flex; gap: clamp(1rem, 4vw, 3.4rem); }
nav a { font-size: .94rem; font-weight: 650; text-decoration: none; padding-block: .4rem; }
nav a:hover, .header-phone:hover { color: var(--brass); }
.header-phone { color: var(--white); white-space: nowrap; font-size: .9rem; font-weight: 750; text-decoration: none; border: 1px solid var(--dark-rule); padding: .75rem 1rem; }

.hero {
  --grid-line: #95bad116;
  background: radial-gradient(ellipse at 18% 0%, #28476a91, transparent 66%),
    repeating-linear-gradient(90deg, transparent 0 5rem, var(--grid-line) 5rem calc(5rem + 1px)),
    repeating-linear-gradient(0deg, transparent 0 5rem, var(--grid-line) 5rem calc(5rem + 1px)),
    var(--navy);
  color: var(--white);
  padding-block: clamp(1.5rem, 4vw, 3.75rem);
}
.hero-frame { display: grid; grid-template-columns: 1.17fr .83fr; border: 1px solid var(--dark-rule); }
.hero-copy { align-self: center; padding: clamp(3rem, 6.4vw, 6.4rem) clamp(1.5rem, 5vw, 4.75rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--brass); font-size: .88rem; font-weight: 750; text-transform: uppercase; letter-spacing: .115em; margin: 0 0 1.2rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; flex: 0 0 auto; }
h1, h2, h3, h4 { margin: 0; }
h1, h2, .service-group h3 { font-family: var(--display); font-weight: 600; line-height: .97; letter-spacing: -.055em; }
h1 { font-size: clamp(3.5rem, 5.65vw, 5.5rem); line-height: 1.04; }
h1 em { display: inline-block; color: var(--brass); font-weight: 500; }
.hero-description { max-inline-size: 30rem; color: var(--on-blue); font-size: clamp(1rem, 1.35vw, 1.22rem); margin: 1.45rem 0 1.85rem; line-height: 1.62; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.35rem; }
.hero-media { position: relative; min-height: 0; margin: 0; border-left: 1px solid var(--dark-rule); background: var(--midnight); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-media::before, .hero-media::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.hero-media::before { inset: 0; background: linear-gradient(0deg, #081a30e8, transparent 40%); }
.hero-media::after { inset: 1rem; border: 1px solid #fff9; }
.button { display: inline-flex; max-width: 100%; align-items: center; justify-content: center; min-height: 3.12rem; padding: .75rem 1.2rem; border: 1px solid var(--brass); background: var(--brass); color: var(--midnight); font: inherit; font-size: .95rem; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button:hover { background: #f0d8ad; border-color: #f0d8ad; }
.text-link { display: inline-block; font-weight: 750; text-decoration-color: var(--brass-dark); text-decoration-thickness: 1px; }
.hero .text-link { text-decoration-color: var(--brass); }
.hero .text-link:hover { color: var(--brass); }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.3rem; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(3.15rem, 6vw, 5.75rem); }
.section-heading p { max-width: 29rem; margin: 0; color: var(--muted); line-height: 1.6; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.service-group { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--rule); background: var(--white); }
.service-group::after { content: ""; position: absolute; inset: -.0625rem -.0625rem auto auto; width: 2.3rem; height: 2.3rem; border: solid var(--brass-dark); border-width: 1px 1px 0 0; pointer-events: none; }
.service-group h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1; min-height: 2em; }
.service-ampersand { font-family: Manrope, system-ui, sans-serif; font-size: .78em; }
.service-group ul { list-style: none; margin: .7rem 0 0; padding: 0; }
.service-group li { border-top: 1px solid var(--rule); padding: .9rem 0; }
.service-group li:last-child { padding-bottom: 0; }
.service-group h4 { font-size: 1rem; font-weight: 800; line-height: 1.4; }
.service-group p, .project p, .legal p { color: var(--muted); line-height: 1.6; margin: .35rem 0 0; }

.projects { background: var(--wash); border-block: 1px solid var(--rule); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.project { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); padding: .75rem; }
.project-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.project figure { position: relative; margin: 0; min-width: 0; }
.project-photo { position: relative; display: block; overflow: hidden; background: var(--wash); }
.project-photo::after { content: ""; position: absolute; top: .45rem; right: .45rem; width: 1.8rem; height: 1.8rem; border: 1px solid var(--dark-rule); background: linear-gradient(var(--white), var(--white)) center / .7rem 1px no-repeat, linear-gradient(var(--white), var(--white)) center / 1px .7rem no-repeat, var(--midnight); pointer-events: none; }
.project-photo:focus-visible { outline-offset: -3px; }
.project-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s ease; }
.project-photo:hover img { transform: scale(1.045); }
.project figcaption { position: absolute; left: .45rem; bottom: .45rem; padding: .3rem .55rem; background: var(--midnight); color: var(--white); border: 1px solid var(--dark-rule); font-size: .875rem; font-weight: 750; pointer-events: none; }
.project-copy { padding: 1.2rem .6rem .8rem; }
.projects .section-heading h2, .project h3 { font-family: inherit; font-weight: 800; letter-spacing: -.045em; }
.projects .section-heading h2 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.08; }
.project h3 { font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.2; }
.project-source { display: inline-block; margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.project-source:hover { color: var(--teal); }
.projects-link { margin-top: 1.4rem; }
.projects-link:hover { color: var(--teal); }

.contact {
  background: radial-gradient(ellipse at 8% 10%, #1a3857, transparent 62%), var(--midnight);
  color: var(--white);
  font-family: "Instrument Sans", Manrope, system-ui, sans-serif;
}
.contact .section-heading { border-color: var(--dark-rule); }
.contact .section-heading h2, .contact-grid h3 { font-family: inherit; font-weight: 700; letter-spacing: -.045em; }
.contact .section-heading h2 { font-size: clamp(2.7rem, 5.4vw, 4.8rem); line-height: 1.05; }
.contact .section-heading p { color: var(--on-blue); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: start;
  gap: clamp(1.65rem, 5vw, 5rem);
}
.contact-person { border-bottom: 1px solid var(--dark-rule); padding-bottom: 1.15rem; }
.contact-label { display: block; margin: 0; color: var(--brass); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-person h3 { margin: .5rem 0 .3rem; font-size: clamp(1.95rem, 3.7vw, 3.15rem); line-height: 1.08; }
.contact-role { margin: 0; color: var(--on-blue); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .85rem; margin: 1.3rem 0 1.65rem; font-style: normal; }
.contact-links a { display: block; overflow-wrap: anywhere; font-weight: 650; line-height: 1.5; text-decoration-color: #a8bbcb; }
.contact-links a:hover { color: var(--brass); text-decoration-color: var(--brass); }
.contact-links .contact-label { margin-bottom: .22rem; }
.hours { margin: .55rem 0 0; color: var(--on-blue); font-size: .9rem; }
.hours div { display: grid; gap: .5rem; grid-template-columns: 1fr auto; padding-block: .55rem; border-top: 1px solid var(--dark-rule); }
.hours dd { margin: 0; text-align: right; }
.form-panel {
  background: var(--paper);
  color: var(--navy);
  padding: clamp(1.4rem, 3.4vw, 2.7rem);
  border-top: 3px solid var(--brass);
}
.form-panel h3 { margin-bottom: 1.5rem; font-size: clamp(1.55rem, 2.6vw, 2.35rem); line-height: 1.08; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-fields label { display: block; font-size: .94rem; font-weight: 700; }
.form-fields label span { font-weight: 400; color: var(--muted); }
.form-fields .wide { grid-column: 1 / -1; }
.form-fields input, .form-fields textarea {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .65rem;
  border: 1px solid #7d8fa3;
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-weight: 400;
}
.form-fields textarea { resize: vertical; }
.form-status { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.form-status:empty { display: none; }
.form-panel .button { margin-top: 1.25rem; font-weight: 700; color: var(--white); background: var(--navy); border-color: var(--navy); }
.form-panel .button:hover { background: var(--blue); border-color: var(--blue); }

.footer { padding-block: 2.5rem; background: var(--midnight); color: var(--white); border-top: 1px solid var(--dark-rule); }
.footer-inner { display: grid; align-items: start; grid-template-columns: .53fr 1fr; gap: 1rem 2rem; }
.footer-brand { justify-self: start; }
details { border-bottom: 1px solid var(--dark-rule); }
summary { cursor: pointer; padding: .7rem 0; font-weight: 750; }
summary:hover { color: var(--brass); }
.legal { max-width: 65ch; padding: 0 0 1rem; }
.legal p, .copyright { color: var(--on-blue); }
.copyright { grid-column: 1 / -1; margin: 0; font-size: .9rem; }

.lightbox { width: min(62rem, 100% - 2rem); max-height: calc(100% - 2rem); padding: 1rem; border: 1px solid var(--dark-rule); color: var(--white); background: var(--midnight); }
.lightbox::backdrop { background: #061321df; }
.lightbox form { display: flex; justify-content: end; margin-bottom: .6rem; }
.lightbox-close { color: var(--white); background: var(--navy); border: 1px solid var(--dark-rule); cursor: pointer; padding: .5rem .75rem; font: inherit; }
.lightbox-close span { margin-left: .35rem; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { margin-inline: auto; max-height: 70dvh; object-fit: contain; }
.lightbox figcaption { padding-top: .65rem; }

@media (max-width: 62rem) {
  .shell { width: calc(100% - 3rem); }
  .hero-frame { grid-template-columns: 1.15fr .85fr; }
  .hero-copy { padding-inline: clamp(1.25rem, 4vw, 2.65rem); }
  h1 { font-size: clamp(2.95rem, 6vw, 4.8rem); }
  .services { gap: .75rem; }
}
@media (max-width: 45rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; min-height: 0; padding-block: .8rem; gap: .5rem 1rem; }
  nav { order: 3; flex: 1 0 100%; gap: 1rem; padding-top: .4rem; border-top: 1px solid #30455e; }
  nav a { font-size: .9rem; }
  .header-phone { padding: .55rem .6rem; }
  .brand img { width: 3rem; height: 2.3rem; }
  .brand { font-size: 1.15rem; }
  .hero-frame { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.35rem 1.1rem; }
  h1 { font-size: clamp(2.25rem, 9.1vw, 4.5rem); }
  .hero-media { height: clamp(16rem, 65vw, 29rem); border-left: 0; border-top: 1px solid var(--dark-rule); }
  .hero-photo { object-position: 50% 47%; }
  .hero-media::after { inset: .6rem; }
  .section-heading { display: block; }
  .section-heading p { margin-top: .75rem; }
  .services, .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-group h3 { min-height: 0; margin-bottom: .55rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 26rem) {
  .form-fields, .contact-links { grid-template-columns: 1fr; }
  .eyebrow { font-size: .875rem; letter-spacing: .07em; gap: .45rem; }
  .eyebrow::before { width: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
