:root {
  --ink: #11151d;
  --ink-soft: #59606d;
  --paper: #f5f2ec;
  --paper-deep: #e9e4db;
  --white: #fffdf9;
  --accent: #6c72ff;
  --accent-ink: #4f55ca;
  --accent-bright: #a7ffcb;
  --orange: #f0a35b;
  --line: rgba(17, 21, 29, .14);
  --radius: 22px;
  --shadow: 0 24px 70px rgba(17, 21, 29, .12);
  --shell: min(1180px, calc(100% - 40px));
  --shell-wide: min(1400px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent-bright); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.shell-wide { width: var(--shell-wide); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; background: var(--white); padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 236, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 21, 29, .08);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 720; letter-spacing: -.02em; }
.brand-mark { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--accent-bright); font-size: 12px; letter-spacing: .05em; }
.brand-name { font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 580; }
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--ink); transition: right .22s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-cta { padding: 10px 17px; border: 1px solid var(--ink); border-radius: 100px; transition: .2s ease; }
.nav-cta:hover { background: var(--ink); color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .2s ease; }

.hero { min-height: calc(100svh - 78px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px, 7vw, 100px); padding-block: clamp(60px, 9vw, 120px); }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 760; color: var(--ink-soft); }
.hero h1, .section-heading h2, .contact-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .99; }
.hero h1 { font-size: clamp(54px, 7vw, 96px); max-width: 820px; }
.hero h1 em { font-weight: 500; color: var(--accent); }
.hero-lede { max-width: 690px; margin: 30px 0 20px; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; color: #343a45; }
.hero-role { margin: 0 0 30px; padding-left: 18px; border-left: 2px solid var(--orange); color: var(--ink-soft); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 100px; font-weight: 690; font-size: 14px; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--accent); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.32); }
.button-secondary:hover { border-color: var(--ink); }
.hero-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; font-size: 13px; font-weight: 650; color: var(--ink-soft); }
.hero-links a:hover { color: var(--accent); }

.hero-visual { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; }
.portrait-frame { position: relative; z-index: 2; width: min(430px, 86%); margin: 0; border-radius: 220px 220px 24px 24px; overflow: hidden; background: #ddd; box-shadow: var(--shadow); }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,15,24,.58), transparent 38%); pointer-events: none; }
.portrait-frame img { width: 100%; height: 585px; object-fit: cover; object-position: center 24%; filter: saturate(.8) contrast(1.04); }
.portrait-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 16px; color: white; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.signal-card { position: absolute; z-index: 4; right: -28px; top: 110px; width: 250px; padding: 14px 14px 8px; border-radius: 16px; background: rgba(255,253,249,.86); border: 1px solid rgba(17,21,29,.1); box-shadow: 0 20px 45px rgba(17,21,29,.13); backdrop-filter: blur(14px); transform: rotate(4deg); }
.signal-card svg { width: 100%; height: auto; }
.signal-label { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.signal-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(108,114,255,.13); }
.grid-line { stroke: rgba(17,21,29,.08); stroke-width: 1; }
.signal { fill: none; stroke-linecap: round; stroke-width: 3; }
.signal-a { stroke: var(--accent); }
.signal-b { stroke: var(--orange); stroke-width: 2; }
.orbit { position: absolute; border: 1px solid rgba(108,114,255,.32); border-radius: 50%; pointer-events: none; }
.orbit::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 8px rgba(167,255,203,.13); }
.orbit-one { width: 530px; height: 530px; transform: rotate(20deg); }
.orbit-one::after { top: 65px; right: 64px; }
.orbit-two { width: 610px; height: 360px; transform: rotate(-18deg); border-color: rgba(240,163,91,.32); }
.orbit-two::after { bottom: 25px; left: 115px; background: var(--orange); }

.topic-strip { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: rgba(255,255,255,.25); }
.topic-track { width: max-content; display: flex; align-items: center; gap: 25px; padding-inline: 26px; animation: drift 35s linear infinite alternate; text-transform: uppercase; font-size: 11px; letter-spacing: .15em; font-weight: 700; color: var(--ink-soft); }
.topic-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes drift { to { transform: translateX(-18%); } }

.section { padding-block: clamp(90px, 11vw, 150px); }
.section-heading { max-width: 870px; margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(44px, 6vw, 76px); }
.section-heading > p:last-of-type { margin: 26px 0 0; max-width: 760px; font-size: 19px; color: var(--ink-soft); }
.research-lab-cta { margin-top: 28px; }
.section-heading-split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading-split > div { max-width: 800px; }
.text-link { flex: 0 0 auto; border-bottom: 1px solid currentColor; padding-bottom: 4px; font-weight: 680; font-size: 14px; }
.text-link:hover { color: var(--accent); }

