/*
Theme Name: Imperfect
Theme URI: https://againstperfection.com
Author: Against Perfection
Author URI: https://againstperfection.com
Description: Visual strategy for fashion, luxury and the arts. Custom theme for Against Perfection.
Version: 1.0
License: Private
Text Domain: imperfect
*/


/* ═══════════════════════════════════════════════════════════
   IMPERFECT THEME
   Direction: Monocle Editorial
   ═══════════════════════════════════════════════════════════ */

:root {
  --red:    #C8202A;
  --red-h:  #A81922;
  --cream:  #FAF8F3;
  --dark:   #181818;
  --warm:   #8A7E72;
  --rule:   #E2DCD3;
  --light:  #F2EDE6;
  --green:  #3E6E4A;
  --white:  #FFFFFF;

  --serif: Georgia, 'Times New Roman', serif;
  --sans:  'Helvetica Neue', Arial, sans-serif;

  --col:  820px;
  --wide: 1120px;
  --g:    clamp(20px, 5vw, 60px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: #FFFFFF;
  color: var(--dark);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--white); }
a { color: inherit; text-decoration: none; transition: color 0.25s; }
img { max-width: 100%; display: block; }


/* ─── TYPOGRAPHY ─── */

h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: normal;
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--dark);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: normal;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--dark);
  margin-bottom: 20px;
}

h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: normal;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

p {
  font-size: 15px;
  line-height: 1.75;
  color: #3E3530;
  margin-bottom: 14px;
}
p:last-child { margin-bottom: 0; }

p.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--dark);
}

p.small-sans {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--warm);
  margin-bottom: 10px;
}

.kicker {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}
.kicker.warm { color: var(--warm); }


/* ─── NAVIGATION ─── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  transition: box-shadow 0.3s;
}

.nav-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--g);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  user-select: none;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-brand:hover { opacity: 0.7; }

.nav-sections {
  display: flex;
  gap: 28px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-sections::-webkit-scrollbar { display: none; }

.nav-sections a {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-sections a:hover,
.nav-sections a.active {
  color: var(--white);
  border-color: var(--red);
}


/* ─── HAMBURGER & MOBILE MENU ─── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: fixed;
  top: 48px;
  left: 0; right: 0;
  z-index: 999;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--red); }


/* ─── RULES ─── */

.thick-rule  { height: 2px; background: var(--dark); }
.thin-rule   { height: 1px; background: var(--rule); }
.red-rule    { height: 2px; background: var(--red); }
.sp-s  { height: 24px; }
.sp-m  { height: 48px; }
.sp-l  { height: 72px; }


/* ─── HERO (Home) ─── */

.hero { border-bottom: 1px solid var(--rule); }

.hero-kaer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 72px var(--g) 0;
}

.hero-kaer-top {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.hero-kaer-img {
  width: 160px;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light);
  position: relative;
  flex-shrink: 0;
}
.hero-kaer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-kaer-title { padding-top: 8px; }
.hero-kaer-title h1 {
  font-family: var(--serif);
  font-size: clamp(72px, 11vw, 160px);
  font-weight: normal;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--dark);
  margin-bottom: 32px;
}

.hero-kaer-desc {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--red);
  font-style: italic;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
  padding-bottom: 3px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.hero-cta:hover { color: var(--red); border-color: var(--red); }


/* ─── SECTION HEADER BAR ─── */

.section-head {
  max-width: 100%;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0 var(--g);
  display: flex;
  align-items: center;
  height: 40px;
  background: #FFFFFF;
}

.section-head-inner {
  max-width: var(--wide);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-head-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--dark);
  letter-spacing: -0.3px;
}
.section-head-title em { font-style: italic; }

.section-head-meta {
  font-family: var(--sans);
  font-size: 9px;
  color: var(--warm);
  letter-spacing: 1px;
}


/* ─── CONTENTS GRID (Home) ─── */

.contents-kaer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 64px var(--g) 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ck-item {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--rule);
  margin-right: 40px;
}
.ck-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.ck-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #F5F3EF;
  margin-bottom: 24px;
  overflow: hidden;
}
.ck-img img { width: 100%; height: 100%; object-fit: cover; }

.ck-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 8px;
}

.ck-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: normal;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.ck-title em { font-style: italic; }

.ck-desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.65;
  color: var(--warm);
  margin: 0;
}
.ck-item:hover .ck-title { color: var(--red); }


