@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&family=DM+Mono:wght@400;500&display=swap');

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

/* ════════════════════════════════════════════════
   ACTIVE COLOUR SCHEME — Teal & Cream (default)
   To switch, comment out this block and uncomment
   one of the alternative schemes below.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F8F5F0;
  --ink: #1A1714;
  --ink-muted: #6B6560;
  --teal: #2D6A5E;
  --teal-light: #E8F3F0;
  --teal-mid: #4D9E8E;
  --accent: #C4A882;
  --border: rgba(26,23,20,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */

/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 1 — Navy & Pearl
   Elegant academic tone; suits formal portfolios.
   Usage: comment out :root above, uncomment this.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F4F6FA;
  --ink: #131928;
  --ink-muted: #5A6480;
  --teal: #1B3A6B;
  --teal-light: #E4EAF6;
  --teal-mid: #3A64B0;
  --accent: #B8925A;
  --border: rgba(19,25,40,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 2 — Forest & Linen
   Warm, earthy, nature-inspired. More organic feel.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F9F5EE;
  --ink: #1C1A16;
  --ink-muted: #6A6250;
  --teal: #3B6B3A;
  --teal-light: #EAF2E8;
  --teal-mid: #5A9658;
  --accent: #C49A5A;
  --border: rgba(28,26,22,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 3 — Plum & Cream
   Sophisticated, standout; warm-purple academic.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F9F6F8;
  --ink: #1E1520;
  --ink-muted: #6B5870;
  --teal: #6B3480;
  --teal-light: #F1E8F6;
  --teal-mid: #9A58B8;
  --accent: #C4A060;
  --border: rgba(30,21,32,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 4 — Slate & Amber
   Modern, bold contrast; great for dark mode feel.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F5F4F2;
  --ink: #1A1C22;
  --ink-muted: #5C6070;
  --teal: #2B3A52;
  --teal-light: #E5EAF2;
  --teal-mid: #4A6080;
  --accent: #D4913A;
  --border: rgba(26,28,34,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */

/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 5 — Rose & Ivory
   Soft, warm rose tones; delicate and refined.
════════════════════════════════════════════════ */
/* :root {
  --cream: #FBF6F6;
  --ink: #201416;
  --ink-muted: #7A5860;
  --teal: #A63050;
  --teal-light: #FAE8ED;
  --teal-mid: #D4607A;
  --accent: #C4A060;
  --border: rgba(32,20,22,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 6 — Midnight & Gold
   Rich dark background with gold highlights;
   premium, editorial feel.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F7F4EE;
  --ink: #0E0F14;
  --ink-muted: #52505A;
  --teal: #1A1B2E;
  --teal-light: #E8E8F4;
  --teal-mid: #3A3D6E;
  --accent: #C9993A;
  --border: rgba(14,15,20,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 7 — Coral & Sand
   Vibrant, energetic; warm Mediterranean palette.
════════════════════════════════════════════════ */
/* :root {
  --cream: #FDF7F2;
  --ink: #231510;
  --ink-muted: #7A5C50;
  --teal: #C04830;
  --teal-light: #FAEAE6;
  --teal-mid: #E07055;
  --accent: #3A8C7C;
  --border: rgba(35,21,16,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 8 — Sage & Stone
   Muted, minimal, Nordic; calming green-grey.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F4F5F0;
  --ink: #1C1E18;
  --ink-muted: #626858;
  --teal: #4A5C40;
  --teal-light: #E8EDE4;
  --teal-mid: #728A64;
  --accent: #B0956A;
  --border: rgba(28,30,24,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 9 — Ocean & Pearl
   Deep ocean blue with pearl white; crisp and
   scientific.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F2F6FA;
  --ink: #0A1824;
  --ink-muted: #445870;
  --teal: #0A5C8C;
  --teal-light: #DFF0FA;
  --teal-mid: #2890C8;
  --accent: #D4A050;
  --border: rgba(10,24,36,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 10 — Copper & Chalk
   Industrial warmth; copper tones on chalk white.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F9F7F4;
  --ink: #1E1810;
  --ink-muted: #706050;
  --teal: #8C4A20;
  --teal-light: #F6EDE4;
  --teal-mid: #C0784A;
  --accent: #4A7A5C;
  --border: rgba(30,24,16,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 11 — Violet & Mist
   Soft lavender on misty white; creative and
   introspective.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F7F6FC;
  --ink: #18162A;
  --ink-muted: #6058A0;
  --teal: #4830A0;
  --teal-light: #ECEAF8;
  --teal-mid: #7A60C8;
  --accent: #C09050;
  --border: rgba(24,22,42,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 12 — Moss & Parchment
   Deep olive-moss on warm parchment; scholarly
   and antiquarian.
════════════════════════════════════════════════ */
/* :root {
  --cream: #F8F4E8;
  --ink: #1A1A12;
  --ink-muted: #68664A;
  --teal: #4A5A20;
  --teal-light: #EAF0D8;
  --teal-mid: #7A9040;
  --accent: #C09060;
  --border: rgba(26,26,18,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 13 — Carbon & Ice
   Near-black with icy blue accents; sharp,
   tech-focused, modern.
════════════════════════════════════════════════ */
:root {
  --cream: #F0F4F8;
  --ink: #101820;
  --ink-muted: #4A5870;
  --teal: #1C3A58;
  --teal-light: #DCE8F4;
  --teal-mid: #3878A8;
  --accent: #4623f6;
  --border: rgba(16,24,32,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}


/* ════════════════════════════════════════════════
   ALTERNATIVE SCHEME 14 — Sienna & Birch
   Warm earth tones of sienna clay on birch white;
   organic and grounded.
════════════════════════════════════════════════ */
/* :root {
  --cream: #FAF5EE;
  --ink: #221810;
  --ink-muted: #806050;
  --teal: #9A4C28;
  --teal-light: #F8EBE0;
  --teal-mid: #C87848;
  --accent: #4A8870;
  --border: rgba(34,24,16,0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
} */

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-left.visible { transform: translateX(0); }
.reveal.from-right { transform: translateX(36px); }
.reveal.from-right.visible { transform: translateX(0); }
.reveal.from-scale { transform: scale(0.90) translateY(16px); }
.reveal.from-scale.visible { transform: scale(1) translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* ── SCROLL PROGRESS ── */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid), var(--accent));
  z-index: 9999; width: 0%;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(77,158,142,0.5);
}

/* ── PARTICLE CANVAS ── */
#particle-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.5;
}
.page-wrap { position: relative; z-index: 1; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,240,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.09); }

.header-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 0 2rem; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}

