@font-face {
  font-family: "Nanum Barun Gothic";
  src: url("./fonts/NanumBarunGothic-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nanum Barun Gothic";
  src: url("./fonts/NanumBarunGothic-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #050505;
  --brand-ink: #ffffff;
  --logo: #001dd5;
  --accent: #2189ff;
  --ink: #050505;
  --muted: #555555;
  --faint: #858585;
  --line: #d9d9d9;
  --line-strong: #aaaaaa;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #eeeeee;
  --card-surface: #f7f7f7;
  --control-surface: #ffffff;
  --inverse: #050505;
  --inverse-ink: #ffffff;
  --shell: 1540px;
  --radius: 8px;
  --shadow: 0 20px 55px rgba(0, 0, 0, .08);
  --font-samsung-korean: "Nanum Barun Gothic", "Malgun Gothic", sans-serif;
  --font-samsung-display: "Nanum Barun Gothic", "Malgun Gothic", sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --brand: #ffffff;
  --brand-ink: #050505;
  --ink: #ffffff;
  --muted: #c2c2c2;
  --faint: #8c8c8c;
  --line: #303030;
  --line-strong: #555555;
  --surface: #050505;
  --surface-soft: #111111;
  --surface-strong: #181818;
  --card-surface: #111111;
  --control-surface: #050505;
  --inverse: #ffffff;
  --inverse-ink: #050505;
  --shadow: 0 20px 55px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-samsung-korean);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
  font-weight: 700;
}

h1,
h2,
h3,
.catalog-brand,
.section-kicker,
.card-label {
  font-family: var(--font-samsung-display);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 16px;
  padding: 12px 18px;
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.review-notice {
  background: #000;
  color: #fff;
  font-size: .75rem;
}

.review-notice__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-notice__inner > span:last-child {
  margin-left: auto;
  color: #a5a5a5;
}

.review-notice__badge {
  padding: 2px 7px;
  background: #fff;
  color: #000;
  font-size: .68rem;
  letter-spacing: .12em;
}

.catalog-header {
  position: relative;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-topline {
  min-height: 34px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: .75rem;
}

.header-topline > span {
  margin-right: auto;
  color: var(--faint);
}

.header-topline nav {
  display: flex;
  gap: 16px;
}

.header-topline button {
  padding: 5px 0;
  font-size: .75rem;
}

.header-topline button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.catalog-brand {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  color: var(--accent);
  font-family: var(--font-samsung-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.catalog-brand b {
  margin-left: 2px;
  color: var(--logo);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.primary-nav button {
  position: relative;
  min-height: 50px;
  padding: 10px 16px;
  font-size: .88rem;
}

.primary-nav button::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: transparent;
}

.primary-nav button:hover::after,
.primary-nav button.is-active::after {
  background: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--surface-soft);
}

.icon-search {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1.7px;
  right: -6px;
  bottom: -3px;
  background: currentColor;
  rotate: 48deg;
}

.icon-user {
  position: relative;
  width: 17px;
  height: 20px;
  display: block;
  border: 1.6px solid currentColor;
  border-radius: 10px 10px 3px 3px;
  border-top: 0;
}

.icon-user::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 3px;
  top: -4px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  background: var(--surface);
}

.theme-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-left: 8px;
}

.theme-choice button {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

.theme-choice button + button {
  border-left: 0;
}

.theme-choice button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
}

.mega-menu {
  position: absolute;
  z-index: 90;
  left: 0;
  right: 0;
  top: 100%;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1.55fr .75fr .75fr .9fr;
  gap: 48px;
}

.mega-menu h2 {
  margin: 0 0 16px;
  font-size: .82rem;
}

.mega-feature {
  padding-right: 44px;
  border-right: 1px solid var(--line);
}

.mega-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 14px;
}

.mega-feature__grid button {
  display: grid;
  grid-template-columns: 112px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  text-align: left;
}

.mega-cover {
  position: relative;
  grid-row: 1 / span 2;
  width: 112px;
  height: 78px;
  display: block;
  overflow: hidden;
  background: #050505;
}

.mega-cover::before,
.mega-cover::after {
  content: "";
  position: absolute;
}

.mega-cover--wave {
  background: var(--brand);
}

.mega-cover--wave::before {
  width: 150%;
  height: 44%;
  left: -20%;
  bottom: -7%;
  rotate: -8deg;
  background: #000;
}

.mega-cover--detective::before {
  width: 60%;
  height: 110%;
  right: -16%;
  top: -5%;
  transform: skew(-15deg);
  background: #e7e7e7;
}

.mega-cover--garden::before {
  width: 64px;
  height: 64px;
  right: -18px;
  top: 8px;
  border: 14px solid var(--brand);
  border-radius: 50%;
}

.mega-cover--cinema::before {
  width: 70%;
  height: 60%;
  left: 15%;
  top: 20%;
  border: 1px solid #fff;
}

.mega-cover--cinema::after {
  width: 2px;
  height: 120%;
  left: 57%;
  top: -10%;
  rotate: 16deg;
  background: var(--brand);
}

.mega-feature strong {
  align-self: end;
  font-size: .82rem;
}

.mega-feature small {
  color: var(--muted);
  font-size: .72rem;
}

.mega-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mega-links button {
  padding: 7px 0;
  font-size: .82rem;
  text-align: left;
}

.mega-links button:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.search-overlay {
  position: absolute;
  z-index: 100;
  left: 0;
  right: 0;
  top: 100%;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.header-search label {
  display: block;
  margin-bottom: 10px;
  font-size: .82rem;
}

.header-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 80px;
  max-width: 900px;
  border: 1px solid var(--line-strong);
}

.header-search input {
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 0;
  background: var(--card-surface);
  color: var(--ink);
}

.header-search button {
  border-left: 1px solid var(--line);
}

.header-search button[type="submit"] {
  background: var(--brand);
  color: var(--brand-ink);
}

.mail-entry {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1.1fr .9fr .7fr;
  align-items: center;
  gap: 48px;
  margin-top: 32px;
  padding: 52px 58px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(116deg, transparent 0 60%, rgba(0, 0, 0, .07) 60% 78%, transparent 78%),
    var(--surface-soft);
}

.section-kicker {
  display: block;
  color: var(--brand);
  font-size: .72rem;
  letter-spacing: .14em;
}

.mail-entry h1,
.section-heading h2,
.return-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(2.25rem, 3.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.18;
}

.mail-entry p {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
}

.mail-entry__address {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  border: 1px solid var(--line-strong);
  background: var(--card-surface);
}

.mail-entry__address span,
.mail-entry__address strong {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.mail-entry__address span {
  color: var(--muted);
}

.mail-entry__address strong {
  border-left: 1px solid var(--line);
  color: var(--brand);
}

.mail-entry__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mail-entry__actions small {
  color: var(--faint);
  font-size: .75rem;
  line-height: 1.6;
}

.mail-dialog {
  width: min(calc(100% - 40px), 920px);
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.mail-dialog::backdrop {
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
}

.mail-dialog__head,
.mail-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
}

.mail-dialog__head {
  border-bottom: 1px solid var(--line);
}

.mail-dialog__head h2 {
  margin: 7px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.mail-dialog__close {
  min-width: 60px;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--control-surface);
}

.mail-dialog__address {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  margin: 28px 32px 0;
  border: 1px solid var(--line-strong);
  background: var(--card-surface);
}

.mail-dialog__address > label {
  padding-inline: 18px;
  font-weight: 700;
}

.mail-dialog__address-input {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-inline: 1px solid var(--line);
  background: var(--card-surface);
}

.mail-dialog__address-input input {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding-inline: 18px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.mail-dialog__address-input input:focus {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.mail-dialog__address-input input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px #c62828;
}

.mail-dialog__address-input strong {
  padding-right: 18px;
  color: var(--accent);
  white-space: nowrap;
}

.mail-dialog__address > [data-mail-check] {
  align-self: stretch;
  min-width: 96px;
  border: 0;
  background: var(--inverse);
  color: var(--inverse-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.mail-dialog__recovery {
  grid-column: 2 / -1;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: var(--card-surface);
  font: inherit;
}

.mail-dialog__recovery:focus {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.mail-dialog__consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 18px !important;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 400 !important;
  line-height: 1.55;
}

.mail-dialog__consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.mail-dialog__submit {
  grid-column: 1 / -1;
  min-height: 50px;
  border: 0;
}

.mail-dialog__submit:disabled {
  cursor: wait;
  opacity: .55;
}

.mail-dialog__feedback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .8rem;
}

.mail-dialog__feedback.is-valid {
  color: #087b45;
}

.mail-dialog__feedback.is-error {
  color: #c62828;
}

.mail-dialog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px 32px;
}

.mail-dialog__grid section {
  min-height: 172px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card-surface);
}

.mail-dialog__grid section > b {
  color: var(--accent);
  font-family: var(--font-samsung-display);
}

.mail-dialog__grid h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
}

.mail-dialog__grid p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.mail-dialog__status {
  margin: 0 32px;
  padding: 20px 22px;
  background: var(--inverse);
  color: var(--inverse-ink);
}

.mail-dialog__status > strong {
  display: block;
  margin-bottom: 12px;
}

.mail-dialog__status ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mail-dialog__status li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: color-mix(in srgb, var(--inverse-ink) 8%, transparent);
  font-size: .8rem;
}

