:root {
  --bg: #0a0a0a;
  --bg-soft: #101110;
  --card: #141514;
  --text: #f2f1ec;
  --muted: #9b9c96;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #eac266;
  --accent-dark: #c9922f;
  --shell: min(1320px, calc(100vw - 96px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #090a08;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: #090a08;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: 150px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 92px;
  padding-inline: 48px;
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s, border-color 0.4s;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(8, 9, 8, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: max-content;
}

.brand__logo {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.34));
}

.brand__logo--header {
  height: 67px;
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .brand__logo--header {
  height: 55px;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset: auto 100% 2px 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.4s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: white;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  display: flex;
  gap: 13px;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-cta span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.header-cta:hover span {
  background: var(--accent);
  color: #090a08;
  transform: rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: white;
  transition: transform 0.3s;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101411;
}

.hero__media,
.hero__shade,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-scale 16s ease-out both;
}

@keyframes hero-scale {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.86) 0%, rgba(5, 6, 5, 0.48) 42%, rgba(5, 6, 5, 0.08) 72%),
    linear-gradient(0deg, rgba(5, 6, 5, 0.72) 0%, transparent 36%, rgba(5, 6, 5, 0.17) 100%);
}

.hero__grain {
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 82px;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 950px;
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(72px, 9.6vw, 156px);
  font-stretch: condensed;
  font-weight: 720;
  line-height: 0.77;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.68);
}

.hero__lead {
  max-width: 600px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

.hero__actions,
.contact__actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 27px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.button--primary {
  background: var(--accent);
  color: #090a08;
}

.button--primary:hover {
  background: white;
  transform: translateY(-3px);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.button--ghost:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.text-link {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding-block: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 650;
}

.text-link::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transform-origin: left;
  transition: transform 0.3s;
}

.text-link:hover::after {
  transform: scaleX(0.35);
}

.hero__meta {
  position: absolute;
  z-index: 2;
  inset: auto 0 35px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__meta-line {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 35px;
  display: grid;
  place-items: start center;
  width: 24px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
}

.scroll-cue span {
  width: 3px;
  height: 8px;
  margin-top: 9px;
  border-radius: 3px;
  background: var(--accent);
  animation: scroll-cue 1.8s infinite;
}

@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80%, 100% { transform: translateY(28px); opacity: 0; }
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0d0e0d;
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  padding-block: 20px;
  animation: ticker 32s linear infinite;
}

.ticker span {
  padding-inline: 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ticker i {
  color: var(--accent);
  font-style: normal;
  font-size: 9px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-label {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 70px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 25px;
  background: var(--line);
}

.section-label span {
  color: var(--accent);
}

.section-label p {
  margin: 0;
}

.section-title {
  margin: 0;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(48px, 6.25vw, 96px);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.section-title em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
}

.manifesto {
  display: grid;
  grid-template-columns: 22% 1fr;
  column-gap: 7%;
}

.manifesto .section-label {
  grid-column: 1 / -1;
}

.manifesto__copy {
  grid-column: 2;
}

.manifesto__mark {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 220px);
  margin-top: 58px;
  opacity: 0.74;
  filter: drop-shadow(0 24px 60px rgba(234, 194, 102, 0.08));
}

.manifesto__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  max-width: 900px;
  margin-top: 55px;
  color: var(--muted);
  font-size: 15px;
}

.manifesto__body p {
  margin: 0;
}

.manifesto__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 110px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto__facts article {
  position: relative;
  min-height: 245px;
  padding: 36px 40px;
  border-right: 1px solid var(--line);
}

.manifesto__facts article:last-child {
  border-right: 0;
}

.manifesto__facts article > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.manifesto__facts h3 {
  margin: 65px 0 10px;
  font-size: 23px;
  font-weight: 620;
}

.manifesto__facts p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.projects {
  background: #f1f0eb;
  color: #111310;
}

.projects .section-label {
  color: #62645e;
}

.projects .section-label::after {
  background: rgba(0, 0, 0, 0.15);
}

.projects .section-title em {
  -webkit-text-stroke-color: rgba(17, 19, 16, 0.45);
}

.section-heading {
  display: flex;
  gap: 50px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 74px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.section-heading__copy {
  max-width: 440px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.project-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-bottom: 7px;
}

.project-filters button {
  padding: 9px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: #676861;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.project-filters button:hover,
.project-filters button.is-active {
  border-color: #111310;
  background: #111310;
  color: white;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #1d211c;
  color: white;
  cursor: pointer;
  transition: opacity 0.4s, transform 0.55s var(--ease);
}

.project-card--wide {
  grid-column: 1 / -1;
  min-height: 650px;
}

.project-card.is-hidden {
  display: none;
}

.project-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease), filter 0.6s;
}

.project-card .image-zoom {
  transform: scale(1.18);
}

.project-card:hover > img,
.project-card:focus > img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.project-card:hover .image-zoom,
.project-card:focus .image-zoom {
  transform: scale(1.24);
}

.project-card .image-right { object-position: 75% center; }
.project-card .image-left { object-position: 28% center; }

.project-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 7, 5, 0.75), transparent 56%), linear-gradient(180deg, rgba(5, 7, 5, 0.4), transparent 30%);
  transition: background 0.5s;
}

