:root {
  --ink: #17211c;
  --paper: #f4f1e9;
  --soft: #ded9ce;
  --accent: #cde36a;
  --forest: #203c2d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "DM Sans", sans-serif;
}
img { display: block; width: 100%; }
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 72px);
  color: white;
}
.brand { display: flex; align-items: center; gap: 13px; font-weight: 600; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  font: 500 15px "DM Sans", sans-serif;
  letter-spacing: .08em;
}
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
nav a { text-decoration: none; font-size: .92rem; }
.nav-cta { padding: 10px 17px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; }

.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: white; overflow: hidden; }
.hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,15,10,.82), rgba(8,15,10,.15) 65%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 50%); }
.hero-copy { position: relative; z-index: 1; width: min(760px, 90%); padding: 170px clamp(24px, 8vw, 120px) 10vh; }
.eyebrow, .kicker { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; }
h1, h2 { margin: 0; font-family: "Newsreader", serif; font-weight: 400; line-height: .95; }
h1 { font-size: clamp(4.5rem, 10vw, 9rem); letter-spacing: -.045em; }
.intro { max-width: 580px; margin: 26px 0; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.text-link { display: inline-flex; gap: 18px; align-items: center; color: white; text-underline-offset: 6px; }
.text-link.dark { color: var(--ink); }
.photo-label { position: absolute; z-index: 1; right: clamp(24px, 5vw, 72px); bottom: 32px; max-width: 320px; margin: 0; text-align: right; }
.photo-label strong, .photo-label span { display: block; }
.photo-label strong { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.photo-label span { margin-top: 4px; color: rgba(255,255,255,.72); font-size: .78rem; letter-spacing: 0; }

.statement { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; padding: clamp(80px, 12vw, 170px) clamp(24px, 8vw, 120px); }
.statement-copy { max-width: 1050px; margin: 0; font: 400 clamp(2.2rem, 4.8vw, 5.2rem)/1.06 "Newsreader", serif; letter-spacing: -.025em; }

.work { padding: 0 clamp(24px, 5vw, 72px) clamp(100px, 12vw, 170px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 28px 0; border-top: 1px solid #bdb8ad; }
.section-heading h2, .about h2 { font-size: clamp(3rem, 6vw, 6.6rem); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 42px); }
.photo-card { display: block; text-decoration: none; }
.photo-card img { aspect-ratio: 4/3; object-fit: cover; transition: filter .3s, transform .5s; }
.photo-card.wide img { aspect-ratio: 16/10; }
.photo-card img.focus-tanager { object-fit: contain; background: #e3ded3; }
.photo-card.full { grid-column: 1 / -1; }
.photo-card.full img { aspect-ratio: 16/7; object-position: center 42%; }
.photo-card .photo-title { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0 5px; border-top: 1px solid var(--ink); }
.photo-card strong { font-weight: 500; }
.photo-card em { font-style: normal; color: #667069; font-size: .85rem; }
.photo-card > p { max-width: 580px; min-height: 3em; margin: 0 0 32px; color: #667069; font-size: .9rem; }
.photo-card:hover img { filter: saturate(1.08) contrast(1.03); }

.popular { padding: 0 clamp(24px, 5vw, 72px) clamp(100px, 12vw, 170px); }
.popular-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(3, minmax(220px, 24vw)); gap: 16px; }
.popular-card { position: relative; overflow: hidden; color: white; text-decoration: none; }
.popular-card-large { grid-row: 1 / 4; }
.popular-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,18,12,.7), transparent 48%); }
.popular-card img { height: 100%; object-fit: cover; transition: transform .55s ease; }
.popular-card img.focus-hawk { object-fit: contain; background: #18231d; }
.popular-card span { position: absolute; z-index: 1; inset: auto 22px 20px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.popular-card strong { font: 400 clamp(1.5rem, 2.4vw, 2.8rem)/1 "Newsreader", serif; }
.popular-card em { color: rgba(255,255,255,.75); font-size: .78rem; font-style: normal; text-align: right; }
.popular-card:hover img { transform: scale(1.025); }

.subjects { padding: 0 clamp(24px, 5vw, 72px) clamp(100px, 12vw, 170px); }
.section-note { max-width: 310px; margin: 0; color: #667069; text-align: right; }
.subject-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.subject-card { position: relative; min-height: 430px; overflow: hidden; color: white; text-decoration: none; }
.subject-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,18,12,.82), rgba(9,18,12,.05) 62%); }
.subject-card img { height: 100%; min-height: 430px; object-fit: cover; transition: transform .55s ease; }
.subject-card img.subject-contain { object-fit: contain; background: #26332c; }
.subject-card span { position: absolute; z-index: 1; inset: auto 20px 22px; }
.subject-card strong, .subject-card em { display: block; }
.subject-card strong { font: 400 1.9rem/1 "Newsreader", serif; }
.subject-card em { margin-top: 9px; color: rgba(255,255,255,.75); font-size: .77rem; font-style: normal; line-height: 1.35; }
.subject-card:hover img { transform: scale(1.035); }

.life-list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 150px); padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 120px); color: white; background: var(--forest); }
.life-list-heading { position: sticky; top: 60px; align-self: start; }
.life-list h2 { max-width: 720px; font-size: clamp(3.4rem, 6.5vw, 7rem); }
.life-list-story { max-width: 650px; padding-top: 4px; }
.life-list-story > p { color: rgba(255,255,255,.76); font-size: 1.05rem; }
.life-list-story .story-lead { margin-top: 0; color: white; font: 400 clamp(1.9rem, 3vw, 3.2rem)/1.1 "Newsreader", serif; }
.life-list blockquote { margin: 44px 0; padding: 0 0 0 26px; border-left: 2px solid var(--accent); color: white; font: 400 clamp(1.5rem, 2.5vw, 2.35rem)/1.2 "Newsreader", serif; }
.life-list .button { margin-top: 25px; color: var(--ink); background: var(--accent); }

.about { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--soft); }
.about-image img { height: 100%; min-height: 680px; object-fit: cover; }
.about-copy { align-self: center; padding: clamp(60px, 8vw, 130px); }
.about-copy h2 { margin-bottom: 32px; }
.about-copy > p:not(.kicker) { max-width: 600px; color: #47534b; font-size: 1.05rem; }
.about-links { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 42px; }
.button { display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--forest); color: white; text-decoration: none; }

footer { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 70px clamp(24px, 5vw, 72px) 40px; color: white; background: var(--ink); }
footer > div { display: flex; align-items: center; gap: 14px; }
footer p { margin: 0; color: #b9c2bc; font-size: .82rem; }
.inverse { color: white; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .brand > span:last-child { display: none; }
  nav { gap: 14px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 780px; }
  .hero-copy { padding-bottom: 110px; }
  .statement { grid-template-columns: 1fr; gap: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .gallery, .about, .life-list { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .popular-card, .popular-card-large { grid-row: auto; min-height: 360px; }
  .life-list-heading { position: static; }
  .section-note { text-align: left; }
  .subject-grid { grid-template-columns: 1fr; }
  .subject-card, .subject-card img { min-height: 360px; }
  .photo-card.full { grid-column: auto; }
  .photo-card img, .photo-card.wide img, .photo-card.full img { aspect-ratio: 4/3; }
  .about-image img { min-height: 460px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-card img { transition: none; }
}
