/* ===========================
   CAMPDESIGN — REDESIGN v2
   Kevin Mann Portfolio
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow+Semi+Condensed:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Bitter:wght@400;700;900&family=Red+Hat+Display:wght@400;500;700;900&display=swap');

:root {
  --tangerine: #eba54c;
  --tangerine-dim: rgba(235,165,76,0.15);
  --teal: #189685;
  --teal-dim: rgba(24,150,133,0.15);
  --navy: #0a0e14;
  --navy-2: #111820;
  --navy-3: #1a2332;
  --white: #ffffff;
  --off-white: #e8eaed;
  --muted: #6b7a8d;
  --border: rgba(255,255,255,0.07);
  --card-radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow Semi Condensed', sans-serif;
  background: var(--navy);
  color: var(--off-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===========================
   HEADER
   =========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.logo img {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.logo img:hover { opacity: 1; }

nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav a {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.2s;
}

nav a:hover {
  color: var(--white);
  background: var(--border);
}

nav a.active {
  color: var(--navy);
  background: var(--tangerine);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  overflow: hidden;
  z-index: 1;
}

/* Fade hero into grid below */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 340px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
  z-index: 1;
}

/* Portrait image — right side */
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--navy) 30%, rgba(10,14,20,0.5) 60%, transparent 100%),
    linear-gradient(to top, var(--navy) 0%, transparent 40%);
}

.hero-portrait {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 65%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.75;
  display: block;
}

.hero-eyebrow {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--tangerine);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--tangerine);
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(4.5rem, 11vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--tangerine);
  display: block;
}

.hero-tagline {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  max-width: 440px;
}

/* ===========================
   FILTER BAR
   =========================== */
.filter-bar {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: rgba(10,14,20,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

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

.filter-btn.active {
  color: var(--navy);
  background: var(--tangerine);
  border-color: var(--tangerine);
  box-shadow: 0 0 20px rgba(235,165,76,0.3);
}

/* ===========================
   PORTFOLIO GRID
   =========================== */
.portfolio-section {
  padding: 40px 40px 80px;
  position: relative;
  z-index: 1;
}

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

/* Featured first card spans 2 columns */
.card:first-child {
  grid-column: span 2;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  cursor: pointer;
  display: block;
}

.card:first-child .card-thumb {
  aspect-ratio: 16/9;
}

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-3);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.85);
}

.card:hover .card-thumb img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

/* Gradient overlay — always visible at bottom */
.card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,14,20,0.95) 0%,
    rgba(10,14,20,0.5) 35%,
    transparent 65%
  );
  transition: opacity 0.4s;
}

.card:hover .card-thumb::after {
  background: linear-gradient(
    to top,
    rgba(10,14,20,0.98) 0%,
    rgba(10,14,20,0.8) 50%,
    rgba(10,14,20,0.3) 100%
  );
}

/* Card overlay content — sits on top of image */
.card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(0);
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tag {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 100px;
}

.tag-campaigns    { background: rgba(24,150,133,0.25);  color: #4dd9c7; border: 1px solid rgba(24,150,133,0.4); }
.tag-design       { background: rgba(235,165,76,0.2);   color: #f0bb75; border: 1px solid rgba(235,165,76,0.4); }
.tag-generative-ai{ background: rgba(139,92,246,0.2);   color: #c4b5fd; border: 1px solid rgba(139,92,246,0.4); }
.tag-pharma       { background: rgba(239,68,68,0.15);   color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }

.card-title {
  font-family: 'Bitter', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0;
  transition: color 0.2s;
}

.card:first-child .card-title {
  font-size: 1.6rem;
}

.card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-top: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s 0.05s;
}

.card:hover .card-desc {
  max-height: 80px;
  opacity: 1;
}

/* Arrow indicator */
.card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s;
  background: rgba(10,14,20,0.6);
  backdrop-filter: blur(4px);
}

.card:hover .card-arrow {
  opacity: 1;
  transform: scale(1);
}

/* Lock overlay */
.lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,14,20,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  backdrop-filter: blur(2px);
}

.lock-overlay .lock-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}

.lock-overlay p {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* hidden by filter */
.card.hidden { display: none; }

/* Fade-in animation */
.card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   PROJECT PAGE
   =========================== */
.project-hero {
  padding: 140px 48px 64px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}

.project-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(24,150,133,0.08) 0%, transparent 70%),
    var(--navy);
  background-size: cover;
  background-position: center;
  transition: opacity 0.4s;
}


.project-hero .breadcrumb {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-hero .breadcrumb a { color: var(--tangerine); }
.project-hero .breadcrumb a:hover { text-decoration: underline; }
.project-hero .breadcrumb span { color: var(--muted); }

.project-hero h1 {
  font-family: 'Bitter', serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.project-hero .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ===========================
   PROJECT CONTENT
   =========================== */
.project-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 48px 100px;
  position: relative;
  z-index: 1;
}

.project-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(232,234,237,0.8);
  margin-bottom: 22px;
}

.project-content strong { color: var(--white); font-weight: 600; }

.project-content h2 {
  font-family: 'Bitter', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.project-content h2:first-of-type { margin-top: 24px; }

.project-content ul {
  margin: 0 0 24px 20px;
  list-style: none;
}

.project-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: rgba(232,234,237,0.75);
  padding-left: 16px;
  position: relative;
}

