:root {
  --navy: #1e3a72;
  --blue: #2f6cb0;
  --paper: #e4e7ee;
  --sheet: #eef0f4;
  --foam: #f5f7fa;
  --ink: #1e3a72;
  --mist: #5c6478;
  --silver: #8b929e;
  --line: rgba(30, 58, 114, 0.14);
  --foam-line: rgba(245, 247, 250, 0.18);
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ui: "Archivo", system-ui, sans-serif;
  --space: clamp(1.25rem, 3.6vw, 3rem);
  --measure: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--ui);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--blue);
  color: var(--foam);
  padding: 0.5rem 0.8rem;
}

.skip:focus {
  top: 1rem;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--blue);
  z-index: 60;
  pointer-events: none;
}

.wrap {
  width: min(var(--measure), 100%);
  margin-inline: auto;
  padding-inline: var(--space);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.7rem var(--space);
  background: var(--navy);
  color: var(--foam);
  border-bottom: 1px solid var(--foam-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.brand-mark {
  width: 2.35rem;
  height: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
}

.brand-text em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.55;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid color-mix(in srgb, var(--blue) 60%, transparent);
  flex: none;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 14px;
  height: 1px;
  margin-left: -7px;
  background: var(--foam);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle::before {
  top: 0.85rem;
}

.nav-toggle span {
  top: 1.25rem;
}

.nav-toggle::after {
  top: 1.65rem;
}

.nav-toggle.is-open span {
  opacity: 0;
}

.nav-toggle.is-open::before {
  transform: translateY(6.4px) rotate(45deg);
}

.nav-toggle.is-open::after {
  transform: translateY(-6.4px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: color-mix(in srgb, var(--foam) 80%, var(--blue));
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 currentColor;
}

.nav-phone {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--blue);
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.nav-phone:hover {
  background: var(--blue);
  color: var(--foam);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(22rem, 0.92fr) 1.08fr;
  min-height: calc(100svh - var(--header-h));
  background: var(--navy);
  color: var(--foam);
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  background: #16305f;
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 46%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(46rem, 54%);
  background: linear-gradient(
    90deg,
    rgba(16, 32, 64, 0.92) 0%,
    rgba(16, 32, 64, 0.78) 58%,
    rgba(16, 32, 64, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3.2rem var(--space) 3.2rem;
}

.hero-lockup {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.hero-mark {
  width: min(22rem, 92%);
  height: auto;
  display: block;
}

.hero-copy {
  max-width: 28rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 4.6rem);
}

.hero-lede {
  max-width: 28rem;
  margin: 1.15rem 0 1.8rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--foam) 82%, var(--silver));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-shot {
  z-index: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.2rem;
  background: var(--blue);
  color: var(--foam);
  border: 1px solid var(--blue);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.btn:hover {
  background: var(--navy);
  border-color: var(--foam);
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--foam) 45%, transparent);
}

.btn-ghost:hover {
  background: var(--foam);
  color: var(--navy);
  border-color: var(--foam);
}

.cred {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  color: var(--foam);
  border-top: 1px solid var(--foam-line);
}

.cred div {
  padding: 1.1rem var(--space);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-right: 1px solid var(--foam-line);
}

.cred div:last-child {
  border-right: 0;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  margin: 0;
  text-align: right;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.lede {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--mist);
  max-width: 34rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.work-grid a,
.work-grid figure {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.work-grid img,
.media img,
.project-media img,
.page-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #16305f;
}

.work-grid figcaption,
.project-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.band {
  background: var(--navy);
  color: var(--foam);
}

.band .section-title,
.band .lede,
.band .quote p {
  color: var(--foam);
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: stretch;
}

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
}

.quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.35;
}

.quote footer {
  margin-top: auto;
  padding-top: 1.15rem;
  font-family: var(--ui);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--silver);
}

.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background: #16305f;
}

.ba > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  pointer-events: none;
}

.ba-before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 1px solid color-mix(in srgb, var(--foam) 55%, transparent);
}

