/* ══════════════════════════════════════════════════════════════
   CHRISTEL MEDIA — styles.css
   Design System + Component Styles + Responsive Breakpoints
   ══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --ink:    #0A0906;
  --paper:  #F2EFE8;
  --off:    #E8E4DC;
  --orange: #FF4400;
  --ora2:   #FF6B35;
  --dim:    #8A857A;
  --dimmer: #C4BFB5;
  --white:  #FAF8F4;
  --bdr:    rgba(10,9,6,0.12);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ══════════════════════════════════════════════════════════════
   CURSOR (desktop only — hidden on touch via JS + media query)
   ══════════════════════════════════════════════════════════════ */
.cur {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
  mix-blend-mode: multiply;
}
.cur-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: .5;
}


/* ══════════════════════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════════════════════ */
.mbar {
  background: var(--orange);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.minner {
  display: inline-flex;
  animation: marq 30s linear infinite;
}
.minner span {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 36px;
}
.minner span::before {
  content: '◆';
  margin-right: 36px;
  opacity: .5;
}
@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 64px;
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-dot { color: var(--orange); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 44px;
}
nav ul a {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
nav ul a:hover { color: var(--ink); }
.nav-btn {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 11px 26px;
  transition: background .2s !important;
}
.nav-btn:hover {
  background: var(--orange) !important;
  color: var(--white) !important;
}

/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 202;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 61px);
  display: grid;
  grid-template-columns: 1fr 460px;
  position: relative;
  overflow: hidden;
}

/* Diagonal divider — left offset kept small so it never covers hero-left text */
.hero::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: calc(100% - 460px - 20px);
  width: 120px;
  background: var(--paper);
  transform: skewX(-6deg);
  z-index: 2;
}

.hero-left {
  background: var(--ink);
  padding: 80px 100px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,239,232,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,239,232,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.eyebrow {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fi .8s ease forwards .2s;
}
.eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--orange);
  opacity: .5;
}

.hero-title-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 120px);
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-title .ln {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  overflow: hidden;
  animation: su .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-title .ln:nth-child(1) { animation-delay: .3s; }
.hero-title .ln:nth-child(2) { animation-delay: .5s; }
.hero-title .ln:nth-child(3) { animation-delay: .7s; }

/* Slot machine word-swap */
.sw-wrap {
  display: inline-block;
  overflow: hidden;
  height: .92em;
  vertical-align: top;
}
.sw-reel {
  display: flex;
  flex-direction: column;
  animation: slot 10s steps(1) infinite;
}
.sw-reel span { display: block; height: .92em; line-height: .92; }

@keyframes slot {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(0); }
  33%  { transform: translateY(-1em); }
  58%  { transform: translateY(-1em); }
  66%  { transform: translateY(-2em); }
  91%  { transform: translateY(-2em); }
  100% { transform: translateY(0); }
}

.hero-sub {
  font-size: 16px;
  font-weight: 200;
  font-style: italic;
  color: var(--dimmer);
  max-width: 460px;
  line-height: 1.8;
  opacity: 0;
  animation: fi 1s ease forwards 1s;
}
.hero-sub strong { font-style: normal; font-weight: 400; color: var(--white); }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  opacity: 0;
  animation: fi .9s ease forwards 1.1s;
}
.hcta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.btn-main {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white);
  padding: 16px 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s;
  white-space: nowrap;
}
.btn-main:hover { background: var(--ora2); transform: translateY(-2px); }

.btn-out {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(242,239,232,.2);
  color: var(--dimmer);
  padding: 15px 24px;
  text-decoration: none;
  transition: all .25s;
  white-space: nowrap;
}
.btn-out:hover { border-color: rgba(242,239,232,.5); color: var(--white); }

.hstats { display: flex; gap: 40px; text-align: right; flex-shrink: 0; }
.hstat-n {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--white);
  line-height: 1;
}
.hstat-n em { color: var(--orange); font-style: normal; }
.hstat-l {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--dim);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Hero right panel */
.hero-right {
  background: var(--off);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 100px;
  position: relative;
  z-index: 3;
}
.hr-label {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 40px;
  opacity: 0;
  animation: fi .8s ease forwards 1.3s;
}
.slist {
  list-style: none;
  border-top: 1px solid var(--bdr);
  opacity: 0;
  animation: fi .8s ease forwards 1.5s;
}
.slist li {
  border-bottom: 1px solid var(--bdr);
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
  position: relative;
  overflow: hidden;
}
.slist li::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--orange);
  transition: width .4s ease;
}
.slist li:hover { color: var(--orange); }
.slist li:hover::after { width: 100%; }
.slnum {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: .1em;
  width: 26px;
  flex-shrink: 0;
}
.slarr {
  margin-left: auto;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  color: var(--orange);
}
.slist li:hover .slarr { opacity: 1; transform: translateX(4px); }


