.ccn-page {
  --ccn-bg: #1f7d31;
  --ccn-paper: #eee9dc;
  --ccn-ink: #1c100d;
  --ccn-mid: #777873;
  --ccn-light: #aaa9a2;
  --ccn-line: rgba(242, 235, 222, .22);
  background: var(--ccn-bg);
}

.ccn-page .footer-panel,
.ccn-page .menu-dock { background: var(--ccn-bg); }

.ccn-case {
  padding-top: 0;
  max-width: 1640px;
}

/* full-bleed hero: lives outside .main so it spans the whole viewport */
.ccn-hero-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100svh * 5 / 6);
  min-height: 420px;
}
.ccn-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ccn-title-wrap { margin-top: clamp(18px, 2.3vw, 36px); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ccn-title-foot {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ccn-line);
  padding-top: 12px;
  font: 10px/1.4 "Space Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 235, 222, .68);
}

.ccn-placeholder {
  position: relative;
  overflow: hidden;
  background: var(--ccn-mid);
  color: rgba(255,255,255,.72);
}
.ccn-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 49.8%, rgba(255,255,255,.13) 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, rgba(255,255,255,.08) 50%, transparent 50.2%);
  opacity: .5;
  pointer-events: none;
}
.ccn-placeholder-label,
.ccn-board-note {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font: 9px/1.4 "Space Mono", monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ccn-frame-number {
  position: absolute;
  right: 24px;
  top: 20px;
  font: 10px "Space Mono", monospace;
  color: rgba(255,255,255,.6);
}

.ccn-intro {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 3fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: start;
  margin: clamp(84px, 9vw, 138px) 0 clamp(76px, 9vw, 136px);
  padding-left: clamp(0px, 2.5vw, 40px);
}
.ccn-lede { max-width: 830px; }
.ccn-lede h2,
.ccn-copy-row h2,
.ccn-close > div > h2 {
  font: 500 clamp(34px, 4vw, 64px)/.94 var(--sans-display);
  letter-spacing: -.025em;
}
.ccn-lede h2 { max-width: 15ch; margin-bottom: 28px; }
.ccn-lede p,
.ccn-copy-row p {
  max-width: 67ch;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: rgba(242, 235, 222, .84);
}
.ccn-lede p + p,
.ccn-copy-row p + p { margin-top: 1.2em; }
.ccn-meta { display: grid; gap: 34px; font-family: var(--sans); }
.ccn-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ccn-tags span {
  border: 1px solid rgba(242,235,222,.45);
  border-radius: 999px;
  padding: 5px 10px 6px;
  font-size: 12px;
  line-height: 1;
}
.ccn-meta dl {
  display: grid;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
  gap: 12px 18px;
}
.ccn-meta dt,
.ccn-kicker {
  font: 9px/1.45 "Space Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(242,235,222,.52);
}
.ccn-meta dd { font-size: 15px; line-height: 1.3; margin: 0; }
.ccn-link {
  width: fit-content;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--ccn-paper);
  color: var(--ccn-ink);
  text-decoration: none;
  font: 500 13px var(--sans);
}
.ccn-link span { margin-left: 7px; }

.ccn-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ccn-line);
  border-bottom: 1px solid var(--ccn-line);
}
.ccn-facts div { padding: clamp(24px, 3.2vw, 47px) clamp(12px, 2.1vw, 30px); border-right: 1px solid var(--ccn-line); }
.ccn-facts div:last-child { border-right: 0; }
.ccn-facts strong { display: block; font: 500 clamp(48px, 6vw, 92px)/.75 var(--sans-display); letter-spacing: -.04em; }
.ccn-facts span { display: block; margin-top: 16px; font: 9px/1.45 "Space Mono", monospace; letter-spacing: .11em; text-transform: uppercase; color: rgba(242,235,222,.56); }

.ccn-chapter { margin-top: clamp(130px, 17vw, 270px); }
.ccn-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: clamp(45px, 9vw, 145px);
  align-items: start;
  max-width: 1250px;
  margin: 0 auto clamp(52px, 7vw, 105px);
}
.ccn-copy-row h2 { margin-top: 16px; max-width: 13ch; }
.ccn-copy-row-tight { margin-top: clamp(72px, 9vw, 140px); }
.ccn-copy-row-small { max-width: 1100px; }
.ccn-text-link { display: inline-block; margin-top: 24px; font: 500 15px var(--sans); text-underline-offset: 5px; }

