:root {
  color-scheme: light;
  --ink: #0b0d0e;
  --ink-soft: #343a3e;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: rgba(11, 13, 14, 0.14);
  --muted: #71777d;
  --steel: #d9dedf;
  --signal: #c7ff38;
  --cyan: #6fd7e8;
  --amber: #f0b24d;
  --max: 1180px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid var(--line);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 52px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(246, 245, 241, 0.92);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 13, 14, 0.78) 0%, rgba(11, 13, 14, 0.44) 38%, rgba(11, 13, 14, 0.08) 72%),
    linear-gradient(180deg, rgba(11, 13, 14, 0.42) 0%, rgba(11, 13, 14, 0.08) 48%, rgba(11, 13, 14, 0.5) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding-top: var(--header-height);
}

.eyebrow {
  margin: 0 0 14px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  font-size: 72px;
  font-weight: 800;
}

.hero-text {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
}

.hero-meta {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 7vw, 88px);
  right: clamp(20px, 7vw, 88px);
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hero-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(11, 13, 14, 0.2);
}

.statement {
  padding: 28px clamp(20px, 5vw, 52px);
  background: var(--signal);
  color: var(--ink);
}

.statement p {
  max-width: var(--max);
  margin: 0 auto;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.3;
}

.showcase,
.method,
.about,
.contact {
  padding: 100px clamp(20px, 5vw, 52px);
}

.showcase {
  background: var(--paper);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
}

.section-heading .eyebrow,
.about .eyebrow,
.contact .eyebrow {
  color: var(--muted);
}

.section-heading h2,
.about h2,
.contact h2 {
  max-width: 760px;
  font-size: 48px;
}

.feature-project {
  max-width: var(--max);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  background: var(--ink);
  color: var(--white);
  min-height: 520px;
}

.project-media {
  min-height: 520px;
}

.project-media img,
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 44px;
}

.project-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy h3,
.project-card h3,
.method-item h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.project-copy h3 {
  font-size: 44px;
}

.project-copy p:not(.project-kicker),
.project-card p,
.method-item p,
.about-copy p,
.contact-copy p {
  color: inherit;
  opacity: 0.78;
}

.text-link {
  width: fit-content;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.project-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
}

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

.project-card-copy {
  padding: 28px;
}

.project-card h3 {
  font-size: 30px;
}

.project-card p:not(.project-kicker) {
  margin-bottom: 0;
}

.project-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  background: #10161b;
  color: var(--white);
}

.project-card-wide img {
  aspect-ratio: auto;
  min-height: 410px;
}

.project-card-wide .project-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 42px;
}

.method {
  background: var(--ink);
  color: var(--white);
}

.method-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.method-item {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.method-item span {
  display: inline-flex;
  margin-bottom: 86px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
}

.method-item h3 {
  font-size: 24px;
}

.about {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 60px;
  background: var(--steel);
}

.about-copy,
.stats {
  max-width: 760px;
}

.about-copy p {
  font-size: 18px;
}

.stats {
  align-self: end;
  margin: 0;
  display: grid;
  border-top: 1px solid rgba(11, 13, 14, 0.2);
}

.stats div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(11, 13, 14, 0.2);
}

.stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 750;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  background: var(--paper);
}

.contact-copy p {
  max-width: 610px;
  font-size: 18px;
}

.contact .button-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.contact .button-secondary {
  background: transparent;
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 52px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 980px) {
  .hero h1 {
    font-size: 58px;
  }

  .feature-project,
  .project-card-wide,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-project,
  .project-media {
    min-height: 0;
  }

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

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

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding-top: var(--header-height);
    background: rgba(246, 245, 241, 0.96);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    transition: transform 200ms ease;
    backdrop-filter: blur(16px);
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 18px 22px;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 84svh;
  }

  .hero img {
    object-position: 69% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(11, 13, 14, 0.82) 0%, rgba(11, 13, 14, 0.48) 58%, rgba(11, 13, 14, 0.2) 100%),
      linear-gradient(180deg, rgba(11, 13, 14, 0.48) 0%, rgba(11, 13, 14, 0.18) 48%, rgba(11, 13, 14, 0.62) 100%);
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding-bottom: 74px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-meta {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .statement p {
    font-size: 20px;
  }

  .showcase,
  .method,
  .about,
  .contact {
    padding: 72px 18px;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    font-size: 34px;
  }

  .project-copy,
  .project-card-copy,
  .project-card-wide .project-card-copy {
    padding: 24px;
  }

  .project-copy h3 {
    font-size: 34px;
  }

  .project-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .project-card-wide img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .method-item {
    min-height: 220px;
  }

  .method-item span {
    margin-bottom: 56px;
  }

  .button,
  .contact-actions {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

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