/*
Theme Name: Dr. Roger Kumar (v1.3 - Forest Green Theme)
Theme URI: https://www.casepl.com
Author: Built for Dr. Roger Kumar
Description: Single-page thought-leadership theme. Palette "Forest Green & Charcoal" with deep green closing quote styling.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drrogerkumar
Tags: one-column, custom-colors, editor-style, full-width-template
*/

/* ---------- reset (was inline in the source document) ---------- */
html {
  scroll-padding-top: 74px;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   DR. ROGER KUMAR
   Palette "Ember & Bone". Fixed brand identity: this page is a
   a site with one visual world, so it does not follow
   the viewer's theme. Every colour is painted explicitly.
   ============================================================ */
:root {
  color-scheme: light;
  --bone: #F2ECE2;
  --bone-2: #EEF4EE;
  --ink: #15120E;
  --body: #5C5348;
  --muted: #9A9082;
  --rule: #D8CEC0;
  --pitch: #061107;
  --char: #0e1f10;
  --char-2: #1b3a1f;
  --ember: #C9481B;
  --ember-l: #E2703F;
  --bone-dim: #B6AB9A;

  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --measure: 1280px;
  --gutter: clamp(20px, 5vw, 76px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- shared primitives ---------- */
.wrap {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: clamp(64px, 9vw, 132px);
}

.band--bone {
  background: var(--bone);
  color: var(--body);
}

.band--bone2 {
  background: linear-gradient(180deg, #F2F7F2 0%, #E7EFE7 100%);
  color: #384D3B;
}

.band--pitch {
  background:
    radial-gradient(75% 100% at 50% 0%, rgba(11, 97, 0, 0.22), transparent 75%),
    linear-gradient(180deg, #0d1e10 0%, #061107 100%);
  color: var(--bone-dim);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "✦";
  color: var(--ember);
  font-size: 9px;
  letter-spacing: 0;
}

.band--pitch .eyebrow {
  color: var(--bone-dim);
}

.band--pitch .eyebrow::before {
  color: var(--ember-l);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
}

.band--pitch h1,
.band--pitch h2,
.band--pitch h3,
.band--pitch h4 {
  color: var(--bone);
}

h2.display {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  margin-bottom: 26px;
}

h3.sub {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.band--pitch h3.sub {
  color: var(--bone);
}

em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
}

h2.display em,
h1 em,
.quote em {
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1.15em;
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.62;
  color: var(--body);
}

.band--pitch .lead,
.band--pitch p {
  color: var(--bone-dim);
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.band--pitch .rule {
  border-top-color: var(--char-2);
}

/* split layouts */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 900px) {
  .split--4-8 {
    grid-template-columns: 4fr 8fr;
  }

  .split--5-7 {
    grid-template-columns: 5fr 7fr;
  }

  .split--7-5 {
    grid-template-columns: 7fr 5fr;
  }

  .split--1-1 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- photo placeholder & live photographs ---------- */
.shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shot__field {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 4/3);
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(201, 72, 27, .16), transparent 62%),
    repeating-linear-gradient(128deg, rgba(242, 236, 226, .05) 0 10px, transparent 10px 21px),
    linear-gradient(162deg, #2B241D 0%, #14110D 58%, #0B0908 100%);
  border: 1px solid var(--char-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.band--bone .shot__field,
.band--bone2 .shot__field {
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(201, 72, 27, .10), transparent 60%),
    repeating-linear-gradient(128deg, rgba(21, 18, 14, .045) 0 10px, transparent 10px 21px),
    linear-gradient(162deg, #E2D8C8 0%, #D3C6B2 60%, #C6B8A2 100%);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px rgba(30, 24, 18, 0.09);
}

.shot__field::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 72, 27, .22);
  pointer-events: none;
  border-radius: 3px;
  transition: border-color .3s ease;
}

.shot--live .shot__field::after {
  border-color: rgba(255, 255, 255, 0.16);
}

body.preset-wix .shot--live .shot__field::after {
  border-color: rgba(255, 255, 255, 0.22);
}

.shot__img,
.shot__field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.shot:hover .shot__img,
.shot:hover .shot__field img {
  transform: scale(1.035);
}

.shot__mark {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember-l);
}

.band--bone .shot__mark,
.band--bone2 .shot__mark {
  color: var(--ember);
}

.shot figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.band--pitch .shot figcaption {
  color: #8A8073;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(12, 11, 10, .90);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--char-2);
}

.site-header__in {
  max-width: var(--measure);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav {
  display: none;
  gap: clamp(14px, 2vw, 30px);
}

@media (min-width: 1000px) {
  .site-header__in {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav {
    display: flex;
    grid-column: 2;
    justify-content: center;
    gap: clamp(18px, 2.6vw, 38px);
  }

  .site-header__in>.btn {
    grid-column: 3;
    justify-self: end;
  }
}

.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--bone);
  border-bottom-color: var(--ember);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.btn--solid {
  background: var(--bone);
  color: var(--ink);
}

.btn--solid:hover {
  background: var(--ember);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(242, 236, 226, .36);
  color: var(--bone);
}

.btn--ghost:hover {
  border-color: var(--ember-l);
  color: var(--ember-l);
}

.btn--ink {
  background: var(--ink);
  color: var(--bone);
}

.btn--ink:hover {
  background: var(--ember);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ember);
  color: var(--ember);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--pitch);
  color: var(--bone-dim);
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 70% at 76% 28%, rgba(201, 72, 27, .24), transparent 60%),
    repeating-linear-gradient(118deg, rgba(242, 236, 226, .035) 0 12px, transparent 12px 26px),
    linear-gradient(168deg, #241D17 0%, #110E0B 55%, #0A0908 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 9, 8, .82) 0%, rgba(10, 9, 8, .64) 40%, rgba(10, 9, 8, .12) 72%, rgba(10, 9, 8, .30) 100%);
}

.hero__in {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  gap: clamp(36px, 5vw, 60px);
  align-items: end;
}

@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: 8fr 3fr;
  }
}

.hero .eyebrow {
  color: var(--ember-l);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  letter-spacing: .18em;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.022em;
  color: #FFFFFF;
  margin: 0 0 30px;
  max-width: 18ch;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.85);
}

