:root {
  --bg: #080809;
  --surface: #0f0f12;
  --surface2: #161619;
  --surface3: #1e1e23;
  --border: #242428;
  --border-soft: #1c1c20;
  --coral: #ff5533;
  --coral-dim: rgba(255, 85, 51, 0.12);
  --lime: #c8fa64;
  --lime-dim: rgba(200, 250, 100, 0.1);
  --amber: #ffbe0b;
  --text: #f0ebe3;
  --text2: #a8a8b3;
  --text3: #5c5c68;
  --nav-h: 68px;
  --r: 14px;
  --rs: 8px;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

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

/* CURSOR */
.cd {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}
.cr {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(255, 85, 51, 0.45);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    border-color 0.2s;
}

/* APP */
.app {
  position: relative;
  z-index: 2;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(8, 8, 9, 0.85);
  backdrop-filter: blur(20px);
}
.nav-logo {
  font-family: "Syne", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-right: auto;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo span {
  color: var(--coral);
}
.nav-links {
  display: flex;
  gap: 2px;
  margin-right: 28px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: #ff5533;
}
.nav-links a.active {
  background: var(--surface2);
}
.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 85, 51, 0.35);
}

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  margin-right: 16px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 8px;
  }

  .nav-cta {
    display: none;
  }

  /* Hamburger animation */
  .nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* PAGE */
.page {
  display: none;
  padding-top: var(--nav-h);
}
.page.active {
  display: block;
}

/* ── BUTTONS ── */
.btn-p {
  padding: 13px 28px;
  border-radius: 50px;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 85, 51, 0.2);
}
.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 85, 51, 0.38);
}
.btn-g {
  padding: 12px 26px;
  border-radius: 50px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.btn-g:hover {
  border-color: var(--text2);
  background: var(--surface2);
}

/* ── SECTION LABELS ── */
.sec-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--coral);
  opacity: 0.5;
}
.sec-h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 14px;
}
.sec-h2 em {
  font-style: italic;
  color: var(--text2);
}
.sec-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 520px;
  font-weight: 300;
}

/* ── AVAIL PILL ── */
.avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid rgba(200, 250, 100, 0.3);
  background: rgba(200, 250, 100, 0.06);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--lime);
  margin-bottom: 28px;
}
.avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ── PROJ CARD ── */
.proj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.proj-card:hover {
  transform: translateY(-5px);
  border-color: var(--coral);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.55);
}
.proj-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.proj-card:hover .proj-thumb img {
  transform: scale(1.05);
}
.proj-thumb-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 9, 0.92) 0%,
    rgba(8, 8, 9, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.proj-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 50px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}
.proj-body {
  padding: 22px;
}
.proj-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 7px;
}
.proj-title {
  font-family: "Syne", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.proj-desc {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
}
.proj-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.proj-tag {
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.04em;
}
.proj-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 85, 51, 0.15);
  border: 1px solid rgba(255, 85, 51, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--coral);
  opacity: 0;
  transition: opacity 0.2s;
}
.proj-card:hover .proj-arrow {
  opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HOME
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: center;
  padding: 0 48px;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.hero-glow-a {
  position: absolute;
  top: -10%;
  left: -8%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 85, 51, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: gf 9s ease-in-out infinite;
}
.hero-glow-b {
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 250, 100, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: gf 11s ease-in-out infinite reverse;
}
@keyframes gf {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -22px) scale(1.04);
  }
}

