:root {
  color-scheme: dark;
  --ink: #070b10;
  --paper: #eef4f8;
  --muted: #99a7b2;
  --line: rgba(216, 233, 244, .18);
  --blue: #8dcdf5;
  --amber: #ffbd73;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1rem/1.65 "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 4rem);
  background: linear-gradient(to bottom, rgba(7,11,16,.86), transparent);
  font-family: "DM Mono", monospace;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.identity, nav a { text-decoration: none; }
.identity { display: flex; align-items: center; gap: .75rem; }
.identity-mark {
  width: .7rem;
  height: .7rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(141,205,245,.7);
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { color: var(--muted); transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--paper); }
.contact-link { padding: .55rem .8rem; border: 1px solid var(--line); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 8rem clamp(1.25rem, 7vw, 7rem) 5rem;
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; opacity: .82; }
.hero-shade { background: linear-gradient(90deg, #070b10 6%, rgba(7,11,16,.82) 35%, rgba(7,11,16,.05) 76%), linear-gradient(0deg, #070b10 0%, transparent 25%); }
.hero-copy { position: relative; z-index: 1; width: min(760px, 100%); }
.eyebrow, .section-index, .project-number, .project-state {
  margin: 0;
  color: var(--blue);
  font: 300 .76rem/1.4 "DM Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 1.4rem 0 2rem;
  font-size: clamp(3.4rem, 8.2vw, 8.6rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.065em;
}
h1 em { color: var(--blue); font-style: normal; font-weight: 400; }
.hero-intro { max-width: 610px; margin: 0; color: #cad4db; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: 2rem;
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font: 300 .72rem/1 "DM Mono", monospace;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.manifesto, .work, .closing, .projects {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.manifesto {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) 2fr;
  gap: 3rem;
  padding: clamp(5rem, 11vw, 10rem) 0;
}
.manifesto h2, .section-heading h2, .work h2, .closing h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.055em;
}
.manifesto h2 span { color: var(--muted); }
.manifesto div > p { max-width: 700px; margin: 2.5rem 0 0; color: #b8c3cb; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.principles { display: block; margin-top: 1.4rem; color: var(--paper); }

.projects { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: minmax(170px, .65fr) 2fr; gap: 3rem; margin-bottom: 5rem; }
.project-list { border-top: 1px solid var(--line); }
.project {
  display: grid;
  grid-template-columns: minmax(80px, .38fr) 1.65fr .55fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.project:hover { padding-inline: 1rem; background: rgba(141,205,245,.035); }
.project h3 { margin: -.35rem 0 .6rem; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.04em; }
.project div p { max-width: 560px; margin: 0; color: var(--muted); }
.project-state { color: var(--muted); text-align: right; }

.work {
  display: grid;
  grid-template-columns: minmax(170px, .65fr) 1.45fr .55fr;
  gap: 3rem;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.work h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.work-copy p { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.work-tags { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.work-tags li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: #c2ccd3; font-family: "DM Mono", monospace; font-size: .8rem; }

.closing { padding: clamp(6rem, 14vw, 13rem) 0 5rem; }
.closing h2 { max-width: 990px; margin: 1.8rem 0 2rem; }
.closing-intro { max-width: 680px; margin: 0 0 4rem; color: var(--muted); font-size: 1.08rem; }
.email {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  border-block: 1px solid var(--line);
  color: var(--blue);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  text-decoration: none;
}
.email span { transition: transform .2s ease; }
.email:hover span { transform: translate(.25rem, -.25rem); }

footer {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0 2.5rem;
  color: #768691;
  font: 300 .72rem/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
  nav a:not(.contact-link) { display: none; }
  .hero { min-height: 820px; align-items: end; padding-bottom: 8rem; }
  .hero-image { object-position: 61% center; opacity: .65; }
  .hero-shade { background: linear-gradient(0deg, #070b10 4%, rgba(7,11,16,.35) 70%, rgba(7,11,16,.8)); }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .manifesto, .section-heading, .work { grid-template-columns: 1fr; gap: 2rem; }
  .project { grid-template-columns: 48px 1fr; gap: 1rem; }
  .project-state { grid-column: 2; text-align: left; }
  .work-tags { margin-top: 1rem; }
  footer { flex-direction: column; gap: .4rem; }
}