.hero h1 em {
  color: inherit;
  font-style: italic;
}

.hero__lead {
  max-width: 58ch;
  color: rgba(245, 240, 232, 0.94);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  line-height: 1.68;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero .btn-row {
  margin-top: 34px;
}

.statrail {
  display: grid;
  gap: 22px;
  background: rgba(14, 12, 10, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

@media (min-width:1000px) {
  .statrail {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width:999px) {
  .statrail {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

.stat__n {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.stat__l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B8B0A4;
  margin-top: 8px;
  line-height: 1.5;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--pitch);
  border-top: 1px solid var(--char-2);
  border-bottom: 1px solid var(--char-2);
  overflow: hidden;
  padding-block: 15px;
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: slide 58s linear infinite;
}

.marquee__set {
  display: flex;
  gap: 0;
}

.marquee__item {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.marquee__item::after {
  content: "✦";
  color: var(--ember-l);
  font-size: 8px;
  letter-spacing: 0;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }
}

/* ---------- label stack (left rail) ---------- */
.railtitle {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.22;
  color: var(--ink);
  max-width: 14ch;
  margin: 0 0 26px;
}

.band--pitch .railtitle {
  color: var(--bone);
}

/* ---------- hairline lists ---------- */
.hlist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.band--pitch .hlist {
  border-top-color: var(--char-2);
}

.hlist>li {
  border-bottom: 1px solid var(--rule);
  padding: 17px 0 17px 30px;
  position: relative;
  max-width: 72ch;
}

.band--pitch .hlist>li {
  border-bottom-color: var(--char-2);
}

.hlist>li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 9px;
  color: var(--ember);
}

.band--pitch .hlist>li::before {
  color: var(--ember-l);
}

.hlist a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hlist a:hover {
  color: var(--ember-l);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- numbered sequence (real order only) ---------- */
.seq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.band--pitch .seq {
  border-top-color: var(--char-2);
}

.seq__row {
  display: grid;
  gap: clamp(14px, 3vw, 38px);
  padding-block: clamp(26px, 3.4vw, 40px);
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: transform .25s ease;
}

.seq__row:hover {
  transform: translateX(4px);
}

.band--pitch .seq__row {
  border-bottom-color: var(--char-2);
}

@media (min-width: 760px) {
  .seq__row {
    grid-template-columns: 116px 1fr;
  }
}

.seq__n {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--ember);
}

.band--pitch .seq__n {
  color: var(--ember-l);
}

.seq__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  font-style: normal;
}

.seq__t {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 12px;
}

.band--pitch .seq__t {
  color: var(--bone);
}

.seq__row p {
  margin-bottom: 0;
}

/* ---------- four generations centered header & cards ---------- */
.generations-head {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: clamp(38px, 5.5vw, 68px);
}

.generations-head .eyebrow {
  margin-bottom: 14px;
}

.display--generations {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem) !important;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 auto 18px;
  text-align: center;
}

.generations-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  color: var(--bone-dim);
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 0;
  text-align: center;
}

.band--bone .generations-lead,
.band--bone2 .generations-lead {
  color: var(--muted);
}

.gen-grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 42px);
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .gen-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gen-card {
  display: flex;
  flex-direction: column;
  background: rgba(14, 31, 16, 0.85);
  border: 1px solid var(--char-2);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.band--bone .gen-card,
.band--bone2 .gen-card {
  background: #FFFFFF;
  border-color: var(--rule);
}

.gen-card:hover {
  transform: translateY(-4px);
  border-color: var(--ember-l);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

body.preset-wix .gen-card:hover {
  border-color: var(--ember);
}

.gen-card__media {
  position: relative;
  background: #061107;
}

.gen-card__media .shot {
  margin: 0;
  gap: 0;
}

.gen-card__media .shot__field {
  border: 0;
  border-bottom: 1px solid var(--char-2);
}

.band--bone .gen-card__media .shot__field,
.band--bone2 .gen-card__media .shot__field {
  border-bottom-color: var(--rule);
}

.gen-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.gen-card:hover .gen-card__img {
  transform: scale(1.04);
}

.gen-card__caption {
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9cb598;
  border-bottom: 1px solid var(--char-2);
  background: rgba(6, 17, 7, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.band--bone .gen-card__caption,
.band--bone2 .gen-card__caption {
  color: var(--muted);
  border-bottom-color: var(--rule);
  background: #F8F5EE;
}

.gen-card__content {
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gen-card__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.gen-card__num {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1;
  color: var(--ember-l);
}

body.preset-wix .gen-card__num {
  color: var(--ember);
}

.gen-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8C8276;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--char-2);
  border-radius: 2px;
}

.band--bone .gen-card__tag,
.band--bone2 .gen-card__tag {
  color: var(--muted);
  background: #F2ECE2;
  border-color: var(--rule);
}

.gen-card__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.24;
  color: var(--bone);
  margin: 0 0 12px;
}

.band--bone .gen-card__title,
.band--bone2 .gen-card__title {
  color: var(--ink);
}

.gen-card__desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.62;
  color: var(--bone-dim);
  margin-bottom: 0;
  flex-grow: 1;
}

.band--bone .gen-card__desc,
.band--bone2 .gen-card__desc {
  color: var(--ink);
}

/* ---------- pull quote ---------- */
.quote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.3vw, 2.7rem);
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--ink);
  text-align: center;
  max-width: 21ch;
  margin-inline: auto;
  text-wrap: balance;
}