/* LOGO */
.logo {
  font-family: var(--serif); font-size: 1.65rem;
  color: var(--teal);
  text-decoration: none; letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.78; }
.logo span { color: var(--teal); }

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-size: 13px; color: var(--ink-muted);
  text-decoration: none; padding: 6px 11px;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
nav a:hover, nav a.active { color: var(--teal); background: var(--teal-light); }

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 200;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(248,245,240,0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 99;
  }
  nav.open { display: flex; }
  nav a {
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: left;
  }
}

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); background: var(--cream); padding: 3rem 2rem; }
.footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 1.25rem;
}
.footer-name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: var(--ink-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: var(--ink-muted); opacity: 0.55; }

.footer-social { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 16px;
  transition: border-color 0.2s, background 0.2s, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
}
.footer-social a:hover {
  background: var(--teal-light); border-color: var(--teal-mid);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(45,106,94,0.18);
}
.footer-social a img { width: 18px; height: 18px; object-fit: contain; }

/* ── LAYOUT ── */
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.35; }

.section-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem; display: block;
}

.tag {
  display: inline-block; font-size: 12px; font-family: var(--mono);
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid var(--border); color: var(--ink-muted); margin: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.tag:hover { background: var(--teal-light); color: var(--teal); border-color: var(--teal-mid); transform: translateY(-1px); }

.card {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(45,106,94,0.09); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 24px;
  font-size: 13px; font-family: var(--sans);
  text-decoration: none; transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer; border: none; position: relative; overflow: hidden;
}
.btn-primary { background: var(--teal); color: white; box-shadow: 0 4px 16px rgba(45,106,94,0.28); }
.btn-primary:hover { background: #235348; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,106,94,0.38); }
.btn-outline { background: transparent; color: var(--teal); border: 1px solid var(--teal-mid); }
.btn-outline:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(45,106,94,0.12); }

.page-hero { padding: 5rem 0 3rem; }
.page-hero p { max-width: 520px; color: var(--ink-muted); font-size: 1.05rem; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hi  { animation: heroIn 0.8s cubic-bezier(0.22,1,0.36,1) both; }
.hi2 { animation: heroIn 0.8s 0.12s cubic-bezier(0.22,1,0.36,1) both; }
.hi3 { animation: heroIn 0.8s 0.22s cubic-bezier(0.22,1,0.36,1) both; }
.hi4 { animation: heroIn 0.8s 0.32s cubic-bezier(0.22,1,0.36,1) both; }
.hi5 { animation: heroIn 0.8s 0.42s cubic-bezier(0.22,1,0.36,1) both; }

/* ── FLOATING GRADIENT ORBS ── */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.hero-orb-1 {
  width: 500px; height: 500px; top: -120px; right: -180px;
  background: radial-gradient(circle, rgba(77,158,142,0.13) 0%, transparent 68%);
  animation: orbFloat1 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 320px; height: 320px; bottom: 0; left: -100px;
  background: radial-gradient(circle, rgba(196,168,130,0.09) 0%, transparent 70%);
  animation: orbFloat2 13s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(28px,-18px) scale(1.04); }
  66% { transform: translate(-12px,22px) scale(0.97); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(22px,-14px); }
}

/* ── TYPEWRITER CURSOR ── */
.tw-cursor {
  display: inline-block; width: 2px; height: 0.85em;
  background: var(--teal); margin-left: 2px; vertical-align: middle;
  animation: twBlink 1.1s step-end infinite;
}
@keyframes twBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── PHOTOGRAPHY GALLERY ── */
.photo-gallery-grid {
  columns: 2;
  column-gap: 14px;
  margin-top: 1.5rem;
}
.photo-gallery-grid .photo-item {
  break-inside: avoid;
  margin-bottom: 14px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--teal-light);
  cursor: pointer;
}
.photo-gallery-grid .photo-item img {
  width: 100%;
  height: auto; /* preserves original aspect ratio */
  display: block;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.4s;
  filter: brightness(0.92);
}
.photo-gallery-grid .photo-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.75) 0%, transparent 100%);
  color: white; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 2.5rem 1rem 0.85rem;
  opacity: 0; transition: opacity 0.3s;
}
.photo-gallery-grid .photo-item:hover .photo-caption { opacity: 1; }
.photo-credit-corner {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white; font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}

