:root {
  --bg: #080a0c;
  --bg-raised: #0d1115;
  --panel: #11161b;
  --panel-soft: #0c1014;
  --line: rgba(236, 244, 248, 0.13);
  --line-strong: rgba(236, 244, 248, 0.24);
  --ink: #f2f6f7;
  --muted: #a0abb1;
  --quiet: #6f7a81;
  --accent: #69ddff;
  --accent-soft: #8ca0ff;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
  --radius: 3px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(55, 117, 145, 0.10), transparent 26rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: #061014;
  background: var(--accent);
}

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

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

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #071014;
  background: var(--accent);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  border-color: var(--line);
  background: rgba(8, 10, 12, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.identity-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-featured {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(124px, 15vh, 180px) var(--gutter) 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.72fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(40px, 7vw, 120px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 78%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: -18rem;
  right: 16%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(105, 221, 255, 0.16), transparent 67%);
}

.hero-glow-two {
  bottom: 0;
  left: 2%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(140, 160, 255, 0.08), transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 0 0 clamp(50px, 7vh, 90px);
}

.kicker,
.section-index,
.project-type {
  margin: 0;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(24px, 4vh, 42px);
}

.kicker span {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(58px, 7.1vw, 126px);
  font-weight: 580;
  letter-spacing: -0.066em;
  line-height: 0.88;
}

.hero h1 em {
  display: block;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 670px;
  margin: clamp(30px, 5vh, 54px) 0 0;
  color: #bdc6ca;
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 380;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.015em;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  color: #061014;
  background: var(--accent);
}

.button-primary:hover {
  background: #a1ebff;
}

.button-quiet:hover {
  border-color: var(--ink);
}

.hero-portrait {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  margin: 0;
  align-self: end;
  justify-self: end;
}

.hero-media-stack {
  position: relative;
  min-height: clamp(520px, 62vh, 760px);
}

.hero-system-slice {
  position: absolute;
  z-index: 1;
  top: 16%;
  right: 8%;
  width: 106%;
  height: 31%;
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(4% 13%, 100% 0, 93% 84%, 0 100%);
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .38));
  transform: translateX(-12%);
}

.hero-system-slice::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 8, 11, .78), transparent 54%, rgba(3, 8, 11, .38));
  content: "";
}

.hero-system-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.46) contrast(1.18) brightness(.63);
}

.hero-image-orbit {
  position: absolute;
  z-index: 0;
  top: 7%;
  right: -8%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(105, 221, 255, .23);
  border-radius: 50%;
}

.hero-image-orbit::before,
.hero-image-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-image-orbit::before {
  inset: 17%;
  border: 1px solid rgba(105, 221, 255, .11);
}

.hero-image-orbit::after {
  top: 49%;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(105, 221, 255, .8);
}

.portrait-frame {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 78%;
  aspect-ratio: 0.72;
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(9% 0, 100% 0, 100% 87%, 83% 100%, 0 100%, 0 12%);
  filter: drop-shadow(-18px 28px 35px rgba(0, 0, 0, .48));
}

.portrait-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(210, 240, 248, .2);
  box-shadow: inset 0 0 0 11px rgba(8, 10, 12, .14);
  content: "";
  pointer-events: none;
}

.portrait-frame::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 74%;
  height: 32%;
  background: linear-gradient(135deg, transparent, rgba(0, 10, 16, 0.78));
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.66) contrast(1.06) brightness(0.84);
  transform: scale(1.01);
  transition: filter 500ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

.hero-portrait:hover .portrait-frame img {
  filter: saturate(0.9) contrast(1.04) brightness(0.92);
  transform: scale(1.035);
}

.hero-image-label {
  position: absolute;
  z-index: 5;
  right: -22px;
  bottom: 18%;
  padding: 9px 12px;
  color: #071014;
  background: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right bottom;
}

.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 126px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.hero-proof > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(16px, 2.5vw, 40px);
  border-left: 1px solid var(--line);
}

.hero-proof > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong {
  color: var(--ink);
  font-size: clamp(26px, 2.5vw, 42px);
  font-weight: 450;
  letter-spacing: -0.04em;
}