.quote--wide {
  max-width: 26ch;
}

.quote__by {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-top: 28px;
}

.quote__by::before {
  content: "✦";
  color: var(--ember);
  display: block;
  font-size: 9px;
  margin-bottom: 12px;
}

/* ---------- table ---------- */
.tablewrap {
  overflow-x: auto;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--char-2);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
}

caption {
  text-align: left;
}

th,
td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--char-2);
  vertical-align: middle;
  font-size: 15.5px;
  line-height: 1.55;
}

thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
  border-bottom: 1px solid var(--char-2);
}

tbody tr {
  transition: background .2s ease;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody th {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--bone);
  padding-right: 34px;
  white-space: nowrap;
}

tbody td {
  color: var(--bone-dim);
}

/* ---------- stat row ---------- */
.statrow {
  display: grid;
  gap: clamp(16px, 2.5vw, 26px);
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: clamp(40px, 5vw, 64px);
}

@media (min-width: 860px) {
  .statrow {
    grid-template-columns: repeat(4, 1fr);
  }
}

.statrow>div {
  border: 1px solid var(--char-2);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 6px;
  padding: 24px 20px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.statrow>div:hover {
  transform: translateY(-3px);
  border-color: var(--ember-l);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

body.preset-wix .statrow>div:hover {
  border-color: var(--ember);
}

.statrow .stat__n {
  font-size: clamp(2.3rem, 3.8vw, 3.3rem);
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.statrow .stat__l {
  color: #A39A8E;
}

/* ---------- card grids ---------- */
.cards {
  display: grid;
  gap: 1px;
  background: var(--char-2);
  border: 1px solid var(--char-2);
}

@media (min-width: 700px) {
  .cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--char);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember-l);
}

.card__t {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.28;
  color: var(--bone);
  margin: 0;
}

.card p {
  font-size: 15px;
  color: #8A8073;
  margin: 0;
}

.feature {
  background: rgba(14, 31, 16, 0.85);
  border: 1px solid var(--char-2);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: 5fr 7fr;
  }
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--ember-l);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

