/* ─────────────────────────────────────────────
   TOKENS  — keep the existing warm colour palette
   ───────────────────────────────────────────── */
:root {
  --bg:           #f6f1e8;
  --surface:      #fffcf7;
  --surface-hover:#f5f0e6;
  --text:         #1c1917;
  --muted:        #6d6258;
  --line:         rgba(66, 52, 37, 0.12);
  --accent:       #d96c3f;
  --accent-soft:  #f0c7a8;
  --accent-deep:  #20453f;
  --shadow-card:  0 2px 14px rgba(76, 60, 38, 0.07);
  --shadow-hover: 0 32px 48px -16px rgba(217, 108, 63, 0.1);
  --radius:       20px;
  --container:    1180px;
}

/* ─────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────────
   SCROLL-REVEAL
   ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
  transition-delay: var(--delay, 0ms);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   NAVIGATION  — flat sticky bar (Stitch style)
   ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 180ms;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a:hover { color: var(--text); }

.site-nav a.is-active {
  color: var(--accent);
  font-weight: 700;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.nav-cta {
  flex-shrink: 0;
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  transition: transform 200ms, box-shadow 200ms;
  display: inline-block;
}

.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(32, 69, 63, 0.25);
}

/* Hamburger toggle — visible only at mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  flex-shrink: 0;
  z-index: 60;
}

.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  position: absolute;
  left: 0;
  transition: transform 300ms ease, opacity 200ms ease;
}

.nav-toggle .bar:nth-child(1) { top: 0; }
.nav-toggle .bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle .bar:nth-child(3) { bottom: 0; }

.nav-toggle.is-open .bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bar:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile slide-in drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  z-index: 55;
  padding: 5.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(76, 60, 38, 0.1);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav nav a {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  transition: background-color 180ms;
}

.mobile-nav nav a:hover { background: var(--surface-hover); }

.mobile-nav .cta-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Backdrop behind mobile drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 52;
  background: rgba(28, 25, 23, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ─────────────────────────────────────────────
   PAGE WRAPPER
   ───────────────────────────────────────────── */
.page-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem 7rem;
}

/* ─────────────────────────────────────────────
   BADGE
   ───────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(217, 108, 63, 0.1);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────
   HERO  (home page)
   ───────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4.5rem;
  max-width: 54rem;
}

.home-nda-note {
  margin: 0 0 3rem;
  padding: 1.3rem 1.45rem;
  border: 1px solid rgba(32, 69, 63, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 108, 63, 0.08), rgba(32, 69, 63, 0.06)),
    var(--surface);
  box-shadow: var(--shadow-card);
  max-width: 58rem;
}

.home-nda-note-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}

.home-nda-note-text {
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--muted);
  max-width: 52rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent      { color: var(--accent); }
.hero h1 .accent-deep { color: var(--accent-deep); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 36rem;
}

/* ─────────────────────────────────────────────
   SECTION LABEL
   ───────────────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.25rem;
}

/* ─────────────────────────────────────────────
   BENTO GRID
   ───────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

/* column spans */
.b-8  { grid-column: span 8; }
.b-7  { grid-column: span 7; }
.b-6  { grid-column: span 6; }
.b-5  { grid-column: span 5; }
.b-4  { grid-column: span 4; }
.b-12 { grid-column: span 12; }

/* centred last card: starts at col 4, spans 6 */
.b-center { grid-column: 4 / span 6; }

/* stagger offsets */
.b-down { margin-top: 3.5rem; }
.b-up   { margin-top: -3rem; }
.b-mt   { margin-top: 2.5rem; }

/* ─────────────────────────────────────────────
   BENTO CARD
   ───────────────────────────────────────────── */
.bento-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 480ms cubic-bezier(0.4, 0, 0.2, 1),
              transform   320ms cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Cover: gradient OR img */
.card-cover {
  overflow: hidden;
  display: block;
  width: 100%;
  position: relative;
}

/* aspect helpers */
.ar-wide   { aspect-ratio: 16 / 10; }
.ar-square { aspect-ratio: 1 / 1;   }
.ar-tall   { aspect-ratio: 4 / 5;   }
.ar-video  { aspect-ratio: 16 / 9;  }

.card-cover-fill {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 700ms ease;
}

/* scale on card hover */
.bento-card:hover .card-cover-fill { transform: scale(1.05); }

/* Thumbnail images inside card covers */
.card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 700ms ease;
  border-radius: inherit;
}
.card-thumb-contain {
  object-fit: contain;
}
.bento-card:hover .card-thumb { transform: scale(1.05); }

