/* ── home.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   HOME — Hero, mission split, ticker, stats strip, what-we-do card row,
          services list, how-we-work steps, who-we-work-with, animated logo.
   Edit here for Home page section changes only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   HERO HOME
──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  background: #0d1a1b;
}
/* Dot matrix overlay with brand colour glow — replaces old grid lines */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(50,107,205,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(136,171,60,0.10) 0%, transparent 50%),
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px;
  position: relative; z-index: 2;
  background: transparent;
}
.hero-left::before { display: none; }
.hero-geo {
  position: relative; z-index: 1;
  overflow: visible;
}
.hero-geo-inner { display: none; }
.hero-geo-grid { display: none; }
.hero-geo-circles { display: none; }
.geo-circle { display: none; }

/* ── HOME MISSION SECTION ── */
.home-mission {
  background: #f2f5f5;
  padding: 100px 80px;
  position: relative;
}
.home-mission::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #326BCD, #88AB3C, #4A7DA5);
}
.home-mission-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: start;
  max-width: 1200px; margin: 0 auto;
}
.home-mission-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #326BCD; margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.home-mission-eyebrow::before {
  content: ''; width: 20px; height: 1.5px; background: #326BCD;
}
.home-mission-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.02em;
  color: #0d1a1b; margin-bottom: 28px;
}
.home-mission-title em {
  font-style: normal; color: #326BCD;
}
.home-mission-left p {
  font-size: 0.95rem; color: rgba(13,26,27,0.6);
  line-height: 1.8; margin-bottom: 16px;
}
.home-mission-right {
  padding-top: 80px;
}
.home-mission-right p {
  font-size: 0.95rem; color: rgba(13,26,27,0.55);
  line-height: 1.8; margin-bottom: 20px;
  border-left: 2px solid #326BCD;
  padding-left: 20px;
}
@media (max-width: 1024px) {
  .home-mission { padding: 72px 40px; }
  .home-mission-inner { grid-template-columns: 1fr; gap: 48px; }
  .home-mission-right { padding-top: 0; }
}
@media (max-width: 680px) {
  .home-mission { padding: 56px 24px; }
}
/* ── END HOME MISSION SECTION ── */


.hero-logo-centre {
  position: absolute;
  top: 50%;
  right: -28%;
  transform: translateY(-50%);
  width: 720px; height: 720px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  overflow: visible;
}

/* Subtle glow behind */
.hero-logo-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(50,107,205,0.15) 0%, transparent 65%);
  animation: glowPulse 5s ease-in-out infinite;
}

/* Outer circle ring — COMPLETELY STILL, no animation */
.hero-outer-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 720px;
  object-fit: contain;
  opacity: 1;
  animation: none;
}

/* Inner neuron connections — slow continuous circular rotation only */
.hero-inner-wave {
  position: absolute; top: 50%; left: 50%;
  width: 645px; height: 645px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(50,107,205,0.3));
  animation: innerSpin 28s linear infinite;
}

