* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink: #080a0f;
  --paper: #f8f3ea;
  --muted: #a6a6a0;
  --line: rgba(248, 243, 234, 0.18);
  --accent: #ff6a2a;
  --accent-soft: #ffb267;
  --side: clamp(20px, 4vw, 64px);
  --serif: "SpaceGrotesk", sans-serif;
  --sans: "Manrope", sans-serif;
}
@font-face {
  font-family: "SpaceGrotesk";
  src: url(/assets/fonts/SpaceGrotesk-VariableFont_wght.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url(/assets/fonts/Manrope-VariableFont_wght.ttf);
  font-display: swap;
}
html {
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
}
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-variation-settings: "wght" 400;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--accent-soft);
  outline-offset: 5px;
}
.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  mix-blend-mode: screen;
  padding: 22px var(--side);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 5;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}
.brand span {
  font-weight: 700;
}
.header-link {
  align-items: center;
  display: inline-flex;
  font-size: 0.75rem;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 44px;
  text-transform: uppercase;
}
.header-link span,
.project-meta span:last-child {
  color: var(--accent-soft);
  font-size: 1.1rem;
}
.section-shell {
  padding-left: var(--side);
  padding-right: var(--side);
  position: relative;
}
.hero {
  align-items: flex-end;
  display: flex;
  min-height: min(860px, 100svh);
  overflow: hidden;
  padding-bottom: clamp(32px, 6vw, 82px);
}
.hero-image,
.footer-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(8, 10, 15, 0.48),
    rgba(8, 10, 15, 0.52) 34%,
    rgba(8, 10, 15, 0.95) 100%
  );
  inset: 0;
  position: absolute;
  z-index: 1;
}
.hero-content,
.footer-content {
  position: relative;
  width: 100%;
  z-index: 2;
}
.eyebrow,
.section-kicker {
  color: var(--accent-soft);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.status-dot {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 106, 42, 0.16);
  display: inline-block;
  height: 7px;
  width: 7px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.2vw, 8.5rem);
  font-variation-settings: "wght" 520;
  letter-spacing: -0.075em;
  line-height: 0.92;
  max-width: 1070px;
  text-wrap: balance;
}
.hero-bottom {
  align-items: flex-end;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-top: clamp(42px, 8vw, 100px);
  padding-top: 18px;
}
.hero-intro {
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  max-width: 480px;
}
.hero-index {
  bottom: 22px;
  color: var(--muted);
  font-size: 0.68rem;
  position: absolute;
  right: var(--side);
  z-index: 2;
}
.hero-index span {
  color: var(--accent);
  margin: 0 5px;
}
.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  gap: 22px;
  justify-content: space-between;
  min-height: 48px;
  padding: 8px 10px 8px 20px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.button span {
  font-size: 1.2rem;
}
.button:hover {
  transform: translateY(-2px);
}
.button-light {
  background: var(--paper);
  color: var(--ink);
}
.button-light:hover {
  background: var(--accent-soft);
}
.button-outline {
  border: 1px solid var(--line);
  color: var(--paper);
}
.button-outline:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}
.services,
.process,
.engineering {
  background: var(--ink);
}
.services {
  padding-bottom: clamp(90px, 13vw, 190px);
  padding-top: clamp(90px, 13vw, 190px);
}
.section-kicker {
  display: flex;
  gap: 28px;
  margin-bottom: 44px;
}
.section-kicker span:first-child {
  color: var(--paper);
}
.services-heading,
.projects-heading {
  display: grid;
  gap: clamp(35px, 10vw, 180px);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.7fr);
}
.services h2,
.process h2,
.engineering h2,
.site-footer h2 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.3vw, 6.4rem);
  font-variation-settings: "wght" 430;
  letter-spacing: -0.07em;
  line-height: 0.94;
}
.services-heading > p,
.engineering-heading > p {
  align-self: end;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}
