/*
  JUSTKASS brand partnerships — complete redesign.
  Distinct from the shared Cincee template: split-screen cinematic hero,
  editorial left-label section rhythm, horizontal partner list, mosaic gallery.

  Palette:
    --espresso   #1C0F0A   deep chocolate base
    --ink        #2E1A12   primary text
    --cocoa      #6B3E2A   mid-brown accent
    --leopard    #C9956B   warm amber / leopard tan
    --blush      #EEC5B4   soft rose blush
    --blush-lt   #F5E6DF   lightest blush / section bg
    --cream      #FAF4EF   near-white warm cream
    --paper      #FEFCFA   page bg

  Fonts:
    --f-serif    'Playfair Display', 'Didot', Georgia, 'Times New Roman', serif
    --f-body     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif

  Motif: leopard spots used as a single CSS-drawn badge element, not tiled.
*/

/* ===========================
   TOKENS
   =========================== */
:root {
  --espresso:   #1C0F0A;
  --ink:        #2E1A12;
  --ink-mid:    #5A3525;
  --cocoa:      #7A4530;
  --leopard:    #C9956B;
  --blush:      #EEC5B4;
  --blush-lt:   #F5E6DF;
  --cream:      #FAF4EF;
  --paper:      #FEFCFA;
  --white:      #FFFFFF;

  --f-serif: 'Playfair Display', 'Didot', Georgia, 'Times New Roman', serif;
  --f-body:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max:    1280px;
  --pad:    clamp(20px, 4vw, 60px);
  --radius: 6px;
  --ease:   cubic-bezier(.22,.61,.36,1);
}

/* ===========================
   BASE RESET
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; padding: 0; }
::selection { background: var(--blush); color: var(--espresso); }

/* Local dev indicator */
.is-local body::after {
  content: 'local';
  position: fixed; bottom: 8px; left: 8px;
  font: 500 10px/1 var(--f-body);
  color: var(--cocoa); opacity: .4;
  pointer-events: none; z-index: 999;
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(254, 252, 250, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(46, 26, 18, .07);
  transition: box-shadow .35s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(28, 15, 10, .08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--espresso);
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  flex-shrink: 0;
  transition: opacity .25s;
}
.nav-logo:hover { opacity: .7; }
.logo-just { font-weight: 400; font-style: italic; }
.logo-kass { font-weight: 700; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mid);
  letter-spacing: .02em;
  position: relative;
  padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--cocoa);
  transition: width .3s var(--ease);
}
@media (hover: hover) {
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { width: 100%; }
}

.nav-cta {
  flex-shrink: 0;
  background: var(--espresso);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background .25s var(--ease), transform .25s var(--ease);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) {
  .nav-cta:hover {
    background: var(--cocoa);
    transform: translateY(-1px);
  }
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
  transform-origin: center;
}
.nav-burger.open span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(46, 26, 18, .1);
  padding: 20px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 49;
  transform: translateY(-110%);
  transition: transform .38s var(--ease);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  pointer-events: all;
}
.mm-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-mid);
  padding: 10px 0;
  border-bottom: 1px solid rgba(46, 26, 18, .07);
  transition: color .2s;
}
.mm-link:hover { color: var(--ink); }
.mm-cta {
  margin-top: 12px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 100px;
  text-align: center;
  transition: background .25s;
}
.mm-cta:hover { background: var(--cocoa); }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

/* ===========================
   HERO — cinematic split screen
   =========================== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  padding-top: 64px; /* nav height */
}

/* Portrait half */
.hero-portrait {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .hero-portrait:hover img { transform: scale(1.03); }
}
.hero-portrait-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 15, 10, .18) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* Leopard badge */
.leopard-badge {
  position: absolute;
  bottom: 48px;
  left: -1px;
  background: var(--blush);
  padding: 14px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  /* Subtle leopard-spot texture via box-shadow layering */
  box-shadow:
    4px 4px 0 rgba(201, 149, 107, .3),
    inset 0 0 0 1px rgba(201, 149, 107, .25);
}
.lb-line1 {
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cocoa);
  opacity: .8;
}
.lb-year {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 26px;
  color: var(--espresso);
  line-height: 1;
}