.hero-left {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}
.hero-roles {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.role-chip {
  padding: 5px 13px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text2);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.03em;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.role-chip:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.hero-h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-h1 .ac {
  color: var(--coral);
  font-style: italic;
}
.hero-sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero right — image mosaic */
.hero-right {
  position: relative;
  z-index: 2;
  padding: 80px 0 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-img-main {
  border-radius: var(--r);
  overflow: hidden;
  height: 260px;
  position: relative;
  border: 1px solid var(--border);
}
.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-main-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, 0.85) 0%, transparent 50%);
}
.hero-img-main-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.hero-img-main-caption .cap-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}
.hero-img-main-caption .cap-title {
  font-family: "Syne", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.hero-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-img-sm {
  border-radius: var(--rs);
  overflow: hidden;
  height: 120px;
  border: 1px solid var(--border);
  position: relative;
  background: var(--surface);
}
.hero-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.hero-img-sm-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}
.hero-img-sm-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero-img-sm-val {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-card-sm {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.hero-card-sm::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transform: translate(30%, -30%);
  opacity: 0.12;
}
.hero-card-sm:nth-child(1)::before {
  background: var(--lime);
}
.hero-card-sm:nth-child(2)::before {
  background: var(--violet);
}
.hero-card-sm:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}
.sm-card-emoji {
  font-size: 22px;
}
.sm-card-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.sm-card-value {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.sm-card-value span {
  font-size: 14px;
  color: var(--text-3);
  font-family: "Plus Jakarta Sans";
  font-weight: 400;
}
/* TICKER */
.ticker {
  background: var(--coral);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  gap: 36px;
  animation: tick 22s linear infinite;
}
@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.tick-item {
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.tick-sep {
  color: rgba(255, 255, 255, 0.4);
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 36px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.stat:last-child {
  border-right: none;
}
.stat:hover {
  background: var(--surface2);
}
.stat-n {
  font-family: "Syne", sans-serif;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.stat-l {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

/* HOME SECTIONS */
.home-section {
  padding: 88px 48px;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home-grid .proj-card.feat {
  grid-column: span 2;
}
.home-grid .proj-card.feat .proj-thumb {
  height: 280px;
}

/* PROCESS */
.process-bg {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.process-line {
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}
.proc-step {
  padding: 52px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.proc-step:last-child {
  border-right: none;
}
.proc-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--text2);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.proc-step:hover .proc-num {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.proc-name {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.proc-desc {
  font-size: 12.5px;
  color: var(--text3);
  line-height: 1.6;
}

/* ABOUT STRIP ON HOME */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.about-strip-img {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.about-strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.about-strip-img-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--bg) 90%);
}
.about-strip-content {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-pull {
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.about-pull em {
  font-style: italic;
  color: var(--coral);
}
.about-body-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
}

/* FOOTER */
.footer {
  padding: 20px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  position: relative;
}
.foot-logo {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.foot-logo span {
  color: var(--coral);
}
.foot-links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.foot-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text3);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.foot-link:hover {
  color: var(--coral);
}
.foot-copy {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text3);
  flex-shrink: 0;
}
.foot-link:a {
  color: #ff5533;
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECTS PAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.proj-page-hero {
  padding: 72px 48px 48px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.proj-h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.proj-h1 em {
  color: var(--coral);
  font-style: italic;
}
.proj-count {
  font-family: "Syne", sans-serif;
  font-size: 100px;
  font-weight: 800;
  color: var(--surface3);
  letter-spacing: -0.05em;
  line-height: 1;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.fc {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  background: transparent;
  cursor: pointer;
  transition: all 0.18s;
}
.fc.on,
.fc:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.fdiv {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 4px;
}
.fresult {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text3);
}

.all-proj-grid {
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.all-proj-grid .proj-card.feat {
  grid-column: span 2;
}
.all-proj-grid .proj-card.feat .proj-thumb {
  height: 280px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CASE STUDY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cs-hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  padding: 72px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.cs-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 85, 51, 0.1) 0%,
    transparent 70%
  );
}
.cs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin-bottom: 24px;
}
.cs-breadcrumb a {
  color: var(--coral);
  cursor: pointer;
}
.cs-h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 18px;
}
.cs-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 32px;
  font-weight: 300;
}
.cs-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.cs-meta-item .csm-l {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 5px;
}
.cs-meta-item .csm-v {
  font-size: 13.5px;
  font-weight: 500;
}
.cs-hero-img {
  border-radius: var(--r);
  overflow: hidden;
  height: 320px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
}
.cs-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-hero-img-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 85, 51, 0.25), transparent 60%);
}

/* Case body */
.cs-body {
  padding: 72px 48px;
}
.cs-section {
  margin-bottom: 72px;
}
.cs-sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.cs-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-sec-title {
  font-family: "Syne", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

/* Full-width image band */
.cs-img-band {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.cs-img-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-img-band-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, 0.7) 0%, transparent 50%);
}
.cs-img-band-caption {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* PS boxes */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
.ps-box {
  padding: 30px;
  border-radius: var(--rs);
  background: var(--surface);
  border: 1px solid var(--border);
}
.ps-box.prob {
  border-top: 2px solid var(--coral);
}
.ps-box.sol {
  border-top: 2px solid var(--lime);
}
.ps-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ps-box.prob .ps-lbl {
  color: var(--coral);
}
.ps-box.sol .ps-lbl {
  color: var(--lime);
}
.ps-txt {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.75;
  font-weight: 300;
}

/* Research artifacts */
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.artifact-box {
  padding: 26px;
  border-radius: var(--rs);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.artifact-box:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
}
.artifact-icon {
  font-size: 30px;
  margin-bottom: 12px;
  display: block;
}
.artifact-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.artifact-sub {
  font-size: 11.5px;
  color: var(--text3);
}

/* Image gallery for case study screens */
.cs-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.cs-gallery-item {
  border-radius: var(--rs);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 200px;
  position: relative;
}
.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cs-gallery-item:hover img {
  transform: scale(1.06);
}
.cs-gallery-item-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, 0.85) 0%, transparent 55%);
}
.cs-gallery-item-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Wide 2-col gallery */
.cs-gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}
.cs-gallery-2-item {
  border-radius: var(--rs);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
  position: relative;
}
.cs-gallery-2-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cs-gallery-2-item:hover img {
  transform: scale(1.04);
}

