/* Suits & Stallions site, look B (11/23): built from the game's own parts.
   Paper sheets with torn edges, notched tickets with a hard shade, stamps, dotted rows,
   one brass brush mark under the first line of a headline. Fonts are the game's, subset to the site's text. */
@font-face { font-family: "SS Display"; src: url("/fonts/ss-fraunces.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SS Display Cyr"; src: url("/fonts/ss-notoserif.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SS Label"; src: url("/fonts/ss-sofia.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SS Body"; src: url("/fonts/ss-notosans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SS Display KO"; src: url("/fonts/ss-hahmlet.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SS Body KO"; src: url("/fonts/ss-notosanskr.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SS Label KO"; src: url("/fonts/ss-notosanskr-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SS Display JA"; src: url("/fonts/ss-notoserifjp.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SS Body JA"; src: url("/fonts/ss-notosansjp.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SS Label JA"; src: url("/fonts/ss-notosansjp-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SS Display SC"; src: url("/fonts/ss-notoserifsc.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SS Body SC"; src: url("/fonts/ss-notosanssc.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SS Label SC"; src: url("/fonts/ss-notosanssc-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "SS Display TC"; src: url("/fonts/ss-notoseriftc.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "SS Body TC"; src: url("/fonts/ss-notosanstc.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SS Label TC"; src: url("/fonts/ss-notosanstc-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #21160e; --ink2: #3b2f25; --cream: #f3ebd9; --muted: #d8cdb6;
  --paper: #e9e4d9; --paper2: #f3efe6; --brass: #c49a55; --gold: #ddb662; --tag: #e6b54a;
  --wall: #0f1b1a; --wall2: #142624; --frame-dark: #1a120a;
  --s1: #23307e; --s2: #b02a3b; --s3: #c48f2c; --s4: #2c7a55;
  --shade: 5px 5px 0 rgba(0, 0, 0, .42);
  --display: "SS Display", "SS Display Cyr", Georgia, serif;
  --body: "SS Body", system-ui, sans-serif;
  --label: "SS Label", "SS Body", system-ui, sans-serif;
}
:lang(ko) { --display: "SS Display", "SS Display KO", serif; --body: "SS Body", "SS Body KO", sans-serif; --label: "SS Label", "SS Label KO", sans-serif; }
:lang(ja) { --display: "SS Display", "SS Display JA", serif; --body: "SS Body", "SS Body JA", sans-serif; --label: "SS Label", "SS Label JA", sans-serif; }
:lang(zh-Hans) { --display: "SS Display", "SS Display SC", serif; --body: "SS Body", "SS Body SC", sans-serif; --label: "SS Label", "SS Label SC", sans-serif; }
:lang(zh-Hant) { --display: "SS Display", "SS Display TC", serif; --body: "SS Body", "SS Body TC", sans-serif; --label: "SS Label", "SS Label TC", sans-serif; }
:lang(ru) { --display: "SS Display Cyr", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wall); color: var(--cream); font: 18px/1.55 var(--body); overflow-x: hidden; }
html[lang="ko"] body { word-break: keep-all; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
button, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-160%); background: var(--paper2); color: var(--ink); padding: 8px; z-index: 9; }
.skip:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- parts kit ---------- */
.display { font-family: var(--display); font-weight: 900; letter-spacing: -.01em; line-height: 1.04; }
.paper {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .25  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.on-paper { color: var(--ink); }
[data-torn] { position: relative; isolation: isolate; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
.torn-bg { position: absolute; inset: 0; z-index: -1; }
/* one decoration rule: the brass brush stroke sits under the FIRST line, words plus 4 % */
.mark-wrap { position: relative; z-index: 0; display: inline-block; max-width: 100%; }
.mark { position: relative; }
.mark::after {
  content: ""; position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .26em; z-index: -1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'><path fill='%23c49a55' d='M3 15 C 80 7, 220 5, 397 9 L 394 15 C 250 13, 110 16, 6 21 Z'/><path fill='%23ddb662' opacity='.7' d='M40 20 C 150 16, 280 15, 380 16 L 378 18 C 270 18, 160 19, 44 22 Z'/></svg>") no-repeat center / 100% 100%;
}
.raised { color: var(--cream); text-shadow: 0 3px 0 #8a5a22, 0 6px 0 #5a3812, 0 12px 22px rgba(0, 0, 0, .55); }
.tag { display: inline-block; background: var(--tag); color: var(--ink); font: 700 17px/1.1 var(--label); padding: 9px 14px 8px; transform: rotate(-2.5deg); box-shadow: var(--shade); }
/* tickets: notched like the in-game perk tickets, hard shade on the wrapper */
.tk { display: inline-block; filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .42)); }
.tk > * {
  --r: 11px;
  -webkit-mask: radial-gradient(circle var(--r) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--r) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--r) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--r) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
}
.btn { display: flex; align-items: center; gap: 14px; padding: 15px 28px 14px; text-decoration: none; font: 900 24px/1.1 var(--display); }
.btn .stub { padding-right: 14px; border-right: 2px dashed rgba(0, 0, 0, .35); font: 700 20px/1 var(--label); }
.btn-gold { background: var(--tag); color: var(--ink); outline: 2px solid rgba(60, 40, 10, .55); outline-offset: -7px; }
.btn-ink { background: #15100c; color: var(--cream); font: 700 20px/1.1 var(--label); }
.btn-ink .stub { border-color: rgba(243, 235, 217, .35); }
.btn-paper { background: var(--paper2); color: var(--ink); font: 700 19px/1.1 var(--label); }
.btn:hover { filter: brightness(1.06); }
.stamp { display: inline-block; padding: 7px 12px 6px; margin: 4px 0 4px 10px; background: #15100c; color: var(--cream); outline: 2px solid #15100c; outline-offset: 3px; font: 700 17px/1 var(--label); text-decoration: none; }
.frame { display: inline-block; padding: 16px; background: linear-gradient(135deg, #8a6a2e, #e0c07a 30%, #9c7630 55%, #e6cd8c 80%, #7d5c24); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.frame video, .frame img { outline: 6px solid var(--frame-dark); background: #000; }
.plaque { display: inline-block; max-width: 680px; margin-top: 30px; padding: 14px 30px 12px; background: linear-gradient(180deg, #e3c47e, #b58c40); color: #2a1c0c; box-shadow: var(--shade); text-align: center; }
.plaque b { display: block; font: 900 26px/1.15 var(--display); }
.plaque span { display: block; font: 700 16px/1.35 var(--label); margin-top: 4px; }
.num { position: absolute; top: -14px; right: 26px; width: 58px; height: 64px; display: grid; place-items: center; color: #fff; font: 900 40px/1 var(--display); box-shadow: 4px 4px 0 rgba(0, 0, 0, .42); }

/* ---------- header and footer ---------- */
.rail { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 5vw 0; }
.brand { font: 700 17px var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--cream); text-decoration: none; opacity: .9; }
.rail nav { display: flex; align-items: center; gap: 12px; }
.rail nav a, .rail select { font: 700 16px/1 var(--label); color: var(--ink); background: var(--paper2); border: 0; padding: 9px 12px 8px; box-shadow: 4px 4px 0 rgba(0, 0, 0, .42); text-decoration: none; border-radius: 0; }
.rail select { cursor: pointer; }
.site-footer { display: flex; justify-content: center; padding: 40px 5vw 70px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; padding: 18px 40px; font: 700 17px var(--label); background: #15100c; color: var(--cream); }
.foot-links a { text-decoration: none; opacity: .88; }
.foot-links a:first-child { font: 900 22px var(--display); color: var(--gold); opacity: 1; padding-right: 30px; border-right: 2px dashed rgba(243, 235, 217, .3); }

/* ---------- homepage ---------- */
.home .rail { position: absolute; left: 0; right: 0; top: 0; }
.hero { position: relative; padding: 96px 6vw 120px; min-height: 980px; }
.hero-art { position: absolute; inset: 0; z-index: 0; background: url(/media/museum-1600.webp) center 35% / cover; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 13, .82) 0%, rgba(8, 14, 13, .25) 40%, rgba(8, 14, 13, 0) 60%), linear-gradient(0deg, var(--wall) 0%, rgba(15, 27, 26, 0) 22%); }
.hero > *:not(.hero-art) { position: relative; z-index: 1; }
.hero-logo { width: min(540px, 40vw); margin: 0 0 34px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
.hero-logo img { width: 100%; }
.sheet { width: min(640px, 48vw); padding: 64px 56px 48px 60px; transform: rotate(-1.2deg); }
.sheet > .tag { position: absolute; top: -18px; left: 48px; }
.sheet .tagline { font-size: clamp(40px, 3.9vw, 58px); margin: 6px 0 26px; }
.sheet .story { margin: 0 0 30px; max-width: 34em; font-size: 19px; color: var(--ink2); }
:lang(ja) .sheet .tagline, :lang(zh-Hans) .sheet .tagline, :lang(zh-Hant) .sheet .tagline { font-size: clamp(30px, 3.1vw, 46px); }
:lang(ko) .sheet .tagline { font-size: clamp(30px, 3vw, 44px); }
.ctas { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.also { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 22px; font: 700 17px var(--label); color: #5b5045; }
.also a { color: var(--ink); }

.exhibit { padding: 40px 6vw 120px; text-align: center; background: radial-gradient(ellipse at 50% 30%, #1d3532 0%, var(--wall) 65%); }
.exhibit .frame video { width: min(1040px, 80vw); aspect-ratio: 16 / 9; }

.howto { padding: 30px 5vw 120px; background: linear-gradient(180deg, var(--wall) 0%, var(--wall2) 100%); }
.howto > h2 { font-size: 88px; text-align: center; margin: 0 0 64px; }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1360px; margin: 0 auto; align-items: start; }
.tickets .tk:nth-child(1) { transform: rotate(-1.2deg); }
.tickets .tk:nth-child(2) { transform: rotate(.8deg) translateY(18px); }
.tickets .tk:nth-child(3) { transform: rotate(-.5deg); }
.card { position: relative; padding: 22px 30px 34px; color: var(--ink); }
.card::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(80, 62, 40, .35); pointer-events: none; }
.card figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; outline: 4px solid var(--frame-dark); margin-bottom: 20px; }
.card h3 { font-size: 32px; margin: 0 0 12px; }
.card hr { border: 0; border-top: 2px dashed rgba(80, 62, 40, .4); margin: 0 0 14px; }
.card p { font-size: 18px; color: var(--ink2); }

.lower { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; padding: 40px 6vw 100px; background: var(--wall2); align-items: start; }
.coll .big { font: 900 220px/.8 var(--display); color: var(--gold); text-shadow: 0 6px 0 #6b4a17, 0 16px 30px rgba(0, 0, 0, .6); }
.coll h2, .coll h3 { font-size: 46px; margin: 34px 0 18px; }
.coll p { max-width: 32em; color: var(--muted); margin: 0 0 26px; }
.coll .shot { width: 100%; outline: 6px solid var(--frame-dark); box-shadow: 0 24px 50px rgba(0, 0, 0, .55); transform: rotate(1deg); }
.facts { padding: 58px 48px 40px; transform: rotate(.8deg); margin-top: 40px; color: var(--ink); }
.facts > h2, .facts > h3 { font-size: 50px; margin: 0 0 26px; }

/* dotted rows (the game's Custom rules sheet) */
.rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; margin: 0 0 14px; }
.rows dt { display: flex; align-items: baseline; gap: 10px; font: 700 19px/1.3 var(--label); white-space: nowrap; }
.rows dt::after { content: ""; flex: 1; min-width: 24px; border-bottom: 3px dotted rgba(60, 45, 30, .45); transform: translateY(-5px); }
.rows dd { font: 700 18px/1.35 var(--label); text-align: right; max-width: 22em; }
.rows .long { grid-template-columns: 1fr; gap: 4px; }
.rows .long dd { text-align: left; max-width: none; font: 400 16px/1.5 var(--body); color: var(--ink2); }
.rows dd a:not(.stamp) { display: inline-block; margin-right: 16px; font: 700 17px var(--label); color: var(--ink); }
.rows dd .stamp:first-child { margin-left: 3px; }

/* ---------- press kit ---------- */
.press-hero { position: relative; padding: 40px 6vw 70px; background: linear-gradient(180deg, rgba(8, 14, 13, .55), var(--wall)), url(/media/museum-1600.webp) center 30% / cover; }
.press-hero .logo { width: 260px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); margin-bottom: 12px; }
.press-hero h1 { font-size: 96px; margin: 0 0 22px; }
.press-hero .story { max-width: 46em; color: var(--muted); margin: 0 0 34px; }
.downloads { display: flex; flex-wrap: wrap; gap: 20px 22px; align-items: center; }
.press-layout { display: grid; grid-template-columns: minmax(330px, 460px) 1fr; gap: 56px; padding: 40px 6vw 80px; align-items: start; }
.press-layout .facts { margin-top: 0; padding: 54px 36px 34px; }
.press-content { display: grid; gap: 70px; }
.featured-trailer { text-align: center; }
.featured-trailer .frame video { width: 100%; aspect-ratio: 16 / 9; }
.featured-trailer .frame { width: 100%; }
.review { padding: 56px 44px 40px; transform: rotate(-.6deg); color: var(--ink); }
.review > .tag { position: absolute; top: -16px; left: 38px; }
.review h2 { font-size: 44px; margin: 0 0 16px; }
.review p { color: var(--ink2); margin: 0 0 10px; }
.review .downloads { margin-top: 24px; }
.about-wrap { padding: 0 6vw 90px; }
.about { max-width: 1280px; margin: 0 auto; padding: 60px 56px 44px; transform: rotate(.4deg); color: var(--ink); }
.about .press-rules { columns: 2; column-gap: 56px; }
.press-rules p, .press-rules li { break-inside: avoid; }
.press-rules ul { column-span: all; columns: 2; column-gap: 56px; }
.about h2 { font-size: 52px; margin: 0 0 28px; }
.press-rules p { margin: 0 0 16px; color: var(--ink2); }
.press-rules strong { font: 900 21px/1.2 var(--display); color: var(--ink); margin-right: 4px; }
.press-rules ul { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 2px dashed rgba(80, 62, 40, .4); }
.press-rules li { margin: 0 0 10px; color: var(--ink2); }
.press-rules li strong { font: 700 18px var(--label); }
.press-bottom { padding: 20px 6vw 40px; }
.press-gallery { margin: 0 0 90px; }
.press-gallery > h2 { font-size: 72px; margin: 0 0 40px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 30px; }
.media-grid > a, .media-grid > figure { display: block; padding: 9px; background: linear-gradient(135deg, #8a6a2e, #e0c07a 30%, #9c7630 55%, #e6cd8c 80%, #7d5c24); box-shadow: 0 16px 30px rgba(0, 0, 0, .5); }
.media-grid > :nth-child(3n+1) { transform: rotate(-.6deg); }
.media-grid > :nth-child(3n+2) { transform: rotate(.5deg); }
.media-grid img, .media-grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; outline: 3px solid var(--frame-dark); background: #000; }
.media-grid figcaption { margin: 10px -9px -9px; padding: 9px 12px 8px; background: linear-gradient(180deg, #e3c47e, #b58c40); color: #2a1c0c; font: 700 16px/1.3 var(--label); text-align: center; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
  .tickets { grid-template-columns: 1fr; max-width: 560px; }
  .tickets .tk:nth-child(2) { transform: rotate(.8deg); }
  .lower, .press-layout { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .rail { padding: 12px 12px 0; }
  .brand { font-size: 14px; }
  .rail nav { gap: 8px; } .rail nav a, .rail select { font-size: 14px; padding: 7px 8px 6px; }
  .hero { padding: 0 0 40px; min-height: 0; }
  .hero-art { position: relative; inset: auto; height: 330px; }
  .hero-art::after { background: linear-gradient(0deg, var(--wall) 0%, rgba(15, 27, 26, 0) 45%); }
  .hero-logo { position: absolute !important; left: 16px; top: 52px; width: 64vw; margin: 0; }
  .sheet { width: auto; margin: -50px 14px 0; padding: 46px 22px 30px; transform: rotate(-1deg); }
  .sheet .tagline { font-size: 35px; }
  :lang(ja) .sheet .tagline, :lang(zh-Hans) .sheet .tagline, :lang(zh-Hant) .sheet .tagline, :lang(ko) .sheet .tagline { font-size: 28px; }
  .sheet .story { font-size: 16px; }
  .btn { font-size: 20px; padding: 13px 20px 12px; }
  .btn-ink, .btn-paper { font-size: 17px; }
  .exhibit { padding: 50px 14px 60px; }
  .frame { padding: 9px; }
  .exhibit .frame video { width: calc(100vw - 46px); }
  .plaque { margin-top: 24px; padding: 12px 18px 10px; } .plaque b { font-size: 21px; }
  .howto { padding: 20px 16px 60px; } .howto > h2 { font-size: 50px; margin-bottom: 40px; }
  .card { padding: 20px 22px 28px; } .card h3 { font-size: 26px; }
  .lower { gap: 30px; padding: 30px 16px 60px; }
  .coll .big { font-size: 130px; } .coll h2, .coll h3 { font-size: 32px; margin-top: 24px; }
  .facts { padding: 44px 20px 26px; } .facts > h2, .facts > h3 { font-size: 36px; }
  .rows dt { font-size: 16px; } .rows dd { font-size: 15px; }
  .stamp { font-size: 14px; margin-left: 6px; }
  .press-hero { padding: 24px 16px 50px; } .press-hero .logo { width: 190px; } .press-hero h1 { font-size: 56px; }
  .downloads { gap: 16px; }
  .press-layout { padding: 30px 14px 50px; gap: 50px; }
  .press-layout .facts { padding: 44px 20px 26px; }
  .review { padding: 46px 22px 30px; } .review h2 { font-size: 32px; }
  .about-wrap { padding: 0 14px 50px; }
  .about { padding: 46px 22px 30px; } .about h2 { font-size: 36px; }
  .about .press-rules, .press-rules ul { columns: 1; }
  .press-bottom { padding: 10px 14px 20px; }
  .press-gallery > h2 { font-size: 46px; }
  .media-grid { grid-template-columns: 1fr; }
  .foot-links { gap: 12px 18px; padding: 14px 18px; font-size: 15px; }
  .foot-links a:first-child { border-right: 0; padding-right: 0; width: 100%; }
}
