/*
Theme Name: Mohammed Chahrour 2026
Theme URI: https://mohammedchahrour.de/
Author: Mohammed Chahrour
Description: Eigenständiges redaktionelles WordPress-Theme für Mohammed Chahrour.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: mohammed-chahrour
*/

:root {
  --white: #ffffff;
  --ink: #171716;
  --muted: #5f5f5a;
  --rust: #a6422b;
  --rust-dark: #843321;
  --acid: #dce534;
  --line: #d9d9d4;
  --max: 1440px;
  color-scheme: only light;
}

/* Legal pages: breathing room between sections. */
.page-id-13 .legal-content > h2,
.page-id-15 .legal-content > h2 {
  margin-top: 44px;
  margin-bottom: 18px;
}

.page-id-13 .legal-content > h2:first-child {
  margin-top: 0;
}

.page-id-15 .legal-content > p:first-child + h2 {
  margin-top: 28px;
}

.page-id-13 .legal-content > p,
.page-id-15 .legal-content > p,
.page-id-15 .legal-content > ul,
.page-id-15 .legal-content > ul li {
  font-size: 15px;
  line-height: 1.68;
}

.page-id-13 .legal-content > p + p,
.page-id-15 .legal-content > p + p {
  margin-top: 16px;
}

.page-id-15 .legal-content > ul {
  margin-block: 18px 22px;
  color: var(--muted);
}

.page-id-15 .legal-content > ul li + li {
  margin-top: 6px;
}

@media (max-width: 600px) {
  .page-id-13 .legal-content > h2,
  .page-id-15 .legal-content > h2 {
    margin-top: 34px;
    margin-bottom: 15px;
  }

  .page-id-15 .legal-content > p:first-child + h2 {
    margin-top: 24px;
  }
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: #ffffff !important;
  color-scheme: only light;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #ffffff !important;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  display: none !important;
  content: none !important;
}

body.admin-bar .site-header {
  top: 32px;
}

.wp-content > :first-child {
  margin-top: 0;
}

.wp-content > :last-child {
  margin-bottom: 0;
}

.wp-content h2,
.wp-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
}

.wp-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

img,
svg {
  display: block;
}

em {
  font-style: normal;
  color: var(--rust);
}

.site-canvas,
.page-shell,
.page-main,
.hero,
.about-section,
.topics-section,
.formats-section,
.site-header,
.site-footer {
  background: #ffffff !important;
  background-image: none !important;
}

.site-canvas {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 86px;
  padding-inline: max(32px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--line);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--rust);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 17px;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.desktop-nav a,
.header-contact {
  position: relative;
  padding-block: 10px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--rust);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 730;
  border-bottom: 1px solid var(--ink);
}

.hero,
.section {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: min(820px, calc(100vh - 86px));
  padding-block: clamp(70px, 8vw, 116px) 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.62fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(64px, 8vw, 132px);
  border-bottom: 1px solid var(--ink);
}

