@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/CormorantGaramond.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/CormorantGaramond-Italic.woff2") format("woff2");
}

:root {
  --ink: #0c0c0c;
  --ink-soft: #4a4a4a;
  --muted: #8d8a82;
  --line: #e5e2db;
  --bg: #fbfaf6;
  --bg-tone: #efece4;
  --bg-dark: #181818;
  --max: 1240px;
  --gutter: 44px;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --sans: "InterVariable", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: color .2s, border-color .2s; }
a:hover { color: var(--ink-soft); }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.hero :focus-visible,
.foot.dark :focus-visible {
  outline-color: var(--bg);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
  color: var(--bg);
}

/* ---------------------------------------------------------
   NAV
   --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--gutter);
  background: rgba(251, 250, 246, 0.78);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, padding .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav .brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav ul { display: flex; gap: 32px; list-style: none; }
.nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); }

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */
.hero {
  min-height: max(960px, 100vh);
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svg-defs { position: absolute; }

.hero-portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 940px;
  z-index: 1;
  pointer-events: none;
}
.hero-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left top;
  filter: grayscale(100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(60px, 10vh, 100px);
  width: 100%;
}
.hero-content > .kicker { max-width: 820px; }
.hero-content .kicker {
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 22px;
  font-weight: 500;
}
.hero-content .kicker a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom: none;
  transition: color .2s;
}
.hero-content .kicker a:hover {
  color: #fff;
}
.hero-content h1 {
  font-family: var(--sans);
  font-size: clamp(54px, 9.4vw, 130px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: -0.78em;
  margin-bottom: 28px;
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
}
.hero-content h1 .name-word {
  white-space: nowrap;
}
.hero-content h1 .i-below {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
.hero-content h1 .i-below::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.064em;
  transform: translateX(-50%);
  width: 0.12em;
  height: 0.12em;
  background: currentColor;
  border-radius: 50%;
}
.hero-content .role {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 30px);
  color: rgba(255, 255, 255, 0.95);
  max-width: 820px;
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
}

.nav:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav:not(.scrolled) .brand,
.nav:not(.scrolled) a {
  color: rgba(255, 255, 255, 0.85);
}
.nav:not(.scrolled) a:hover { color: #fff; }

/* ---------------------------------------------------------
   SECTION FRAME
   --------------------------------------------------------- */
section.block,
.oo-head {
  padding: 120px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.oo-head { padding-bottom: 8px; }

.eyebrow {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
}
.oo-head .eyebrow { margin-bottom: 0; }

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink);
  line-height: 1.7;
  max-width: 760px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.lead a { border-bottom: 1px solid var(--line); }
.lead a:hover { border-bottom-color: var(--ink); }
.lead + .lead { margin-top: 18px; }

.about-text {
  width: 100%;
}
.about-text .lead {
  max-width: none;
  margin-top: 0;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.75;
}
.about-text .lead + .lead { margin-top: 22px; }

/* ---------------------------------------------------------
   INTERLUDE
   --------------------------------------------------------- */
.interlude {
  position: relative;
  width: 100%;
  height: 73vh;
  min-height: 462px;
  max-height: 847px;
  overflow: hidden;
}
.interlude img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.interlude.carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.interlude.carousel img.active { opacity: 1; }
.interlude.fade-edges::before,
.interlude.fade-edges::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14%;
  pointer-events: none;
  z-index: 1;
}
.interlude.fade-edges::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(251,250,246,0) 100%);
}
.interlude.fade-edges::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(251,250,246,0) 100%);
}
.interlude.fade-edges.fade-bot-dark::after {
  background: linear-gradient(to top, var(--bg-dark) 0%, rgba(24,24,24,0) 100%);
}

/* ---------------------------------------------------------
   PUBLICATIONS / PROJECTS LIST
   --------------------------------------------------------- */