.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.research-card { position: relative; min-height: 390px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.34); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.research-card:hover { transform: translateY(-5px); border-color: rgba(108,114,255,.45); box-shadow: 0 26px 55px rgba(17,21,29,.08); }
.research-card-featured { grid-column: 1 / -1; min-height: 455px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; background: var(--white); }
.card-index { position: absolute; top: 28px; right: 30px; font-family: Georgia, serif; font-style: italic; color: var(--accent-ink); }
.card-kicker { margin: 0 0 20px; color: var(--accent-ink); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 760; }
.research-card h3 { max-width: 570px; margin: 0 0 22px; font-family: Georgia, serif; font-size: clamp(31px, 4vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.research-card > p, .research-card > div > p { max-width: 650px; color: var(--ink-soft); font-size: 17px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag-row span { border: 1px solid var(--line); border-radius: 100px; padding: 7px 11px; font-size: 11px; font-weight: 650; }
.mini-graphic { position: relative; min-height: 300px; align-self: center; border-radius: 18px; background: var(--ink); overflow: hidden; }
.mini-graphic::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 28px 28px; }
.mini-graphic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-graphic path { fill: none; stroke: var(--accent-bright); stroke-width: 3; stroke-linecap: round; }
.mini-graphic path + path { stroke: var(--orange); stroke-width: 2; }
.node { position: absolute; z-index: 2; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(108,114,255,.16); }
.n1 { left: 16%; top: 59%; }.n2 { left: 45%; top: 46%; }.n3 { right: 21%; top: 28%; }.n4 { right: 10%; bottom: 21%; background: var(--orange); }
.methods { margin-top: 70px; padding-top: 35px; border-top: 1px solid var(--line); }
.method-list { display: flex; flex-wrap: wrap; gap: 10px; }
.method-list span { padding: 10px 14px; border-radius: 7px; background: var(--paper-deep); font-size: 13px; font-weight: 610; }
.research-explainer { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(34px, 6vw, 82px); align-items: center; margin: 72px 0 0; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.research-explainer-copy h3 { max-width: 520px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3.5vw, 43px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.research-explainer-copy > p:last-child { max-width: 520px; margin: 20px 0 0; color: var(--ink-soft); line-height: 1.65; }
.research-explainer-diagram { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 12px; }
.signal-path { min-width: 0; display: grid; gap: 10px; padding: 20px; border-radius: 14px; background: var(--paper-deep); }
.signal-path-label { color: var(--ink-soft); font-size: 10px; font-weight: 760; text-transform: uppercase; letter-spacing: .12em; }
.signal-path svg { width: 100%; height: auto; }
.signal-path path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.signal-path:last-child path { stroke: var(--orange); }
.signal-path strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.signal-path-divider { color: var(--accent-ink); font-family: Georgia, "Times New Roman", serif; font-size: 28px; text-align: center; }
.research-explainer figcaption { grid-column: 2; margin-top: -56px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }

.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--accent-bright); }
.section-dark .section-heading h2 { max-width: 780px; }
.section-dark .text-link:hover { color: var(--accent-bright); }
.publication-list { border-top: 1px solid rgba(255,255,255,.18); }
.publication { display: grid; grid-template-columns: 100px 1fr 40px; gap: 30px; align-items: center; padding: 32px 8px; border-bottom: 1px solid rgba(255,255,255,.18); transition: padding .25s ease, background .25s ease; }
.publication:hover { padding-inline: 20px; background: rgba(255,255,255,.04); }
.pub-year { color: var(--accent-bright); font-size: 13px; font-weight: 760; }
.pub-body { display: grid; gap: 8px; }
.pub-body strong { font-family: Georgia, serif; font-size: clamp(22px, 3vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.pub-body > span { color: rgba(255,255,255,.6); font-size: 13px; }
.pub-body > .pub-finding { max-width: 760px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.55; }
.pub-arrow { justify-self: end; font-size: 24px; color: var(--accent-bright); }

.journey-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); }
.journey-quote { position: sticky; top: 130px; align-self: start; }
.journey-quote blockquote { margin: 0 0 28px; font-family: Georgia, serif; font-size: clamp(29px, 4vw, 45px); line-height: 1.15; letter-spacing: -.025em; }
.journey-quote p { color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--accent-ink); font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.timeline div { display: grid; gap: 5px; }
.timeline strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.timeline span { color: var(--ink-soft); font-size: 14px; }

.photography { background: var(--paper-deep); overflow: hidden; }
.photo-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 14px; }
.photo { position: relative; margin: 0; height: 520px; overflow: hidden; border-radius: 15px; background: #bbb; }
.photo > a { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s ease; filter: saturate(.78); }
.photo:hover img { transform: scale(1.04); filter: saturate(1); }
.photo figcaption { position: absolute; left: 18px; bottom: 16px; padding: 7px 11px; border-radius: 100px; background: rgba(17,21,29,.64); color: white; backdrop-filter: blur(8px); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; pointer-events: none; }

.contact-section { background: var(--paper); padding-top: 80px; }
.contact-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; padding: clamp(42px, 7vw, 90px); border-radius: 30px; background: var(--accent-ink); color: var(--white); overflow: hidden; position: relative; }
.contact-card::after { content: ""; position: absolute; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; right: -180px; top: -190px; box-shadow: 0 0 0 70px rgba(255,255,255,.04), 0 0 0 140px rgba(255,255,255,.03); }
.contact-card .eyebrow { color: var(--accent-bright); }
.contact-card h2 { position: relative; z-index: 1; font-size: clamp(42px, 6vw, 72px); }
.contact-actions { position: relative; z-index: 2; }
.button-light { width: 100%; background: var(--white); color: var(--ink); }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 22px; font-size: 12px; font-weight: 680; }
.social-links a:hover { color: var(--accent-bright); }

