/*
Theme Name: Kristin Hanlin
Theme URI: https://kristinhanlin.id
Description: A custom portfolio theme for Kristin Hanlin's work and writing.
Author: Kristin Hanlin
Author URI: https://kristinhanlin.id
Template: blankslate
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kristin-hanlin
Domain Path: /languages
*/

/* KRISTIN HANLIN — custom theme — precision match to original */

/* === GOOGLE FONTS IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Bungee:wght@400&family=Caveat:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&family=Rubik+Mono+One:wght@400&display=swap');

:root {
  --font-serif: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif !important;
  --font-display: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif !important;
  --font-hand: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive !important;
  --font-type: Rubik Mono One, 'Courier New', monospace !important;
  --font-screen: Rubik Mono One, 'Monaco', 'Courier New', monospace !important;
  
  --paper: oklch(0.94 0.025 85);
  --ink: oklch(0.15 0.02 80);
  --ink-soft: oklch(0.45 0.02 80);
  --riso-red: oklch(0.55 0.2 20);
  --riso-yellow: oklch(0.82 0.15 85);
}

body, body.home, body.page {
  background: var(--paper) !important;
  background-image: radial-gradient(rgba(0,0,0,0.08) 1px, transparent 1px) !important;
  background-size: 3px 3px !important;
  color: var(--ink);
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
}

/* === Scoped .kh wrapper === */
.kh { 
  color: var(--ink);
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 28px; 
  width: 100%; 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 17px; 
  line-height: 1.55;
}
.kh a { color: var(--ink); }
.kh img { max-width: 100%; height: auto; }
.kh p { margin: 0 0 0.8em; }
.kh h1, .kh h2, .kh h3, .kh h4 { 
  color: var(--ink) !important; 
  font-weight: 900 !important; 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif !important;
}

/* === Hero (home) === */
.kh-hero { 
  display: grid; 
  grid-template-columns: 1fr auto; 
  gap: 30px; 
  align-items: end; 
  border-bottom: 3px double var(--ink); 
  padding: 40px 0 30px;
  margin: 40px 0 20px;
}
.kh-hero .eyebrow { 
  letter-spacing: 0.3em; 
  text-transform: uppercase; 
  font-size: 0.8rem; 
  color: var(--ink-soft); 
  margin-bottom: 10px; 
  font-family: Rubik Mono One, 'Courier New', monospace !important;
}
.kh-hero h1 { 
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.9; 
  margin: 0; 
  text-transform: uppercase; 
  letter-spacing: -0.02em; 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif !important; 
  font-weight: 900;
}
.kh-hero h1 .last { 
  color: var(--riso-red); 
  display: inline-block; 
  transform: rotate(-1.5deg); 
  margin-left: 0.05em;
}
.kh-hero .tagline { 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive !important;
  font-size: 1.7rem; 
  color: var(--ink-soft); 
  margin-top: 10px; 
  display: inline-block; 
  transform: rotate(-1deg);
}
.kh-hero .side { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-end; 
  gap: 8px;
}
.kh-hero .meta { 
  font-size: 0.8rem; 
  text-align: right; 
  line-height: 1.5; 
  font-family: Rubik Mono One, 'Courier New', monospace;
}
.kh-hero .meta strong { 
  display: block; 
  text-transform: uppercase; 
  font-size: 0.7rem; 
  letter-spacing: 0.15em; 
  color: var(--ink-soft); 
  margin-bottom: 2px; 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900;
}

.kh-intro { 
  max-width: 780px; 
  margin: 30px auto 10px; 
  text-align: center; 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.2rem; 
  line-height: 1.6;
}
.kh-intro em { 
  color: var(--riso-red); 
  font-style: italic;
}