.projects-heading p,
.process-heading p {
  color: var(--muted);
}
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(52px, 8vw, 100px);
}
.service-card {
  background: #11141b;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3.5vw, 48px);
}
.service-index,
.engineering-label {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card h3,
.engineering-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.service-card h3 {
  margin: 42px 0 26px;
  max-width: 560px;
}
.service-copy {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.service-copy p + p {
  margin-top: 17px;
}
.service-link {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  display: flex;
  font-size: 0.78rem;
  gap: 16px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 30px;
  transition:
    border-color 0.25s,
    color 0.25s;
}
.service-link:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}
.service-link span {
  color: var(--accent-soft);
  font-size: 1.1rem;
}
.engineering {
  background: #11141b;
  padding-bottom: clamp(100px, 14vw, 190px);
  padding-top: clamp(90px, 13vw, 180px);
}
.engineering-heading {
  display: grid;
  gap: 24px clamp(35px, 8vw, 130px);
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
}
.engineering-heading h2 {
  grid-row: span 2;
}
.engineering-heading > p {
  align-self: start;
  font-size: 1rem;
  max-width: 390px;
}
.engineering-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(65px, 9vw, 120px);
}
.engineering-card {
  border-top: 1px solid var(--line);
  min-width: 0;
  padding-top: 22px;
}
.engineering-card h3 {
  font-size: clamp(1.7rem, 3vw, 3.3rem);
  margin: 42px 0 24px;
  max-width: 590px;
}
.engineering-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 560px;
}
.engineering-card p + p {
  margin-top: 16px;
}
.engineering-outro {
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-top: clamp(65px, 9vw, 120px);
  max-width: 880px;
  padding-top: 22px;
}
.process {
  background: #11141b;
  padding-bottom: clamp(100px, 14vw, 200px);
  padding-top: clamp(90px, 13vw, 180px);
}
.process-heading {
  align-items: end;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}
.process-heading h2 {
  max-width: 850px;
}
.process-heading p {
  line-height: 1.5;
  max-width: 230px;
}
.process-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 10vw, 130px);
}
.process-step {
  border-left: 1px solid var(--line);
  min-height: 220px;
  padding: 0 28px;
}
.process-step:first-child {
  border-left: 0;
  padding-left: 0;
}
.process-step span {
  color: var(--accent);
  font-size: 0.75rem;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 48px 0 15px;
}
.process-step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 260px;
}
.projects {
  background: var(--paper);
  color: var(--ink);
  padding-bottom: clamp(100px, 13vw, 180px);
  padding-top: clamp(90px, 13vw, 170px);
}
.projects .section-kicker {
  color: #b44a1e;
}
.projects .section-kicker span:first-child {
  color: var(--ink);
}
.projects-heading {
  align-items: end;
  margin-bottom: 70px;
}
.projects-heading h2 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.3vw, 6.4rem);
  font-variation-settings: "wght" 430;
  letter-spacing: -0.07em;
  line-height: 0.94;
}
.projects-heading p {
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 340px;
}
.project-list {
  display: grid;
  gap: 58px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.project-media {
  background: #1c1d20;
  overflow: hidden;
}
.project-media img {
  aspect-ratio: 16/9;
  filter: saturate(0.72);
  object-fit: cover;
  transition:
    filter 0.5s,
    transform 0.7s;
  width: 100%;
}
.project-card:hover img {
  filter: saturate(1);
  transform: scale(1.025);
}
.project-meta {
  align-items: center;
  border-bottom: 1px solid rgba(8, 10, 15, 0.2);
  display: grid;
  font-size: 0.75rem;
  gap: 12px;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  padding: 14px 0;
  text-transform: uppercase;
}
.project-meta span:first-child {
  font-weight: 700;
}
.project-meta .project-description {
  color: #5d5b56;
  font-size: 0.72rem;
  font-weight: 400;
  text-align: right;
  text-transform: none;
}
.project-meta span:last-child {
  color: #b44a1e;
}
.project-card-experimental {
  opacity: 0.76;
}
.site-footer {
  align-items: flex-end;
  display: flex;
  min-height: 780px;
  overflow: hidden;
  padding-bottom: 34px;
  padding-top: 100px;
}
.footer-overlay {
  background: linear-gradient(
    180deg,
    rgba(8, 10, 15, 0.45),
    rgba(8, 10, 15, 0.9) 70%
  );
  inset: 0;
  position: absolute;
  z-index: 1;
}
.footer-content {
  max-width: 1000px;
}
.site-footer h2 {
  max-width: 850px;
}
.site-footer p {
  color: #d1ccc1;
  font-size: 1rem;
  line-height: 1.5;
  margin: 28px 0;
  max-width: 470px;
}
.site-footer .footer-note {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 18px;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 100px;
  padding-top: 16px;
}
.footer-bottom > span {
  color: var(--muted);
  font-size: 0.7rem;
}
.noscript-note {
  background: var(--accent);
  color: var(--ink);
  font-size: 0.8rem;
  padding: 12px 20px;
  text-align: center;
}
@media (max-width: 720px) {
  .site-header {
    padding-top: 17px;
  }
  .header-link {
    font-size: 0.65rem;
  }
  .hero {
    min-height: 720px;
    padding-bottom: 35px;
  }
  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 5.5rem);
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin-top: 45px;
  }
  .hero-intro {
    font-size: 0.95rem;
  }
  .hero-index {
    display: none;
  }
  .services-heading,
  .engineering-heading,
  .projects-heading {
    display: block;
  }
  .services-heading > p,
  .engineering-heading > p:first-of-type {
    margin-top: 38px;
  }
  .process-line {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .engineering-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    gap: 16px;
  }
  .service-card {
    padding: 26px 22px;
  }
  .service-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin: 32px 0 22px;
  }
  .service-link {
    margin-top: 28px;
  }
  .engineering-grid {
    gap: 42px;
    margin-top: 58px;
  }
  .engineering-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin: 30px 0 20px;
  }
  .engineering-outro {
    margin-top: 58px;
  }
  .process-heading p {
    margin-top: 28px;
  }
  .process-heading {
    display: block;
  }
  .process-step,
  .process-step:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
    padding: 25px 0 35px;
  }
  .process-step h3 {
    margin: 25px 0 12px;
  }
  .projects-heading p {
    margin-top: 30px;
  }
  .project-list {
    gap: 38px;
    grid-template-columns: 1fr;
  }
  .project-media img {
    aspect-ratio: 1.2/1;
  }
  .project-meta {
    gap: 7px;
  }
  .project-meta .project-description {
    font-size: 0.65rem;
  }
  .site-footer {
    min-height: 680px;
  }
  .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .footer-actions .button {
    width: fit-content;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 75px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Spacing refinement: preserve the editorial rhythm while reducing mobile density. */
.hero-content {
  max-width: 1180px;
}
.hero h1 {
  max-width: 1130px;
}

@media (max-width: 720px) {
  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.075em;
    line-height: 1.35;
    max-width: 300px;
  }
  .hero {
    min-height: 690px;
  }
  .hero h1 {
    font-size: clamp(3rem, 12.5vw, 5rem);
    line-height: 0.94;
  }
  .hero-bottom {
    margin-top: 34px;
  }
  .services {
    padding-bottom: 76px;
    padding-top: 76px;
  }
  .engineering {
    padding-bottom: 90px;
    padding-top: 82px;
  }
  .process {
    padding-bottom: 82px;
    padding-top: 78px;
  }
  .process-line {
    margin-top: 52px;
  }
  .projects {
    padding-bottom: 86px;
    padding-top: 82px;
  }
  .projects-heading {
    margin-bottom: 48px;
  }
  .site-footer {
    min-height: 620px;
    padding-top: 82px;
  }
}

