@font-face {
  font-family: Ilce Manrope;
  src: url("/__lora/assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Ilce Manrope;
  src: url("/__lora/assets/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.ilce-case {
  --ilce-paper: #f8f2e9;
  --ilce-plum: #2c2031;
  --ilce-cream: #fff3dc;
  --ilce-muted: #634f54;
  --ilce-gutter: clamp(18px, 5vw, 76px);
  --ilce-content: 1180px;
  --ilce-section-space: clamp(42px, 7vw, 105px);
  background: var(--ilce-plum);
}
.ilce-case::after { content: none; }
.ilce-case main { padding-inline: 0; background: var(--background); }
.ilce-wrap {
  width: min(var(--ilce-content), calc(100% - 2 * var(--ilce-gutter)));
  margin-inline: auto;
}
.ilce-article {
  background: var(--ilce-paper);
  color: var(--ilce-plum);
  font: 500 1rem/1.6 "Ilce Manrope", Arial, sans-serif;
}
.ilce-article figure { margin: 0; }
.ilce-article :is(img, video) { display: block; max-width: 100%; }
.ilce-article h2 {
  font-size: clamp(2.1rem, 4.7vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -.052em;
  font-weight: 800;
  text-wrap: balance;
}

.ilce-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(490px, 48vw, 660px);
  overflow: clip;
  border-end-start-radius: var(--panel-radius);
  border-end-end-radius: var(--panel-radius);
  background: var(--ilce-plum);
  color: var(--ilce-cream);
}
.ilce-hero-photo, .ilce-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.ilce-hero-photo { object-fit: cover; object-position: center 53%; }
.ilce-hero::after {
  background:
    linear-gradient(180deg, var(--background), transparent 19%, #26192916 34%, #211828e8),
    linear-gradient(90deg, #211828ce, transparent 74%);
  content: "";
}
.ilce-hero-copy { padding-block: 48px clamp(38px, 6vw, 80px); }
.ilce-hero h1 {
  margin-inline-start: -.055em;
  font-size: clamp(6.7rem, 15vw, 13.5rem);
  line-height: .87;
  letter-spacing: -.085em;
  font-weight: 800;
}
.ilce-hero p {
  margin-top: clamp(24px, 2.85vw, 41px);
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.ilce-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(22px, 6.5vw, 92px);
  padding-block: var(--ilce-section-space);
}
.ilce-intro h2 { max-width: 13ch; }
.ilce-intro p {
  max-width: 48ch;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  color: var(--ilce-muted);
  text-wrap: pretty;
}

.ilce-ui {
  scroll-margin-top: calc(var(--page-gutter) + 52px);
  padding-block: var(--ilce-section-space);
  background: linear-gradient(180deg, var(--ilce-paper), #eedfd2 42%, #f0e2d6 66%, var(--ilce-paper));
}
.ilce-ui h2 { text-align: center; }
.ilce-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  margin: clamp(32px, 5vw, 68px) 0 0;
  padding: 0;
  list-style: none;
}
.ilce-screen {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  justify-items: center;
  row-gap: clamp(15px, 2.5vw, 31px);
}
.ilce-screen img {
  align-self: end;
  width: clamp(150px, 17vw, 226px);
  height: auto;
  filter: drop-shadow(0 10px 15px #301c2937);
}
.ilce-screen:nth-child(2) img { width: clamp(160px, 18vw, 244px); }
.ilce-screen > div {
  width: min(100%, 30ch);
  padding-block-start: 16px;
  border-block-start: 1px solid #6d4e4c40;
}
.ilce-screen h3 {
  font-size: clamp(1.16rem, 1.9vw, 1.55rem);
  line-height: 1.16;
  letter-spacing: -.045em;
}
.ilce-screen p { margin-top: 8px; color: var(--ilce-muted); text-wrap: pretty; }

.ilce-brand { padding-block: var(--ilce-section-space); }
.ilce-brand-layout, .ilce-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}
.ilce-brand h2, .ilce-demo h2 {
  font-size: clamp(1.95rem, 4.15vw, 3.75rem);
}
.ilce-copy p {
  max-width: 38ch;
  margin-top: 16px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  text-wrap: pretty;
}
.ilce-brand p { color: var(--ilce-muted); }
.ilce-flyers img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  background: #e9d8c7;
}
.ilce-article .ilce-palette { margin-top: clamp(24px, 4vw, 52px); }
.ilce-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ilce-swatches img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; }
.ilce-palette figcaption { margin-top: 11px; color: var(--ilce-muted); font-size: .85rem; }

.ilce-demo {
  padding-block: var(--ilce-section-space);
  border-start-start-radius: var(--panel-radius);
  border-start-end-radius: var(--panel-radius);
  background: var(--ilce-plum);
  color: var(--ilce-cream);
}
.ilce-demo p { color: #edddd5; }
.ilce-demo video {
  width: 100%;
  height: auto;
  background: #201626;
  border-radius: 5px;
}
.ilce-case-ending {
  --gutter: var(--ilce-gutter);
  --case-content-width: var(--ilce-content);
  --case-end: var(--ilce-plum);
  --case-next-ink: var(--ilce-cream);
  --case-next-hover: #ffc98d;
  --case-next-font: var(--serif);
}

@media (max-width: 760px) {
  .ilce-hero { min-height: clamp(430px, 88vw, 570px); }
  .ilce-hero-photo { object-position: 63% center; }
  .ilce-hero::after {
    background: linear-gradient(180deg, var(--background), transparent 25%, #24192c12 33%, #211828f5);
  }
  .ilce-intro, .ilce-brand-layout, .ilce-demo-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ilce-intro { gap: 16px; }
  .ilce-screens { gap: 19px; }
  .ilce-screen img, .ilce-screen:nth-child(2) img { width: min(100%, 158px); }
}

@media (max-width: 540px) {
  .ilce-ui h2 { text-align: left; }
  .ilce-screens { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ilce-screen {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    grid-template-rows: auto;
    grid-row: auto;
    align-items: center;
    gap: clamp(12px, 4vw, 23px);
  }
  .ilce-screen + .ilce-screen {
    border-block-start: 1px solid #6d4e4c40;
    padding-block-start: 22px;
  }
  .ilce-screen > div { padding: 0; border: 0; justify-self: start; }
  .ilce-screen p { font-size: .94rem; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-ilce-reveal].ilce-arrived { animation: ilce-appear .48s var(--ease) both; }
  @keyframes ilce-appear {
    from { opacity: .8; transform: translateY(9px); }
    to { opacity: 1; transform: none; }
  }
}