.site-footer { padding: 34px 0 45px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 11px; color: var(--ink-soft); }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--ink); font-weight: 700; }

.not-found { min-height: calc(100svh - 157px); display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(40px, 8vw, 110px); padding-block: clamp(70px, 10vw, 130px); }
.not-found h1 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 106px); font-weight: 500; line-height: .92; letter-spacing: -.05em; }
.not-found-copy > p:not(.eyebrow) { max-width: 560px; margin: 28px 0; color: var(--ink-soft); font-size: 18px; line-height: 1.6; }
.not-found-signal { align-self: stretch; display: grid; place-items: center; min-height: 360px; border-radius: var(--radius); background: var(--ink); overflow: hidden; }
.not-found-signal svg { width: 118%; height: auto; }
.not-found-signal path { fill: none; stroke: var(--accent-bright); stroke-width: 3; stroke-linecap: round; }
.not-found-signal circle { fill: var(--orange); }

.reveal,
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 850px; }
  .hero-visual { min-height: 650px; }
  .portrait-frame { width: min(470px, 80%); }
  .signal-card { right: 6%; }
  .research-card-featured { grid-template-columns: 1fr; }
  .mini-graphic { min-height: 280px; }
  .journey-layout { grid-template-columns: 1fr; }
  .journey-quote { position: static; max-width: 720px; }
  .photo-grid { grid-template-columns: 1.2fr .8fr; }
  .photo:last-child { grid-column: 1 / -1; height: 440px; }
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .contact-actions { max-width: 420px; }
}

