/* K-Format Lab — site styles */
:root {
  --plum: #652A72;
  --plum-deep: #3E1748;
  --purple: #4C1D9D;
  --lavender: #E8D1E3;
  --lavender-line: #D9BBD2;
  --mist: #F7F0F6;
  --ink: #2A1A33;
  --ink-2: #3B2A44;
  --ink-3: #4A3654;
  --muted: #5C4866;
  --night: #140A19;
  --footer: #1C0F22;
  --green: #1F6B4F;
  --serif: 'Times New Roman', Times, serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #FFFFFF; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--plum); }
a:hover { color: var(--plum-deep); }
p, h1, h2, h3 { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; color: var(--plum); text-transform: uppercase; }
.serif-i { font-family: var(--serif); font-style: italic; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--plum); color: #FFFFFF; }
.btn-solid:hover { background: var(--plum-deep); color: #FFFFFF; }
.btn-outline { border: 2px solid var(--plum-deep); color: var(--plum-deep); }
.btn-white { background: #FFFFFF; color: var(--plum-deep); }
.btn-white:hover { color: var(--plum); }

/* Header */
.site-header { background: var(--lavender); border-bottom: 1px solid var(--lavender-line); }
.site-header.sticky { position: sticky; top: 0; z-index: 100; background: rgba(232, 209, 227, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.site-header .logo img { height: 44px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--plum-deep); }
.nav-links a.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--plum); color: #FFFFFF; }

/* Cover */
.cover { min-height: calc(100vh - 73px); display: flex; flex-direction: column; background: var(--lavender); }
.cover main { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 96px 32px 48px; text-align: center; }
.cover h1 { width: 100%; max-width: 1120px; }
.cover h1 img { width: 100%; height: auto; }
.cover .btn { margin-top: 32px; background: var(--purple); color: #FFFFFF; min-height: 56px; padding: 0 32px; font-size: 17px; }
.cover .credits { padding: 32px; text-align: center; font-size: 14px; font-weight: 500; color: var(--ink-3); }

/* Intro */
.intro { background: var(--lavender); }
.intro .wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 96px; padding-bottom: 112px; }
.intro h1 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(44px, 6.4vw, 80px); line-height: 1.04; letter-spacing: -0.01em; color: var(--plum-deep); max-width: 960px; }
.intro .lead { font-size: 20px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }
.intro .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.intro .credits { margin-top: 16px; font-size: 14px; color: var(--ink-3); text-align: right; }

/* Lineup */
.lineup { background: var(--mist); }
.lineup > .wrap { display: flex; flex-direction: column; gap: 48px; padding-top: 104px; padding-bottom: 104px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.section-head h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--ink-3); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; gap: 24px; padding: 20px; background: #FFFFFF; border-radius: 18px; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
a.card:hover { color: inherit; box-shadow: 0 10px 30px rgba(62, 23, 72, 0.12); transform: translateY(-2px); }
.card img { width: 150px; height: 266px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.card img.contain { object-fit: contain; border: 1px solid #E6D8E4; background: #FFFFFF; }
.card .body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.card .label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--plum); }
.card .label.produced { color: var(--green); }
.card h3 { font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--ink); }
.card .meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.card .chip { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--lavender); color: var(--plum-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.card .text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.card .more { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--plum); }

/* About */
.about > .wrap { display: flex; flex-direction: column; gap: 56px; padding-top: 104px; padding-bottom: 104px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 18px; background: var(--mist); }
.tile .num { font-size: 32px; font-weight: 800; color: var(--plum); }
.tile h3 { font-size: 20px; font-weight: 800; }
.tile p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Format detail */
.f-hero { background: var(--night); color: #FFFFFF; }
.f-hero .wrap { display: flex; flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 88px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--lavender); text-decoration: none; }
.back:hover { color: #FFFFFF; }
.f-key { display: flex; flex-direction: column; gap: 20px; }
.f-key img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.f-key .row { display: flex; justify-content: flex-end; }
.watch { display: inline-flex; align-items: center; gap: 16px; padding: 12px 28px 12px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.35); color: #FFFFFF; text-decoration: none; transition: background-color .15s ease; }
.watch:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.watch .play { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 999px; background: #FFFFFF; color: var(--plum); flex-shrink: 0; }
.watch .t { font-size: 24px; font-weight: 800; line-height: 1.1; }
.f-title { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.f-title .badge { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--lavender); color: var(--plum-deep); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.f-title .label { font-size: 14px; font-weight: 700; letter-spacing: 0.16em; color: var(--lavender); }
.f-title h1, .f-title h2.title { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.f-title .tagline { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1.3; color: #F3EAF4; }
.f-title .sub { font-size: 18px; line-height: 1.5; color: #D9C6DE; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chips span { padding: 8px 16px; border-radius: 999px; border: 1px solid #6E5378; font-size: 14px; font-weight: 600; color: #F3EAF4; }

.f-body .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px; padding-top: 96px; padding-bottom: 96px; }
.f-body .poster { flex: 0 1 380px; width: 380px; max-width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; }
.f-body .copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.f-body .log { font-size: 20px; line-height: 1.6; color: var(--ink); }
.f-body .log.punch { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; }
.facts { display: flex; flex-direction: column; margin-top: 16px; border-bottom: 1px solid #E6D8E4; }
.facts .eyebrow { margin-bottom: 12px; }
.facts .r { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 0; border-top: 1px solid #E6D8E4; }
.facts .k { flex: 0 0 160px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.facts .v { flex: 1 1 220px; min-width: 0; font-size: 16px; font-weight: 600; color: var(--ink); }

.f-trailer { background: var(--mist); }
.f-trailer .wrap { display: flex; flex-direction: column; gap: 32px; padding-top: 96px; padding-bottom: 96px; }
.f-trailer h2 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stills img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }

.f-nav .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 56px; padding-bottom: 56px; }
.f-nav a { display: flex; flex-direction: column; gap: 6px; min-height: 44px; text-decoration: none; }
.f-nav a.next { align-items: flex-end; text-align: right; }
.f-nav .k { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.f-nav .v { font-size: 22px; font-weight: 800; color: var(--ink); }

.band { background: var(--plum); color: #FFFFFF; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.band .txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.band h2 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; }
.band p { font-size: 18px; line-height: 1.6; color: #F3EAF4; }

/* Contact */
.contact { background: var(--plum); color: #FFFFFF; }
.contact .wrap { display: flex; flex-direction: column; gap: 56px; padding-top: 112px; padding-bottom: 120px; }
.contact .head { display: flex; flex-direction: column; gap: 18px; }
.contact .eyebrow { color: var(--lavender); }
.contact h2 { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(38px, 4.6vw, 55px); line-height: 1.05; }
.contact .head p { font-size: 18px; line-height: 1.6; color: #F3EAF4; max-width: 1020px; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { display: flex; flex-direction: column; gap: 14px; padding: 40px; border-radius: 20px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); }
.person .role { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--lavender); }
.person .name { font-size: 34px; font-weight: 800; line-height: 1.15; }
.person .btn { align-self: flex-start; margin-top: 10px; min-height: 52px; padding: 0 24px; }

/* Footer */
.site-footer { background: var(--footer); color: #D9C6DE; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.site-footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--lavender); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; }

/* Phone & tablet */
@media (max-width: 900px) {
  .cards, .tiles, .stills, .people { grid-template-columns: minmax(0, 1fr); }
  .intro .credits { text-align: left; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  html { scroll-padding-top: 120px; }
  .site-header .logo img { height: 36px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .card { flex-direction: column; }
  .card img { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 420px; }
  .watch .play { width: 64px; height: 64px; }
  .watch .t { font-size: 20px; }
  .f-title .tagline { font-size: 22px; }
  .f-body .wrap, .f-trailer .wrap, .lineup > .wrap, .about > .wrap { padding-top: 64px; padding-bottom: 64px; gap: 40px; }
  .person { padding: 28px; }
  .person .name { font-size: 28px; }
  .person .btn { font-size: 14px; padding: 0 18px; }
}