.mail-dialog__status li b {
  color: var(--accent);
}

.mail-dialog__actions {
  justify-content: flex-end;
}

body:has(.mail-dialog[open]) {
  overflow: hidden;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: .88rem;
}

.button--primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
}

.button--line:hover,
.button--primary:hover {
  translate: 0 -2px;
}

.video-demo {
  display: grid;
  grid-template-columns: minmax(290px, .42fr) minmax(0, 1fr);
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.video-demo__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 64px);
  border-right: 1px solid var(--line);
}

.video-demo__eyebrow {
  color: var(--accent);
  font-family: var(--font-samsung-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.video-demo h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -.025em;
  line-height: 1.16;
}

.video-demo p {
  max-width: 430px;
  margin: 22px 0 0;
  color: var(--muted);
}

.video-demo dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 34px 0 0;
}

.video-demo dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
}

.video-demo dt,
.video-demo dd {
  margin: 0;
  font-size: .82rem;
}

.video-demo dt {
  color: var(--faint);
}

.video-demo dd {
  margin-top: 5px;
  font-weight: 700;
}

.video-demo__picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.video-demo__picker button {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: var(--card-surface);
  text-align: left;
}

.video-demo__picker button:hover {
  border-color: var(--ink);
}

.video-demo__picker button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.video-demo__picker strong,
.video-demo__picker span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-demo__picker strong {
  font-size: .82rem;
}