.hero-proof span {
  max-width: 120px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

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

.statement {
  display: grid;
  padding-top: clamp(110px, 15vw, 220px);
  padding-bottom: clamp(110px, 15vw, 220px);
  grid-template-columns: minmax(150px, 0.34fr) 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.statement h2,
.section-heading h2,
.approach h2,
.portfolio-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.statement > div {
  max-width: 970px;
}

.statement > div > p,
.section-heading > p,
.approach-copy > p,
.portfolio-cta > p {
  max-width: 710px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.65;
}

.selected-work {
  padding-top: clamp(100px, 13vw, 180px);
  padding-bottom: clamp(100px, 13vw, 180px);
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr minmax(280px, 0.48fr);
  gap: clamp(36px, 7vw, 120px);
}

.section-heading .section-index,
.approach-copy .section-index,
.portfolio-cta .section-index {
  margin-bottom: 30px;
}

.section-heading > p {
  margin: 0;
  font-size: 15px;
}

.project-grid {
  display: grid;
  margin-top: clamp(54px, 7vw, 100px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  display: grid;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.project-card:hover {
  border-color: var(--line-strong);
  background: var(--panel);
  transform: translateY(-4px);
}

.project-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.72fr);
}

.project-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #161b1f;
}

.project-card-featured .project-media {
  min-height: 590px;
}

.project-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,7,9,.74), transparent 55%);
  content: "";
  pointer-events: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.06);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 400ms ease;
}

.project-media-portrait img {
  object-position: center 34%;
}

.project-card:hover .project-media img {
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.025);
}

.project-number {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,.84);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.project-card-copy {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(26px, 3.4vw, 54px);
}

.project-card-copy h3 {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.project-card:not(.project-card-featured) .project-card-copy h3 {
  font-size: clamp(25px, 2.6vw, 40px);
}

.project-card-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link b {
  color: var(--accent);
  font-size: 16px;
}

.approach {
  display: grid;
  padding-top: clamp(100px, 13vw, 180px);
  padding-bottom: clamp(100px, 13vw, 180px);
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 130px);
  border-top: 1px solid var(--line);
}

.approach-image {
  position: relative;
  align-self: start;
}

.approach-image::before {
  position: absolute;
  z-index: 2;
  inset: 14px -14px -14px 14px;
  border-right: 1px solid rgba(105, 221, 255, 0.34);
  border-bottom: 1px solid rgba(105, 221, 255, 0.34);
  content: "";
  pointer-events: none;
}

.approach-image img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  filter: grayscale(.28) saturate(.75) contrast(1.06);
}

.approach-image > span {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 20px;
  padding: 10px 13px;
  color: #071014;
  background: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.approach-copy {
  align-self: center;
}

.process-list {
  margin: clamp(44px, 6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 22px 0;
  grid-template-columns: 50px minmax(150px, .6fr) 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.process-list strong {
  font-size: 14px;
  font-weight: 650;
}

.process-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.portfolio-cta {
  display: grid;
  justify-items: start;
  padding-top: clamp(100px, 13vw, 180px);
  padding-bottom: clamp(100px, 13vw, 180px);
  border-top: 1px solid var(--line);
}

.portfolio-cta h2 {
  max-width: 850px;
}

.portfolio-cta .button {
  margin-top: 38px;
}

.home-preview {
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.home-preview-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.home-preview-header .section-index,
.home-details-cta .section-index {
  margin-bottom: 24px;
}

.home-preview-header h2,
.home-details-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .98;
}

.text-action {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--accent);
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.text-action span {
  color: var(--accent);
  font-size: 15px;
}

.text-action:hover {
  color: var(--ink);
}

.home-projects {
  position: relative;
  display: grid;
  margin-top: clamp(48px, 6vw, 84px);
  grid-template-columns: 1.42fr repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  padding: 28px 8px 86px;
}

.home-project {
  position: relative;
  min-height: clamp(420px, 42vw, 620px);
  overflow: hidden;
  background: var(--panel);
  clip-path: polygon(7% 0, 100% 5%, 93% 100%, 0 92%);
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .38));
}

.home-project-wide {
  z-index: 1;
  margin-right: -24px;
  clip-path: polygon(0 5%, 95% 0, 100% 91%, 6% 100%);
}

.home-project:nth-child(2) {
  z-index: 3;
  min-height: clamp(390px, 37vw, 550px);
  margin-top: -54px;
  margin-left: -22px;
}

.home-project:nth-child(3) {
  z-index: 2;
  min-height: clamp(360px, 34vw, 510px);
  margin-top: 96px;
  margin-left: -44px;
  clip-path: polygon(0 8%, 100% 0, 91% 100%, 6% 94%);
}

.home-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.58) contrast(1.08) brightness(.78);
  transition: filter 400ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

.home-project:not(.home-project-wide) img {
  object-position: center;
}

.home-project:nth-child(2) img {
  object-position: center 36%;
}

.home-project-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(4, 7, 9, .96) 0, rgba(4, 7, 9, .18) 60%, rgba(4, 7, 9, .12) 100%),
    linear-gradient(135deg, rgba(105, 221, 255, .10), transparent 46%);
  pointer-events: none;
}

.home-project-index {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255,255,255,.72);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .12em;
}

.home-project > div {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(22px, 3vw, 40px);
  left: clamp(20px, 3vw, 40px);
}