.project-card__top {
  position: absolute;
  inset: 27px 30px auto;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card__content {
  position: absolute;
  inset: auto 34px 30px;
}

.project-card__content p {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 730;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-card__content h3 {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 57px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.project-card__open {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}

.project-card:hover .project-card__open,
.project-card:focus .project-card__open {
  background: var(--accent);
  color: #090a08;
  transform: rotate(45deg);
}

.projects__note {
  max-width: 650px;
  margin: 28px 0 0;
  color: #6c6e67;
  font-size: 11px;
}

.services {
  background: var(--bg);
}

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

.service {
  display: grid;
  grid-template-columns: 90px 145px 1fr;
  min-height: 310px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
}

.service:hover {
  background: rgba(255, 255, 255, 0.025);
}

.service__number {
  align-self: start;
  padding-top: 38px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}

.service:hover .service__icon {
  border-color: var(--accent);
  transform: rotate(-8deg);
}

.service__icon svg {
  width: 42px;
  fill: none;
  stroke: white;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__content {
  display: grid;
  grid-template-columns: minmax(230px, 0.75fr) 1fr 0.9fr;
  gap: 7%;
  align-items: center;
}

.service__content h3 {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.service__content > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service__content li {
  position: relative;
  padding: 7px 0 7px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.service__content li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.gear {
  background: #111310;
}

.gear__intro {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 410px);
  gap: 80px;
  align-items: end;
  margin-bottom: 78px;
}

.gear__intro > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.gear-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(300px, 1fr));
  gap: 16px;
}

.gear-card {
  position: relative;
  display: flex;
  gap: 34px;
  align-items: end;
  min-height: 300px;
  overflow: hidden;
  padding: 35px;
  border: 1px solid var(--line);
  background: #151714;
}

.gear-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 40%, rgba(215, 255, 63, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 0.5s;
}

.gear-card:hover::before {
  opacity: 1;
}

.gear-card--main {
  grid-row: 1 / 3;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  min-height: 616px;
}

.gear-card__index {
  position: absolute;
  top: 28px;
  left: 30px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.gear-card__orb {
  position: absolute;
  top: 50%;
  right: 6%;
  display: grid;
  place-items: center;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 65%);
  transform: translateY(-55%);
}

.gear-card__orb::before,
.gear-card__orb::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.gear-card__orb::before { inset: 20px; }
.gear-card__orb::after { inset: 46px; }

.gear-card--main .gear-card__orb {
  top: 40%;
  right: 50%;
  width: min(70%, 430px);
  transform: translate(50%, -50%);
}

.gear-card__orb svg {
  position: relative;
  z-index: 1;
  width: 58%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.67);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s, transform 0.6s var(--ease);
}

.gear-card:hover .gear-card__orb svg {
  stroke: var(--accent);
  transform: scale(1.06);
}

.gear-card > div:last-child {
  position: relative;
  z-index: 2;
}

.gear-card p {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gear-card h3 {
  margin: 0 0 8px;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 560;
  letter-spacing: -0.035em;
}

.gear-card > div:last-child > span {
  color: var(--muted);
  font-size: 11px;
}

.process .section-heading {
  margin-bottom: 40px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list li > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
}

.process-list li > div {
  position: absolute;
  inset: auto 32px 33px;
}

.process-list h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 580;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.contact {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 120px;
}

.contact__image,
.contact__shade {
  position: absolute;
  inset: 0;
}

.contact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) brightness(0.7);
}

.contact__shade {
  background: linear-gradient(90deg, rgba(5, 6, 5, 0.91) 0%, rgba(5, 6, 5, 0.66) 48%, rgba(5, 6, 5, 0.2) 100%), linear-gradient(0deg, rgba(5, 6, 5, 0.7), transparent 42%);
}

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

.contact h2 {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(70px, 9.2vw, 145px);
  font-weight: 730;
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.contact h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.65);
}