.ba-before img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--ba-w, 100%);
  max-width: none;
  object-fit: cover;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 2;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--foam);
  z-index: 1;
  pointer-events: none;
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid var(--foam);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: color-mix(in srgb, var(--navy) 55%, transparent);
  box-shadow: inset 7px 0 0 -6px var(--foam), inset -7px 0 0 -6px var(--foam);
}

.ba-lab {
  position: absolute;
  top: 0.9rem;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--foam);
}

.ba-lab-b {
  left: 0.9rem;
}

.ba-lab-a {
  right: 0.9rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
}

.process {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.2rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step b {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--blue);
  font-weight: 500;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
}

.project h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 0.55rem 0 0.4rem;
}

.page-shot {
  overflow: hidden;
  background: #16305f;
}

.page-shot img {
  aspect-ratio: 16 / 7;
}

.page-hero {
  padding: 2.6rem 0 0;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-hero .hero-lede {
  color: var(--mist);
  margin: 0.8rem 0 0;
  max-width: 42rem;
}

.project-media {
  overflow: hidden;
  background: #16305f;
  cursor: zoom-in;
}

.project .ba {
  aspect-ratio: 4 / 3;
}

.work-grid a:hover figcaption {
  color: var(--navy);
}

.lede a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.phone-xl {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 0.95;
  margin: 0 0 1rem;
}

.form {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  background: var(--sheet);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--foam);
  padding: 0.7rem 0.75rem;
  border-radius: 0;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-status {
  min-height: 1.2em;
  color: var(--blue);
  font-size: 0.9rem;
}

.site-footer {
  background: var(--navy);
  color: var(--foam);
  padding: 3.2rem 0 1.6rem;
}

.footer-phone {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.9;
  display: block;
  color: var(--foam);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.1rem;
}

.service-card {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #16305f;
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  color: var(--mist);
  font-size: 0.95rem;
}

.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.areas article {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.areas h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.faq {
  margin-top: 1.5rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin-top: 0.7rem;
  color: var(--mist);
  max-width: 42rem;
}

.crumbs {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--mist);
  margin-bottom: 0.8rem;
}

.crumbs a:hover {
  color: var(--navy);
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--foam-line);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--foam) 78%, var(--silver));
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-brand img {
  width: 2.5rem;
  height: auto;
  object-fit: contain;
  flex: none;
}

.footer-grid a:hover {
  color: var(--foam);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--silver);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 28, 56, 0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 2rem;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86svh;
}

.lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  border: 1px solid var(--foam-line);
  color: var(--foam);
  padding: 0.4rem 0.8rem;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .work-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .areas {
    grid-template-columns: 1fr 1fr;
  }

  .cred {
    grid-template-columns: 1fr 1fr;
  }

  .cred div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
  }

  .brand {
    position: relative;
    z-index: 2;
  }

  .site-header.is-open {
    position: fixed;
    inset: 0;
    height: 100svh;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: var(--navy);
    font-family: var(--display);
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: none;
  }

  .nav-phone {
    margin-top: 1rem;
    font-family: var(--ui);
    font-size: 0.9rem;
  }

  .hero,
  .split,
  .section-head,
  .quotes,
  .cta-band,
  .contact-grid,
  .form-row,
  .projects,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head p {
    text-align: left;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero::after {
    display: none;
  }

  .hero-shot {
    position: relative;
    min-height: 58svh;
    order: -1;
  }

  .hero-shot img {
    height: 58svh;
    object-position: 78% 50%;
  }

  .hero-panel {
    width: 100%;
    padding: 2.2rem var(--space) 2.6rem;
    gap: 1.6rem;
    background: var(--navy);
  }

  .hero-mark {
    width: min(18rem, 88%);
  }

  .section {
    padding: 3.2rem 0;
  }

  .page-shot img {
    aspect-ratio: 16 / 10;
  }

  .footer-brand {
    margin-bottom: 0.4rem;
  }
}

@media (max-width: 560px) {
  .work-grid,
  .services-grid,
  .cred,
  .areas {
    grid-template-columns: 1fr;
  }

  .cred div {
    border-right: 0;
    border-bottom: 1px solid var(--foam-line);
  }

  .brand-text {
    display: none;
  }

  .hero-actions,
  .cta-band .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
