@font-face {
  font-family: "Cinema Sans";
  src: url("../fonts/cinema-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Cinema Myeongjo";
  src: url("../fonts/cinema-serif.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #201b1b;
  --paper: #f8f6f2;
  --muted: #5e5553;
  --line: #d6cdca;
  --dark: #100e0e;
  --red: #b6213c;
  --hot: #c92746;
  --serif: "Cinema Myeongjo", Batang, Georgia, serif;
  --sans: "Cinema Sans", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.7 var(--sans); word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.24; }
::selection { background: #913148; color: white; }
:focus-visible { outline: 3px solid #e84263; outline-offset: 4px; }
.shell { width: min(78rem, calc(100% - clamp(2.5rem, 9vw, 9rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: .4rem; left: .4rem; padding: .4rem .8rem; background: white; color: #151313; transform: translateY(-180%); }
.skip:focus { transform: none; }
.mast { position: relative; z-index: 3; background: #060606; color: #f7f3ef; border-bottom: 1px solid #302424; }
.mast-inner, .mast-tools, .desktop-nav, .actions { display: flex; align-items: center; }
.mast-inner { min-height: 4.6rem; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; }
.brand img { width: 7.65rem; height: auto; mix-blend-mode: screen; }
.desktop-nav { gap: clamp(1.2rem, 2.55vw, 2.9rem); margin-left: auto; }
.desktop-nav a { position: relative; padding-block: 1rem; font-size: .9375rem; font-weight: 520; color: #e6dfdc; }
.desktop-nav a[aria-current], .desktop-nav a.in-section, .desktop-nav a:hover { color: white; }
.desktop-nav a[aria-current]::after, .desktop-nav a.in-section::after {
  position: absolute; content: ""; height: 2px; background: #ea5369; inset: auto 0 .55rem;
}
.mast-tools { gap: 1.1rem; }
.small-action { display: inline-grid; place-items: center; padding: .48rem 1.25rem; min-height: 2.55rem; border: 1px solid #94646c; border-radius: 2px; font-size: .9rem; font-weight: 650; color: #ffe5e8; }
.small-action:hover { border-color: #ef8294; background: #29151b; }
.mobile-nav { display: none; }
.actions { gap: .7rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .67rem 1.9rem; border: 1px solid transparent; border-radius: 2px; font-size: 1rem; font-weight: 680; letter-spacing: -.025em; line-height: 1.3; }
.button.hot { background: var(--hot); color: white; }
.button.hot:hover { background: #aa203a; }
.button.ghost { border-color: #a2908d; color: #fff6f0; background: #18121396; }
.button.ghost:hover { background: #39282c; border-color: white; }
.domainbox { display: inline-flex; align-items: center; min-height: 2.95rem; border: 1px solid #927477; color: #fff2ef; background: #201719c9; border-radius: 2px; }
.domainbox dt { font: 550 .87rem/1.2 var(--sans); padding: .2rem .95rem; border-right: 1px solid #886d71; color: #f3ced1; }
.domainbox dd { padding: .2rem 1.1rem; font: 600 1.14rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .005em; user-select: all; }
.kicker { display: block; color: #a6253a; font: 700 .78rem/1.3 var(--sans); letter-spacing: .13em; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.section-title h2, .related h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.35vw, 3rem); letter-spacing: -.055em; }
.section-title .kicker { margin-bottom: .6rem; }
.section-title p, .section-title > span { font-size: .96rem; color: var(--muted); }
.text-link { color: #7b1d31; font-weight: 670; font-size: .94rem; border-bottom: 1px solid currentColor; padding-block: .2rem; }
.guide-grid, .story-grid { display: grid; gap: clamp(1.2rem, 2.25vw, 2.1rem); }
.guide-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { display: block; min-width: 0; }
.card-photo { overflow: hidden; aspect-ratio: 1.6; background: #382a2d; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .35s ease; }
.card-copy { padding: 1rem 0 .2rem; }
.card h3 { margin-top: .4rem; font-size: clamp(1.28rem, 1.85vw, 1.7rem); letter-spacing: -.055em; }
.card p { margin-top: .5rem; color: var(--muted); font-size: .96rem; line-height: 1.75; }
.story-grid .card h3 { font-family: var(--serif); font-size: clamp(1.55rem, 2.65vw, 2.3rem); }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .card:hover img { transform: scale(1.025); } }
.foot { color: #e9ddda; background: #100e0f; border-top: 1px solid #312526; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.2rem 2rem; }
.foot .brand img { width: 6.4rem; }
.foot-top p { font-size: .88rem; color: #c0b3b2; margin-top: .3rem; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: .45rem 1.6rem; }
.foot-top nav a { padding-block: .4rem; font-size: .9rem; }
.foot a:hover { color: #ffb4c1; }
.copyright { text-align: center; border-top: 1px solid #392f31; padding: 1.15rem 0 1.5rem; color: #bdafaf; font-size: .82rem; }
@media (max-width: 54rem) {
  .mast-inner { min-height: 4rem; }
  .brand img { width: 6.65rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; gap: .5rem; align-items: center; min-height: 2.75rem; cursor: pointer; font-size: .9rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon { width: 17px; height: 11px; border-block: 1.5px solid currentColor; }
  .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; display: grid; background: #151213; border-bottom: 2px solid var(--red); padding: .6rem max(1.25rem,4.5vw) 1rem; box-shadow: 0 16px 24px #0004; }
  .mobile-nav nav a { padding: .67rem .15rem; border-bottom: 1px solid #372b2d; }
  .mobile-nav nav a[aria-current] { color: #ffb2c0; }
}
@media (max-width: 40rem) {
  .shell { width: calc(100% - 2.5rem); }
  .mast-inner { gap: .75rem; }
  .mast-tools { gap: 1rem; }
  .small-action { min-height: 2.45rem; padding: .4rem .83rem; }
  .section-title { align-items: flex-start; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.3rem; }
  .section-title p { width: 100%; }
  .guide-grid, .story-grid { grid-template-columns: 1fr; row-gap: 1.85rem; }
  .card-copy { padding-top: .85rem; }
  .foot-top { flex-direction: column; align-items: start; gap: 1rem; }
  .foot-top nav { column-gap: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