/* gradient palettes */
.grad-connie     { background: linear-gradient(140deg, #6b3a7a 0%, #a06cbf 40%, #d4a8f0 100%); }
.grad-aimarket   { background: linear-gradient(140deg, #0f2b46 0%, #1a5276 40%, #4a90c4 80%, #7ec8e3 100%); }
.grad-transit    { background: linear-gradient(140deg, #20453f 0%, #3a7d70 55%, #7bbfb5 100%); }
.grad-shopdeal   { background: linear-gradient(140deg, #d96c3f 0%, #f0a870 55%, #f7d8b8 100%); }
.grad-driveon    { background: linear-gradient(140deg, #1c1c2e 0%, #3a3a5c 40%, #6a6a8a 80%, #9a9ab4 100%); }

/* Lock badge on protected card covers */
.lock-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  font-size: 0.85rem;
  z-index: 2;
  pointer-events: none;
}

/* decorative shapes inside covers */
.card-cover-fill::before,
.card-cover-fill::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.card-cover-fill::after {
  bottom: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.1);
}

.card-cover-fill::before {
  top: -3rem;
  left: -3rem;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 255, 255, 0.06);
}

/* Per-project cover decorations for more distinct thumbnails */
.grad-connie::after   { width: 12rem; height: 12rem; bottom: -4rem; right: 10%; background: rgba(255,255,255,0.12); }
.grad-connie::before  { width: 6rem; height: 6rem; top: 15%; left: auto; right: -1.5rem; background: rgba(255,255,255,0.08); border-radius: 24%; }

/* ── Confyx banner thumbnail — exact hero replica ── */
.connie-banner-thumb {
  background:
    radial-gradient(ellipse 80% 60% at 25% 20%, rgba(6,91,170,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 75% 80%, rgba(220,120,170,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 40%, rgba(160,108,191,0.08) 0%, transparent 50%),
    linear-gradient(155deg, #cce0f5 0%, #d5d0f0 25%, #e8c5e0 50%, #f4d2d2 72%, #fbe4d5 100%);
  position: absolute; inset: 0;
  overflow: hidden;
}
/* Orbs */
.cbt-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cbt-orb--1 { width: 35%; height: 50%; background: rgba(6,91,170,0.07); filter: blur(50px); top: -10%; left: 2%; }
.cbt-orb--2 { width: 28%; height: 40%; background: rgba(220,140,190,0.1); filter: blur(40px); bottom: -5%; right: 5%; }

/* Overlay */
.cbt-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,28,0.85) 0%, rgba(8,12,28,0.4) 25%, transparent 50%);
  pointer-events: none; z-index: 4;
}

/* Devices container */
.cbt-devices {
  position: absolute;
  bottom: 28%; left: 50%;
  transform: translateX(-46%);
  display: flex; align-items: flex-end;
  z-index: 2; perspective: 800px;
}

/* Laptop */
.cbt-laptop { position: relative; z-index: 3; transform: rotateY(-2deg); transition: transform 600ms cubic-bezier(0.22,1,0.36,1); }
.bento-card:hover .cbt-laptop { transform: rotateY(0) translateY(-4px); }
.cbt-laptop-screen {
  width: 280px;
  background: #0a0a0a;
  border-radius: 6px 6px 0 0;
  padding: 5px 5px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cbt-laptop-screen img {
  width: 100%; aspect-ratio: 16/10; display: block;
  border-radius: 3px 3px 0 0; object-fit: cover; object-position: top center;
}
.cbt-laptop-hinge {
  width: 290px; height: 2px;
  background: linear-gradient(to right, #3a3a3a, #555, #3a3a3a);
  margin: 0 auto;
}
.cbt-laptop-base {
  width: 306px; height: 9px;
  background: linear-gradient(to bottom, #bbb, #999);
  border-radius: 0 0 6px 6px;
  margin: 0 auto; position: relative;
}
.cbt-laptop-base::before {
  content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 3px; background: #888; border-radius: 2px;
}

/* Tablet */
.cbt-tablet {
  position: relative; z-index: 2;
  margin-left: -28px; margin-bottom: 14px;
  transform: rotateY(-3deg); transition: transform 600ms cubic-bezier(0.22,1,0.36,1);
}
.bento-card:hover .cbt-tablet { transform: rotateY(-1deg) translateY(-3px); }
.cbt-tablet img {
  width: 120px; aspect-ratio: 4/3; display: block;
  border-radius: 7px; background: #0a0a0a; padding: 3px;
  object-fit: cover; object-position: top center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Phone */
.cbt-phone {
  position: relative; z-index: 4;
  margin-left: -14px; margin-bottom: 22px;
  transform: rotateY(-2deg); transition: transform 600ms cubic-bezier(0.22,1,0.36,1);
}
.bento-card:hover .cbt-phone { transform: rotateY(0) translateY(-5px); }
.cbt-phone img {
  width: 50px; display: block;
  border-radius: 8px; background: #0a0a0a; padding: 2px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Text overlay */
.cbt-text {
  position: absolute; bottom: 0; left: 0;
  padding: 1rem 1.25rem; z-index: 5;
}
.cbt-tag {
  font-size: 0.45rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.3rem;
}
.cbt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem; font-weight: 700;
  color: #fff; line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Responsive thumbnail */
@media (max-width: 768px) {
  .cbt-laptop-screen { width: 200px; }
  .cbt-laptop-hinge { width: 208px; }
  .cbt-laptop-base { width: 220px; height: 7px; }
  .cbt-tablet img { width: 90px; }
  .cbt-phone img { width: 38px; }
  .cbt-title { font-size: 0.95rem; }
}

/* ══ Transit banner thumbnail — tall card (4:5) ══ */
.transit-banner-thumb {
  background:
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(210,190,160,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 70% 75%, rgba(180,140,100,0.12) 0%, transparent 50%),
    linear-gradient(155deg, #f5efe6 0%, #e8ddd0 25%, #d9c9b4 50%, #c4a882 75%, #a88a60 100%);
  position: absolute; inset: 0; overflow: hidden;
}
.tbt-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.tbt-orb--1 { width: 40%; height: 35%; background: rgba(210,180,140,0.12); filter: blur(40px); top: 5%; right: -5%; }
.tbt-orb--2 { width: 30%; height: 25%; background: rgba(255,255,255,0.08); filter: blur(30px); bottom: 20%; left: -5%; }
.tbt-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(40,28,15,0.88) 0%, rgba(40,28,15,0.4) 28%, transparent 52%);
  pointer-events: none; z-index: 3;
}
.tbt-devices {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; perspective: 800px;
}
.tbt-phone--1 {
  width: 60%;
  min-width: 200px;
  max-width: 240px;
  background: #0a0a0a;
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 600ms cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
/* Dynamic island */
.tbt-phone--1::before {
  content: ""; position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 8px; background: #0a0a0a;
  border-radius: 10px; z-index: 2;
}
/* Screen glow */
.tbt-phone--1::after {
  content: ""; position: absolute; inset: -14px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(180,150,110,0.08) 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}
.bento-card:hover .tbt-phone--1 {
  transform: rotateY(0) rotateX(0) translateY(-8px);
}
.tbt-phone--1 img {
  width: 100%; display: block;
  border-radius: 16px;
  object-fit: contain;
}
.tbt-text {
  position: absolute; bottom: 0; left: 0;
  padding: 1rem 1.25rem; z-index: 4;
}
.tbt-tag {
  font-size: 0.42rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.3rem;
}
.tbt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff; line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.tbt-sub {
  font-size: 0.65rem; color: rgba(255,255,255,0.55);
  margin-top: 0.2rem; font-weight: 500;
  letter-spacing: 0.03em;
}

/* ShopDeal card-cover: no fixed aspect ratio, fills row height set by Transit */
.sbt-cover {
  flex: 1;
  min-height: 240px;
}

/* ══ ShopDeal banner thumbnail ══ */
.shopdeal-banner-thumb {
  background:
    radial-gradient(ellipse 70% 55% at 25% 30%, rgba(217,108,63,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 75% 70%, rgba(30,60,100,0.08) 0%, transparent 50%),
    linear-gradient(155deg, #fff5ed 0%, #fde0c8 25%, #f5c49a 50%, #e8a06a 75%, #d96c3f 100%);
  position: absolute; inset: 0; overflow: hidden;
}
.sbt-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.sbt-orb--1 { width: 35%; height: 45%; background: rgba(217,108,63,0.08); filter: blur(50px); top: -10%; left: 5%; }
.sbt-orb--2 { width: 28%; height: 35%; background: rgba(30,60,100,0.06); filter: blur(35px); bottom: -5%; right: 10%; }
.sbt-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(60,25,10,0.85) 0%, rgba(60,25,10,0.38) 28%, transparent 52%);
  pointer-events: none; z-index: 3;
}
.sbt-devices {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; perspective: 800px;
}
.sbt-laptop {
  transform: rotateY(-2deg);
  transition: transform 600ms cubic-bezier(0.22,1,0.36,1);
}
.bento-card:hover .sbt-laptop {
  transform: rotateY(0) translateY(-5px);
}
.sbt-laptop-screen {
  width: 260px;
  background: #0a0a0a;
  border-radius: 6px 6px 0 0;
  padding: 5px 5px 0;
  box-shadow: 0 10px 36px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.04);
}
.sbt-laptop-screen::before {
  content: ""; position: absolute;
  top: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: #1e1e1e; z-index: 1;
}
.sbt-laptop-screen::after {
  content: ""; position: absolute; inset: -16px;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(217,108,63,0.08) 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}
.sbt-laptop-screen img {
  width: 100%; display: block;
  border-radius: 3px 3px 0 0; object-fit: cover;
  object-position: top center;
}
.sbt-laptop-hinge {
  width: 272px; height: 2px;
  background: linear-gradient(to right, #3a3a3a, #555, #3a3a3a);
  margin: 0 auto;
}
.sbt-laptop-base {
  width: 288px; height: 8px;
  background: linear-gradient(to bottom, #bbb, #999);
  border-radius: 0 0 6px 6px;
  margin: 0 auto; position: relative;
}
.sbt-laptop-base::before {
  content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 3px; background: #888; border-radius: 2px;
}
.sbt-text {
  position: absolute; bottom: 0; left: 0;
  padding: 1rem 1.25rem; z-index: 4;
}
.sbt-tag {
  font-size: 0.42rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.3rem;
}
.sbt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem; font-weight: 700;
  color: #fff; line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.sbt-sub {
  font-size: 0.62rem; color: rgba(255,255,255,0.55);
  margin-top: 0.2rem; font-weight: 500;
  letter-spacing: 0.03em;
}

/* Responsive — Transit & ShopDeal thumbs */
@media (max-width: 768px) {
  .tbt-phone--1 { min-width: 140px; max-width: 180px; border-radius: 18px; }
  .tbt-phone--1 img { border-radius: 14px; }
  .tbt-title { font-size: 1.1rem; }
  .sbt-laptop-screen { width: 55vw; max-width: 260px; }
  .sbt-laptop-hinge { width: calc(55vw + 12px); max-width: 272px; }
  .sbt-laptop-base { width: calc(55vw + 28px); max-width: 288px; height: 7px; }
  .sbt-title { font-size: 0.95rem; }
}


/* ══ DriveOn banner thumbnail — center card (16:9 video) ══ */
.driveon-banner-thumb {
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(160,120,200,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 75% 70%, rgba(180,150,220,0.1) 0%, transparent 50%),
    linear-gradient(155deg, #f3eff8 0%, #e8dfef 30%, #d6c8e4 55%, #c2aed6 80%, #a88cc4 100%);
  position: absolute; inset: 0; overflow: hidden;
}
.dobt-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.dobt-orb--1 { width: 35%; height: 40%; background: rgba(140,100,180,0.1); filter: blur(45px); top: 0; right: -5%; }
.dobt-orb--2 { width: 28%; height: 30%; background: rgba(255,255,255,0.08); filter: blur(30px); bottom: 15%; left: 5%; }
.dobt-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,20,40,0.85) 0%, rgba(30,20,40,0.35) 30%, transparent 55%);
  pointer-events: none; z-index: 3;
}
.dobt-devices {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; perspective: 800px;
  display: flex; gap: 1.5rem; align-items: center;
}
.dobt-phone {
  width: 120px;
  background: #0a0a0a;
  border-radius: 20px;
  padding: 5px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 600ms cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.dobt-phone--1 { transform: rotateY(8deg) rotateX(2deg) scale(0.92); }
.dobt-phone--2 { transform: rotateY(-5deg) rotateX(1deg) scale(1); }
.dobt-phone::before {
  content: ""; position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 7px; background: #0a0a0a;
  border-radius: 8px; z-index: 2;
}
.dobt-phone::after {
  content: ""; position: absolute; inset: -12px;
  border-radius: 26px;
  background: radial-gradient(ellipse at center, rgba(160,120,200,0.08) 0%, transparent 60%);
  z-index: -1; pointer-events: none;
}
.bento-card:hover .dobt-phone--1 { transform: rotateY(3deg) rotateX(0) translateY(-6px) scale(0.92); }
.bento-card:hover .dobt-phone--2 { transform: rotateY(0) rotateX(0) translateY(-8px) scale(1); }
.dobt-phone img {
  width: 100%; display: block;
  border-radius: 14px;
  object-fit: contain;
}
.dobt-text {
  position: absolute; bottom: 0; left: 0;
  padding: 1rem 1.25rem; z-index: 4;
}
.dobt-tag {
  font-size: 0.42rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.3rem;
}
.dobt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem; font-weight: 700;
  color: #fff; line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.dobt-sub {
  font-size: 0.62rem; color: rgba(255,255,255,0.55);
  margin-top: 0.2rem; font-weight: 500;
  letter-spacing: 0.03em;
}
@media (max-width: 768px) {
  .dobt-phone { width: 90px; border-radius: 16px; }
  .dobt-phone img { border-radius: 12px; }
  .dobt-title { font-size: 1rem; }
}

.grad-aimarket::after   { width: 14rem; height: 14rem; bottom: -6rem; right: -4rem; background: rgba(122,236,255,0.08); }
.grad-aimarket::before  { width: 5rem; height: 5rem; top: 1.5rem; left: 1.5rem; background: rgba(255,255,255,0.1); border-radius: 14px; }

/* ══ AI Workforce Platform banner thumbnail — square card (1:1) ══ */
.aim-banner-thumb {
  background:
    radial-gradient(ellipse 70% 55% at 30% 25%, rgba(74,144,196,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 70% 75%, rgba(126,200,227,0.12) 0%, transparent 50%),
    linear-gradient(155deg, #0a1e36 0%, #0f2b46 25%, #1a5276 50%, #4a90c4 75%, #7ec8e3 100%);
  position: absolute; inset: 0; overflow: hidden;
}
.aibt-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.aibt-orb--1 { width: 35%; height: 45%; background: rgba(74,144,196,0.1); filter: blur(50px); top: -10%; left: 5%; }
.aibt-orb--2 { width: 28%; height: 35%; background: rgba(126,200,227,0.08); filter: blur(35px); bottom: -5%; right: 10%; }
.aibt-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,18,34,0.85) 0%, rgba(6,18,34,0.35) 30%, transparent 55%);
  pointer-events: none; z-index: 3;
}
.aibt-devices {
  position: absolute;
  bottom: 28%; left: 50%;
  transform: translateX(-50%);
  z-index: 2; perspective: 800px;
}
.aibt-laptop {
  transform: rotateY(-2deg);
  transition: transform 600ms cubic-bezier(0.22,1,0.36,1);
}
.bento-card:hover .aibt-laptop {
  transform: rotateY(0) translateY(-5px);
}
.aibt-laptop-screen {
  width: 220px;
  background: #0a0a0a;
  border-radius: 5px 5px 0 0;
  padding: 4px 4px 0;
  box-shadow: 0 10px 36px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.04);
}
.aibt-laptop-screen img {
  width: 100%; display: block;
  border-radius: 2px 2px 0 0; object-fit: cover;
  object-position: top center;
}
.aibt-laptop-hinge {
  width: 230px; height: 2px;
  background: linear-gradient(to right, #3a3a3a, #555, #3a3a3a);
  margin: 0 auto;
}
.aibt-laptop-base {
  width: 246px; height: 7px;
  background: linear-gradient(to bottom, #bbb, #999);
  border-radius: 0 0 5px 5px;
  margin: 0 auto; position: relative;
}
.aibt-laptop-base::before {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; background: #888; border-radius: 2px;
}
.aibt-text {
  position: absolute; bottom: 0; left: 0;
  padding: 0.85rem 1rem; z-index: 4;
}
.aibt-tag {
  font-size: 0.38rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.25rem;
}
.aibt-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem; font-weight: 700;
  color: #fff; line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.aibt-sub {
  font-size: 0.55rem; color: rgba(255,255,255,0.5);
  margin-top: 0.15rem; font-weight: 500;
  letter-spacing: 0.03em;
}

/* Responsive — AI Marketplace thumb */
@media (max-width: 768px) {
  .aibt-laptop-screen { width: 55vw; max-width: 220px; }
  .aibt-laptop-hinge { width: calc(55vw + 10px); max-width: 230px; }
  .aibt-laptop-base { width: calc(55vw + 26px); max-width: 246px; height: 6px; }
  .aibt-title { font-size: 0.9rem; }
}

.grad-driveon::after  { width: 16rem; height: 6rem; bottom: -1rem; right: -2rem; border-radius: 999px; background: rgba(255,255,255,0.06); }
.grad-driveon::before { width: 4rem; height: 4rem; top: 1rem; left: 2rem; border-radius: 50%; background: rgba(255,255,255,0.1); }

/* Card info row */
.card-info {
  padding: 1.35rem 1.6rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background-color 300ms;
}

.bento-card:hover .card-info { background: var(--surface-hover); }

.card-tag {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.card-arrow {
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 300ms ease;
}

.bento-card:hover .card-arrow { transform: translateX(5px); }

/* ─────────────────────────────────────────────
   PROJECTS PAGE — full-detail cards
   Keeps category, title, description & link
   ───────────────────────────────────────────── */
.card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.card-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-pill {
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.7);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-body h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.card-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.83rem;
  font-weight: 700;
  transition: background-color 200ms, transform 200ms;
}

.card-link:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.card-link[aria-disabled="true"] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.card-link-lock {
  opacity: 0.6;
  cursor: default;
  font-size: 0.8rem;
}

/* ─────────────────────────────────────────────
   PASSWORD MODAL
   ───────────────────────────────────────────── */
.pw-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(28, 25, 23, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.pw-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pw-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem;
  max-width: 400px;
  width: 90vw;
  text-align: center;
  box-shadow: 0 32px 80px rgba(76, 60, 38, 0.2);
  transform: translateY(16px) scale(0.97);
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.pw-overlay.is-open .pw-modal {
  transform: translateY(0) scale(1);
}

.pw-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 180ms;
}

.pw-close:hover { color: var(--text); }

.pw-lock {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.pw-modal h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pw-modal p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pw-input {
  display: block;
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(246, 241, 232, 0.6);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
  margin-bottom: 0.5rem;
}

.pw-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 108, 63, 0.15);
}

.pw-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-bottom: 1rem;
  display: none;
}

.pw-error.is-visible { display: block; }

.pw-submit {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ─────────────────────────────────────────────
   QUOTE SECTION
   ───────────────────────────────────────────── */
.quote-divider {
  width: 2.5rem;
  height: 3px;
  background: var(--accent-soft);
  border-radius: 999px;
  margin: 5rem auto;
}

.quote-section {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 2rem;
}

.quote-section blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--muted);
}

.quote-section blockquote strong {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   PROJECTS PAGE HEADER
   ───────────────────────────────────────────── */
.projects-header {
  padding: 4.5rem 0 3.5rem;
}

.projects-header .page-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.projects-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 40rem;
}

/* ─────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────── */
.about-hero {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.68fr);
  gap: 4.5rem;
  align-items: center;
}

.about-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.about-headline .accent      { color: var(--accent); }
.about-headline .accent-deep { color: var(--accent-deep); }

.about-bio {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 34rem;
}

.about-bio + .about-bio { margin-top: 1rem; }

.portrait-wrap { position: relative; }

.portrait-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 24px 60px rgba(76, 60, 38, 0.14);
}

.portrait-deco {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.3;
  filter: blur(28px);
  pointer-events: none;
}

/* ── Philosophy + Expertise bento ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.52fr);
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.surface-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.philo-card { padding: 2.25rem 2.5rem; }

.philo-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.philo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(217, 108, 63, 0.1);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.philo-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.philo-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.philo-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

/* Expertise card */
.expertise-card {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.expertise-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  transition: background-color 180ms;
}

.skill-pill:hover { background: rgba(217, 108, 63, 0.08); }

.skill-pill-accent {
  background: var(--accent-deep);
  color: #fff;
  border-color: transparent;
  transition: background-color 180ms, transform 180ms;
}

.skill-pill-accent:hover {
  background: #2a5a52;
  transform: translateY(-1px);
}

/* Skills section (research, process) */
.skills-section {
  margin-bottom: 1.1rem;
}

.skills-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.skills-block-card {
  padding: 1.75rem 2rem;
}

.skills-block-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ── Experience timeline ── */
.experience-section {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  padding: 3.5rem 0 2rem;
}

.experience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.experience-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.experience-bar {
  height: 3px;
  width: 5rem;
  background: var(--accent);
  border-radius: 999px;
  flex-shrink: 0;
}

.experience-list {
  display: flex;
  flex-direction: column;
}

.experience-item {
  display: flex;
  flex-direction: column;
}

.exp-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 2rem;
}

.exp-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.exp-date {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.4rem;
  white-space: nowrap;
}

.exp-body h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.exp-body h3 .accent { color: var(--accent); }

.exp-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 36rem;
}

@media (max-width: 640px) {
  .exp-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-bottom: 2rem;
  }
  .experience-header { margin-bottom: 2.5rem; }
}

/* Strengths list card */
.strengths-card { padding: 2rem 2.25rem; margin-bottom: 1.1rem; }

.strengths-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.detail-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.detail-list li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.9rem;
  color: var(--text);
}

