@font-face {
  font-family: "Inter";
  src: url("assets/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #102a3a;
  --navy-deep: #0b202c;
  --copper: #c56f3b;
  --copper-light: #e08b57;
  --mineral: #f3f1eb;
  --paper: #faf9f5;
  --slate: #425968;
  --carbon: #171b1d;
  --line: rgba(16, 42, 58, 0.2);
  --content: 80rem;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --feature-pad: clamp(2rem, 5vw, 6rem);
  --page-pad: max(var(--pad), calc((100vw - var(--content)) / 2));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mineral);
  color: var(--navy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--copper-light);
  outline-offset: 4px;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--mineral);
  color: var(--navy);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.75rem var(--feature-pad);
  color: var(--mineral);
  transition: background 240ms ease, border-color 240ms ease, padding 240ms var(--ease);
}

.site-header.is-scrolled {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(243, 241, 235, 0.12);
  background: rgba(11, 32, 44, 0.96);
}

.brand {
  position: relative;
  z-index: 2;
  width: clamp(16rem, 20vw, 21rem);
  transition: width 240ms var(--ease);
}

.site-header.is-scrolled .brand {
  width: clamp(14rem, 17vw, 18rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.site-nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-contact) {
  opacity: 0.78;
  transition: opacity 240ms ease;
}

.site-nav a:not(.nav-contact):hover {
  opacity: 1;
}

.nav-contact {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(243, 241, 235, 0.5);
  transition: background 240ms ease, color 240ms ease, transform 240ms var(--ease);
}

.nav-contact:hover {
  background: var(--mineral);
  color: var(--navy);
}

.nav-contact:active,
.text-link:active,
.contact-form button:active {
  transform: translateY(1px);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 100dvh;
  background: var(--navy);
  color: var(--mineral);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(9rem, 18vh, 13rem) var(--feature-pad) clamp(4rem, 10vh, 7rem);
}

.eyebrow,
.section-index {
  margin: 0;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .eyebrow,
.project-copy .section-index,
.contact .section-index {
  color: var(--copper-light);
}

.hero h1 {
  max-width: 9ch;
  margin: clamp(1rem, 3vh, 2rem) 0;
  font-size: clamp(3.8rem, 7.6vw, 8rem);
  font-weight: 380;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero-intro {
  max-width: 34rem;
  margin: 0;
  color: rgba(243, 241, 235, 0.77);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.8rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  color: var(--mineral);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link svg,
.contact-form button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
  transition: transform 240ms var(--ease);
}

.text-link:hover svg,
.contact-form button:hover svg {
  transform: translateX(0.35rem);
}

.hero-media {
  position: relative;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 42, 58, 0.32), transparent 35%),
    linear-gradient(0deg, rgba(11, 32, 44, 0.6), transparent 45%);
  content: "";
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: var(--feature-pad);
  bottom: clamp(2rem, 6vh, 4rem);
  left: var(--feature-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(243, 241, 235, 0.5);
  color: var(--mineral);
}

.hero-media figcaption span {
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-pad {
  padding: clamp(5rem, 11vw, 10rem) var(--page-pad);
}

.statement {
  background: var(--mineral);
}

.statement-grid,
.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
  margin-top: clamp(3rem, 8vw, 7rem);
}

.statement h2,
.experience h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.statement-grid > p,
.experience-copy {
  margin: 0;
  color: var(--slate);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.7;
}

.services {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.service-list {
  border-top: 1px solid var(--navy);
}

.service {
  display: grid;
  position: relative;
  grid-template-columns: 3rem minmax(0, 48rem) minmax(8rem, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.2rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.service::before {
  position: absolute;
  top: clamp(2.2rem, 5vw, 4.5rem);
  bottom: clamp(2.2rem, 5vw, 4.5rem);
  left: -1.5rem;
  width: 0.16rem;
  background: var(--copper);
  content: "";
}

.service-icon {
  width: 5.25rem;
  height: 5.25rem;
  align-self: center;
  justify-self: center;
  object-fit: contain;
}

.service-number {
  padding-top: 0.45rem;
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.service h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.service p {
  max-width: 44rem;
  margin: 0;
  color: var(--slate);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
}

.project-band {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(24rem, 0.88fr);
  min-height: 52rem;
  background: var(--navy);
  color: var(--mineral);
}

.mid-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) var(--page-pad);
  border-top: 1px solid rgba(243, 241, 235, 0.16);
  background: var(--navy);
  color: var(--mineral);
}

.mid-cta p {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  letter-spacing: -0.025em;
}

.mid-cta a {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  color: var(--copper-light);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.mid-cta svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 240ms var(--ease);
}

.mid-cta a:hover svg {
  transform: translateX(0.35rem);
}

.project-image {
  min-height: 40rem;
  overflow: hidden;
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) var(--feature-pad);
}

.project-copy h2,
.energy-copy h2,
.contact-copy h2 {
  margin: clamp(1.5rem, 4vw, 3rem) 0 2rem;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 390;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.project-copy > p:not(.section-index) {
  margin: 0;
  color: rgba(243, 241, 235, 0.72);
  font-size: 1.08rem;
}

.approach-list {
  margin: 3rem 0 0;
}

.approach-list div {
  display: grid;
  grid-template-columns: minmax(7.75rem, 9rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: 1rem 0;
  border-top: 1px solid rgba(243, 241, 235, 0.2);
}

.approach-list dt {
  color: var(--copper-light);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.approach-list dd {
  margin: 0;
  color: rgba(243, 241, 235, 0.82);
}

.energy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: center;
  background: var(--mineral);
}

.energy-copy p:not(.section-index) {
  max-width: 35rem;
  margin: 0;
  color: var(--slate);
  font-size: 1.08rem;
}

.energy-image {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
}

.energy-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.energy-image:hover img {
  transform: scale(1.025);
}

.experience {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.experience-grid {
  align-items: start;
}

.experience-copy p {
  margin: 0;
}

.experience-copy p + p {
  margin-top: 1.25rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(26rem, 1.22fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding: clamp(5rem, 11vw, 10rem) var(--page-pad);
  background: var(--navy-deep);
  color: var(--mineral);
}

.contact-copy > p:not(.section-index) {
  max-width: 30rem;
  margin: 0;
  color: rgba(243, 241, 235, 0.7);
}

.contact-form {
  align-self: start;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field label span {
  color: rgba(243, 241, 235, 0.72);
  font-size: 0.62rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(243, 241, 235, 0.4);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--mineral);
  transition: border-color 200ms ease, background 200ms ease;
}

.field input {
  height: 3rem;
}

.field textarea {
  min-height: 8rem;
  padding: 0.75rem 0;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--copper);
  background: rgba(243, 241, 235, 0.025);
}

.form-submit {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.form-submit p {
  max-width: 18rem;
  margin: 0;
  color: rgba(243, 241, 235, 0.72);
  font-size: 0.72rem;
  line-height: 1.5;
}

.contact-form button {
  display: inline-flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  min-width: 12rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--copper);
  border-radius: 0;
  background: var(--copper);
  color: var(--navy-deep);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background 240ms ease, color 240ms ease, transform 240ms var(--ease);
}

.contact-form button:hover {
  background: transparent;
  color: var(--mineral);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: end;
  padding: 2.5rem var(--page-pad);
  border-top: 1px solid rgba(243, 241, 235, 0.14);
  background: var(--navy-deep);
  color: rgba(243, 241, 235, 0.55);
}

.site-footer img {
  width: min(21rem, 100%);
}

.site-footer p {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.site-footer p:nth-child(2) {
  justify-self: center;
  text-align: center;
}

.site-footer p:last-child {
  justify-self: end;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    padding-top: 1.25rem;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    gap: 0.42rem;
    border: 1px solid rgba(243, 241, 235, 0.35);
    border-radius: 0;
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.1rem;
    height: 1px;
    background: var(--mineral);
    transition: transform 240ms var(--ease);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(0.24rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.24rem) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: var(--pad);
    background: var(--navy-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 240ms ease, transform 240ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: 1.3rem;
  }

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

  .hero-copy {
    min-height: 67dvh;
    padding-top: 8rem;
    padding-right: var(--pad);
    padding-left: var(--pad);
  }

  .hero-media {
    min-height: 52dvh;
  }

  .statement-grid,
  .experience-grid,
  .energy-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .experience-grid {
    gap: 2.5rem;
  }

  .project-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-image {
    min-height: 55dvh;
  }

  .project-copy {
    min-height: 42rem;
    padding-right: var(--pad);
    padding-left: var(--pad);
  }

  .energy-image {
    order: -1;
  }

  .contact {
    gap: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .mid-cta {
    grid-template-columns: 1fr;
  }

  .site-footer p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .brand {
    width: 14rem;
  }

  .site-header.is-scrolled .brand {
    width: 12.5rem;
  }

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

  .hero-media figcaption {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .hero-media figcaption span {
    padding-top: 0.3rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .service,
  .service-featured {
    grid-template-columns: 2.25rem minmax(0, 1fr) 3.25rem;
    padding-left: 0;
  }

  .service::before {
    left: -0.75rem;
  }

  .service-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .project-copy {
    min-height: auto;
  }

  .approach-list div {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer p:last-child {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