.project-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--tangerine);
  font-size: 0.8em;
  top: 0.1em;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(235,165,76,0.08);
  border: 1px solid rgba(235,165,76,0.25);
  border-left: 3px solid var(--tangerine);
  padding: 12px 20px;
  margin: 20px 0;
  font-size: 0.9rem;
  border-radius: 0 6px 6px 0;
  color: var(--off-white);
}

.project-body {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.project-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(232,234,237,0.8);
  margin-bottom: 22px;
}

.project-body p.credits {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.video-embed {
  margin: 32px 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-embed iframe {
  border-radius: 8px;
  display: block;
}

.project-content a.ext-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--teal);
  color: var(--white);
  border-radius: 100px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--tangerine);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(235,165,76,0.3);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 3px;
  margin: 40px 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: zoom-in;
  filter: brightness(0.9);
  transition: filter 0.3s, transform 0.3s;
}

.gallery img:hover {
  filter: brightness(1);
  transform: scale(1.01);
  z-index: 1;
  position: relative;
}

.gallery-full {
  margin-bottom: 48px;
}

.gallery-full img {
  width: 100%;
  height: auto;
}

.gallery-print {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0 48px;
}

.gallery-print img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0;
}

.gallery-icons img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.gallery-icons img:hover {
  transform: scale(1.06);
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 32px 0;
  border-radius: 6px;
}
.video-wrap video,
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ===========================
   ABOUT PAGE
   =========================== */
.about-hero {
  padding: 140px 48px 64px;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  z-index: 1;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(235,165,76,0.07) 0%, transparent 60%),
    var(--navy);
}

.about-hero .eyebrow {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tangerine);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 80px;
  position: relative;
  z-index: 1;
}

.about-photo {
  padding: 64px 48px 64px 48px;
  position: sticky;
  top: 64px;
  align-self: start;
}

.about-photo img {
  width: 100%;
  border-radius: 4px;
  filter: brightness(0.9) contrast(1.05);
}

.about-text {
  padding: 64px 48px 64px 0;
  border-left: 1px solid var(--border);
}

.about-text h2 {
  font-family: 'Bitter', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.2;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(232,234,237,0.75);
}

.about-text blockquote {
  border-left: 3px solid var(--tangerine);
  padding: 16px 24px;
  margin: 32px 0;
  font-family: 'Bitter', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--white);
  background: rgba(235,165,76,0.05);
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.social-btn:hover { transform: translateY(-2px); }
.social-btn.instagram { background: rgba(235,165,76,0.15); color: var(--tangerine); border-color: rgba(235,165,76,0.3); }
.social-btn.instagram:hover { background: var(--tangerine); color: var(--navy); }
.social-btn.linkedin  { background: rgba(0,119,181,0.15); color: #60acd8; border-color: rgba(0,119,181,0.3); }
.social-btn.linkedin:hover  { background: #0077b5; color: var(--white); }
.social-btn.calendly  { background: rgba(24,150,133,0.15); color: #4dd9c7; border-color: rgba(24,150,133,0.3); }
.social-btn.calendly:hover  { background: var(--teal); color: var(--white); }

/* ===========================
   PASSWORD PROTECTED
   =========================== */
.protected-page {
  max-width: 460px;
  margin: 80px auto;
  padding: 48px;
  text-align: center;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.protected-page .lock {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.protected-page h2 {
  font-family: 'Bitter', serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}

.protected-page p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.password-form input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.password-form input[type="password"]:focus {
  border-color: var(--tangerine);
}

.password-form .btn {
  width: 100%;
}

.password-error {
  display: none;
  color: #e05a5a;
  font-size: 0.85rem;
  margin: 0;
}

.password-error a {
  color: var(--tangerine);
}

.request-access {
  margin-top: 12px;
  font-size: 0.85rem;
}

.request-access a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.request-access a:hover {
  color: var(--tangerine);
}

/* ===========================
   FOOTER
   =========================== */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-family: 'Bitter', serif;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

footer p {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
}

footer a { color: var(--tangerine); }
footer a:hover { text-decoration: underline; }

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,8,12,0.97);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 12px 20px;
  line-height: 1;
  transition: color 0.2s;
  user-select: none;
  z-index: 1001;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--white); }
.lightbox-prev.hidden,
.lightbox-next.hidden { opacity: 0; pointer-events: none; }
.lightbox-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  align-items: center;
}
.lightbox-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.lightbox-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card:first-child { grid-column: span 2; }
  .about-content { grid-template-columns: 1fr; }
  .about-photo { position: static; padding: 48px 24px 0; }
  .about-text { padding: 32px 24px 48px; border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  header { padding: 0 20px; }
  .hero { padding: 0 24px 48px; min-height: 70vh; }
  .filter-bar { padding: 12px 20px; }
  .portfolio-section { padding: 24px 0 48px; }
  .grid { grid-template-columns: 1fr; gap: 2px; }
  .card:first-child { grid-column: span 1; }
  .project-hero, .about-hero { padding: 110px 24px 48px; }
  .project-content { padding: 40px 24px 60px; }
  footer { padding: 28px 24px; flex-direction: column; text-align: center; }
}