/* ─────────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────────── */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 1.1rem;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -5rem; right: -5rem;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.2;
  filter: blur(50px);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -5rem; left: -5rem;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: rgba(32, 69, 63, 0.1);
  filter: blur(50px);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.cta-banner-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.about-cta {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.about-cta-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 32rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-deep);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  transition: transform 200ms, box-shadow 200ms;
}

.cta-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 32px rgba(32, 69, 63, 0.25);
}

/* ─────────────────────────────────────────────
   CONTACT PAGE
   ───────────────────────────────────────────── */
.contact-hero {
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.75fr);
  gap: 4rem;
  align-items: start;
}

.contact-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.contact-headline .accent-italic {
  color: var(--accent);
  font-style: italic;
}

.contact-sub {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 2.5rem;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}

.info-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.contact-links-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color 200ms, transform 200ms;
}

.contact-link-row:hover {
  background: rgba(217, 108, 63, 0.05);
  transform: translateX(3px);
}

.link-arrow { color: var(--accent); font-size: 0.9rem; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.site-footer {
  background: rgba(66, 52, 37, 0.04);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.footer-copy {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 180ms;
}

.footer-links a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────
   PROJECT DETAIL PAGE
   ───────────────────────────────────────────── */

/* Hero */
.proj-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4rem;
}

.proj-hero-fill {
  width: 100%;
  height: 100%;
}

.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.6), transparent 60%);
}

