@font-face {
  font-family: Arimo;
  src: url("fonts/Arimo.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url("fonts/PlayfairDisplay-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --bone: #faf9f6;
  --forest: #17261c;
  --mist: #eef1ed;
  --lime: #dceb9b;
  --lavender: #b8c6ff;
  --muted: #536157;
  --serif: Playfair, Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--forest);
  font: 400 18px/1.47 Arimo, Helvetica, Arial, sans-serif;
}
h1, h2, h3, p, ul, dl, dd, blockquote { margin: 0; }
h1, h2, h3 {
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.05em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
em { font-family: var(--serif); font-weight: 400; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #52683c; outline-offset: 4px; }
[id] { scroll-margin-top: 20px; }
.skip-link {
  position: absolute;
  left: 12px;
  top: 4px;
  transform: translateY(-150%);
  background: var(--forest);
  color: var(--bone);
  border-radius: 16px;
  padding: 10px 16px;
}
.skip-link:focus { transform: none; }
.top {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(18px, 4vw, 60px);
}
.top nav { display: flex; gap: clamp(18px, 4vw, 58px); font-size: 15px; }
.top a { display: inline-flex; align-items: center; min-height: 44px; }
.top a:hover { color: var(--muted); }
.mark { font-size: 18px; letter-spacing: -.035em; }
main { max-width: 1370px; margin: auto; padding: clamp(32px,5vw,76px) clamp(20px,5vw,75px) 90px; }
.back, .action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 99px;
  padding: 8px 17px;
  background: var(--mist);
  font-size: 16px;
}
.action { background: var(--lime); font-weight: 600; }
.back:hover, .action:hover { background: #e0e7d6; }
.essay-intro {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr);
  align-items: center;
  gap: clamp(32px,4.5vw,75px);
}
.essay h1 { font-size: clamp(48px,4.75vw,69px); margin: 30px 0; max-width: 20ch; }
.notes, .case-photo, .formats-head img { display: block; width: 100%; object-fit: cover; }
.notes {
  height: clamp(250px,31vw,410px);
  border-radius: 26px 110px 26px 26px;
  object-position: 45% center;
  filter: saturate(.65) contrast(.95);
}
.column { max-width: 66ch; margin: clamp(42px,6vw,82px) auto 0; font-size: clamp(19px,1.55vw,23px); line-height: 1.55; }
.column > * + *, .column .prose > * + *, .content-card > * + * { margin-top: 1.15em; }
.column .lead { font: italic 400 clamp(27px,2.7vw,38px)/1.22 var(--serif); }
.column ul, .case-body ul, .answer ul { padding-left: 1.25em; }
.column li { padding: .18em 0; }
.column blockquote {
  background: var(--mist);
  border-radius: 20px;
  padding: clamp(18px,3vw,30px);
  font: italic 400 clamp(25px,2.5vw,35px)/1.22 var(--serif);
}
.column h2, .case-body h2 { font-size: clamp(28px,3vw,41px); }
.column h3 { font-size: clamp(22px,2.3vw,32px); }
.card-grid { display: grid; gap: 36px; }
.content-card { padding: clamp(18px,3vw,38px); background: var(--mist); border-radius: 24px; }
.result-pairs { display: grid; gap: 18px; }
.result-pair dt { font-weight: 600; }
.result-pair dd { color: var(--muted); }

.case-opening {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  min-height: 450px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--lavender);
}
.case-head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  padding: clamp(25px,4vw,64px);
}
.case-head .back { background: rgb(250 249 246 / .62); }
.case-head .back:hover { background: var(--bone); }
.logo { width: 66px; height: 66px; object-fit: contain; object-position: left center; }
.logo--perekrestok, .logo--shoko { width: min(205px, 100%); }
.case-head h1 { font-size: clamp(42px,4.6vw,64px); }
.case-photo { height: 100%; max-height: 580px; object-position: center 36%; border-radius: 115px 0 0 26px; }
.case-body { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(25px,7vw,100px); margin: clamp(36px,5vw,76px) 0; }
.case-body h2 { margin-bottom: 18px; }
.case-body section > :is(p,ul) + :is(p,ul) { margin-top: 15px; }

.formats {
  display: grid;
  grid-template-columns: minmax(0,.81fr) minmax(0,1.19fr);
  align-items: start;
  gap: clamp(30px,4vw,66px);
}
.formats-head h1 { font-size: clamp(46px,5.25vw,76px); margin: 26px 0 30px; }
.formats-head img { height: clamp(180px,23vw,320px); border-radius: 28px 28px 80px 28px; filter: saturate(.7); }
.offers { display: grid; gap: 12px; }
.offers details { background: var(--mist); border-radius: 23px; }
.offers details[open] { background: var(--lavender); }
.offers summary { padding: clamp(16px,2vw,28px); border-radius: inherit; cursor: pointer; list-style: none; }
.offers details[open] summary { padding-bottom: 16px; }
.offers summary::-webkit-details-marker { display: none; }
.offer-name { display: block; font-size: clamp(25px,2.55vw,37px); letter-spacing: -.04em; line-height: 1.12; }
.brief { display: block; margin-top: 9px; color: #334535; }
.answer { padding: 0 clamp(16px,2vw,28px) clamp(16px,2vw,28px); }
.answer p + p, .answer p + ul { margin-top: 8px; }
.answer .action { background: var(--bone); margin-top: 19px; }
.answer .action:hover { background: var(--lime); }

@media (max-width: 700px) {
  body { font-size: 17px; }
  .top nav { font-size: 14px; }
  .essay-intro, .case-opening, .case-body, .formats { grid-template-columns: minmax(0,1fr); }
  main { padding-top: 22px; }
  .essay-intro { gap: 0; }
  .essay h1 { font-size: clamp(35px,9.5vw,52px); margin: 23px 0; }
  .notes { height: clamp(120px,42vw,240px); border-radius: 20px 65px 20px 20px; }
  .column { margin-top: 30px; }
  .case-opening { min-height: 0; }
  .case-head { gap: 16px; padding: 22px; }
  .case-head h1 { font-size: clamp(36px,9vw,52px); }
  .logo { width: 48px; height: 48px; }
  .logo--perekrestok, .logo--shoko { width: 154px; }
  .case-photo { height: 50vw; max-height: 280px; border-radius: 48px 0 0 0; }
  .case-body { gap: 28px; }
  .formats { gap: 21px; }
  .formats-head h1 { font-size: clamp(39px,10vw,54px); margin: 20px 0; }
  .formats-head img { height: 134px; border-radius: 18px 18px 46px 18px; }
  .offers details { border-radius: 18px; }
  .offers summary { padding: 17px; }
  .answer { padding: 0 17px 17px; }
}