/* ─── DIAGNOSTIC ─── */

.diagnostic {
  background: #FFFFFF;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.diagnostic-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 80px var(--g);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.diagnostic-sidebar { position: sticky; top: 80px; }

.diagnostic-num {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.diagnostic-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--dark);
  font-weight: normal;
  line-height: 1.2;
}
.diagnostic-title em { font-style: italic; }

.diagnostic-intro {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  color: var(--warm);
  line-height: 1.6;
  margin-top: 16px;
}

.diagnostic-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light);
  overflow: hidden;
  margin-top: 32px;
}
.diagnostic-img img { width: 100%; height: 100%; object-fit: cover; }

.dq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}
.dq-item:first-child { border-top: 1px solid var(--rule); }

.dq-n {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1.5px;
  padding-top: 4px;
}

.dq-text {
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--dark);
  margin: 0;
}


/* ─── PULL QUOTE ─── */

.pull-quote {
  padding: 56px 0 56px 24px;
  margin: 0;
  border-left: 3px solid var(--red);
}
.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 44px);
  line-height: 1.2;
  color: var(--dark);
  font-style: italic;
  letter-spacing: -0.5px;
  margin: 0;
  max-width: 800px;
}


/* ─── SIDEBAR BLOCKS ─── */

.sidebar {
  background: transparent;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 36px 0;
}

.sidebar-title {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 12px;
}
.sidebar p {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: var(--warm);
  margin: 0;
}


/* ─── LAYOUT HELPERS ─── */

.wrap { max-width: var(--col); margin: 0 auto; padding: 0 var(--g); }
.wrap.wide { max-width: var(--wide); }
.content-section { max-width: var(--col); margin: 0 auto; padding: 72px var(--g); }
.content-section.wide { max-width: var(--wide); }


/* ─── PAGE HEADER ─── */

.page-header-custom {
  border-bottom: 1px solid var(--rule);
  padding: 80px var(--g) 64px;
  max-width: var(--wide);
  margin: 0 auto;
}
.page-header-custom .ph-inner { max-width: var(--col); }
.page-header-custom .kicker { margin-bottom: 24px; }
.page-header-custom h1 { margin-bottom: 20px; letter-spacing: -2px; }
.page-header-custom p.lead {
  color: var(--warm);
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 520px;
}


/* ─── APPROACH PAGE ─── */

.approach-grid {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 64px var(--g) 96px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 72px;
  align-items: start;
}

.approach-header-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--col);
}

.approach-portrait {
  aspect-ratio: 3/4;
  width: 160px;
  overflow: hidden;
  background: var(--light);
}
.approach-portrait img { width: 100%; height: 100%; object-fit: cover; }

.aside-block {
  padding: 24px 0;
  background: transparent;
  margin-bottom: 0;
  border-top: 1px solid var(--rule);
}
.aside-block:last-of-type { border-bottom: 1px solid var(--rule); }

.aside-title {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 10px;
}

.aside-body {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  color: var(--warm);
  margin: 0;
}

.aside-img {
  aspect-ratio: 3/4;
  width: 100%;
  overflow: hidden;
  background: var(--light);
  margin-bottom: 0;
}
.aside-img img { width: 100%; height: 100%; object-fit: cover; }


/* ─── CONVENTION IMAGE GRID ─── */

.convention-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
  margin: 32px 0 40px;
}

.convention-img-item {}

.convention-img-item .conv-img {
  aspect-ratio: 4/3;
  background: #F5F3EF;
  overflow: hidden;
}
.convention-img-item .conv-img img { width: 100%; height: 100%; object-fit: cover; }

.convention-img-caption {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.55;
  color: var(--warm);
  font-style: italic;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}


/* ─── PROCESS SECTION ─── */