@keyframes innerSpin {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes glowPulse {
  0%,100% { opacity: 0.3; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 0.7; transform: translate(-50%,-50%) scale(1.08); }
}
/* ── END HERO ANIMATED LOGO ── */

.hero-geo-text {
  position: absolute; bottom: 60px; left: 60px; right: 40px;
  color: white;
}
.hero-geo-text h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300; font-size: 1.35rem; line-height: 1.5;
  opacity: 0.9; margin-bottom: 16px;
}
.hero-geo-stat {
  display: flex; gap: 48px; margin-top: 32px;
}
.hgs-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: white; line-height: 1;
}
.hgs-label {
  font-size: 0.75rem; color: #4A7DA5;
  margin-top: 4px; letter-spacing: 0.05em; text-transform: uppercase;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1.5px; background: #5b9cff;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08; letter-spacing: -0.02em; color: white;
  margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: #88AB3C; }
.hero-body {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,0.5); max-width: 480px; margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  font-size: 0.875rem; font-weight: 600;
  color: white; background: #1a2a2b;
  padding: 14px 32px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 2px;
}
.btn-primary:hover { background: #88AB3C; transform: translateY(-1px); }
.btn-primary .arrow { font-size: 1rem; transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost-white {
  font-size: 0.875rem; font-weight: 600;
  color: white; background: transparent;
  padding: 14px 32px; border: 1.5px solid rgba(50,107,205,0.35); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border-radius: 2px;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(50,107,205,0.6); }


/* ── TICKER STRIP ── */
.ticker-wrap {
  background: #080d0e;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, #080d0e, transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(-90deg, #080d0e, transparent); }
.ticker-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(50,107,205,0.8);
  white-space: nowrap;
}
.ticker-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #88AB3C; flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* ── END TICKER STRIP ── */

/* ── STATS STRIP ── */
.stats-strip {
  background: linear-gradient(135deg, #1a2f1a 0%, #0f2218 40%, #0a1a2e 100%);
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}
/* Radial spotlight from centre */
.stats-strip::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(136,171,60,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 0%, rgba(50,107,205,0.1) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 0%, rgba(89,136,139,0.08) 0%, transparent 50%);
  pointer-events: none;
}
/* Dot matrix — matches hero pattern, kept slightly smaller for density */
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative; z-index: 1;
}
.stat-item {
  padding: 40px 52px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}
.stat-item:hover {
  background: rgba(255,255,255,0.025);
}
.stat-item:last-child { border-right: none; }

/* Per-item top accent colour */
.stat-item:nth-child(1)::before { background: linear-gradient(90deg, #326BCD, transparent); }
.stat-item:nth-child(2)::before { background: linear-gradient(90deg, #88AB3C, transparent); }
.stat-item:nth-child(3)::before { background: linear-gradient(90deg, #59888B, transparent); }
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.03em;
  display: flex; align-items: flex-start; gap: 4px;
}
/* Per-item number colour */
.stat-item:nth-child(1) .stat-number { color: #7ab3e8; }
.stat-item:nth-child(2) .stat-number { color: #b5d160; }
.stat-item:nth-child(3) .stat-number { color: #82b5b8; }

.stat-number .suffix {
  font-size: 0.42em; font-weight: 700;
  margin-top: 0.12em;
}
.stat-item:nth-child(1) .suffix { color: #88AB3C; }
.stat-item:nth-child(2) .suffix { color: #326BCD; }
.stat-item:nth-child(3) .suffix { color: #88AB3C; }

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 18px;
}
.stat-desc {
  font-size: 0.87rem; color: rgba(255,255,255,0.38);
  line-height: 1.65; margin-top: 10px; max-width: 210px;
}
@media (max-width: 1024px) {
  .stats-strip { padding: 0 40px; }
  .stat-item { padding: 52px 32px; }
}
/* At tablet width the 3 stat columns become tight; switch to 1 column at 768px */
@media (max-width: 768px) {
  .stats-strip-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 36px 0; }
  .stat-item:last-child { border-bottom: none; }
  .stat-item::before { left: 0; right: 0; }
  .stat-desc { max-width: 100%; }
}
@media (max-width: 680px) {
  .stats-strip { padding: 0 24px; }
  .stat-item { padding: 40px 0; }
}
/* ── END STATS STRIP ── */

/* ── HOME WHAT WE DO ── */
.home-wwd {
  background: #0d1117;
  padding: 80px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #326BCD, #88AB3C, #59888B) 1;
}
@media (max-width: 1024px) {
  /* Match the general section padding reduction at this breakpoint */
  .home-wwd { padding: 64px 40px; }
}
.home-wwd-header {
  max-width: 640px; margin-bottom: 56px;
}
.home-wwd-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: #ffffff;
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.home-wwd-title em { font-style: normal; color: #88AB3C; }
.home-wwd-sub {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  line-height: 1.75; max-width: 560px;
}
.home-wwd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(13,26,27,0.1);
  background: #0d1f2d;
}
/* ── WWD SPLIT CARDS ── */
.home-wwd-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px;
  overflow: visible !important;
  border: none !important;
  background: transparent !important;
}
.home-wwd-card {
  position: relative;
  display: grid;
  grid-template-columns: 420px 1fr;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 16px;
  transition: box-shadow 0.45s ease, transform 0.35s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.home-wwd-card:last-child { margin-bottom: 0; }

/* Outer glow on hover — driven by JS */
.home-wwd-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(var(--glow), 0.25),
    0 8px 40px rgba(var(--glow), 0.35),
    0 24px 80px rgba(var(--glow), 0.2),
    0 2px 8px rgba(0,0,0,0.3);
}

/* Left text panel */
.wwd-text-panel {
  background: #080e18;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  border-right: 1px solid rgba(255,255,255,0.06);
  height: 440px;
  overflow: hidden;
}

/* Accent colour bar on the left edge */
.home-wwd-card:nth-child(1) .wwd-text-panel { border-left: 3px solid #5b9bd5; }
.home-wwd-card:nth-child(2) .wwd-text-panel { border-left: 3px solid #e8823a; }
.home-wwd-card:nth-child(3) .wwd-text-panel { border-left: 3px solid #1db8c4; }
.home-wwd-card:nth-child(4) .wwd-text-panel { border-left: 3px solid #3a7bd5; }

.home-wwd-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.45rem !important;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  text-shadow: 0 0 30px rgba(255,255,255,0.25), 0 0 60px rgba(255,255,255,0.1);
  transition: text-shadow 0.4s ease;
}
.home-wwd-card:hover .home-wwd-card-title {
  text-shadow: 0 0 20px rgba(255,255,255,0.55), 0 0 60px rgba(255,255,255,0.2);
}
.home-wwd-card:nth-child(1):hover .home-wwd-card-title { text-shadow: 0 0 24px rgba(91,155,213,0.8), 0 0 60px rgba(91,155,213,0.35); }
.home-wwd-card:nth-child(2):hover .home-wwd-card-title { text-shadow: 0 0 24px rgba(232,130,58,0.8), 0 0 60px rgba(232,130,58,0.35); }
.home-wwd-card:nth-child(3):hover .home-wwd-card-title { text-shadow: 0 0 24px rgba(29,184,196,0.8), 0 0 60px rgba(29,184,196,0.35); }
.home-wwd-card:nth-child(4):hover .home-wwd-card-title { text-shadow: 0 0 24px rgba(58,123,213,0.8), 0 0 60px rgba(58,123,213,0.35); }

/* Thin separator that appears between title and reveal */
.wwd-text-panel .wwd-reveal {
  overflow: hidden;
  max-height: none;        /* was 300px — remove cap so CTA is never clipped */
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.home-wwd-card-body {
  font-size: 0.88rem !important;
  color: rgba(255,255,255,0.72) !important;
  line-height: 1.8;
  margin-bottom: 20px;
}
.home-wwd-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px;
  font-size: 0.78rem; font-weight: 700;
  color: #ffffff !important; text-decoration: none;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  transition: background 0.25s, border-color 0.25s, gap 0.25s, box-shadow 0.25s;
}
.home-wwd-cta::after { content: '→'; transition: transform 0.25s ease; }
.home-wwd-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  gap: 16px;
  box-shadow: 0 0 16px rgba(255,255,255,0.1);
  color: #ffffff !important;
}
.home-wwd-cta:hover::after { transform: translateX(4px); }

/* Right image panel */
.wwd-img-panel {
  position: relative;
  overflow: hidden;
  height: 440px;
}
.wwd-img-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
}
.home-wwd-card:hover .wwd-img-panel img {
  transform: scale(1.04);
}
/* Subtle dark vignette on image edge touching text */
.wwd-img-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,17,23,0.35) 0%, transparent 30%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .home-wwd-card { grid-template-columns: 1fr; height: auto; }
  .wwd-text-panel { height: auto; }
  .wwd-img-panel { height: 240px; }
  .home-wwd { padding: 48px 24px; }
}
/* ── END WWD SPLIT CARDS ── */
.home-wwd-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 20px;
}
.home-wwd-icon-wrap {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(50,107,205,0.08);
  display: flex; align-items: center; justify-content: center;
}
.home-wwd-icon-wrap img { width: 30px; height: 30px; object-fit: contain; }
@media (max-width: 680px) {
  .home-wwd-grid { grid-template-columns: 1fr; }
  /* height removed: was 320px which clipped stacked text+image content */
  .home-wwd-card { height: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .home-wwd-card:last-child { border-bottom: none; }
  .home-wwd { padding: 48px 24px; }
}
@media (max-width: 430px) {
  /* Reduce text-panel padding on very small phones so content isn't cramped */
  .wwd-text-panel { padding: 36px 24px; }
}
/* ── HOME SERVICES LIST ── */
.home-svc-section { background: #fff; }
.home-svc-all {
  /* Moved from header (flex child) to below the list — centred block CTA */
  display: block;
  text-align: center;
  margin-top: 32px;
  padding: 12px 0;          /* comfortable tap target on mobile */
  font-size: 0.82rem; font-weight: 700; color: #326BCD;
  text-decoration: none; letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}
.home-svc-all:hover { color: #88AB3C; }
.home-svc-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(13,26,27,0.08);
  border-radius: 10px; overflow: hidden;
}
.home-svc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 28px;
  border-right: 1px solid rgba(13,26,27,0.08);
  cursor: pointer;
  transition: background 0.2s;
}
.home-svc-item:last-child { border-right: none; }
.home-svc-item:hover { background: #f5f8ff; }
.home-svc-icon img { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.home-svc-text { flex: 1; }
.home-svc-title { font-weight: 700; font-size: 0.88rem; color: #0d1a1b; margin-bottom: 3px; }
.home-svc-desc { font-size: 0.78rem; color: rgba(13,26,27,0.5); line-height: 1.55; }
.home-svc-arrow { font-size: 0.9rem; color: #326BCD; opacity: 0; transition: opacity 0.2s; }
.home-svc-item:hover .home-svc-arrow { opacity: 1; }
@media (max-width: 1100px) {
  .home-svc-list { grid-template-columns: repeat(2, 1fr); }
  .home-svc-item:nth-child(2) { border-right: none; }
  .home-svc-item:nth-child(1),
  .home-svc-item:nth-child(2) { border-bottom: 1px solid rgba(13,26,27,0.08); }
}
@media (max-width: 680px) {
  .home-svc-list { grid-template-columns: 1fr; }
  .home-svc-item { border-right: none; border-bottom: 1px solid rgba(13,26,27,0.08); }
  .home-svc-item:last-child { border-bottom: none; }
}

/* ── WWD NETWORK ANIMATION ── */
.home-wwd-network-wrap {
  position: relative;
}
.home-wwd-canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  border-radius: 12px;
}
.home-wwd-grid { position: relative; z-index: 1; }



/* ── END WWD NETWORK ANIMATION ── */
/* ── END HOME WWD + SERVICES ── */

/* ────────────────────────────────────────────
   HOW WE WORK NUMBERED STEPS
──────────────────────────────────────────── */
.how-we-work-section {
  background: #0b1520;
  position: relative;
  overflow: hidden;
}
.how-we-work-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.how-we-work-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(50,107,205,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.how-we-work-section .section-eyebrow { color: rgba(255,255,255,0.4); }
.how-we-work-section .section-eyebrow::before { background: #326BCD; }
.how-we-work-section .section-title { color: #ffffff; }
.how-we-work-section .section-title em { color: #88AB3C; }
.how-we-work-section .section-sub { color: rgba(255,255,255,0.45); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; margin-top: 56px; z-index: 1;
}
/* Connecting line removed from ::before — drawn as ::after on each step-item gap instead */
.steps-grid::before { display: none; }
.step-item { padding: 0 28px; text-align: center; position: relative; z-index: 1; }
/* Draw line segments only between circles — not through them */
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(50% + 44px);
  right: calc(-50% + 44px);
  height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 0;
  pointer-events: none;
}
.step-num-wrap {
  width: 72px; height: 72px; border-radius: 50%;
  background: #0b1520;
  border: 1.5px solid rgba(50,107,205,0.5);
  /* Outer ring matches section bg — visually erases the line behind the circle */
  box-shadow:
    0 0 0 8px #0b1520,
    0 0 0 9px rgba(50,107,205,0.15),
    0 0 24px rgba(50,107,205,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; position: relative; z-index: 2;
  isolation: isolate;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.step-item:nth-child(2) .step-num-wrap {
  border-color: rgba(136,171,60,0.5);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(136,171,60,0.15), 0 0 24px rgba(136,171,60,0.2);
}
.step-item:nth-child(3) .step-num-wrap {
  border-color: rgba(89,136,139,0.5);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(89,136,139,0.15), 0 0 24px rgba(89,136,139,0.2);
}
.step-item:nth-child(4) .step-num-wrap {
  border-color: rgba(50,107,205,0.4);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(50,107,205,0.1), 0 0 20px rgba(50,107,205,0.15);
}
.step-item:hover .step-num-wrap {
  background: rgba(50,107,205,0.12);
  border-color: rgba(50,107,205,0.9);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(50,107,205,0.3), 0 0 32px rgba(50,107,205,0.4);
}
.step-item:nth-child(2):hover .step-num-wrap {
  background: rgba(136,171,60,0.1);
  border-color: rgba(136,171,60,0.9);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(136,171,60,0.3), 0 0 32px rgba(136,171,60,0.35);
}
.step-item:nth-child(3):hover .step-num-wrap {
  background: rgba(89,136,139,0.1);
  border-color: rgba(89,136,139,0.9);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(89,136,139,0.3), 0 0 32px rgba(89,136,139,0.35);
}
.step-item:nth-child(4):hover .step-num-wrap {
  background: rgba(50,107,205,0.1);
  border-color: rgba(50,107,205,0.8);
  box-shadow: 0 0 0 8px #0b1520, 0 0 0 9px rgba(50,107,205,0.25), 0 0 28px rgba(50,107,205,0.35);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.step-item:hover .step-num { color: #ffffff; }
.step-title {
  font-weight: 700; font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}
.step-body {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
}
.step-item:hover .step-title { color: #ffffff; }
.step-item:hover .step-body { color: rgba(255,255,255,0.58); }


/* ────────────────────────────────────────────
   CLIENT TYPES
──────────────────────────────────────────── */
.clients-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid #d0d8e8; margin-top: 20px;
}
.client-card {
  padding: 48px 40px; border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.client-card:last-child { border-right: none; }
.client-card:hover { background: #eef3f3; }
.client-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: #326BCD; background: #e8f5e9;
  padding: 4px 12px; margin-bottom: 20px; border-radius: 2px;
}
.client-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.client-body { font-size: 0.88rem; color: var(--ink-60); line-height: 1.7; }

/* ── HOW WE WORK: single-column on phones ────────────────────────────────
   2-col (from shared.css 1024px block) gives ≤230px net text width at 620px,
   which still clips long titles like "Understand Your Business". Go single-col
   early. Keep centred alignment to match the desktop aesthetic. */
@media (max-width: 620px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
  }
  .step-item {
    padding: 36px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .step-item:last-child { border-bottom: none; }
  /* Connector lines only make visual sense in multi-col; hide in single-col */
  .step-item:not(:last-child)::after { display: none; }
  /* Re-centre the number circle (shared.css had set margin-left: 0) */
  .step-num-wrap { margin: 0 auto 20px; }
}
@media (max-width: 390px) {
  .step-item { padding: 28px 0; }
  .steps-grid { margin-top: 28px; }
}

/* ── WHO WE WORK WITH: responsive column cascade ─────────────────────────
   IMPORTANT: .clients-grid base rule (repeat(3,1fr)) lives in THIS file.
   shared.css loads BEFORE home.css, so its @media (max-width:1024px) block
   has equal specificity but loses the load-order tie-break to this base rule.
   All responsive overrides for this section must live in home.css to win. */

/* 1025–1200px: 2-col intermediate — badge text needs ~300px net;
   3-col only gives ~267px at 1200px → wraps. 2-col gives ~440px. */
@media (min-width: 1025px) and (max-width: 1200px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-card { border-bottom: 1px solid var(--border); }
  .client-card:nth-child(2n) { border-right: none; }
  .client-card:last-child { border-right: none; border-bottom: none; }
}

/* ≤1024px: single column. Re-declared here because home.css loads after
   shared.css — this base rule would otherwise win via load-order cascade. */
@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: 1fr; }
  .client-card { border-right: none; border-bottom: 1px solid var(--border); }
  .client-card:last-child { border-bottom: none; }
}

/* ≤768px: slightly tighter padding on tablet portrait */
@media (max-width: 768px) {
  .client-card { padding: 40px 32px; }
}

/* ≤680px: reduced padding + badge letter-spacing for small phones */
@media (max-width: 680px) {
  .client-card { padding: 36px 24px; }
  .client-badge { letter-spacing: 0.08em; }
}



/* ── what-we-do.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   WHAT WE DO — Page intro (.wd-intro), scroll-snap sections (.wds-section),
                image panels, content panels, feature bullets, scroll dots.
                Responsive stacking rules for tablet + mobile.
   Edit here for What We Do page changes only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   WHAT WE DO UNIQUE PAGE STYLES
──────────────────────────────────────────── */

/* Intro split dark bg, two columns */
.wd-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  background: linear-gradient(120deg, #0B0B0D 0%, #326BCD 100%);
  height: 100vh; min-height: unset;
  align-items: center;
  border-bottom: 3px solid rgba(50,107,205,0.4);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}
.wd-intro-left {
  padding: 80px 64px;
  border-right: 1px solid rgba(255,255,255,0.15);
  position: relative; z-index: 1;
}
.wd-intro-right {
  padding: 80px 64px;
  position: relative; z-index: 1;
}
.wd-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.wd-eyebrow::before { content:''; width: 20px; height: 1px; background: #1a2a2b; }
.wd-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 700;
  color: white; line-height: 1.1; letter-spacing: -0.02em;
}
.wd-hero-title em { font-style: normal; color: #88AB3C; }
.wd-intro-right p {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  line-height: 1.8; margin-bottom: 40px;
}
.wd-nav-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.wd-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px; text-decoration: none;
  transition: all 0.2s; border-radius: 2px;
}
/* .active applies on all devices (set by JS only in scroll-snap mode) */
.wd-pill.active {
  color: white; border-color: white; background: rgba(255,255,255,0.15);
}
/* :hover only on real pointer devices — prevents iOS/Android :hover
   from "sticking" after a tap and leaving the wrong pill highlighted */
@media (hover: hover) {
  .wd-pill:hover {
    color: white; border-color: white; background: rgba(255,255,255,0.15);
  }
}

/* Capability rows full bleed alternating panels */
.wd-capability {
  display: grid; grid-template-columns: 380px 1fr;
  min-height: 520px;
}
.wd-capability.wd-reverse { grid-template-columns: 380px 1fr; direction: rtl; }
.wd-capability.wd-reverse > * { direction: ltr; }

/* Left panel */
.wd-cap-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 52px; position: relative;
}
.wd-dark { background: #0d1a1b; }
.wd-blue { background: #59888B; }

.wd-cap-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,0.08); margin-bottom: -16px;
  letter-spacing: -0.04em;
}
.wd-cap-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 700;
  color: white; line-height: 1.2; margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.wd-cap-desc {
  font-size: 0.92rem; color: rgba(255,255,255,0.6);
  line-height: 1.75; margin-bottom: 32px;
}
.wd-cap-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: white; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px; display: inline-block;
  transition: border-color 0.2s;
}
.wd-cap-cta:hover { border-color: white; }

/* Right content area */
.wd-cap-content {
  background: #1a2a2b; padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
}
.wd-cap-content-light { background: #f2f5f5; }

/* Feature rows */
.wd-feature-row {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wd-cap-content-light .wd-feature-row { border-bottom-color: var(--border); }
.wd-feature-row:first-of-type { padding-top: 0; }
.wd-feature-row:last-of-type { border-bottom: none; }

.wd-feature-icon-wrap {
  width: 44px; height: 44px; border-radius: 8px;
  background: rgba(50,107,205,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.wd-icon-blue { background: #e0f7f8; }

.wd-feature-title {
  font-weight: 700; font-size: 0.95rem; margin-bottom: 6px;
  color: #ffffff;
}
.wd-cap-content-light .wd-feature-title { color: var(--ink); }
.wd-feature-body {
  font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.5);
}
.wd-cap-content-light .wd-feature-body { color: var(--ink-60); }

/* Tech tag strip */
/* wd-tag-strip removed */
.wd-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #326BCD; background: rgba(50,107,205,0.15);
  padding: 4px 12px; border-radius: 2px;
}
.wd-tag-blue { color: #326BCD; background: #e8f5e9; }

/* Timeline for App Dev */
.wd-timeline { display: flex; flex-direction: column; }
.wd-timeline-item { display: flex; gap: 20px; }
.wd-tl-marker {
  display: flex; flex-direction: column; align-items: center;
  flex-shrink: 0; width: 20px;
}
.wd-tl-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #326BCD; flex-shrink: 0; margin-top: 4px;
}
.wd-tl-line {
  width: 2px; flex: 1; background: rgba(255,255,255,0.1);
  margin: 6px 0; min-height: 32px;
}
.wd-tl-content { padding: 0 0 32px 0; }
.wd-tl-phase {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 6px;
}
.wd-tl-title { font-weight: 700; font-size: 1rem; color: white; margin-bottom: 8px; }
.wd-tl-body { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* Stat grid for Data & BI */
.wd-stat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid #d0d8e8;
}
.wd-stat-card {
  padding: 32px; border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.wd-stat-card:nth-child(2n) { border-right: none; }
.wd-stat-card:nth-last-child(-n+2) { border-bottom: none; }
.wd-stat-card:hover { background: #eef3f3; }
.wd-stat-icon { font-size: 1.5rem; margin-bottom: 12px; }
.wd-stat-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; color: var(--ink); }
.wd-stat-body { font-size: 0.83rem; color: var(--ink-60); line-height: 1.65; }

/* Helper function scrollToSection */

/* Responsive */
@media (max-width: 900px) {
  /* Allow intro to grow beyond 100vh when content is stacked (landscape phones) */
  .wd-intro { grid-template-columns: 1fr; height: auto; min-height: 100vh; }
  .wd-intro-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 104px 28px 56px; }
  .wd-intro-right { padding: 40px 28px; }
  .wd-capability, .wd-capability.wd-reverse { grid-template-columns: 1fr; direction: ltr; }
  .wd-cap-panel { padding: 48px 28px; }
  .wd-cap-content, .wd-cap-content-light { padding: 40px 28px; }
  .wd-stat-grid { grid-template-columns: 1fr; }
  .wd-stat-card { border-right: none !important; }
}








/* ═══════════════════════════════════════════
   WDS — SCROLL-SNAP CINEMATIC REVEAL
═══════════════════════════════════════════ */

/* The whatwedo page becomes a scroll-snap container */
#whatwedo {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  /* Hide scrollbar but keep scrolling */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#whatwedo::-webkit-scrollbar { display: none; }

/* Every section snaps to full viewport */
.wds-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #07111c;
  display: block;
}

/* IMAGE — starts full width, transitions to 44% when section is active */
.wds-image-panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 100%;
  z-index: 2;
  transition: width 1.1s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: width;
}
.wds-img-left  { left: 0; right: auto; }
.wds-img-right { right: 0; left: auto; }

.wds-image-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.wds-img-cover {
  position: absolute; inset: 0;
  pointer-events: none;
}
.wds-img-left  .wds-img-cover { background: linear-gradient(to left,  rgba(7,17,28,0.6) 0%, transparent 55%); }
.wds-img-right .wds-img-cover { background: linear-gradient(to right, rgba(7,17,28,0.6) 0%, transparent 55%); }

/* ACTIVE state — triggered by IntersectionObserver when section snaps into view */
.wds-section.is-active .wds-image-panel {
  width: 40%;
}

/* CONTENT — always positioned, fades in when active */
.wds-content-panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 60%;
  background: #07111c;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.65s, transform 0.7s ease 0.65s;
  overflow-y: auto;
  scrollbar-width: none;
}
.wds-content-panel::-webkit-scrollbar { display: none; }
.wds-img-left  ~ .wds-content-panel { right: 0; left: auto; }
.wds-img-right ~ .wds-content-panel { left: 0;  right: auto; }

.wds-section.is-active .wds-content-panel {
  opacity: 1;
  transform: translateY(0);
}

/* CONTENT STYLES */
.wds-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 700;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}
.wds-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.wds-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 24px;
}
.wds-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.wds-feature  { display: flex; gap: 14px; align-items: flex-start; }
.wds-feature-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.wds-feature-icon img { width: 18px; height: 18px; object-fit: contain; }
.wds-feature-title {
  font-weight: 700; font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2px;
}
.wds-feature-body {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}
.wds-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.77rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #ffffff; text-decoration: none;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  width: fit-content;
  transition: background 0.2s, border-color 0.2s, gap 0.2s;
}
.wds-cta::after { content: '→'; transition: transform 0.2s; }
.wds-cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); gap: 15px; }
.wds-cta:hover::after { transform: translateX(3px); }

/* Scroll hint dots — right edge */
.wds-scroll-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.wds-scroll-dots.visible { opacity: 1; pointer-events: auto; }
.wds-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  pointer-events: auto;
}
.wds-dot.active {
  background: #ffffff;
  transform: scale(1.4);
}

/* Bottom CTA snaps too */
.cta-full { scroll-snap-align: start; }

@media (max-width: 900px) {
  #whatwedo { height: auto; overflow-y: auto; scroll-snap-type: none; }
  .wds-section { height: auto; scroll-snap-align: none; }
  .wds-image-panel { position: relative !important; width: 100% !important; height: 55vw; transition: none; }
  .wds-content-panel { position: relative !important; width: 100% !important; opacity: 1 !important; transform: none !important; padding: 40px 24px; left: auto !important; right: auto !important; }
  .wds-scroll-dots { display: none; }
}

/* ── WDS responsive fixes: override @supports 100dvh block on mobile ── */
/* The @supports(height:100dvh) block further down would restore height:100dvh
   on mobile, clipping content and breaking layout. !important wins over it. */
@media (max-width: 900px) {
  #whatwedo    { height: auto !important; overflow-y: visible !important; }
  .wds-section { height: auto !important; overflow: visible !important; }
}

/* Tablet (≤ 768px): tighten image height and content padding */
@media (max-width: 768px) {
  .wds-image-panel { height: 46vw; max-height: 280px; }
  .wds-content-panel { padding: 32px 20px; }
  .wds-heading { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .wds-desc { font-size: 0.84rem; margin-bottom: 20px; padding-bottom: 18px; }
  .wds-features { gap: 14px; margin-bottom: 22px; }
}

/* Phone (≤ 520px): further reductions + ensure icons are always visible */
@media (max-width: 520px) {
  .wds-image-panel { height: 48vw; max-height: 220px; }
  .wds-content-panel { padding: 24px 16px 32px; }
  .wds-heading { font-size: clamp(1.3rem, 6.5vw, 1.75rem); }
  .wds-num { margin-bottom: 8px; }
  .wds-desc { font-size: 0.8rem; margin-bottom: 16px; padding-bottom: 14px; max-width: 100%; }
  .wds-features { gap: 10px; margin-bottom: 18px; }
  .wds-feature  { gap: 10px; align-items: flex-start; }
  /* Force icon box to always render and never collapse */
  .wds-feature-icon {
    width: 28px; height: 28px;
    min-width: 28px; min-height: 28px;
    flex-shrink: 0;
    display: flex !important;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
  }
  .wds-feature-icon img { width: 16px; height: 16px; }
  .wds-feature-title { font-size: 0.77rem; }
  .wds-feature-body  { font-size: 0.7rem; line-height: 1.55; }
  .wds-cta { font-size: 0.68rem; padding: 9px 18px; }
}

/* ── Breathing room + divider between stacked sections (tablet / mobile) ──
   At ≤900px scroll-snap is off and sections stack: image → content → image…
   The .wds-cta button sits at the bottom of .wds-content-panel and flows
   straight into the next section's image with no visual break.
   Fix: extra padding-bottom on the content panel + a faint ::after divider.
   Rules placed AFTER the existing breakpoints so they win the cascade via
   file load-order without needing !important on padding-bottom. */

@media (max-width: 900px) {
  /* Space below the button (overrides the 40px from padding shorthand above) */
  .wds-content-panel { padding-bottom: 52px; }

  /* Divider: in-flow flex child, renders after .wds-cta inside the column.
     Desktop is unaffected — ::after only generates when content is set,
     and this rule only matches at ≤900px. */
  .wds-content-panel::after {
    content: '';
    display: block;
    flex-shrink: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-top: 24px;
  }
}

/* Tablet portrait — slightly tighter */
@media (max-width: 768px) {
  .wds-content-panel { padding-bottom: 44px; }
  .wds-content-panel::after { margin-top: 20px; }
}

/* Phone — compact but still present */
@media (max-width: 520px) {
  .wds-content-panel { padding-bottom: 36px; }
  .wds-content-panel::after { margin-top: 16px; }
}
/* ── LARGE SCREENS: ease image back up slightly on very wide displays ─────
   Base split is 44/56. At ≥1441px the image can afford a bit more presence
   without squeezing the text. Mobile (≤900px) uses width:100% !important. */
@media (min-width: 1441px) {
  .wds-section.is-active .wds-image-panel { width: 42%; }
  .wds-content-panel { width: 58%; }
}

/* ═══ END WDS ═══ */


/* ── services.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES — Services grid, service cards, engagement models.
   Edit here for the Services page only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   SERVICES GRID
──────────────────────────────────────────── */
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 52px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border: 1px solid #d0d8e8;
}
.svc-card {
  padding: 48px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.svc-card:nth-child(2n) { border-right: none; }
.svc-card:nth-last-child(-n+2) { border-bottom: none; }
.svc-card:hover { background: #eef3f3; }
.svc-card-accent {
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0; background: #1a2a2b;
  transition: height 0.35s ease;
}
.svc-card:hover .svc-card-accent { height: 100%; }
.svc-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.15em; color: var(--blue);
  margin-bottom: 20px; opacity: 0.7;
}
.svc-card-icon {
  width: 56px; height: 56px; border-radius: 10px;
  background: #eef3f3;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s, transform 0.25s;
}
.svc-card:hover .svc-card-icon { background: #dde8ff; transform: translateY(-2px); }
.svc-card-icon img { width: 34px; height: 34px; object-fit: contain; display: block; }
.svc-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 12px;
}
.svc-card-body { font-size: 0.9rem; color: var(--ink-60); line-height: 1.7; }
.svc-card-list { margin-top: 16px; padding: 0; list-style: none; }
.svc-card-list li {
  font-size: 0.84rem; color: var(--ink-60);
  padding: 7px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px;
}
.svc-card-list li:last-child { border-bottom: none; }
.svc-card-list li::before { content: '→'; color: var(--blue); font-size: 0.8rem; flex-shrink: 0; }
.svc-card-cta {
  margin-top: 24px; font-size: 0.82rem; font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  border-bottom: 1.5px solid transparent; transition: border-color 0.2s;
  cursor: pointer;
}
.svc-card:hover .svc-card-cta { border-bottom-color: var(--blue); }

/* ────────────────────────────────────────────
   ENGAGEMENT MODELS 4 COL
──────────────────────────────────────────── */
.engage-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 8px;
}
.engage-card {
  background: white; border: 1px solid #d0d8e8;
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.engage-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: #1a2a2b; transform: scaleX(0);
  transition: transform 0.3s; transform-origin: center;
}
.engage-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(50,107,205,0.15); border-color: var(--blue); }
.engage-card:hover::after { transform: scaleX(1); }
.engage-icon {
  width: 56px; height: 56px; border-radius: 10px;
  background: #eef3f3;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.engage-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; color: var(--ink); }
.engage-body { font-size: 0.83rem; color: var(--ink-60); line-height: 1.65; }

@media (max-width: 680px) {
  /* Reduce svc-card padding so content isn't cramped on narrow phones */
  .svc-card { padding: 36px 24px; }
}

/* ── ENGAGE GRID: responsive column collapse ─────────────────────────────
   IMPORTANT: .engage-grid base rule (repeat(4,1fr)) lives in THIS file.
   shared.css loads BEFORE services.css, so its @media (max-width:1024px)
   block has equal specificity but loses the load-order tie-break to the
   base rule here. All responsive overrides must live in services.css.

   Desktop 4 columns is unchanged. The screenshot shows the 4th card being
   clipped — that is caused by this cascade failure, not the column count. */

/* ≤1024px: 2 columns — 2 rows of 2 cards, readable on tablet */
@media (max-width: 1024px) {
  .engage-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≤768px: keep 2 columns but tighten the gap */
@media (max-width: 768px) {
  .engage-grid { gap: 16px; }
}

/* ≤600px: single column — 2 columns become too narrow below this point */
@media (max-width: 600px) {
  .engage-grid { grid-template-columns: 1fr; gap: 14px; }
  .engage-card { padding: 28px 20px; }
}



/* ── projects.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   PROJECTS — Static projects list, WOW horizontal scroll experience,
              project gallery cards, modal, project detail overlay.
   Edit here for the Projects page only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── PROJECTS REDESIGN — sidebar + content format ── */
.projects-stack { display: flex; flex-direction: column; gap: 0; }

.proj-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 520px;
  border-bottom: 1px solid #d0d8e8;
}
.proj-item:last-child { border-bottom: none; }

.proj-sidebar {
  background: #0d1a2a;
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.proj-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.18); margin-bottom: 16px;
}
.proj-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 20px;
}
.proj-status.built { color: #a8cc5a; background: rgba(136,171,60,0.1); border: 1px solid rgba(136,171,60,0.2); }
.proj-status.built::before { content: '●'; font-size: 0.45rem; }
.proj-status.showcase { color: #7aacf0; background: rgba(50,107,205,0.1); border: 1px solid rgba(50,107,205,0.2); }
.proj-status.showcase::before { content: '◆'; font-size: 0.45rem; }
.proj-category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #88AB3C; margin-bottom: 14px;
}
.proj-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem); font-weight: 700;
  color: white; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.proj-tagline {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  line-height: 1.75; margin-bottom: 28px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.proj-tech-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 10px;
}
.proj-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 4px 10px; border-radius: 3px;
}
.proj-pill.blue { color: #7aacf0; background: rgba(50,107,205,0.1); border-color: rgba(50,107,205,0.2); }
.proj-pill.green { color: #a8cc5a; background: rgba(136,171,60,0.08); border-color: rgba(136,171,60,0.18); }
.proj-sidebar-footer {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.proj-sidebar-tag {
  font-size: 0.68rem; color: rgba(255,255,255,0.18);
  font-family: 'JetBrains Mono', monospace;
}

.proj-content {
  padding: 52px 60px;
  display: flex; flex-direction: column; gap: 36px;
  background: #f4f6f8;
  overflow-y: auto;
}
.proj-block-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #326BCD;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.proj-block-label::after { content: ''; flex: 1; height: 1px; background: rgba(50,107,205,0.12); }
.proj-block p { font-size: 0.88rem; color: rgba(13,26,27,0.6); line-height: 1.85; max-width: 640px; }
.built-list { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.built-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.86rem; color: rgba(13,26,27,0.65); line-height: 1.6;
}
.built-item::before { content: '→'; color: #326BCD; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.proj-impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; }
.proj-impact-card {
  background: white; border: 1px solid #e4edf5;
  border-radius: 7px; padding: 16px 18px;
  display: flex; align-items: flex-start; gap: 10px;
}
.proj-impact-dot { width: 7px; height: 7px; border-radius: 50%; background: #88AB3C; flex-shrink: 0; margin-top: 5px; }
.proj-impact-text { font-size: 0.79rem; color: rgba(13,26,27,0.6); line-height: 1.6; }

@media (max-width: 900px) {
  .proj-item { grid-template-columns: 1fr; }
  .proj-content { padding: 36px 28px; }
  .proj-sidebar { padding: 36px 28px; }
  .proj-impact-grid { grid-template-columns: 1fr 1fr; }
}


/* ── PROJECT GALLERY (image cards + modal) ── */
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #0d1a1b;
}
.proj-gallery-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #0d1a1b;
}
.proj-gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
  filter: brightness(0.72);
}
.proj-gallery-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.35);
}
.proj-gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 24px;
  background: linear-gradient(to top, rgba(7,17,28,0.92) 0%, rgba(7,17,28,0.2) 55%, transparent 100%);
  transition: background 0.4s ease;
}
.proj-gallery-card:hover .proj-gallery-overlay {
  background: linear-gradient(to top, rgba(7,17,28,0.97) 0%, rgba(7,17,28,0.6) 100%);
}
.proj-gallery-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(136,171,60,0.9);
  margin-bottom: 6px;
}
.proj-gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.proj-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(50,107,205,0.85);
  border: 1px solid rgba(50,107,205,0.5);
  padding: 7px 14px;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: fit-content;
}
.proj-gallery-card:hover .proj-gallery-btn {
  opacity: 1;
  transform: translateY(0);
}
.proj-gallery-btn::after { content: ' →'; }

/* ── MODAL ── */
.proj-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,17,28,0.88);
  z-index: 9999;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.proj-modal-bg.open { display: flex; }
.proj-modal {
  background: #fff;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 4px;
  position: relative;
  animation: modalIn 0.28s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.proj-modal-hero {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.proj-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(7,17,28,0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.proj-modal-close:hover { background: #326BCD; }
.proj-modal-body { padding: 36px 44px 44px; }
.proj-modal-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(50,107,205,0.5); margin-bottom: 8px;
}
.proj-modal-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px; margin-bottom: 14px; display: inline-block;
}
.proj-modal-status.built { color: #88AB3C; background: rgba(136,171,60,0.1); border: 1px solid rgba(136,171,60,0.25); }
.proj-modal-status.showcase { color: #7aacf0; background: rgba(50,107,205,0.1); border: 1px solid rgba(50,107,205,0.25); }
.proj-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem; font-weight: 700; color: #0d1a1b;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 6px;
}
.proj-modal-tagline { font-size: 0.88rem; color: rgba(13,26,27,0.45); font-style: italic; margin-bottom: 18px; }
.proj-modal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #d0d8e8; }
.proj-modal-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #326BCD; background: rgba(50,107,205,0.07);
  border: 1px solid rgba(50,107,205,0.18); padding: 4px 10px; border-radius: 2px;
}
.proj-modal-section { margin-bottom: 22px; }
.proj-modal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #88AB3C; display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.proj-modal-label::after { content: ''; flex: 1; height: 1px; background: rgba(136,171,60,0.15); }
.proj-modal-p { font-size: 0.88rem; color: rgba(13,26,27,0.62); line-height: 1.85; }
.proj-modal-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.proj-modal-list li {
  font-size: 0.84rem; color: rgba(13,26,27,0.65); line-height: 1.55;
  display: flex; align-items: flex-start; gap: 10px;
}
.proj-modal-list li::before { content: '→'; color: #326BCD; font-size: 0.72rem; flex-shrink: 0; margin-top: 2px; font-weight: 700; }
.proj-modal-impact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proj-modal-impact-item {
  background: #f8faff; border: 1px solid #e4edf5; border-radius: 4px;
  padding: 12px 14px; font-size: 0.8rem; color: rgba(13,26,27,0.65); line-height: 1.5;
  display: flex; align-items: flex-start; gap: 8px;
}
.proj-modal-impact-dot { width: 7px; height: 7px; border-radius: 50%; background: #88AB3C; flex-shrink: 0; margin-top: 4px; }

@media (max-width: 860px) {
  .proj-gallery { grid-template-columns: 1fr 1fr; }
  .proj-modal-impact { grid-template-columns: 1fr; }
  .proj-modal-body { padding: 24px 24px 32px; }
}
@media (max-width: 520px) {
  .proj-gallery { grid-template-columns: 1fr; }
}

</style>

/* ── WOW Projects Section ─────────────────── */

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

:root {
  --accent: #4fc3f7;
  --accent2: #a5d6a7;
  --dark: #080e18;
}

/* body rules handled by omnuron */

/* Custom cursor */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
}

/* Scroll container */
.scroll-track {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  will-change: transform;
  /* Safari iOS fix: position:fixed descendants of display:none parents can
     still intercept taps in Safari's hit-testing. Disable pointer events on
     the track itself — cards re-enable them explicitly below. */
  pointer-events: none;
}
/* Re-enable taps on the interactive content inside the track so cards and
   CTAs remain tappable when the projects page is actually open. */
.scroll-track .card,
.scroll-track .card-cta,
.scroll-track .card-content {
  pointer-events: auto;
}

/* Header */
:root { --nav-h: 80px; --blue: #326BCD; }

.nav-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 48px;
  gap: 0;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.nav-top.scrolled {
  background: #0B0B0D;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-top.page-blue {
  background: linear-gradient(120deg, #0B0B0D 0%, #326BCD 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; margin-right: 48px;
  cursor: pointer;
}
.nav-logo-mark {
  width: 52px; height: 52px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.nav-logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: #ffffff;
}
.nav-logo-text span { color: #ffffff; }

.nav-links {
  display: flex; align-items: center; flex: 1; height: 100%;
  list-style: none; gap: 0;
}
.nav-links > li {
  height: 100%; display: flex; align-items: center;
  position: relative;
}
.nav-links > li > a, .nav-links > li > button {
  display: flex; align-items: center; gap: 5px;
  height: 100%; padding: 0 18px;
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.85);
  text-decoration: none; background: none; border: none; cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.nav-links > li > a::after, .nav-links > li > button::after {
  content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 2px; background: #88AB3C;
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links > li:hover > a, .nav-links > li:hover > button { color: #88AB3C; }
.nav-links > li:hover > a::after, .nav-links > li:hover > button::after { transform: scaleX(1); }

.nav-chevron { font-size: 0.6rem; opacity: 0.5; transition: transform 0.2s; }
.nav-links > li:hover .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 1px); left: 0;
  min-width: 280px;
  background: #0d1117;
  border: 1px solid rgba(50,107,205,0.25);
  border-top: 3px solid #326BCD;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 8px 0 12px;
  z-index: 300;
  border-radius: 0 0 8px 8px;
}
.nav-links > li:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }

.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 24px;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-dropdown a::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #326BCD; flex-shrink: 0;
  opacity: 0; transition: opacity 0.15s;
}
.nav-dropdown a:hover {
  background: rgba(50,107,205,0.12);
  color: #ffffff;
  border-left-color: #88AB3C;
  padding-left: 20px;
}
.nav-dropdown a:hover::before { opacity: 1; }

.nav-dropdown-label {
  padding: 12px 24px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #326BCD;
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px;
}
.nav-dropdown-label::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(50,107,205,0.25);
}
.nav-dropdown hr {
  border: none; border-top: 1px solid rgba(255,255,255,0.06);
  margin: 6px 0;
}

.nav-right {
  display: flex; align-items: center; gap: 12px; margin-left: auto;
}
.btn-nav-ghost {
  font-size: 0.84rem; font-weight: 600; color: #326BCD;
  background: none; border: 1.5px solid #326BCD;
  padding: 8px 20px; cursor: pointer;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
  border-radius: 2px;
}
.btn-nav-ghost:hover { background: #1a2a2b; color: white; }
.btn-nav-solid {
  font-size: 0.84rem; font-weight: 600; color: white;
  background: #1a2a2b; border: 1.5px solid var(--blue);
  padding: 8px 20px; cursor: pointer;
  transition: background 0.2s; white-space: nowrap;
  border-radius: 2px;
}
.btn-nav-solid:hover { background: #88AB3C; border-color: #88AB3C; }

/* Progress bar */
.progress {
  position: fixed;
  bottom: 0; left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  z-index: 100;
  transition: width 0.1s linear;
  width: 0%;
}

/* Card counter */
.counter {
  position: fixed;
  bottom: 32px;
  right: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
  z-index: 100;
}
.counter span {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
}

/* CARDS */
.card {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
}

.card-bg {
  position: absolute;
  inset: 0;
}
.card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card.in-view .card-bg img {
  transform: scale(1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.2) 100%
  );
}

/* Card content */
.card-content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 0 80px 72px;
  max-width: 700px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
.card.in-view .card-meta {
  opacity: 1; transform: translateY(0);
}

.card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
}
.card-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease 0.25s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.card.in-view .card-title {
  opacity: 1; transform: translateY(0);
}

.card-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}
.card.in-view .card-tagline {
  opacity: 1; transform: translateY(0);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.55s, transform 0.6s ease 0.55s, background 0.3s, border-color 0.3s;
}
.card.in-view .card-cta {
  opacity: 1; transform: translateY(0);
}
.card-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.card-cta span {
  transition: transform 0.3s;
}
.card-cta:hover span {
  transform: translateX(4px);
}

/* Side number */
.card-side-num {
  position: absolute;
  right: 60px;
  bottom: 72px;
  font-family: 'Playfair Display', serif;
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  letter-spacing: -0.05em;
}

/* Scroll hint */
.scroll-hint {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.5s;
}
.scroll-hint.hidden { opacity: 0; pointer-events: none; }
.scroll-hint-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
/* On touch devices the gesture is a swipe, not a scroll.
   Hide the "Scroll" text node and replace with "Swipe" via ::after
   so desktop keeps the correct label without an HTML change. */
@media (max-width: 1024px) {
  .scroll-hint-text { font-size: 0; }
  .scroll-hint-text::after {
    content: 'Swipe';
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
  }
}
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Dots nav */
.dots {
  position: fixed;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.active {
  background: var(--accent);
  transform: scale(1.6);
}


/* ── WOW Cards — Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .card-content {
    top: var(--nav-h);
    padding: 0 48px 64px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }
  .card-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .card-tagline {
    font-size: 0.9rem;
  }
  .dots {
    right: 20px;
  }
  .counter {
    right: 20px;
  }
}
@media (max-width: 680px) {
  .card-content {
    padding: 0 24px 56px;
  }
  .card-title {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
    margin-bottom: 14px;
  }
  .card-tagline {
    font-size: 0.85rem;
    margin-bottom: 24px;
    max-width: 100%;
  }
  .card-side-num {
    font-size: 32vw;
    right: 8px;
    bottom: 56px;
  }
  .dots {
    right: 12px;
  }
  .counter {
    right: 12px;
    bottom: 20px;
  }
  .scroll-hint {
    bottom: 20px;
  }
}

/* ── Pagination dots: mobile/tablet improvements ──────────────────────────
   Desktop: vertical right-edge dots — unchanged.
   ≤1024px: horizontal row at bottom-centre, more natural for horizontal
   swiping, more visible, and visually grouped with the "01/07" counter.
   Rules appended here so they win the load-order cascade over the
   right:20px / right:12px overrides in the blocks above. */

@keyframes dotActivate {
  0%   { transform: scale(1);   opacity: 0.6; }
  55%  { transform: scale(2.4); opacity: 1;   }
  100% { transform: scale(1.8); opacity: 1;   }
}

@media (max-width: 1024px) {
  /* Reposition: vertical right edge → horizontal bottom centre */
  .dots {
    right: auto;
    top: auto;
    transform: translateX(-50%);
    left: 50%;
    bottom: 28px;
    flex-direction: row;
    gap: 9px;
    align-items: center;
  }

  /* Larger, higher-contrast inactive dots */
  .dot {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.45);
  }

  /* Active dot: pop animation on every slide change */
  .dot.active {
    background: var(--accent);
    animation: dotActivate 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
}

@media (max-width: 680px) {
  /* Lift above the "01 / 07" counter (counter sits at bottom: 20px, ~16px tall) */
  .dots {
    bottom: 44px;
    gap: 8px;
  }
  .dot {
    width: 6px;
    height: 6px;
  }
}

/* ── Card content: vertical lift on mobile/tablet ─────────────────────────
   .card-content uses justify-content:flex-end — all content sits at the
   bottom of the full-height flex column. Padding-bottom is the only thing
   separating the CTA button from the card edge (and the pagination zone).
   At ≤680px the previous value (56px) leaves only a ~6px gap above the dots
   (now at bottom:44px). These appended overrides win the load-order cascade
   and raise the content block without touching any other property. */

@media (max-width: 1024px) {
  /* Tablets 901–1024px still use the base 80px side padding.
     Dots sit at bottom:28px (top edge ~36px). Lift content to give ~52px gap. */
  .card-content { padding-bottom: 120px; }
}

@media (max-width: 680px) {
  /* Dots sit at bottom:44px (top edge ~50px). Left/right padding remains
     24px from the existing ≤680px block. */
  .card-content { padding-bottom: 128px; }
}

/* ── Card CTA: prevent full-width stretch on mobile/tablet ────────────────
   At ≤900px .card-content switches to flex-direction:column. The default
   align-items:stretch forces every child — including .card-cta (inline-flex)
   — to fill the container width. align-self:flex-start restores natural
   content-based sizing so the button is only as wide as its label needs. */
@media (max-width: 1024px) {
  .card-cta { align-self: flex-start; }
}

/* ── Project Detail Overlay ───────────────────────────────── */
.proj-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #f4f6f8;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.45s cubic-bezier(0.4,0,0.2,1), transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.proj-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Close button — sits above the scrollable proj-inner and any stacking
   context it creates. z-index: 600 matches the proj-dots layer. */
.proj-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(13,26,42,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 600;
  transition: background 0.2s, box-shadow 0.2s;
  font-size: 1.1rem;
  color: rgba(13,26,42,0.7);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.proj-close:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  color: #0d1a2a;
}

/* Inner scroll container */
.proj-inner {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.proj-inner::-webkit-scrollbar { display: none; }

/* Nav dots */
.proj-dots {
  position: fixed;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s 0.2s;
}
.proj-overlay.open .proj-dots {
  opacity: 1;
  pointer-events: all;
}
.proj-dot-item {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(13,26,42,0.18);
  border: 1px solid rgba(13,26,42,0.22);
  cursor: pointer;
  transition: all 0.3s;
}
.proj-dot-item.active {
  background: #326BCD;
  border-color: #326BCD;
  transform: scale(1.45);
}

/* Banner section */
.proj-banner-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.proj-banner {
  background: linear-gradient(120deg, #0B0B0D 0%, #326BCD 100%);
  padding: 80px 80px 72px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.proj-banner-logo {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  opacity: 0.1;
  pointer-events: none;
}
.proj-banner-logo img { width:100%; height:100%; object-fit:contain; }
.proj-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(136,171,60,0.9);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.proj-eyebrow::before { content:''; width:28px; height:1px; background:#88AB3C; display:block; }
.proj-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem,4.5vw,3.8rem);
  font-weight: 800; color: white;
  line-height: 1.08; letter-spacing: -0.03em;
  max-width: 700px;
}
.proj-banner h1 em { font-style:normal; color:#88AB3C; }
.proj-banner .proj-banner-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8; max-width: 520px;
  margin-top: 18px;
}
.proj-scroll-hint {
  display: none;
}
.proj-scroll-hint::after { content:'↓'; font-size:0.9rem; }
@keyframes hintBob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Project card section */
.proj-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
}
.proj-sidebar {
  background: #0d1a2a;
  padding: 52px 40px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow-y: auto; scrollbar-width: none;
}
.proj-sidebar::-webkit-scrollbar { display:none; }
.proj-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.18); margin-bottom: 16px;
}
.proj-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px; margin-bottom: 20px;
}
.proj-status.built { color:#a8cc5a; background:rgba(136,171,60,0.1); border:1px solid rgba(136,171,60,0.2); }
.proj-status.built::before { content:'●'; font-size:0.45rem; }
.proj-status.showcase { color:#7aacf0; background:rgba(50,107,205,0.1); border:1px solid rgba(50,107,205,0.2); }
.proj-status.showcase::before { content:'◆'; font-size:0.45rem; }
.proj-category-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #88AB3C; margin-bottom: 14px;
}
.proj-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem,1.8vw,1.75rem);
  font-weight: 700; color: white;
  line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 18px;
}
.proj-tagline {
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  line-height: 1.75; margin-bottom: 28px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.proj-tech-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); margin-bottom: 10px;
}
.proj-pills { display:flex; flex-wrap:wrap; gap:6px; }
.proj-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 4px 10px; border-radius: 3px;
}
.proj-pill.blue { color:#7aacf0; background:rgba(50,107,205,0.1); border-color:rgba(50,107,205,0.2); }
.proj-pill.green { color:#a8cc5a; background:rgba(136,171,60,0.08); border-color:rgba(136,171,60,0.18); }
.proj-sidebar-footer {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.proj-sidebar-tag {
  font-size: 0.68rem; color: rgba(255,255,255,0.18);
  font-family: 'JetBrains Mono', monospace;
}
.proj-content {
  padding: 52px 60px;
  overflow-y: auto; scrollbar-width: none;
  display: flex; flex-direction: column; gap: 36px;
}
.proj-content::-webkit-scrollbar { display:none; }
.proj-block-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #326BCD;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.proj-block-label::after { content:''; flex:1; height:1px; background:rgba(50,107,205,0.12); }
.proj-block p {
  font-size: 0.88rem; color: rgba(13,26,42,0.6);
  line-height: 1.85; max-width: 640px;
  font-family: 'DM Sans', sans-serif;
}
.built-list { display:flex; flex-direction:column; gap:8px; max-width:640px; }
.built-item {
  display:flex; gap:12px; align-items:flex-start;
  font-size: 0.86rem; color: rgba(13,26,42,0.65);
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}
.built-item::before { content:'→'; color:#326BCD; font-size:0.75rem; flex-shrink:0; margin-top:2px; font-weight:700; }
.impact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.impact-card {
  background:white; border:1px solid #e4edf5;
  border-radius:7px; padding:16px 18px;
  display:flex; align-items:flex-start; gap:10px;
}
.impact-dot { width:7px; height:7px; border-radius:50%; background:#88AB3C; flex-shrink:0; margin-top:5px; }
.impact-text { font-size:0.79rem; color:rgba(13,26,42,0.6); line-height:1.6; font-family:'DM Sans',sans-serif; }

/* When projects page is active, take full screen */
.page#projects {
  position: fixed !important;
  inset: 0 !important;
  z-index: 150 !important;
  display: none;
  overflow: hidden;
}
.page#projects.active {
  display: block !important;
}

/* ── Project Detail Overlay — Mobile ─────────────────────── */
/* On ≤ 900px, the 300px fixed sidebar leaves only ~75px for content on a
   375px phone. Stack sidebar above content and disable snap so it scrolls
   freely. The .proj-item (static list) already has this at line ~114, but
   .proj-section (inside the overlay) needed its own breakpoint. */
@media (max-width: 900px) {
  /* Overlay: disable scroll-snap so it scrolls freely on touch */
  .proj-inner {
    scroll-snap-type: none;
  }
  /* proj-section: stack sidebar on top of content (was side-by-side 300px 1fr) */
  .proj-section {
    grid-template-columns: 1fr;
    height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: unset;
    overflow: visible;
  }
  /* Hide the right-rail nav dots — not useful in linear scroll */
  .proj-dots { display: none; }
  /* Reduce banner padding to prevent huge top whitespace on phones */
  .proj-banner { padding: 100px 28px 48px; }
  .proj-scroll-hint { left: 28px; }
  /* impact-grid: 3 cols is too narrow on mobile, go to 2 */
  .impact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .proj-banner { padding: 96px 20px 40px; }
  .proj-scroll-hint { left: 20px; }
  /* impact-grid: single column on very small phones */
  .impact-grid { grid-template-columns: 1fr; }
  .proj-content { padding: 28px 20px; }
  .proj-sidebar { padding: 28px 20px; }
}


/* ── contact.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT & ATTRIBUTIONS — Contact form redesign, info columns, map embed.
                            Attributions page.
   Edit here for Contact or Attributions page changes only.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── ATTRIBUTIONS PAGE ── */
.attr-list {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid #e2e6f0; border-radius: 8px; overflow: hidden;
}
.attr-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 24px; padding: 28px 36px;
  border-bottom: 1px solid #e2e6f0;
  align-items: center;
  transition: background 0.2s;
  background: #fff;
}
.attr-item:last-child { border-bottom: none; }
.attr-item:hover { background: #f4f7ff; }
.attr-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  background: #eef3ff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.attr-icon-img { width: 30px; height: 30px; object-fit: contain; }
.attr-name { font-weight: 700; font-size: 1rem; color: #0d1a1b; margin-bottom: 4px; }
.attr-usage { font-size: 0.85rem; color: rgba(13,26,27,0.5); margin-bottom: 6px; }
.attr-credit { font-size: 0.83rem; color: rgba(13,26,27,0.6); }
.attr-credit a { color: #326BCD; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.attr-credit a:hover { border-bottom-color: #326BCD; }
@media (max-width: 680px) {
  .attr-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
}
/* ── END ATTRIBUTIONS PAGE ── */

/* ────────────────────────────────────────────
   CONTACT PAGE
──────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 0; min-height: 70vh;
}
.contact-sidebar {
  background: #59888B;
  padding: 64px 48px;
  display: flex; flex-direction: column; gap: 0;
  position: relative; overflow: hidden;
}
.contact-sidebar::before {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: white;
  margin-bottom: 16px; line-height: 1.2;
}
.contact-sidebar-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.75;
  margin-bottom: 48px;
}
.contact-info-item {
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #326BCD; margin-bottom: 6px;
}
.contact-info-val { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.next-steps-block { margin-top: 40px; }
.next-steps-title {
  font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.9);
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.next-step-row {
  display: flex; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.next-step-row:last-child { border-bottom: none; }
.ns-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: #1a2a2b; color: white;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.ns-text { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

.contact-form-area { padding: 64px; background: #f2f5f5; }
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em;
}
.form-sub { font-size: 0.9rem; color: var(--ink-60); margin-bottom: 36px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--ink-60); margin-bottom: 7px; letter-spacing: 0.02em;
}
.form-input, .form-textarea {
  width: 100%; background: white;
  border: 1.5px solid var(--border); border-radius: 2px;
  color: var(--ink); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; padding: 11px 14px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(50,107,205,0.1);
}
.form-textarea { resize: vertical; min-height: 110px; }

.form-checkboxes {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px; margin-top: 4px;
}
.cb-label {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.84rem; color: var(--ink-60); cursor: pointer;
  padding: 6px 0;
}
.cb-label input[type="checkbox"] {
  appearance: none; width: 16px; height: 16px; min-width: 16px;
  border: 1.5px solid var(--border); border-radius: 2px;
  background: white; cursor: pointer; position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.cb-label input[type="checkbox"]:checked {
  background: #1a2a2b; border-color: var(--blue);
}
.cb-label input[type="checkbox"]:checked::after {
  content: '✓'; position: absolute; top: -2px; left: 2px;
  font-size: 11px; color: white; font-weight: 700;
}
.btn-submit {
  width: 100%; margin-top: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  color: white; background: #1a2a2b;
  border: none; padding: 15px; cursor: pointer;
  transition: background 0.2s, transform 0.15s; border-radius: 2px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Toast */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: #1a2a2b; color: white;
  font-size: 0.85rem; font-weight: 500;
  padding: 14px 24px; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(50,107,205,0.3);
  transform: translateY(60px); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; }


/* ── CONTACT PAGE REDESIGN ──────────────────────── */
.contact-redesign {
  background: #0f1117;
  position: relative; overflow: hidden;
}
.contact-redesign::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(50,107,205,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(136,171,60,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(50,107,205,0.05) 0%, transparent 50%);
}
.contact-redesign .cr-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 64px 100px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; position: relative; z-index: 1;
}
.contact-redesign .cr-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #88AB3C;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.contact-redesign .cr-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: #88AB3C;
}
.contact-redesign .cr-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 700; line-height: 1.2; color: #fff;
  margin-bottom: 12px;
}
.contact-redesign .cr-h2 em { font-style: italic; color: #88AB3C; }
.contact-redesign .cr-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.5);
  line-height: 1.7; margin-bottom: 40px;
}

