@charset "UTF-8";
:root {
  --ink: #17162E;
  --ink-soft: #3A3760;
  --muted: #6E6B92;
  --faint: #A29FC0;
  --paper: #F7F6FB;
  --panel: #EDEBF7;
  --line: #DBD8EC;
  --line-soft: #E7E4F3;
  --violet: #4A3FA8;
  --violet-lift:#6B5CE7;
  --deep: #201C48;
  --white: #FFFFFF;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-slogan: clamp(2.1rem, 1.1rem + 3.2vw, 3.6rem);
  --fs-h1: clamp(2rem, 1.2rem + 2.8vw, 3.2rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.7rem;
  --gutter: 80px;
  --maxw: 1200px;
  --measure: 68ch;
  --gap: 24px;
  --section-y: clamp(64px, 7vw, 112px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.4s;
}
@media (max-width: 1023px) {
  :root {
    --gutter: 40px;
  }
}
@media (max-width: 639px) {
  :root {
    --gutter: 20px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
a:hover {
  color: var(--violet-lift);
  text-decoration-color: currentColor;
}

ul, ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.35em;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--violet);
  font-family: var(--serif);
  font-size: var(--fs-lead);
  font-style: italic;
  color: var(--ink-soft);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

:focus-visible {
  outline: 2px solid var(--violet-lift);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--deep);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: var(--fs-small);
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.label {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
}

.measure {
  max-width: var(--measure);
}

.year {
  font-family: var(--mono);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  color: var(--violet);
  letter-spacing: 0.02em;
}

.it {
  font-style: italic;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 900px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(40px, 4.5vw, 68px);
}

.section--panel {
  background: var(--panel);
}

.section-head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-bottom: 40px;
}
.section-head__idx {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-52%);
  background: var(--paper);
  padding-right: 14px;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet);
}
.section-head__text {
  min-width: 0;
}
.section-head__title {
  font-size: var(--fs-h2);
  margin-top: 6px;
}
.section-head__link {
  flex: none;
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--violet);
  text-decoration: none;
  white-space: nowrap;
}
.section-head__link::after {
  content: " →";
}
.section-head__link:hover {
  color: var(--violet-lift);
}
@media (max-width: 639px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
}

.section--panel .section-head__idx {
  background: var(--panel);
}

.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
@media (max-width: 639px) {
  .cols-2 {
    grid-template-columns: 1fr;
  }
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 1023px) {
  .cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .cols-3 {
    grid-template-columns: 1fr;
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2.2fr;
  gap: clamp(24px, 4vw, 64px);
}
@media (max-width: 639px) {
  .split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
@media (max-width: 639px) {
  .nav__inner {
    height: 64px;
  }
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.nav__brand em {
  font-style: italic;
}
.nav__brand:hover {
  color: var(--violet);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 1023px) {
  .nav__menu {
    display: none;
  }
}
.nav__link {
  position: relative;
  font-size: var(--fs-small);
  text-decoration: none;
  color: var(--muted);
  padding-block: 4px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover {
  color: var(--ink);
}
.nav__link:hover::after, .nav__link[aria-current=page]::after {
  transform: scaleX(1);
}
.nav__link[aria-current=page] {
  color: var(--ink);
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 1023px) {
  .nav__toggle {
    display: block;
  }
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__toggle span + span {
  margin-top: 6px;
}

body.menu-open {
  overflow: hidden;
}
body.menu-open .nav__toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
body.menu-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
body.menu-open .nav__toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.navdrawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.navdrawer.is-open {
  opacity: 1;
  visibility: visible;
}
.navdrawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navdrawer li {
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}
.navdrawer a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 8vw, 2.2rem);
  text-decoration: none;
}
.navdrawer .navdrawer__n {
  font-family: var(--mono);
  font-size: var(--fs-label);
  color: var(--faint);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white);
  transform: translateY(-1px);
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  background: var(--muted);
  border-color: var(--muted);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--violet);
  border-color: var(--violet);
}
.btn--wide {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 479px) {
  .btn-row {
    flex-direction: column;
  }
  .btn-row .btn {
    width: 100%;
  }
}

.pcard {
  display: block;
  text-decoration: none;
  color: inherit;
  break-inside: avoid;
}
.pcard__media {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
}
.pcard__media img, .pcard__media svg {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease);
}
.pcard__body {
  padding-top: 14px;
}
.pcard__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.24;
  margin: 0 0 6px;
  transition: color var(--dur) var(--ease);
}
.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.pcard:hover .pcard__media img, .pcard:hover .pcard__media svg {
  transform: scale(1.035);
}
.pcard:hover .pcard__title {
  color: var(--violet);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: var(--gap);
}
@media (max-width: 1023px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .masonry {
    grid-template-columns: 1fr;
  }
}
.masonry__col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}

