:root {
  --ink: #202020;
  --muted: #686868;
  --paper: #fff;
  --night: #151515;
  --line: #dededb;
  --red: #e2473f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --page: 1280px;
  --measure: 66ch;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body.kasta-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.kasta-page main a,
.kasta-page main a:visited { color: var(--red); }

.kasta-page main img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff !important;
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.interview-hero {
  position: relative;
  min-height: min(700px, calc(100svh - 90px));
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: 67% center;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: min(calc(100% - (var(--gutter) * 2)), var(--page));
  min-height: inherit;
  margin-inline: auto;
  padding-block: clamp(68px, 10vh, 118px) clamp(58px, 8vh, 88px);
}

.hero-copy {
  width: 43%;
  max-width: 560px;
}

.interview-hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(44px, 3.8vw, 52px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-title-location,
.hero-title-quote {
  display: block;
  white-space: nowrap;
}

.hero-title-quote {
  margin-top: .12em;
  text-wrap: balance;
}

.hero-deck {
  max-width: 52ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}

.hero-byline {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  line-height: 1.45;
}

.article-intro,
.question,
.comments-section,
.portrait-gallery,
.editorial-photo {
  width: min(calc(100% - (var(--gutter) * 2)), var(--page));
  margin-inline: auto;
}

.article-intro {
  width: min(calc(100% - (var(--gutter) * 2)), 900px);
  padding-block: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.intro-copy { max-width: 70ch; }

.intro-copy p { margin: 0; }
.intro-copy p + p { margin-top: .9em; }

.intro-copy .intro-text {
  max-width: 66ch;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.46;
  text-wrap: pretty;
}

.intro-copy .intro-event {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.portrait-gallery {
  padding-block: clamp(38px, 6vw, 80px) clamp(78px, 9vw, 120px);
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.1vw, 16px);
}

.portrait-grid figure,
.editorial-photo { margin-block: 0; }

.portrait-grid figure { position: relative; margin-inline: 0; }

.portrait-grid img,
.editorial-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait-grid img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.portrait-grid figcaption {
  position: absolute;
  inset: auto 12px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

.editorial-photo {
  margin-top: 0;
  margin-bottom: clamp(88px, 11vw, 148px);
}

.editorial-photo img { background: #eee; }

.editorial-photo figcaption {
  max-width: var(--measure);
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.editorial-photo--portrait {
  width: min(calc(100% - (var(--gutter) * 2)), 780px);
}

.format-intro {
  width: min(calc(100% - (var(--gutter) * 2)), 760px);
  margin-inline: auto;
  padding-top: clamp(72px, 9vw, 116px);
}

.format-intro p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.format-intro h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.format-intro--feature {
  width: min(calc(100% - (var(--gutter) * 2)), 1120px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.questions { padding: clamp(44px, 6vw, 76px) 0 20px; }

.questions--feature {
  padding-block: 0;
  background: #f3f1ec;
}

.questions--feature-final { padding-bottom: clamp(70px, 9vw, 118px); }

.question {
  width: min(calc(100% - (var(--gutter) * 2)), 760px);
  padding-block: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.question:first-child {
  padding-top: 0;
  border-top: 0;
}

.question-body { min-width: 0; }

.question h2 {
  position: relative;
  max-width: 25ch;
  margin: 0 0 clamp(26px, 3vw, 38px);
  padding-left: 34px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.2;
  text-wrap: balance;
}

.question h2::before {
  content: "";
  position: absolute;
  top: .38em;
  left: 0;
  width: 15px;
  height: 16px;
  background: url("/legacy/sights-assets/penguin.svg") center / 15px 16px no-repeat;
}

.question h2::after {
  content: ":";
  position: absolute;
  top: .04em;
  left: 20px;
  color: var(--red);
  font-size: 1em;
  line-height: 1;
}

.answers {
  max-width: 70ch;
  margin-left: 34px;
}

.answer {
  padding-block: 14px;
}

.answer::after {
  display: table;
  clear: both;
  content: "";
}

.answer:first-child { padding-top: 0; }
.answer:last-child { padding-bottom: 0; }

.answer-name {
  display: inline;
  margin-right: .35em;
  color: var(--red);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.68;
  text-transform: uppercase;
}

.answer-name::after { content: ":"; }

.answer-text { display: inline; }

.answer-portrait { display: none; }

.answer-text {
  max-width: var(--measure);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.68;
  text-wrap: pretty;
}

.answer-text p { margin: 0; }
.questions--transcript .answer-text p:first-child { display: inline; }
.answer-text p + p { margin-top: 1em; }
.keep { white-space: nowrap; }

.questions--feature .question {
  width: min(calc(100% - (var(--gutter) * 2)), 1120px);
  padding-block: clamp(72px, 9vw, 124px);
  border-color: rgba(32, 32, 32, .18);
}

.questions--feature .question-body {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 680px);
  gap: clamp(46px, 7vw, 96px);
  align-items: start;
}

.questions--feature .question h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.17;
  text-wrap: pretty;
}

.questions--feature .answers {
  max-width: none;
  margin: 0;
}

.questions--feature .answer {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  padding-block: 30px;
  border-top: 1px solid rgba(32, 32, 32, .18);
}

.questions--feature .answer:first-child {
  padding-top: 0;
  border-top: 0;
}

.questions--feature .answer-name {
  display: block;
  margin: 0;
  padding-top: .22em;
  font-size: 13px;
  line-height: 1.4;
}

.questions--feature .answer-text { display: block; }

.interview-signoff {
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(32, 32, 32, .28);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.4;
}

.comments-section {
  width: min(calc(100% - (var(--gutter) * 2)), 960px);
  padding-block: clamp(58px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.comments-section h2 {
  margin: 0 0 34px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.source-note {
  max-width: var(--measure);
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.kasta-page :focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .interview-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-photo {
    position: relative;
    order: 2;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .hero-grid {
    order: 1;
    align-items: flex-start;
    min-height: 0;
    padding-block: clamp(52px, 8vw, 78px) clamp(44px, 6vw, 62px);
  }

  .hero-copy,
  .interview-hero h1 { width: 100%; max-width: 760px; }
}

@media (max-width: 760px) {
  body.kasta-page { font-size: 17px; }

  .hero-photo {
    order: 1;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    object-position: right center;
  }

  .hero-grid {
    order: 2;
    width: min(calc(100% - 40px), var(--page));
    padding-block: 32px 38px;
  }

  .interview-hero h1 {
    font-size: clamp(26px, 8.2vw, 40px);
    line-height: 1.05;
  }

  .hero-deck {
    max-width: none;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.48;
  }

  .hero-byline { margin-top: 20px; font-size: 12px; }

  .article-intro { padding-block: 50px 56px; }

  .intro-copy .intro-text {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.55;
  }

  .portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait-gallery { padding-block: 46px 82px; }
  .editorial-photo { margin-bottom: 92px; }

  .format-intro { padding-top: 64px; }
  .format-intro--feature { padding-bottom: 34px; }

  .questions { padding-top: 38px; }
  .questions--feature { padding-top: 0; }

  .question { padding-block: 54px; }

  .question h2 {
    max-width: none;
    margin-bottom: 22px;
    padding-left: 30px;
    font-size: clamp(22px, 5.9vw, 25px);
    letter-spacing: -.015em;
    line-height: 1.28;
    text-wrap: pretty;
  }

  .question h2::before {
    top: .38em;
    width: 15px;
    height: 16px;
  }

  .question h2::after {
    top: .05em;
    left: 19px;
  }

  .answers {
    margin-left: 30px;
  }

  .answer {
    padding-block: 13px;
  }

  .answer-name,
  .answer-text {
    font-size: 18px;
    line-height: 1.62;
  }

  .questions--feature .question-body {
    display: block;
  }

  .questions--feature .question h2 {
    margin-bottom: 34px;
  }

  .questions--feature .answers { margin-left: 30px; }

  .questions--feature .answer {
    display: block;
    padding-block: 26px;
  }

  .questions--feature .answer:first-child { padding-top: 0; }

  .questions--feature .answer-name {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .interview-signoff {
    margin-top: 34px;
    padding-top: 24px;
    font-size: 20px;
    line-height: 1.4;
  }

  .questions--feature .answer--first {
    display: flow-root;
  }

  .questions--feature .answer--first .answer-name {
    display: none;
  }

  .answer-portrait {
    position: relative;
    float: left;
    display: block;
    width: 116px;
    height: 150px;
    margin: 2px 16px 10px 0;
    overflow: hidden;
    background: #d9d6cf;
  }

  .answer-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
  }

  .answer-portrait::after {
    position: absolute;
    inset: auto 0 0;
    height: 46px;
    background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent);
    content: "";
    pointer-events: none;
  }

  .answer-portrait figcaption {
    position: absolute;
    z-index: 1;
    right: 9px;
    bottom: 7px;
    left: 9px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (max-width: 350px) {
  .interview-hero h1 { font-size: 7.25vw; }
  .keep { white-space: normal; }
}

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

@media print {
  .site-header,
  .site-footer,
  .comments-section,
  .hero-photo { display: none !important; }

  .interview-hero {
    min-height: auto;
    color: #000;
    background: #fff;
  }

  .hero-grid { display: block; padding: 2cm 0 1cm; }
  .hero-deck, .hero-byline { color: #333; }
  .question { break-inside: avoid; }
  .answer-text p { orphans: 3; widows: 3; }
}
