:root {
  --ink: #000000;
  --ghost: rgba(0, 0, 0, 0.14);
  --line: rgba(0, 0, 0, 0.35);
  --paper: #FFFFFF;
  --f-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 21px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--f-body);
  margin: 0;
  font-weight: 400;
}

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

.reveal { opacity: 0; transition: opacity 1.1s ease; }
.reveal.in-view { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 32px 64px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.corner-label {
  position: absolute;
  top: 48px;
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  margin: 0;
}
.corner-left { left: 64px; }
.corner-right { right: 64px; }
.wordmark {
  font-size: clamp(56px, 9vw, 108px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 44px;
  margin-bottom: 36px;
}
.hero-intro {
  width: 100%;
  max-width: 1360px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.hero-portrait {
  border-radius: 48px;
  overflow: hidden;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }

/* ---------- ghost headings ---------- */
.ghost-heading {
  color: var(--ghost);
  transition: color 1.1s ease;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.reveal.in-view.ghost-heading,
.reveal.in-view .ghost-heading { color: var(--ink); }
.ghost-medium { font-size: clamp(40px, 5.5vw, 64px); }
.ghost-huge { font-size: clamp(48px, 8vw, 92px); margin-bottom: 8px; }

/* ---------- about (merged into hero) ---------- */
.about-copy p { margin: 0 0 26px; font-size: 22px; line-height: 1.55; }
.about-copy p:last-child { margin-bottom: 0; }

/* ---------- credentials ---------- */
.credentials { max-width: 1360px; margin: 0 auto; padding: 90px 64px 110px; }
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  margin-top: 56px;
}
.timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline li { position: relative; padding: 22px 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 30px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.t-name { display: block; font-style: italic; font-size: 26px; margin-bottom: 4px; }
.t-role { display: block; font-size: 18px; }
.credentials-side {
  position: sticky;
  top: 60px;
  align-self: start;
  border-radius: 40px;
  overflow: hidden;
}
.credentials-side img { width: 100%; height: auto; }

/* ---------- past projects ---------- */
.past-projects { max-width: 1580px; margin: 0 auto; padding: 70px 64px; }
.thumb-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.thumb-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 30px; }
.thumb {
  display: block;
  color: inherit;
  text-decoration: none;
}
.thumb-img img { transition: transform 0.4s ease; }
.thumb:hover .thumb-img img { transform: scale(1.03); }
.thumb h3 {
  font-style: italic;
  font-size: 25px;
  text-align: center;
  margin-bottom: 22px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-img { border-radius: 36px; overflow: hidden; }
.thumb-img img { width: 100%; height: 460px; object-fit: cover; object-position: 50% 50%; }
.thumb-img img.crop-hand { object-position: 61% 46%; }
.thumb p { font-size: 18px; line-height: 1.4; margin: 20px 0 0; }

/* ---------- deep dive projects ---------- */
.deep-dive { max-width: 1480px; margin: 0 auto; padding: 100px 64px; }
.tagline { font-size: 24px; margin: 0 0 30px; max-width: 900px; }
.dd-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}
.dd-text p { margin: 0 0 22px; font-size: 20px; line-height: 1.55; }
.dd-text p:last-child { margin-bottom: 0; }
.kt { font-size: 19px; }
.kt strong { text-decoration: underline; font-weight: 600; }
.dd-meta { font-size: 17px; opacity: 0.65; margin: 0 0 40px; max-width: 950px; }
.dd-meta strong { font-weight: 600; }
.dd-img { border-radius: 40px; overflow: hidden; }
.dd-img img { width: 100%; height: auto; display: block; }
.dd-img-small { max-width: 340px; }
.dd-full-text { max-width: 950px; font-size: 20px; line-height: 1.6; margin: 0 0 24px; }
.dd-graphic { margin: 24px auto 56px; max-width: 1120px; }
.dd-graphic img, .dd-graphic video { width: 100%; height: auto; border-radius: 24px; display: block; }
.dd-graphic-tall { max-width: 560px; }
.dd-graphic-wide {
  max-width: 1220px;
  border-radius: 40px;
  overflow: hidden;
}
.dd-graphic-wide img {
  border-radius: 0;
  aspect-ratio: 1220 / 500;
  height: auto;
  object-fit: cover;
  object-position: center 58%;
}
.dd-photo { max-width: 760px; margin: 0 auto 48px; border-radius: 32px; overflow: hidden; }
.dd-photo img { width: 100%; height: auto; display: block; }
.dd-photo-pair {
  display: flex;
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto 48px;
  aspect-ratio: 1140 / 560;
}
.dd-photo-pair .dd-photo { flex: 1; max-width: none; margin: 0; height: 100%; }
.dd-photo-pair .dd-photo img { width: 100%; height: 100%; object-fit: cover; }
.dd-photo-pair .dd-photo img.crop-face { object-position: 50% 12%; }
.dd-photo-pair .dd-photo img.crop-table { object-position: 50% 85%; }
.dd-photo-pair-wide { max-width: none; aspect-ratio: 1352 / 820; }

/* ---------- contact ---------- */
.contact { max-width: 1360px; margin: 0 auto; padding: 100px 64px 60px; }
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.contact-eyebrow { font-style: italic; font-size: 26px; margin: 0 0 8px; }
.contact-heading { font-size: clamp(48px, 7vw, 78px); margin: 0; text-align: left; }
.contact-portrait { border-radius: 48px; overflow: hidden; }
.contact-portrait img { width: 100%; height: auto; object-fit: cover; }
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.contact-item h3 { font-size: 22px; margin-bottom: 10px; }
.contact-item p {
  font-style: italic;
  font-size: 19px;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 32px 28px 64px; }
  .corner-label { position: static; text-align: center; margin: 0 0 8px; }
  .corner-right { text-align: center; }
  .hero { align-items: center; }
  .wordmark { margin-top: 24px; }
  .hero-intro { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .hero-portrait { width: 70vw; max-width: 420px; margin: 0 auto; }
  .credentials { padding: 60px 28px 80px; }
  .credentials-grid { grid-template-columns: 1fr; gap: 40px; }
  .credentials-side { position: static; max-width: 420px; margin: 0 auto; }

  .past-projects { padding: 50px 28px; }
  .thumb-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .thumb-img img { height: 300px; }

  .deep-dive { padding: 64px 28px; }
  .dd-row { grid-template-columns: 1fr; gap: 28px; }
  .dd-row .dd-img { order: -1; }
  .dd-photo-pair { flex-direction: column; aspect-ratio: auto; }
  .dd-photo-pair .dd-photo { height: 320px; }
  .dd-img-small { max-width: 100%; }

  .contact { padding: 64px 28px 40px; }
  .contact-row { grid-template-columns: 1fr; gap: 32px; }
  .contact-heading { text-align: center; }
  .contact-eyebrow { text-align: center; }
  .contact-portrait { max-width: 320px; margin: 0 auto; }
  .contact-details { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 18px; }
  .thumb-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; }
  .ghost-heading { transition: none; color: var(--ink); }
  html { scroll-behavior: auto; }
}