.video-demo__picker span {
  margin-top: 4px;
  color: var(--faint);
  font-size: .72rem;
}

.video-demo__picker button.is-active span {
  color: currentColor;
  opacity: .72;
}

.video-demo__media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  overflow: hidden;
}

.video-demo video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
}

.video-demo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .video-demo {
    grid-template-columns: 1fr;
  }

  .video-demo__copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .video-demo video {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .video-demo__picker {
    grid-template-columns: 1fr;
  }
}

.catalog-section {
  padding-top: 120px;
}

.section-space {
  margin-top: 140px;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.category-rail {
  display: grid;
  grid-template-columns: 1.35fr repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.category-card {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 16px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--card-surface);
}

.category-card.is-active {
  align-items: flex-start;
  border-color: var(--ink);
  background: var(--surface);
}

.category-card strong {
  position: relative;
  z-index: 2;
  font-size: .88rem;
}

.category-card small {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: .72rem;
}

.category-visual {
  position: relative;
  width: 92px;
  height: 70px;
  display: block;
}

.category-card.is-active .category-visual {
  position: absolute;
  right: 18px;
  bottom: 20px;
}

.category-visual::before,
.category-visual::after {
  content: "";
  position: absolute;
}

.category-visual::before {
  width: 46px;
  height: 60px;
  left: 20px;
  top: 6px;
  border: 2px solid #111;
  background: var(--brand);
  box-shadow: 12px -6px 0 -2px #fff, 12px -6px 0 0 #111;
}

[data-theme="dark"] .category-visual::before {
  border-color: #fff;
  box-shadow: 12px -6px 0 -2px #000, 12px -6px 0 0 #fff;
}

.category-card[data-category="무빙툰"] .category-visual::before {
  width: 68px;
  height: 42px;
  left: 11px;
  top: 18px;
  background: #000;
  box-shadow: 8px 8px 0 var(--brand);
}

.category-card[data-category="숏애니"] .category-visual::before {
  width: 62px;
  height: 62px;
  left: 15px;
  top: 4px;
  border: 14px solid var(--brand);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.category-card[data-category="무비"] .category-visual::before,
.category-card[data-category="상영관"] .category-visual::before {
  width: 76px;
  height: 48px;
  left: 8px;
  top: 14px;
  border: 2px solid var(--ink);
  background: #000;
  box-shadow: none;
}

.category-card[data-category="무비"] .category-visual::after {
  left: 38px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
}

.category-card[data-category="상영관"] .category-visual::after {
  width: 56px;
  height: 1px;
  left: 18px;
  top: 38px;
  background: var(--brand);
  rotate: -12deg;
}

.category-card[data-category="졸업작품"] .category-visual::before {
  width: 50px;
  height: 62px;
  left: 15px;
  top: 4px;
  rotate: -8deg;
  background: #fff;
  box-shadow: 18px 8px 0 -2px var(--brand), 18px 8px 0 0 #111;
}

.category-tabs {
  width: fit-content;
  display: flex;
  gap: 4px;
  margin: 34px auto 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.category-tabs button {
  position: relative;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: .85rem;
}

.category-tabs button.is-active {
  color: var(--ink);
}

.category-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -13px;
  height: 2px;
  background: var(--ink);
}

.catalog-toolbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  border-bottom: 1px solid var(--line);
}

.catalog-toolbar > div:first-child {
  display: flex;
  gap: 22px;
}

.catalog-toolbar > div:first-child strong {
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.catalog-toolbar__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.switch-control,
.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
}

.switch-control input {
  position: absolute;
  opacity: 0;
}

.switch-control > span {
  position: relative;
  width: 38px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.switch-control > span::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: var(--faint);
  transition: translate .18s ease;
}

.switch-control input:checked + span {
  border-color: var(--brand);
  background: var(--brand);
}

.switch-control input:checked + span::after {
  background: #fff;
  translate: 16px 0;
}

.sort-control select {
  min-height: 40px;
  padding: 8px 38px 8px 12px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 15px) 17px / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 11px) 17px / 6px 6px no-repeat,
    var(--control-surface);
  color: var(--ink);
  appearance: none;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 38px;
}

