/* ─────────────────────────────────────────────────────
   REGAN NORTON PORTFOLIO — DESIGN SYSTEM v2
   Pantone 19-4914 TCX · Bold Geometry · Condensed Display
   ───────────────────────────────────────────────────── */

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

:root {
  --teal:        #1A4D52;
  --teal-dark:   #0E3237;
  --teal-mid:    #256068;
  --teal-tint:   #E6F0F1;
  --white:       #FFFFFF;
  --off-white:   #F8F7F5;
  --text:        #0D0D0D;
  --text-dim:    #3A3A3A;
  --muted:       #888880;
  --border:      #E2DFDB;

  --display:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans:       'Epilogue', system-ui, sans-serif;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── IMAGE PLACEHOLDER ──────────────────────────── */
.img-ph {
  width: 100%;
  background:
    repeating-linear-gradient(
      -55deg,
      transparent,
      transparent 22px,
      rgba(255,255,255,0.04) 22px,
      rgba(255,255,255,0.04) 23px
    ),
    linear-gradient(150deg, var(--teal-mid) 0%, var(--teal-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.img-ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.img-ph-label {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  position: relative;
  z-index: 1;
}

.img-ph-icon {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.img-ph-icon::before,
.img-ph-icon::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.25);
}

.img-ph-icon::before { width: 12px; height: 1.5px; }
.img-ph-icon::after  { width: 1.5px; height: 12px; }

/* ─── LOGO PLACEHOLDER ───────────────────────────── */
.logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1.5px dashed var(--border);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

/* ─── NAVIGATION ─────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 24px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* Hide nav on case study pages until user scrolls */
.cs-page #nav:not(.scrolled) {
  opacity: 0;
  pointer-events: none;
}

#nav.scrolled {
  padding: 16px 56px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

#nav.scrolled .nav-logo { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.nav-links a:hover { color: var(--white); }

#nav.scrolled .nav-links a { color: var(--muted); }
#nav.scrolled .nav-links a:hover { color: var(--teal); }

/* ─── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--teal);
  padding: 14px 32px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary:hover {
  background: var(--teal-tint);
  box-shadow: 0 0 0 2px var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 13px 30px;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.btn-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.85);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease);
}

.btn-teal:hover { background: var(--teal-dark); }

/* ─── HERO ───────────────────────────────────────── */
#hero {
  min-height: 100svh;
  background: linear-gradient(160deg, var(--teal-mid) 0%, var(--teal) 35%, var(--teal-dark) 75%, #071f22 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 80px;
  position: relative;
  overflow: hidden;
}

/* Dot matrix sketchbook overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom right,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.08) 70%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(to bottom right,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.25) 40%,
    rgba(0,0,0,0.08) 70%,
    transparent 100%
  );
}

/* Bottom vignette */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(7,31,34,0.6));
  pointer-events: none;
}

.hero-overline {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: up 0.7s var(--ease) 0.1s forwards;
}

.hero-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(80px, 14vw, 200px);
  line-height: 0.86;
  color: var(--white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: up 0.9s var(--ease) 0.2s forwards;
}

.hero-name span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.5);
}

.hero-tagline {
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: up 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: up 0.9s var(--ease) 0.5s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px; right: 56px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade 1s var(--ease) 1s forwards;
}

.hero-scroll span {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ─── STATS BAR ──────────────────────────────────── */
#stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.stat {
  padding: 40px 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat:last-child { border-right: none; }

.stat-n {
  font-family: var(--display);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-l {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.4;
}

/* ─── SECTIONS ───────────────────────────────────── */
.section { padding: 112px 56px; }
.section-alt { background: var(--off-white); }
.section-teal { background: var(--teal); }

.s-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.s-label {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  flex-shrink: 0;
}

.s-label-white { color: rgba(255,255,255,0.5); }

.s-title {
  font-family: var(--display);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.s-title-white { color: var(--white); }

.s-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.s-rule-white { background: rgba(255,255,255,0.15); }

/* ─── WORK / CASE STUDY CARDS ────────────────────── */
.work-grid { display: grid; gap: 2px; }

.cs-card {
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  transition: border-color 0.3s var(--ease);
  overflow: hidden;
}

.cs-card:hover { border-color: var(--teal); }
.cs-card:hover .cs-card-arrow { transform: translate(4px,-4px); color: var(--teal); }
.cs-card:hover .cs-banner-overlay { opacity: 1; }

/* Banner image placeholder — fills left column */
.cs-banner {
  position: relative;
  height: 100%;
  min-height: 280px;
}

.cs-banner .img-ph {
  position: absolute;
  inset: 0;
  height: 100%;
}

.cs-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,77,82,0.2);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: 1;
}

/* Card body — right column */
.cs-card-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
}

.cs-card-left { flex: 1; }

/* Logo row */
.cs-logo-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.cs-logo-row img {
  display: block;
  flex-shrink: 0;
  align-self: flex-start;
}

.cs-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.cs-logo-ph {
  width: 36px; height: 36px;
  flex-shrink: 0;
}

.cs-company {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.cs-title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 12px;
}