/* Copy half */
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 100px) clamp(28px, 5vw, 80px);
  background: var(--paper);
  position: relative;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 32px;
}
.overline-tick {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--leopard);
  flex-shrink: 0;
}

.hero-copy h1 {
  font-family: var(--f-serif);
  font-weight: 900;
  font-size: clamp(58px, 8vw, 108px);
  line-height: .92;
  color: var(--espresso);
  letter-spacing: -.02em;
  margin-bottom: 28px;
}
.h1-serif { display: block; }
.h1-indent { padding-left: .18em; }

.hero-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-mid);
  max-width: 38ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  min-height: 48px;
}
.btn-dark {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}
@media (hover: hover) {
  .btn-dark:hover {
    background: var(--cocoa);
    border-color: var(--cocoa);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(28, 15, 10, .22);
  }
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(46, 26, 18, .22);
}
@media (hover: hover) {
  .btn-outline:hover {
    border-color: var(--espresso);
    background: rgba(28, 15, 10, .04);
  }
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 12px;
  color: var(--ink-mid);
  letter-spacing: .04em;
}
.hero-chips strong {
  font-weight: 500;
  color: var(--ink);
}
.chip-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--leopard);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Vertical brand label on right edge */
.hero-vert-label {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(46, 26, 18, .28);
  white-space: nowrap;
  pointer-events: none;
}

/* Mobile hero: stacked */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-portrait {
    height: 64vw;
    max-height: 480px;
  }
  .hero-copy {
    padding: 36px var(--pad) 40px;
  }
  .hero-copy h1 {
    font-size: clamp(48px, 11vw, 80px);
  }
  .hero-vert-label { display: none; }
  .leopard-badge { bottom: 28px; }
}

/* ===========================
   MARQUEE STRIP
   =========================== */
.marquee {
  background: var(--espresso);
  overflow: hidden;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
  white-space: nowrap;
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  color: rgba(238, 197, 180, .7);
  animation: marquee-scroll 40s linear infinite;
}
.mq-dot {
  color: var(--leopard);
  font-style: normal;
  font-size: 14px;
  opacity: .7;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .marquee-track { font-size: 15px; gap: 24px; animation-duration: 55s; }
}

/* ===========================
   SECTION LABEL SYSTEM
   =========================== */
.section-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.section-index {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--leopard);
  font-weight: 400;
  line-height: 1;
}
.section-rule {
  flex: 0 0 28px;
  height: 1px;
  background: var(--leopard);
  opacity: .6;
}
.section-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.section-label-row.light .section-name { color: rgba(238, 197, 180, .7); }
.section-label-row.light .section-rule { background: var(--blush); opacity: .45; }
.section-label-row.light .section-index { color: var(--blush); }

/* ===========================
   FOUNDER SECTION
   =========================== */
.founder {
  background: var(--cream);
  padding: clamp(72px, 10vw, 130px) var(--pad);
}
.founder-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(28px, 4vw, 60px);
}
.founder-label-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.founder-label-col .section-index { font-size: 14px; }
.founder-label-col .section-rule {
  flex: 0 0 auto;
  width: 1px;
  height: 60px;
  background: var(--leopard);
  opacity: .5;
}
.founder-label-col .section-name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .24em;
  font-size: 10px;
}

.founder-content h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--espresso);
  max-width: 24ch;
  margin-bottom: 40px;
}
.founder-body-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.founder-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 18px;
  max-width: 52ch;
}
.founder-body p:last-child { margin-bottom: 0; }
/* Drop cap */
.founder-body p:first-child::first-letter {
  font-family: var(--f-serif);
  font-size: 62px;
  font-weight: 700;
  float: left;
  line-height: .82;
  margin: 6px 10px 0 0;
  color: var(--espresso);
}

