/* Petti 004: Kouthuka Keralam Archive: broadsheet spreads on a strict 12-column grid; Anek Latin for English display, Noto Sans 400 body, Courier Prime for record labels. */
@font-face { font-family: "Anek Malayalam"; font-weight: 800; font-display: swap; src: url("/assets/fonts/anek-malayalam-malayalam-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Anek Latin"; font-weight: 600; font-display: swap; src: url("/assets/fonts/anek-latin-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Anek Latin"; font-weight: 800; font-display: swap; src: url("/assets/fonts/anek-latin-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/noto-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-display: swap; src: url("/kouthuka-keralam/courier-prime-700.woff2") format("woff2"); }
:root { --ground: #ebe5d8; --paper: #f5f0e5; --ink: #211826; --mid: #5b5047; --rule: rgba(33,24,38,.2); --maroon: #782b2d; --violet: #5b43f5; --tape: #c4ee3a; --type: "Courier Prime", ui-monospace, monospace; --disp: "Anek Latin", "Noto Sans", sans-serif; --wrap: 1160px; --gut: clamp(16px, 4vw, 40px); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); background-image: repeating-linear-gradient(0deg, rgba(33,24,38,.025) 0 1px, transparent 1px 3px); color: var(--ink); font: 400 17px/1.65 "Noto Sans", system-ui, sans-serif; }
a { color: inherit; } img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 6px; }
[lang="ml"] { font-family: "Anek Malayalam", sans-serif; }
.kk-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kk-skip { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--ground); border-radius: 8px; } .kk-skip:focus { top: 12px; }
.kk-type, .kk-strip, .kk-nav, .kk-cat, .kk-h, .kk-table th, .kk-table td:nth-child(-n+3), .kk-meta dt, .kk-clip figcaption, .kk-ig, .kk-foot { font-family: var(--type); font-weight: 700; letter-spacing: .02em; }

.kk-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut); }
.kk-home { display: inline-flex; min-height: 44px; align-items: center; } .kk-home img { width: 84px; height: auto; display: block; }
.kk-nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 13px; text-transform: uppercase; }
.kk-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; } .kk-nav a:hover { text-decoration: underline; }

/* Nameplate */
.kk-mast { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.kk-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 9px 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); font-size: 13px; text-transform: uppercase; }
.kk-strip--b { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); justify-content: center; gap: 4px 36px; }
.kk-logo { margin: clamp(24px, 4vw, 40px) 0 0; display: flex; justify-content: center; }
.kk-logo img { width: min(74vw, 380px); height: auto; display: block; filter: drop-shadow(0 12px 20px rgba(33,24,38,.2)); transform: rotate(-1.2deg); }
.kk-lede { margin: 18px auto clamp(24px, 4vw, 36px); max-width: 34ch; font: 600 clamp(21px, 3vw, 28px)/1.3 var(--disp); text-wrap: balance; }
.kk-lede strong { display: block; color: var(--maroon); font-weight: 800; }

/* Sections */
.kk-sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 60px) var(--gut) 0; }
.kk-h { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 14px; text-transform: uppercase; }
.kk-h::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.kk-paper__body { columns: 2 320px; column-gap: 48px; column-rule: 1px solid var(--rule); }
.kk-paper__body p { margin: 0 0 14px; break-inside: avoid; }

.kk-table-wrap { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.kk-table { width: 100%; border-collapse: collapse; }
.kk-table th, .kk-table td { padding: 12px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.kk-table tbody tr:last-child td { border-bottom: 0; }
.kk-table th { color: var(--mid); font-size: 12px; text-transform: uppercase; }
.kk-table td:nth-child(-n+3) { font-size: 14px; white-space: nowrap; }
.kk-table a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; text-decoration: none; }
.kk-table a span { font-size: 19px; font-weight: 800; line-height: 1.35; }
.kk-table a small { color: var(--maroon); font: 600 16px/1.3 var(--disp); }
.kk-table a:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .kk-table thead { display: none; }
  .kk-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .kk-table tbody tr:last-child { border-bottom: 0; }
  .kk-table td { padding: 0; border: 0; } .kk-table td:nth-child(3) { display: none; }
  .kk-table td:nth-child(2) { text-align: right; } .kk-table td:last-child { grid-column: 1 / -1; padding-top: 6px; }
}