@media (max-width: 600px) {
  .photo-gallery-grid { columns: 1; }
}

/* ── PHOTO SHOWCASE (old single-photo style, kept for compat) ── */
.photo-showcase {
  position: relative; border-radius: 24px; overflow: hidden;
  height: 420px; background: #111; margin-top: 4.5rem; margin-bottom: 4.5rem;
}
.photo-showcase img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1), filter 0.5s;
  filter: brightness(0.82);
}
.photo-showcase:hover img { transform: scale(1.04); filter: brightness(0.9); }
.photo-showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.82) 0%, rgba(26,23,20,0.1) 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem;
}
.photo-credit-badge {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  color: white; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
}
.photo-place { font-family: var(--serif); font-size: 1.6rem; color: white; line-height: 1.2; margin-bottom: 6px; }
.photo-place em { color: var(--teal-mid); font-style: italic; }
.photo-byline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* ── NEXT PROJECT CARD ── */
.next-project-card {
  background: white; border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; display: grid; grid-template-columns: 180px 1fr;
  margin-top: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.next-project-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(45,106,94,0.1); }
.np-img { min-height: 200px; background: var(--teal-light); overflow: hidden; position: relative; }
.np-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s; }
.next-project-card:hover .np-img img { transform: scale(1.05); }
.np-body { padding: 1.75rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.np-tag { display: inline-block; font-size: 11px; font-family: var(--mono); padding: 3px 10px; border-radius: 20px; background: var(--teal-light); color: var(--teal); margin-bottom: 10px; letter-spacing: 0.05em; text-transform: uppercase; }
.np-name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.np-role { font-size: 12px; color: var(--ink-muted); margin-bottom: 12px; }
.np-desc { font-size: 13px; color: var(--ink-muted); line-height: 1.75; margin-bottom: 14px; }
.np-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-family: var(--mono); color: var(--teal); text-decoration: none; padding: 6px 14px; border: 1px solid var(--teal-mid); border-radius: 20px; transition: background 0.2s; }
.np-link:hover { background: var(--teal-light); }
@media (max-width: 600px) { .next-project-card { grid-template-columns: 1fr; } .np-img { min-height: 160px; } }

