:root {
  --ink: #090908;
  --charcoal: #0f0e0c;
  --graphite: #17140f;
  --panel: #211d16;
  --ivory: #fbf2e2;
  --paper: #eee0c8;
  --muted: #d8c9ae;
  --soft: #b9aa91;
  --bronze: #a8793e;
  --gold: #d8b36f;
  --ember: #5f361c;
  --line: rgba(244, 234, 215, 0.14);
  --paper-line: rgba(38, 27, 16, 0.16);
  --shadow: rgba(0, 0, 0, 0.52);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: Inter, "Neue Haas Grotesk Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(168, 121, 62, 0.13), transparent 31rem),
    linear-gradient(180deg, #080807 0%, #0e0d0b 100%);
  color: var(--ivory);
  font-family: var(--sans);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ivory);
  color: var(--ink);
  padding: 0.65rem 1rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  min-height: 82px;
  padding: 0 clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(9, 9, 8, 0.86), rgba(9, 9, 8, 0));
  transition: background 0.36s ease, border-color 0.36s ease, min-height 0.36s ease, box-shadow 0.36s ease;
}

.site-header.scrolled {
  min-height: 68px;
  border-color: var(--line);
  background: rgba(9, 9, 8, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px) saturate(120%);
}

.brand {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  text-decoration: none;
  letter-spacing: 0;
  color: var(--ivory);
  text-shadow: 0 1px 28px rgba(214, 179, 111, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(0.7rem, 1.25vw, 1.45rem);
}

.site-nav a {
  color: rgba(244, 234, 215, 0.82);
  position: relative;
  flex: 0 0 auto;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.28s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.48rem;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 234, 215, 0.07);
  color: var(--ivory);
  backdrop-filter: blur(12px);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  max-width: 100%;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: var(--hero-image, url("public/assets/images/duke-hero-photo.jpg"));
  background-size: cover;
  background-position: 58% center;
  transform: scale(1.045);
  filter: saturate(0.86) contrast(1.08) brightness(0.86);
  animation: heroDrift 18s ease-out forwards;
}

.hero-shade {
  background:
    radial-gradient(circle at 24% 49%, rgba(214, 179, 111, 0.09), transparent 25rem),
    linear-gradient(to bottom, rgba(9, 9, 8, 0.24), rgba(9, 9, 8, 0.36) 42%, rgba(9, 9, 8, 0.98) 96%),
    linear-gradient(to right, rgba(9, 9, 8, 0.96), rgba(9, 9, 8, 0.62) 42%, rgba(9, 9, 8, 0.76));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 28vh;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  padding: clamp(6.5rem, 16vh, 10rem) clamp(0.2rem, 3vw, 2.5rem) clamp(6.4rem, 14vh, 9rem);
}

.kicker,
.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.hero .kicker {
  max-width: min(100%, 34rem);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(4.15rem, 9.4vw, 9.8rem);
  line-height: 0.95;
  text-shadow: 0 18px 68px rgba(0, 0, 0, 0.44);
  text-wrap: balance;
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.85rem, 6.2vw, 6.25rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

h4 {
  font-size: 1.55rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-copy {
  max-width: 690px;
  margin-top: 1.35rem;
  color: rgba(251, 242, 226, 0.92);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.45vw, 2.38rem);
  line-height: 1.22;
}

.hero-actions,
.work-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2.45rem;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0.82rem 1.22rem;
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(214, 177, 109, 0.9);
  background: linear-gradient(135deg, #e5c37d, #b98645);
  color: #16110a;
  box-shadow: 0 16px 44px rgba(130, 84, 37, 0.24);
}

.button.ghost {
  border-color: rgba(244, 234, 215, 0.24);
  background: rgba(244, 234, 215, 0.055);
  backdrop-filter: blur(14px);
}

.button.small {
  min-height: 42px;
  margin-top: 1.3rem;
}

.scroll-cue {
  position: absolute;
  right: clamp(1.2rem, 5vw, 4.5rem);
  bottom: 3rem;
  z-index: 1;
  color: var(--soft);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  position: relative;
  max-width: 100%;
  padding: clamp(6.5rem, 11vw, 12rem) 0;
  background:
    linear-gradient(180deg, #f3e7d2 0%, #e8d5b9 100%);
  color: #15120e;
  overflow: hidden;
}

.section-dark {
  background:
    radial-gradient(circle at 20% 10%, rgba(95, 54, 28, 0.22), transparent 34rem),
    linear-gradient(180deg, #090908 0%, #13100d 52%, #090908 100%);
  color: var(--ivory);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 18, 14, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(21, 18, 14, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  pointer-events: none;
}

.section-dark::before {
  background:
    linear-gradient(90deg, rgba(244, 234, 215, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(244, 234, 215, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.8rem, 8vw, 8rem);
  align-items: start;
}

.page-section:not(.section-dark) p {
  color: #4f4436;
}

.narrow p,
.bio-content p,
.section-subtitle {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.86;
}

.work-row span {
  display: block;
  color: #835929;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.page-section {
  border-top: 1px solid rgba(21, 18, 14, 0.12);
}

.section-dark.page-section {
  border-color: var(--line);
}

#about {
  padding: clamp(5.2rem, 8vw, 8.5rem) 0;
}

#about .two-column {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.3rem, 6vw, 6rem);
}

#about .bio-content p {
  line-height: 1.72;
}

#about .section-heading h2 {
  max-width: none;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.section-heading {
  max-width: 920px;
  margin-bottom: clamp(2.8rem, 6vw, 5.2rem);
}

.section-heading h2 + p {
  color: inherit;
}

.section-heading p:last-child {
  max-width: 780px;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.38rem, 2.2vw, 2.05rem);
  line-height: 1.32;
}

.section-dark .section-heading p:last-child,
.section-dark p {
  color: #d9cbb2;
}

.narrow {
  max-width: 820px;
  margin-bottom: clamp(4rem, 7vw, 6.25rem);
}

.subsection-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 0.45rem;
}

.subsection-title p {
  max-width: 420px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(0.95rem, 1.6vw, 1.35rem);
  padding: 0.25rem 0 0;
}

.project-card,
.text-panel,
.contact-card {
  background: rgba(255, 252, 244, 0.5);
  border: 1px solid rgba(38, 27, 16, 0.14);
  box-shadow: 0 22px 72px rgba(40, 25, 12, 0.08);
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 510px;
  flex-direction: column;
  padding: clamp(0.78rem, 1.2vw, 1rem);
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.72), rgba(225, 207, 177, 0.38));
  transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 121, 62, 0.38);
  box-shadow: 0 34px 92px rgba(40, 25, 12, 0.16);
}