/* Report spread: 12 columns, player 4 | record 8, sides alternate, every top on one line */
.kk-report { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.6vw, 32px); max-width: var(--wrap); margin: clamp(48px, 7vw, 80px) auto 0; padding: clamp(24px, 3vw, 32px) var(--gut) 0; scroll-margin-top: 12px; align-items: start; position: relative; }
.kk-report::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 3px double var(--ink); }
.kk-reel { grid-column: 1 / span 4; grid-row: 1 / span 3; }
.kk-report__head, .kk-report__text, .kk-clip { grid-column: 5 / -1; }
.kk-report:nth-of-type(even) .kk-reel { grid-column: 9 / -1; }
.kk-report:nth-of-type(even) .kk-report__head, .kk-report:nth-of-type(even) .kk-report__text, .kk-report:nth-of-type(even) .kk-clip { grid-column: 1 / span 8; }
.kk-report__head { grid-row: 1; }
.kk-cat { margin: 0; color: var(--maroon); font-size: 13px; text-transform: uppercase; }
.kk-report h2 { margin: 6px 0 0; font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.18; overflow-wrap: anywhere; }
.kk-q { margin: 4px 0 0; color: var(--violet); font: 600 clamp(20px, 2.2vw, 24px)/1.3 var(--disp); }
.kk-report__text { grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 0 clamp(16px, 2.6vw, 32px); margin-top: 20px; align-items: start; }
.kk-meta { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.kk-meta div { padding: 10px 12px 10px 0; } .kk-meta div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.kk-meta dt { color: var(--mid); font-size: 12px; text-transform: uppercase; }
.kk-meta dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; line-height: 1.45; }
.kk-report__text p { grid-column: 1; margin: 0 0 12px; }
.kk-tease { color: var(--maroon); font: 600 19px/1.35 var(--disp); }
.kk-clip { grid-row: 2; grid-column: auto; margin: 0; }
.kk-report__text { position: relative; }
.kk-clip { display: none; }
.kk-report__text .kk-clip2 { grid-column: 2; grid-row: 2 / span 3; margin: 0; }
.kk-clip2 img { display: block; width: 100%; height: auto; box-shadow: 0 14px 24px rgba(33,24,38,.18); transform: rotate(1.4deg); }
.kk-clip2 figcaption, .kk-ig { display: block; margin-top: 10px; color: var(--mid); font: 700 12px/1.3 var(--type); text-transform: uppercase; }
.kk-ig { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; text-decoration: none; } .kk-ig:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 900px) {
  .kk-report, .kk-report:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .kk-report .kk-reel, .kk-report:nth-of-type(even) .kk-reel, .kk-report .kk-report__head, .kk-report:nth-of-type(even) .kk-report__head, .kk-report .kk-report__text, .kk-report:nth-of-type(even) .kk-report__text { grid-column: 1; grid-row: auto; }
  .kk-reel { order: 2; width: 100%; max-width: 400px; margin: 18px auto 0; } .kk-report__head { order: 1; } .kk-report__text { order: 3; }
}
@media (max-width: 600px) { .kk-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kk-meta div:nth-child(3) { padding-left: 0; border-left: 0; } .kk-meta div:nth-child(n+3) { border-top: 1px solid var(--rule); } .kk-report__text { grid-template-columns: minmax(0, 1fr); } .kk-report__text .kk-clip2 { grid-column: 1; grid-row: auto; order: 9; max-width: 300px; width: 100%; margin: 10px auto 0; } }

.kk-player { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 2px solid var(--ink); border-radius: 14px; background: #f2f1f6; box-shadow: 7px 7px 0 var(--maroon); }
.kk-player.is-playing { aspect-ratio: auto; height: min(150vw, 720px); background: #fff; box-shadow: 7px 7px 0 var(--violet); }
.kk-play { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.kk-play img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.kk-play__label { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--ground); font: 600 17px/1 var(--disp); white-space: nowrap; box-shadow: 0 8px 18px rgba(33,24,38,.3); }
.kk-play__label i { font-style: normal; font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .kk-play:hover .kk-play__label { background: var(--tape); color: var(--ink); } }
.kk-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.kk-about__body { max-width: 760px; padding: clamp(20px, 3vw, 28px); border: 2px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 7px 7px 0 var(--violet); }
.kk-about__body p { margin: 0 0 12px; } .kk-about__body p:last-child { margin: 0; }
.kk-about__body strong { font: 800 20px/1.3 var(--disp); }
.kk-small { color: var(--mid); font-size: 14px; }
.kk-more { display: grid; justify-items: center; gap: 14px; max-width: var(--wrap); margin: clamp(40px, 6vw, 60px) auto 0; padding: 0 var(--gut); text-align: center; }
.kk-more p { margin: 0; }
.kk-button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 999px; font: 600 17px/1 var(--disp); text-decoration: none; }
.kk-button:hover { background: var(--ink); color: var(--ground); }
.kk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; max-width: var(--wrap); margin: clamp(40px, 6vw, 60px) auto 0; padding: 14px var(--gut) 36px; font-size: 13px; position: relative; }
.kk-foot::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 3px double var(--ink); }
.kk-foot a { display: inline-flex; align-items: center; min-height: 44px; } .kk-sig { color: var(--mid); }
