/* Capitol Hill Photo */
:root {
  --navy: #1e2d3b;
  --slate: #3d5975;
  --text: #3b3a3a;
  --gold: #e3c11f;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: #9a9a9a;
  --font-display: "Prompt", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Avenir", "Avenir LT Std", "Nunito Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 96px;
  --wrap: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 300 17px/1.7 var(--font-body);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--slate); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 400; margin: 0; }
.sr-only, .form__hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; height: var(--header-h);
  background: var(--navy);
}
.logo {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px;
  width: 330px; padding: 0 27px;
  background: #f7f7f7; color: var(--navy); text-decoration: none;
}
.logo__mark { width: 57px; height: 43px; fill: currentColor; flex: none; }
.logo__text { font: 400 23px/1 var(--font-display); letter-spacing: .05em; }
.nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; padding: 0 40px; }
.nav__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav__menu a {
  color: #fff; text-decoration: none; text-transform: uppercase;
  font: 300 14px/1 var(--font-ui); letter-spacing: .02em;
}
.nav__menu a:hover, .nav__menu a:focus-visible, .nav__menu a.is-current { color: var(--gold); }
.nav__toggle { display: none; }

/* ---------------------------------------------------------------- shared */
.section { padding: 70px 24px 80px; text-align: center; }
.section__title { color: var(--navy); font-size: clamp(36px, 5vw, 55px); line-height: 1.1; letter-spacing: .05em; }
.section__title--left { text-align: left; line-height: .95; }
.rule { display: block; width: 110px; height: 8px; margin: 26px auto 44px; background: var(--gold); }
.rule--left { margin-left: 0; }

/* ---------------------------------------------------------------- hero */
.hero { padding-top: 36px; text-align: center; }
.hero__title {
  color: var(--slate); font-size: clamp(34px, 5vw, 60px); line-height: 1.1;
  letter-spacing: .06em; margin: 0 24px 36px;
}
.hero__strips { display: grid; grid-template-columns: 1fr 1fr; }

/* ---------------------------------------------------------------- slideshows */
.slideshow { position: relative; overflow: hidden; background: #e9ecef; }
.slideshow--hero { aspect-ratio: 640 / 445; }
.slideshow--work { aspect-ratio: 3 / 2; background: transparent; }
.slideshow--empty { background: #e9ecef; }
.slideshow__track, .slideshow__slide { position: absolute; inset: 0; margin: 0; }
.slideshow__slide { opacity: 0; transition: opacity .9s ease; }
.slideshow__slide.is-active { opacity: 1; z-index: 1; }
.slideshow__slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow--work .slideshow__slide img { object-fit: contain; }
.slideshow__slide--zoom { cursor: zoom-in; }
.slideshow__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 44px; height: 64px; border: 0; padding: 0; background: transparent; cursor: pointer;
  opacity: 0; transition: opacity .2s;
}
.slideshow:hover .slideshow__nav, .slideshow__nav:focus-visible { opacity: 1; }
.slideshow__nav svg, .lightbox__nav svg {
  width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
}
.slideshow__nav--prev { left: 6px; }
.slideshow__nav--next { right: 6px; }
.slideshow__count, .slideshow__hint {
  position: absolute; bottom: 10px; z-index: 2; color: #fff;
  font: 300 13px/1 var(--font-ui); text-shadow: 0 1px 2px rgba(0,0,0,.7);
  opacity: 0; transition: opacity .2s;
}
.slideshow__count { right: 14px; }
.slideshow__hint { left: 14px; }
.slideshow:hover .slideshow__count, .slideshow:hover .slideshow__hint { opacity: 1; }
@media (hover: none) {
  .slideshow__nav, .slideshow__count { opacity: 1; }
}

/* ---------------------------------------------------------------- services */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center; gap: 20px; align-items: start; text-align: left;
}
.card { background: var(--mist); padding-bottom: 28px; }
.card__img img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card__title { color: var(--slate); font-size: 22px; line-height: 1.1; margin: 28px 28px 18px; }
.card p { font-size: 15px; line-height: 1.6; margin: 0 28px; }

/* ---------------------------------------------------------------- full-width photo strips */
/* A window onto a photo that drifts slower than the page (parallax, like Wix's
   background scroll effect). site.js moves the image; without JS or with
   reduced motion it simply sits centered. */