.poster-slot,
.video-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(21, 18, 14, 0.16);
  background:
    radial-gradient(circle at 28% 18%, rgba(244, 234, 215, 0.28), transparent 8rem),
    linear-gradient(145deg, rgba(21, 18, 14, 0.72), rgba(182, 138, 76, 0.28)),
    #2a2117;
  color: rgba(21, 18, 14, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
}

.poster-slot.has-image,
.video-slot.has-image,
.about-photo-slot.has-image {
  padding: 0;
}

.poster-slot.has-image span,
.about-photo-slot.has-image span {
  display: none;
}

.poster-slot img,
.video-slot img,
.about-photo-slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.poster-slot {
  aspect-ratio: 4 / 5;
  color: rgba(244, 234, 215, 0.64);
  box-shadow: inset 0 0 0 1px rgba(244, 234, 215, 0.05), inset 0 -90px 120px rgba(0, 0, 0, 0.28);
}

.project-card .meta {
  margin: 0.55rem 0 0.75rem;
  color: #866031;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-credit {
  margin: 0.55rem 0 -0.15rem;
  color: #5b4630;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-detail {
  margin: -0.25rem 0 0.8rem;
  color: #76542a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card p:not(.meta):not(.project-credit):not(.project-detail) {
  margin-bottom: 1.15rem;
}

.project-card h4,
.video-card h3,
.work-row h3,
.contact-card h3,
.credit-list h3 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

.project-card a,
.work-actions a,
.social-links a,
.site-footer a {
  color: #7b5527;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.24s ease, border-color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.project-card a {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(38, 27, 16, 0.12);
}

.project-card a:hover,
.project-card a:focus-visible,
.work-actions a:hover,
.work-actions a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: #17130e;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
  width: min(100%, 620px);
  margin: clamp(4rem, 7vw, 6rem) auto 0;
}

.text-panel {
  min-height: 230px;
  padding: clamp(1.7rem, 3vw, 2.6rem);
}

.accent-panel {
  background:
    radial-gradient(circle at 80% 10%, rgba(214, 179, 111, 0.2), transparent 11rem),
    linear-gradient(145deg, #2b2116, #11100e);
  border-color: rgba(182, 138, 76, 0.45);
}

.accent-panel h3,
.accent-panel p {
  color: #eadabd;
}

.accent-panel h3 {
  color: var(--ivory);
}

#film .accent-panel p {
  color: #eadabd;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
}

.video-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(244, 234, 215, 0.06), rgba(244, 234, 215, 0.025));
  padding: 1rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 177, 109, 0.36);
  background:
    linear-gradient(180deg, rgba(244, 234, 215, 0.075), rgba(244, 234, 215, 0.032));
}