body.preset-wix .feature:hover {
  border-color: var(--ember);
}

.feature .card__src {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--ember);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.feature__t {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  line-height: 1.18;
  color: var(--bone);
  margin: 10px 0 14px;
}

/* ---------- three-column impact ---------- */
.trio {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

@media (min-width: 900px) {
  .trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trio>div {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.trio>div:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: var(--ember);
}

.trio h3.sub {
  padding-top: 0;
  border-top: 0;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ember);
  margin-bottom: 16px;
  font-size: 1.35rem;
}

/* ---------- Section 05 Speaking Enhancements ---------- */
@media (min-width: 1000px) {
  .speaking-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

.speaker-profile-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}

.speaker-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.speaker-profile-card .shot {
  border-radius: 0;
  box-shadow: none;
}

.speaker-profile-card .shot__field {
  border: 0;
  border-bottom: 1px solid var(--rule);
}

.speaker-profile-card__footer {
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: #FAF8F5;
}

.speaker-profile-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 500;
}

.speaker-profile-card__dot {
  font-size: 8px;
}

.speaker-profile-card__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.speaking-header {
  margin-bottom: 28px;
}

.speaking-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(11, 97, 0, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-weight: 500;
}

.speaking-desc {
  max-width: 65ch;
  line-height: 1.65;
  color: #5A534A;
}

/* Topic Cards */
.topic-cards-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.topic-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, border-color .28s ease;
  position: relative;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border-color: var(--ember);
}

.topic-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.topic-card__index {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1;
  color: var(--ember);
  font-weight: 600;
}

.topic-card__category {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7A7065;
  padding: 3px 8px;
  background: #F4EFE6;
  border-radius: 3px;
}

.topic-card__heading {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.48rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
  transition: color .2s ease;
}

.topic-card:hover .topic-card__heading {
  color: var(--ember);
}

.topic-card__body {
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.65;
  color: #4A443D;
  margin: 0;
}

/* Platform Cards Grid */
.speaking-platforms {
  margin-top: clamp(44px, 5.5vw, 64px);
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 680px) {
  .platform-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-card--wide {
    grid-column: span 2;
  }
}

.platform-card {
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.platform-card:hover {
  transform: translateY(-2px);
  border-color: var(--ember);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.platform-card__icon {
  font-size: 11px;
  color: var(--ember);
  margin-top: 3px;
  flex-shrink: 0;
}

.platform-card__content strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.platform-card__content span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6A6258;
}

/* Enquiry Banner */
.speaking-enquiry-banner {
  margin-top: 36px;
  background: #F8F5EE;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ember);
  border-radius: 8px;
  padding: clamp(24px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 760px) {
  .speaking-enquiry-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .speaking-enquiry-banner__info {
    max-width: 58ch;
  }

  .speaking-enquiry-banner__btn {
    flex-shrink: 0;
  }
}

.speaking-enquiry-banner__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  color: var(--ink);
  margin: 6px 0 8px;
  line-height: 1.25;
}

.speaking-enquiry-banner__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5A534A;
  margin: 0;
}

/* ---------- closing CTA ---------- */
.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px);
  background: var(--pitch);
}

.closing__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 90% at 50% 100%, rgba(201, 72, 27, .30), transparent 62%),
    repeating-linear-gradient(118deg, rgba(242, 236, 226, .035) 0 12px, transparent 12px 26px),
    linear-gradient(0deg, #241D17 0%, #100D0B 62%, #0A0908 100%);
}

body.preset-wix .closing__bg {
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(11, 97, 0, 0.36), transparent 70%),
    linear-gradient(180deg, #0d1e10 0%, #061107 100%);
}