.cs-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  font-weight: 300;
}

.cs-metrics {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.cs-m { display: flex; flex-direction: column; gap: 3px; }

.cs-mv {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: 0.02em;
}

.cs-ml {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}

.cs-card-arrow {
  align-self: flex-end;
  font-size: 1.125rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
  margin-top: 16px;
}

/* ─── ABOUT ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.about-img {
  aspect-ratio: 3/4;
  position: sticky;
  top: 100px;
}

.about-body {}

.about-body p {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 22px;
  font-weight: 300;
}

.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--text); font-weight: 500; }

.about-pull {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--teal);
  background: var(--teal-tint);
}

.about-pull p {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--teal);
  margin: 0 !important;
}

/* ─── CAPABILITIES ───────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.cap-block {
  background: var(--white);
  padding: 44px 40px;
  border: 1px solid var(--border);
}

.cap-label {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--teal);
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.cap-item {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.35;
}

.cap-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ─── CONTACT (TEAL SECTION) ─────────────────────── */
#contact {
  background: var(--teal);
  padding: 140px 56px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.ct-overline {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ct-heading {
  font-family: var(--display);
  font-size: clamp(4rem, 11vw, 12rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.ct-heading span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
}

.ct-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 56px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.ct-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.ct-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.25s var(--ease);
}

.ct-link:hover { color: var(--white); }

.ct-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.2); }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  padding: 24px 56px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}

footer p { font-size: 0.8125rem; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--teal); }

/* ─── CASE STUDY PAGES ───────────────────────────── */

.cs-hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Full bleed image fills the whole hero */
.cs-hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cs-hero-banner .img-ph {
  height: 100%;
  min-height: unset;
}

/* Dark gradient so text is always legible over the image */
.cs-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7,31,34,0.25) 0%,
    rgba(7,31,34,0.55) 45%,
    rgba(7,31,34,0.88) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Grid overlay on hero */
.cs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 2;
}

.cs-hero-content {
  padding: 56px 56px 64px;
  position: relative;
  z-index: 3;
}

.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.25s var(--ease);
}

.cs-back:hover { color: rgba(255,255,255,0.9); }

.cs-hero-company {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.cs-hero-h {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.5vw, 7rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 900px;
}

.cs-hero-h em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.45);
}

/* ─── CASE STUDY METRICS STRIP ───────────────────── */
.cs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.cs-strip-item {
  padding: 44px 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
}

.cs-strip-item:last-child { border-right: none; }

.cs-strip-n {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: 0.02em;
}

.cs-strip-l {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}

/* ─── CASE STUDY BODY ────────────────────────────── */
.cs-body-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 88px 56px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: start;
}

.cs-sidebar {
  position: sticky;
  top: 120px;
}

.cs-sidebar-card {
  background: var(--teal-tint);
  border-left: 4px solid var(--teal);
  padding: 24px 28px;
}

.cs-sidebar-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal-dark);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.cs-body-main { min-width: 0; }

.cs-section { margin-bottom: 72px; }

.cs-section-label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cs-section h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 24px;
}

.cs-section p {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 20px;
  font-weight: 300;
}

.cs-section p:last-child { margin-bottom: 0; }
.cs-section strong { color: var(--text); font-weight: 500; }

.cs-insight {
  background: var(--teal-tint);
  border-left: 4px solid var(--teal);
  padding: 32px 40px;
  margin: 48px 0;
}

.cs-insight-label {
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.cs-insight p {
  font-size: 1.125rem;
  color: var(--teal-dark);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

/* ─── CASE STUDY NAV ─────────────────────────────── */
.cs-nav {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cs-nav-item {
  padding: 48px 56px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s var(--ease);
}

.cs-nav-item:hover { background: var(--off-white); }
.cs-nav-item + .cs-nav-item { border-left: 1px solid var(--border); }
.cs-nav-item:hover .cs-nav-arrow { color: var(--teal); }

.cs-nav-dir {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cs-nav-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}

.cs-nav-arrow {
  font-size: 1rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

/* ─── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  #nav, footer { padding-left: 24px; padding-right: 24px; }
  #nav.scrolled { padding-left: 24px; padding-right: 24px; }
  #hero, .section, #contact { padding-left: 24px; padding-right: 24px; }
  #stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 28px; }
  .stat:nth-child(2) { border-right: none; }
  .cs-card { grid-template-columns: 1fr; }
  .cs-banner { min-height: 220px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { aspect-ratio: 3/2; position: static; max-height: 200px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cs-strip { grid-template-columns: 1fr; }
  .cs-strip-item { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .cs-strip-item:last-child { border-bottom: none; }
  .cs-hero { min-height: 360px; }
  .cs-hero-content { padding: 32px 24px 48px; }
  .cs-body-wrap { padding: 56px 24px; grid-template-columns: 1fr; gap: 32px; }
  .cs-sidebar { position: static; }
  .cs-nav { grid-template-columns: 1fr; }
  .cs-nav-item + .cs-nav-item { border-left: none; border-top: 1px solid var(--border); }
  .cs-nav-item { padding: 32px 24px; }
}