.proj-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2.5rem 3rem;
  max-width: 42rem;
}

.proj-hero-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.proj-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* Overview row */
.nda-note {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(248,244,239,0.92) 100%);
  box-shadow: var(--shadow-card);
}

.nda-note-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.nda-note p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

.nda-note strong {
  color: var(--text);
}

.proj-overview {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.proj-overview-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.proj-overview-text {
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
}

.proj-overview-text strong {
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}

.proj-meta {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.proj-meta-item {
  border-left: 3px solid var(--accent-soft);
  padding-left: 1.25rem;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

.proj-meta-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.proj-meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* Challenge / Solution sections */
.proj-section-alt {
  background: var(--surface);
  border-radius: 2rem;
  padding: 5rem 0;
  margin: 0 -2.5rem 5rem;
}

.proj-section-alt-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.proj-cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.proj-cs-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.proj-cs-img-fill {
  width: 100%;
  height: 100%;
  filter: grayscale(0.3);
  opacity: 0.8;
  transition: filter 500ms, opacity 500ms;
}

.proj-cs-img:hover .proj-cs-img-fill {
  filter: grayscale(0);
  opacity: 1;
}

.proj-cs-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.proj-cs-bar {
  height: 3px;
  width: 4rem;
  background: var(--accent);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.proj-cs-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Solution feature list */
.proj-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.proj-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.proj-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(217, 108, 63, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
}

.proj-feature-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.proj-feature-item p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Key Features bento */
.proj-features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.proj-features-header .proj-overview-label { margin-bottom: 0.5rem; }

.proj-features-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.proj-features-aside {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 18rem;
  text-align: right;
  line-height: 1.6;
}

.proj-feat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
  margin-bottom: 5rem;
}

.pf-8  { grid-column: span 8; }
.pf-4  { grid-column: span 4; }

.proj-feat-card {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 22rem;
  position: relative;
}

.proj-feat-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.proj-feat-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 24rem;
}

.pf-light {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.pf-light p { color: var(--muted); }

.pf-dark {
  background: var(--text);
  color: #fff;
}
.pf-dark p { color: rgba(255,255,255,0.65); }

.pf-accent {
  background: var(--accent-soft);
  color: var(--text);
}
.pf-accent p { color: rgba(28,25,23,0.7); }

.pf-icon {
  font-size: 2rem;
  margin-bottom: auto;
}

/* Results gallery */
.proj-results-section {
  background: var(--surface);
  border-radius: 2rem;
  padding: 5rem 0;
  margin: 0 -2.5rem 5rem;
}

.proj-results-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.proj-results-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.proj-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.proj-gallery-wide {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(76, 60, 38, 0.12);
}

.proj-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.proj-gallery-square {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(76, 60, 38, 0.08);
}

/* Next project CTA */
.proj-next {
  padding: 6rem 0;
  text-align: center;
}

.proj-next-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.proj-next-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  transition: color 300ms;
  display: inline-block;
}

.proj-next-name:hover { color: var(--accent); }

/* Responsive for project detail */
@media (max-width: 960px) {
  .proj-overview  { grid-template-columns: 1fr; gap: 2rem; }
  .proj-cs-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .proj-section-alt { margin: 0 -1.5rem 4rem; padding: 3.5rem 0; }
  .proj-results-section { margin: 0 -1.5rem 4rem; }
  .proj-feat-grid { grid-template-columns: 1fr 1fr; }
  .pf-8, .pf-4    { grid-column: span 2; }
  .proj-gallery-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .proj-hero { aspect-ratio: 16 / 10; }
  .proj-hero-content { padding: 1.5rem; }
  .proj-section-alt { margin: 0 -1rem 3rem; border-radius: 1.25rem; }
  .proj-results-section { margin: 0 -1rem 3rem; border-radius: 1.25rem; }
  .proj-feat-grid { grid-template-columns: 1fr; }
  .pf-8, .pf-4 { grid-column: span 1; }
  .proj-feat-card { min-height: 16rem; }
  .proj-features-header { flex-direction: column; align-items: flex-start; }
  .proj-features-aside { text-align: left; }
}

/* ─────────────────────────────────────────────
   FOCUS-VISIBLE (keyboard accessibility)
   ───────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.bento-card:focus-visible {
  outline-offset: 4px;
  border-radius: var(--radius);
}

.nav-cta:focus-visible,
.cta-btn:focus-visible,
.nav-toggle:focus-visible {
  outline-offset: 3px;
  border-radius: 999px;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-inner  { padding: 1rem 1.5rem; }
  .page-main  { padding: 0 1.5rem 5rem; }

  /* Collapse bento to 2 cols */
  .bento { grid-template-columns: 1fr 1fr; }
  .b-8, .b-7, .b-6, .b-5, .b-4 { grid-column: span 2; }
  .b-12, .b-center              { grid-column: span 2; }
  .b-down, .b-up, .b-mt         { margin-top: 0; }

  .about-hero         { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy-grid    { grid-template-columns: 1fr; }
  .philo-two-col      { gap: 1.5rem; }
  .skills-row         { grid-template-columns: 1fr; }
  .contact-hero       { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner       { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-links       { flex-wrap: wrap; gap: 1.25rem 2rem; }
}

@media (max-width: 640px) {
  .page-main { padding: 0 1rem 4rem; }
  .site-nav  { display: none; }
  .nav-cta   { display: none; }
  .nav-inner { padding: 1rem; }
  .nav-toggle { display: block; }

  .bento     { grid-template-columns: 1fr; }
  .b-8, .b-7, .b-6, .b-5, .b-4, .b-12, .b-center { grid-column: span 1; }

  .philo-two-col   { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: clamp(2.8rem, 10vw, 3.6rem); }
  .about-headline { font-size: clamp(2.4rem, 8vw, 3rem); }
  .contact-headline { font-size: clamp(2.4rem, 8vw, 3rem); }
  .projects-header h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .cta-banner { padding: 3rem 1.5rem; }

  .contact-info-card { margin-top: 0; }
  .footer-inner      { padding: 2rem 1rem; }
  .footer-links      { flex-wrap: wrap; gap: 1rem 1.5rem; }
}

/* ─────────────────────────────────────────────
   "WHAT KEEPS ME GOING" — feedback section
   ───────────────────────────────────────────── */
.wkmg {
  padding: 3rem 0 2rem;
  max-width: var(--container);
  margin: 0 auto;
}
.wkmg-label {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.3rem;
}
.wkmg-label .accent-italic {
  color: var(--accent);
  font-style: italic;
}
.wkmg-sub {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.wkmg-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1rem 1.5rem;
  scrollbar-width: none;
}
.wkmg-track::-webkit-scrollbar { display: none; }

.wkmg-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.wkmg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.wkmg-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--line);
  transform-origin: center top;
  transition: transform 320ms ease;
}
.wkmg-card:hover img,
.wkmg-card:focus-within img {
  transform: scale(1.14);
}
.wkmg-card-body {
  padding: 1rem 1.15rem;
}
.wkmg-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.wkmg-who {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Compact variant for homepage */
.wkmg--compact { padding: 2rem 0 1rem; }
.wkmg--compact .wkmg-card { flex: 0 0 240px; }
.wkmg--compact .wkmg-card-body { padding: 0.75rem 1rem; }
.wkmg--compact .wkmg-quote { font-size: 0.9rem; }

@media (max-width: 640px) {
  .wkmg-card { flex: 0 0 240px; }
  .wkmg--compact .wkmg-card { flex: 0 0 210px; }
}
