
:root {
  --blue-900: #0b1f3a;
  --blue-800: #0d2b52;
  --blue-700: #0e3a6e;
  --blue-600: #1251a3;
  --blue-500: #1a6ed8;
  --blue-400: #3b8bef;
  --blue-300: #7ab4f5;
  --blue-100: #ddeeff;
  --blue-50:  #f0f7ff;
  --text:     #0b1f3a;
  --muted:    #4a6080;
  --line:     rgba(18,81,163,0.15);
  --surface:  rgba(255,255,255,0.88);
  --shadow:   0 8px 32px rgba(11,31,58,0.12);
  --radius:   1rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--blue-50) 0%, #ffffff 40%, var(--blue-50) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 100;
  width: min(1160px, 94vw);
  margin: 1rem auto 0;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(18,81,163,0.08);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-600);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.main-nav { display: flex; gap: 1rem; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 200ms;
}
.main-nav a:hover { color: var(--blue-600); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #fff;
  box-shadow: 0 6px 20px rgba(18,81,163,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(18,81,163,0.45); }
.btn-outline {
  border-color: var(--blue-400);
  color: var(--blue-600);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-50); }

/* ── LAYOUT ── */
.section {
  width: min(1160px, 94vw);
  margin: 0 auto;
}

.section-head { max-width: 68ch; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); margin-top: 0.5rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 0.6rem;
}

h1, h2, h3 { line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 800; }

/* ── HERO ── */
.hero { padding-top: 6rem; }
.hero-text { max-width: 780px; }

.badge {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.accent { color: var(--blue-500); }

.hero-copy { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta a {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 600;
}

.hero-meta a:hover {
  text-decoration: underline;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow);
}
.stats strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue-600); }
.stats span { color: var(--muted); font-size: 0.85rem; }

/* ── PROJECTS ── */
.project-block {
  margin-bottom: 5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-intro {
  padding: 2.5rem 2.5rem 2rem;
  border-bottom: 1px solid var(--line);
}
.project-intro h3 { margin: 0.4rem 0 0.9rem; }
.project-intro p { color: var(--muted); max-width: 68ch; margin-bottom: 1rem; }

.project-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
}

.project-showcase-copy {
  border-right: 1px solid rgba(18, 81, 163, 0.1);
  border-bottom: none;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.92));
}

.project-showcase-copy h3 {
  max-width: 12ch;
  font-size: clamp(1.9rem, 2.3vw, 2.45rem);
  letter-spacing: -0.03em;
}

.project-showcase-copy > p {
  max-width: 38ch;
  font-size: 0.96rem;
}

.project-showcase-media {
  padding: 2.1rem 2rem 1.8rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(122, 180, 245, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 255, 0.92));
}

.showcase-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.15rem;
}

.showcase-group-head h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue-900);
}

.showcase-kicker {
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.metric-pill {
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(18, 81, 163, 0.14);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.08);
}

.metric-pill:last-child {
  grid-column: 1 / -1;
}

.metric-pill strong {
  display: block;
  color: var(--blue-700);
  font-size: 0.98rem;
  font-weight: 800;
}

.metric-pill span {
  color: var(--muted);
  font-size: 0.78rem;
}

.showcase-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-card,
.shot-card {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(18, 81, 163, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.09);
}