/* Snapshot card */
.founder-snapshot {
  background: var(--paper);
  border: 1px solid rgba(46, 26, 18, .1);
  border-radius: var(--radius);
  padding: 28px 26px 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .4s var(--ease);
}
.founder-snapshot::before {
  /* Leopard spot accent bar */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blush) 0%, var(--leopard) 60%, var(--blush) 100%);
}
@media (hover: hover) {
  .founder-snapshot:hover {
    box-shadow: 0 12px 32px rgba(28, 15, 10, .09);
  }
}
.snap-title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  color: var(--cocoa);
  margin-bottom: 18px;
}
.snap-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  font-size: 13px;
  margin-bottom: 22px;
}
.snap-dl dt {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--leopard);
  align-self: center;
}
.snap-dl dd {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.4;
}
.snap-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 -1px;
}
.snap-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  opacity: .85;
  transition: opacity .4s, transform .6s var(--ease);
}
@media (hover: hover) {
  .snap-images img:hover { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 900px) {
  .founder-inner {
    grid-template-columns: 1fr;
  }
  .founder-label-col {
    flex-direction: row;
    align-items: center;
  }
  .founder-label-col .section-rule {
    width: 28px; height: 1px;
  }
  .founder-label-col .section-name {
    writing-mode: initial;
    transform: none;
  }
}
@media (max-width: 700px) {
  .founder-body-grid { grid-template-columns: 1fr; }
}

/* ===========================
   PILLARS
   =========================== */
.pillars {
  background: var(--paper);
  padding: clamp(72px, 10vw, 130px) var(--pad);
}
.pillars-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.pillars-header {
  margin-bottom: 52px;
}
.pillars-header h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--espresso);
  max-width: 28ch;
  margin: 0;
}

.pillar-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(46, 26, 18, .09);
  border: 1px solid rgba(46, 26, 18, .09);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar-item {
  background: var(--paper);
  padding: 36px 32px 40px;
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  transition: background .35s var(--ease);
  cursor: default;
}
@media (hover: hover) {
  .pillar-item:hover { background: var(--blush-lt); }
}
.pi-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  color: var(--blush);
  line-height: 1;
  padding-top: 4px;
  transition: color .35s;
}
@media (hover: hover) {
  .pillar-item:hover .pi-num { color: var(--leopard); }
}
.pi-body h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--espresso);
  margin-bottom: 12px;
  line-height: 1.2;
}
.pi-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-mid);
}
/* Accent strip bottom */
.pi-accent {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  transition: width .5s var(--ease);
}
.pi-accent-a { background: var(--blush); }
.pi-accent-b { background: var(--leopard); }
.pi-accent-c { background: var(--cocoa); }
.pi-accent-d { background: var(--espresso); }
@media (hover: hover) {
  .pillar-item:hover .pi-accent { width: 100%; }
}

@media (max-width: 680px) {
  .pillar-stack { grid-template-columns: 1fr; }
  .pillar-item { padding: 28px 22px 32px; }
}

/* ===========================
   REACH
   =========================== */
.reach {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(72px, 10vw, 130px) var(--pad);
}
.reach-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.reach-inner h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--cream);
  max-width: 24ch;
  margin-bottom: 16px;
}
.reach-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(250, 244, 239, .65);
  max-width: 54ch;
  margin-bottom: 56px;
  line-height: 1.65;
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(238, 197, 180, .12);
  border: 1px solid rgba(238, 197, 180, .12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2px;
}
.reach-stat {
  background: rgba(255,255,255,.04);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .35s var(--ease);
}
@media (hover: hover) {
  .reach-stat:hover { background: rgba(255,255,255,.08); }
}
.rs-platform {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--leopard);
}
.rs-num {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 58px);
  color: var(--blush);
  line-height: 1;
}
.rs-handle {
  font-size: 12px;
  font-weight: 300;
  color: rgba(250, 244, 239, .5);
  font-style: italic;
}