@media (max-width: 900px) {
  .nav { min-height: 68px; }
  .brand { flex: 0 0 auto; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-130%);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { padding-left: 12px; box-shadow: inset 3px 0 0 var(--accent); }
  .nav-cta { margin-top: 10px; text-align: center; border-bottom: 1px solid var(--ink) !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); --shell-wide: min(100% - 20px, 1400px); }
  .hero { padding-block: 55px 80px; }
  .hero h1 { font-size: clamp(47px, 15vw, 72px); }
  .hero-visual { min-height: 535px; overflow: clip; }
  .portrait-frame { width: 88%; }
  .portrait-frame img { height: 500px; }
  .signal-card { display: none; }
  .orbit-one { width: 420px; height: 420px; }
  .orbit-two { width: 500px; height: 300px; }
  .portrait-caption { left: 18px; right: 18px; bottom: 16px; flex-direction: column; gap: 3px; font-size: 9px; }
  .section-heading-split { display: grid; align-items: start; }
  .research-grid { grid-template-columns: 1fr; }
  .research-explainer { grid-template-columns: 1fr; margin-top: 50px; }
  .research-explainer-diagram { grid-template-columns: 1fr; }
  .signal-path-divider { transform: rotate(90deg); }
  .research-explainer figcaption { grid-column: 1; margin-top: 0; }
  .research-card-featured { grid-column: auto; }
  .research-card { min-height: auto; padding: 28px 24px; }
  .publication { grid-template-columns: 58px 1fr 24px; gap: 15px; padding: 25px 2px; }
  .pub-body strong { font-size: 23px; }
  .pub-body > span { font-size: 11px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; }
  .photo-grid { grid-template-columns: 1fr; }
  .not-found { min-height: auto; grid-template-columns: 1fr; padding-block: 54px 80px; }
  .not-found-signal { min-height: 240px; }
  .photo, .photo:last-child { grid-column: auto; height: 430px; }
  .photo-wide { height: 330px; }
  .contact-card { padding: 38px 25px; border-radius: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* About page */
.nav-links a[aria-current="page"]::after { right: 0; }
.journey-link { display: inline-block; margin-top: 18px; }
.about-hero { min-height: 720px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(50px, 8vw, 120px); padding-block: clamp(75px, 10vw, 135px); }
.about-hero h1 { max-width: 820px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(62px, 8.2vw, 116px); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.about-deck { max-width: 690px; margin: 32px 0 0; color: var(--ink-soft); font-size: clamp(19px, 2.2vw, 27px); line-height: 1.45; }
.about-portrait { position: relative; margin: 0; }
.about-portrait::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: -18%; bottom: -12%; border: 1px solid rgba(108,114,255,.38); border-radius: 50%; box-shadow: 0 0 0 55px rgba(108,114,255,.055), 0 0 0 110px rgba(240,163,91,.04); }
.about-portrait img { position: relative; width: 100%; height: 590px; object-fit: cover; object-position: center 24%; border-radius: 260px 260px 24px 24px; filter: saturate(.78) contrast(1.03); box-shadow: var(--shadow); }
.about-portrait figcaption { position: relative; margin-top: 15px; color: var(--ink-soft); font-size: 10px; text-align: right; text-transform: uppercase; letter-spacing: .14em; }
.about-story { padding-block: clamp(95px, 12vw, 165px); }
.about-story-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 9vw, 135px); align-items: start; }
.about-thesis { position: sticky; top: 125px; }
.about-thesis .eyebrow { color: var(--accent-bright); }
.about-thesis blockquote { margin: 0 0 25px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.about-thesis > p:last-child { max-width: 400px; color: rgba(255,255,255,.64); font-size: 15px; }
.about-prose { max-width: 760px; }
.about-prose p { margin: 0 0 1.55em; color: rgba(255,255,255,.82); font-family: Georgia, "Times New Roman", serif; font-size: clamp(19px, 2vw, 24px); line-height: 1.72; }
.about-prose .lead-paragraph { color: var(--white); font-size: clamp(25px, 3vw, 36px); line-height: 1.48; letter-spacing: -.018em; }
.about-prose .lead-paragraph::first-letter { float: left; margin: .12em .12em 0 0; color: var(--accent-bright); font-size: 3.7em; line-height: .72; }
.prose-callout { margin: 55px 0; padding: 35px 0 35px 34px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); border-left: 3px solid var(--orange); }
.prose-callout p { margin: 0; color: var(--white); font-size: clamp(25px, 3vw, 38px); line-height: 1.42; letter-spacing: -.02em; }
.about-prose .closing-line { color: var(--accent-bright); font-style: italic; }
.favorites-section { background: var(--paper-deep); }
.favorites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.favorite-card { min-height: 390px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,249,.62); }
.favorite-number { margin: 0 0 55px; color: var(--accent); font-family: Georgia, serif; font-style: italic; }
.favorite-card h3 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; letter-spacing: -.035em; }
.favorite-card ul { list-style: none; margin: 0; padding: 0; }
.favorite-card li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; line-height: 1.42; }
.aside-note { font-size: 12px; font-style: italic; }
.about-next { padding-block: clamp(85px, 10vw, 140px); background: var(--paper); }
.about-next-inner { display: grid; grid-template-columns: 1fr auto; gap: 35px 65px; align-items: end; }
.about-next-inner .eyebrow { grid-column: 1 / -1; margin-bottom: -10px; }
.about-next h2 { max-width: 860px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px, 6vw, 78px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }

@media (max-width: 1000px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-copy { max-width: 850px; }
  .about-portrait { width: min(540px, 82%); justify-self: center; }
  .about-story-grid { grid-template-columns: 1fr; }
  .about-thesis { position: static; max-width: 720px; }
  .favorites-grid { grid-template-columns: repeat(2, 1fr); }
  .about-next-inner { grid-template-columns: 1fr; align-items: start; }
  .about-next-inner .eyebrow { grid-column: auto; }
  .about-next .button { justify-self: start; }
}

@media (max-width: 760px) {
  .about-hero { min-height: auto; padding-block: 65px 85px; }
  .about-hero h1 { font-size: clamp(55px, 16vw, 82px); }
  .about-portrait { width: 94%; }
  .about-portrait img { height: 510px; }
  .about-story { padding-block: 85px; }
  .about-prose p { font-size: 19px; line-height: 1.66; }
  .about-prose .lead-paragraph { font-size: 25px; }
  .prose-callout { margin: 42px 0; padding: 28px 0 28px 22px; }
  .prose-callout p { font-size: 25px; }
  .favorites-grid { grid-template-columns: 1fr; }
  .favorite-card { min-height: auto; }
  .favorite-number { margin-bottom: 35px; }
}