.masonry--uniform .pcard__media {
  aspect-ratio: 4/3;
}
.masonry--uniform .pcard__media img,
.masonry--uniform .pcard__media svg {
  height: 100%;
  object-fit: cover;
}

.grid-empty {
  padding: 48px 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.chip {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.chip:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.chip[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pubrow {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur) var(--ease);
}
.pubrow:first-of-type {
  border-top: 1px solid var(--line-soft);
}
.pubrow__title {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--ink);
}
.pubrow__src {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.pubrow__arrow {
  font-family: var(--mono);
  color: var(--faint);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pubrow:hover {
  background: color-mix(in srgb, var(--panel) 60%, transparent);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--panel) 60%, transparent);
}
.pubrow:hover .pubrow__title {
  color: var(--violet);
}
.pubrow:hover .pubrow__arrow {
  color: var(--violet);
  transform: translate(2px, -2px);
}
@media (max-width: 639px) {
  .pubrow {
    grid-template-columns: 1fr auto;
  }
  .pubrow .year {
    grid-column: 1/-1;
  }
}

.bibrow {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.bibrow:first-of-type {
  border-top: 1px solid var(--line-soft);
}
.bibrow .bibrow__t {
  font-style: italic;
  color: var(--ink);
}
.bibrow a {
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--violet);
  word-break: break-all;
}

.ecard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ecard__date {
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--violet);
  letter-spacing: 0.04em;
}
.ecard__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.28;
}
.ecard__where {
  font-size: var(--fs-small);
  color: var(--muted);
}
.ecard:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl {
  position: relative;
  padding: 0 0 34px 30px;
  margin: 0;
  border-left: 1px solid var(--line);
}
.tl:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.tl::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--violet);
}
.tl__head {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.3;
  margin: 4px 0 3px;
}
.tl__org {
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.tl__note {
  margin-top: 7px;
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: var(--measure);
}

.rowlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rowitem {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.rowitem:first-child {
  border-top: 1px solid var(--line-soft);
}
.rowitem__what {
  font-weight: 500;
}
.rowitem__where {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 639px) {
  .rowitem {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.book {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.book:first-of-type {
  border-top: 1px solid var(--line-soft);
}
.book__cover {
  background: var(--panel);
  border-radius: 2px;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.book__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book__title {
  font-size: var(--fs-h3);
  margin-bottom: 5px;
}
.book__meta {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.book__desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}
@media (max-width: 639px) {
  .book {
    grid-template-columns: 84px 1fr;
    gap: 18px;
  }
}

.cta {
  background: var(--deep);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 64px);
}
.cta__title {
  color: var(--white);
  font-size: var(--fs-h2);
  margin-bottom: 12px;
}
.cta__title em {
  font-style: italic;
}
.cta__text {
  color: color-mix(in srgb, var(--paper) 76%, transparent);
  max-width: 52ch;
  margin-bottom: 28px;
}
.cta .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.cta .btn:hover {
  background: var(--violet-lift);
  border-color: var(--violet-lift);
  color: var(--white);
}
.cta .btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: color-mix(in srgb, var(--paper) 34%, transparent);
}
.cta .btn--ghost:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--paper);
}

.field {
  margin-bottom: 18px;
}

.field__label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--sans);
  font-size: var(--fs-body);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder,
.select::placeholder,
.textarea::placeholder {
  color: var(--faint);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 14%, transparent);
}
.input[aria-invalid=true],
.select[aria-invalid=true],
.textarea[aria-invalid=true] {
  border-color: #B03A48;
}