/* ── SCORE CARD LINKS ── */
.score-card-link {
  display: block; text-decoration: none;
  background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1rem; text-align: center;
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
}
.score-card-link:hover { border-color: var(--teal-mid); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(45,106,94,0.12); }
.sc-num { font-family: var(--serif); font-size: 1.65rem; color: var(--teal); }
.sc-label { font-size: 11px; font-family: var(--mono); color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.sc-sub { font-size: 11px; color: var(--ink-muted); margin-top: 2px; }

/* ── COMP PILL ── */
.comp-pill { display: inline-block; font-size: 10px; font-family: var(--mono); letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; background: var(--teal-light); color: var(--teal); margin-bottom: 10px; }

/* ── IIT LOGO ── */
.iit-logo { width: 44px; flex-shrink: 0; }
.iit-logo img { width: 100%; height: auto; }

/* ── INST STRIP ── */
.inst-strip {
  background: var(--teal); padding: 2.5rem;
  border-radius: 20px; margin: 0 0 5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.inst-strip-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.28; /* Increased from 0.15 for better visibility */
  border-radius: 20px;
  transition: opacity 0.4s;
}
.inst-strip:hover .inst-strip-bg-img { opacity: 0.38; }
.inst-strip::after {
  content: 'NISER';
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 7rem; font-weight: 400;
  color: rgba(255,255,255,0.06); line-height: 1; pointer-events: none;
}
.inst-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.inst-name { font-family: var(--serif); font-size: 1.3rem; color: white; }
.inst-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.inst-strip a {
  background: rgba(255,255,255,0.12); color: white;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 24px; font-size: 13px;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
  position: relative; z-index: 1;
}
.inst-strip a:hover { background: rgba(255,255,255,0.22); }
.inst-strip > div { position: relative; z-index: 1; }

/* ── FLOATING LABEL BADGES ── */
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-badge { animation: floatBadge 3.5s ease-in-out infinite; }
.float-badge:nth-child(2) { animation-delay: 0.7s; }
.float-badge:nth-child(3) { animation-delay: 1.4s; }

/* ── SUPERVISOR LINKS ── */
.org-link { color: var(--ink-muted); text-decoration: none; transition: color 0.2s ease; }
.org-link:hover { color: var(--teal); }
.supervisor-label { font-family: var(--sans); font-weight: 700; color: var(--ink); }
.supervisor-name { font-family: var(--sans); font-weight: 500; color: var(--teal); text-decoration: none; transition: color 0.2s ease; }
.supervisor-name:hover { color: var(--teal-mid); }

/* ── HOBBY CARD WITH IMAGE ── */
.hobby-card {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.4rem; text-align: center;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.hobby-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(45,106,94,0.1); }
.hobby-icon-img {
  width: 52px; height: 52px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light); border-radius: 14px; padding: 10px;
}
.hobby-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.hobby-title { font-family: var(--serif); font-size: 0.95rem; color: var(--ink); margin-bottom: 5px; }
.hobby-desc { font-size: 12px; color: var(--ink-muted); line-height: 1.6; }