/* Keep the header visually above the hero content in short desktop windows. */
@media (min-width: 721px) and (max-height: 760px) {
  .hero {
    padding-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(3rem, 6.2vw, 6rem);
  }
  .hero-bottom {
    margin-top: 44px;
  }
}

/* Footer rhythm: keep the CTA group and signature visually connected. */
.footer-bottom {
  margin-top: 72px;
}

/* Let the footer signature use the full section width while keeping text readable. */
.footer-content {
  max-width: none;
}
.footer-content > h2 {
  max-width: 850px;
}
.footer-content > p {
  max-width: 470px;
}
.footer-bottom {
  width: 100%;
}

.footer-actions .button {
  min-width: 180px;
}

/* Let the hero scale with wide viewports and browser zoom levels. */
.hero-content {
  max-width: none;
}
.hero h1 {
  max-width: 82vw;
}

@media (max-width: 720px) {
  .hero h1 {
    max-width: 100%;
  }
}

/* Keep the decorative page index clear of the primary CTA. */
.hero-index {
  bottom: auto;
  top: 82px;
}

@media (min-width: 721px) and (max-height: 760px) {
  .site-footer {
    min-height: 700px;
  }
}

@media (max-width: 720px) {
  .site-footer {
    min-height: 600px;
  }
  .footer-bottom {
    margin-top: 56px;
  }
  .site-footer p {
    margin-bottom: 18px;
  }
  .footer-actions {
    gap: 8px;
  }
  .footer-actions .button {
    max-width: 250px;
    min-width: 0;
    width: 100%;
  }
  .footer-bottom {
    margin-top: 40px;
  }
}

/* Project artwork has different native ratios; never crop its context at a breakpoint. */
.project-media {
  aspect-ratio: auto;
}
.project-media img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}