.textarea {
  min-height: 148px;
  resize: vertical;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6B92' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 22px 0;
  font-size: var(--fs-small);
  color: var(--muted);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--violet);
  cursor: pointer;
}

.field__error {
  display: none;
  margin-top: 6px;
  font-size: var(--fs-small);
  color: #B03A48;
}
.field__error.is-shown {
  display: block;
}

.formnote {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: var(--fs-small);
  display: none;
}
.formnote.is-shown {
  display: block;
}
.formnote--ok {
  background: color-mix(in srgb, var(--violet) 10%, transparent);
  color: var(--violet);
}
.formnote--err {
  background: #FBEDEF;
  color: #B03A48;
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 44px;
  margin-top: var(--section-y);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer a, .footer span {
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--violet);
}
.footer__copy {
  color: var(--faint) !important;
}

.scards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
@media (max-width: 1023px) {
  .scards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .scards {
    grid-template-columns: 1fr;
  }
}

.scard {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.scard__n {
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet);
}
.scard__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.3;
  transition: color var(--dur) var(--ease);
}
.scard__text {
  font-size: var(--fs-small);
  color: var(--muted);
  flex: 1;
}
.scard:hover {
  border-color: var(--violet);
  transform: translateY(-2px);
}
.scard:hover .scard__title {
  color: var(--violet);
}
.scard--cta {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--paper);
  justify-content: center;
}
.scard--cta .scard__n {
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}
.scard--cta .scard__title {
  color: var(--white);
}
.scard--cta .scard__text {
  color: color-mix(in srgb, var(--paper) 74%, transparent);
  flex: none;
}
.scard--cta:hover {
  border-color: var(--violet-lift);
  background: var(--violet-lift);
}
.scard--cta:hover .scard__title {
  color: var(--white);
}
.scard__more {
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--violet);
}
.scard__more::after {
  content: " →";
}
.scard--cta .scard__more {
  color: var(--white);
}

.availability {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}
.availability__label {
  flex: none;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
.availability__text {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 639px) {
  .availability {
    flex-direction: column;
    gap: 6px;
  }
}
.availability--narrow {
  max-width: var(--measure);
}

.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: clamp(36px, 4vw, 56px);
}
@media (max-width: 1023px) {
  .audience {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 479px) {
  .audience {
    grid-template-columns: 1fr;
  }
}
.audience__item {
  padding-top: 0;
  border-top: 0;
}
.audience__who {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.35;
  margin-bottom: 5px;
}
.audience__what {
  font-size: var(--fs-small);
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) 1.3fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 92px) var(--section-y);
}
@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
.hero__portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}
.hero__portrait img, .hero__portrait svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .hero__portrait {
    max-width: 340px;
  }
}
@media (max-width: 639px) {
  .hero__portrait {
    max-width: 100%;
    max-height: 54vh;
  }
}
@media (max-width: 639px) {
  .hero .btn {
    width: 100%;
  }
}
.hero__slogan {
  font-size: var(--fs-slogan);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 26px;
}
.hero__slogan em {
  font-style: italic;
  color: var(--violet);
}
.hero__text {
  max-width: 56ch;
  margin-bottom: 30px;
}

.record {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  margin-bottom: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
}
.record dt {
  text-transform: uppercase;
  color: var(--faint);
}
.record dd {
  margin: 0;
  color: var(--ink-soft);
}
.record dd a {
  color: var(--violet);
  text-decoration: none;
}
.record dd a:hover {
  text-decoration: underline;
}
@media (max-width: 479px) {
  .record {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .record dd {
    margin-bottom: 10px;
  }
}

.pagehead {
  padding-block: clamp(44px, 5vw, 78px) clamp(28px, 3vw, 44px);
}
.pagehead > .label {
  margin-bottom: 12px;
}
.pagehead__title {
  font-size: var(--fs-h1);
  margin-bottom: 16px;
}
.pagehead__title em {
  font-style: italic;
  color: var(--violet);
}
.pagehead__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.filters {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 44px;
}

.loadmore {
  display: flex;
  justify-content: center;
  padding-top: 52px;
}

.back {
  display: inline-block;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--muted);
  text-decoration: none;
}
.back::before {
  content: "← ";
}
.back:hover {
  color: var(--violet);
}