.filter-row button {
  min-height: 40px;
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 17px) 17px / 5px 5px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 13px) 17px / 5px 5px no-repeat,
    var(--control-surface);
  font-size: .82rem;
}

.filter-row button:hover {
  border-color: var(--ink);
}

.work-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.catalog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--card-surface);
}

.catalog-card__body,
.catalog-card__tags span {
  background: var(--card-surface);
}

.catalog-cover {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

.catalog-cover::before,
.catalog-cover::after {
  content: "";
  position: absolute;
}

.catalog-cover--wave {
  background: var(--brand);
  color: var(--brand-ink);
}

.catalog-cover--wave::before {
  width: 150%;
  height: 48%;
  left: -20%;
  bottom: -8%;
  rotate: -8deg;
  background: #000;
}

.catalog-cover--space::before {
  width: 110px;
  height: 110px;
  right: -20px;
  top: 58px;
  border-radius: 50%;
  background: #fff;
}

.catalog-cover--space::after {
  width: 90px;
  height: 90px;
  left: -45px;
  bottom: 50px;
  border: 18px solid var(--brand);
  border-radius: 50%;
}

.catalog-cover--detective::before {
  width: 62%;
  height: 115%;
  right: -18%;
  top: -7%;
  transform: skew(-14deg);
  background: #dedede;
}

.catalog-cover--detective::after {
  width: 45px;
  height: 45px;
  right: 30px;
  top: 45%;
  border: 8px solid var(--brand);
  border-radius: 50%;
}

.catalog-cover--summer {
  background: var(--brand);
  color: var(--brand-ink);
}

.catalog-cover--summer::before {
  width: 130%;
  height: 36%;
  left: -15%;
  top: 32%;
  rotate: 8deg;
  background: #000;
}

.catalog-cover--summer::after {
  width: 56px;
  height: 56px;
  right: 26px;
  top: 34px;
  border-radius: 50%;
  background: #fff;
}

.catalog-cover--cinema::before {
  width: 76%;
  height: 58%;
  left: 12%;
  top: 20%;
  border: 1px solid #fff;
}

.catalog-cover--cinema::after {
  width: 2px;
  height: 120%;
  left: 58%;
  top: -10%;
  rotate: 14deg;
  background: var(--brand);
}

.catalog-cover--garden::before {
  width: 180px;
  height: 180px;
  right: -70px;
  top: 20px;
  border: 34px solid var(--brand);
  border-radius: 50%;
}

.catalog-cover--garden::after {
  width: 70%;
  height: 46%;
  left: -12%;
  bottom: 18%;
  rotate: -16deg;
  background: #000;
}

.catalog-cover--letter {
  background: #fff;
  color: #000;
}

.catalog-cover--letter::before {
  width: 72%;
  height: 48%;
  left: 14%;
  top: 26%;
  border: 2px solid #000;
  background: linear-gradient(35deg, transparent 49%, #000 50% 51%, transparent 52%);
}

.catalog-cover--frame::before {
  width: 170px;
  height: 210px;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 16px solid #fff;
  box-shadow: 18px 18px 0 var(--brand);
}

.catalog-cover--media::before {
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  rotate: 0deg;
  transform: none;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .16) 12%, rgba(0, 0, 0, .02) 48%, rgba(0, 0, 0, .88) 100%);
}