/* Media archive — aligned to the site's editorial record grid */
.media-page-simple {
  --media-rail: 112px;
  --media-gap: clamp(30px, 4vw, 52px);
  --media-measure: 980px;
  --media-accent-text: #4f55ca;
  background: var(--paper);
}
.media-page-simple .eyebrow { font-weight: 700; }
.media-simple-hero {
  max-width: var(--media-measure);
  padding-block: clamp(64px, 8vw, 104px) clamp(52px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}
.media-simple-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.2vw, 82px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
}
.media-simple-intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}
.media-simple-list {
  max-width: var(--media-measure);
  padding-block: 24px clamp(52px, 6vw, 72px);
}
.media-simple-item {
  display: grid;
  grid-template-columns: var(--media-rail) minmax(0, 1fr);
  gap: var(--media-gap);
  padding: clamp(36px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.media-simple-item:first-child { border-top: 0; }
.media-simple-item:last-child { border-bottom: 1px solid var(--line); }
.media-simple-date {
  align-self: start;
  padding-top: 4px;
  color: var(--media-accent-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .09em;
}
.media-simple-body { max-width: 816px; min-width: 0; }
.media-simple-source {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.media-simple-body h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.media-simple-guests {
  margin: 11px 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.media-simple-body > p:not(.media-simple-source):not(.media-simple-guests) {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.media-simple-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 22px;
}
.media-simple-links .button { min-height: 44px; padding-inline: 18px; font-size: 12px; font-weight: 700; }
.media-simple-closing {
  padding-block: clamp(64px, 8vw, 88px);
  background: var(--ink);
  color: var(--white);
}
.media-simple-closing-inner { max-width: var(--media-measure); margin-inline: auto; }
.media-simple-closing .eyebrow { color: var(--accent-bright); }
.media-simple-closing-title {
  max-width: 800px;
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.media-simple-closing .text-link { color: var(--accent-bright); }

@media (max-width: 760px) {
  .media-simple-hero { padding-block: 52px 46px; }
  .media-simple-hero h1 { font-size: clamp(46px, 13vw, 52px); line-height: 1; }
  .media-simple-intro { margin-top: 19px; font-size: 16px; line-height: 1.6; }
  .media-simple-list { padding-block: 12px 56px; }
  .media-simple-item { grid-template-columns: 1fr; gap: 8px; padding-block: 32px; }
  .media-simple-date { padding-top: 0; }
  .media-simple-body h2 { font-size: clamp(28px, 8vw, 34px); }
  .media-simple-links { align-items: flex-start; flex-direction: column; gap: 15px; }
  .media-simple-closing { padding-block: 56px; }
  .media-simple-closing-title { font-size: clamp(30px, 9vw, 38px); }
}


/* Academic résumé — one editorial grid from top to bottom */
.resume-page {
  --resume-rail: 112px;
  --resume-gap: clamp(30px, 4vw, 52px);
  --resume-measure: 980px;
  --resume-accent-text: #4f55ca;
}
.resume-page .eyebrow { font-weight: 700; }
.resume-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: clamp(44px, 7vw, 96px);
  align-items: end;
  padding-block: clamp(64px, 8vw, 104px) clamp(52px, 7vw, 84px);
  border-bottom: 1px solid var(--line);
}
.resume-hero-main { min-width: 0; }
.resume-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.2vw, 82px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
}
.resume-intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.62;
}
.resume-identity {
  padding: 5px 0 5px 22px;
  border-left: 2px solid var(--orange);
}
.resume-identity-label {
  margin: 0 0 9px;
  color: var(--resume-accent-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.resume-role {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}
.resume-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.resume-actions .button { min-height: 44px; padding-inline: 16px; font-size: 12px; font-weight: 700; }

.resume-layout { display: block; padding: 0; }
.resume-toc {
  position: sticky;
  top: 78px;
  z-index: 40;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 27px);
  min-height: 58px;
}
.resume-toc::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: -1px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 236, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.resume-toc .eyebrow { flex: 0 0 auto; margin: 0 auto 0 0; white-space: nowrap; }
.resume-toc a {
  flex: 0 0 auto;
  padding-block: 20px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.resume-toc a:hover,
.resume-toc a:focus-visible { color: var(--resume-accent-text); }

.resume-content {
  max-width: var(--resume-measure);
  min-width: 0;
  margin-inline: auto;
  padding-block: 32px 112px;
}
.resume-section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 50px;
}
.resume-section + .resume-section { padding-top: 64px; border-top: 0; }
.resume-section:last-child { border-bottom: 0; }
.resume-section-head {
  display: grid;
  grid-template-columns: var(--resume-rail) minmax(0, 1fr);
  gap: var(--resume-gap);
  align-items: start;
  margin: 0 0 28px;
  padding: 0;
}
.resume-section:first-child .resume-section-head { padding-top: 0; }
.resume-section-head .eyebrow { margin: 7px 0 0; }
.resume-section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.resume-timeline { display: grid; }
.resume-entry,
.resume-publications li,
.resume-talks li,
.resume-bullets li {
  display: grid;
  grid-template-columns: var(--resume-rail) minmax(0, 1fr);
  column-gap: var(--resume-gap);
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.resume-entry > div,
.resume-publications li > div,
.resume-talks li > span,
.resume-bullets li > span { min-width: 0; }
.resume-entry time,
.resume-pub-year,
.resume-talks time,
.resume-list-top span {
  padding-top: 5px;
  color: var(--resume-accent-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .09em;
}
.resume-entry h3 {
  margin: 0 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.resume-place {
  margin: 0 0 12px !important;
  color: var(--ink) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.resume-entry p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.resume-entry dl {
  display: block;
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
}
.resume-entry dt,
.resume-entry dd { display: inline; }
.resume-entry dt {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.resume-entry dt::after { content: ": "; }
.resume-entry dd { margin: 0; color: var(--ink-soft); }
.resume-entry dd::after { content: ""; display: block; height: 5px; }
.resume-entry dd:last-child::after { height: 0; }

.resume-publications { list-style: none; padding: 0; margin: 0 0 27px; }
.resume-publications strong {
  display: block;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -.02em;
}
.resume-publications p {
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}
.resume-section > .text-link { display: inline-block; margin-left: calc(var(--resume-rail) + var(--resume-gap)); }

.resume-list article {
  display: grid;
  grid-template-columns: var(--resume-rail) minmax(0, 1fr);
  column-gap: var(--resume-gap);
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.resume-list-top { display: contents; }
.resume-list-top h3 { grid-column: 2; }
.resume-list-top span { grid-column: 1; grid-row: 1 / span 3; }
.resume-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.resume-list article > p {
  grid-column: 2;
  max-width: 720px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.resume-list article > p:last-child { font-size: 14px; }
.resume-list.compact article { padding-block: 23px; }

.resume-bullets { list-style: none; padding: 0; margin: 0; }
.resume-bullets li::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 24px;
  height: 2px;
  margin-top: .78em;
  background: var(--accent);
}
.resume-bullets li > span {
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.resume-talks { list-style: none; padding: 0; margin: 0; }
.resume-talks span { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.resume-note {
  max-width: 720px;
  margin: 28px 0 0 calc(var(--resume-rail) + var(--resume-gap));
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,.35);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .resume-toc { top: 68px; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .resume-toc .eyebrow { display: none; }
  .resume-toc::-webkit-scrollbar { display: none; }
}

@media (max-width: 760px) {
  .resume-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 52px 46px; }
  .resume-hero-main { max-width: 760px; }
  .resume-identity { max-width: 560px; }
  .resume-hero h1 { font-size: clamp(46px, 13vw, 52px); line-height: 1; }
  .resume-intro { margin-top: 19px; font-size: 16px; line-height: 1.6; }
  .resume-identity { padding-left: 18px; }
  .resume-actions { margin-top: 20px; }
  .resume-toc { top: 68px; gap: 20px; min-height: 50px; margin-inline: -14px; padding-inline: 14px; }
  .resume-toc .eyebrow { display: none; }
  .resume-toc a { padding-block: 18px; font-size: 11px; }
  .resume-content { padding-block: 12px 72px; }
  .resume-section { padding-block: 48px; scroll-margin-top: 30px; }
  .resume-section + .resume-section { padding-top: 48px; }
  .resume-section-head,
  .resume-entry,
  .resume-publications li,
  .resume-talks li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .resume-section-head { margin-bottom: 22px; }
  .resume-section-head .eyebrow { margin: 0; }
  .resume-section-head h2 { font-size: clamp(32px, 9vw, 36px); overflow-wrap: anywhere; }
  .resume-entry,
  .resume-publications li,
  .resume-talks li,
  .resume-bullets li { padding-block: 24px; }
  .resume-entry time,
  .resume-pub-year,
  .resume-talks time,
  .resume-list-top span { padding-top: 0; }
  .resume-entry h3,
  .resume-list h3 { overflow-wrap: anywhere; }
  .resume-section > .text-link { margin-left: 0; }
  .resume-list article { display: block; padding-block: 24px; }
  .resume-list-top { display: flex; flex-direction: column-reverse; gap: 7px; }
  .resume-list article > p { margin-top: 9px; }
  .resume-bullets li { grid-template-columns: 18px minmax(0, 1fr); column-gap: 9px; }
  .resume-bullets li::before { width: 12px; }
  .resume-note { margin-left: 0; }
}

@media print {
  .resume-page { --resume-rail: 85px; --resume-gap: 24px; background: #fff; font-size: 10pt; }
  .resume-page .skip-link,
  .resume-page .site-header,
  .resume-toc,
  .resume-actions,
  .resume-page .site-footer { display: none; }
  .resume-hero { grid-template-columns: 1fr 230px; gap: 32px; padding-block: 0 28px; }
  .resume-hero h1 { font-size: 36pt; }
  .resume-intro,
  .resume-role { font-size: 10pt; }
  .resume-content { max-width: none; padding-block: 0; }
  .resume-section { padding-block: 22px; scroll-margin-top: 0; }
  .resume-section-head { margin-bottom: 12px; break-after: avoid; break-inside: avoid; }
  .resume-section-head h2 { font-size: 22pt; }
  .resume-entry h3,
  .resume-list h3 { font-size: 15pt; }
  .resume-publications strong { font-size: 14pt; }
  .resume-entry,
  .resume-list article,
  .resume-publications li,
  .resume-talks li,
  .resume-bullets li { break-inside: avoid; padding-block: 12px; }
}

/* Photography portfolio */
.photography-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 24px; }
.portfolio-page { background: var(--paper); }
.portfolio-hero {
  max-width: 980px;
  padding-block: clamp(72px, 9vw, 118px) clamp(58px, 7vw, 88px);
}
.portfolio-hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.6vw, 88px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
}
.portfolio-intro {
  max-width: 710px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}
.portfolio-status {
  margin: 30px 0 0;
  color: #4f55ca;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.portfolio-status[data-state="error"] { color: #a2482f; }

.portfolio-featured { padding-block: clamp(64px, 8vw, 100px); background: var(--ink); color: var(--white); }
.portfolio-featured-inner { max-width: 1180px; }
.portfolio-section-heading { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: clamp(30px, 4vw, 52px); margin-bottom: 38px; }
.portfolio-section-heading .eyebrow { margin: 7px 0 0; color: var(--accent-bright); }
.portfolio-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.portfolio-featured-grid { display: block; }
.portfolio-photo-card { margin: 0 0 18px; break-inside: avoid; }
.portfolio-photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--paper-deep);
  cursor: zoom-in;
}
.portfolio-photo-trigger:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 4px; }
.portfolio-photo-trigger img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.portfolio-photo-trigger:hover img { transform: scale(1.018); filter: saturate(1.04); }
.portfolio-photo-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 2px 0; }
.portfolio-photo-card figcaption strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-weight: 500; }
.portfolio-photo-card figcaption span { color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.portfolio-featured-card { margin-bottom: 0; }
.portfolio-featured-card .portfolio-photo-trigger { aspect-ratio: 4 / 3; background: #242a34; }
.portfolio-featured-card .portfolio-photo-trigger img { height: 100%; object-fit: cover; }
.portfolio-featured-card figcaption span { color: rgba(255,255,255,.58); }

.portfolio-album-nav {
  position: sticky;
  top: 78px;
  z-index: 35;
  border-bottom: 1px solid var(--line);
  background: rgba(233, 228, 219, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.portfolio-album-nav-inner { display: flex; align-items: center; gap: 24px; min-height: 56px; overflow-x: auto; scrollbar-width: none; }
.portfolio-album-nav-inner::-webkit-scrollbar { display: none; }
.portfolio-album-nav-label { flex: 0 0 auto; margin-right: auto; color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.portfolio-album-nav a { flex: 0 0 auto; padding-block: 19px; color: var(--ink-soft); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.portfolio-album-nav a:hover,
.portfolio-album-nav a:focus-visible { color: #4f55ca; }

.portfolio-albums { max-width: 980px; padding-bottom: clamp(70px, 9vw, 120px); }
.portfolio-album { padding-block: clamp(64px, 8vw, 92px); border-bottom: 1px solid var(--line); scroll-margin-top: 50px; }
.portfolio-album-heading { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: clamp(30px, 4vw, 52px); margin-bottom: 36px; }
.portfolio-album-number { margin: 7px 0 0; color: #4f55ca; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.portfolio-album-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.portfolio-album-count { margin: 8px 0 0; color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.portfolio-album-description { max-width: 660px; margin: 16px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.portfolio-grid { columns: 3 260px; column-gap: 14px; }
.portfolio-grid[data-count="1"] { max-width: 620px; columns: 1; }
.portfolio-grid[data-count="2"] { columns: 2; }
.portfolio-grid .portfolio-photo-trigger { border-radius: 10px; }
.portfolio-slideshow { min-width: 0; }
.portfolio-slide { margin: 0; }
.portfolio-slide-image-button {
  display: block;
  width: 100%;
  height: clamp(360px, 62vw, 640px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #171c24;
  cursor: zoom-in;
}
.portfolio-slide-image-button:focus-visible,
.portfolio-slide-arrow:focus-visible,
.portfolio-slide-thumbnail:focus-visible { outline: 3px solid #4f55ca; outline-offset: 3px; }
.portfolio-slide-image-button img { width: 100%; height: 100%; object-fit: contain; }
.portfolio-slide figcaption { min-height: 48px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 2px 8px; }
.portfolio-slide figcaption strong { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 500; }
.portfolio-slide figcaption span { color: var(--ink-soft); font-size: 10px; font-weight: 700; text-align: right; text-transform: uppercase; letter-spacing: .09em; }
.portfolio-slide-controls { display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; gap: 12px; margin-top: 4px; }
.portfolio-slide-arrow {
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}
.portfolio-slide-arrow:hover { border-color: #4f55ca; color: #4f55ca; }
.portfolio-slide-position { margin: 0; color: var(--ink-soft); font-size: 11px; font-weight: 700; text-align: center; letter-spacing: .12em; }
.portfolio-slide-thumbnails { display: flex; gap: 8px; margin-top: 16px; padding: 3px 3px 8px; overflow-x: auto; scrollbar-width: thin; }
.portfolio-slide-thumbnail {
  flex: 0 0 84px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 7px;
  background: #d8d2c8;
  opacity: .55;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.portfolio-slide-thumbnail:hover { opacity: .82; }
.portfolio-slide-thumbnail[aria-current="true"] { border-color: #4f55ca; opacity: 1; }
.portfolio-slide-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-slideshow-dark .portfolio-slide-image-button,
.portfolio-slideshow-dark .portfolio-slide-thumbnail { background: #242a34; }
.portfolio-slideshow-dark .portfolio-slide figcaption span,
.portfolio-slideshow-dark .portfolio-slide-position { color: rgba(255,255,255,.58); }
.portfolio-slideshow-dark .portfolio-slide-arrow { border-color: rgba(255,255,255,.22); color: var(--white); }
.portfolio-slideshow-dark .portfolio-slide-arrow:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.portfolio-slideshow-dark .portfolio-slide-thumbnail[aria-current="true"] { border-color: var(--accent-bright); }
.portfolio-noscript { padding-block: 60px 100px; }

.modal-open { overflow: hidden; }
.photo-viewer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(9, 12, 17, .97);
  color: var(--white);
}
.photo-viewer[open] { display: grid; place-items: center; }
.photo-viewer::backdrop { background: rgba(9, 12, 17, .92); }
.photo-viewer-panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 12px;
  padding: 28px;
}
.photo-viewer-close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(17,21,29,.7);
  color: var(--white);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.photo-viewer-nav {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.photo-viewer-nav:hover,
.photo-viewer-close:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.photo-viewer-figure { min-width: 0; margin: 0; text-align: center; }
.photo-viewer-figure img { width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 150px); margin-inline: auto; object-fit: contain; }
.photo-viewer-figure figcaption { min-height: 66px; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 15px; }
.photo-viewer-figure figcaption strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 500; }
.photo-viewer-figure figcaption span { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.photo-viewer-count { margin-left: auto; }

@media (max-width: 900px) {
  .portfolio-album-nav { top: 68px; }
}

@media (max-width: 760px) {
  .photography-actions { justify-content: flex-start; }
  .portfolio-hero { padding-block: 55px 52px; }
  .portfolio-hero h1 { font-size: clamp(48px, 14vw, 60px); }
  .portfolio-intro { margin-top: 20px; font-size: 16px; }
  .portfolio-status { margin-top: 24px; }
  .portfolio-featured { padding-block: 55px; }
  .portfolio-section-heading,
  .portfolio-album-heading { grid-template-columns: 1fr; gap: 8px; }
  .portfolio-section-heading .eyebrow,
  .portfolio-album-number { margin-top: 0; }
  .portfolio-section-heading { margin-bottom: 26px; }
  .portfolio-section-heading h2,
  .portfolio-album-heading h2 { font-size: clamp(32px, 9vw, 38px); }
  .portfolio-slide-image-button { height: clamp(260px, 78vw, 360px); }
  .portfolio-slide figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .portfolio-slide figcaption span { text-align: left; }
  .portfolio-album-nav-inner { gap: 20px; margin-inline: -14px; padding-inline: 14px; }
  .portfolio-album-nav-label { display: none; }
  .portfolio-album { padding-block: 52px; scroll-margin-top: 30px; }
  .portfolio-album-heading { margin-bottom: 26px; }
  .portfolio-grid[data-count] { max-width: none; columns: 1; }
  .portfolio-photo-card { margin-bottom: 24px; }
  .photo-viewer-panel { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 4px; padding: 16px 8px; }
  .photo-viewer-nav { width: 38px; height: 38px; font-size: 18px; }
  .photo-viewer-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .photo-viewer-figure img { max-height: calc(100dvh - 130px); }
  .photo-viewer-figure figcaption { padding-inline: 8px; }
}

@media print {
  .portfolio-page .site-header,
  .portfolio-album-nav,
  .portfolio-page .site-footer,
  .portfolio-status,
  .photo-viewer { display: none; }
  .portfolio-hero { padding-block: 0 32px; }
  .portfolio-featured { padding-block: 32px; background: #fff; color: #000; }
  .portfolio-featured .eyebrow { color: #000; }
  .portfolio-album { padding-block: 32px; }
  .portfolio-grid { columns: 2; }
  .portfolio-photo-card { break-inside: avoid; }
}