.ccn-wide-media { min-height: clamp(500px, 64vw, 940px); background: #888a85; }
.ccn-asym-grid { display: grid; gap: 10px; margin-top: 10px; }
.ccn-email-grid { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.48fr); }
.ccn-portrait { min-height: clamp(470px, 57vw, 850px); background: #999b96; }
.ccn-workflow { min-height: clamp(470px, 57vw, 850px); background: #5f605d; display: grid; place-items: center; }
.ccn-board { width: min(82%, 720px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; transform: rotate(-2deg); }
.ccn-board i { height: clamp(150px, 20vw, 290px); background: rgba(235,234,226,.24); border: 1px solid rgba(255,255,255,.2); }
.ccn-board i:nth-child(2) { transform: translateY(8%); }
.ccn-board i:nth-child(4) { transform: translateY(-6%); }
.ccn-caption {
  max-width: 66ch;
  margin: 26px 0 0 auto;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(242,235,222,.57);
}

.ccn-paper-board {
  position: relative;
  min-height: clamp(470px, 61vw, 920px);
  display: grid;
  place-items: center;
  padding: clamp(35px, 7vw, 110px);
  background: var(--ccn-paper);
  color: var(--ccn-ink);
}
.ccn-paper-board > .ccn-kicker { position: absolute; left: 22px; top: 20px; color: rgba(28,16,13,.56); }
.ccn-paper-board > div { display: flex; align-items: center; gap: clamp(22px, 4vw, 64px); }
.ccn-paper-board h2 { font: 500 clamp(50px, 8.8vw, 142px)/.78 var(--sans-display); letter-spacing: -.045em; }
.ccn-paper-board h2 em { font-family: var(--serif); font-weight: 400; }
.ccn-podcast-mark { width: clamp(84px, 13vw, 200px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; background: var(--ccn-ink); color: var(--ccn-paper); font: 600 clamp(40px, 6vw, 96px)/1 var(--sans-display); letter-spacing: -.1em; }
.ccn-paper-board .ccn-board-note { color: rgba(28,16,13,.52); }
.ccn-podcast-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.ccn-square { min-height: 0; aspect-ratio: 1; background: #4f504d; }
.ccn-big-number { position: absolute; inset: 0; display: grid; place-items: center; font: 500 clamp(130px, 23vw, 360px)/1 var(--sans-display); color: rgba(238,233,220,.75); }
.ccn-episode { min-height: 0; aspect-ratio: 6 / 5; display: grid; place-items: center; background: #a8aaa5; }
.ccn-wave { width: 72%; height: 34%; background: repeating-linear-gradient(90deg, rgba(23,11,9,.55) 0 3px, transparent 3px 11px); clip-path: polygon(0 44%,4% 45%,4% 28%,8% 28%,8% 61%,12% 61%,12% 39%,16% 39%,16% 10%,20% 10%,20% 69%,24% 69%,24% 27%,28% 27%,28% 82%,32% 82%,32% 46%,36% 46%,36% 18%,40% 18%,40% 64%,44% 64%,44% 34%,48% 34%,48% 73%,52% 73%,52% 22%,56% 22%,56% 57%,60% 57%,60% 7%,64% 7%,64% 78%,68% 78%,68% 29%,72% 29%,72% 64%,76% 64%,76% 40%,80% 40%,80% 20%,84% 20%,84% 70%,88% 70%,88% 38%,92% 38%,92% 57%,96% 57%,96% 43%,100% 43%,100% 100%,0 100%); }

.ccn-browser { display: block; overflow: hidden; color: var(--ccn-ink); text-decoration: none; background: #d9d7cf; box-shadow: 0 24px 80px rgba(0,0,0,.2); border-radius: 10px; }
.ccn-browser-bar { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: #e5e2da; }
.ccn-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #96958f; }
.ccn-browser-bar span { margin: 0 auto; padding: 4px 13px; min-width: min(45%, 340px); text-align: center; border-radius: 4px; background: #f0eee8; font: 10px var(--sans); color: #77756f; }
.ccn-browser-bar a { margin-left: auto; font: 15px var(--sans); text-decoration: none; color: #77756f; }
.ccn-browser-bar a:hover { color: var(--ccn-ink); }
.ccn-browser-screen { height: clamp(560px, 68vw, 980px); background: #fff; }
.ccn-browser-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.ccn-three-up { display: grid; grid-template-columns: 1.2fr .9fr .68fr; gap: 10px; margin-top: 10px; }
.ccn-three-up > * { min-height: clamp(350px, 39vw, 600px); }
.ccn-three-up > :nth-child(1) { background: #aaa9a2; }
.ccn-three-up > :nth-child(2) { background: #60615e; }
.ccn-three-up > :nth-child(3) { background: #8d8e89; }

.ccn-video { overflow: hidden; width: 100%; background: #000; aspect-ratio: 16 / 9; }
.ccn-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ccn-lt-grid { grid-template-columns: 1.35fr .65fr; }
.ccn-landscape { min-height: clamp(470px, 57vw, 850px); background: #a6a7a2; }
.ccn-lt-grid .ccn-portrait { min-height: clamp(470px, 57vw, 850px); background: #72736f; }

.ccn-conference-board { place-items: end start; background: #dfdacf; }
.ccn-conference-board h2 { font-size: clamp(76px, 14vw, 218px); line-height: .62; }
.ccn-conference-board h2 em { display: block; margin: .24em 0 0 1.05em; font-size: .29em; letter-spacing: -.02em; }
.ccn-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccn-mosaic > * { min-height: clamp(420px, 49vw, 750px); }
.ccn-mosaic-wide { grid-column: 1 / -1; min-height: clamp(540px, 62vw, 930px); background: #62635f; }
.ccn-mosaic > :nth-child(2) { background: #aaa9a2; }
.ccn-mosaic > :nth-child(3) { background: #878883; }

.ccn-testimonial {
  min-height: clamp(500px, 61vw, 900px);
  margin-top: clamp(130px, 17vw, 270px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 6vw, 92px);
  background: var(--ccn-paper);
  color: var(--ccn-ink);
}
.ccn-testimonial > span,
.ccn-testimonial small { font: 9px "Space Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
.ccn-testimonial p { max-width: 22ch; margin: auto; font: 400 clamp(38px, 6.4vw, 98px)/.95 var(--serif); letter-spacing: -.03em; }
.ccn-testimonial small { align-self: flex-end; }

.ccn-close { margin: clamp(130px, 17vw, 270px) auto 0; max-width: 1250px; }
.ccn-close > div > h2 { max-width: 14ch; margin-top: 16px; }
.ccn-close-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(60px, 8vw, 118px); border-top: 1px solid var(--ccn-line); }
.ccn-close-grid article { padding: 28px clamp(18px, 2.7vw, 38px) 10px 0; border-right: 1px solid var(--ccn-line); }
.ccn-close-grid article + article { padding-left: clamp(18px, 2.7vw, 38px); }
.ccn-close-grid article:last-child { border-right: 0; }
.ccn-close-grid span { font: 9px "Space Mono", monospace; color: rgba(242,235,222,.48); }
.ccn-close-grid h3 { margin: 50px 0 14px; font-size: clamp(26px, 2.6vw, 40px); }
.ccn-close-grid p { font-size: 15px; line-height: 1.55; color: rgba(242,235,222,.65); }

.ccn-case .prev-next { margin-top: clamp(120px, 15vw, 230px); }
.ccn-case .site-footer { --footer-shift: clamp(0px, 4.35vw, 72px); }

@media (max-width: 1000px) {
  .ccn-intro,
  .ccn-copy-row { gap: 55px; }
  .ccn-paper-board > div { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) {
  .ccn-intro,
  .ccn-copy-row { grid-template-columns: 1fr; }
  .ccn-intro { padding-left: 0; }
  .ccn-facts { grid-template-columns: 1fr 1fr; }
  .ccn-facts div:nth-child(2) { border-right: 0; }
  .ccn-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--ccn-line); }
  .ccn-three-up { grid-template-columns: 1fr 1fr; }
  .ccn-three-up > :nth-child(3) { grid-column: 1 / -1; min-height: 520px; }
  .ccn-copy-row { max-width: none; }
}

@media (max-width: 620px) {
  .ccn-case { padding-top: 0; }
  .ccn-title-foot { align-items: flex-start; flex-direction: column; gap: 7px; }
  .ccn-intro { margin-top: 74px; }
  .ccn-lede h2,
  .ccn-copy-row h2,
  .ccn-close > div > h2 { font-size: clamp(37px, 12vw, 55px); }
  .ccn-facts { grid-template-columns: 1fr; }
  .ccn-facts div { border-right: 0; border-bottom: 1px solid var(--ccn-line); }
  .ccn-facts div:last-child { border-bottom: 0; }
  .ccn-chapter { margin-top: 140px; }
  .ccn-email-grid,
  .ccn-podcast-grid,
  .ccn-lt-grid,
  .ccn-three-up,
  .ccn-mosaic { grid-template-columns: 1fr; }
  .ccn-wide-media,
  .ccn-browser-screen { min-height: 70vh; }
  .ccn-portrait,
  .ccn-workflow,
  .ccn-landscape,
  .ccn-lt-grid .ccn-portrait { min-height: 68vh; }
  .ccn-square,
  .ccn-episode { aspect-ratio: 1; }
  .ccn-paper-board { min-height: 75vh; padding: 32px 24px; }
  .ccn-paper-board h2 { font-size: clamp(45px, 15vw, 75px); }
  .ccn-podcast-mark { width: 88px; border-radius: 22px; }
  .ccn-three-up > :nth-child(3),
  .ccn-three-up > * { grid-column: auto; min-height: 65vh; }
  .ccn-conference-board h2 { font-size: clamp(62px, 21vw, 104px); }
  .ccn-mosaic-wide { grid-column: auto; }
  .ccn-mosaic > * { min-height: 65vh; }
  .ccn-testimonial { min-height: 77vh; }
  .ccn-testimonial p { font-size: clamp(37px, 11vw, 54px); }
  .ccn-close-grid { grid-template-columns: 1fr; }
  .ccn-close-grid article,
  .ccn-close-grid article + article { padding: 28px 0 34px; border-right: 0; border-bottom: 1px solid var(--ccn-line); }
  .ccn-close-grid article:last-child { border-bottom: 0; }
  .ccn-close-grid h3 { margin-top: 30px; }
  .ccn-case .site-footer { --footer-shift: 0px; }
}

@media (prefers-reduced-motion: reduce) {
  .ccn-case * { scroll-behavior: auto !important; }
}
