/* Биография как интервью, проекты как иллюстрированный указатель работ. */
.interview-cover {
  padding: clamp(30px, 5vw, 80px) 0;
  background: #f4e2e4;
  color: #321724;
}
.interview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(36px, 7vw, 124px);
  align-items: center;
}
.interview-intro { min-width: 0; }
.interview-cover .section-kicker, .service-page .section-kicker {
  margin: 0 0 18px;
  color: #762645;
  font: 650 13px/1.4 var(--sans, Golos, sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.interview-intro h1 {
  color: #321724;
  font: 400 clamp(52px, 6.8vw, 106px)/.99 var(--display);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.interview-role { margin: 16px 0 0; color: #593341; font-size: 16px; }
.interview-quote {
  max-width: 32ch;
  margin: clamp(22px, 3vw, 44px) 0 8px;
  font: 400 clamp(23px, 2.3vw, 36px)/1.22 var(--display);
  letter-spacing: -.022em;
}
.interview-work-link, .access-guest, .work-open {
  display: inline-flex;
  gap: 10px;
  min-height: 44px;
  align-items: center;
  color: #772845;
  font: 650 15px/1.45 var(--sans, Golos, sans-serif);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.interview-work-link { margin-top: 12px; }
.interview-work-link span { font-weight: 450; }
.interview-portrait { margin: 0; width: 100%; }
.interview-portrait img {
  width: 100%;
  height: auto;
  max-height: 540px;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: 50% 39%;
}
.interview-portrait figcaption, .work-gallery figcaption {
  padding-top: 8px;
  color: #694d57;
  font-size: 13px;
  line-height: 1.46;
}
.author-story, .author-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: clamp(32px, 7vw, 120px);
}
.author-story { padding-block: clamp(46px, 6.5vw, 95px); }
.author-story h2, .author-reading h2, .work-header h2 {
  font: 400 clamp(38px, 4.4vw, 64px)/1.04 var(--display);
  letter-spacing: -.04em;
}
.author-story p { max-width: 65ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.62; }
.author-story p + p { margin-top: 16px; }
.portfolio-edition { padding: clamp(44px, 6vw, 90px) 0; border-top: 1px solid var(--line); }
.work-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
  gap: clamp(24px, 8vw, 128px);
  align-items: end;
  margin-bottom: clamp(24px, 3.5vw, 52px);
}
.work-header p { max-width: 50ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.work-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) clamp(25px, 4vw, 62px); }
.project-card.work-entry {
  min-width: 0;
  display: block;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.work-entry:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr minmax(0, .85fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(26px, 4vw, 60px);
}
.work-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7%;
  aspect-ratio: 16 / 9;
  padding: 5% 8%;
  background: #efe1e5;
  overflow: hidden;
}
.work-entry:nth-child(3n+2) .work-stage { background: #e6e5ef; }
.work-entry:nth-child(3n+3) .work-stage { background: #dce8e8; }
.work-stage a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.work-stage img { width: 100%; height: 100%; object-fit: contain; }
.work-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  background: #fffbf6;
  color: #542839;
  font: 600 12px/1.4 var(--sans, Golos, sans-serif);
}
.work-zoom .i { width: 15px; height: 15px; }
.work-stage-mobile a { width: auto; }
.work-stage-mobile img { width: auto; }
.work-copy { padding-top: 15px; }
.work-meta {
  color: #752b48;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.work-entry h3 {
  margin: 7px 0 11px;
  color: #321724;
  font: 400 clamp(26px, 2.65vw, 44px)/1.09 var(--display);
  letter-spacing: -.035em;
}
.work-summary, .work-notes { font-size: 16px; line-height: 1.58; }
.work-notes { margin-top: 14px; border-block: 1px solid var(--line); }
.work-notes summary, .legal-edition summary { cursor: pointer; font-weight: 600; }
.work-notes summary { padding: 11px 0; }
.work-notes ul { margin: 3px 0 14px; padding-left: 20px; }
.work-notes p { margin: 10px 0 15px; color: var(--muted); }
.work-open { margin: 5px 0 0; }
.author-reading { padding: clamp(42px, 5.5vw, 82px) 0; background: #f1e6e1; }
.author-reading ul { list-style: none; border-top: 1px solid #ba9ea9; }
.author-reading li { border-bottom: 1px solid #ba9ea9; }
.author-reading li a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
  color: #482337;
  font-size: clamp(18px, 1.7vw, 24px);
  text-decoration: none;
}
.author-reading li a:hover { text-decoration: underline; }
.lightbox::backdrop { background: rgba(28, 11, 22, .94); }
.lightbox-figure img { border-radius: 0; }

/* Прикладные страницы сохраняют ту же бумагу, антикву и спокойные поля. */
.page.service-page { padding: clamp(32px, 5.5vw, 86px) 0 clamp(44px, 6.4vw, 98px); }
.access-edition, .recovery-edition, .checkout-shell {
  --column-gap: clamp(30px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  gap: var(--column-gap);
  align-items: start;
}
.access-edition { max-width: 1060px; border-top: 1px solid var(--line); padding-top: clamp(28px, 3.5vw, 56px); }
.access-edition .auth-card { order: initial; }
.service-page h1 {
  color: #321724;
  font: 400 clamp(44px, 5.4vw, 80px)/1.02 var(--display);
  letter-spacing: -.045em;
}
.access-edition .auth-intro h1 { margin: 0 0 15px; }
.access-edition .auth-intro > p, .recovery-edition > div > p, .service-message > p {
  max-width: 45ch;
  color: #614d55;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.54;
}
.access-guest { margin-top: 22px; }
.service-page .auth-card, .service-page .form-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid #dec7ce;
  border-radius: 2px;
  background: #fffcf9;
  box-shadow: none;
}
.access-edition .auth-tabs {
  display: flex;
  gap: 21px;
  margin: 0 0 24px;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid #dccbd0;
  background: transparent;
}
.access-edition .auth-tabs button {
  min-height: 44px;
  margin: 0 0 -1px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.access-edition .auth-tabs .active { color: #802143; border-bottom-color: #92254b; }
.service-page .field { margin-bottom: 16px; }
.service-page .field input {
  min-width: 0;
  width: 100%;
  border: 1px solid #b8a2aa;
  border-radius: 3px;
  background: #fffdfa;
}
.service-page .form-error:empty { margin: 0; min-height: 0; }
.service-page .recovery-help { padding: 10px 0 0; }
.access-edition .auth-forgot form { background: #f4eaeb; border-radius: 2px; }
.service-page .button.ghost { border-color: #bba4ac; }
.recovery-edition { max-width: 1060px; }
.recovery-edition h1, .checkout-summary h1 { margin: 12px 0 16px; }
.checkout-shell { padding-top: 25px; }
.checkout-summary .support-note { overflow-wrap: anywhere; }
.checkout-card { text-align: left; }
.checkout-pending { display: grid; justify-items: stretch; gap: 12px; }
.checkout-pending .plain-button { justify-self: start; }
.checkout-shell .checkout-state { color: #705c64; font-size: 14px; }
.checkout-state strong { display: block; margin: 4px 0; color: #321724; font-size: 22px; line-height: 1.35; }
.checkout-summary .checkout-amount { color: #742342; }
.checkout-summary .checkout-amount small { display: inline-block; margin-left: 4px; }
.service-message { max-width: 750px; }
.service-message h1 { margin: 0 0 18px; }
.service-message > .button, .service-message .course-search { margin-top: 25px; }
.service-message .course-search { padding: 0; border: 0; background: none; }
.service-message .course-found li a { border-radius: 0; }
.legal.legal-edition { max-width: 1080px; }
.legal-edition h1 { max-width: 19ch; margin-bottom: 25px; }
.legal-edition .notice {
  max-width: 82ch;
  padding: 12px 16px;
  border: 0;
  border-left: 3px solid #9e516a;
  border-radius: 0;
  background: #f4e9eb;
  color: #593b47;
}
.legal-spread { display: grid; grid-template-columns: minmax(180px, .58fr) minmax(0, 1.5fr); gap: clamp(30px, 6vw, 94px); margin-top: 38px; }
.legal-spread nav { align-self: start; position: sticky; top: calc(var(--header-h) + 26px); }
.legal-spread nav details { border-block: 1px solid var(--line); }
.legal-spread nav summary { padding: 12px 0; color: #522d40; }
.legal-spread nav ul { list-style: none; padding: 0; margin: 0 0 12px; }
.legal-spread nav li { font-size: 14px; line-height: 1.35; }
.legal-spread nav li a { display: inline-block; padding: 5px 0; color: #692a43; }
.legal-copy h2 { margin: 30px 0 12px; font: 400 clamp(27px, 2.6vw, 38px)/1.13 var(--display); letter-spacing: -.026em; }
.legal-copy > h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: #49363e; }
.legal-course-index { margin-block: 12px; padding: 10px 14px; border: 1px solid var(--line); }
.legal-course-index ul { margin-top: 12px; }
.completion-edition .cert-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #c8aeb9;
  border-top: 8px solid #92254b;
  border-radius: 0;
  background: #fffaf5;
  box-shadow: none;
}
.completion-edition .cert-brand {
  color: #842a4b;
  font: 600 28px/1 var(--display);
  letter-spacing: -.03em;
  text-transform: none;
}
.completion-edition .cert-name { font-family: var(--display); font-weight: 500; }
.completion-edition .cert-actions { justify-content: start; }

@media (max-width: 799px) {
  .interview-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .68fr); gap: 24px; }
  .interview-intro h1 { font-size: clamp(39px, 7vw, 57px); }
  .interview-quote { font-size: 23px; }
  .author-story, .author-reading-layout, .work-header, .work-entry:first-child { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .work-entry:first-child { display: block; }
  .legal-spread { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-top: 24px; }
  .legal-spread nav { position: static; }
  .access-edition, .recovery-edition, .checkout-shell { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .access-edition { max-width: 570px; }
  .access-guest { margin-top: 5px; }
}

@media (max-width: 560px) {
  .interview-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .interview-intro h1 { font-size: clamp(43px, 10vw, 59px); }
  .interview-portrait img { width: 100%; max-height: 315px; aspect-ratio: 4 / 3; object-position: 50% 31%; }
  .interview-role { margin-top: 10px; }
  .interview-quote { margin: 14px 0 0; }
  .interview-work-link { margin-top: 3px; }
  .work-index { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .work-entry:first-child { border: 0; padding: 0; }
  .work-copy { padding-top: 10px; }
  .access-edition { padding-top: 0; border-top: 0; gap: 12px; }
  .access-edition .auth-intro > p { font-size: 16px; }
  .access-edition .auth-intro h1 { margin-bottom: 10px; }
  .service-page .auth-card, .service-page .form-card { padding: 20px 16px; }
}