.video-slot {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 32% 22%, rgba(214, 179, 111, 0.17), transparent 10rem),
    linear-gradient(145deg, rgba(9, 9, 8, 0.94), rgba(182, 138, 76, 0.2)),
    var(--graphite);
  border-color: var(--line);
  color: rgba(244, 234, 215, 0.42);
  text-decoration: none;
}

.video-slot.has-embed {
  padding: 0;
}

.video-slot.has-embed::before,
.video-slot.has-image::before {
  display: none;
}

.video-slot iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-slot::before {
  content: "";
  width: 56px;
  height: 56px;
  border: 1px solid rgba(214, 177, 109, 0.62);
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 39%, rgba(214, 177, 109, 0.85) 40% 58%, transparent 59%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: scale(0.44);
}

.video-card h3 {
  margin-top: 1.15rem;
  line-height: 1.05;
}

.video-card p {
  margin-top: 0.45rem;
  color: #d5c6ab;
}

.works-list {
  border-top: 1px solid rgba(21, 18, 14, 0.16);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 1.5rem;
  min-height: 148px;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(21, 18, 14, 0.14);
  background: transparent;
  transition: padding-left 0.28s ease, border-color 0.28s ease;
}

.work-row:hover {
  padding-left: 1rem;
  border-color: rgba(168, 121, 62, 0.42);
}

.work-row h3 {
  color: #17130e;
}

.work-row p {
  max-width: 720px;
  margin-top: 0.55rem;
  font-size: 0.98rem;
  line-height: 1.62;
}

.work-actions {
  min-width: 0;
  justify-content: flex-end;
}

.work-actions a,
.social-links a {
  max-width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 18, 14, 0.14);
  padding: 0.62rem 0.92rem;
  text-align: center;
  white-space: nowrap;
}

.work-actions a:hover,
.work-actions a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(168, 121, 62, 0.42);
  background: rgba(168, 121, 62, 0.08);
}

.catalogue-note {
  width: min(1180px, calc(100% - 2rem));
  margin: 2.7rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.25;
  color: #221b12;
}

.bio-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;
}

.bio-content h3:first-child {
  margin-top: 0;
}

.bio-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0.1rem;
}

.bio-facts span {
  border: 1px solid rgba(214, 177, 109, 0.24);
  padding: 0.5rem 0.68rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
  margin-top: clamp(2.4rem, 5vw, 4rem);
}

.about-photo {
  margin: 0;
}

.about-photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(230px, 28vw, 390px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(214, 179, 111, 0.13), transparent 13rem),
    linear-gradient(145deg, rgba(244, 234, 215, 0.07), rgba(244, 234, 215, 0.02)),
    var(--graphite);
  color: rgba(244, 234, 215, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  overflow: hidden;
  text-transform: uppercase;
}

.about-photo figcaption {
  margin-top: 0.75rem;
  color: #c8b99f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline {
  margin-top: clamp(3rem, 5.5vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  background: var(--line);
}

.timeline li {
  min-height: 170px;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(244, 234, 215, 0.045), rgba(244, 234, 215, 0.018)),
    var(--ink);
  color: var(--muted);
}

.timeline span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-weight: 800;
}

.credits-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.15rem);
}

.credit-list {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
  background: rgba(244, 234, 215, 0.018);
  padding-inline: 0.2rem;
}

.credit-list ul {
  padding-left: 1rem;
  margin: 1rem 0 0;
  color: #d3c4aa;
}

.credit-list li + li {
  margin-top: 0.55rem;
}

.credit-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.24s ease;
}

.credit-list a:hover,
.credit-list a:focus-visible {
  color: var(--gold);
}

.contact .section-heading {
  text-align: center;
}

.contact .section-heading p {
  margin-left: auto;
  margin-right: auto;
}

.contact-button {
  margin-top: 1.9rem;
}

.contact-card {
  min-width: 0;
  min-height: 250px;
  padding: 1.65rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.66), rgba(229, 211, 180, 0.42));
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 121, 62, 0.32);
}

.contact-card h3 {
  color: #17130e;
  margin-bottom: 0.8rem;
}