.kh-sec-head { 
  display: flex; 
  align-items: baseline; 
  gap: 18px; 
  margin: 50px 0 18px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.kh-sec-head h2 { 
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-transform: uppercase; 
  margin: 0; 
  letter-spacing: -0.01em;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-sec-head .num { 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 1.4rem; 
  color: var(--riso-red); 
  font-weight: bold;
}
.kh-sec-head .rule { 
  flex: 1; 
  height: 0; 
  border-bottom: 2px dashed var(--ink); 
  margin-bottom: 0.5em;
}
.kh-sec-head .tiny { 
  font-size: 0.8rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--ink-soft); 
  font-family: Rubik Mono One, 'Courier New', monospace;
}
.kh-sec-head .tiny a { 
  color: inherit;
}

/* === Work grid === */
.kh-work { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.kh-work-card { 
  position: relative; 
  display: block; 
  text-decoration: none; 
  color: var(--ink); 
  background: var(--paper); 
  border: 2px solid var(--ink); 
  box-shadow: 5px 5px 0 var(--ink);
}
.kh-work-card:nth-child(odd) { transform: rotate(-0.4deg); }
.kh-work-card:nth-child(even) { transform: rotate(0.3deg); }
.kh-work-card:hover { box-shadow: 7px 7px 0 var(--riso-red); }
.kh-work-card .img { 
  height: 200px; 
  background: repeating-linear-gradient(45deg, oklch(0.85 0.02 80) 0 10px, oklch(0.88 0.01 85) 10px 20px);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem; 
  color: var(--ink-soft); 
  text-transform: uppercase; 
  letter-spacing: 0.05em;
}
.kh-work-card:nth-child(1) .img { background: oklch(0.82 0.15 85); }
.kh-work-card:nth-child(3) .img { background: oklch(0.6 0.15 10); }
.kh-work-card:nth-child(5) .img { background: oklch(0.42 0.15 260); color: var(--paper); }
.kh-work-card .label { 
  padding: 12px 14px; 
  border-top: 2px solid var(--ink); 
  display: flex; 
  justify-content: space-between; 
  align-items: baseline;
}
.kh-work-card .label .name { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.95rem; 
  text-transform: uppercase; 
  letter-spacing: 0.03em;
}
.kh-work-card .label .count { 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 1rem; 
  color: var(--riso-red); 
  font-weight: bold;
}
.kh-work-card .ribbon { 
  position: absolute; 
  top: -10px; 
  right: 10px; 
  background: var(--ink); 
  color: var(--paper); 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.65rem; 
  padding: 3px 8px; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  transform: rotate(4deg); 
  z-index: 2;
}

/* === Cabinet teaser (home) === */
.kh-cab-row { 
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  gap: 30px; 
  align-items: start;
  max-width: 1100px;
  margin: 30px auto;
}
.kh-cab-feature { 
  background: var(--paper); 
  border: 2px solid var(--ink); 
  padding: 24px 26px; 
  box-shadow: 5px 5px 0 var(--ink); 
  position: relative;
}
.kh-cab-feature .tape { 
  position: absolute; 
  width: 90px; 
  height: 22px; 
  background: rgba(200, 170, 100, 0.78); 
  top: -11px; 
  left: 30px; 
  transform: rotate(-4deg);
}
.kh-cab-feature .date { 
  font-size: 0.75rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--ink-soft); 
  margin-bottom: 4px; 
  font-family: Rubik Mono One, 'Courier New', monospace;
}
.kh-cab-feature h3 { 
  font-size: 1.9rem; 
  margin: 0 0 14px; 
  text-transform: uppercase; 
  line-height: 1.02;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-cab-feature .snippet { 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.05rem; 
  line-height: 1.55; 
  margin: 0 0 16px;
}
.kh-cab-feature .more { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.85rem; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  text-decoration: none; 
  color: var(--ink); 
  border-bottom: 3px solid var(--riso-red); 
  padding-bottom: 2px;
}
.kh-cab-list h4 { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.9rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  margin: 0 0 12px; 
  padding-bottom: 6px; 
  border-bottom: 1px dashed var(--ink);
}
.kh-cab-list ul { 
  list-style: none; 
  padding: 0; 
  margin: 0;
}
.kh-cab-list li { 
  padding: 10px 0; 
  border-bottom: 1px dashed var(--ink); 
  display: flex; 
  gap: 12px; 
  align-items: baseline;
}
.kh-cab-list .date { 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem; 
  color: var(--riso-red); 
  min-width: 60px; 
  font-weight: bold;
}
.kh-cab-list a { 
  text-decoration: none; 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.05rem;
}
.kh-cab-list a:hover { 
  background: oklch(0.82 0.15 85);
}

/* === About strip (home) === */
.kh-about { 
  display: grid; 
  grid-template-columns: auto 1fr; 
  gap: 28px; 
  align-items: center;
  max-width: 1100px;
  margin: 30px auto;
}
.kh-about .portrait { 
  width: 180px; 
  height: 240px; 
  background: repeating-linear-gradient(45deg, oklch(0.80 0.03 80) 0 8px, oklch(0.88 0.01 85) 8px 16px);
  border: 2px solid var(--ink); 
  box-shadow: 5px 5px 0 var(--riso-red); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  color: var(--ink-soft); 
  font-size: 0.85rem; 
  text-transform: uppercase; 
  transform: rotate(-1.5deg);
}
.kh-about .text { 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.15rem; 
  line-height: 1.6;
}
.kh-about .mark { 
  background: oklch(0.82 0.15 85);
  padding: 0 4px;
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive !important;
}
.kh-about .text a.more { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.8rem; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  text-decoration: none; 
  color: var(--ink); 
  border-bottom: 2px solid var(--ink); 
  margin-top: 8px; 
  display: inline-block;
}

/* === Contact strip === */
.kh-contact-strip { 
  padding: 30px 0; 
  text-align: center; 
  border-top: 3px double var(--ink); 
  border-bottom: 3px double var(--ink); 
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.kh-contact-strip .ask { 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 2.6rem; 
  color: var(--ink); 
  margin: 0 0 6px;
}
.kh-contact-strip .ask em { 
  color: var(--riso-red); 
  font-style: normal;
}
.kh-contact-strip a { 
  text-decoration: none; 
  padding: 0 2px; 
  background: oklch(0.82 0.15 85);
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
}
.kh-contact-strip .dots { 
  color: var(--riso-red); 
  margin: 0 10px;
}

/* === Masthead (Work/About/Contact/Cabinet) === */
.kh-masthead { 
  text-align: center; 
  padding: 30px 20px 14px; 
  position: relative;
}
.kh-masthead h1 { 
  font-size: clamp(3rem, 9vw, 5rem);
  margin: 0; 
  text-transform: uppercase; 
  line-height: 0.9; 
  letter-spacing: -0.02em;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-masthead .sub { 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 2rem; 
  color: var(--ink-soft); 
  margin-top: 8px; 
  display: inline-block; 
  transform: rotate(-1.5deg);
}

/* === Drawers (work) === */
.kh-drawers { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 24px; 
  margin: 30px auto;
  max-width: 1100px;
}
.kh-drawer { 
  position: relative; 
  background: var(--paper); 
  border: 2px solid var(--ink); 
  box-shadow: 6px 6px 0 var(--ink); 
  text-decoration: none; 
  color: var(--ink); 
  overflow: hidden; 
  display: block;
}
.kh-drawer:nth-child(odd) { transform: rotate(-0.8deg); }
.kh-drawer:nth-child(even) { transform: rotate(0.6deg); }
.kh-drawer:hover { box-shadow: 8px 8px 0 var(--riso-red); }
.kh-drawer .strip { 
  background: var(--ink); 
  color: var(--paper); 
  padding: 6px 14px; 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.8rem; 
  letter-spacing: 0.18em; 
  text-transform: uppercase; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}
.kh-drawer .strip .num { 
  color: oklch(0.82 0.15 85);
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 1.05rem;
}
.kh-drawer .preview { 
  height: 180px; 
  background: repeating-linear-gradient(45deg, oklch(0.85 0.02 80) 0 10px, oklch(0.88 0.01 85) 10px 20px);
  position: relative; 
  overflow: hidden;
}
.kh-drawer .peek { 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(2, 1fr); 
  gap: 4px; 
  padding: 10px;
}
.kh-drawer .peek .bit { 
  background: var(--paper); 
  border: 1px solid var(--ink); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 0.75rem; 
  color: var(--ink-soft);
}
.kh-drawer .peek .bit:nth-child(1) { transform: rotate(-3deg); background: oklch(0.6 0.15 10); }
.kh-drawer .peek .bit:nth-child(2) { transform: rotate(2deg); }
.kh-drawer .peek .bit:nth-child(3) { transform: rotate(-2deg); background: oklch(0.82 0.15 85); }
.kh-drawer .peek .bit:nth-child(4) { transform: rotate(3deg); background: oklch(0.42 0.15 260); color: var(--paper); }
.kh-drawer .peek .bit:nth-child(5) { transform: rotate(-2deg); }
.kh-drawer .peek .bit:nth-child(6) { transform: rotate(3deg); background: oklch(0.58 0.12 130); }
.kh-drawer .flap { 
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  background: oklch(0.82 0.15 85);
  padding: 20px; 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 1.4rem; 
  color: var(--ink); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center; 
  transition: transform 0.4s; 
  z-index: 2;
}
.kh-drawer:hover .flap { transform: translateY(-100%); }
.kh-drawer .meta { 
  padding: 16px; 
  font-size: 0.95rem; 
  border-top: 2px dashed var(--ink); 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
}
.kh-drawer .meta h2 { 
  font-size: 1.2rem; 
  margin: 0 0 6px; 
  text-transform: uppercase;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-drawer .meta .count { 
  color: var(--riso-red); 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 1.4rem; 
  line-height: 1;
}
.kh-drawer .meta .tags { 
  margin-top: 8px; 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem; 
  color: var(--ink-soft);
}

/* === Cabinet entries === */
.kh-entry { 
  position: relative; 
  background: var(--paper); 
  border: 2px solid var(--ink); 
  padding: 28px 24px 24px; 
  box-shadow: 6px 6px 0 var(--ink); 
  margin: 40px auto; 
  max-width: 760px;
}
.kh-entry .tape { 
  position: absolute; 
  width: 100px; 
  height: 24px; 
  background: rgba(200, 170, 100, 0.78); 
  top: -12px; 
  left: 30px; 
  transform: rotate(-3deg);
}
.kh-entry h2 { 
  font-size: 1.8rem; 
  text-transform: uppercase; 
  margin: 0; 
  line-height: 1.02;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-entry .dateline { 
  font-size: 0.8rem; 
  letter-spacing: 0.1em; 
  text-transform: uppercase; 
  color: var(--ink-soft); 
  font-family: Rubik Mono One, 'Courier New', monospace;
}
.kh-entry .cat { 
  display: inline-block; 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem; 
  background: var(--ink); 
  color: var(--paper); 
  padding: 2px 8px; 
  margin-right: 6px;
}
.kh-entry .body { 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.1rem; 
  line-height: 1.6;
}
.kh-pullquote { 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 2rem; 
  line-height: 1.2; 
  background: oklch(0.82 0.15 85);
  padding: 16px 20px; 
  margin: 20px -12px; 
  transform: rotate(-1deg);
}

/* === About page === */
.kh-about-grid { 
  display: grid; 
  grid-template-columns: 1fr 1.4fr; 
  gap: 40px; 
  margin: 40px auto; 
  max-width: 1100px;
}
.kh-id { 
  background: var(--paper); 
  border: 2px solid var(--ink); 
  padding: 20px; 
  box-shadow: 6px 6px 0 var(--ink); 
  transform: rotate(-1deg);
}
.kh-id .id-header { 
  background: var(--ink); 
  color: var(--paper); 
  padding: 6px 10px; 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.75rem; 
  letter-spacing: 0.18em; 
  text-transform: uppercase; 
  display: flex; 
  justify-content: space-between; 
  margin: -20px -20px 16px;
}
.kh-id .portrait { 
  height: 300px; 
  background: repeating-linear-gradient(45deg, oklch(0.80 0.03 80) 0 8px, oklch(0.88 0.01 85) 8px 16px);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-family: Rubik Mono One, 'Monaco', 'Courier New', monospace;
  color: var(--ink-soft); 
  font-size: 0.9rem; 
  text-transform: uppercase; 
  border: 1px solid var(--ink);
}
.kh-id .fields { 
  font-size: 0.85rem; 
  margin-top: 14px; 
  line-height: 1.7; 
  font-family: Rubik Mono One, 'Courier New', monospace;
}
.kh-id .fields .k { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.7rem; 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  display: inline-block; 
  min-width: 80px; 
  color: var(--ink-soft);
}

.kh-story { 
  font-family: 'DM Serif Display', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.15rem; 
  line-height: 1.6;
}
.kh-story h2 { 
  font-size: 1.6rem; 
  text-transform: uppercase; 
  margin: 30px 0 10px; 
  border-bottom: 3px double var(--ink); 
  padding-bottom: 6px;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-story .mark { 
  background: oklch(0.82 0.15 85);
  padding: 0 4px;
}
.kh-def { 
  background: oklch(0.88 0.01 100);
  border: 2px dashed var(--ink); 
  padding: 16px 20px; 
  font-family: Rubik Mono One, 'Courier New', monospace;
  font-size: 0.95rem; 
  margin: 20px 0; 
  position: relative;
}
.kh-ledger .row { 
  display: grid; 
  grid-template-columns: 70px 1fr; 
  gap: 20px; 
  padding: 10px 0; 
  border-bottom: 1px dashed var(--ink);
}
.kh-ledger .year { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.9rem; 
  color: var(--riso-red);
}

/* === Contact page === */
.kh-envelope { 
  background: var(--paper); 
  border: 2px solid var(--ink); 
  padding: 30px 28px 26px; 
  box-shadow: 8px 8px 0 var(--ink); 
  transform: rotate(-1deg); 
  position: relative;
}
.kh-envelope h2 { 
  font-size: 1rem; 
  margin: 0 0 14px; 
  text-transform: uppercase; 
  letter-spacing: 0.15em;
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
}
.kh-contact-wrap { 
  display: grid; 
  grid-template-columns: 1.1fr 1fr; 
  gap: 50px; 
  max-width: 1000px; 
  margin: 40px auto; 
  align-items: start;
}
.kh-contact-list { 
  list-style: none; 
  padding: 0; 
  margin: 0;
}
.kh-contact-list li { 
  border-bottom: 1px dashed var(--ink); 
  padding: 12px 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: baseline; 
  gap: 14px;
}
.kh-contact-list .k { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.75rem; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--ink-soft);
}
.kh-contact-list a { 
  font-family: Caveat, 'Permanent Marker', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-size: 1.5rem; 
  text-decoration: none; 
  background: oklch(0.82 0.15 85);
  padding: 0 2px;
}
.kh-address { 
  background: oklch(0.88 0.01 100);
  padding: 18px 20px; 
  border: 2px solid var(--ink); 
  font-family: Rubik Mono One, 'Courier New', monospace;
  margin-top: 24px; 
  box-shadow: 4px 4px 0 var(--ink);
}
.kh-address h3 { 
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-weight: 900; 
  font-size: 0.85rem; 
  margin: 0 0 8px; 
  letter-spacing: 0.15em; 
  text-transform: uppercase;
}

/* === WP post overrides === */
.single .entry-title, .archive .entry-title { font-family: 'Futura', 'Impact', sans-serif !important; font-weight: 900 !important; text-transform: uppercase; letter-spacing: -0.02em; }
.single .entry-content, .archive .entry-content { font-family: 'Baskerville', 'Palatino Linotype', Georgia, serif; }
.single .entry-meta, .archive .entry-meta { font-family: 'American Typewriter', monospace; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: #4a4139; }

/* === Mobile === */
@media (max-width: 800px) {
  .kh-hero, .kh-cab-row, .kh-about, .kh-about-grid, .kh-contact-wrap { grid-template-columns: 1fr; }
  .kh-hero h1, .kh-masthead h1 { font-size: 3rem; }
}

/* === Navigation Bar === */
.kh-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  font-family: Bungee, 'Trebuchet MS', 'Arial Black', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 500;
  border-bottom: 2px solid var(--ink);
}

.kh-topbar a {
  color: var(--paper);
  text-decoration: none;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  transition: background-color 0.2s;
}

.kh-topbar a:hover,
.kh-topbar a[aria-current="page"] {
  background: var(--riso-red);
}

.kh-topbar .spacer {
  flex: 1;
  border: none;
}

/* === Adjust body padding for fixed navbar === */
body {
  padding-top: 44px !important;
}

/* === Hide WordPress header, footer, sidebar === */
#header {
  display: none;
}

#footer {
  display: none;
}

#sidebar {
  display: none;
}

#container {
  margin-right: 0;
  width: 100%;
}

#wrapper {
  max-width: 100%;
  padding: 0;
  margin-top: -44px;
  padding-top: 44px;
}