:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #0d0d0d;
  --surface-2: #121212;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(226, 190, 111, 0.34);
  --text: #f3f0e8;
  --muted: #a8a49b;
  --gold: #d7b46a;
  --gold-soft: #f1d89f;
  --max: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 180, 106, 0.1), transparent 29rem),
    radial-gradient(circle at 87% 28%, rgba(90, 115, 155, 0.08), transparent 34rem),
    var(--bg);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

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

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

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: -0.04em;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
}

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

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--text);
}

.site-header .nav-home {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding-block: 88px;
}

.eyebrow,
.section-heading > p,
.work-type {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 9vw, 138px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.hero-role {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.24;
}

.hero-summary {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
}

.hero-actions,
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 210px;
  gap: 28px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.button.primary {
  border-color: #d4ae5f;
  color: #17130b;
  background: linear-gradient(135deg, #f3dfac, #c9963a);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.025);
}

.portrait-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.78));
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.8) contrast(1.04);
}

.portrait-card figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.portrait-card figcaption span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.portrait-card figcaption small {
  max-width: 150px;
  color: #cbc6ba;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-align: right;
  text-transform: uppercase;
}

.identity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-strip > div {
  min-height: 124px;
  padding: 28px clamp(20px, 3vw, 48px);
  border-right: 1px solid var(--line);
}

.identity-strip > div:last-child {
  border-right: 0;
}

.identity-strip span,
.reference-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 400;
}

.section {
  padding-block: clamp(90px, 12vw, 170px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 930px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading em {
  color: var(--gold-soft);
  font-weight: 400;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-grid article {
  position: relative;
  display: flex;
  min-height: 620px;
  flex-direction: column;
  padding: 34px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.work-grid article:last-child {
  border-right: 0;
}

.work-index {
  margin-bottom: 82px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.work-grid h3 {
  min-height: 104px;
  margin: 18px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2.6vw, 39px);
  font-weight: 400;
  line-height: 1.1;
}

.work-grid article > p:not(.work-type) {
  margin: 0;
  color: var(--muted);
}

.work-grid ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.work-grid li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #d4d0c6;
  font-size: 13px;
}

.card-links {
  margin-top: auto;
  padding-top: 40px;
}

.card-links a {
  color: var(--gold-soft);
  font-size: 13px;
}

.public-identity {
  border-top: 1px solid var(--line);
}

.identity-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.identity-copy {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.5vw, 34px);
  line-height: 1.4;
}

.identity-copy p {
  margin: 0;
}

.identity-copy strong {
  color: var(--text);
  font-weight: 400;
}

.reference-list {
  border-top: 1px solid var(--line);
}

.reference-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 180ms ease, color 180ms ease;
}

.reference-list a:hover,
.reference-list a:focus-visible {
  padding-left: 10px;
  color: var(--gold-soft);
}

.reference-list span {
  margin: 0;
}

.reference-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  text-align: right;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding: 54px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #050505;
}

footer > div:first-child {
  display: flex;
  flex-direction: column;
}

footer > div:first-child strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

footer > div:first-child span,
footer p {
  color: var(--muted);
  font-size: 12px;
}

footer > div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: start;
  font-size: 13px;
}

footer p {
  grid-column: 1 / -1;
  margin: 20px 0 0;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header nav a:not(.nav-home) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
  }

  .portrait-card {
    width: min(100%, 560px);
  }

  .identity-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .identity-strip > div:nth-child(2) {
    border-right: 0;
  }

  .identity-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-grid article:last-child {
    border-bottom: 0;
  }

  .work-index {
    margin-bottom: 46px;
  }

  .work-grid h3 {
    min-height: auto;
  }

  .card-links {
    margin-top: 30px;
    padding-top: 0;
  }

  .identity-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .site-header .nav-home {
    padding: 8px 12px;
    font-size: 11px;
  }

  .hero {
    gap: 52px;
    padding-block: 70px;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 88px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .portrait-card figcaption {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

  .portrait-card figcaption small {
    text-align: left;
  }

  .identity-strip {
    grid-template-columns: 1fr;
  }

  .identity-strip > div,
  .identity-strip > div:nth-child(2) {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .identity-strip > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 88px;
  }

  .work-grid article {
    padding: 26px 20px;
  }

  .reference-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .reference-list strong {
    text-align: left;
  }

  footer {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  footer > div:nth-child(2) {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