.list { margin-top: 36px; }
.list-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.list-item:first-child { border-top: 1px solid var(--line); }
.list-item .stamp {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.list-item .text {
  font-size: 15.5px;
  line-height: 1.55;
}
.list-item .text .pt {
  font-weight: 500;
  color: var(--ink);
}
.list-item .text .src {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.list-item .text .src a { border-bottom: 1px solid var(--line); }
.list-item .text .src a:hover { border-bottom-color: var(--ink); }
.list-item .actions { display: flex; gap: 8px; align-items: center; }
.btn-pdf {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  color: var(--ink);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.btn-pdf:hover { background: var(--ink); color: #fff; }
.lock {
  width: 12px;
  height: 12px;
  color: var(--muted);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  margin-left: 6px;
  vertical-align: -1px;
}
.subhead {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 64px 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
footer.foot {
  border-top: 1px solid var(--line);
  padding: 32px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
footer.foot .foot-mark {
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--ink);
  font-size: 12px;
}
footer.foot .foot-mark img {
  display: block;
  height: 13px;
  width: auto;
}
footer.foot .foot-meta {
  text-align: center;
  color: var(--muted);
}
footer.foot .foot-nav {
  text-align: right;
}
footer.foot a { color: var(--muted); }
footer.foot a:hover { color: var(--ink); }

footer.foot.dark {
  background: var(--bg-dark);
  border-top: none;
  color: rgba(255, 255, 255, 0.5);
}
footer.foot.dark .foot-mark { color: var(--bg); }
footer.foot.dark .foot-meta { color: rgba(255, 255, 255, 0.5); }
footer.foot.dark a { color: rgba(255, 255, 255, 0.5); }
footer.foot.dark a:hover { color: var(--bg); }

/* ---------------------------------------------------------
   REVEAL ON SCROLL
   --------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes portrait-fade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}
.hero-portrait img {
  animation: portrait-fade 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-content .kicker {
  animation: hero-rise 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-content h1 {
  animation: hero-rise 1.0s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-content .role {
  animation: hero-rise 1.0s 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* ---------------------------------------------------------
   HONORS PAGE (legacy V1 layout)
   --------------------------------------------------------- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  line-height: 1.7;
}
.container h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
}
.container .back {
  display: inline-block;
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
  font-weight: 500;
}
.container .back:hover { color: #1a1a1a; }
.container .gallery { margin-bottom: 48px; }
.container .gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(100%);
  border-radius: 4px;
}
.container .section { margin-bottom: 48px; }
.container .section h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 8px;
}
.container .entry { margin-bottom: 16px; }
.container .entry .title { font-size: 15px; font-weight: 550; }
.container .entry .title a {
  color: #1a1a1a;
  font-weight: 550;
}
.container .entry .title a:hover { color: #555; }
.container .entry .meta { font-size: 14px; color: #666; }
.container .entry .meta a { color: #666; }
.container .entry .meta a:hover { color: #1a1a1a; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-content h1 { white-space: normal; }
}

@media (max-width: 880px) {
  :root { --gutter: 22px; }
  .nav { padding: 16px var(--gutter); }
  .nav ul { gap: 16px; }
  .nav a, .nav .brand { font-size: 11px; letter-spacing: 0.14em; }

  .hero {
    min-height: 100vh;
    display: block;
    position: relative;
  }
  .hero-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
  }
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: calc(100% - 2 * var(--gutter));
    max-width: 520px;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: clamp(40px, 12vw, 72px);
    white-space: normal;
    margin-bottom: 22px;
    line-height: 0.98;
  }
  .hero-content .kicker {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.26em;
    line-height: 1.5;
  }
  .hero-content .role {
    font-size: clamp(15px, 4.2vw, 19px);
    line-height: 1.45;
  }

  section.block,
  .oo-head { padding: 80px var(--gutter); }
  .oo-head { padding-bottom: 8px; }

  .about-text .lead + .lead { margin-top: 18px; }

  .list-item { grid-template-columns: 1fr; gap: 8px; }
  .list-item .actions { margin-top: 6px; }

  .interlude { height: 53vh; min-height: 339px; }
}

@media (max-width: 520px) {
  .nav .brand { display: none; }
  .nav { justify-content: center; }
  footer.foot {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  footer.foot .foot-mark,
  footer.foot .foot-nav { text-align: center; }
  .container { padding: 40px 20px 60px; }
  .container h1 { font-size: 24px; }
  .container .gallery img { height: 150px; }
}

/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .interlude.carousel img { opacity: 0; }
  .interlude.carousel img.active { opacity: 1; }
}