.reach-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(238, 197, 180, .1);
  border: 1px solid rgba(238, 197, 180, .1);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.rm-item {
  background: rgba(255,255,255,.025);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .35s var(--ease);
}
@media (hover: hover) {
  .rm-item:hover { background: rgba(255,255,255,.06); }
}
.rm-val {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--blush);
  line-height: 1;
}
.rm-key {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250, 244, 239, .5);
}

@media (max-width: 860px) {
  .reach-grid,
  .reach-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .reach-metrics { border-top: 1px solid rgba(238, 197, 180, .1); border-radius: var(--radius); margin-top: 2px; }
}
@media (max-width: 480px) {
  .reach-grid,
  .reach-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .reach-stat { padding: 24px 18px; }
  .rm-item { padding: 18px; }
}

/* ===========================
   PARTNERS — editorial list
   =========================== */
.partners {
  background: var(--blush-lt);
  padding: clamp(72px, 10vw, 130px) var(--pad);
}
.partners-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.partners-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 52px;
}
.partners-header-row h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--espresso);
  max-width: 22ch;
}
.partners-note {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 38ch;
  padding-bottom: 4px;
}

.partner-list {
  border-top: 1px solid rgba(46, 26, 18, .12);
}
.pl-item {
  display: grid;
  grid-template-columns: 140px 1fr 80px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(46, 26, 18, .1);
  transition: background .25s;
  position: relative;
}
.pl-item::before {
  content: '';
  position: absolute;
  inset: 0 -16px;
  background: transparent;
  border-radius: 4px;
  transition: background .25s;
  z-index: -1;
}
@media (hover: hover) {
  .pl-item:hover::before { background: rgba(46, 26, 18, .04); }
}
.pli-kind {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--leopard);
}
.pli-main h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--espresso);
  margin-bottom: 6px;
  line-height: 1.1;
}
.pl-own .pli-main h3::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leopard);
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: 2px;
}
.pli-main p {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.55;
  max-width: 60ch;
}
.pli-arrow {
  text-align: right;
}
.pli-arrow a {
  font-size: 12px;
  font-weight: 500;
  color: var(--cocoa);
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(122, 69, 48, .35);
  padding-bottom: 2px;
  transition: border-color .25s, color .25s;
}
@media (hover: hover) {
  .pli-arrow a:hover { color: var(--espresso); border-color: var(--espresso); }
}
.pl-open-link {
  background: var(--espresso);
  color: var(--cream) !important;
  border: none !important;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  transition: background .25s var(--ease) !important;
}
@media (hover: hover) {
  .pl-open-link:hover { background: var(--cocoa) !important; }
}

@media (max-width: 780px) {
  .partners-header-row { grid-template-columns: 1fr; }
  .pl-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .pli-arrow { text-align: left; }
}

/* ===========================
   WORK — mosaic gallery
   =========================== */
.work {
  background: var(--paper);
  padding: clamp(72px, 10vw, 130px) var(--pad) clamp(60px, 8vw, 100px);
}
.work-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.work-header {
  margin-bottom: 40px;
}
.work-header h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--espresso);
  margin-bottom: 10px;
}
.work-sub {
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  max-width: 52ch;
}

/* Mosaic: named grid areas, unique rhythm vs shared template */
.work-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 200px 280px;
  gap: 10px;
}
.wm-a { grid-area: 1 / 1 / 2 / 2; }
.wm-b { grid-area: 1 / 2 / 2 / 3; }
.wm-c { grid-area: 1 / 3 / 2 / 4; }
.wm-d { grid-area: 2 / 1 / 3 / 2; }
.wm-e { grid-area: 2 / 2 / 3 / 4; }
.wm-f { grid-area: 3 / 1 / 4 / 2; }
.wm-g { grid-area: 3 / 2 / 4 / 3; }
.wm-h { grid-area: 3 / 3 / 4 / 4; }