.catalog-cover--media::after {
  display: none;
}

.catalog-cover__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-cover__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  translate: -50% -50%;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  font-size: 1rem;
  text-indent: .12em;
  backdrop-filter: blur(6px);
}

.catalog-cover__flag,
.catalog-cover__category {
  position: relative;
  z-index: 2;
  width: fit-content;
  font-size: .72rem;
  letter-spacing: .06em;
}

.catalog-cover__flag {
  color: var(--accent);
  font-weight: 700;
}

.catalog-cover h3 {
  position: relative;
  z-index: 2;
  max-width: 86%;
  margin: auto 0 0;
  font-size: 2rem;
  line-height: 1.16;
}

.catalog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.catalog-card__body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

.catalog-card__creator {
  margin-top: 8px;
  color: var(--muted);
  font-size: .82rem;
}

.catalog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.catalog-card__tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card-surface);
  font-size: .75rem;
}

.catalog-card__status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.catalog-card__status b {
  color: var(--accent);
}

.catalog-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.catalog-card__actions button {
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: .82rem;
}

.catalog-card__actions button:first-child {
  background: var(--ink);
  color: var(--surface);
}

.catalog-empty {
  padding: 70px 20px;
  text-align: center;
}

.catalog-empty button {
  display: block;
  margin: 16px auto 0;
  color: var(--brand);
  text-decoration: underline;
}

.creator-controls,
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.creator-controls button,
.news-tabs button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: var(--card-surface);
  font-size: .82rem;
}

.creator-controls button.is-active,
.news-tabs button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.creator-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--card-surface);
}

.creator-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-strong);
}

.creator-visual::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 34px solid var(--brand);
  border-radius: 50%;
  opacity: .92;
}

.creator-card:nth-child(2) .creator-visual::before {
  border-radius: 0;
  rotate: 18deg;
  background: #000;
  border: 0;
}

.creator-card:nth-child(3) .creator-visual::before {
  width: 180px;
  height: 220px;
  border: 14px solid #000;
  border-radius: 0;
  background: #fff;
  box-shadow: 20px 20px 0 var(--brand);
}

.creator-card:nth-child(4) .creator-visual::before {
  width: 250px;
  height: 80px;
  border: 0;
  border-radius: 0;
  rotate: -12deg;
  background: var(--brand);
  box-shadow: 0 35px 0 #000;
}