/* Process flow boxes */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.flow-box {
  padding: 24px;
  border-radius: var(--rs);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.flow-box::before {
  content: attr(data-n);
  position: absolute;
  top: -10px;
  right: 10px;
  font-family: "Syne", sans-serif;
  font-size: 58px;
  font-weight: 800;
  color: var(--surface3);
  line-height: 1;
  pointer-events: none;
}
.flow-icon {
  font-size: 22px;
  margin-bottom: 12px;
}
.flow-name {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.flow-sub {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.6;
}

/* Outcomes */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.outcome-box {
  padding: 30px;
  border-radius: var(--rs);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.outcome-n {
  font-family: "Syne", sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 7px;
}
.outcome-l {
  font-size: 12.5px;
  color: var(--text3);
  line-height: 1.5;
}

/* Case nav */
.cs-nav {
  display: flex;
  justify-content: space-between;
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.cs-next-card {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-radius: var(--rs);
  background: var(--surface);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.cs-next-card:hover {
  border-color: var(--coral);
  transform: translateX(4px);
}
.cs-next-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.cs-next-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-next-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 4px;
}
.cs-next-title {
  font-family: "Syne", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  padding: 72px 48px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.about-photo {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.about-photo img {
  width: 100%;
  display: block;
  height: 480px;
  object-fit: cover;
}
.about-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 85, 51, 0.92);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
}
.about-badge-name {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.about-badge-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.about-h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.about-h1 em {
  color: var(--coral);
  font-style: italic;
}
.about-body {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 36px;
}
.about-body p + p {
  margin-top: 14px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.skill-cat-l {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text2);
}
.skill-bar {
  width: 56px;
  height: 3px;
  background: var(--surface3);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
}
.tools-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tool-b {
  padding: 9px 16px;
  border-radius: var(--rs);
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.2s,
    color 0.2s;
  cursor: default;
}
.tool-b:hover {
  border-color: var(--coral);
  color: var(--text);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.contact-left {
  padding: 72px 56px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-big {
  font-family: "Syne", sans-serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.contact-big em {
  font-style: italic;
  color: var(--coral);
}
.contact-body {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 300;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--rs);
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.c-link:hover {
  border-color: var(--coral);
  transform: translateX(4px);
}
.c-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.c-lbl {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.c-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}
.c-arr {
  margin-left: auto;
  color: var(--text3);
}
.contact-right {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-title {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
}
.form-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.inp-g {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.inp-l {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
}
.inp {
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.inp::placeholder {
  color: var(--text3);
}
.inp:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 85, 51, 0.1);
}
select.inp {
  cursor: pointer;
}
textarea.inp {
  resize: none;
  height: 120px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav {
    padding: 0 20px;
  }
  /* Do NOT hide nav-links here — handled by toggle system below */
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .hero-right {
    padding: 0;
  }
  .home-section {
    padding: 60px 20px;
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .home-grid .proj-card.feat {
    grid-column: span 1;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .about-strip {
    grid-template-columns: 1fr;
  }
  .about-strip-img {
    min-height: 260px;
  }
  .proj-page-hero {
    padding: 40px 20px 32px;
  }
  .proj-count {
    display: none;
  }
  .filter-bar {
    padding: 16px 20px;
    overflow-x: auto;
  }
  .all-proj-grid {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .all-proj-grid .proj-card.feat {
    grid-column: span 1;
  }
  .cs-hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .cs-hero-img {
    display: none;
  }
  .cs-body {
    padding: 40px 20px;
  }
  .ps-grid {
    grid-template-columns: 1fr;
  }
  .artifact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .cs-gallery-2 {
    grid-template-columns: 1fr;
  }
  .outcome-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .about-img-section {
    padding: 0 20px 40px;
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .contact-split {
    grid-template-columns: 1fr;
  }
  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .footer {
    padding: 18px 20px;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
  }
  .foot-links {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .cs-nav {
    padding: 24px 20px;
  }
}

/* fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade {
  animation: fadeUp 0.8s ease both;
}
.d1 {
  animation-delay: 0.1s;
}
.d2 {
  animation-delay: 0.2s;
}
.d3 {
  animation-delay: 0.3s;
}

/* ═══════════════════════════════════════════════════════════
   ENHANCED CONTACT & FOOTER LINKS
   ═══════════════════════════════════════════════════════════ */

/* Contact link styling - make entire card clickable */
.c-link a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  transition: color 0.2s;
}

.c-link a:hover {
  color: var(--coral);
}

.c-link a:hover .c-url {
  color: var(--coral);
}

/* .c-link a:focus {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 10px;
} */

/* Footer link styling */
.foot-link {
  color: var(--text3);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  font-size: 13px;
}

.foot-link:hover {
  color: var(--coral);
}

/* .foot-link:focus {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
} */

/* Button as link styling */
.btn-g[href] {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-g[href]:hover {
  border-color: var(--text2);
  background: var(--surface2);
  color: var(--text);
}

.btn-g[href]:focus {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* Ensure contact link icons and text align properly */
.c-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    transform 0.2s,
    border-color 0.2s;
  cursor: pointer;
}

.c-link:hover {
  transform: translateX(4px);
  border-color: var(--coral);
}

.c-link:focus-within {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESUME PAGE
   All styles for resume-portfolio.html
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.resume-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
  background: var(--bg);
}

/* ─── Hero ─── */
.resume-hero {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  padding: 88px 48px 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.resume-hero-glow {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 85, 51, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: gf 12s ease-in-out infinite;
}

.resume-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.resume-avail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(200, 250, 100, 0.3);
  background: rgba(200, 250, 100, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--lime);
  margin-bottom: 32px;
}

.resume-name {
  font-family: "Syne", sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1;
}

.resume-tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 40px;
  font-weight: 600;
}

.resume-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, auto));
  gap: 12px;
  align-items: center;
}

.resume-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.resume-contact-item:hover {
  color: var(--coral);
  border-color: rgba(255, 85, 51, 0.3);
  transform: translateX(3px);
}

.contact-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* ─── Action buttons ─── */
.resume-actions {
  padding: 32px 48px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.resume-actions .btn-p,
.resume-actions .btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ─── Shared container ─── */
.resume-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── Section titles ─── */
.resume-section-title {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
  position: relative;
}

.resume-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 55%;
  height: 2px;
}

.title-accent {
  background: var(--text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Summary ─── */
.resume-summary-section {
  padding: 56px 48px;
  border-bottom: 1px solid var(--border);
}

.resume-summary-text {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--text2);
  font-weight: 300;
  max-width: 860px;
}

.resume-summary-text strong {
  color: var(--coral);
  font-weight: 600;
}

/* ─── Two-column layout ─── */
.resume-content-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  align-items: start;
}

.resume-main-col {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
}

.resume-side-col {
  padding: 56px 36px;
}

/* ─── Experience ─── */
.resume-experience-section {
  margin-bottom: 0;
}

.resume-exp-item {
  margin-bottom: 44px;
  padding-bottom: 40px;
  padding-left: 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.resume-exp-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(180deg, var(--coral) 0%, transparent 100%);
}

.resume-exp-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.resume-exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.resume-job-title {
  font-family: "Syne", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.resume-company {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 5px;
}

.resume-project-tag {
  font-size: 12px;
  color: var(--text3);
  font-style: italic;
  padding: 3px 10px;
  border-radius: 5px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: inline-block;
  margin-top: 4px;
}

.resume-dates {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--coral-dim);
  border: 1px solid rgba(255, 85, 51, 0.2);
  flex-shrink: 0;
}

.resume-achievements {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-achievement {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text2);
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  font-weight: 300;
}

.resume-achievement::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-size: 13px;
}

.resume-achievement strong {
  color: var(--lime);
  font-weight: 600;
}

/* ─── Education ─── */
.resume-edu-section {
  margin-bottom: 40px;
}

.resume-edu-item {
  margin-bottom: 20px;
  padding: 22px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.resume-edu-item:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
}

.resume-degree {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.resume-school {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 3px;
}

.resume-location {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 6px;
}

.resume-grad-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.resume-major {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 2px;
}

.resume-spec {
  font-size: 13px;
  color: var(--text3);
  font-style: italic;
  margin-bottom: 2px;
}

/* ─── Skills ─── */
.resume-skills-section {
  margin-bottom: 40px;
}

.resume-skills-grid {
  grid-template-columns: 1fr !important;
  gap: 28px;
  margin-bottom: 0;
}

/* ─── Certifications ─── */
.resume-cert-section {
  margin-bottom: 0;
}

.cert-item {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--lime);
}

.cert-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.cert-org {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 4px;
}

.cert-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
}

/* ─── Projects highlight ─── */
.resume-projects-highlight {
  padding: 56px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.projects-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.project-preview-card {
  padding: 26px 22px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  display: block;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.project-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.project-preview-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.project-preview-title {
  font-family: "Syne", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.project-preview-desc {
  font-size: 13.5px;
  color: var(--text3);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .resume-content-grid {
    grid-template-columns: 1fr;
  }
  .resume-main-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 48px 36px;
  }
  .resume-side-col {
    padding: 48px 36px;
  }
  .projects-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .resume-hero {
    padding: 56px 24px 40px;
  }
  .resume-name {
    font-size: clamp(36px, 9vw, 54px);
  }
  .resume-tagline {
    font-size: 13px;
    margin-bottom: 28px;
  }
  .resume-contact-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .resume-actions {
    padding: 24px;
    flex-direction: column;
  }
  .resume-actions .btn-p,
  .resume-actions .btn-g {
    width: 100%;
    justify-content: center;
  }
  .resume-summary-section {
    padding: 40px 24px;
  }
  .resume-main-col,
  .resume-side-col {
    padding: 40px 24px;
  }
  .resume-exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .resume-section-title {
    font-size: 19px;
  }
  .resume-projects-highlight {
    padding: 40px 24px;
  }
  .projects-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .resume-name {
    font-size: 32px;
  }
  .resume-avail {
    font-size: 11px;
    padding: 6px 13px;
  }
  .resume-exp-item {
    padding-left: 14px;
  }
}

/* ─── Print ─── */
@media print {
  .nav,
  .resume-actions,
  .cd,
  .cr,
  .resume-hero-glow,
  .footer {
    display: none !important;
  }
  .resume-page {
    padding-top: 0;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .resume-hero {
    background: #fff !important;
    border-bottom: 2px solid #000;
    padding: 20px 0;
  }
  .resume-name {
    color: #000 !important;
    font-size: 36px;
  }
  .resume-tagline {
    color: #555 !important;
  }
  .resume-contact-item {
    color: #333 !important;
    border-color: #ddd !important;
  }
  .resume-content-grid {
    grid-template-columns: 1.75fr 1fr;
  }
  .resume-main-col,
  .resume-side-col,
  .resume-summary-section,
  .resume-projects-highlight {
    padding: 20px 0;
  }
  .resume-main-col {
    border-right: 1px solid #ccc;
    padding-right: 24px;
  }
  .resume-side-col {
    padding-left: 24px;
  }
  .resume-section-title {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    border-bottom-color: #000;
  }
  .resume-section-title::after {
    display: none;
  }
  .resume-job-title,
  .resume-degree,
  .resume-company,
  .resume-school {
    color: #000 !important;
  }
  .resume-achievement,
  .resume-summary-text,
  .resume-major,
  .resume-spec {
    color: #333 !important;
    font-size: 11px;
  }
  .resume-dates {
    background: #eee !important;
    color: #333 !important;
    border-color: #ccc !important;
  }
  .resume-exp-item,
  .resume-edu-item {
    page-break-inside: avoid;
  }
  .cert-item {
    border-left-color: #555 !important;
    background: #f8f8f8 !important;
  }
  .skill-fill {
    background: #555 !important;
  }
  .skill-bar {
    background: #eee !important;
  }
  .tool-b {
    background: #f0f0f0 !important;
    border-color: #ccc !important;
    color: #333 !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE SYSTEM — Mobile / Tablet / Laptop / Desktop
   ═══════════════════════════════════════════════════════════════════ */

/* ── MOBILE NAV TOGGLE (all sizes ≤ 960px) ── */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex !important;
  }

  /* Override any earlier display:none on nav-links */
  .nav-links {
    display: flex !important;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 8, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 16px 20px 100px; /* Extra bottom padding to reveal Hire Me */
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    z-index: 99;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 8px;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  /* Hide the pill CTA by default on mobile */
  .nav-cta {
    display: none !important;
  }

  /* When nav is open — show Hire Me inside the dropdown below the links */
  .nav-open .nav-cta {
    display: flex !important;
    position: fixed;
    left: 20px;
    right: 20px;
    z-index: 102;
    justify-content: center;
    align-items: center;
    top: calc(var(--nav-h) + 180px);
    border-radius: 10px;
    text-align: center;
    padding: 14px 22px;
    font-size: 14px;
    box-shadow: 0 8px 28px rgba(255, 85, 51, 0.35);
  }

  /* Hamburger → X animation */
  .nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Body scroll lock when menu is open */
  body.nav-open {
    overflow: hidden;
  }
}

/* ── LAPTOP (≤ 1200px) ── */
@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr 420px;
    gap: 0;
    padding: 0 36px;
  }

  .home-section {
    padding: 72px 36px;
  }

  .all-proj-grid {
    padding: 36px;
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-body {
    padding: 60px 36px;
  }

  .contact-left,
  .contact-right {
    padding: 56px 40px;
  }

  .about-hero {
    padding: 60px 36px;
    gap: 48px;
  }

  .about-hero {
    grid-template-columns: 320px 1fr;
  }

  .proj-page-hero {
    padding: 60px 36px 40px;
  }

  .filter-bar {
    padding: 20px 36px;
  }
}

/* ── TABLET (≤ 960px) — content layout fixes ── */
@media (max-width: 960px) {
  /* Hero stacks vertically */
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 24px 40px;
    min-height: unset;
    gap: 32px;
  }

  .hero-left {
    padding: 48px 0 0;
  }

  .hero-right {
    padding: 0 0 40px;
  }

  .hero-h1 {
    font-size: clamp(40px, 7vw, 60px);
  }

  .hero-cards-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Stats: 2×2 */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  /* Home grid: 1-col */
  .home-section {
    padding: 56px 24px;
  }

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

  .home-grid .proj-card.feat {
    grid-column: span 1;
  }

  .home-grid .proj-card.feat .proj-thumb {
    height: 220px;
  }

  /* About strip: single column */
  .about-strip {
    grid-template-columns: 1fr;
  }

  .about-strip-img {
    min-height: 240px;
    max-height: 320px;
  }

  .about-strip-img-over {
    background: linear-gradient(to bottom, transparent, var(--bg) 90%);
  }

  .about-strip-content {
    padding: 48px 24px;
  }

  /* Process: scrollable row on tablet, stacked grid on mobile */
  .process-bg > div:first-child {
    padding: 56px 24px 0;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
  }

  .process-line {
    display: none;
  }

  .proc-step {
    padding: 36px 20px;
  }

  /* Projects page hero */
  .proj-page-hero {
    padding: 48px 24px 36px;
    gap: 20px;
  }

  .proj-count {
    font-size: 72px;
  }

  /* Filter bar: scrollable */
  .filter-bar {
    padding: 16px 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .fresult {
    white-space: nowrap;
  }

  /* Projects grid: 2-col on tablet */
  .all-proj-grid {
    padding: 24px;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .all-proj-grid .proj-card.feat {
    grid-column: span 2;
  }

  /* Case study */
  .cs-hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 32px;
  }

  .cs-hero-img {
    height: 240px;
    display: block; /* Override display:none from earlier if set */
  }

  .cs-body {
    padding: 48px 24px;
  }

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

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

  .artifact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-gallery-2 {
    grid-template-columns: 1fr;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-nav {
    padding: 24px;
    gap: 16px;
    flex-direction: column;
  }

  .cs-next-card {
    width: 100%;
  }

  /* About page */
  .about-hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 32px;
  }

  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-photo img {
    height: 380px;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-img-section {
    padding: 0 24px 48px;
    grid-template-columns: 1fr !important;
  }

  /* Contact page */
  .contact-split {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .contact-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 56px 24px 48px;
  }

  .contact-right {
    padding: 48px 24px 56px;
  }

  /* Footer */
  .footer {
    padding: 20px 24px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }

  .foot-links {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .foot-copy {
    order: 4;
    width: 100%;
    text-align: center;
  }
}

/* ── MOBILE (≤ 640px) — tighter fixes ── */
@media (max-width: 640px) {
  :root {
    --nav-h: 60px;
  }

  .hero {
    padding: 60px 16px 36px;
  }

  .hero-left {
    padding-top: 32px;
  }

  .hero-h1 {
    font-size: clamp(34px, 9vw, 50px);
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-cards-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-card-sm {
    height: 110px;
    padding: 16px;
  }

  .hero-img-main {
    height: 200px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn-p,
  .btn-g {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Stats: 2×2 */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 24px 20px;
  }

  .stat-n {
    font-size: 32px;
  }

  /* Home section */
  .home-section {
    padding: 44px 16px;
  }

  .home-section > div:first-child {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px !important;
    align-items: flex-start !important;
  }

  /* About strip */
  .about-strip-content {
    padding: 36px 16px;
  }

  /* Process: single column on phone */
  .process-bg > div:first-child {
    padding: 44px 16px 0;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .proc-step {
    padding: 28px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .proc-step:last-child {
    border-bottom: none;
  }

  .proc-num {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  /* Projects page */
  .proj-page-hero {
    padding: 36px 16px 28px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proj-h1 {
    font-size: clamp(34px, 8vw, 52px);
  }

  .proj-count {
    display: none;
  }

  .filter-bar {
    padding: 12px 16px;
    gap: 6px;
  }

  .fc {
    padding: 6px 14px;
    font-size: 10px;
    white-space: nowrap;
  }

  .all-proj-grid {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .all-proj-grid .proj-card.feat {
    grid-column: span 1;
  }

  /* Case study */
  .cs-hero {
    padding: 36px 16px;
  }

  .cs-hero-img {
    display: none;
  }

  .cs-body {
    padding: 36px 16px;
  }

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

  .cs-sec-title {
    font-size: 20px;
  }

  .cs-img-band {
    height: 220px;
    border-radius: 10px;
  }

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

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

  .cs-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cs-gallery-item {
    height: 140px;
  }

  .outcome-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .outcome-box {
    padding: 20px 14px;
  }

  .outcome-n {
    font-size: 32px;
  }

  .cs-nav {
    padding: 20px 16px;
  }

  /* About page */
  .about-hero {
    padding: 36px 16px;
  }

  .about-photo {
    max-width: 100%;
  }

  .about-photo img {
    height: 280px;
  }

  .about-h1 {
    font-size: clamp(26px, 7vw, 38px);
  }

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

  .about-img-section {
    padding: 0 16px 36px;
  }

  /* Contact page */
  .contact-left {
    padding: 44px 16px 40px;
  }

  .contact-big {
    font-size: clamp(32px, 8vw, 48px);
  }

  .contact-right {
    padding: 40px 16px 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer */
  .footer {
    padding: 20px 16px;
  }

  .foot-links {
    gap: 16px;
  }
}

/* ── VERY SMALL SCREENS (≤ 380px) ── */
@media (max-width: 380px) {
  .hero-h1 {
    font-size: 32px;
  }

  .role-chip {
    font-size: 10px;
    padding: 4px 10px;
  }

  .hero-cards-row {
    grid-template-columns: 1fr;
  }

  .avail {
    font-size: 10px;
  }

  .stat-n {
    font-size: 28px;
  }

  .contact-big {
    font-size: 30px;
  }
}

/* ── CURSOR: disable on touch devices ── */
@media (hover: none) and (pointer: coarse) {
  .cd,
  .cr {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ── LANDSCAPE PHONE FIX ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: unset;
    padding: 20px 24px 28px;
  }

  .hero-left {
    padding-top: 20px;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LARGE SCREEN — 1440px+
   Wider columns, more breathing room, bigger type
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1440px) {
  /* Nav */
  .nav {
    padding: 0 72px;
  }

  /* Hero */
  .hero {
    padding: 0 72px;
    grid-template-columns: 1fr 580px;
    gap: 48px;
  }

  .hero-h1 {
    font-size: clamp(64px, 5.5vw, 88px);
  }

  .hero-sub {
    font-size: 17px;
    max-width: 540px;
  }

  .hero-img-main {
    height: 340px;
  }

  /* Stats strip */
  .stat {
    padding: 44px 56px;
  }

  .stat-n {
    font-size: 48px;
  }

  /* Home sections */
  .home-section {
    padding: 104px 72px;
  }

  .home-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Process */
  .process-bg > div:first-child {
    padding: 72px 72px 0;
  }

  /* About strip */
  .about-strip-img {
    min-height: 560px;
  }

  .about-strip-content {
    padding: 88px 72px;
  }

  /* Footer */
  .footer {
    padding: 24px 72px;
  }

  /* Projects page */
  .proj-page-hero {
    padding: 88px 72px 56px;
  }

  .filter-bar {
    padding: 28px 72px;
  }

  .all-proj-grid {
    padding: 56px 72px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  /* Case study */
  .cs-hero {
    padding: 88px 72px;
    grid-template-columns: 1fr 500px;
    gap: 80px;
  }

  .cs-body {
    padding: 88px 72px;
  }

  .cs-nav {
    padding: 40px 72px;
  }

  /* About page */
  .about-hero {
    padding: 88px 72px;
    grid-template-columns: 420px 1fr;
    gap: 88px;
  }

  .about-photo img {
    height: 560px;
  }

  /* Contact */
  .contact-left,
  .contact-right {
    padding: 88px 72px;
  }

  .contact-big {
    font-size: clamp(50px, 4.5vw, 72px);
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   WIDE SCREEN — 1600px+
   Max-width content containment begins
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1600px) {
  .hero {
    grid-template-columns: 1fr 640px;
    padding: 0 88px;
  }

  .hero-h1 {
    font-size: clamp(72px, 5.8vw, 96px);
  }

  .nav {
    padding: 0 88px;
  }

  .home-section {
    padding: 112px 88px;
  }

  .home-grid {
    gap: 28px;
  }

  .all-proj-grid {
    padding: 64px 88px;
    gap: 28px;
  }

  .proj-page-hero {
    padding: 96px 88px 60px;
  }

  .filter-bar {
    padding: 28px 88px;
  }

  .cs-hero {
    padding: 96px 88px;
  }

  .cs-body {
    padding: 96px 88px;
  }

  .cs-nav {
    padding: 44px 88px;
  }

  .about-hero {
    padding: 96px 88px;
    grid-template-columns: 460px 1fr;
  }

  .about-strip-content {
    padding: 96px 88px;
  }

  .contact-left,
  .contact-right {
    padding: 96px 88px;
  }

  .footer {
    padding: 28px 88px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ULTRAWIDE — 1920px+
   Hard max-width container to prevent over-stretching
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (min-width: 1920px) {
  /* Centre and cap the app content */
  .app {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav {
    max-width: 1920px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 120px;
  }

  .hero {
    padding: 0 120px;
    grid-template-columns: 1fr 700px;
    gap: 64px;
  }

  .hero-h1 {
    font-size: clamp(80px, 5vw, 104px);
  }

  .home-section {
    padding: 120px 120px;
  }

  .home-grid {
    gap: 32px;
  }

  .process-bg > div:first-child {
    padding: 88px 120px 0;
  }

  .about-strip-content {
    padding: 104px 120px;
  }

  .all-proj-grid {
    padding: 72px 120px;
    gap: 32px;
  }

  .proj-page-hero {
    padding: 104px 120px 64px;
  }

  .filter-bar {
    padding: 32px 120px;
  }

  .cs-hero {
    padding: 104px 120px;
    grid-template-columns: 1fr 560px;
  }

  .cs-body {
    padding: 104px 120px;
  }

  .cs-nav {
    padding: 48px 120px;
  }

  .about-hero {
    padding: 104px 120px;
    grid-template-columns: 500px 1fr;
    gap: 104px;
  }

  .about-photo img {
    height: 620px;
  }

  .contact-left,
  .contact-right {
    padding: 104px 120px;
  }

  .contact-big {
    font-size: clamp(56px, 4vw, 80px);
  }

  .footer {
    padding: 32px 120px;
  }

  /* Slightly larger body type at this scale */
  .hero-sub,
  .contact-body,
  .about-body p,
  .cs-desc {
    font-size: 17px;
  }

  .proj-desc {
    font-size: 14.5px;
  }
}