.wm-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--espresso);
  display: block;
  isolation: isolate;
}
.wm-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease), filter .5s;
  filter: saturate(.95);
}
.wm-cell::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28, 15, 10, .65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 1;
}
@media (hover: hover) {
  .wm-cell:hover img {
    transform: scale(1.07);
    filter: saturate(1.1);
  }
  .wm-cell:hover::after { opacity: 1; }
  .wm-cell:hover .wm-label { opacity: 1; transform: translateY(0); }
}
.wm-label {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
/* Always show on touch */
@media (hover: none) {
  .wm-label { opacity: 1; transform: translateY(0); }
  .wm-cell::after { opacity: 1; }
}
.wm-label span:first-child {
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  opacity: .8;
}
.wm-label span:last-child {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
}

/* Mosaic — tablet */
@media (max-width: 900px) {
  .work-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px 200px;
  }
  .wm-a { grid-area: 1 / 1 / 3 / 2; }
  .wm-b { grid-area: 1 / 2 / 2 / 3; }
  .wm-c { grid-area: 2 / 2 / 3 / 3; }
  .wm-d { grid-area: 3 / 1 / 4 / 2; }
  .wm-e { grid-area: 3 / 2 / 5 / 3; }
  .wm-f { grid-area: 4 / 1 / 5 / 2; }
  .wm-g { display: none; }
  .wm-h { display: none; }
}
/* Mosaic — mobile */
@media (max-width: 560px) {
  .work-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
    gap: 8px;
  }
  .wm-a { grid-area: auto; }
  .wm-b { grid-area: auto; }
  .wm-c { grid-area: auto; }
  .wm-d { grid-area: auto; }
  .wm-e { grid-area: auto; }
  .wm-f { grid-area: auto; }
  .wm-g { display: none; }
  .wm-h { display: none; }
}

/* ===========================
   CONTACT — full-bleed split
   =========================== */
.contact {
  background: var(--cream);
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 640px;
}
.contact-image {
  position: relative;
  overflow: hidden;
  background: var(--espresso);
}
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .7;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .contact-image:hover img { transform: scale(1.04); }
}
.contact-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 15, 10, .55) 0%,
    rgba(201, 149, 107, .2) 100%
  );
}
.contact-image-text {
  position: absolute;
  bottom: 36px;
  left: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-image-text span {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  color: rgba(250, 244, 239, .55);
  font-size: 14px;
  letter-spacing: .06em;
}

.contact-copy {
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-copy h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--espresso);
  max-width: 18ch;
  margin-bottom: 14px;
}
.contact-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 44px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cl-primary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) {
  .cl-primary:hover {
    background: var(--cocoa);
    transform: translateY(-2px);
  }
}
.cl-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--leopard);
}
.cl-primary .cl-label { color: rgba(238, 197, 180, .6); }
.cl-value {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.2;
}
.cl-primary .cl-value { color: var(--cream); }
.cl-arrow {
  font-size: 12px;
  font-weight: 400;
  color: var(--leopard);
  margin-top: 4px;
  transition: letter-spacing .3s var(--ease);
}
@media (hover: hover) {
  .cl-primary:hover .cl-arrow { letter-spacing: .06em; }
}
.cl-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cl-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--paper);
  border: 1px solid rgba(46, 26, 18, .1);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
@media (hover: hover) {
  .cl-item:hover {
    transform: translateY(-2px);
    border-color: rgba(46, 26, 18, .22);
    box-shadow: 0 6px 18px rgba(28, 15, 10, .08);
  }
}
.cl-item .cl-value {
  font-size: 14px;
}
.cl-item .cl-arrow {
  color: var(--cocoa);
}

@media (max-width: 860px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
  .contact-image {
    height: 300px;
  }
  .contact-copy {
    padding: 40px var(--pad) 56px;
  }
  .cl-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .cl-row {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FOOTER
   =========================== */
.foot {
  background: var(--espresso);
  color: var(--blush);
  padding: 28px var(--pad);
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.foot-mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: .04em;
}
.foot-meta { opacity: .55; }
.foot-credit { opacity: .4; }

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   REDUCED MOTION
   =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .marquee-track { animation: none; }
}
