:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --paper-raised: #ffffff;
  --paper-deep: #fbfaf6;
  --ink: #101820;
  --muted: #53606d;
  --primary: #012169;
  --link: #00539b;
  --accent: #c84e00;
  --oxblood: var(--primary);
  --oxblood-deep: var(--primary);
  --walnut: var(--primary);
  --gold: var(--accent);
  --star-gold: #d9a514;
  --sage: var(--muted);
  --blue-ink: var(--link);
  --line-warm: rgba(1, 33, 105, 0.18);
  --line: rgba(1, 33, 105, 0.18);
  --line-width: 2px;
  --line-strong: rgba(1, 33, 105, 0.34);
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-border: rgba(1, 33, 105, 0.18);
  --surface-highlight: rgba(255, 255, 255, 0.9);
  --shadow: inset 0 1px 0 var(--surface-highlight);
  --eyebrow-heading-gap: 1.6rem;
  --serif-family: "Newsreader", Georgia, "Times New Roman", serif;
  --interface-family: "Inter", ui-sans-serif, system-ui, Arial, sans-serif;
  --body-family: var(--serif-family);
  --smallcaps-family: var(--interface-family);
  --smallcaps-size: 1rem;
  --smallcaps-color: var(--walnut);
  --portrait-size: 25rem;
  --portrait-width: min(var(--portrait-size), calc(100vw - 2rem));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-duration: 640ms;
  --motion-stagger: 64ms;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  font-family: var(--interface-family);
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

main {
  flex: 1 0 auto;
}

body::selection,
body *::selection {
  color: var(--oxblood-deep);
  background: rgba(0, 83, 155, 0.16);
}

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
h4,
h5,
blockquote,
figure {
  margin: 0;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 3px;
}