.process-section {
  background: var(--light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.process-section-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 72px var(--g) 80px;
}

.process-section-header { margin-bottom: 48px; }
.process-section-header h2 { margin-bottom: 0; }

.process-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.process-card {
  background: #FFFFFF;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.process-card:last-child { border-right: none; }

.process-card-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.process-card-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.process-card-body {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  color: var(--warm);
  margin: 0;
}


/* ─── JOURNAL GRID (Convention Index) ─── */

.journal-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.journal-card {
  padding: 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: none;
}
.journal-card:last-child { border-right: none; }
.journal-card:nth-child(odd):nth-last-child(1) { border-right: none; }
.journal-card a { display: block; }

.journal-img {
  aspect-ratio: 3/2;
  background: #F5F3EF;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}
.journal-img img { width: 100%; height: 100%; object-fit: cover; }
.journal-img span {
  font-family: var(--sans);
  font-size: 9px;
  color: #C0B8B0;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.journal-tag {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 10px;
}

.journal-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.journal-title em { font-style: italic; }

.journal-excerpt {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.65;
  color: var(--warm);
  font-style: italic;
  margin: 0 0 20px;
}

.jc-read-more {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.journal-card:hover .jc-read-more { color: var(--dark); border-color: var(--dark); }


/* ─── SINGLE ARTICLE (Convention) ─── */

.article-header {
  max-width: var(--col);
  margin: 0 auto;
  padding: 80px var(--g) 56px;
  border-bottom: 1px solid var(--rule);
}

.article-back {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  transition: color 0.25s;
}
.article-back:hover { color: var(--red); }

.article-meta-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 12px;
}

.article-issue {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
}

.article-date {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--warm);
}

.article-header h1 {
  font-size: clamp(32px, 5vw, 60px);
  margin-bottom: 16px;
}

.article-header .lead {
  font-size: 19px;
  color: var(--warm);
  font-style: italic;
}

.article-hero-media {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--g);
}

.article-media-block {
  aspect-ratio: 16/9;
  background: #F5F3EF;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.article-media-block img,
.article-media-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-caption {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--warm);
  letter-spacing: 0.3px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  margin-top: 0;
}

.article-body {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--g) 72px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--dark);
  margin-bottom: 20px;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--dark);
  font-weight: normal;
  margin: 36px 0 14px;
  font-style: italic;
}


/* ─── RELATED STRIP ─── */

.related-strip {
  border-top: 1px solid var(--rule);
  padding: 56px var(--g) 80px;
  max-width: var(--wide);
  margin: 0 auto;
}

.related-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}

.related-item {
  padding: 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.related-item:hover { background: var(--light); }
.related-item:hover .related-title { color: var(--red); }

.related-tag {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.related-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--dark);
  transition: color 0.25s;
}


/* ─── NOTES/POSITIONS PAGE ─── */

.note-featured {
  border-bottom: 1px solid var(--rule);
  padding: 64px 0 56px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.note-featured:hover .note-featured-title { color: var(--red); }

.note-featured-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 20px;
}

.note-featured-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 0;
  transition: color 0.25s;
}
.note-featured-title em { font-style: italic; }

.note-featured-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.72;
  font-style: italic;
  color: var(--warm);
  margin-bottom: 28px;
  margin-top: 24px;
}

.note-featured-cta {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--dark);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.note-featured:hover .note-featured-cta { color: var(--red); border-color: var(--red); }

.notes-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.notes-col-panel { padding: 0 48px 0 0; }
.notes-col-panel:last-child {
  padding: 0 0 0 48px;
  border-left: 1px solid var(--rule);
}

.note-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
}
.note-item:first-child { border-top: 1px solid var(--rule); }
.note-item:hover .note-item-title { color: var(--red); }

.note-item-num {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red);
  padding-top: 4px;
}

.note-item-date {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 8px;
}

.note-item-title {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 8px;
  transition: color 0.25s;
  letter-spacing: -0.2px;
}

.note-item-excerpt {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.65;
  color: var(--warm);
  font-style: italic;
  margin: 0;
}


/* ─── SINGLE NOTE/POSITION ─── */

.note-hero-img {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--g);
}

.note-img-block {
  aspect-ratio: 16/9;
  background: var(--light);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0 0;
  position: relative;
  overflow: hidden;
}
.note-img-block img { width: 100%; height: 100%; object-fit: cover; }

.note-img-caption {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--warm);
  letter-spacing: 0.3px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  margin-bottom: 32px;
}


/* ─── CONTACT ─── */

.contact-email {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 38px);
  color: var(--dark);
  letter-spacing: -0.5px;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 4px;
  display: inline-block;
  transition: color 0.25s, border-color 0.25s;
}
.contact-email:hover { color: var(--red); border-color: var(--red); }

.contact-meta {
  display: grid;
  grid-template-columns: 1fr;
  border-top: none;
}

