@font-face {
  font-family: EntreesEditorial;
  src: url("/__lora/assets/lora-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: EntreesEditorial;
  src: url("/__lora/assets/lora-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: EntreesText;
  src: url("/__lora/assets/golos-text-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: EntreesText;
  src: url("/__lora/assets/golos-text-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.en-case {
  --en-paper: #fbf3e7;
  --en-ink: #32231c;
  --en-muted: #664c3f;
  --en-tomato: #923d2d;
  --en-gutter: clamp(16px, 5vw, 64px);
  --en-content-width: 1120px;
  --en-serif: EntreesEditorial, Georgia, serif;
  --en-sans: EntreesText, Arial, sans-serif;
  --case-contact-fill: var(--en-tomato);
  --case-contact-ink: #fff7f1;
  --case-contact-tone: #733d31;
  margin: 0;
  background: var(--en-paper);
  color: var(--en-ink);
  font-family: var(--en-sans);
  line-height: 1.5;
}

.en-case *, .en-case *::before, .en-case *::after { box-sizing: border-box; }
.en-case :is(h1,h2,p,figure) { margin: 0; }
.en-case img { display: block; max-width: 100%; }
.en-case :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.en-wrap { width: min(var(--en-content-width), calc(100% - 2 * var(--en-gutter))); margin-inline: auto; }

.en-case::after { content: none; }
.en-case main { padding-inline: 0; background: var(--background); }
.en-case article { background: var(--en-paper); }
.en-case :is(.site-header, .case-toolbar, .site-footer) { font: 400 1rem/1.5 var(--sans); }

.en-intro {
  padding-block-start: clamp(29px, 5vw, 68px);
  text-align: center;
}
.en-intro h1 {
  max-width: 19ch;
  margin-inline: auto;
  font: 500 clamp(39px, 6.5vw, 88px)/1.02 var(--en-serif);
  letter-spacing: -.068em;
  text-wrap: balance;
}
.en-intro h1 span { color: var(--en-tomato); }
.en-case .en-lede {
  max-width: 42ch;
  margin: clamp(15px, 2.1vw, 31px) auto 0;
  color: var(--en-muted);
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.55;
}
.en-case .en-intro-photo { margin-block-start: clamp(26px, 4.4vw, 62px); }
.en-intro-photo img, .en-article-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #d9b59d;
  border-radius: 8px;
}
.en-intro-photo img { aspect-ratio: 2.05; object-position: center 46%; }

.en-story {
  max-width: 820px;
  margin-inline: auto;
  padding-block: clamp(38px, 6vw, 82px) clamp(42px, 6.8vw, 86px);
}
.en-story section { scroll-margin-top: calc(var(--page-gutter) + 52px); }
.en-story section + section { margin-block-start: clamp(49px, 6vw, 82px); }
.en-story section:focus-visible { outline: none; }
.en-story section:focus-visible > h2 {
  text-decoration: underline 1px var(--en-tomato);
  text-underline-offset: .15em;
}
.en-story h2 {
  margin-block-end: clamp(13px, 1.9vw, 25px);
  color: var(--en-ink);
  font: 500 clamp(29px, 4.25vw, 53px)/1.07 var(--en-serif);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.en-story p {
  max-width: 68ch;
  color: var(--en-muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
}
.en-story p + p { margin-block-start: .9em; }
.en-story .en-opening {
  margin-block-end: clamp(30px, 4.4vw, 60px);
  color: var(--en-ink);
  font: 450 clamp(19px, 2.1vw, 25px)/1.5 var(--en-serif);
  letter-spacing: -.017em;
}
.en-case .en-article-photo { margin-block: clamp(20px, 3.4vw, 40px); }
.en-article-photo img { aspect-ratio: 1.68; }

.en-devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  gap: clamp(18px, 4vw, 44px);
  margin-block-start: clamp(22px, 4vw, 43px);
  padding: clamp(18px, 4vw, 40px);
  border-radius: 8px;
}
.en-devices-pick { background: #f0e2d4; }
.en-devices-cook { background: #edd7c9; }
.en-devices-plan { background: #e9e8d4; }
.en-devices figure { width: min(100%, 240px); text-align: center; }
.en-devices img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1446;
  filter: drop-shadow(0 5px 8px #3a261e2c);
}
.en-devices figcaption {
  margin-block-start: 13px;
  color: var(--en-muted);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 550;
}
.en-case-ending {
  --gutter: var(--en-gutter);
  --case-content-width: var(--en-content-width);
  --case-end: var(--en-paper);
  --case-next-ink: var(--en-ink);
  --case-next-hover: var(--en-tomato);
  --case-next-font: var(--serif);
}

@media (prefers-reduced-motion: no-preference) {
  :root:has(.en-case) { scroll-behavior: smooth; }
  @supports (animation-timeline: view()) {
    .en-story :is(.en-article-photo,.en-devices) {
      animation: entrees-article-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes entrees-article-reveal {
      from { opacity: .72; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}

@media (max-width: 530px) {
  .en-intro-photo img { aspect-ratio: 1.38; }
}
@media (max-width: 430px) {
  .en-devices { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .en-devices figure { width: min(100%, 55vw, 221px); }
}