.closing__in {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.closing h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  color: #FFFFFF;
  margin-inline: auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.closing h2 em {
  color: var(--ember-l);
  font-style: italic;
}

.closing .btn-row {
  justify-content: center;
  margin-top: 36px;
}

/* ---------- contact ---------- */
.formmock {
  display: grid;
  gap: 16px;
  max-width: 480px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #FBF9F5;
  border: 1px solid #D8D2C5;
  border-radius: 4px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(11, 97, 0, 0.14);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ember);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--pitch);
  color: var(--bone-dim);
  padding-top: clamp(50px, 7vw, 92px);
  overflow: hidden;
}

.ghost {
  font-family: var(--display);
  font-size: clamp(2.6rem, 12.4vw, 11rem);
  line-height: .9;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px #37302A;
  text-align: center;
  white-space: nowrap;
  margin: 0;
  user-select: none;
}

.footcols {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding-block: clamp(36px, 5vw, 58px);
  border-top: 1px solid var(--char-2);
  margin-top: clamp(30px, 4vw, 50px);
}

@media (min-width: 760px) {
  .footcols {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footcols h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 500;
  margin: 0 0 14px;
}

.footcols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footcols a,
.footcols li {
  color: #7E7468;
  text-decoration: none;
  font-size: 15px;
}

.footcols a:hover {
  color: var(--ember-l);
}

.footbar {
  border-top: 1px solid var(--char-2);
  padding-block: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #605750;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}


a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

/* ============================================================
   ADDITIONS FOR THE LIVE SITE
   Everything above this line is the approved design, unchanged.
   ============================================================ */

/* ---------- real photographs in the shot frames ---------- */
.shot__field img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot--live .shot__field {
  border-color: var(--char-2);
}

.shot--live .shot__field::after {
  border-color: rgba(201, 72, 27, .22);
}

.band--bone .shot--live .shot__field,
.band--bone2 .shot--live .shot__field {
  border-color: var(--rule);
}

/* ---------- mobile navigation ----------
   The approved design hides the nav below 1000px. A live site needs a
   way through, so this drawer matches the header's own vocabulary. */
.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 10px 0;
}

.navtoggle:hover {
  color: var(--bone);
}

.navtoggle__bars {
  display: grid;
  gap: 3px;
  width: 16px;
}

.navtoggle__bars span {
  height: 1px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(2) {
  opacity: 0;
}

.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 1000px) {
  .navtoggle {
    display: none;
  }
}

.navdrawer {
  display: none;
  background: rgba(12, 11, 10, .97);
  border-bottom: 1px solid var(--char-2);
}

.navdrawer[data-open="true"] {
  display: block;
}

@media (min-width: 1000px) {
  .navdrawer {
    display: none !important;
  }
}

.navdrawer ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 22px;
  display: grid;
}

.navdrawer a {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid var(--char-2);
}

.navdrawer li:last-child a {
  border-bottom: 0;
}

.navdrawer a:hover,
.navdrawer a:focus-visible {
  color: var(--ember-l);
}

/* header needs room for the toggle on small screens */
@media (max-width: 560px) {
  .site-header__in .btn--solid {
    display: none;
  }
}

/* ---------- contact form states ---------- */
.formnote {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .06em;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-left: 2px solid var(--ember);
  background: rgba(201, 72, 27, .07);
  color: var(--ink);
  max-width: 460px;
}

.formnote--ok {
  border-left-color: #3F7D4E;
  background: rgba(63, 125, 78, .08);
}

