/* ===== /clean/kitchen & /kitchen/clean — Clean × Kitchen L3 intersection pair, subtle palette blend ===== */

/* Pair-specific palette: slate-blue (Clean #6B8AA8) + brass (Kitchen #C8A164) = grease-honest aesthetic */
.ck {
  --ckslate: #6B8AA8;
  --ckslate-light: #8AABC4;
  --ckslate-dim: rgba(107,138,168,0.65);
  --ckbrass: #C8A164;
  --ckbrass-dim: rgba(200,161,100,0.55);
}

/* ===== Hero ===== */
.ck-hero {
  position: relative;
  height: 88vh;
  min-height: 720px;
  margin: 0 24px 0;
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.ck-hero .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  animation: ckhero 24s ease-in-out infinite alternate;
}
@keyframes ckhero {
  from { transform: scale(1.0) translate(0,0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}
.ck-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,20,26,0.6) 0%, rgba(16,20,26,0.08) 30%, rgba(16,20,26,0.92) 100%);
  z-index: 1;
}

/* Top masthead bar inside hero */
.ck-mast {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 22px 36px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(224,236,246,0.85);
  border-bottom: 1px solid rgba(224,236,246,0.18);
}
.ck-mast .crumb a {
  color: rgba(224,236,246,0.85);
  text-decoration: none;
  border-bottom: 1px dotted rgba(224,236,246,0.4);
}
.ck-mast .ctr {
  color: var(--ckbrass);
  font-weight: 500;
}
.ck-mast .right { letter-spacing: 0.32em; }

/* Cover — headline + intro */
.ck-cover {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  padding: 56px 56px 64px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 60px;
  align-items: end;
}
.ck-cover .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ckslate);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.ck-cover .eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--ckslate);
}
.ck-cover h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
}
.ck-cover h1 em {
  font-style: italic;
  color: var(--ckbrass);
}
.ck-cover .deck {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 36px;
}
.ck-cover .meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.ck-cover .meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ck-cover .meta .k {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ckslate);
}
.ck-cover .meta .v {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}

/* ===== TOP 5 ===== */
.ck-top5 {
  padding: 80px 56px;
  max-width: 1400px;
  margin: 0 auto;
}
.ck-top5 h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 48px;
  color: var(--ink);
}
.ck-top5 .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.ck-top5 .card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  position: relative;
}
.ck-top5 .card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 40px;
  background: linear-gradient(90deg, var(--ckslate) 0%, var(--ckbrass) 100%);
}
.ck-top5 .rank {
  font-family: "JetBrains Mono", monospace;
  font-size: 24px;
  font-weight: 600;
  color: var(--ckslate);
  margin-bottom: 8px;
}
.ck-top5 .card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 24px;
  line-height: 1.25;
  color: var(--ink);
}
.ck-top5 .meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.ck-top5 .meta-row .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.ck-top5 .meta-row .value {
  color: var(--ckbrass);
  font-weight: 600;
}
.ck-top5 .card > p {
  margin: 20px 0 24px;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 0.98rem;
}
.ck-top5 .card > a {
  color: var(--ckslate);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--ckslate);
  transition: all 0.2s ease;
}
.ck-top5 .card > a:hover {
  color: var(--ckbrass);
  border-bottom-color: var(--ckbrass);
}

/* ===== ESSAY ===== */
.ck-essay {
  padding: 64px 56px;
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.ck-essay h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 32px;
  color: var(--ink);
}
.ck-essay p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.ck-essay p:last-child {
  margin-bottom: 0;
}

/* ===== TOOLS ===== */
.ck-tools {
  padding: 64px 56px;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--surface);
}
.ck-tools h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 48px;
  color: var(--ink);
}
.ck-tools .toolkit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.ck-tools .tool {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.ck-tools .tool h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ckslate);
  margin: 0 0 12px;
}
.ck-tools .tool p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== MATRIX ===== */
.ck-matrix {
  padding: 64px 56px;
  max-width: 1000px;
  margin: 0 auto;
}
.ck-matrix h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 48px;
  color: var(--ink);
}
.ck-matrix .surface {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.ck-matrix .surface:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.ck-matrix .surface h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ckbrass);
  margin: 0 0 16px;
}
.ck-matrix .surface p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== TIPS ===== */
.ck-tips {
  padding: 64px 56px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
}
.ck-tips h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 40px;
  color: var(--ink);
}
.ck-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ck-tips li {
  margin-bottom: 28px;
  padding-left: 24px;
  position: relative;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.ck-tips li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ckslate);
  font-weight: 600;
  font-size: 1.4rem;
}
.ck-tips li:last-child {
  margin-bottom: 0;
}
.ck-tips strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===== CHEMISTRY ===== */
.ck-chemistry {
  padding: 64px 56px;
  max-width: 1000px;
  margin: 0 auto;
}
.ck-chemistry h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
}
.ck-chemistry > p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 48px;
}
.ck-chemistry .chem {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.ck-chemistry .chem:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.ck-chemistry .chem h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ckslate);
  margin: 0 0 12px;
}
.ck-chemistry .chem p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== RELATED ===== */
.ck-related {
  padding: 64px 56px;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--surface);
}
.ck-related h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 48px;
  color: var(--ink);
}
.ck-related .sisters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.ck-related .column h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ckbrass);
  margin: 0 0 20px;
}
.ck-related .column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ck-related .column li {
  margin-bottom: 12px;
}
.ck-related .column a {
  color: var(--ckslate);
  text-decoration: none;
  font-size: 0.98rem;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.ck-related .column a:hover {
  color: var(--ckbrass);
  border-bottom-color: var(--ckbrass);
}

/* ===== COLOPHON ===== */
.ck-colophon {
  padding: 64px 56px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.ck-colophon h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--ink);
}
.ck-colophon p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}
.ck-colophon code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 2px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: var(--ckslate);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ck-cover {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px 48px;
  }
  .ck-cover h1 {
    font-size: 2rem;
  }
  .ck-essay,
  .ck-tools,
  .ck-matrix,
  .ck-tips,
  .ck-chemistry,
  .ck-related,
  .ck-colophon {
    padding: 48px 32px;
  }
  .ck-related .sisters {
    grid-template-columns: 1fr;
  }
}