.contact__content > p:not(.eyebrow) {
  max-width: 540px;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact__signature {
  position: absolute;
  right: 0;
  bottom: -5px;
  width: min(31vw, 390px);
  opacity: 0.9;
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, 0.45));
}

.contact__bottom {
  position: absolute;
  top: calc(100% + 100px);
  left: 0;
  display: flex;
  width: 100%;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  background: #070807;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand--footer {
  display: block;
}

.brand__logo--footer {
  height: 58px;
}

.footer p,
.footer__inner > a:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__inner > a:last-child {
  justify-self: end;
}

.footer__inner > a:last-child span {
  margin-left: 10px;
  color: var(--accent);
}

.project-modal {
  width: min(960px, calc(100vw - 40px));
  max-height: min(820px, calc(100vh - 40px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #101110;
  color: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
}

.project-modal::backdrop {
  background: rgba(2, 3, 2, 0.82);
  backdrop-filter: blur(9px);
}

.project-modal__close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(7, 8, 7, 0.55);
  color: white;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.project-modal__media {
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
}

.project-modal__media > img,
.project-modal__media > iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.project-modal__media > img {
  object-fit: cover;
}

.project-modal__copy {
  position: relative;
  padding: 38px 42px 44px;
}

.project-modal__copy > p:first-child {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-modal__copy h2 {
  margin: 0;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.project-modal__copy h2 + p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.project-modal__copy > span {
  position: absolute;
  right: 42px;
  bottom: 44px;
  color: #676963;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-progress {
  position: fixed;
  z-index: 200;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

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

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 56px, 1100px); }
  .site-header { padding-inline: 28px; }
  .main-nav { gap: 23px; }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { justify-self: end; }
  .scroll-cue { right: 28px; }
  .service { grid-template-columns: 65px 110px 1fr; }
  .service__content { grid-template-columns: 0.8fr 1.1fr; }
  .service__content ul { display: none; }
  .gear-card__orb { right: -2%; width: 185px; }
}

@media (max-width: 800px) {
  :root { --shell: calc(100% - 40px); }
  .section { padding-block: 100px; }
  .site-header, .site-header.is-scrolled { height: 70px; padding-inline: 20px; }
  .brand__logo--header, .site-header.is-scrolled .brand__logo--header { height: 56px; }
  .menu-toggle { position: relative; z-index: 102; display: block; justify-self: end; }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 11vw;
    background: rgba(8, 9, 8, 0.98);
    justify-self: stretch;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 0.35s, transform 0.45s var(--ease);
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { font-family: "Arial Narrow", Arial, sans-serif; font-size: 44px; letter-spacing: -0.03em; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: 820px; }
  .hero__media img { object-position: 61% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(5, 6, 5, 0.83), rgba(5, 6, 5, 0.22)), linear-gradient(0deg, rgba(5, 6, 5, 0.82), transparent 55%); }
  .hero h1 { font-size: clamp(62px, 17vw, 110px); line-height: 0.82; }
  .hero__lead { max-width: 480px; }
  .scroll-cue { display: none; }
  .hero__meta { bottom: 25px; }
  .manifesto { display: block; }
  .manifesto__mark { width: 130px; margin: 0 0 48px; }
  .manifesto__body { gap: 30px; }
  .manifesto__facts { grid-template-columns: 1fr; margin-top: 75px; }
  .manifesto__facts article { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .manifesto__facts article:last-child { border-bottom: 0; }
  .manifesto__facts h3 { margin-top: 36px; }
  .section-heading { display: block; }
  .project-filters { justify-content: flex-start; margin-top: 32px; }
  .project-card, .project-card--wide { min-height: 470px; }
  .service { grid-template-columns: 55px 1fr; padding-block: 45px; }
  .service__icon { display: none; }
  .service__content { grid-template-columns: 1fr; gap: 22px; }
  .service__content > p { max-width: 520px; }
  .gear__intro { grid-template-columns: 1fr; gap: 30px; }
  .gear-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gear-card--main { grid-row: auto; min-height: 480px; }
  .gear-card { min-height: 310px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact { min-height: 820px; }
  .contact__bottom { top: calc(100% + 80px); }
  .contact__signature { display: none; }
  .footer__inner { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

@media (max-width: 560px) {
  .section { padding-block: 84px; }
  .section-label { margin-bottom: 48px; }
  .brand__logo--header, .site-header.is-scrolled .brand__logo--header { height: 52px; }
  .brand__logo--footer { height: 50px; }
  .hero { min-height: 100svh; padding-top: 50px; }
  .hero__content { padding-top: 40px; }
  .hero h1 { font-size: clamp(48px, 16vw, 80px); letter-spacing: -0.075em; }
  .hero__lead { margin-top: 28px; font-size: 14px; }
  .hero__actions, .contact__actions { flex-direction: column; align-items: stretch; gap: 13px; }
  .hero__actions .text-link { width: max-content; margin-top: 3px; }
  .button { width: 100%; }
  .hero__meta { font-size: 7px; }
  .hero__meta span:last-child, .hero__meta-line { display: none; }
  .section-title { font-size: clamp(43px, 14vw, 68px); }
  .manifesto__body { grid-template-columns: 1fr; }
  .manifesto__facts article { padding-inline: 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: auto; }
  .project-card, .project-card--wide { min-height: 430px; }
  .project-card__content { right: 75px; left: 24px; bottom: 23px; }
  .project-card__top { right: 24px; left: 24px; }
  .project-card__open { right: 22px; bottom: 23px; width: 42px; height: 42px; }
  .project-card__content h3 { font-size: 35px; }
  .service { grid-template-columns: 38px 1fr; }
  .service__content h3 { font-size: 37px; }
  .gear-card { padding: 26px; }
  .gear-card__orb { top: 43%; right: 50%; transform: translate(50%, -50%); width: 190px; }
  .gear-card > div:last-child { margin-top: 170px; }
  .gear-card--main .gear-card__orb { width: 270px; }
  .gear-card--main > div:last-child { margin-top: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(3) { border-bottom: 1px solid var(--line); }
  .process-list li:last-child { border-bottom: 0; }
  .contact h2 { font-size: clamp(57px, 17vw, 90px); }
  .contact__bottom { flex-direction: column; gap: 8px; }
  .footer__inner > a:last-child { font-size: 8px; }
  .project-modal__copy { padding: 28px 24px 34px; }
  .project-modal__copy > span { position: static; display: block; margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

.project-modal__media > iframe {
  border: 0;
}

[hidden] {
  display: none !important;
}