.hero-statement {
  align-self: center;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-title {
  max-width: 980px;
  margin: 0;
  font-size: clamp(68px, 7.7vw, 120px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-intro {
  align-self: center;
  padding-top: 46px;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.58;
}

.hero-question {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 590;
  letter-spacing: -0.025em;
  line-height: 1.23;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.button {
  min-height: 48px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  transition: background 160ms ease, color 160ms ease;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--rust);
  border-color: var(--rust);
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 7px 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 730;
  line-height: 1.35;
}

.text-link svg {
  width: 15px;
  height: 15px;
}

.hero-status {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: clamp(80px, 9vw, 130px);
  padding-top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 1px var(--ink);
}

.status-separator {
  margin-left: auto;
}

.section {
  padding-block: clamp(92px, 10vw, 150px);
}

.about-section {
  width: 100%;
  margin-inline: 0;
  padding-inline: max(32px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(500px, 1.18fr);
  gap: clamp(54px, 8vw, 128px);
  border-bottom: 1px solid rgba(23, 23, 22, 0.22);
  background: var(--acid) !important;
  background-image: none !important;
}

.about-portrait {
  margin: 0;
  padding: 0 30px 0 0;
  align-self: start;
}

.about-image-frame {
  position: relative;
  isolation: isolate;
}

.about-image-frame::before {
  position: absolute;
  z-index: 0;
  top: 28px;
  right: -28px;
  bottom: -28px;
  left: 28px;
  background: var(--rust);
  content: "";
}

.about-image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(590px, 57vw, 790px);
  object-fit: cover;
  object-position: center 58%;
  outline: 1px solid rgba(23, 23, 22, 0.24);
  outline-offset: -1px;
}

.about-portrait figcaption {
  margin-top: 48px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.045em;
}

.about-section .vita-list,
.about-section .vita-list-expanded,
.about-section .vita-item,
.about-section .vita-more {
  border-color: rgba(23, 23, 22, 0.22);
}

.about-copy h2,
.section-heading h2,
.bkf-banner h2,
.work-intro h2,
.contact-section h2,
.page-intro h1 {
  margin: 0;
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 680;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.about-copy > p:not(.kicker):not(.about-lead) {
  margin: 0;
  color: var(--muted);
  max-width: 740px;
}

.about-lead {
  max-width: 730px;
  margin: 42px 0 21px;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 480;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.vita-list {
  margin-top: 52px;
  border-top: 1px solid var(--ink);
}

.vita-item {
  padding-block: 20px;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.vita-item > span {
  padding-top: 2px;
  color: var(--rust);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vita-item h3,
.vita-item p {
  margin: 0;
}

.vita-item h3 {
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
}

.vita-item h3 a:hover,
.vita-item h3 a:focus-visible {
  color: var(--rust);
}

.vita-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.vita-more {
  border-bottom: 1px solid var(--ink);
}

.vita-more summary {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 740;
}

.vita-more summary::-webkit-details-marker {
  display: none;
}

.vita-more summary i {
  font-size: 22px;
  font-style: normal;
  font-weight: 300;
  transition: transform 180ms ease;
}

.vita-more[open] summary i {
  transform: rotate(45deg);
}

.vita-list-expanded {
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.about-links {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.topics-section,
.formats-section {
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 34px 80px;
  align-items: end;
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.section-heading h2 {
  max-width: 970px;
}

.heading-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.topics-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.topic-card {
  min-height: 680px;
  padding: 28px 34px 32px 0;
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
}

.topic-card + .topic-card {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.topic-number,
.format-number,
.work-index {
  color: var(--rust);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.topic-card h3 {
  margin: 58px 0 22px;
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 670;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.topic-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tag-list {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff !important;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.topic-resources {
  margin-top: auto;
  padding-top: 44px;
}

.topic-resources > p {
  margin: 0 0 6px;
  color: var(--rust);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-resources a {
  position: relative;
  padding: 15px 27px 14px 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.topic-resources a:last-child {
  border-bottom: 1px solid var(--line);
}

.topic-resources a > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.035em;
}

.topic-resources strong {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.38;
}

.topic-resources i {
  position: absolute;
  top: 50%;
  right: 2px;
  font-style: normal;
  transform: translateY(-50%);
}

.topic-resources a:hover strong,
.topic-resources a:focus-visible strong {
  color: var(--rust);
}

.topic-project-feature {
  position: relative;
  min-height: 260px;
  margin-top: 34px;
  padding: 34px 38px 34px 330px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(200px, 0.48fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 32px;
  background: var(--rust);
  color: var(--white);
}

.topic-project-feature figure {
  position: absolute;
  inset: 0 auto 0 0;
  width: 290px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
}

.topic-project-feature figure::after {
  position: absolute;
  inset: 0;
  background: rgba(166, 66, 43, 0.08);
  content: "";
}

.topic-project-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) saturate(0.97);
}

.topic-project-label {
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.topic-project-copy h3,
.topic-project-copy p {
  margin: 0;
}

.topic-project-copy h3 {
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
}

.topic-project-copy p {
  max-width: 620px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.topic-project-credit {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  letter-spacing: 0.015em;
  line-height: 1.45;
}

.topic-project-link {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 740;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.topic-project-link i {
  font-style: normal;
}

.format-list {
  margin-top: 70px;
  border-top: 1px solid var(--ink);
}

.format-row {
  min-height: 166px;
  padding-block: 25px;
  display: grid;
  grid-template-columns: 44px 104px minmax(235px, 0.95fr) minmax(280px, 1.15fr) minmax(190px, 0.68fr);
  align-items: center;
  gap: clamp(18px, 2.5vw, 42px);
  border-bottom: 1px solid var(--line);
  background: #ffffff !important;
}

.format-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.format-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: #ffffff !important;
  color: var(--ink);
  transition: color 160ms ease, border-color 160ms ease;
}

.format-icon svg {
  width: 47px;
  height: 47px;
}

.format-row:hover .format-icon {
  color: var(--rust);
  border-color: var(--rust);
}

.format-title p,
.format-title h3,
.format-description,
.format-audience {
  margin: 0;
}

.format-title p {
  margin-bottom: 7px;
  color: var(--rust);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.format-title h3 {
  font-size: clamp(24px, 2.35vw, 35px);
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.format-description,
.format-audience {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
}

.format-audience {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.bkf-banner {
  width: 100%;
  margin: 0;
  padding: clamp(68px, 7vw, 105px) max(32px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(62px, 9vw, 150px);
  background: var(--acid) !important;
}

.bkf-banner .kicker {
  color: var(--ink);
}

.bkf-banner h2 {
  max-width: 680px;
  font-size: clamp(40px, 4.5vw, 67px);
}

.bkf-banner-copy {
  padding-top: 30px;
}

.bkf-banner-copy > p {
  max-width: 710px;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}

.bkf-banner-copy .text-link {
  margin-top: 28px;
}

.work-section {
  width: 100%;
  padding-inline: max(32px, calc((100vw - var(--max)) / 2));
  background: var(--ink) !important;
  color: var(--white);
  border: 0;
}

.kicker-light {
  color: var(--acid);
}

.work-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.work-intro h2 {
  max-width: 940px;
}

.light-link {
  flex: 0 0 auto;
  padding-block: 7px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 730;
}

.work-list {
  margin-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.work-item {
  position: relative;
  min-height: 166px;
  padding-block: 26px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 220px 34px;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 180ms ease, padding-inline 180ms ease;
}

.work-item:hover,
.work-item:focus-visible {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.work-index {
  color: var(--acid);
}

.work-content p,
.work-content h3,
.work-content > span {
  margin: 0;
}

.work-content p {
  color: var(--acid);
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-content h3 {
  margin-top: 8px;
  font-size: clamp(25px, 3vw, 43px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.work-content > span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.book-object {
  width: 112px;
  height: 144px;
  padding: 10px 8px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #453a32;
  color: var(--acid);
  box-shadow: 7px 8px 0 rgba(0, 0, 0, 0.32);
  transform: rotate(3deg);
}

.book-object span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.book-object small {
  color: #b4cde4;
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
}

.work-arrow {
  justify-self: end;
  font-size: 22px;
}

.contact-section {
  width: 100%;
  padding: clamp(82px, 9vw, 138px) max(32px, calc((100vw - var(--max)) / 2)) 46px;
  background: var(--rust) !important;
  color: var(--white);
}

.contact-section .kicker-light {
  color: var(--white);
}

.contact-section h2 {
  max-width: 1110px;
  font-size: clamp(48px, 6.4vw, 95px);
}

.contact-copy {
  max-width: 670px;
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.contact-mail {
  width: fit-content;
  margin-top: 46px;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  font-size: clamp(19px, 2.3vw, 33px);
  font-weight: 620;
  letter-spacing: -0.02em;
}

.contact-meta {
  margin-top: clamp(80px, 9vw, 130px);
  padding-top: 23px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  min-height: 120px;
  padding: 32px max(32px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(280px, 1fr) auto;
  align-items: center;
  gap: 34px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 17px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.site-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.045em;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 17px 24px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--rust);
}

/* Subpages */

.page-main {
  width: min(calc(100% - 64px), 1180px);
  margin-inline: auto;
  padding-bottom: clamp(80px, 9vw, 130px);
}

.page-intro {
  padding-block: clamp(80px, 9vw, 132px) 62px;
  border-bottom: 1px solid var(--ink);
}

.page-intro h1 {
  max-width: 1000px;
  font-size: clamp(60px, 8.4vw, 122px);
}

.page-intro-copy {
  max-width: 720px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 19px;
}

.page-intro-copy p {
  margin: 0;
}

.entry-list {
  border-bottom: 1px solid var(--ink);
}

.entry-row {
  min-height: 138px;
  padding-block: 28px;
  display: grid;
  grid-template-columns: 100px minmax(260px, 0.95fr) minmax(250px, 1fr) 28px;
  align-items: start;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: #ffffff !important;
}

.entry-row:last-child {
  border-bottom: 0;
}

.entry-year,
.entry-type {
  color: var(--rust);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.entry-row h2,
.entry-row p {
  margin: 0;
}

.entry-row h2 {
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 660;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.entry-row p {
  color: var(--muted);
  font-size: 13px;
}

.entry-row > svg {
  width: 20px;
  height: 20px;
  justify-self: end;
}

.entry-row:hover h2,
.entry-row:focus-visible h2 {
  color: var(--rust);
}

.legal-content {
  max-width: 830px;
  padding-top: 55px;
}

.legal-content section {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2,
.legal-content p {
  margin: 0;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.legal-content p + p {
  margin-top: 13px;
}

.legal-content p {
  color: var(--muted);
  font-size: 14px;
}

.legal-content a {
  color: var(--rust);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-intro {
    max-width: 720px;
    margin-top: 60px;
    padding-top: 0;
  }

  .hero-status {
    grid-column: 1;
    margin-top: 80px;
  }

  .about-section {
    grid-template-columns: minmax(280px, 0.72fr) minmax(400px, 1fr);
    gap: 50px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .topic-card,
  .topic-card + .topic-card {
    min-height: 0;
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .topic-card:last-child {
    border-bottom: 0;
  }

  .topic-card h3 {
    max-width: 650px;
    margin-top: 28px;
  }

  .topic-card > p {
    max-width: 720px;
  }

  .topic-resources {
    max-width: 720px;
    margin-top: 16px;
  }

  .format-row {
    grid-template-columns: 44px 88px minmax(0, 1fr) minmax(260px, 0.9fr);
  }

  .format-audience {
    grid-column: 3 / -1;
  }

  .bkf-banner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bkf-banner-copy {
    padding-top: 0;
  }

  .work-item {
    grid-template-columns: 50px minmax(0, 1fr) 145px 28px;
  }

  .book-object {
    width: 94px;
    height: 124px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

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

@media (max-width: 820px) {
  .hero,
  .section,
  .page-main {
    width: min(calc(100% - 40px), var(--max));
  }

  .site-header,
  .work-section,
  .contact-section,
  .site-footer,
  .bkf-banner {
    padding-inline: 20px;
  }

  .hero-title {
    font-size: clamp(55px, 12vw, 86px);
  }

  .about-section {
    width: 100%;
    padding-inline: 20px;
    grid-template-columns: 1fr;
  }

  .about-portrait {
    width: min(100%, 570px);
    padding: 0 24px 0 0;
  }

  .about-image-frame::before {
    top: 22px;
    right: -22px;
    bottom: -22px;
    left: 22px;
  }

  .about-image-frame img {
    height: min(760px, 122vw);
  }

  .about-portrait figcaption {
    margin-top: 40px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading .kicker {
    margin-bottom: -6px;
  }

  .topic-project-feature {
    padding: 220px 25px 28px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .topic-project-feature figure {
    width: 100%;
    height: 190px;
  }

  .topic-project-link {
    width: fit-content;
  }

  .format-row {
    padding-block: 25px;
    grid-template-columns: 38px 76px minmax(0, 1fr);
    gap: 18px;
  }

  .format-icon {
    width: 68px;
    height: 68px;
  }

  .format-icon svg {
    width: 39px;
    height: 39px;
  }

  .format-description,
  .format-audience {
    grid-column: 3;
  }

  .work-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-item {
    grid-template-columns: 38px minmax(0, 1fr) 26px;
  }

  .book-object {
    display: none;
  }

  .contact-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .entry-row {
    grid-template-columns: 76px minmax(0, 1fr) 24px;
  }

  .entry-row p {
    grid-column: 2;
  }

  .entry-row > svg {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 74px;
    gap: 16px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 14px;
  }

  .header-contact {
    font-size: 11px;
  }

  .hero {
    min-height: 0;
    padding-top: 62px;
  }

  .hero-title {
    font-size: clamp(45px, 13vw, 68px);
    letter-spacing: -0.06em;
  }

  .hero-intro {
    margin-top: 48px;
  }

  .hero-status {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 64px;
  }

  .status-separator {
    width: 100%;
    margin-left: 20px;
  }

  .about-copy h2,
  .section-heading h2,
  .bkf-banner h2,
  .work-intro h2,
  .page-intro h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .vita-item {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
  }

  .topics-grid,
  .format-list,
  .work-list {
    margin-top: 50px;
  }

  .topic-card h3 {
    font-size: 30px;
  }

  .topic-project-feature {
    margin-inline: -20px;
  }

  .format-row {
    grid-template-columns: 31px 62px minmax(0, 1fr);
    gap: 12px;
  }

  .format-icon {
    width: 56px;
    height: 56px;
  }

  .format-icon svg {
    width: 32px;
    height: 32px;
  }

  .format-title h3 {
    font-size: 23px;
  }

  .format-description,
  .format-audience {
    grid-column: 2 / -1;
  }

  .bkf-banner {
    padding-block: 64px;
  }

  .work-section {
    padding-block: 76px;
  }

  .work-item {
    grid-template-columns: 31px minmax(0, 1fr) 23px;
    gap: 14px;
  }

  .work-item:hover,
  .work-item:focus-visible {
    padding-inline: 8px;
  }

  .work-content h3 {
    font-size: 25px;
  }

  .contact-section h2 {
    font-size: clamp(43px, 12vw, 62px);
  }

  .contact-mail {
    align-items: flex-start;
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-block: 30px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .page-intro {
    padding-top: 70px;
  }

  .entry-row {
    grid-template-columns: 1fr 22px;
    gap: 15px;
  }

  .entry-year,
  .entry-row h2,
  .entry-row p {
    grid-column: 1;
  }

  .entry-row > svg {
    grid-column: 2;
    grid-row: 1;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