.contact-meta-item { padding: 20px 0; border-bottom: 1px solid var(--rule); }

.contact-meta-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--warm);
  margin-bottom: 6px;
}

.contact-meta-value {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--dark);
}


/* ─── BRANDS GRID ─── */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 520px;
  border-bottom: 1px solid var(--rule);
}
.brands-grid div {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.5px;
  color: var(--dark);
  padding: 5px 0;
  border-top: 1px solid var(--rule);
}


/* ─── BADGE ─── */

.badge {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 2px 7px;
  border: 1px solid;
  white-space: nowrap;
}
.badge.cage      { color: var(--red);   border-color: var(--red); }
.badge.inherited { color: var(--warm);  border-color: var(--warm); }
.badge.load      { color: var(--green); border-color: var(--green); }


/* ─── FOOTER ─── */

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--rule);
}

.footer-top {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px var(--g);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.footer-col-label {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--red);
  margin-bottom: 12px;
}

.footer-col-item {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--warm);
  margin-bottom: 6px;
  display: block;
  transition: color 0.25s;
}
.footer-col-item:hover { color: var(--dark); }

.footer-bottom {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 16px var(--g);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span,
.footer-bottom a {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
}
.footer-bottom a:hover { color: var(--dark); }


/* ─── ANIMATIONS ─── */

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.in-view { opacity: 1; transform: translateY(0); }

.fade-stagger > *:nth-child(1) { transition-delay: 0s; }
.fade-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.fade-stagger > *:nth-child(3) { transition-delay: 0.16s; }


/* ─── WORDPRESS OVERRIDES ─── */

.entry-content { padding-top: 48px; }
.page .entry-content,
.single .entry-content { padding-top: 48px; }

/* WordPress block editor alignment */
.alignwide { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: 0; margin-right: 0; }

/* Remove default WP margins */
.wp-block-group { margin: 0; }
.entry-title { display: none; } /* We use custom headers */


/* ═══════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .nav-brand { font-size: 8px; letter-spacing: 1px; }
  .nav-sections { display: none; }
  .nav-hamburger { display: flex; }

  :root { --g: 20px; }

  .hero-kaer { padding: 32px 20px 0; }
  .hero-kaer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .hero-kaer-img { width: 120px; }

  .contents-kaer { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 56px; }
  .ck-item { padding-right: 0; margin-right: 0; border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 40px; }
  .ck-item:last-child { border-bottom: none; padding-bottom: 0; }

  .diagnostic-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px; }
  .diagnostic-sidebar { position: static; }

  .approach-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 48px; }
  .approach-header-grid { grid-template-columns: 1fr; gap: 24px; }
  .convention-img-grid { grid-template-columns: 1fr; gap: 24px; }

  .process-section-inner { padding: 48px 20px 56px; }
  .process-cards { grid-template-columns: 1fr; gap: 0; }
  .process-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .process-card:last-child { border-bottom: none; }

  .journal-2col { grid-template-columns: 1fr; }
  .journal-card { border-right: none; border-left: 1px solid var(--rule); padding: 24px 20px; }

  .article-header { padding: 36px 20px 28px; }
  .article-hero-media { padding: 0 20px; }
  .article-body { padding: 0 20px 48px; }
  .article-media-block { aspect-ratio: 4/3; }

  .related-grid { grid-template-columns: 1fr; }
  .related-item { border-right: none; border-left: 1px solid var(--rule); }
  .related-strip { padding: 32px 20px; }

  .notes-two-col { grid-template-columns: 1fr; }
  .notes-col-panel { padding: 0; border-left: none; }
  .note-featured { grid-template-columns: 1fr; gap: 0; padding: 40px 0 32px; }
  .notes-col-panel:last-child { border-left: none; padding: 0; border-top: 1px solid var(--rule); }

  .page-header-custom { padding: 36px 20px 28px; }
  .content-section { padding: 40px 20px; }

  .contact-meta { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px 20px; }
  .footer-bottom { padding: 14px 20px; flex-wrap: wrap; gap: 8px; }

  .brands-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(32px, 9vw, 44px); letter-spacing: -1px; }
  h2 { font-size: clamp(20px, 6vw, 26px); }
  .footer-top { grid-template-columns: 1fr; }
  .note-featured-title { font-size: clamp(20px, 6vw, 28px); }
}