.field .err {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: var(--ember);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- print ---------- */
@media print {

  .site-header,
  .navdrawer,
  .marquee,
  .closing,
  .formmock {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ============================================================
   PRESET: WIX MATCH
   Reproduces the live Wix build. Colours below were sampled
   directly from the rendered page, not guessed.

   Everything here is scoped to body.preset-wix, so switching
   the preset in Appearance > Customize > Palette turns this
   whole block on or off without touching the approved design
   above.
   ============================================================ */

/* Light bands are pure white on Wix, not bone.
   The alternating band (--bone-2) is unchanged on both. */
body.preset-wix {
  --bone: #FFFFFF;
  --bone-2: #EEF4EE;
  --pitch: #061107;
  --char: #0e1f10;
  --char-2: #1b3a1f;
  --rule: #D5E2D5;
}

body.preset-wix .band--bone {
  background: #FFFFFF;
}

body.preset-wix .band--bone2 {
  background: linear-gradient(180deg, #F2F7F2 0%, #E7EFE7 100%);
  border-top: 1px solid #D5E2D5;
  border-bottom: 1px solid #D5E2D5;
  color: #384D3B;
}

body.preset-wix .band--bone2 h1,
body.preset-wix .band--bone2 h2,
body.preset-wix .band--bone2 h3,
body.preset-wix .band--bone2 h4,
body.preset-wix .band--bone2 .quote {
  color: #0B1A0D;
}

body.preset-wix .band--bone2 h2 em,
body.preset-wix .band--bone2 .quote em {
  color: var(--ember);
}

body.preset-wix .band--bone2 .eyebrow {
  color: #4D6B50;
}

body.preset-wix .band--bone2 .eyebrow::before,
body.preset-wix .band--bone2 .quote__by::before {
  color: var(--ember);
}

body.preset-wix .band--bone2 .hlist > li {
  border-top-color: #CAD8CA;
  color: #2D4030;
}

body.preset-wix .band--bone2 .hlist > li::before {
  color: var(--ember);
}

body.preset-wix .band--bone2 .rule {
  border-top-color: #CAD8CA;
}

body.preset-wix .band--pitch {
  background:
    radial-gradient(75% 100% at 50% 0%, rgba(11, 97, 0, 0.22), transparent 75%),
    linear-gradient(180deg, #0d1e10 0%, #061107 100%);
  color: #D2D8CF;
}

/* Wix uses a solid green bar behind the navigation
   rather than the translucent dark header. */
body.preset-wix .site-header {
  background: var(--ember);
  backdrop-filter: none;
  border-bottom: 0;
}

body.preset-wix .nav a {
  color: #FFFFFF;
}

body.preset-wix .nav a:hover,
body.preset-wix .nav a:focus-visible {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

body.preset-wix .wordmark {
  color: #FFFFFF;
}

body.preset-wix .navtoggle {
  color: #FFFFFF;
}

body.preset-wix .navdrawer {
  background: var(--ember);
  border-bottom: 0;
}

body.preset-wix .navdrawer a {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, .22);
}

body.preset-wix .navdrawer a:hover {
  color: #FFFFFF;
}

/* Bullets are five-pointed stars on Wix, not the ✦ of the design. */
body.preset-wix .hlist>li::before {
  content: "\2605";
  font-size: 12px;
  top: 18px;
}

body.preset-wix .eyebrow::before {
  content: "\2605";
  font-size: 10px;
}

body.preset-wix .quote__by::before {
  content: "\2605";
  font-size: 10px;
}

body.preset-wix .marquee__item::after {
  content: "\2605";
  font-size: 9px;
}

/* Solid green buttons. */
body.preset-wix .btn--ghost {
  background: var(--ember);
  border-color: var(--ember);
  color: #FFFFFF;
}

body.preset-wix .btn--ghost:hover {
  background: #094f00;
  border-color: #094f00;
  color: #FFFFFF;
}

body.preset-wix .btn--ink {
  background: var(--ember);
  color: #FFFFFF;
}

body.preset-wix .btn--ink:hover {
  background: #094f00;
}

body.preset-wix .formmock .btn--ink {
  width: 100%;
  justify-content: center;
}

/* Hero: with night-mode coal gasifier photograph */
body.preset-wix.has-hero-photo .hero__grid>div:first-child>h1,
body.preset-wix.has-hero-photo .hero__grid>div:first-child>.hero__lead {
  background: transparent;
  padding: 0;
  margin-inline: 0;
}

body.preset-wix.has-hero-photo .hero__grid>div:first-child>h1 {
  color: #FFFFFF;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.85);
  margin-bottom: 30px;
}

body.preset-wix.has-hero-photo .hero__grid>div:first-child>.hero__lead {
  color: rgba(245, 240, 232, 0.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

/* Footer collapses to a single green bar spanning full screen width on desktop. */
body.preset-wix .footer {
  background: var(--ember);
  padding-top: 0;
  width: 100%;
}

body.preset-wix .ghost,
body.preset-wix .footcols {
  display: none;
}

body.preset-wix .footbar {
  background: transparent;
  color: #FFFFFF;
  border-top: 0;
  padding: 18px 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

body.preset-wix .footbar a {
  color: #FFFFFF;
  text-decoration: none;
}

/* Form labels carry a required marker on Wix. */
body.preset-wix .field label .req {
  color: var(--ember);
}

body.preset-wix .field input::placeholder,
body.preset-wix .field textarea::placeholder {
  color: #B3ACA1;
}

/* ============================================================
   NEWS, AWARDS & RECOGNITIONS SHOWCASE (From CASE Group)
   ============================================================ */
.case-news {
  position: relative;
  width: 100%;
}

.case-news__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--char-2);
}

.case-news__heading {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 500;
  color: var(--bone);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}

.case-news__accent {
  color: var(--ember-l);
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
}

.case-news__sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--bone-dim);
  margin: 0;
  letter-spacing: 0.01em;
}

.case-news__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-news__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--char-2);
  background: var(--char);
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.case-news__arrow:hover:not(:disabled) {
  background: var(--ember);
  border-color: var(--ember);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.case-news__arrow:active:not(:disabled) {
  transform: translateY(0);
}

.case-news__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.case-news__slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.case-news__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 2px 20px;
  transition: all 0.4s ease;
}

.case-news__track::-webkit-scrollbar {
  display: none;
}

/* Card layout */
.case-news__card {
  flex: 0 0 calc((100% - 72px) / 4);
  width: calc((100% - 72px) / 4);
  background: #0e1f10;
  border: 1px solid var(--char-2);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-news__card:hover {
  transform: translateY(-5px);
  border-color: var(--ember-l);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

/* Media thumbnail */
.case-news__media-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.case-news__media {
  position: relative;
  width: 100%;
  height: 190px;
  background: #061107;
  overflow: hidden;
}

.case-news__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-news__card:hover .case-news__img {
  transform: scale(1.08);
}

/* Date badge matching the screenshot */
.case-news__date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  background: #FFFFFF;
  color: #15120E;
  padding: 6px 9px 5px;
  min-width: 44px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  line-height: 1;
  pointer-events: none;
}

.case-news__day {
  display: block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: #15120E;
  letter-spacing: -0.02em;
}

.case-news__month {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ember);
  margin-top: 3px;
  letter-spacing: 0.1em;
}

.case-news__year {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  color: #666666;
  margin-top: 1px;
}

/* Card Body */
.case-news__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-news__card-title {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bone);
  margin: 0 0 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-news__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-news__card-title a:hover {
  color: var(--ember-l);
}

.case-news__card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.case-news__read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-decoration: none;
  transition: all 0.2s ease;
}

.case-news__read-more .case-news__arrow-icon {
  color: var(--ember-l);
  font-size: 14px;
  transition: transform 0.2s ease;
}

.case-news__card:hover .case-news__read-more {
  color: var(--bone);
}

.case-news__card:hover .case-news__read-more .case-news__arrow-icon {
  transform: translateX(4px);
}

/* View All button */
.case-news__view-all-wrap {
  text-align: center;
  margin-top: 36px;
}

.case-news__view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--char-2);
  border-radius: 2px;
  background: var(--char);
  color: var(--bone-dim);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.case-news__view-all-btn .case-news__view-all-arrow {
  color: var(--ember-l);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.case-news__view-all-btn:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.case-news__view-all-btn:hover .case-news__view-all-arrow {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Expanded Grid Mode when VIEW ALL is toggled */
.case-news.is-grid-mode .case-news__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  overflow: visible;
  scroll-snap-type: none;
}

.case-news.is-grid-mode .case-news__card {
  flex: none;
  width: 100%;
}

.case-news.is-grid-mode .case-news__controls {
  display: none;
}

/* Responsive queries */
@media (max-width: 1180px) {
  .case-news__card {
    flex: 0 0 calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3);
  }
  .case-news.is-grid-mode .case-news__track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .case-news__card {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
  }
  .case-news.is-grid-mode .case-news__track {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-news__media {
    height: 170px;
  }
}

@media (max-width: 580px) {
  .case-news__head {
    align-items: flex-start;
  }
  .case-news__card {
    flex: 0 0 88%;
    width: 88%;
  }
  .case-news.is-grid-mode .case-news__track {
    grid-template-columns: 1fr;
  }
  .case-news__media {
    height: 180px;
  }
  .case-news__card-title {
    font-size: 15px;
  }
}