/* YSM Yapım landing: Vitrin dili */
:root {
  --bg: #F6F5F2; --card: #FFFFFF; --ink: #111111; --txt: #444444; --muted: #6B6B6B; --line: #E1DFDA;
  --red: #CF1217; --red-dark: #A50E12;
  --font: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 0; }
.hdr .logo img { height: 20px; width: auto; }
.pill { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: var(--ink); color: #fff; border-radius: 999px; cursor: pointer; }
.mnav { display: none; flex-direction: column; gap: 4px; margin-top: 12px; background: var(--ink); border-radius: 12px; padding: 8px; }
.mnav.open { display: flex; }
.mnav a { color: #fff; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.mnav a:hover { background: #2E2E2E; color: #fff; }
@media (min-width: 720px) {
  .menu-btn, .mnav { display: none !important; }
  .pill { display: flex; align-items: center; gap: 2px; background: var(--ink); border-radius: 999px; padding: 4px 6px; }
  .pill a { color: #fff; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
  .pill a.on, .pill a:hover { background: #2E2E2E; color: #fff; }
  .hdr { padding-top: 18px; }
}

.top { padding: 18px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top a { display: inline-flex; align-items: center; color: var(--ink); min-height: 44px; }
.top img { height: 20px; width: auto; }
.top span { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1; text-align: right; }
@media (min-width: 720px) { .top { padding-top: 22px; } .top img { height: 22px; } .top span { font-size: 15px; } }

/* hero */
.hero { display: block; padding: 32px 0 0; }
.hero h1 { font-size: clamp(20px, 7.2vw, 76px); white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--red); }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.nums div { display: flex; flex-direction: column; padding: 14px 0 16px; }
.nums div + div { padding-left: clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.nums b { font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.04em; line-height: 1; }
.nums span { font-size: 15px; font-weight: 600; color: var(--txt); margin-top: 4px; }
@media (min-width: 720px) { .nums { margin-top: 28px; } .nums div { flex-direction: row; align-items: baseline; gap: 12px; } .nums span { font-size: 18px; margin: 0; } }
.hero .intro { color: var(--txt); font-size: 17px; max-width: 560px; margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; padding-top: 12px; border-top: 2px solid var(--ink); max-width: 520px; }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1; color: var(--red); }
.stats span { display: block; font-size: 13px; color: var(--txt); margin-top: 4px; }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wall img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: #ddd; }
@media (min-width: 1024px) { .hero { padding-top: 56px; } }

/* catalog */
.sec { padding-top: 40px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.sec-h h2 { font-size: clamp(28px, 4vw, 36px); }
.sec-h span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tile { display: flex; flex-direction: column; background: var(--card); border-radius: 8px; overflow: hidden; color: inherit; }
.tile img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: top; background: #ddd; }
.tile .tb { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.tile h3 { font-size: 19px; letter-spacing: -0.02em; }
.tile .cast { font-size: 13px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; margin-top: auto; padding-top: 8px; }
.tile .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tile .cta { white-space: nowrap; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 4px; background: #EEECE7; color: var(--txt); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tile .cta { font-size: 14px; font-weight: 700; color: var(--red); }
@media (min-width: 720px) { .tile h3 { font-size: 22px; } .tile .tb { padding: 14px 16px 16px; } }

@media (max-width: 719px) { .tile .row { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (max-width: 359px) { .tile .tb { padding: 10px 10px 12px; } .tag { font-size: 11px; padding: 0 7px; } .tile .cta { font-size: 13px; } .tile .row { gap: 4px; } }

/* blocks */
.blocks { display: grid; gap: 12px; padding-top: 56px; }
.blocks div { padding-top: 12px; border-top: 2px solid var(--ink); }
.blocks h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.blocks p { font-size: 14px; color: var(--txt); }
@media (min-width: 720px) { .blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* play page */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { font-weight: 600; color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 600; }
.play { display: grid; gap: 28px; padding-top: 16px; }
@media (max-width: 719px) { .play > div:first-child { display: contents; } .play .poster { order: 0; max-width: none; } .play > div:nth-child(2) { order: 1; } .play .kunye, .play .crew, .play .note { order: 2; } .play .kunye { margin-top: 0; } }
.poster { width: 100%; max-width: 400px; border-radius: 8px; aspect-ratio: 2 / 3; object-fit: cover; background: #ddd; }
.play h1 { font-size: clamp(40px, 8vw, 72px); }
.play .sub { font-size: 18px; color: var(--txt); margin-top: 10px; }
.play .desc { font-size: 17px; color: var(--txt); margin-top: 18px; max-width: 640px; }
.play .desc + .desc { margin-top: 12px; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn.alt { background: var(--ink); }
.btn.alt:hover { background: #2E2E2E; }
.buy-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.kunye { margin-top: 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font-size: 14px; }
.kunye div { display: flex; flex-direction: column; }
.kunye span { font-size: 12px; color: var(--muted); }
.kunye b { font-weight: 600; }
.kunye .full { grid-column: 1 / -1; }
.crew { margin-top: 26px; padding-top: 12px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
.crew h2 { grid-column: 1 / -1; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 4px; }
.crew div { display: flex; flex-direction: column; }
.crew span { font-size: 12px; color: var(--muted); }
.note { font-size: 14px; color: var(--txt); margin-top: 12px; }
@media (min-width: 720px) {
  .play { grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
  .kunye { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .play { grid-template-columns: 400px 1fr; gap: 48px; padding-top: 20px; } .crumbs { padding-top: 28px; } }

/* sticky buy bar on mobile */
.bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(246,245,242,0.96); border-top: 1px solid var(--line); z-index: 5; }
.bar.show { display: flex; }
.bar { gap: 8px; }
.bar .btn { flex: 1; min-width: 0; padding: 0 8px; font-size: 14px; }
.bar-pad { height: 80px; }
@media (min-width: 720px) { .bar, .bar.show, .bar-pad { display: none; } }

/* other plays strip */
.others { padding-top: 48px; }
.others h2 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .strip { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.strip a { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: #ddd; }

/* social */
.social { margin-top: 28px; display: grid; gap: 10px; max-width: 640px; }
.scard { display: grid; grid-template-columns: 56px 1fr 22px; align-items: center; gap: 14px; background: var(--card); border-radius: 8px; padding: 12px 14px; color: var(--ink); }
.scard img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.scard .st { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scard .st b { font-size: 15px; }
.scard .st span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.scard svg { color: var(--ink); }
.scard:hover { color: var(--ink); }
.scard:hover svg { color: var(--red); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* closing statement */
.end { display: grid; gap: 10px; margin-top: 56px; padding: 22px 0 24px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.end h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; line-height: 1.1; color: var(--red); }
.end p { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; max-width: 34em; text-wrap: pretty; }
.end + .ftr { margin-top: 0; border-top: 0; }
@media (min-width: 1000px) { .end { grid-template-columns: 1fr 2fr; gap: 64px; align-items: baseline; margin-top: 72px; padding: 28px 0 32px; } }

/* footer */
.ftr { margin-top: 64px; padding: 24px 0 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.ftr .fl { display: flex; flex-direction: column; gap: 10px; }
.ftr .fl img { height: 18px; width: auto; align-self: flex-start; }
.ftr .fl span { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 48em; text-wrap: balance; }
.ftr .fl .legal { font-size: 12px; color: #9A9A9A; }
.ftr .fc { display: flex; flex-direction: column; gap: 4px; }
.ftr .fc a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 16px; font-weight: 600; line-height: 1; color: var(--ink); align-self: flex-start; }
.ftr .fc a:hover { color: var(--red); }
@media (max-width: 719px) { .ftr .fl { display: contents; } .ftr .fl img { order: 1; } .ftr .fl span { order: 2; margin-top: -10px; } .ftr .fc { order: 3; } .ftr .fl .legal { order: 4; margin-top: 0; } }
@media (min-width: 720px) {
  .ftr { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 32px; padding: 28px 0 44px; }
  .ftr .fl { justify-content: space-between; gap: 12px; }
  .ftr .fl .legal { margin-top: auto; line-height: 22px; }
  .ftr .fc { justify-content: space-between; gap: 16px; }
  .ftr .fc a { align-self: flex-end; min-height: 22px; }
}

/* 404 */
.nf { padding: 64px 0 0; max-width: 640px; }
.nf h1 { font-size: clamp(36px, 7vw, 64px); }
.nf p { color: var(--txt); font-size: 17px; margin: 16px 0 22px; }