.home-project > div p {
  margin: 0 0 15px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-project h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(25px, 2.7vw, 46px);
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.home-project:not(.home-project-wide) h3 {
  font-size: clamp(23px, 2.1vw, 34px);
}

.home-project > div > span {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(105, 221, 255, .62);
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-project:hover img {
  filter: saturate(.9) contrast(1.04) brightness(.9);
  transform: scale(1.035);
}

.home-capabilities {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 26px 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  scrollbar-width: none;
}

.home-capabilities::-webkit-scrollbar {
  display: none;
}

.home-capabilities span {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.home-capabilities span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.home-details-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding-top: clamp(90px, 11vw, 150px);
}

.home-details-cta h2 {
  max-width: 760px;
}

.site-footer {
  display: grid;
  padding: clamp(60px, 7vw, 96px) var(--gutter) 32px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .38fr);
  gap: clamp(50px, 9vw, 150px);
  border-top: 1px solid var(--line);
  background: #060809;
}

.site-footer p {
  margin: 0;
}

.footer-intro > p {
  max-width: 630px;
  margin-bottom: 14px;
  font-size: clamp(22px, 2.7vw, 42px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(30px, 4vw, 62px);
  margin-top: 28px;
}

.contact-direct a {
  display: grid;
  gap: 6px;
}

.contact-direct span {
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-direct strong {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.contact-direct a:hover strong {
  color: var(--ink);
}

.footer-links {
  display: grid;
  align-self: end;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-links a {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease, padding-left 160ms ease;
}

.footer-links a span {
  color: var(--accent);
}

.footer-links a:hover {
  color: var(--ink);
  padding-left: 4px;
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(.2,.7,.2,1);
}

.reveal[data-delay="1"] {
  transition-delay: 100ms;
}

.reveal[data-delay="2"] {
  transition-delay: 190ms;
}

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

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    padding-top: 126px;
    grid-template-columns: 1fr minmax(280px, 0.62fr);
    column-gap: 32px;
  }

  .hero h1 {
    font-size: clamp(54px, 7.5vw, 82px);
  }

  .project-card-featured {
    grid-template-columns: 1.18fr .82fr;
  }

  .project-card-featured .project-media {
    min-height: 500px;
  }

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

  .home-project-wide {
    min-height: 520px;
    grid-column: 1 / -1;
    margin-right: 0;
  }

  .home-project:not(.home-project-wide) {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .identity-name,
  .site-nav > a:not(.nav-featured) {
    display: none;
  }

  .site-nav .nav-featured {
    font-size: 11px;
  }

  .hero {
    display: block;
    padding-top: 112px;
  }

  .hero-copy {
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .hero-intro {
    max-width: 560px;
  }

  .hero-portrait {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .hero-media-stack {
    min-height: clamp(510px, 137vw, 680px);
  }

  .hero-system-slice {
    top: 14%;
    right: 2%;
    width: 102%;
    height: 30%;
    transform: translateX(-5%);
  }

  .portrait-frame {
    width: 78%;
    aspect-ratio: .72;
  }

  .portrait-frame img {
    object-position: center 33%;
  }

  .hero-proof {
    margin-top: 54px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proof > div {
    min-height: 100px;
    padding: 18px 14px;
    border-top: 1px solid var(--line);
  }

  .hero-proof > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

  .statement {
    gap: 38px;
  }

  .section-heading {
    gap: 24px;
  }

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

  .project-card-featured {
    grid-column: auto;
  }

  .project-card-featured .project-media,
  .project-media {
    min-height: 280px;
    aspect-ratio: 1.2;
  }

  .project-card-copy {
    min-height: 0;
  }

  .home-preview-header,
  .home-details-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-projects {
    grid-template-columns: 1fr;
  }

  .home-project-wide {
    grid-column: auto;
  }

  .home-project,
  .home-project-wide,
  .home-project:not(.home-project-wide) {
    min-height: 430px;
  }

  .home-project-wide,
  .home-project:nth-child(2),
  .home-project:nth-child(3) {
    margin: 0;
    clip-path: polygon(5% 0, 100% 4%, 94% 100%, 0 93%);
  }

  .home-projects {
    gap: 24px;
    padding: 8px 0 44px;
  }

  .home-project h3,
  .home-project:not(.home-project-wide) h3 {
    font-size: clamp(27px, 8vw, 42px);
  }

  .approach-image img {
    max-height: 640px;
    aspect-ratio: .9;
  }

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

  .footer-links {
    width: 100%;
    max-width: 520px;
  }

  .footer-note {
    grid-column: auto;
  }
}

@media (max-width: 470px) {
  .hero-actions .button {
    width: 100%;
  }

  .hero-proof strong {
    font-size: 30px;
  }

  .hero-proof span {
    font-size: 8px;
  }

  .process-list li {
    grid-template-columns: 34px 1fr;
  }

  .process-list small {
    grid-column: 2;
  }
}

@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;
  }

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