.media-card video,
.shot-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.media-card video {
  background: linear-gradient(180deg, #09101d, #13233d);
  aspect-ratio: 9 / 15;
  object-fit: contain;
}

.media-card figcaption {
  padding: 0.7rem 0.85rem 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.showcase-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.shot-card {
  min-height: 220px;
  padding: 0.85rem;
  background: linear-gradient(180deg, #f8fbff, #eaf3ff);
}

.shot-card img {
  object-fit: contain;
  border-radius: 0.9rem;
  background: #fff;
}

.shot-card-tall,
.shot-card-wide {
  min-height: 250px;
}

.project-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.project-highlights li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  max-width: 38ch;
}
.project-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
}

.two-col-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.muted-line {
  color: var(--blue-600) !important;
  font-weight: 600;
  margin-bottom: 0.5rem !important;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  border: 1px solid var(--blue-300);
  color: var(--blue-700);
  background: var(--blue-50);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.project-showcase .tag-row {
  margin-top: 1.25rem;
}

/* ── PORTFOLIO BOARD ── */
/* ── PORTFOLIO BOARD ── */
.portfolio-board {
  background: #13161e;
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 28px 50px rgba(5, 12, 30, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.board-row {
  margin-bottom: 0.85rem;
  background: #0d1018;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.board-row:last-child {
  margin-bottom: 0;
}

.board-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: #090c13;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.board-row-header h3 {
  color: #c8d2e8;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.board-row-header .row-icon {
  font-size: 0.78rem;
}

.board-row-header p {
  color: #505870;
  font-size: 0.7rem;
  font-weight: 600;
}

.board-row-grid {
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
}

/* ── Cards ── */
.board-card {
  cursor: zoom-in;
  flex: none;
  border: none;
  background: none;
  padding: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.board-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.08);
}

/* ── Blue cell background (like Figma reference) ── */
.board-cell {
  background: linear-gradient(145deg, #b5c9ed, #c4d5f2);
  border-radius: 12px;
  padding: 14px 11px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ── iPhone frame ── */
.device-mock.mobile {
  position: relative;
  background: #111216;
  border-radius: 20px;
  padding: 10px 5px 8px;
  border: 1.5px solid #2c2f3a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 30px rgba(0, 0, 0, 0.7),
    0 2px 6px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* Dynamic island */
.device-mock.mobile::before {
  content: "";
  display: block;
  width: 26px;
  height: 7px;
  background: #070809;
  border-radius: 5px;
  flex-shrink: 0;
}

.device-mock.mobile img {
  display: block;
  width: 82px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 13px;
}

/* ── Browser / desktop frame ── */
.device-mock.desktop {
  background: #12151e;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #262a38;
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.65),
    0 2px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

/* Browser chrome bar */
.device-mock.desktop::before {
  content: "● ● ●";
  display: block;
  height: 18px;
  line-height: 18px;
  padding: 0 8px;
  font-size: 5px;
  letter-spacing: 2.5px;
  color: #3a4055;
  background: #0e1018;
  border-bottom: 1px solid #1e2232;
  flex-shrink: 0;
}

.device-mock.desktop img {
  display: block;
  width: 158px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── ABOUT ── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.about-content, .about-process {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.about-content h2 { margin: 0.5rem 0 1rem; }
.about-content p { color: var(--muted); margin-bottom: 1rem; }

.process-list { list-style: none; display: grid; gap: 1.2rem; margin-top: 1rem; }
.process-list li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  min-width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.process-list strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.process-list p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ── SKILLS ── */
.skills-section .section-head { margin-bottom: 2rem; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 200ms;
}
.skill-card:hover { transform: translateY(-4px); }
.skill-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.skill-card h4 { font-weight: 700; margin-bottom: 0.4rem; font-size: 1rem; }
.skill-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

.tools-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tool-badge {
  background: var(--blue-600);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── PROJECTS SHOWCASE ── */
.projects-showcase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.projects-filter-tabs {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--line);
}

.filter-tab-btn {
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms ease;
}

.filter-tab-btn:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 300ms ease;
  animation: fadeIn 400ms ease forwards;
  opacity: 0;
}

.project-card.visible {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(18, 81, 163, 0.18);
}

.project-card-header {
  padding: 2.5rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.5), rgba(255, 255, 255, 0.5));
}

.project-card-title-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.project-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.project-card-header h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.project-desc {
  color: var(--muted);
  max-width: 65ch;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-card-stats {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2.5rem;
  background: rgba(240, 247, 255, 0.4);
  border-bottom: 1px solid var(--line);
}

.stat-mini {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-mini strong {
  font-size: 1.1rem;
  color: var(--blue-600);
  font-weight: 800;
}

.stat-mini span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.project-card-demo {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

.project-card-demo h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-500);
  margin-bottom: 1rem;
  font-weight: 800;
}

.project-card-demo figure {
  margin: 0;
}

.project-card-demo video {
  width: 100%;
  background: linear-gradient(180deg, #09101d, #13233d);
  border-radius: 1.25rem;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.project-card-demo figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
  font-weight: 500;
}

.project-card-gallery {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

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

.gallery-header h4 {
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
}

.screen-count {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--blue-50);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  align-items: start;
}

.gallery-thumbnail {
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 200ms ease;
  cursor: pointer;
}

.gallery-thumbnail:hover {
  transform: translateY(-6px) scale(1.02);
}

.gallery-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(6,16,30,0.22));
}

.gallery-thumbnail:hover img {
  filter: drop-shadow(0 16px 40px rgba(18,81,163,0.30));
}

.gallery-thumbnail figcaption {
  padding: 0.5rem 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.5rem 2.5rem;
  background: rgba(240, 247, 255, 0.3);
}

.tag-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── CONTACT ── */
.contact-section {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
  border-radius: 2rem;
  overflow: hidden;
  padding: 0;
  margin-bottom: 4rem;
}
.contact-inner {
  padding: 4rem 3rem;
  color: #fff;
}
.contact-inner .eyebrow { color: var(--blue-300); }
.contact-inner h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin: 0.5rem 0 1rem; }
.contact-inner p { color: rgba(255,255,255,0.75); max-width: 56ch; margin-bottom: 2rem; font-size: 1.05rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-actions .btn-primary { background: #fff; color: var(--blue-700); box-shadow: none; }
.contact-actions .btn-primary:hover { background: var(--blue-50); }
.contact-actions .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.contact-actions .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ── FOOTER ── */
.site-footer {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,31,58,0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: 90vw; max-height: 90vh; text-align: center; }
.lb-figure img { max-width: 100%; max-height: 80vh; border-radius: 0.75rem; display: block; }
.lb-figure figcaption { color: rgba(255,255,255,0.75); margin-top: 0.75rem; font-size: 0.9rem; }
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 1.5rem; right: 1.5rem; font-size: 1.8rem; }
.lb-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-section { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .device-mock.mobile img { width: 68px; }
  .device-mock.desktop img { width: 130px; }
  .project-showcase {
    grid-template-columns: 1fr;
  }
  .project-showcase-copy {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .project-showcase-copy h3,
  .project-showcase-copy > p,
  .project-highlights li {
    max-width: none;
  }
  .showcase-video-grid {
    grid-template-columns: 1fr;
  }
  .showcase-shot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card-header {
    padding: 2rem 1.5rem;
  }
  .project-card-title-block {
    gap: 1rem;
  }
  .project-icon {
    font-size: 2rem;
  }
  .project-card-header h3 {
    font-size: 1.4rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
@media (max-width: 600px) {
  .site-header { border-radius: 1rem; flex-wrap: wrap; justify-content: center; }
  .main-nav { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .project-intro { padding: 1.5rem; }
  .project-showcase-media { padding: 1.25rem; }
  .showcase-group-head {
    flex-direction: column;
    align-items: start;
  }
  .showcase-metrics {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .metric-pill:last-child {
    grid-column: auto;
  }
  .showcase-shot-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .shot-card-tall,
  .shot-card-wide {
    grid-column: auto;
    grid-row: auto;
  }
  .shot-card { min-height: 220px; }
  .projects-filter-tabs {
    gap: 0.5rem;
  }
  .filter-tab-btn {
    padding: 0.6rem 0.95rem;
    font-size: 0.8rem;
  }
  .project-card-header {
    padding: 1.5rem;
  }
  .project-card-title-block {
    flex-direction: column;
    gap: 0.75rem;
  }
  .project-icon {
    font-size: 1.8rem;
  }
  .project-card-header h3 {
    font-size: 1.2rem;
  }
  .project-desc {
    font-size: 0.9rem;
  }
  .project-card-stats {
    padding: 1.25rem 1.5rem;
    gap: 1.5rem;
  }
  .project-card-demo {
    padding: 1.5rem;
  }
  .project-card-demo video {
    border-radius: 0.9rem;
  }
  .project-card-gallery {
    padding: 1.5rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
  }
  .gallery-thumbnail img {
    width: 100%;
    height: auto;
  }
  .project-card-tags {
    padding: 1.25rem 1.5rem;
  }
  .portfolio-board { padding: 0.6rem; }
  .board-row-grid { padding: 0.5rem; gap: 0.4rem; }
  .board-cell { padding: 10px 8px; border-radius: 9px; }
  .device-mock.mobile img { width: 58px; }
  .device-mock.mobile { border-radius: 15px; }
  .device-mock.desktop img { width: 110px; }
  .contact-inner { padding: 2.5rem 1.5rem; }
}