/* Form */
.contact-redesign .cr-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.contact-redesign .cr-fg { display: flex; flex-direction: column; gap: 8px; }
.contact-redesign .cr-fg.full { grid-column: 1 / -1; }
.contact-redesign .cr-fg label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.contact-redesign .cr-fg input,
.contact-redesign .cr-fg select,
.contact-redesign .cr-fg textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem; color: #fff;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none; resize: none; width: 100%;
}
.contact-redesign .cr-fg input::placeholder,
.contact-redesign .cr-fg textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-redesign .cr-fg input:focus,
.contact-redesign .cr-fg select:focus,
.contact-redesign .cr-fg textarea:focus {
  border-color: rgba(50,107,205,0.7);
  background: rgba(50,107,205,0.06);
  box-shadow: 0 0 0 3px rgba(50,107,205,0.15), 0 0 16px rgba(50,107,205,0.08);
}
.contact-redesign .cr-fg select option { background: #0f1117; color: #fff; }
.contact-redesign .cr-fg textarea { min-height: 130px; }
.contact-redesign .cr-btn-submit {
  width: 100%; margin-top: 8px;
  background: #326BCD; color: #fff;
  border: none; border-radius: 6px; padding: 16px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.contact-redesign .cr-btn-submit:hover { background: #2558b0; transform: translateY(-1px); }
.contact-redesign .cr-btn-submit .arrow { transition: transform 0.2s; }
.contact-redesign .cr-btn-submit:hover .arrow { transform: translateX(4px); }

/* Info panel */
.contact-redesign .cr-info { display: flex; flex-direction: column; gap: 48px; padding-top: 8px; }
.contact-redesign .cr-info-intro {
  font-size: 0.92rem; color: rgba(255,255,255,0.5); line-height: 1.7;
}
.contact-redesign .cr-details { display: flex; flex-direction: column; gap: 0; }
.contact-redesign .cr-detail-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-redesign .cr-detail-item:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.contact-redesign .cr-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(50,107,205,0.25), rgba(50,107,205,0.08));
  border: 1px solid rgba(50,107,205,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-redesign .cr-detail-text { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.contact-redesign .cr-detail-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.contact-redesign .cr-detail-value { font-size: 0.95rem; font-weight: 600; color: #fff; }
.contact-redesign .cr-detail-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-redesign .cr-detail-value a:hover { color: #88AB3C; }
.contact-redesign .cr-social-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.contact-redesign .cr-social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-redesign .cr-social-link {
  display: flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; color: rgba(255,255,255,0.75);
  text-decoration: none; font-size: 0.82rem; font-weight: 500;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.contact-redesign .cr-social-link:hover {
  border-color: rgba(50,107,205,0.5); background: rgba(50,107,205,0.1); color: #fff;
}

/* Responsive */
/* ── Contact page nav-clearance fix ─────────────────────────────────────────
   The nav is position:fixed with height = --nav-h (80px). On mobile/tablet
   the cr-inner top-padding was previously 56–64px — both below the nav height —
   which allowed the "Send a Message" eyebrow to overlap the navbar.
   Each breakpoint now uses calc(var(--nav-h) + Xpx) so that the first visible
   content always starts comfortably below the fixed header. */
@media (max-width: 1024px) {
  .contact-redesign .cr-inner {
    padding: calc(var(--nav-h) + 32px) 40px 80px;   /* 112px top */
    gap: 56px;
  }
}
@media (max-width: 900px) {
  .contact-redesign .cr-inner {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: calc(var(--nav-h) + 32px) 40px 72px;   /* 112px top */
  }
}
@media (max-width: 680px) {
  .contact-redesign .cr-inner {
    padding: calc(var(--nav-h) + 24px) 24px 64px;   /* 104px top */
  }
  .contact-redesign .cr-form-grid { grid-template-columns: 1fr; }
}
/* ── END CONTACT PAGE REDESIGN ────────────────── */
