:root {
  --ink: #231c23;
  --paper: #f6f1e9;
  --muted: #5e5159;
  --line: #dbd0c7;
  --wine: #3e2234;
  --wine-deep: #241722;
  --champagne: #e4c7aa;
  --serif: var(--instrument);
  --sans: var(--instrument);
  --gutter: clamp(1.25rem, 6.2vw, 7rem);
  --yellow: var(--champagne);
  --masthead-height: 5.5rem;
}
body { font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, summary):focus-visible { outline: 2px solid #a66b55; outline-offset: .25rem; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.027em; overflow-wrap: anywhere; }
h1 { font-size: clamp(3.3rem, 7.3vw, 7rem); }
h2 { font-size: clamp(2.45rem, 4.4vw, 4.3rem); line-height: .99; }
h3 { font-size: clamp(1.75rem, 2.6vw, 2.6rem); }
:lang(zh) { --serif: var(--instrument); }
:lang(ja) { --serif: var(--instrument); }
:lang(ko) { --serif: var(--instrument); }
.eyebrow {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .125em;
  text-transform: uppercase;
  line-height: 1.5;
}
a.editorial-link {
  display: inline-block;
  width: fit-content;
  padding: .42rem 0;
  border-bottom: 1px solid currentColor;
  font-size: .9375rem;
  line-height: 1.35;
  transition: color .2s ease;
}
a.editorial-link:hover { color: #875444; }
.editorial-links { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 1.8rem; row-gap: .6rem; margin-top: 1.35rem; }
.masthead {
  position: relative;
  z-index: 30;
  min-height: var(--masthead-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--gutter);
  gap: .8rem;
  border-bottom: 1px solid #fff8ee30;
  background: #201b18;
  color: #fff8ee;
}
.personal-home .masthead {
  position: absolute;
  inset: 0 0 auto;
  padding-top: 1.45rem;
  background: transparent;
  border: 0;
}
.masthead-controls {
  display: flex;
  align-items: center;
  gap: clamp(.45rem, 1.9vw, 1.65rem);
}
.personal-home .masthead-controls { border-bottom: 1px solid #fff8ee70; }
.masthead .masthead-control {
  order: 0;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  width: auto;
  margin: 0;
  padding: .15rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .9375rem;
  line-height: 1.25;
  color: inherit;
}
.masthead .access-button { width: 2.75rem; justify-content: center; }
.masthead-control:hover, .masthead-control[aria-expanded=true] { text-decoration: underline; text-underline-offset: .28em; }
.masthead-control svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.masthead .menu-icon { position: relative; width: 1.15rem; height: .52rem; border-block: 1px solid; }
.masthead .chevron { width: .36rem; height: .36rem; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-.1rem) rotate(45deg); }
.monogram {
  display: block;
  font: 400 3.1rem/.74 var(--instrument);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.personal-home .monogram {
  position: absolute;
  top: clamp(2.4rem, 6vh, 5.5rem);
  right: var(--gutter);
  font-size: clamp(7.4rem, 16.5vw, 15.7rem);
}
#mobile-menu, #display-panel, #search-panel {
  position: absolute;
  z-index: 35;
  top: calc(100% + .4rem);
  left: var(--gutter);
  right: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 .6rem 2.2rem #160d1a44;
  width: min(26rem, calc(100vw - 2 * var(--gutter)));
  max-height: min(72vh, 34rem);
  overflow: auto;
  padding: 1.25rem;
}
#mobile-menu, .search-results { display: grid; }
#mobile-menu a, .search-results a {
  display: block;
  padding: .55rem .25rem;
  border: 0;
  color: var(--ink);
  font-size: 1rem;
  text-align: start;
  text-decoration: none;
}
#mobile-menu a:hover, .search-results a:hover { background: #eaded2; color: var(--wine); }
#mobile-menu a[aria-current] { font-weight: 650; color: #65364b; }
.settings-panel h2, #display-panel h2 { font-size: 1.8rem; margin: 0 0 .75rem; }
#display-panel label { font-size: 1rem; align-items: center; }
#display-panel button { font-size: .9375rem; }
.search-label { display: block; margin-bottom: .35rem; font-size: .9375rem; }
#page-search { width: 100%; color: var(--ink); background: #fffdf8; padding: .55rem .65rem; border: 1px solid #8f766d; }
.search-field { display: flex; flex-wrap: wrap; gap: .5rem; }
#page-search { flex: 1 1 11rem; min-width: 0; border: 1px solid var(--line); border-radius: .45rem; }
.search-field button {
  min-height: 2.75rem;
  padding: .5rem .9rem;
  border: 0;
  border-radius: .45rem;
  background: var(--wine);
  color: #fff;
  font-weight: 650;
}
.search-results { width: 100%; margin: .85rem 0 0; gap: 0; }
.search-results a { padding: .7rem .35rem; border-top: 1px solid var(--line); }
.search-results a span { display: block; margin-top: .2rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; }
#search-empty { padding-top: .75rem; }
body:has(#language-panel[open]) { overflow: hidden; }
#language-panel {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 48rem);
  max-height: 88svh;
  padding: clamp(1.25rem, 4vw, 3rem);
  overflow: auto;
  border: 0;
  background: #f4efe6;
  color: #271f1a;
  color-scheme: light;
}
#language-panel::backdrop { background: #1a1410dd; }
.language-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.language-dialog-head h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.08; }
.language-close {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: .9375rem;
}
.language-close:hover { text-decoration: underline; }
.language-editions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem 1.4rem;
}
.language-editions a {
  padding: .75rem 0;
  border-bottom: 1px solid #50413250;
  text-decoration: underline;
  text-underline-offset: .28em;
  overflow-wrap: anywhere;
}
.language-editions a[aria-current] { font-weight: 700; }
.language-editions a:hover { color: #65364b; }
@media (max-width: 36rem) {
  .language-editions { grid-template-columns: 1fr; }
}
.monogram:is(:lang(zh), :lang(ja), :lang(ko)) { font-family: var(--serif); line-height: .95; letter-spacing: -.035em; }
.personal-home .monogram:is(:lang(zh), :lang(ja), :lang(ko)) { font-size: clamp(4.7rem, 12vw, 11.5rem); }
.monogram:is(:lang(es), :lang(de)) { letter-spacing: -.075em; }
.personal-hero {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: #332d28;
  color: #fff8ee;
  min-height: max(39rem, 100svh);
  overflow: clip;
  padding: 12rem var(--gutter) clamp(5rem, 13vh, 9rem);
}
.hero-media, .personal-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: 58% 53%;
  filter: saturate(.71) sepia(.15);
}
.personal-hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, #1f1916a6 0%, #21191632 29%, transparent 42%, #22191325 56%, #1c1510e6 100%),
    linear-gradient(90deg, #1c140fd9 0%, #1c161181 33%, transparent 75%);
}
.hero-copy { width: min(100%, 57rem); }
.hero-copy .eyebrow { margin-bottom: 1.1rem; color: #ecdecb; }
.hero-copy h1 {
  font-size: clamp(3.8rem, 7.1vw, 7.75rem);
  line-height: .91;
  letter-spacing: -.036em;
}
.hero-copy h1 span, .hero-copy h1 em { display: block; }
:where(:lang(zh), :lang(ja), :lang(ko)) .hero-copy h1 {
  font-size: clamp(3rem, 6.5vw, 6.8rem);
  line-height: 1.08;
}
.hero-subtitle { max-width: 31rem; margin-top: 1.2rem; color: #f9ede0; font-size: 1rem; line-height: 1.75; }
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  min-height: 3rem;
  padding: .62rem 1.25rem;
  border: 1px solid currentColor;
  font-size: .9375rem;
  margin-top: 1.7rem;
}
.hero-button:hover { background: #fff8ee; color: #271f1a; border-color: #fff8ee; }
.hero-controls {
  position: absolute;
  inset: auto var(--gutter) 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #fff8ee;
  font-size: .8125rem;
}
.film-control {
  background: #21191680;
  border: 1px solid #ffffff35;
  color: inherit;
  padding: .45rem .7rem;
  min-height: 2.4rem;
}
.film-control:hover { background: #241b15; }
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1.2rem;
  padding: .7rem var(--gutter);
  color: var(--ink);
  background: #efe7da;
  border-bottom: 1px solid #cbbeb0;
  font-size: .9375rem;
}
.chapter-nav a { display: inline-flex; align-items: center; min-height: 2.65rem; }
.chapter-nav a:hover { text-decoration: underline; text-underline-offset: .2rem; }
.editorial-section { max-width: 90rem; margin: auto; padding: clamp(3.5rem, 7vw, 7rem) var(--gutter); }
.editorial-copy { display: grid; justify-items: start; gap: 1.2rem; }
.editorial-copy .eyebrow { color: #744b57; }
.editorial-copy p:not(.eyebrow) { max-width: 37rem; color: var(--muted); }
.editorial-copy .editorial-links { margin-top: .15rem; }
.profile-feature, .archive-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 8rem);
}
.profile-feature { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); }
.editorial-section figure { margin: 0; }
.editorial-section figure img { display: block; width: 100%; }
.profile-photo {
  background: #ded0c6;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.profile-photo img { height: 100%; object-fit: cover; object-position: center top; }
.archive-feature figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.archive-feature figcaption { margin-top: .6rem; color: var(--muted); font-size: .875rem; }
.work-band { background: var(--wine); color: var(--paper); }
.work-inner { display: grid; gap: 2.2rem; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
.work-grid article { border-top: 1px solid #efd7c466; padding-top: 1.4rem; }
.work-grid h3 { margin-bottom: .65rem; }
.work-grid p { max-width: 33rem; color: #f3e2db; }
.journal-feature { padding-top: 0; }
.journal-feature .editorial-copy { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 5rem); }
.page-heading { background: #eaded4; padding: 2rem var(--gutter) clamp(3rem, 6vw, 5.5rem); }
.page-heading h1 { line-height: .98; }
.page-heading > p { color: var(--muted); font-size: 1.1rem; }
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 1.6rem; }
.page-content { padding-inline: var(--gutter); max-width: 90rem; }
.page-content :is(.chapter-heading, .section-heading, .biography-chapter) h2 { margin: .25rem 0 .75rem; }
.page-content :is(p, .body-copy p, .timeline p, .milestones p, .family-links p, .project p) { font-size: 1rem; }
.page-content :is(.lead, .body-copy .lead) { font-size: 1.2rem; }
.page-content :is(.eyebrow, .tag, dt, .text-link, .project-cta, .register-note, .archive-language-note, .domain-filters button) { font-size: .875rem; }
.personal-page .page-content .arrow, .personal-page .next-page .arrow { display: none; }
.personal-page .yellow:hover { background: #dec0a7; }
.page-content .privacy-copy a { text-decoration: underline; text-underline-offset: .15em; }
.page-content .privacy-copy li { margin: .55rem 0; }
#photo-viewer { background: var(--wine-deep); color: var(--paper); }
.site-footer {
  background: var(--wine-deep);
  color: var(--paper);
  padding: clamp(2.75rem, 6vw, 5rem) var(--gutter) 1.5rem;
}
.site-footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 0 0 1.3rem;
  border-bottom: 1px solid #dfc6ba4f;
}
.footer-signature { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1.75rem; padding: 1.1rem 0 0; font-size: .9375rem; }
.site-footer nav a:hover, .site-footer .footer-bottom a:hover { color: var(--champagne); text-decoration: underline; }
.site-footer .footer-archive { border: 0; }
.site-footer .footer-bottom {
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: .6rem;
  border-top: 1px solid #dfc6ba4f;
  margin-top: 1.8rem;
  padding-top: 1rem;
  font-size: .8125rem;
  color: #e7d9d1;
}
body.large-text .personal-hero, body.large-text .editorial-section, body.large-text .site-footer { font-size: 1.2rem; }
body.large-text :is(.editorial-link, .site-footer nav, .page-content p) { font-size: 1.125rem; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { transition: none !important; animation: none !important; }
html:has(body.reduce-motion) { scroll-behavior: auto; }
@media (max-width: 700px) {
  :root { --masthead-height: 4.5rem; }
  .masthead { padding: .5rem var(--gutter); gap: .45rem; }
  .personal-home .masthead { padding-top: .5rem; }
  .masthead-controls { column-gap: .75rem; }
  .masthead .masthead-control { gap: .35rem; font-size: .875rem; }
  .masthead .masthead-control svg { width: 1rem; }
  .masthead .access-button { width: 2rem; }
  .monogram { font-size: 2.4rem; }
  .personal-home .monogram { top: 5rem; font-size: clamp(6.5rem, 24vw, 8rem); }
  .personal-hero { min-height: max(38rem, 100svh); padding-top: 13rem; padding-bottom: 6.5rem; }
  .hero-copy h1, :where(:lang(zh), :lang(ja), :lang(ko)) .hero-copy h1 { font-size: clamp(3rem, 10.7vw, 4.4rem); }
  .hero-media { object-position: 62% center; }
  .chapter-nav { justify-content: flex-start; }
  .profile-feature, .archive-feature, .work-grid { grid-template-columns: 1fr; }
  .archive-feature figure { order: 1; }
  .profile-photo { max-width: 28rem; }
  .page-heading h1 { font-size: clamp(3.05rem, 10vw, 4.8rem); }
  .site-footer .footer-bottom { display: flex; }
}
@media (max-width: 380px) {
  .masthead { flex-wrap: wrap; }
  .masthead-controls { column-gap: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Main menu */
#mobile-menu {
  width: min(24rem, calc(100vw - 2 * var(--gutter)));
  padding: .65rem 1.3rem 1rem;
}
#mobile-menu ul { list-style: none; margin: 0; padding: 0; }
#mobile-menu .menu-root > li + li { border-top: 1px solid var(--line); }
#mobile-menu .menu-root > li > a,
#mobile-menu .menu-row > a { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; padding: .65rem .2rem; }
#mobile-menu .submenu-toggle { display: none; }
#mobile-menu .menu-children { margin: 0 0 .65rem 1rem; padding-left: .75rem; border-left: 1px solid var(--line); }
#mobile-menu .menu-children a { padding: .28rem .25rem; font-size: .9375rem; }

@media (max-width: 67rem) {
  .masthead .menu-button { min-width: 2.75rem; justify-content: center; }
  .masthead .menu-icon { height: .82rem; }
  .masthead .menu-icon::before {
    content: "";
    position: absolute;
    inset: calc(50% - .5px) 0 auto;
    border-top: 1px solid;
  }
  #mobile-menu .menu-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
  #mobile-menu .menu-row > a { flex: 1; }
  #mobile-menu .submenu-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: .45rem;
    background: transparent;
    color: var(--wine);
  }
  #mobile-menu .submenu-toggle::before,
  #mobile-menu .submenu-toggle::after {
    content: "";
    grid-area: 1 / 1;
    width: .9rem;
    height: 1.5px;
    background: currentColor;
  }
  #mobile-menu .submenu-toggle[aria-expanded=false]::after { transform: rotate(90deg); }
  #mobile-menu .menu-row:has([aria-expanded=false]) + .menu-children { display: none; }
}

/* Blog */
.blog-index, .blog-post {
  width: min(100%, 85rem);
  margin: auto;
  padding: clamp(2.8rem, 6vw, 6rem) var(--gutter) clamp(4rem, 8vw, 8rem);
}
.blog-index-header { margin: 0 0 clamp(2.4rem, 5vw, 4rem); }
.blog-index-header h1, .blog-post-header h1 { line-height: .98; }
.blog-index-header p { margin-top: .9rem; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 3rem); }
.blog-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.6rem; }
.blog-filters button {
  padding: .45rem .95rem;
  border: 1px solid #bba99e;
  border-radius: 999px;
  background: transparent;
  font-size: .9375rem;
}
.blog-filters button:hover { background: #eaded2; }
.blog-filters button[aria-pressed=true] { color: var(--paper); background: var(--wine); border-color: var(--wine); }
.blog-card { border-bottom: 1px solid var(--line); }
.blog-card a { display: block; height: 100%; }
.blog-card a:hover h2 { text-decoration: underline; text-underline-offset: .12em; }
.blog-card-media { position: relative; }
.blog-cover { overflow: hidden; background: #171219; }
.blog-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog-card .blog-cover { aspect-ratio: 3 / 2; border-radius: .65rem; }
.blog-card-personal img { object-position: 50% 43%; }
.blog-card-reviews img { object-position: top; }
.blog-cover-letter {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(120deg, #362331, #654252);
  color: #f6e6d5;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.85rem);
  text-align: center;
}
.blog-category {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  padding: .18rem .65rem;
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: .875rem;
}
.blog-card-copy { padding: 1.15rem 0 1.45rem; }
.blog-card-copy h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; }
.blog-card-copy p { margin: .55rem 0 .75rem; color: var(--muted); line-height: 1.55; }
.blog-card-copy time, .blog-updated { color: var(--muted); font-size: .875rem; }
.blog-post { max-width: 66rem; }
.blog-post-header { max-width: 44rem; margin: 0 auto 2rem; }
.blog-back { display: inline-block; margin-bottom: 1.45rem; text-decoration: underline; text-underline-offset: .18em; }
.blog-post-header h1 { font-size: clamp(3rem, 6.5vw, 6rem); }
.blog-post-summary { margin: .85rem 0; color: var(--muted); font-size: 1.125rem; }
.blog-byline { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
.blog-byline time { color: var(--muted); }
.blog-post .blog-cover { max-width: 44rem; margin: 0 auto 2rem; border-radius: .6rem; }
.blog-post-personal .blog-cover { max-width: 28rem; }
.blog-post-personal .blog-cover img { width: 100%; height: auto; }
.blog-prose { max-width: 44rem; margin: auto; font-size: 1.075rem; }
.blog-prose p + p, .blog-prose h2, .blog-prose p + ul { margin-top: 1.1em; }
.blog-prose h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); margin-bottom: .4em; }
.blog-prose a { text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 62rem) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 38rem) {
  .blog-grid { grid-template-columns: 1fr; }
}