.flow-button {
  --flow-button-hover-text: #ffffff !important;
  --flow-button-background: #fff;
  --flow-button-border: var(--surface-border, rgba(1, 33, 105, 0.18));
  --flow-button-text: var(--oxblood, #012169);
  --flow-button-fill: var(--oxblood, #012169);
  --flow-button-arrow-offset: 1.18rem;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.65rem;
  overflow: hidden;
  contain: paint;
  clip-path: inset(0 round 999px);
  border: 1px solid var(--flow-button-border) !important;
  border-radius: 999px !important;
  color: var(--flow-button-text) !important;
  background: var(--flow-button-background) !important;
  font: 700 1rem/1.2 var(--interface-family) !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 520ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 150ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 150ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms var(--ease, cubic-bezier(0.16, 1, 0.3, 1)) !important;
}

.button.flow-button,
.btn-primary.flow-button,
.about-button.flow-button,
.resume-download-button.flow-button {
  border-color: var(--flow-button-border) !important;
  border-radius: 999px !important;
  color: var(--flow-button-text) !important;
  background: var(--flow-button-background) !important;
  box-shadow: none !important;
}

.flow-button:not(.flow-button--icon-only) {
  padding-left: max(3.8rem, var(--flow-button-inline-padding, 1.45rem)) !important;
  padding-right: max(3.8rem, var(--flow-button-inline-padding, 1.45rem)) !important;
}

.flow-button:hover,
.flow-button:focus-visible,
.button.flow-button:hover,
.button.flow-button:focus-visible,
.btn-primary.flow-button:hover,
.btn-primary.flow-button:focus-visible,
.about-button.flow-button:hover,
.about-button.flow-button:focus-visible,
.resume-download-button.flow-button:hover,
.resume-download-button.flow-button:focus-visible {
  color: var(--flow-button-hover-text) !important;
  border-color: transparent !important;
  border-radius: 12px !important;
  clip-path: inset(0 round 12px);
  background: var(--flow-button-background) !important;
}

.flow-button:active {
  transform: scale(0.96) !important;
}

.flow-button__label {
  position: relative;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  line-height: inherit;
  transform: none !important;
  translate: 0 0;
  transition: none !important;
}

.flow-button:hover .flow-button__label,
.flow-button:focus-visible .flow-button__label {
  transform: none !important;
  animation: flow-button-label-jiggle 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.flow-button__legacy-spacer {
  display: none;
}

.flow-button__fill {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--flow-button-fill);
  opacity: 0;
  transform: translate(-50%, -50%) !important;
  pointer-events: none;
  transition:
    width 740ms cubic-bezier(0.19, 1, 0.22, 1),
    height 740ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 420ms cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.flow-button:hover .flow-button__fill,
.flow-button:focus-visible .flow-button__fill {
  width: max(18rem, 180%);
  height: max(18rem, 180%);
  opacity: 1;
}

.flow-button__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex !important;
  width: 1rem;
  height: 1rem;
  color: currentColor;
  transform: translateY(-50%);
  pointer-events: none;
  transition:
    left 560ms cubic-bezier(0.34, 1.56, 0.64, 1),
    right 560ms cubic-bezier(0.34, 1.56, 0.64, 1),
    color 520ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.flow-button__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-button__arrow--enter {
  left: -25%;
}

.flow-button__arrow--exit {
  right: var(--flow-button-arrow-offset);
}

.flow-button:hover .flow-button__arrow--enter,
.flow-button:focus-visible .flow-button__arrow--enter {
  left: var(--flow-button-arrow-offset);
  animation: flow-button-arrow-jiggle 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.flow-button:hover .flow-button__arrow--exit,
.flow-button:focus-visible .flow-button__arrow--exit {
  right: -25%;
}

.flow-button--icon-only {
  display: inline-grid !important;
  place-items: center;
  padding: 0 !important;
}

.flow-button--icon-only > svg,
.flow-button__icon {
  position: relative;
  z-index: 2;
}

.flow-button--icon-only .flow-button__fill {
  width: 0.8rem;
  height: 0.8rem;
}

.flow-button--icon-only:hover .flow-button__fill,
.flow-button--icon-only:focus-visible .flow-button__fill {
  width: 5.75rem;
  height: 5.75rem;
}

.flow-button.resume-download-button::before {
  z-index: 3;
}

.flow-button[aria-busy="true"] .flow-button__fill {
  opacity: 0;
}

@media (hover: none), (pointer: coarse) {
  .flow-button,
  .button.flow-button,
  .btn-primary.flow-button,
  .about-button.flow-button,
  .resume-download-button.flow-button {
    color: var(--flow-button-hover-text) !important;
    border-color: transparent !important;
    border-radius: 12px !important;
    clip-path: inset(0 round 12px);
  }

  .flow-button__label {
    transform: none !important;
    translate: 0 0;
  }

  .flow-button__fill {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .flow-button__arrow--enter {
    left: var(--flow-button-arrow-offset) !important;
  }

  .flow-button__arrow--exit {
    right: -25% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-button,
  .flow-button * {
    transition-duration: 1ms !important;
  }

  .flow-button__label,
  .flow-button:hover .flow-button__label,
  .flow-button:focus-visible .flow-button__label {
    animation: none !important;
    transform: none !important;
    translate: 0 0 !important;
  }

  .flow-button__arrow--enter {
    display: none;
  }

  .flow-button__arrow--exit {
    right: var(--flow-button-arrow-offset) !important;
  }
}

@keyframes flow-button-arrow-jiggle {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  42% {
    transform: translateY(-50%) translateX(4px);
  }

  66% {
    transform: translateY(-50%) translateX(-1.5px);
  }

  84% {
    transform: translateY(-50%) translateX(0.75px);
  }
}

@keyframes flow-button-label-jiggle {
  0%,
  100% {
    translate: 0 0;
  }

  42% {
    translate: 4px 0;
  }

  66% {
    translate: -1.5px 0;
  }

  84% {
    translate: 0.75px 0;
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.038;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--motion-duration) var(--ease),
    transform var(--motion-duration) var(--ease);
  transition-delay: calc(var(--motion-index, 0) * var(--motion-stagger));
  will-change: opacity, transform;
}

.motion-ready .motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hidden-page-main {
  display: grid;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}

.hidden-page-section {
  width: 100%;
  padding-block: clamp(1.5rem, 6svh, 3rem);
}

.hidden-page-shell {
  display: grid;
  gap: 1.5rem;
  max-width: min(100% - 3rem, 112rem);
}

.hidden-page-shell h1 {
  max-width: none;
  color: var(--primary);
  font-family: var(--serif-family);
  font-size: clamp(4.25rem, 8vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

.hidden-page-shell > p:not(.smallcaps) {
  max-width: 62rem;
  color: var(--ink);
  font-family: var(--serif-family);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.45;
}

.site-shell {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.narrow,
.prose-shell {
  width: min(100% - 3rem, 48rem);
}

.smallcaps,
.brand-lockup,
.primary-nav,
.footer-links,
.breadcrumbs,
.book-line > span {
  color: var(--smallcaps-color);
  font-family: var(--smallcaps-family);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0;
  font-weight: 600;
  font-size: var(--smallcaps-size);
  line-height: 1.1;
}

.top-rule {
  height: var(--line-width);
  background: var(--line-warm);
}

.site-header > .top-rule {
  height: 2px;
  background: rgba(71, 85, 105, 0.22);
  opacity: 0.26;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 246, 0.86);
  border-bottom: var(--line-width) solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 4rem;
}

.brand-lockup,
.primary-nav,
.footer-links {
  display: flex;
  align-items: center;
}

.brand-lockup {
  color: var(--walnut);
}

.primary-nav,
.footer-links {
  flex-wrap: wrap;
  gap: 1rem;
}

.primary-nav a,
.footer-links a,
.breadcrumbs a,
.article-links a {
  position: relative;
}

.primary-nav a::after,
.footer-links a::after,
.breadcrumbs a::after,
.article-links a::after {
  position: absolute;
  right: 0;
  bottom: -0.18rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms var(--ease);
}

.primary-nav a:hover::after,
.footer-links a:hover::after,
.breadcrumbs a:hover::after,
.article-links a:hover::after {
  transform: scaleX(1);
}

.page-hero {
  border-bottom: var(--line-width) solid var(--line);
  padding-block: 5rem 4.25rem;
}

.page-hero.compact {
  padding-block: 4.5rem 3.75rem;
}

.page-hero.compact.genre-hero {
  padding-block: 2.45rem 2.4rem;
}

@media (min-width: 761px) {
  .emblem-hero .hero-composition > div {
    position: relative;
    top: 0.15rem;
  }

  .about-hero .hero-composition {
    align-items: start;
  }

  .about-hero .hero-composition > div {
    padding-top: 1.33rem;
  }
}

.emblem-hero {
  padding-block: 5rem calc(5rem - var(--line-width));
}

.hero-composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem);
  align-items: center;
  gap: 4rem;
}

.about-hero .hero-composition {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, var(--portrait-size));
}

.kicker {
  margin-bottom: var(--eyebrow-heading-gap);
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--oxblood);
  font-family: var(--serif-family);
  font-variation-settings: "opsz" 144;
  letter-spacing: 0;
}

h1 {
  max-width: 50rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 0.98;
}

.review-title-block h1 {
  font-size: clamp(2.65rem, 6vw, 4.8rem);
}

.deck {
  max-width: 44rem;
  margin-top: 1.35rem;
  color: var(--ink);
  font-family: var(--body-family);
  font-size: clamp(1.15rem, 2vw, 1.34rem);
  line-height: 1.58;
}

.about-deck > * + * {
  margin-top: 1rem;
}

.archive-mark {
  justify-self: center;
  width: min(100%, 16rem);
}

.archive-mark img {
  width: 100%;
  filter: drop-shadow(0 10px 18px rgba(16, 24, 32, 0.1));
}

.about-portrait {
  width: var(--portrait-width);
  max-width: var(--portrait-width);
}

.about-portrait .plate {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-portrait .plate-inner {
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.about-portrait .plate-inner img {
  display: block;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  border: 1px solid var(--surface-border);
  border-radius: 4px;
  object-fit: cover;
  object-position: 50% 35%;
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.12);
  filter: none;
}

.plate {
  position: relative;
  padding: 0.55rem;
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 var(--surface-highlight), 0 18px 48px rgba(71, 85, 105, 0.08);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.plate-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  line-height: 0;
}

.plate-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.92) contrast(1.03);
}

.archive-mark figcaption {
  margin-top: 1rem;
  text-align: center;
}

.section {
  padding-block: 4rem 2rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 32rem;
}

.genre-hero + .section {
  padding-block: 1.4rem 0.65rem;
}

.genre-grid,
.review-grid,
.featured-grid {
  display: grid;
  gap: 1rem;
}

.genre-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.genre-hero + .section .review-grid {
  gap: 0.85rem;
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 1.35rem;
}

.section-intro h2,
.related-reviews h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-intro p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.genre-card,
.review-card,
.featured-card {
  min-height: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 var(--surface-highlight);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: transform 200ms var(--ease), border-color 200ms ease, box-shadow 200ms var(--ease);
}

.genre-card:hover,
.review-card:hover,
.featured-card:hover,
.genre-card:focus-visible,
.review-card:focus-visible,
.featured-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.genre-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
}

.genre-card h2 {
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.05;
}

.genre-card p {
  color: var(--muted);
  font-weight: 700;
}

.review-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.35rem;
}

.genre-hero + .section .review-card {
  gap: 0.6rem;
  padding: 1rem;
}

.featured-card {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 1.35rem;
}

.review-card h2,
.featured-card h3 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.16;
}

