:root {
  --bg: #0b0b0b;
  --ink: #f2efe9;
  --muted: #8e8a84;
  --line: rgba(242, 239, 233, 0.16);
  --gutter: clamp(20px, 4vw, 56px);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wordmark { font-weight: 600; letter-spacing: 0.24em; }

.site-nav { display: flex; gap: clamp(20px, 3vw, 40px); }

.site-nav a,
.home-footer a,
.text-link {
  position: relative;
  opacity: 0.82;
  transition: opacity 0.25s ease;
}

.site-nav a::after,
.home-footer a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.home-footer a:hover,
.text-link:hover { opacity: 1; }

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.home-footer a:hover::after,
.text-link:hover::after { transform: scaleX(1); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

/* Home */
.home { height: 100vh; height: 100svh; overflow: hidden; }

.hero {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 22%);
}

.home-title {
  position: fixed;
  left: var(--gutter);
  bottom: clamp(64px, 9vh, 96px);
  z-index: 5;
  margin: 0;
  animation: rise 1.4s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.home-title .name {
  display: block;
  font-size: clamp(52px, 10.5vw, 168px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.home-title .role {
  display: block;
  margin-top: clamp(14px, 2vw, 22px);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.home-footer {
  position: fixed;
  right: var(--gutter);
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes settle { from { transform: scale(1.06); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Inner pages */
.page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--gutter) 64px;
}

.page-label {
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
  grid-template-areas:
    "photo text"
    "second text";
  row-gap: clamp(24px, 3vw, 40px);
}

.about-photo { grid-area: photo; }
.about-text { grid-area: text; }
.about-secondary { grid-area: second; }

.about-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #151515;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.about-text { max-width: 640px; padding-top: 4px; }

.bio p {
  margin: 0 0 1.2em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.68;
  font-weight: 400;
}

.about-name {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.highlights {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.highlights li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: 0.01em;
}

.about-secondary {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #151515;
}

.about-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
}

/* Contact */
.contact {
  max-width: 640px;
  margin: 0 auto;
  padding-top: clamp(0px, 6vh, 60px);
}

.contact h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.contact .intro {
  margin: 0 0 clamp(36px, 5vw, 56px);
  color: var(--muted);
}

.field { margin-bottom: 30px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  transition: border-color 0.25s ease;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--ink); }

.hidden-field { position: absolute; left: -9999px; }

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 38px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.button:hover { background: var(--ink); color: var(--bg); }

.page-footer {
  max-width: 1360px;
  margin: clamp(64px, 8vw, 120px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-header { padding-top: 22px; padding-bottom: 22px; font-size: 11px; letter-spacing: 0.12em; }
  .wordmark { letter-spacing: 0.16em; white-space: nowrap; }
  .site-nav { gap: 16px; white-space: nowrap; }
  .hero img { object-position: 46% 50%; }
  .home-title { bottom: 84px; }
  .home-footer { left: var(--gutter); right: auto; bottom: 30px; }
  .page { padding-top: 96px; }
  .about { grid-template-columns: 1fr; gap: 36px; grid-template-areas: "photo" "text" "second"; }
  .about-photo { position: static; aspect-ratio: 4 / 5; }
  .page-footer { flex-direction: column; gap: 10px; }
}

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

/* Small phones: Instagram stays in the footer, so drop it from the top menu */
@media (max-width: 440px) {
  .site-header { flex-wrap: wrap; row-gap: 12px; padding-top: 18px; padding-bottom: 16px; }
  .home .site-header { justify-content: flex-end; }
  .home .site-header > span { display: none; }
  .site-nav { gap: 18px; }
  .page { padding-top: 116px; }
}

/* Phones turned sideways and other short screens */
@media (max-height: 500px) and (orientation: landscape) {
  .home-title .name { font-size: clamp(40px, 15vh, 72px); }
  .home-title { bottom: 64px; }
  .home-title .role { margin-top: 10px; }
}