.strip {
  position: relative; overflow: hidden;
  height: clamp(220px, 31vw, 400px);
  background: var(--navy);
}
.strip img {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 100%; object-fit: cover; object-position: center 40%;
}
.strip.is-parallax img {
  height: var(--parallax-h, 100vh); will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

/* ---------------------------------------------------------------- about */
.about { background: #f7f7f7; text-align: left; }
.about > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.about .rule--left { margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.about p { font-size: 17px; line-height: 1.7; margin-top: 0; margin-bottom: 1.4em; }

/* ---------------------------------------------------------------- work areas */
.works {
  display: grid; grid-template-columns: repeat(2, minmax(0, 507px));
  justify-content: center; gap: 44px 22px; text-align: left;
}
.work__title { color: var(--navy); font-size: 25px; line-height: 1.4; margin-bottom: 4px; }

/* ---------------------------------------------------------------- contact */
/* National reach map: DC home base with routes to cities on assignment */
.contact__reach { margin: 0 auto; max-width: 900px; }
.reach { display: block; width: 100%; height: auto; overflow: visible; }
.reach__land { fill: #e9eef3; stroke: var(--slate); stroke-width: 1.2; stroke-linejoin: round; }
.reach__states { fill: none; stroke: #fff; stroke-width: 1; stroke-linejoin: round; }
.reach__arcs path {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.reach__cities circle { fill: var(--slate); stroke: #fff; stroke-width: 2; }
.reach__cities text { font: 300 14px var(--font-ui); fill: var(--navy); paint-order: stroke; stroke: #e9eef3; stroke-width: 4px; stroke-linejoin: round; }
.reach__badge { fill: var(--navy); stroke: var(--gold); stroke-width: 3; }
.reach__home g { fill: #fff; }
.reach__pulse { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.reach__home-label { font: 400 16px var(--font-display); fill: var(--navy); letter-spacing: .03em; paint-order: stroke; stroke: #e9eef3; stroke-width: 4px; stroke-linejoin: round; }
.contact__reach figcaption { margin-top: 14px; font: 300 15px/1.4 var(--font-ui); letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }

/* Drawn in when scrolled into view (JS adds the classes; without JS everything shows) */
.reach--ready .reach__arcs path { stroke-dashoffset: 1; }
.reach--ready .reach__cities > * { opacity: 0; }
.reach--in .reach__arcs path {
  stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.3,.6,.2,1);
  transition-delay: calc(var(--i) * 90ms);
}
.reach--in .reach__cities > * { opacity: 1; transition: opacity .4s ease 1.2s; }
.reach--in .reach__pulse { animation: reach-pulse 2.4s ease-out 1.6s 3; }
@keyframes reach-pulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
@media (max-width: 700px) {
  .reach__cities text { font-size: 18px; }
  .reach__home-label { font-size: 20px; }
}
.contact__reach + .contact__shout { margin-top: 40px; }
.contact__shout { color: var(--navy); font-size: 25px; }
.contact .rule { margin: 14px auto 22px; }
.contact__book { color: var(--navy); font-size: 22px; margin-bottom: 26px; }
.contact__book a { color: var(--slate); text-decoration: none; }
.contact__book a:hover { text-decoration: underline; }
.contact__intro { max-width: 900px; margin: 0 auto 36px; text-align: left; font-size: 17px; }
.contact__form-title { max-width: 900px; margin: 0 auto 18px; text-align: left; color: var(--navy); font-size: 25px; }
.contact .form { max-width: 900px; margin: 0 auto; }
.contact .form__field { max-width: 480px; }

/* ---------------------------------------------------------------- forms */
.form { text-align: left; }
.form__field { display: block; margin-bottom: 14px; }
.form__field span, .form__checks legend { display: block; font: 300 14px/1.4 var(--font-ui); color: var(--text); margin-bottom: 5px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 0;
  background: var(--mist); color: var(--text); font: 300 15px/1.4 var(--font-ui);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--slate); outline-offset: 1px; border-color: var(--slate); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form__checks { border: 0; padding: 0; margin: 4px 0 12px; }
.form__checks label, .form__check { display: block; font: 300 15px/1.9 var(--font-ui); }
.form__check { margin-bottom: 16px; }
.form__submit {
  margin-top: 10px; padding: 9px 38px; cursor: pointer;
  background: #fdf1ef; color: var(--navy); border: 1px solid #555;
  font: 400 17px/1.2 var(--font-ui);
}
.form__submit:hover { background: var(--navy); color: #fff; }
.form__submit:disabled { opacity: .6; cursor: wait; }
.form__status { min-height: 1.6em; margin: 12px 0 0; font: 400 15px/1.5 var(--font-ui); }
.form__status--ok { color: #2f6b3a; }
.form__status--error { color: #a3261b; }

/* ---------------------------------------------------------------- booking dialog */
.dialog {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  border: 0; padding: 36px 40px 28px; color: var(--text);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.dialog::backdrop { background: rgba(20, 30, 40, .65); }
.dialog__close-form { position: absolute; top: 8px; right: 10px; margin: 0; }
.dialog__close { border: 0; background: none; font-size: 32px; line-height: 1; cursor: pointer; color: var(--navy); }
.dialog__title { color: var(--navy); font-size: 28px; line-height: 1.2; margin-right: 24px; }
.dialog__intro { margin: 8px 0 22px; }

/* ---------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.92); padding: 48px 64px;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 12px; right: 18px; border: 0; background: none;
  color: #fff; font-size: 40px; line-height: 1; cursor: pointer;
}
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; padding: 16px; }
.lightbox__nav svg { width: 36px; height: 36px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font: 300 14px/1 var(--font-ui); }

/* ---------------------------------------------------------------- footer */
.footer { padding: 28px 24px 40px; text-align: center; }
.footer p { margin: 0; font: 300 14px/1.4 var(--font-ui); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .logo { width: auto; }
  .nav__menu { gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .logo { padding: 0 16px; gap: 10px; }
  .logo__mark { width: 44px; height: 33px; }
  .logo__text { font-size: 19px; }
  .nav { padding: 0 8px; }
  .nav__toggle {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; background: none; cursor: pointer;
  }
  .nav__bars, .nav__bars::before, .nav__bars::after {
    display: block; width: 24px; height: 2px; background: #fff; position: relative;
  }
  .nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
  .nav__bars::before { top: -7px; }
  .nav__bars::after { top: 7px; }
  .nav__menu {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--navy); padding: 8px 0 16px;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { display: block; padding: 14px 24px; font-size: 15px; }
  .cards { grid-template-columns: minmax(0, 420px); }
  .works { grid-template-columns: minmax(0, 620px); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 52px 16px 60px; }
  .hero__strips { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .dialog { padding: 28px 20px 20px; }
  .lightbox { padding: 48px 8px; }
}