/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes fi {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes su {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.rv.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }


/* ══════════════════════════════════════════════════════════════
   SHARED SECTION ELEMENTS
   ══════════════════════════════════════════════════════════════ */
.stag {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.stag::before { content: ''; width: 20px; height: 1px; background: var(--orange); }

.sh {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .9;
  font-size: clamp(40px, 5.5vw, 84px);
}


/* ══════════════════════════════════════════════════════════════
   SERVICES SECTION
   ══════════════════════════════════════════════════════════════ */
.svcsec { padding: 120px 64px; background: var(--paper); }

.svctop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.svctop-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: flex-end;
}
.svctop-desc {
  font-size: 17px;
  font-weight: 200;
  font-style: italic;
  color: var(--dim);
  line-height: 1.9;
}
.svctop-desc strong { font-style: normal; font-weight: 400; color: var(--ink); }

.svtstats { display: flex; gap: 48px; }
.svtstat-n {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.03em;
}
.svtstat-n em {
  color: var(--orange);
  font-style: normal;
  font-size: .65em;
  letter-spacing: -.02em;
}
.svtstat-l {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--dim);
  text-transform: uppercase;
  margin-top: 6px;
  max-width: 100px;
  line-height: 1.5;
}

.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bdr);
}
.card {
  background: var(--paper);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.card:hover { background: var(--off); }
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--orange);
  transition: height .4s ease;
}
.card:hover::before { height: 100%; }
.cnum {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 120px;
  line-height: .9;
  color: var(--ink);
  opacity: .05;
  position: absolute;
  top: -12px; right: -8px;
  letter-spacing: -.05em;
  pointer-events: none;
  transition: opacity .3s, color .3s;
}
.card:hover .cnum { opacity: .08; color: var(--orange); }
.ctag {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.ctitle {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.ctext { font-size: 14px; font-weight: 300; color: var(--dim); line-height: 1.85; }

/* Wide card: spans 2 cols, dark bg */
.cwide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--ink) !important;
  color: var(--white);
}
.cwide .ctitle { color: var(--white); }
.cwide .ctext  { color: var(--dimmer); }
.cwide .cnum   { color: var(--white); }
.cwide-left {
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
}
.cwide-right {
  border-left: 1px solid rgba(255,255,255,.08);
  padding: 52px 44px;
  height: 100%;
  display: flex;
  align-items: center;
}
.cwide-right p {
  font-size: 15px;
  font-weight: 200;
  font-style: italic;
  color: var(--dimmer);
  line-height: 1.9;
}
.cwide-right p strong { font-style: normal; font-weight: 400; color: var(--white); }


/* ══════════════════════════════════════════════════════════════
   PROCESS SECTION
   ══════════════════════════════════════════════════════════════ */
.procsec {
  padding: 120px 64px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.procsec::before {
  content: 'PROZESS';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 200px;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.015);
  pointer-events: none;
  white-space: nowrap;
}
.procsec .stag       { color: var(--orange); }
.procsec .stag::before { background: var(--orange); }
.procsec .sh         { color: var(--white); }