.creator-initials {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-family: var(--font-samsung-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.creator-card__body {
  padding: 24px;
}

.creator-card__body > span {
  color: var(--brand);
  font-size: .75rem;
}

.creator-card h3 {
  margin: 8px 0 0;
  font-size: 1.25rem;
}

.creator-card p {
  min-height: 52px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.creator-meta {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
}

.creator-meta span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.creator-meta b {
  color: var(--ink);
  text-align: right;
}

.creator-card button {
  width: 100%;
  min-height: 44px;
  margin-top: 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.news-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.news-topic-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-surface);
}

.news-topic-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  color: var(--brand);
  font-family: var(--font-samsung-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.news-topic-card h3 {
  margin: 24px 0 0;
  font-size: 1.2rem;
}

.news-topic-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.news-topic-card small {
  margin-top: 10px;
  color: var(--faint);
  font-size: .75rem;
}

.news-topic-card button {
  margin-top: auto;
  padding: 8px 0 5px;
  border-bottom: 1px solid var(--ink);
  font-size: .82rem;
}

.news-story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.news-story-card {
  min-width: 0;
}

.news-story-card a {
  height: 100%;
  display: block;
  overflow: hidden;
  padding-bottom: 18px;
  border-radius: 18px;
  background: var(--card-surface);
  text-decoration: none;
}

.news-story-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, transparent 0 45%, rgba(255, 255, 255, .88) 45% 48%, transparent 48%),
    #080808;
}

.news-story-card:nth-child(2n) .news-story-image {
  background:
    radial-gradient(circle at 68% 38%, transparent 0 21%, var(--brand) 22% 35%, transparent 36%),
    var(--surface-soft);
}

.news-story-card:nth-child(3n) .news-story-image {
  background:
    linear-gradient(115deg, #000 0 48%, transparent 49%),
    var(--brand);
}

.news-story-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: scale .25s ease;
}

.news-story-card a:hover .news-story-image img {
  scale: 1.035;
}

.news-story-category {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  padding: 5px 8px;
  background: #fff;
  color: #000;
  font-size: .7rem;
}

.news-story-card h3 {
  margin: 18px 18px 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.news-story-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 18px 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-story-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 18px 0;
  color: var(--faint);
  font-size: .72rem;
}

.rss-note {
  margin: 28px 0 0;
  color: var(--faint);
  font-size: .75rem;
}

.return-panel {
  min-height: 270px;
  display: grid;
  grid-template-columns: 1.1fr 1.25fr auto;
  align-items: center;
  gap: 50px;
  margin-bottom: 140px;
  padding: 48px 54px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.return-panel h2 {
  font-size: clamp(2rem, 2.8vw, 2.7rem);
}

.return-panel ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.return-panel li {
  padding-top: 12px;
  border-top: 2px solid var(--brand);
}

.return-panel li b,
.return-panel li span {
  display: block;
}

.return-panel li span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .75rem;
}

.catalog-footer {
  padding: 56px 0 26px;
  border-top: 1px solid #222;
  background: #000;
  color: #fff;
}

.catalog-brand--footer {
  color: var(--accent);
}

.catalog-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.catalog-footer__top p {
  margin: 12px 0 0;
  color: #999;
  font-size: .82rem;
}

.catalog-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.catalog-footer nav button {
  color: #aaa;
  font-size: .78rem;
}

.catalog-footer nav button:hover {
  color: #fff;
}

.catalog-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid #2b2b2b;
  color: #777;
  font-size: .72rem;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  width: min(390px, calc(100% - 32px));
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  background: #050505;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
  font-size: .84rem;
}