.featured-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.card-link {
  display: inline-flex;
  align-items: center;
  align-self: end;
  gap: 0.35rem;
  color: var(--link);
  font-weight: 700;
}

.card-link span,
.article-links a span[aria-hidden="true"],
.related-reviews a span[aria-hidden="true"] {
  display: inline-block;
  line-height: 1;
  transform: translateY(0.02em);
  transition: transform 180ms var(--ease);
}

.featured-card:hover .card-link span,
.featured-card:focus-visible .card-link span,
.article-links a:hover span[aria-hidden="true"],
.article-links a:focus-visible span[aria-hidden="true"],
.related-reviews a:hover span[aria-hidden="true"],
.related-reviews a:focus-visible span[aria-hidden="true"] {
  transform: translate(4px, 0.02em);
}

.author,
.author-line,
.book-line {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.star-rating {
  display: inline-flex;
  align-items: center;
  color: var(--star-gold);
}

.star-icons {
  display: inline-flex;
  gap: 0.14rem;
}

.star {
  width: 1.15rem;
  height: 1.15rem;
  overflow: visible;
  transition: opacity 260ms var(--ease), transform 300ms var(--ease);
}

.text-generation-star-pending {
  opacity: 0;
  transform: translateY(0.08rem) scale(0.78);
}

.text-generation-star-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.star-fill {
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.star-base {
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.35;
  opacity: 0.58;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-article {
  padding-block: 3rem 5rem;
}

.about-article {
  padding-block: 1rem 2.6rem;
}

.about-section {
  padding-block: 2.4rem;
  border-bottom: var(--line-width) solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 24rem;
}

.about-section:last-child {
  border-bottom: 0;
  padding-bottom: 1rem;
}

.about-section > h2:first-child {
  margin-top: 0;
}

.about-actions {
  margin-top: 1.5rem;
}

.about-button,
.prose a.about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.65rem;
  padding: 0.95rem 1.45rem;
  border-radius: 5px;
  color: #ffffff;
  background: var(--oxblood);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}

.about-button span {
  display: inline-block;
  line-height: 1;
  transition: transform 180ms var(--ease);
}

.about-button:hover span,
.about-button:focus-visible span {
  transform: translateX(4px);
}

.resume-article {
  padding-block: 3rem calc(4rem - 40px);
}

.resume-shell {
  width: min(100% - 3rem, 54rem);
}

.resume-title-header {
  padding-bottom: 1.1rem;
}

.resume-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.thesis-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.thesis-heading-row h1 {
  flex: 1 1 auto;
}

.resume-title-header h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.resume-download-button {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-top: 0.35rem;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  color: var(--oxblood);
  background: var(--surface-strong);
  background-clip: padding-box;
  box-shadow: none;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    transform 180ms var(--ease);
}

.resume-download-button svg {
  width: 1.32rem;
  height: 1.32rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: opacity 160ms var(--ease);
}

.resume-download-button::before {
  position: absolute;
  width: 1.18rem;
  height: 1.18rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 160ms var(--ease), transform 160ms var(--ease);
  animation: download-spin 760ms linear infinite;
  animation-play-state: paused;
}

.resume-download-button[aria-busy="true"]::before {
  opacity: 1;
  transform: scale(1);
  animation-play-state: running;
}

.resume-download-button[aria-busy="true"] svg {
  opacity: 0;
}

@keyframes download-spin {
  to {
    transform: scale(1) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .resume-download-button::before {
    animation: none;
  }
}

.resume-download-button:hover,
.resume-download-button:focus-visible {
  color: var(--paper-raised);
  background: var(--oxblood);
  border-color: var(--oxblood);
  transform: translateY(-1px);
}

.resume-download-button:active {
  transform: translateY(0);
}

.resume-download-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.resume-pdf-export-root {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 816px;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
  pointer-events: none;
  visibility: visible;
}

.resume-pdf-export-root,
.resume-pdf-export-root * {
  visibility: visible;
}

.thesis-pdf-export-root {
  position: fixed;
  top: 0;
  left: -10000px;
  width: 816px;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: visible;
  pointer-events: none;
  visibility: visible;
}

.thesis-pdf-export-root,
.thesis-pdf-export-root * {
  visibility: visible;
}

.thesis-pdf-page {
  position: relative;
  width: 816px;
  height: 1056px;
  overflow: hidden;
  padding: 2.7rem 3.05rem 2.65rem;
  background: #fff;
}

.thesis-pdf-page-number {
  position: absolute;
  top: 1rem;
  right: 3.05rem;
  font-size: 0.94rem;
  line-height: 1.46;
  color: var(--ink);
}

.thesis-pdf-page .review-title-block {
  padding-bottom: 1.05rem;
}

.thesis-pdf-page .review-title-block h1 {
  font-family: var(--serif-family);
  font-variation-settings: normal;
  font-size: 2.85rem;
  line-height: 1;
}

.thesis-pdf-page .prose {
  padding-top: 0;
  content-visibility: visible;
}

.thesis-pdf-page .prose > * + * {
  margin-top: 0.82rem;
}

.thesis-pdf-page .prose h3,
.thesis-pdf-page .prose h4 {
  font-family: var(--serif-family);
  font-variation-settings: normal;
  font-size: 1.62rem;
}

.thesis-pdf-page .prose p,
.thesis-pdf-page .prose li,
.thesis-pdf-page .prose blockquote {
  font-size: 0.94rem;
  line-height: 1.46;
}

.thesis-pdf-page .prose ul {
  padding-left: 1rem;
}

.thesis-pdf-export-root .motion-item {
  opacity: 1;
  transform: none;
  transition: none;
}

.thesis-pdf-export-root .prose a.inline-link::after,
.thesis-pdf-export-root .prose a.hover-link::after {
  display: none;
}

.resume-pdf-page {
  position: relative;
  width: 816px;
  height: 1056px;
  overflow: hidden;
  padding: 3.1rem 3.25rem 2.85rem;
  background: #fff;
}

.resume-pdf-page .resume-title-header {
  padding-bottom: 1.15rem;
}

.resume-pdf-page .resume-title-header h1 {
  font-size: 5rem;
  line-height: 0.95;
}

.resume-pdf-page .resume-section {
  padding-block: 0;
  border-bottom: 0;
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.resume-pdf-export-root .motion-item {
  opacity: 1;
  transform: none;
  transition: none;
}

.resume-pdf-page .resume-section + .resume-section {
  margin-top: 2.15rem;
  padding-top: 1.75rem;
  border-top: var(--line-width) solid var(--line);
}

.resume-pdf-page .resume-section h2 {
  margin-bottom: 0.95rem;
  font-family: var(--serif-family);
  font-variation-settings: normal;
  font-size: 3rem;
  line-height: 1;
}

.resume-pdf-page .resume-section h3 {
  font-family: var(--serif-family);
  font-variation-settings: normal;
}

.resume-pdf-page .resume-entry {
  padding-block: 0;
  border-top: 0;
}

.resume-pdf-page .resume-entry + .resume-entry {
  margin-top: 1.05rem;
}

.resume-pdf-page .resume-entry-heading {
  gap: 1.15rem;
}

.resume-pdf-page .resume-role,
.resume-pdf-page .resume-meta,
.resume-pdf-page .resume-summary {
  font-size: 0.98rem;
  line-height: 1.42;
}

.resume-pdf-page .resume-summary {
  margin-top: 0.38rem;
}

.resume-pdf-page .coursework-groups,
.resume-pdf-page .resume-two-column {
  gap: 1.05rem;
  margin-top: 0.78rem;
}

.resume-pdf-page .coursework-stack {
  gap: 0.92rem;
}

.resume-pdf-page .coursework-group ul,
.resume-pdf-page .resume-two-column ul,
.resume-pdf-page .resume-bullets,
.resume-pdf-page .resume-tag-list {
  margin-top: 0.36rem;
  font-size: 0.98rem;
  line-height: 1.42;
}

.resume-pdf-page .resume-bullets {
  margin-top: 0.55rem;
}

.resume-pdf-contact {
  position: absolute;
  right: 3.25rem;
  bottom: 2.45rem;
  left: 3.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem 1.4rem;
  padding-top: 0.75rem;
  border-top: var(--line-width) solid var(--line);
}

.resume-pdf-contact-link {
  display: flex;
  gap: 0.32rem;
  align-items: baseline;
  min-width: 0;
  color: var(--oxblood);
  font-family: var(--body-family);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.resume-pdf-contact-link span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.resume-pdf-contact-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 700;
}

.resume-pdf-page-work .resume-entry + .resume-entry {
  margin-top: 1.2rem;
  padding-top: 0;
}

.resume-section {
  padding-block: 1.9rem;
  border-bottom: var(--line-width) solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 28rem;
}

.resume-section:last-of-type {
  border-bottom: 0;
}

.resume-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.resume-section h3,
.resume-entry h3 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.16;
}

.resume-section h4 {
  color: var(--oxblood);
  font-family: var(--smallcaps-family);
  font-variant: small-caps;
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: var(--smallcaps-size);
  font-weight: 600;
  line-height: 1.1;
}

.resume-entry {
  padding-block: 1.15rem;
  border-top: var(--line-width) solid var(--line);
}

.resume-entry:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.resume-entry-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 1.5rem;
  align-items: baseline;
}

.resume-role,
.resume-meta,
.resume-summary {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.resume-role {
  margin-top: 0.22rem;
  color: var(--walnut);
  font-weight: 700;
}

.resume-meta {
  text-align: right;
}

.resume-summary {
  margin-top: 0.48rem;
}

.coursework-groups,
.resume-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.coursework-stack {
  display: grid;
  gap: 1.15rem;
}

.coursework-group ul,
.resume-two-column ul,
.resume-bullets,
.resume-tag-list {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.58;
}

.resume-bullets {
  margin-top: 0.7rem;
}

.resume-tag-list {
  columns: 1;
}

.resume-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.review-title-block {
  padding-bottom: 2.4rem;
  border-bottom: var(--line-width) solid var(--line);
}

.review-title-block .star-rating {
  margin-top: 1.25rem;
}

.book-line {
  margin-top: 1.25rem;
}

.book-line > span {
  margin-right: 0.45rem;
}

.book-line cite {
  color: var(--ink);
  font-style: italic;
}

.author-line {
  margin-top: 0.25rem;
}

.prose {
  padding-top: 2.35rem;
  color: var(--ink);
  font-family: var(--body-family);
  font-size: 1.08rem;
  line-height: 1.78;
}

.thesis-abstract,
.thesis-contents {
  padding-bottom: 2rem;
  border-bottom: var(--line-width) solid var(--line);
}

.thesis-abstract h2,
.thesis-contents h2 {
  color: var(--oxblood);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.thesis-abstract p {
  margin-top: 1rem;
}

.thesis-contents ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

.thesis-contents li + li {
  margin-top: 0;
}

.thesis-contents a,
.back-to-top a,
.contact-detail-list a,
.related-reviews a {
  display: inline-block;
  width: fit-content;
  position: relative;
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
  text-decoration-line: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: center 100%;
  background-size: 0 1px;
  border-bottom: 0;
  box-shadow: none;
  transition: background-size 180ms var(--ease);
}

.back-to-top a::after,
.contact-detail-list a::after,
.related-reviews a::after {
  content: "";
  display: none;
}

.back-to-top a:hover::after,
.contact-detail-list a:hover::after,
.related-reviews a:hover::after {
  display: none;
}

.thesis-contents a::after {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.16em;
  content: "";
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H3v10h10v-3'/%3E%3Cpath d='M9 3h4v4'/%3E%3Cpath d='M13 3 7 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H3v10h10v-3'/%3E%3Cpath d='M9 3h4v4'/%3E%3Cpath d='M13 3 7 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(0.06em);
  transition: transform 180ms var(--ease);
}

.thesis-contents a:hover::after {
  transform: translate(1px, -1px);
}

.thesis-contents a:hover,
.back-to-top a:hover,
.contact-detail-list a:hover,
.related-reviews a:hover {
  background-size: 100% 1px;
}

.back-to-top {
  margin-top: 2rem;
}

.prose > * + * {
  margin-top: 1.25rem;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5 {
  margin-top: 2rem;
  color: var(--oxblood);
  font-size: 1.65rem;
  line-height: 1.18;
}

.prose blockquote {
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-style: italic;
}

.prose pre {
  margin: 1.35rem 0 0;
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  background: var(--surface);
  font-family: var(--interface-family);
  font-size: 1rem;
  line-height: 1.72;
  white-space: pre-wrap;
}

.prose pre code {
  font: inherit;
}

.prose ul,
.prose ol {
  margin: 0;
  padding-left: 1.35rem;
}

.prose #works-cited + ul {
  margin-top: 1.25rem;
}

.thesis-pdf-page .prose #works-cited + ul {
  margin-top: 0.82rem;
}

.prose li + li {
  margin-top: 0.72rem;
}

.prose a {
  color: var(--link);
  text-decoration: none;
}

.prose a:not(.about-button):not(.inline-link):not(.hover-link) {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: center 100%;
  background-size: 0 1px;
  transition: background-size 180ms var(--ease);
}

.prose a:not(.about-button):not(.inline-link):not(.hover-link):hover {
  background-size: 100% 1px;
}

.prose .thesis-contents a,
.prose .back-to-top a,
.prose .contact-detail-list a,
.prose .related-reviews a {
  background-image: linear-gradient(currentColor, currentColor);
}

.prose .article-links a {
  background-image: none;
}

.prose .thesis-abstract h2,
.prose .thesis-contents h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.prose .thesis-contents a,
.prose .back-to-top a {
  color: var(--link);
  text-decoration: none;
}

.prose .thesis-contents ul {
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

.article-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.related-reviews a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.prose a.inline-link,
.prose a.hover-link {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: center 100%;
  background-size: 0 1px;
  text-decoration: none;
  transition: background-size 180ms var(--ease);
}

.prose a.inline-link {
  color: var(--link);
  font-weight: 700;
  white-space: nowrap;
}

.prose a.hover-link {
  color: var(--link);
}

.prose a.inline-link::after,
.prose a.hover-link::after {
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.16em;
  content: "";
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H3v10h10v-3'/%3E%3Cpath d='M9 3h4v4'/%3E%3Cpath d='M13 3 7 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H3v10h10v-3'/%3E%3Cpath d='M9 3h4v4'/%3E%3Cpath d='M13 3 7 9'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(0.06em);
  transition: transform 180ms var(--ease);
}

.prose a.inline-link:hover,
.prose a.hover-link:hover {
  background-size: 100% 1px;
}

.prose a.inline-link:hover::after,
.prose a.hover-link:hover::after {
  transform: translate(1px, -1px);
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: var(--line-width) solid var(--line);
  color: var(--link);
  font-weight: 700;
}

.related-reviews {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: var(--line-width) solid var(--line);
}

.related-reviews ul {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.related-reviews p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.about-section .article-links a::after {
  bottom: -0.02rem;
  background: currentColor;
}

.about-section .article-links {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}

.contact-page {
  padding-block: 3rem 2.1rem;
}

.contact-title-block {
  padding-bottom: 2rem;
}

.contact-detail-list {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.contact-detail-list a {
  background-image: linear-gradient(currentColor, currentColor);
}

.contact-detail-list p {
  color: var(--muted);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.tutoring-fields {
  display: grid;
  gap: 1rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.tutoring-fields[hidden] {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--walnut);
  font-weight: 700;
}

.contact-form label > span {
  color: var(--walnut);
  font-family: var(--smallcaps-family);
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: var(--smallcaps-size);
  line-height: 1.1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--surface-border);
  border-radius: 5px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--surface-strong);
  font: inherit;
  box-shadow: inset 0 1px 0 var(--surface-highlight);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .about-button {
  border: 0;
  box-shadow: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 1px 0 var(--surface-highlight), 0 0 0 1px rgba(200, 78, 0, 0.18);
}

.site-footer {
  margin-top: 1rem;
  border-bottom: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
}

@media print {
  @page {
    size: letter;
    margin: 0.5in;
  }

  html,
  body {
    min-width: 0;
    color: var(--ink);
    background: #fff;
    background-attachment: scroll;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .grain,
  .site-header,
  .site-footer,
  .resume-download-button,
  .resume-nav {
    display: none !important;
  }

  .resume-article {
    padding-block: 0;
  }

  .resume-shell {
    width: 100%;
    max-width: none;
  }

  .resume-title-header {
    padding-bottom: 1rem;
  }

  .resume-heading-row {
    display: block;
  }

  .resume-entry,
  .coursework-group,
  .resume-two-column > div {
    break-inside: avoid-page;
    page-break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .motion-ready .motion-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .genre-grid,
  .review-grid,
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero .hero-composition {
    grid-template-columns: 1fr;
    gap: 2.7rem;
  }

  .archive-mark {
    width: min(15rem, 72vw);
  }

  .about-portrait {
    width: var(--portrait-width);
    max-width: var(--portrait-width);
  }
}

@media (max-width: 760px) {
  .site-shell,
  .narrow,
  .prose-shell {
    width: min(100% - 2rem, 42rem);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .site-header .brand-lockup {
    display: none;
  }

  .site-footer .footer-inner > p {
    display: none;
  }

  .page-hero,
  .page-hero.compact {
    padding-block: 3.4rem;
  }

  .page-hero.compact.genre-hero {
    padding-block: 2.2rem 2.6rem;
  }

  .hero-composition {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .emblem-hero .hero-composition {
    gap: 3.4rem;
  }

  .emblem-hero {
    padding-bottom: calc(3.4rem - 1px);
  }

  .archive-mark {
    justify-self: center;
  }

  .deck,
  .genre-card p,
  .review-card p,
  .author,
  .author-line,
  .book-line,
  .prose p,
  .prose blockquote,
  .about-deck p,
  .about-section > p {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
  }

  .article-links,
  .breadcrumbs {
    text-align: left;
  }

  .about-article {
    padding-block: 0.5rem 2.2rem;
  }

  .about-section {
    padding-block: 2rem;
  }

  .about-actions {
    text-align: left;
  }

  .resume-article {
    padding-block: 2.35rem calc(3.25rem - 40px);
  }

  .resume-shell {
    width: min(100% - 2rem, 42rem);
  }

  .resume-pdf-export-root {
    width: 816px;
    max-width: none;
  }

  .thesis-pdf-export-root {
    width: 816px;
    max-width: none;
  }

  .resume-section {
    padding-block: 1.65rem;
  }

  .resume-entry {
    padding-block: 1.05rem;
  }

  .resume-entry-heading,
  .coursework-groups,
  .resume-two-column,
  .resume-nav,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .resume-entry-heading {
    gap: 0.45rem;
  }

  .resume-meta {
    text-align: left;
  }

  .resume-summary,
  .resume-entry li {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
  }

  .genre-grid,
  .review-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .genre-card {
    min-height: 10.5rem;
  }

  .review-article {
    padding-block: 2.35rem 4rem;
  }

  .contact-page {
    padding-block: 2.35rem 1.8rem;
  }

}

.resume-pdf-export-root .resume-entry-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 1.15rem;
  align-items: baseline;
}

.resume-pdf-export-root .coursework-groups,
.resume-pdf-export-root .resume-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resume-pdf-export-root .resume-meta {
  text-align: right;
}

.resume-pdf-export-root .resume-summary,
.resume-pdf-export-root .resume-entry li {
  text-align: left;
  text-align-last: auto;
  hyphens: none;
}

.web-studio-hero .deck {
  max-width: 48rem;
}

.web-studio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}

.web-studio-local-nav {
  margin-top: 1.45rem;
  padding-top: 1rem;
}

.web-studio-page .featured-grid,
.web-studio-card-grid,
.web-studio-feature-list,
.web-studio-process-list {
  margin-top: 1.35rem;
}

.web-studio-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.web-studio-card {
  min-width: 0;
}

.web-studio-card h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  font-weight: 600;
  line-height: 1.12;
  overflow-wrap: break-word;
  hyphens: auto;
}

.web-studio-card p {
  overflow-wrap: break-word;
}

.web-studio-feature-list,
.web-studio-process-list {
  display: grid;
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.35rem;
}

.web-studio-faq-section .faq-list {
  max-width: 58rem;
  margin-inline: auto;
}

.web-studio-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: var(--line-width) solid var(--line);
}

.web-studio-feature-row h3,
.web-studio-process-step h3 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.16;
}

.web-studio-feature-row p,
.web-studio-process-step p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.web-studio-process-step {
  padding: 1.35rem;
}

.web-studio-process-step .smallcaps {
  margin-bottom: 0.85rem;
}

.faq-item {
  display: block;
  min-height: 0;
  padding: 0 1.35rem;
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  background: var(--surface);
  background-clip: padding-box;
  box-shadow: inset 0 1px 0 var(--surface-highlight);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: transform 200ms var(--ease), border-color 200ms ease, box-shadow 200ms var(--ease);
}

.faq-item::marker {
  content: "";
  font-size: 0;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.faq-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.16;
  list-style: none;
}

.faq-trigger::marker {
  content: "";
  font-size: 0;
}

.web-studio-faq-section .faq-trigger {
  font-family: var(--interface-family);
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 0.28rem;
  border-radius: 3px;
}

.faq-icon {
  position: relative;
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--walnut);
}

.faq-icon-line {
  position: absolute;
  width: 0.72rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.faq-icon-line-vertical {
  transform: rotate(90deg);
}

.faq-item[open] .faq-icon-line-vertical {
  opacity: 0;
  transform: rotate(90deg) scaleY(0);
}

.faq-answer {
  padding-bottom: 1.35rem;
}

.faq-answer p {
  margin-top: 0.85rem;
  color: var(--ink);
  font-family: var(--body-family);
  font-size: 1.03rem;
  line-height: 1.72;
}

.faq-item[open] .faq-answer {
  animation: faq-answer-in 180ms var(--ease);
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-0.2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.web-studio-inquiry-form {
  margin-top: 1.35rem;
}

@media (max-width: 980px) {
  .web-studio-feature-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .web-studio-card-grid {
    grid-template-columns: 1fr;
  }

  .web-studio-hero-actions {
    flex-direction: column;
  }

  .web-studio-hero-actions .about-button {
    width: 100%;
  }
}