.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.06);
  margin-top: 80px;
}
.pstep {
  background: var(--ink);
  padding: 52px 40px;
  position: relative;
  transition: background .3s;
}
.pstep:hover { background: #181510; }
.pline {
  position: absolute;
  top: 32px; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.pstep:first-child .pline { left: 40px; }
.pstep:last-child  .pline { right: 40px; }
.pdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  top: 27px; left: 40px;
}
.pnum {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--orange);
  margin-top: 60px;
  margin-bottom: 24px;
  display: block;
}
.ptitle {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.ptext { font-size: 14px; font-weight: 200; color: rgba(242,239,232,.45); line-height: 1.85; }


/* ══════════════════════════════════════════════════════════════
   TRAINING SECTION
   ══════════════════════════════════════════════════════════════ */
.trsec {
  padding: 120px 64px;
  background: var(--off);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}
.tr-vis { position: sticky; top: 100px; }

.tvbox {
  border: 1px solid var(--bdr);
  padding: 44px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}
.tvhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.tvdots { display: flex; gap: 7px; }
.tvdots span { width: 9px; height: 9px; border-radius: 50%; background: var(--bdr); }
.tvdots span:first-child  { background: #FF5F57; }
.tvdots span:nth-child(2) { background: #FFBD2E; }
.tvdots span:last-child   { background: #28C840; }
.tvlabel {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--dim);
  text-transform: uppercase;
}

.tvcenter { text-align: center; padding: 32px 0; }
.tvicon {
  font-size: 64px;
  display: block;
  margin-bottom: 14px;
  animation: flt 4s ease-in-out infinite;
}
@keyframes flt {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.tvcl {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tvcs { font-size: 13px; color: var(--dim); font-weight: 200; font-style: italic; margin-top: 6px; }

.tvprog { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.prow { display: flex; align-items: center; gap: 14px; }
.plabel {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--dim);
  text-transform: uppercase;
  width: 80px;
  flex-shrink: 0;
}
.ptrack { flex: 1; height: 3px; background: var(--off); }
.pfill {
  height: 100%;
  background: var(--orange);
  width: 0;
  transition: width 1.4s ease;
}
.pfill.on { width: var(--w); }

/* Training content */
.tr-con .stag       { color: var(--orange); }
.tr-con .stag::before { background: var(--orange); }
.tr-desc {
  font-size: 16px;
  font-weight: 200;
  font-style: italic;
  color: var(--dim);
  line-height: 1.9;
  max-width: 420px;
  margin-top: 28px;
}

.modlist { margin-top: 48px; }
.mod {
  border: 1px solid var(--bdr);
  padding: 22px 28px;
  margin-bottom: -1px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--paper);
  transition: background .25s, transform .2s;
  position: relative;
}
.mod:hover { background: var(--white); transform: translateX(4px); z-index: 1; }
.mnum {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: .15em;
  margin-top: 3px;
  flex-shrink: 0;
}
.mtit {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  margin-bottom: 4px;
}
.mdesc { font-size: 13px; font-weight: 300; color: var(--dim); line-height: 1.7; }
.mbadge {
  margin-left: auto;
  flex-shrink: 0;
  font-family: 'Syne Mono', monospace;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--bdr);
  color: var(--dim);
  align-self: center;
}


/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.ctafull {
  background: var(--orange);
  padding: 100px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.ctafull::before {
  content: '→';
  position: absolute;
  right: 300px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 300px;
  color: rgba(10,9,6,.07);
  pointer-events: none;
  line-height: 1;
}
.ctah {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 84px);
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .88;
  color: var(--white);
}
.ctah em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}
.ctah sub {
  font-size: .45em;
  vertical-align: baseline;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
  opacity: .7;
  margin-top: 14px;
  display: block;
}
.cta-action { display: flex; flex-direction: column; align-items: center; }
.btn-big {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  padding: 22px 52px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all .25s;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.btn-big:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(10,9,6,.3);
}
.ctalbl {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 14px;
  text-align: center;
}


/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 60px 64px 48px;
  color: var(--dim);
}
.ftop {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.fbrand .logo { color: var(--white); margin-bottom: 16px; display: block; }
.fbrand p { font-size: 13px; font-weight: 200; color: var(--dim); line-height: 1.8; max-width: 260px; }
.fcoltit {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fcol ul a { font-size: 13px; color: var(--dim); text-decoration: none; transition: color .2s; }
.fcol ul a:hover { color: var(--white); }
.fbot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}
.fbot span {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(138,133,122,.5);
  text-transform: uppercase;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — LARGE SCREENS (max 1280px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  nav         { padding: 18px 40px; }
  /* Right padding must exceed the diagonal's ~80px intrusion into hero-left */
  .hero-left  { padding: 60px 130px 60px 40px; }
  .hero-right { padding: 60px 40px 60px 60px; }
  .svcsec     { padding: 100px 40px; }
  .procsec    { padding: 100px 40px; }
  .trsec      { padding: 100px 40px; gap: 80px; }
  .ctafull    { padding: 80px 40px; }
  footer      { padding: 60px 40px 40px; }
}

/* ── Narrow 2-col hero range: scale font to fit left column ── */
@media (min-width: 1025px) and (max-width: 1280px) {
  .hero-title { font-size: clamp(44px, 4.8vw, 76px); }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET LANDSCAPE (max 1024px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Hero: stack panels vertically */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero::after { display: none; }
  .hero-left  { padding: 64px 40px; min-height: 90vh; }
  .hero-right { padding: 56px 40px; z-index: 1; }

  /* Services: 2 columns */
  .svctop { grid-template-columns: 1fr; gap: 32px; margin-bottom: 60px; }
  .cgrid  { grid-template-columns: repeat(2, 1fr); }
  .cwide  { grid-column: span 2; grid-template-columns: 1fr 1fr; }

  /* Process: 2×2 grid */
  .pgrid  { grid-template-columns: repeat(2, 1fr); }
  .pline  { display: none; }

  /* Training: stack */
  .trsec  { grid-template-columns: 1fr; gap: 60px; }
  .tr-vis { position: relative; top: auto; }

  /* CTA: stack */
  .ctafull {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ctafull::before { display: none; }

  /* Footer: 2 cols */
  .ftop { grid-template-columns: 1fr 1fr; }
  .fbrand { grid-column: span 2; }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (max 768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Remove custom cursor on touch */
  body { cursor: auto; }
  .cur, .cur-ring { display: none; }

  /* ── Nav: slide-in mobile menu ── */
  nav { padding: 16px 24px; }
  .hamburger { display: flex; }

  nav ul {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 85vw);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 36px 48px;
    gap: 0;
    border-left: 1px solid var(--bdr);
    box-shadow: -24px 0 60px rgba(10,9,6,.12);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    z-index: 201;
    overflow-y: auto;
  }
  nav ul.open { transform: translateX(0); }

  nav ul li { width: 100%; }
  nav ul a {
    font-size: 13px;
    padding: 14px 0;
    display: block;
    border-bottom: 1px solid var(--bdr);
    color: var(--ink);
  }
  nav ul li:last-child a { border-bottom: none; }
  .nav-btn {
    display: inline-block !important;
    margin-top: 24px;
    padding: 14px 28px !important;
    text-align: center;
    border-bottom: none !important;
  }

  /* ── Hero ── */
  .hero-title { font-size: clamp(30px, 9.5vw, 52px); }
  .hero-left  { padding: 48px 24px 56px; min-height: auto; }
  .hero-right { padding: 40px 24px 56px; }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .hstats { text-align: left; gap: 32px; }

  /* ── Services ── */
  .svcsec { padding: 72px 24px; }
  .svtstats { gap: 32px; }
  .svtstat-n { font-size: 36px; }
  .cgrid  { grid-template-columns: 1fr; }
  .cwide  { grid-column: span 1; grid-template-columns: 1fr; }
  .cwide-right { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .card        { padding: 40px 28px; }
  .cwide-left,
  .cwide-right { padding: 36px 28px; }

  /* ── Process ── */
  .procsec { padding: 72px 24px; }
  .pgrid   { grid-template-columns: repeat(2, 1fr); }
  .pstep   { padding: 36px 24px; }
  .pgrid .pstep .pnum { margin-top: 40px; }

  /* ── Training ── */
  .trsec { padding: 72px 24px; gap: 48px; }
  .tvbox { padding: 28px 24px; }

  /* ── CTA ── */
  .ctafull { padding: 72px 24px; gap: 36px; }

  /* ── Footer ── */
  footer { padding: 48px 24px 32px; }
  .ftop  { grid-template-columns: 1fr; gap: 36px; }
  .fbrand { grid-column: span 1; }
  .fbot  { flex-direction: column; gap: 8px; text-align: center; }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* 9.5vw ensures even 8-char words like "PROBLEM." fit at 375–480px */
  .hero-title { font-size: clamp(28px, 9.5vw, 46px); }

  /* Process: single column */
  .pgrid { grid-template-columns: 1fr; }

  .btn-main { font-size: 11px; padding: 14px 22px; }
  .btn-out  { font-size: 11px; padding: 13px 18px; }
  .btn-big  { padding: 18px 28px; font-size: 12px; }

  .hstats   { gap: 24px; }
  .hstat-n  { font-size: 28px; }

  /* Allow badge to wrap below on very small screens */
  .mod { flex-wrap: wrap; gap: 12px; }
  .mbadge { align-self: flex-start; margin-left: 0; }

  .ctah sub { font-size: .4em; }

  /* Reduce decorative background text */
  .procsec::before { font-size: 120px; bottom: -30px; }
}


/* ══════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════ */
@media print {
  body { cursor: auto; }
  .cur, .cur-ring, .mbar, .hamburger { display: none !important; }
  nav ul { position: static; transform: none; flex-direction: row; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .rv { opacity: 1 !important; transform: none !important; }
}