.social-links {
  justify-content: center;
  margin-top: 2.6rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.65rem clamp(1.2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.site-footer p {
  color: #c2b39a;
}

.site-footer a {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-grid .reveal:nth-child(2),
.video-grid .reveal:nth-child(2),
.credits-grid .reveal:nth-child(2),
.contact-grid .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.project-grid .reveal:nth-child(3),
.video-grid .reveal:nth-child(3),
.credits-grid .reveal:nth-child(3),
.contact-grid .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.project-grid .reveal:nth-child(4),
.video-grid .reveal:nth-child(4),
.credits-grid .reveal:nth-child(4),
.contact-grid .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.project-grid .reveal:nth-child(5),
.video-grid .reveal:nth-child(5),
.credits-grid .reveal:nth-child(5) {
  transition-delay: 0.24s;
}

.video-grid .reveal:nth-child(6) {
  transition-delay: 0.3s;
}

@keyframes heroDrift {
  from {
    transform: scale(1.065) translateY(0);
  }

  to {
    transform: scale(1.025) translateY(-0.7%);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }

  .hero-media {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 12;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 11;
    display: grid;
    align-content: end;
    justify-items: start;
    gap: 0.75rem;
    padding: 7rem 8vw 4.5rem;
    background:
      radial-gradient(circle at 80% 12%, rgba(168, 121, 62, 0.2), transparent 22rem),
      linear-gradient(180deg, rgba(9, 9, 8, 0.98), rgba(18, 14, 10, 0.98));
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    font-family: var(--serif);
    width: 100%;
    border-bottom: 1px solid rgba(244, 234, 215, 0.1);
    padding: 0.38rem 0 0.62rem;
    font-size: clamp(2.25rem, 8vw, 4.1rem);
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    white-space: normal;
  }

  .site-nav a::after {
    display: none;
  }

  .two-column,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  #about .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #about .section-heading {
    margin-bottom: 0;
  }

  h2 {
    max-width: 14ch;
  }

  .timeline ol,
  .about-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .work-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .work-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    padding: 0 1rem;
    min-height: 68px;
  }

  .site-header.scrolled {
    min-height: 62px;
  }

  .brand {
    font-size: 1.32rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    width: 100%;
    padding: 12vh 1.15rem 5.2rem;
  }

  .hero-media {
    background-position: 57% center;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 35% 50%, rgba(214, 179, 111, 0.08), transparent 16rem),
      linear-gradient(to bottom, rgba(9, 9, 8, 0.34), rgba(9, 9, 8, 0.72) 48%, rgba(9, 9, 8, 0.98) 95%),
      linear-gradient(to right, rgba(9, 9, 8, 0.96), rgba(9, 9, 8, 0.68));
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5.8rem);
    line-height: 0.98;
  }

  h2 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 11.5vw, 4.5rem);
  }

  h3 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .kicker,
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.17em;
    overflow-wrap: break-word;
  }

  .hero .kicker {
    max-width: 22rem;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    overflow-wrap: normal;
  }

  .hero-copy {
    max-width: 15em;
    font-size: clamp(1.35rem, 6vw, 1.95rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
    margin-top: 2.1rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 1rem;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: clamp(5.2rem, 20vw, 7.2rem) 0;
  }

  .section-inner {
    width: min(100% - 1.6rem, 1180px);
  }

  .two-column {
    gap: 2.1rem;
  }

  #about {
    padding: clamp(4.8rem, 17vw, 6.6rem) 0;
  }

  #about .two-column {
    gap: 1.45rem;
  }

  #about .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2.8rem, 10vw, 4rem);
    line-height: 0.98;
  }

  .section-heading {
    margin-bottom: 2.6rem;
  }

  .section-heading p:last-child {
    font-size: 1.35rem;
  }

  .narrow p,
  .bio-content p,
  .section-subtitle {
    font-size: 1.03rem;
    line-height: 1.78;
  }

  .video-grid,
  .timeline ol,
  .credits-grid,
  .contact-grid,
  .about-photo-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-grid {
    margin-top: 2.6rem;
  }

  .about-photo-slot {
    min-height: auto;
    aspect-ratio: 16 / 11;
  }

  .about-photo:first-child .about-photo-slot {
    aspect-ratio: 4 / 5;
  }

  .text-panel,
  .contact-card {
    min-height: auto;
    padding: 1.35rem;
  }

  .work-row span {
    margin-bottom: 1.5rem;
  }

  .subsection-title {
    align-items: start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    overflow: visible;
    padding: 0;
  }

  .project-card {
    min-height: auto;
    padding: 0.78rem;
  }

  .poster-slot {
    aspect-ratio: 16 / 11;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    min-height: auto;
    padding: 1.5rem 0;
  }

  .work-row:hover {
    padding-left: 0;
  }

  .work-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
  }

  .work-row p {
    font-size: 0.94rem;
  }

  .bio-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .work-actions a,
  .social-links a {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
    padding-inline: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    white-space: normal;
  }

  .video-card {
    padding: 0.78rem;
  }

  .timeline li {
    min-height: auto;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero-content {
    padding-top: 10vh;
  }

  h1 {
    font-size: clamp(3rem, 14.2vw, 4.15rem);
  }

  .hero-copy {
    font-size: clamp(1.24rem, 5.9vw, 1.62rem);
  }

  .site-nav {
    padding-inline: 1.15rem;
  }

  .site-nav a {
    font-size: clamp(2rem, 12vw, 3rem);
  }

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

}