@media (max-width: 1240px) {
  .header-main {
    grid-template-columns: 150px minmax(0, 1fr) auto;
  }

  .primary-nav button {
    padding-inline: 10px;
  }

  .theme-choice {
    display: none;
  }

  .mail-entry {
    grid-template-columns: 1fr 1fr;
  }

  .mail-entry__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .category-rail {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-card:first-child {
    grid-column: span 2;
  }

  .work-catalog,
  .creator-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-story-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-topline {
    display: none;
  }

  .header-main {
    min-height: 70px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .primary-nav {
    overflow-x: auto;
  }

  .primary-nav button {
    flex: 0 0 auto;
  }

  .header-actions .icon-button:nth-child(2) {
    display: none;
  }

  .mega-menu__grid {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 30px;
  }

  .mega-links:last-child {
    display: none;
  }

  .mail-entry {
    grid-template-columns: 1fr;
    padding: 44px;
  }

  .mail-entry__address {
    max-width: 600px;
  }

  .mail-entry__actions {
    grid-column: auto;
  }

  .section-space {
    margin-top: 110px;
  }

  .section-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-catalog,
  .creator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .return-panel {
    grid-template-columns: 1fr 1fr;
  }

  .return-panel .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .mail-dialog {
    width: min(calc(100% - 24px), 920px);
  }

  .mail-dialog__head,
  .mail-dialog__actions {
    padding: 20px;
  }

  .mail-dialog__address {
    grid-template-columns: 1fr;
    margin: 20px 20px 0;
  }

  .mail-dialog__address > label {
    padding-block: 12px;
  }

  .mail-dialog__address-input {
    border-inline: 0;
    border-top: 1px solid var(--line);
  }

  .mail-dialog__address > [data-mail-check] {
    min-height: 48px;
  }

  .mail-dialog__recovery {
    grid-column: 1;
  }

  .mail-dialog__grid {
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }

  .mail-dialog__grid section {
    min-height: 0;
  }

  .mail-dialog__grid h3 {
    margin-top: 14px;
  }

  .mail-dialog__status {
    margin: 0 20px;
  }

  .mail-dialog__status ul {
    grid-template-columns: 1fr;
  }

  .mail-dialog__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mail-dialog__actions .button {
    width: 100%;
  }
  body {
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .review-notice__inner {
    min-height: 38px;
  }

  .review-notice__inner > span:nth-child(2),
  .review-notice__inner > span:last-child {
    display: none;
  }

  .header-main {
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .catalog-brand {
    font-size: 1.65rem;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + 32px);
    margin-left: -16px;
    padding-inline: 8px;
    border-top: 1px solid var(--line);
  }

  .header-actions {
    justify-self: end;
  }

  .mega-menu {
    position: relative;
    top: auto;
    padding-block: 22px;
  }

  .mega-menu__grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-feature {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-bottom: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mail-entry {
    width: 100%;
    margin-top: 0;
    padding: 42px 20px;
    border-radius: 0;
  }

  .mail-entry h1,
  .section-heading h2 {
    font-size: 2.15rem;
  }

  .mail-entry__address {
    grid-template-columns: 1fr;
  }

  .mail-entry__address strong {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mail-entry__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-section {
    padding-top: 86px;
  }

  .category-rail {
    display: flex;
    width: calc(100% + 16px);
    overflow-x: auto;
    padding-right: 16px;
  }

  .category-card,
  .category-card:first-child {
    flex: 0 0 170px;
  }

  .category-card:first-child {
    flex-basis: 230px;
  }

  .category-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .category-tabs button {
    flex: 0 0 auto;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }

  .catalog-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .filter-row button {
    flex: 0 0 auto;
  }

  .work-catalog,
  .creator-grid,
  .news-topic-grid,
  .news-story-grid {
    grid-template-columns: 1fr;
  }

  .catalog-cover {
    min-height: 350px;
  }

  .creator-visual {
    min-height: 300px;
  }

  .news-topic-card {
    min-height: 270px;
  }

  .news-story-grid {
    gap: 36px;
  }

  .news-story-image {
    aspect-ratio: 16 / 10;
  }

  .return-panel {
    width: calc(100% - 32px);
    display: block;
    padding: 36px 26px;
  }

  .return-panel ol {
    grid-template-columns: 1fr;
    margin-block: 30px;
  }

  .catalog-footer__top,
  .catalog-footer__bottom {
    flex-direction: column;
  }

  .catalog-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .header-actions .icon-button:first-child {
    display: none;
  }

  .mega-feature__grid {
    grid-template-columns: 1fr;
  }

  .header-search > div {
    grid-template-columns: 1fr 78px;
  }

  .header-search button[data-search-close] {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .catalog-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
