:root {
  --ink: #0a0d10;
  --ink-soft: #12171c;
  --paper: #f0eee8;
  --paper-muted: #b8bec3;
  --accent: #e5a15d;
  --line-dark: rgb(255 255 255 / 16%);
  --line-light: rgb(10 13 16 / 16%);
  --header-gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-gutter: clamp(1.5rem, 6vw, 7rem);
  --section-width: 100rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[data-content-key] {
  white-space: pre-line;
}

.content-pending [data-content-key] {
  opacity: 0;
  animation: reveal-content-fallback 0.01s linear 4s forwards;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  border-radius: 0.125rem;
  outline: 0.14rem solid var(--accent);
  outline-offset: 0.28rem;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

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

.section-shell {
  width: min(100%, var(--section-width));
  margin-inline: auto;
  padding-inline: var(--section-gutter);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: clamp(5.5rem, 10vw, 7.5rem);
  padding: clamp(1.35rem, 3vw, 2.35rem) var(--header-gutter);
  pointer-events: none;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(4 6 8 / 78%) 0%, rgb(4 6 8 / 26%) 62%, transparent 100%);
  content: "";
  pointer-events: none;
}

.services-page .site-header::before {
  background: rgb(7 10 13 / 94%);
  backdrop-filter: blur(0.8rem);
}

.wordmark {
  display: inline-flex;
  gap: clamp(0.55rem, 1vw, 0.75rem);
  align-items: center;
  color: #fff;
  font-size: clamp(0.7rem, 0.85vw, 0.84rem);
  font-weight: 650;
  letter-spacing: 0.19em;
  line-height: 1.35;
  pointer-events: auto;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-symbol {
  display: block;
  width: clamp(2.35rem, 3.2vw, 2.85rem);
  height: auto;
  flex: 0 0 auto;
}

.wordmark-text {
  display: inline-flex;
  flex-direction: column;
}

.wordmark-text > span:last-child {
  color: rgb(255 255 255 / 62%);
  font-size: 0.72em;
  letter-spacing: 0.29em;
}

.site-nav {
  --menu-hover-gap: clamp(1.4rem, 3vw, 3rem);

  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  color: #fff;
  pointer-events: auto;
}

.menu-links {
  position: absolute;
  top: 50%;
  right: calc(100% + var(--menu-hover-gap));
  display: flex;
  gap: clamp(1.2rem, 2.8vw, 3.2rem);
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 100%);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(1.2rem, -50%);
  transform-origin: right center;
  transition:
    clip-path 420ms var(--ease-out),
    opacity 220ms ease,
    transform 420ms var(--ease-out),
    visibility 0s linear 420ms;
  visibility: hidden;
}

.menu-links a {
  display: inline-block;
  padding-block: 0.55rem;
  color: #fff;
  font-size: clamp(0.74rem, 1.15vw, 0.95rem);
  font-weight: 430;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 0.1rem 1rem rgb(0 0 0 / 58%);
  text-transform: uppercase;
  transition: color 180ms ease;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  color: var(--accent);
}

.site-nav.is-open .menu-links {
  clip-path: inset(0);
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
  transition-delay: 0s;
  visibility: visible;
}

.menu-toggle {
  display: inline-flex;
  gap: clamp(0.8rem, 1.7vw, 1.5rem);
  align-items: center;
  min-height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-label {
  font-size: clamp(0.74rem, 1.15vw, 0.95rem);
  font-weight: 430;
  letter-spacing: 0.16em;
  line-height: 1;
  text-shadow: 0 0.1rem 1rem rgb(0 0 0 / 58%);
  text-transform: uppercase;
}

.menu-icon {
  display: grid;
  gap: 0.42rem;
  width: clamp(2.25rem, 3.4vw, 3rem);
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 0.09rem;
  background: currentColor;
  transition: transform 250ms ease;
}

.menu-icon span:nth-child(2) {
  width: 68%;
  margin-left: auto;
}

.menu-toggle:hover .menu-icon span:nth-child(2),
.menu-toggle:focus-visible .menu-icon span:nth-child(2),
.site-nav.is-open .menu-icon span:nth-child(2) {
  width: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav::after {
    position: absolute;
    top: 0;
    right: 100%;
    width: var(--menu-hover-gap);
    height: 100%;
    content: "";
  }

  .site-nav:hover .menu-links {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
    transition-delay: 0s;
    visibility: visible;
  }
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  background: #273848;
}

.hero-media img {
  object-fit: cover;
  object-position: 58% center;
  animation: reveal-image 1.2s var(--ease-out) both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(5 8 11 / 69%) 0%, rgb(5 8 11 / 22%) 55%, rgb(5 8 11 / 12%) 100%),
    linear-gradient(0deg, rgb(5 8 11 / 62%) 0%, transparent 44%);
}

.hero-content {
  align-self: end;
  padding-top: 9rem;
  padding-bottom: clamp(7rem, 12vh, 10rem);
}

.eyebrow,
.section-index,
.service-number {
  margin: 0;
  font-size: clamp(0.66rem, 0.78vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: clamp(1.1rem, 2vw, 1.8rem);
  color: rgb(255 255 255 / 66%);
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 7.8vw, 8.4rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero-intro {
  max-width: 35rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 1.7rem;
  color: rgb(255 255 255 / 77%);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  width: 3.6rem;
  height: 0.08rem;
  margin-left: 1rem;
  background: currentColor;
  content: "";
  transform-origin: left;
  transition: transform 250ms var(--ease-out);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1.35);
}

.scroll-cue {
  position: absolute;
  right: var(--header-gutter);
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  color: rgb(255 255 255 / 66%);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-line {
  display: block;
  width: 0.08rem;
  height: clamp(2rem, 5vh, 4rem);
  background: currentColor;
  transform-origin: top;
  animation: scroll-pulse 2.1s ease-in-out infinite;
}

.content-section {
  scroll-margin-top: 4rem;
}

.about {
  padding-block: clamp(6rem, 10vw, 10rem);
  background: var(--paper);
  color: var(--ink);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 1.45fr);
  column-gap: clamp(3rem, 8vw, 10rem);
  row-gap: 0;
}

.section-index {
  padding-top: 0.55rem;
  color: currentColor;
  opacity: 0.5;
}

.section-copy {
  max-width: 54rem;
}

.section-copy h2,
.section-heading-row h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6.6rem);
  font-weight: 330;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-copy p {
  max-width: 44rem;
  color: rgb(10 13 16 / 67%);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.section-copy .lead-copy {
  margin: clamp(2rem, 4vw, 3.5rem) 0 1.2rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  line-height: 1.45;
}

.section-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: rgb(10 13 16 / 12%);
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual {
  grid-column: 2;
  height: clamp(20rem, 35vw, 34rem);
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.services {
  padding-block: clamp(6.5rem, 12vw, 12rem);
  background: var(--ink-soft);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.services-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.services-visual {
  height: clamp(18rem, 29vw, 28rem);
}

.services-visual-secondary img {
  object-position: 58% center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 27rem;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border-right: 1px solid var(--line-dark);
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.service-card:first-child {
  border-left: 1px solid var(--line-dark);
}

.service-number {
  color: var(--accent);
}

.service-card h3 {
  max-width: 14ch;
  margin: clamp(3.5rem, 7vw, 7rem) 0 1.4rem;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 430;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.service-summary {
  max-width: 28rem;
  margin: 0;
  color: var(--paper-muted);
}

.service-link-label {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: auto;
  padding-top: 2rem;
  color: rgb(255 255 255 / 62%);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card:hover,
.service-card:focus-visible {
  background: rgb(255 255 255 / 5%);
}

.service-card:hover h3,
.service-card:focus-visible h3,
.service-card:hover .service-link-label,
.service-card:focus-visible .service-link-label {
  color: var(--accent);
}

.services-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.services-page-link {
  display: inline-flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 42%);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.services-page-link span {
  font-size: 1.1rem;
  transition: transform 220ms var(--ease-out);
}

.services-page-link:hover,
.services-page-link:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.services-page-link:hover span,
.services-page-link:focus-visible span {
  transform: translateX(0.25rem);
}

.services-page {
  background: var(--ink-soft);
}

.services-intro {
  min-height: 78vh;
  min-height: 78svh;
  padding-block: clamp(10rem, 18vw, 16rem) clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 78% 16%, rgb(74 106 129 / 50%), transparent 34%),
    var(--ink);
}

.services-intro-inner h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 7.6rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.services-intro-inner > p:not(.eyebrow) {
  max-width: 44rem;
  margin: clamp(1.7rem, 3vw, 2.7rem) 0;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.service-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.service-directory a {
  display: grid;
  gap: 1rem;
  min-height: 8rem;
  padding: 1.3rem;
  border-right: 1px solid var(--line-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-directory a:first-child {
  border-left: 1px solid var(--line-dark);
}

.service-directory a span {
  color: var(--accent);
  font-size: 0.66rem;
}

.service-directory a:hover,
.service-directory a:focus-visible {
  background: rgb(255 255 255 / 5%);
  color: var(--accent);
}

.service-details {
  background: var(--paper);
  color: var(--ink);
}

.service-detail {
  padding-block: clamp(5.5rem, 9vw, 9rem);
  scroll-margin-top: 5rem;
}

.service-detail + .service-detail {
  border-top: 1px solid var(--line-light);
}

.service-detail-layout,
.services-cta-inner {
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 10rem);
}

.service-detail .service-number {
  padding-top: 0.55rem;
  color: #a65f22;
}

.service-detail-copy {
  max-width: 55rem;
}

.service-detail-copy h2,
.services-cta h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.7rem);
  font-weight: 330;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.service-detail-visual {
  aspect-ratio: 16 / 9;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background: #d8d5ce;
}

.service-detail-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-copy p {
  max-width: 48rem;
  color: rgb(10 13 16 / 70%);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
}

.service-detail-copy .service-detail-lead {
  margin: clamp(2rem, 4vw, 3.5rem) 0 1.3rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  line-height: 1.5;
}

.service-points {
  display: grid;
  gap: 0;
  max-width: 48rem;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.service-points li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.services-cta {
  padding-block: clamp(5.5rem, 9vw, 9rem);
  background: #253542;
}

.services-cta p:not(.section-index) {
  max-width: 40rem;
  margin: 1.6rem 0 1rem;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.contact {
  padding-block: clamp(5.5rem, 9vw, 9rem);
  background: #253542;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 10rem);
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(14rem, 0.78fr) minmax(20rem, 1.22fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  min-width: 0;
}

.contact-copy {
  min-width: 0;
  max-width: 32rem;
}

.contact-copy h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
}

.contact-copy p {
  max-width: 36rem;
  margin: clamp(1.5rem, 2.5vw, 2.2rem) 0;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(1.5rem, 2.5vw, 2.5rem);
  font-style: normal;
}

.contact-details a {
  display: grid;
  gap: 0.28rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 44%);
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  letter-spacing: -0.01em;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-details a span {
  color: rgb(255 255 255 / 48%);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  position: relative;
  min-width: 0;
  max-width: 44rem;
  margin: 0;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid rgb(255 255 255 / 24%);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.2vw, 1.8rem) clamp(1.2rem, 2vw, 1.6rem);
}

.form-field {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  color: rgb(255 255 255 / 72%);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-field label > span:last-child:not([aria-hidden="true"]) {
  color: rgb(255 255 255 / 42%);
  font-size: 0.58rem;
}

.form-field input:not([type="file"]),
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 34%);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.form-field input:not([type="file"]) {
  min-height: 2.75rem;
  padding: 0.35rem 0;
}

.form-field textarea {
  min-height: 7rem;
  padding: 0.75rem;
  border: 1px solid rgb(255 255 255 / 34%);
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}

.form-field input:focus,
.form-field textarea:focus {
  background: rgb(255 255 255 / 4%);
}

.file-field {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgb(255 255 255 / 24%);
}

.file-field label,
.file-field input[type="file"] {
  grid-column: 1 / -1;
}

.file-field input[type="file"] {
  max-width: 100%;
  color: rgb(255 255 255 / 72%);
  font-size: 0.88rem;
}

.file-field input[type="file"]::file-selector-button {
  margin-right: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 46%);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.file-help,
.file-selection {
  margin: 0;
  color: rgb(255 255 255 / 52%);
  font-size: 0.76rem;
  line-height: 1.5;
}

.file-selection {
  color: rgb(255 255 255 / 76%);
  justify-self: end;
  overflow-wrap: anywhere;
  text-align: right;
}

.file-selection:empty {
  display: none;
}

.file-selection[data-state="error"] {
  color: #ffd0b0;
}

.form-actions {
  display: flex;
  gap: 1.25rem 2rem;
  align-items: center;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

.submit-button {
  display: inline-flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
  min-width: 12.5rem;
  min-height: 3.25rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgb(255 255 255 / 54%);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.submit-button:hover:not(:disabled),
.submit-button:focus-visible:not(:disabled) {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.46;
}

.form-status,
.form-noscript {
  max-width: 26rem;
  margin: 0;
  color: rgb(255 255 255 / 58%);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  color: #c7e6c4;
}

.form-status[data-state="error"] {
  color: #ffd0b0;
}

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

.site-footer {
  background: var(--ink);
  color: rgb(255 255 255 / 55%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  text-decoration: none;
}

.error-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 75% 20%, rgb(74 106 129 / 48%), transparent 38%),
    var(--ink);
}

.error-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 80rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: 4rem var(--section-gutter);
}

.error-wordmark {
  position: absolute;
  top: 2rem;
  left: var(--section-gutter);
}

.error-code {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.error-content h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 330;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.error-content > p:not(.error-code) {
  max-width: 32rem;
  margin: 1.8rem 0;
  color: var(--paper-muted);
}

@keyframes reveal-image {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.45);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes reveal-content-fallback {
  to {
    opacity: 1;
  }
}

@media (max-width: 68rem) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-grid,
  .service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:nth-child(odd),
  .service-directory a:nth-child(odd) {
    border-left: 1px solid var(--line-dark);
  }

  .service-card,
  .service-directory a {
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 48rem) {
  :root {
    --header-gutter: 1.25rem;
    --section-gutter: clamp(1.25rem, 5vw, 2rem);
  }

  .site-header {
    align-items: center;
    min-height: 5.25rem;
    padding-block: 1.1rem;
  }

  .wordmark {
    gap: 0.5rem;
    font-size: 0.68rem;
  }

  .wordmark-symbol {
    width: 2.2rem;
  }

  .site-nav {
    min-height: 2.75rem;
  }

  .menu-label {
    display: none;
  }

  .menu-icon {
    width: 2.45rem;
  }

  .menu-links {
    position: fixed;
    top: 5rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: min(18rem, calc(100vw - 2rem));
    padding: 0.65rem 1.15rem;
    border: 1px solid rgb(255 255 255 / 14%);
    background: rgb(8 11 14 / 94%);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 30%);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: translateY(-0.75rem);
    backdrop-filter: blur(1rem);
  }

  .menu-links li + li {
    border-top: 1px solid var(--line-dark);
  }

  .menu-links a {
    display: block;
    padding: 1.1rem 0;
    font-size: 0.8rem;
    text-align: right;
  }

  .site-nav.is-open .menu-links {
    clip-path: inset(0);
    transform: translateY(0);
  }

  .hero-media img {
    object-position: 28% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgb(5 8 11 / 58%), rgb(5 8 11 / 8%)),
      linear-gradient(0deg, rgb(5 8 11 / 78%) 0%, transparent 64%);
  }

  .hero-content {
    padding-top: 7rem;
    padding-bottom: clamp(5.5rem, 12vh, 7rem);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.8vw, 3rem);
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .hero-intro {
    max-width: 29rem;
    margin-top: 1.3rem;
    font-size: 1rem;
  }

  .scroll-cue {
    right: 1.25rem;
  }

  .split-layout,
  .section-heading-row,
  .contact-layout,
  .service-detail-layout,
  .services-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-index {
    padding-top: 0;
  }

  .section-copy h2,
  .section-heading-row h2,
  .contact-copy h2 {
    font-size: clamp(2.15rem, 9vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 1;
  }

  .section-copy .lead-copy {
    font-size: 1rem;
    line-height: 1.58;
  }

  .section-copy .lead-copy,
  .service-summary,
  .service-detail-copy p,
  .contact-copy > p {
    text-wrap: pretty;
  }

  .section-heading-row {
    margin-bottom: 3rem;
  }

  .about-visual {
    grid-column: auto;
    height: clamp(18rem, 76vw, 24rem);
    margin-top: 0;
  }

  .services-visuals {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3.5rem;
  }

  .services-visual {
    height: clamp(15rem, 66vw, 22rem);
  }

  .services-visual-secondary {
    height: clamp(18rem, 80vw, 25rem);
  }

  .services-page-link {
    width: 100%;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    max-width: none;
    padding-top: 2rem;
    padding-left: 0;
    border-top: 1px solid rgb(255 255 255 / 24%);
    border-left: 0;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .file-field {
    grid-template-columns: 1fr;
  }

  .file-help,
  .file-selection {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

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

  .submit-button {
    width: 100%;
  }

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

  .service-card,
  .service-card:first-child,
  .service-card:nth-child(odd) {
    min-height: 0;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    border-left: 0;
  }

  .service-card h3 {
    max-width: 18ch;
    margin: 2rem 0 0.9rem;
    font-size: clamp(1.55rem, 6.8vw, 2.1rem);
    text-wrap: balance;
  }

  .service-summary {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .service-directory {
    grid-template-columns: 1fr;
  }

  .service-directory a,
  .service-directory a:first-child,
  .service-directory a:nth-child(odd) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    border-left: 0;
  }

  .service-directory a:last-child {
    border-bottom: 0;
  }

  .services-intro {
    min-height: 0;
    padding-block: 8rem 4.5rem;
  }

  .services-intro-inner h1 {
    max-width: 13ch;
    font-size: clamp(2.35rem, 10vw, 3.5rem);
    letter-spacing: -0.04em;
    line-height: 0.98;
  }

  .services-intro-inner > p:not(.eyebrow) {
    max-width: 19rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-detail-copy h2,
  .services-cta h2 {
    font-size: clamp(2.1rem, 9vw, 3.5rem);
    letter-spacing: -0.04em;
  }

  .service-detail-copy .service-detail-lead {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .service-detail-copy p,
  .contact-copy p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-detail .service-number {
    padding-top: 0;
  }

  .footer-inner {
    min-height: 6rem;
  }
}

@media (max-width: 27rem) {
  .hero-intro {
    font-size: 0.95rem;
  }

  .scroll-cue {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
    justify-content: center;
  }
}

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

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

@media (forced-colors: active) {
  .hero-shade {
    background: rgb(0 0 0 / 72%);
  }

  .menu-icon span,
  .scroll-line,
  .text-link::after {
    background: currentColor;
  }
}
