:root {
  --ink: #080909;
  --paper: #e9e5da;
  --muted: #98978f;
  --line: rgba(233, 229, 218, .18);
  --signal: #bd1e24;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--signal); color: white; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .045;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 82px;
  padding: 0 clamp(24px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.monogram {
  font: 500 14px var(--mono);
  letter-spacing: .16em;
}
.monogram span { color: var(--signal); }
.status {
  color: var(--muted);
  font: 9px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pulse {
  width: 6px;
  height: 6px;
  margin-right: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(189, 30, 36, .5);
  animation: pulse 2.4s infinite;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 13vh clamp(24px, 5vw, 86px) 7vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .72fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("hero-nyc-topo.png") 57% center / cover no-repeat;
  opacity: .74;
  transform: scale(1.015);
  animation: city-breathe 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 9, .18), rgba(8, 9, 9, .18) 50%, rgba(8, 9, 9, .52)),
    linear-gradient(0deg, rgba(8, 9, 9, .82), transparent 47%, rgba(8, 9, 9, .34));
}

h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(34px, 5vh, 58px);
  font-size: clamp(64px, 8.5vw, 138px);
  font-weight: 300;
  line-height: .82;
  letter-spacing: -.075em;
}
h1 span {
  display: block;
  margin-left: 8vw;
  font-style: italic;
  font-weight: 400;
}

.disciplines {
  position: relative;
  z-index: 2;
  margin: 0;
  font: 400 clamp(10px, 1vw, 13px) var(--mono);
  letter-spacing: .17em;
  line-height: 1.8;
  text-transform: uppercase;
}
.disciplines i {
  margin: 0 .55em;
  color: var(--signal);
  font-style: normal;
}

.portrait-card {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: transparent;
}
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(8, 9, 9, .48)),
    radial-gradient(ellipse at center, transparent 38%, rgba(8, 9, 9, .18) 70%, rgba(8, 9, 9, .58));
}
.portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: .76;
  mix-blend-mode: screen;
  filter: grayscale(.3) contrast(1.12) brightness(.88);
  -webkit-mask-image: radial-gradient(ellipse 67% 76% at 50% 47%, #000 42%, rgba(0, 0, 0, .88) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 67% 76% at 50% 47%, #000 42%, rgba(0, 0, 0, .88) 62%, transparent 100%);
}
.portrait-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .7;
  mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .07) 49%, transparent 58%);
}
.stamp {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 25px;
  padding: 8px 12px;
  border: 2px solid rgba(216, 44, 50, .9);
  color: #d82c32;
  font: 500 12px var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  transform: rotate(-6deg);
}
.portrait-code {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 25px;
  color: rgba(233, 229, 218, .7);
  font: 8px var(--mono);
  letter-spacing: .18em;
}

.closing {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  margin: clamp(46px, 7vh, 78px) 0 0;
  padding-top: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid rgba(233, 229, 218, .55);
  transition: border-color .25s;
}
.closing strong {
  color: var(--signal);
  font-size: clamp(34px, 4.4vw, 67px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.closing > span {
  padding-bottom: 5px;
  color: var(--muted);
  font: 400 9px var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s;
}
.closing b { margin-left: 12px; color: var(--signal); font-size: 15px; }
.closing:hover { border-color: var(--signal); }
.closing:hover > span { color: var(--paper); }

.contact-panel {
  position: relative;
  min-height: 100svh;
  padding: clamp(110px, 15vh, 180px) clamp(24px, 8vw, 138px);
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(360px, 1fr);
  gap: clamp(70px, 12vw, 190px);
  align-items: start;
  background: #050606;
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("hero-nyc-topo.png") left center / auto 120% no-repeat;
  opacity: .72;
  filter: contrast(1.12) saturate(1.12);
}
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 6, 6, .2), rgba(5, 6, 6, .5) 42%, rgba(5, 6, 6, .94) 76%);
}
.contact-kicker {
  margin: 0 0 48px;
  color: var(--signal);
  font: 400 9px var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.contact-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  margin-right: 16px;
  display: inline-block;
  vertical-align: middle;
  background: var(--signal);
}
.contact-intro h2 {
  margin: 0;
  color: var(--signal);
  font-size: clamp(48px, 6.2vw, 94px);
  font-weight: 200;
  line-height: .96;
  letter-spacing: -.055em;
}
.contact-form { padding-top: 2px; }
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.field { margin-bottom: 34px; }
.field label {
  display: block;
  margin-bottom: 12px;
  color: var(--signal);
  font: 400 9px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(233, 229, 218, .32);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  font: 300 16px var(--sans);
  transition: border-color .2s;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field input:focus,
.field textarea:focus { border-color: var(--signal); }
.field-note {
  margin: 10px 0 0;
  color: #686964;
  font: 300 9px/1.6 var(--mono);
  letter-spacing: .04em;
}
.send-button {
  width: 100%;
  padding: 23px 2px;
  display: flex;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid rgba(233, 229, 218, .5);
  border-bottom: 1px solid rgba(233, 229, 218, .5);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: 400 10px var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: color .2s, border-color .2s, padding .2s;
}
.send-button span:last-child { color: var(--signal); font-size: 16px; }
.send-button:hover,
.send-button:focus-visible {
  padding-left: 14px;
  padding-right: 14px;
  border-color: var(--signal);
  color: white;
}
.send-button:disabled { cursor: wait; opacity: .55; }
.form-status {
  min-height: 1.6em;
  margin: 16px 0 0;
  color: #9a9b94;
  font: 300 10px/1.6 var(--mono);
  letter-spacing: .04em;
}
.form-status.is-success { color: #9dbb9d; }
.form-status.is-error { color: var(--signal); }

footer {
  height: 74px;
  padding: 0 clamp(24px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #656660;
  font: 8px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.reveal { animation: reveal .9s cubic-bezier(.22, .8, .3, 1) both; }
.disciplines.reveal { animation-delay: .15s; }
.closing.reveal { animation-delay: .28s; }
.portrait-card.reveal { animation-delay: .2s; }

@keyframes reveal {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(189, 30, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(189, 30, 36, 0); }
}
@keyframes city-breathe {
  from { transform: scale(1.015); filter: contrast(1); }
  to { transform: scale(1.045); filter: contrast(1.08); }
}

@media (max-width: 760px) {
  .site-header { height: 68px; }
  .status { display: none; }
  .hero {
    min-height: 100svh;
    padding: 15vh 24px 10vh;
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .hero::before { background-position: 68% center; opacity: .66; }
  h1 span { margin-left: 0; }
  .disciplines { max-width: 360px; }
  .disciplines i { margin: 0 .3em; }
  .portrait-card { width: min(430px, 92vw); justify-self: center; }
  .stamp { top: 24px; left: 20px; }
  .portrait-code { left: 20px; bottom: 20px; }
  .closing { align-items: flex-start; flex-direction: column; gap: 28px; }
  .contact-panel { min-height: 100svh; grid-template-columns: 1fr; gap: 72px; padding: 100px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  footer { height: 84px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