/* ── COMPUTER SKILL CARD WITH ICON ── */
.comp-card {
  background: white; border: 1px solid var(--border);
  border-radius: 14px; padding: 1.4rem;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
}
.comp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(45,106,94,0.09); }
.comp-card-logo {
  width: 44px; height: 44px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
}
.comp-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.comp-title { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-bottom: 5px; }
.comp-desc { font-size: 12px; color: var(--ink-muted); line-height: 1.65; margin-bottom: 10px; }
.skill-bar { background: var(--teal-light); border-radius: 4px; overflow: hidden; }
.skill-bar-fill { height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-mid)); border-radius: 4px; transition: width 1.2s cubic-bezier(0.22,1,0.36,1); width: 0%; }

/* ── LAB SKILL CARD WITH IMAGE ── */
.skill-img {
  min-height: 240px; background: var(--teal-light);
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; overflow: hidden;
}
.skill-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,106,94,0.1) 50%, rgba(45,106,94,0.1) 50%, transparent 100%);
  z-index: 1;
}
.skill-bg-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.skill-row:hover .skill-bg-photo { transform: scale(1.05); }
.skill-img-name {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: white; z-index: 2;
  padding: 0.75rem; text-align: center; width: 100%;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── ACHIEVEMENT ITEM ── */
.ach-item {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.ach-item:hover { border-color: var(--teal-mid); transform: translateX(5px); }
.ach-type-marker {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--teal); text-align: center; line-height: 1.2;
  padding: 4px;
}
.ach-text { font-size: 14px; color: var(--ink); }
.ach-sub { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.ach-link-icon { margin-left: auto; font-size: 12px; color: var(--teal-mid); flex-shrink: 0; opacity: 0; transition: opacity 0.2s; }
.ach-item:hover .ach-link-icon { opacity: 1; }

/* ── LEADERSHIP CARD ── */
.leader-card {
  background: white; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.leader-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,106,94,0.08); }
.leader-badge { display: inline-block; font-size: 11px; font-family: var(--mono); padding: 3px 10px; border-radius: 20px; background: var(--teal-light); color: var(--teal); margin-bottom: 10px; }
.leader-title { font-family: var(--serif); font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.leader-desc { font-size: 12px; color: var(--ink-muted); line-height: 1.65; }

/* ── RESPONSIVE FIXES ── */
@media (max-width: 768px) {
  .header-inner { padding: 0 1rem; }
  .container { padding: 0 1.25rem; }
  .logo { font-size: 1.35rem; }
  .photo-showcase { height: 260px; }
  .inst-strip { padding: 1.75rem 1.5rem; }
  .inst-strip::after { display: none; }
  .page-hero { padding: 3.5rem 0 2rem; }
  h1 { font-size: clamp(1.9rem, 7vw, 3.5rem); }
}

@media (max-width: 500px) {
  .btn { padding: 10px 18px; font-size: 12px; }
  .next-project-card { grid-template-columns: 1fr; }
  .np-img { min-height: 160px; }
}


/* ── COURSE TAG AS LINK ── */
a.tag {
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
a.tag:hover {
  border-color: var(--teal-mid);
  background: var(--teal-light);
  color: var(--teal);
}

/* ── IMPROVED LABEL VISIBILITY ON DARK IMAGES ── */
.intern-img-label {
  background: rgba(0,0,0,0.60) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
  backdrop-filter: blur(4px);
}
.skill-img-name {
  background: rgba(0,0,0,0.55) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.9) !important;
  backdrop-filter: blur(3px);
}

/* ── PHOTO GALLERY GRID ── */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.photo-item {
  border-radius: 14px; overflow: hidden; position: relative;
  background: var(--teal-light); cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.photo-item:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(45,106,94,0.15); }
.photo-item img { width: 100%; display: block; height: auto; }
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white; font-size: 12px; font-family: var(--mono); letter-spacing: 0.06em;
}
.photo-credit-corner {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.45); color: white;
  font-size: 10px; font-family: var(--mono); letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 20px; backdrop-filter: blur(4px);
}
