:root {
  color-scheme: dark;
  --paper: #15131b;
  --panel: #201c27;
  --ink: #f5f1fa;
  --muted: #c2baca;
  --line: #453e4d;
  --lilac: #ddc8ef;
  --gutter: clamp(20px, 5.6vw, 88px);
  font: 17px/1.5 Inter, Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-decoration: none }
a:focus-visible { outline: 3px solid #e8caff; outline-offset: 4px }
.frame { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto }
.top { border-bottom: 1px solid var(--line) }
.top nav, footer nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px }
.brand { display: inline-flex; gap: 9px; align-items: center; font-size: 21px; font-weight: 750; letter-spacing: -.055em }
.brand img { width: 31px; height: 31px }
.contact { border-radius: 100px; background: var(--lilac); padding: 9px 18px; color: #281c33; font-size: 15px; font-weight: 650 }
.contact:hover { background: #efdcff }
.cover { position: relative; isolation: isolate; overflow: hidden; background: #1b1621; border-bottom: 1px solid var(--line) }
.cover img { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 54%; height: 100%; object-fit: cover; object-position: 48% 49%; mask-image: linear-gradient(90deg, transparent, black 24%) }
.cover .frame { padding-block: clamp(40px, 5vw, 78px) }
h1, h2, h3, p { margin: 0 }
h1 { max-width: 56%; font-size: clamp(54px, 6.8vw, 106px); font-weight: 680; letter-spacing: -.05em; line-height: .96 }
h1 span { display: block }
.cover p { max-width: min(46%, 470px); margin-top: 24px; color: #d7d0de; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45 }
.catalog { padding-block: clamp(32px, 3.6vw, 56px) clamp(36px, 5vw, 72px) }
.catalog h2 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 22px }
.entries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.entries li { display: flex; min-width: 0 }
.entry { width: 100%; display: flex; flex-direction: column; padding: clamp(21px, 2.4vw, 35px); border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .16s, background-color .16s }
.entry:hover, .entry:focus-visible { background: #292330; border-color: #9c83af }
.entry-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 16px; font-size: 14px; color: var(--muted) }
.topic { display: inline-flex; align-items: center; gap: 8px; color: var(--lilac) }
.topic::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c6a5e0 }
.entry h3 { margin: 18px 0 12px; max-width: 24ch; font-size: clamp(26px, 2.15vw, 34px); font-weight: 650; line-height: 1.13; letter-spacing: -.035em; text-wrap: pretty }
.entry p { max-width: 54ch; color: var(--muted); line-height: 1.45 }
.open { margin-top: auto; padding-top: 23px; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; font-size: 14px; font-weight: 650; color: var(--lilac) }
.open::after { content: '→'; font-size: 19px; line-height: 1 }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px }
footer a:hover { color: var(--ink); text-decoration: underline }
@media (max-width: 700px) {
  .top nav, footer nav { min-height: 62px }
  .brand { font-size: 18px; gap: 6px }
  .brand img { width: 25px; height: 25px }
  .contact { padding: 8px 12px; font-size: 13px }
  .cover .frame { padding-block: 35px 30px }
  h1 { max-width: 75%; font-size: clamp(43px, 8.6vw, 60px) }
  .cover img { width: 48%; height: 158px; object-position: 52% 42%; mask-image: linear-gradient(90deg, transparent, black 30%); bottom: auto }
  .cover::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(to bottom, transparent 90px, #1b1621 161px) }
  .cover p { max-width: 40ch; margin-top: 26px; font-size: 17px }
  .entries { grid-template-columns: 1fr; gap: 12px }
  .entry h3 { margin-top: 13px }
  .open { padding-top: 16px }
}
@media (max-width: 360px) {
  .contact { font-size: 12px; padding-inline: 9px }
  .brand { font-size: 16px }
}
@media (prefers-reduced-motion: reduce) { .entry { transition: none } }
@media (hover:hover) and (pointer:fine) and (forced-colors:none){
  body{
    cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 2.5 19.5 14l-8 .7-4.1 6.8Z' fill='%23d9bdf2' stroke='%232a2033' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3,auto;
  }
  a[href],button:enabled,summary,select:enabled{
    cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 13V4a1.6 1.6 0 0 1 3.2 0v5a1.55 1.55 0 0 1 3.1 0v1.5a1.55 1.55 0 0 1 3.1 0v1.4a1.55 1.55 0 0 1 3.1 0v3.5c0 2.9-1.1 5.2-2.6 6.5H10c-1-.8-1.6-1.6-2.4-2.8l-4-5.7a1.6 1.6 0 0 1 2.4-2.1Z' fill='%23d9bdf2' stroke='%232a2033' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 10 3,pointer;
  }
  input,textarea{cursor:text}
}