.cover {
  margin-bottom: clamp(40px, 5vw, 68px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.project {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 1023px) {
  .project {
    grid-template-columns: 1fr;
  }
}
.project__body {
  max-width: var(--measure);
}
.project__body h2 {
  font-size: var(--fs-h2);
  margin: 2.2em 0 0.6em;
}
.project__body h2:first-child {
  margin-top: 0;
}
.project__body h3 {
  font-size: var(--fs-h3);
  margin: 1.8em 0 0.5em;
}

.infocard {
  position: sticky;
  top: 104px;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
}
@media (max-width: 1023px) {
  .infocard {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    order: -1;
  }
}
.infocard__row + .infocard__row {
  margin-top: 18px;
}
@media (max-width: 1023px) {
  .infocard__row + .infocard__row {
    margin-top: 0;
  }
}
.infocard__k {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.infocard__v {
  font-size: var(--fs-small);
  color: var(--ink);
}
.infocard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}
@media (max-width: 479px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
.gallery button {
  padding: 0;
  border: 0;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  display: block;
}
.gallery button img, .gallery button svg {
  width: 100%;
  transition: transform 0.6s var(--ease);
}
.gallery button:hover img, .gallery button:hover svg {
  transform: scale(1.03);
}

.prevnext {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 36px;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
@media (max-width: 479px) {
  .prevnext {
    flex-direction: column;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: color-mix(in srgb, var(--deep) 94%, transparent);
}
.lightbox.is-open {
  display: flex;
}
.lightbox img, .lightbox svg {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--paper) 34%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
}
.lightbox__close:hover {
  background: color-mix(in srgb, var(--paper) 14%, transparent);
}

.research {
  display: grid;
  grid-template-columns: 208px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: var(--section-y);
}
@media (max-width: 1023px) {
  .research {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.rindex {
  position: sticky;
  top: 104px;
}
.rindex__label {
  margin-bottom: 16px;
}
.rindex ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rindex li {
  margin: 0;
}
.rindex a {
  display: block;
  padding: 7px 0 7px 15px;
  border-left: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rindex a:hover {
  color: var(--ink);
}
.rindex a.is-current {
  color: var(--violet);
  border-left-color: var(--violet);
  font-weight: 500;
}
@media (max-width: 1023px) {
  .rindex {
    position: sticky;
    top: 63px;
    z-index: 50;
    margin-inline: calc(var(--gutter) * -1);
    padding: 12px var(--gutter);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
  }
  .rindex__label {
    display: none;
  }
  .rindex ul {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .rindex ul::-webkit-scrollbar {
    display: none;
  }
  .rindex a {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 100px;
    white-space: nowrap;
  }
  .rindex a.is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
}

.rsection {
  padding-bottom: clamp(48px, 6vw, 76px);
  scroll-margin-top: 110px;
}
.rsection__title {
  font-size: var(--fs-h2);
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.service {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
}
.service--first {
  border-top: 0;
  padding-top: 0;
}
.service:last-of-type {
  border-bottom: 1px solid var(--line-soft);
}
.service__name {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.3;
}
.service__desc {
  color: var(--ink-soft);
  max-width: var(--measure);
}
@media (max-width: 639px) {
  .service {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: clamp(44px, 5vw, 68px);
}
@media (max-width: 639px) {
  .actions {
    grid-template-columns: 1fr;
  }
}

.action {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.action__when {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}
.action__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
}
.action__text {
  font-size: var(--fs-small);
  color: var(--muted);
  flex: 1;
}

.portrait-block {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) 1.3fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
  padding-block: clamp(36px, 4vw, 60px) var(--section-y);
}
@media (max-width: 1023px) {
  .portrait-block {
    grid-template-columns: 1fr;
  }
}
.portrait-block__img {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.portrait-block__img img, .portrait-block__img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1023px) {
  .portrait-block__img {
    max-width: 320px;
  }
}
.portrait-block__text {
  max-width: var(--measure);
  font-size: var(--fs-lead);
  line-height: 1.62;
}

.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 479px) {
  .logos {
    grid-template-columns: repeat(2, 1fr);
  }
}
.logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.logos a:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.logos a img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
}

.certs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cert {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
}
.cert:first-child {
  border-top: 1px solid var(--line-soft);
}
.cert__n {
  font-weight: 500;
}
.cert__m {
  display: block;
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 2px;
}

.offwork {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 639px) {
  .offwork {
    grid-template-columns: 1fr;
  }
}
.offwork__pics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.offwork__pics > * {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.offwork__pics img, .offwork__pics svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  padding-bottom: var(--section-y);
}
@media (max-width: 1023px) {
  .contact {
    grid-template-columns: 1fr;
  }
}
.contact__direct {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.direct__k {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}
.direct__v {
  font-size: 1.02rem;
}
.direct__v a {
  text-decoration: none;
}
.direct__v a:hover {
  color: var(--violet);
}

.sociallinks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sociallinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: var(--fs-small);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.sociallinks a::after {
  content: "↗";
  font-family: var(--mono);
  color: var(--faint);
}
.sociallinks a:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.sociallinks a:hover::after {
  color: var(--violet);
}

.prose {
  max-width: var(--measure);
  padding-bottom: var(--section-y);
}
.prose h2 {
  font-size: var(--fs-h2);
  margin: 2.2em 0 0.5em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: var(--fs-h3);
  margin: 1.8em 0 0.4em;
}
.prose li {
  color: var(--ink-soft);
}

.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  min-height: 62vh;
  padding-block: 60px;
}
.notfound__code {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  color: var(--violet);
}
.notfound__title {
  font-size: var(--fs-h1);
}
.notfound__title em {
  font-style: italic;
}
.notfound__text {
  color: var(--muted);
  max-width: 44ch;
}

.newsyear {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(18px, 3vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-bottom: 40px;
}
.newsyear__n {
  position: sticky;
  top: 104px;
  align-self: start;
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet);
}
@media (max-width: 639px) {
  .newsyear {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .newsyear__n {
    position: static;
  }
}

.newsitem {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.newsitem:first-child {
  border-top: 1px solid var(--line-soft);
}
.newsitem__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 9px;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}
.newsitem__kind {
  color: var(--violet);
}
.newsitem__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.28;
  margin-bottom: 7px;
  transition: color var(--dur) var(--ease);
}
.newsitem__text {
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: var(--measure);
}
.newsitem__more {
  display: inline-block;
  margin-top: 11px;
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--violet);
}
.newsitem__more::after {
  content: " →";
}

a.newsitem:hover .newsitem__title {
  color: var(--violet);
}

.badge-next {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--violet);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.post {
  max-width: var(--measure);
  padding-bottom: var(--section-y);
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
}
.post__body {
  font-size: var(--fs-lead);
  line-height: 1.65;
}
.post__body h2 {
  font-size: var(--fs-h2);
  margin: 2em 0 0.5em;
}
.post__body h3 {
  font-size: var(--fs-h3);
  margin: 1.7em 0 0.4em;
}
.post__body img {
  border-radius: var(--radius);
  margin: 2em 0;
}

.linklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.linkrow {
  margin: 0;
}
.linkrow a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.linkrow:first-child a {
  border-top: 1px solid var(--line-soft);
}
.linkrow__src {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.linkrow__t {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.38;
  transition: color var(--dur) var(--ease);
}
.linkrow__arrow {
  font-family: var(--mono);
  color: var(--faint);
}
a:hover .linkrow__t {
  color: var(--violet);
}
a:hover .linkrow__arrow {
  color: var(--violet);
}

.service__list {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 7px;
}
.service__list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--violet);
}

.service-more {
  margin-top: 26px;
}
.service-more a {
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--violet);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.service-more a::after {
  content: " →";
}
.service-more a:hover {
  border-color: var(--violet);
}
