/* Colin Phelps — colinphelps.co.uk — v2.0 */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff; color: #1A1C35;
  line-height: 1.7; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
::selection { background: #2E9CCA; color: #fff; }

/* ── Tokens ── */
:root {
  --navy:       #25274D;
  --navy-mid:   #464866;
  --slate:      #AAABB8;
  --blue:       #2E9CCA;
  --teal:       #29648A;
  --white:      #FFFFFF;
  --off-white:  #F7F8FC;
  --bg-alt:     #EFF1F8;
  --text:       #1A1C35;
  --text-body:  #3B3D5C;
  --text-muted: #7B7D98;
  --border:     #E2E4EF;
  --shadow-sm:  0 2px 12px rgba(37,39,77,0.06);
  --shadow:     0 4px 24px rgba(37,39,77,0.10);
  --shadow-md:  0 8px 40px rgba(37,39,77,0.14);
  --radius:     10px;
  --radius-lg:  16px;
  --t:          0.28s ease;
  --max-w:      1160px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.1; color: var(--navy); }
h1 { font-size: clamp(3.4rem, 9vw, 7rem); letter-spacing: -3px; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -1.5px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -0.3px; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.1px; }
p  { font-size: 0.97rem; color: var(--text-body); line-height: 1.85; }
.lead { font-size: 1.08rem; line-height: 1.9; }

.label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--blue); flex-shrink: 0;
}

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.3px;
  border: 2px solid transparent; transition: var(--t); white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-blue  { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover  { background: #2689b0; border-color: #2689b0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,156,202,0.3); }
.btn-navy  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover  { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-ghost-dark  { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost-dark:hover  { border-color: var(--blue); color: var(--blue); }

/* ─────────────────────────────────
   NAVIGATION
───────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: background var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; }
.logo-light { display: none; }
/* Black logo tinted to navy on light backgrounds */
.logo-dark  { display: block; filter: brightness(0) saturate(100%) invert(14%) sepia(22%) saturate(1800%) hue-rotate(201deg) brightness(92%) contrast(94%); }

/* Menu links */
.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-menu a {
  padding: 0.5rem 0.9rem; border-radius: 6px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-body);
  transition: var(--t);
}
.nav-menu a:hover, .nav-menu a.current { color: var(--navy); background: var(--off-white); }
.nav-contact {
  margin-left: 0.75rem !important; padding: 0.55rem 1.3rem !important;
  background: var(--navy) !important; color: #fff !important;
  border-radius: 50px !important;
}
.nav-contact:hover { background: var(--blue) !important; }

/* Dark mode nav (navy hero pages) */
.dark-header:not(.scrolled) .logo-light { display: block; filter: none; }
.dark-header:not(.scrolled) .logo-dark  { display: none; }
.dark-header:not(.scrolled) .nav-menu a { color: rgba(255,255,255,0.72); }
.dark-header:not(.scrolled) .nav-menu a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.dark-header:not(.scrolled) .nav-menu a.current { color: var(--navy); background: rgba(255,255,255,0.92); }
.dark-header:not(.scrolled) .nav-contact { background: rgba(255,255,255,0.12) !important; border: 1px solid rgba(255,255,255,0.3) !important; }
.dark-header:not(.scrolled) .nav-contact:hover { background: var(--blue) !important; border-color: var(--blue) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px; padding: 0;
}
.hamburger span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: var(--t); }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; color: var(--navy); }
  .dark-header:not(.scrolled) .hamburger { color: #fff; }
  .nav-menu {
    display: none; position: fixed; inset: 0; z-index: 900;
    background: rgba(37,39,77,0.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { font-size: 1.2rem !important; color: rgba(255,255,255,0.8) !important; padding: 0.85rem 2rem !important; background: none !important; border-radius: 8px !important; }
  .nav-menu a:hover { color: #fff !important; background: rgba(255,255,255,0.08) !important; }
  .nav-contact { background: var(--blue) !important; color: #fff !important; border: none !important; margin-top: 0.5rem !important; }
}

/* ─────────────────────────────────
   HOME — HERO
───────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  /* Subtle dot grid — gig poster / printed texture */
  background-image:
    radial-gradient(circle, rgba(46,156,202,0.18) 1px, transparent 1px),
    linear-gradient(var(--navy), var(--navy));
  background-size: 28px 28px, 100% 100%;
  display: flex; align-items: center; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -150px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,156,202,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -180px; left: -100px;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,100,138,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 8rem 2rem 5rem;
  display: grid; grid-template-columns: 1fr 390px;
  gap: 5rem; align-items: center; position: relative; z-index: 1; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.8rem;
}
.hero-tag::before { content: ''; display: block; width: 32px; height: 2px; background: var(--blue); flex-shrink: 0; }
.hero h1 { color: #fff; margin-bottom: 1.5rem; line-height: 0.95; letter-spacing: -4px; }
.hero h1 em { font-style: normal; color: var(--blue); display: block; }
.hero-desc { font-size: 1.02rem; color: rgba(255,255,255,0.55); max-width: 460px; line-height: 1.9; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; gap: 3rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.hero-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -1px; }
.hero-stat-lab { font-size: 0.65rem; color: rgba(255,255,255,0.38); letter-spacing: 2px; text-transform: uppercase; margin-top: 0.4rem; }

/* ─── Hero pulse ripple ─── */
.hero-vinyl {
  display: flex; align-items: center; justify-content: center;
  position: relative; width: 273px; height: 273px;
}
/* Ripple rings — each expands outward and fades */
.ripple {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(46,156,202,0.22);
  width: 273px; height: 273px;
  animation: ripple-out 5.5s ease-out infinite;
  pointer-events: none;
}
.ripple:nth-child(1) { animation-delay: 0s; }
.ripple:nth-child(2) { animation-delay: 1.4s; }
.ripple:nth-child(3) { animation-delay: 2.8s; }
.ripple:nth-child(4) { animation-delay: 4.1s; }
@keyframes ripple-out {
  0%   { transform: scale(1);   opacity: 0.28; }
  100% { transform: scale(2.6); opacity: 0; }
}
/* Centre logo circle */
.vinyl-logo {
  width: 273px; height: 273px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(46,156,202,0.28);
  box-shadow: 0 0 28px rgba(46,156,202,0.12), 0 0 0 1px rgba(46,156,202,0.08) inset;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 5;
}
.vinyl-logo img {
  width: 58%; height: auto;
  filter: brightness(0) invert(1); opacity: 0.92;
}
@media (max-width: 960px) {
  .hero-vinyl { width: 300px; height: 300px; }
  .vinyl-logo { width: 200px; height: 200px; }
  .ripple { width: 200px; height: 200px; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; padding-top: 7rem; }
  .hero-tag { justify-content: center; }
  .hero-desc { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo { max-width: 260px; margin: 0 auto; }
  .hero-logo-mark { justify-content: center; }
}
@media (max-width: 480px) { .hero h1 { font-size: 3.6rem; letter-spacing: -2px; } }

/* ─────────────────────────────────
   CLIENTS STRIP
───────────────────────────────── */
.clients-strip { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.clients-strip .label { text-align: center; color: var(--text-muted); }
.clients-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.5rem 3.5rem; margin-top: 2rem;
}
.clients-logos img { height: 28px; width: auto; filter: grayscale(1) opacity(0.35); transition: var(--t); }
.clients-logos img:hover { filter: grayscale(0) opacity(1); }
.cen-logo { filter: grayscale(1) brightness(0) opacity(0.3) !important; }
.cen-logo:hover { filter: grayscale(1) brightness(0) opacity(0.65) !important; }

/* ─────────────────────────────────
   SERVICES
───────────────────────────────── */
.services { background: var(--off-white); }
.services-header { text-align: center; max-width: 540px; margin: 0 auto 3.5rem; }
.services-header h2 { margin-bottom: 0.75rem; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.svc-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.7rem; border: 1px solid var(--border); transition: var(--t);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-icon {
  width: 48px; height: 48px; background: var(--off-white); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; color: var(--blue); transition: var(--t);
}
.svc-card:hover .svc-icon { background: var(--blue); color: #fff; }
.svc-icon svg { width: 22px; height: 22px; }
.svc-card h4 { color: var(--navy); margin-bottom: 0.5rem; font-size: 0.95rem; }
.svc-card p { font-size: 0.86rem; line-height: 1.75; }
@media (max-width: 860px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────
   MUSIC SPOTLIGHT
───────────────────────────────── */
.music-spotlight { background: var(--navy); position: relative; overflow: hidden; }
.music-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 6rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.music-inner .label { color: rgba(46,156,202,0.9); }
.music-inner h2 { color: #fff; margin-bottom: 1.2rem; }
.music-inner p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.music-clients-logos { display: flex; align-items: center; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.music-clients-logos img { height: 22px; filter: brightness(0) invert(1) opacity(0.5); transition: var(--t); }
.music-clients-logos img:hover { opacity: 0.9; }
.music-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.music-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .music-inner { grid-template-columns: 1fr; gap: 3rem; } }

/* ─────────────────────────────────
   FEATURED WORK
───────────────────────────────── */
.featured-work { background: var(--white); }
.featured-header { text-align: center; margin-bottom: 3rem; }
.featured-header h2 { margin-bottom: 0.5rem; }
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
  transition: var(--t); display: block;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.project-thumb { aspect-ratio: 4/3; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-info { padding: 1.4rem 1.6rem 1.8rem; }
.project-cat { font-size: 0.63rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.4rem; }
.project-info h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.05rem; }
.project-info p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.project-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 600; color: var(--blue); transition: var(--t);
}
.project-link:hover { gap: 0.6rem; }
.project-link svg { width: 13px; height: 13px; }
@media (max-width: 860px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────
   CTA BANNER
───────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  text-align: center; padding: 5rem 2rem;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 460px; margin: 0 auto 2rem; }

/* ─────────────────────────────────
   FOOTER
───────────────────────────────── */
.site-footer { background: var(--navy); padding: 2.5rem 0; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo img { height: 28px; opacity: 0.7; }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.35); transition: var(--t);
}
.footer-socials a:hover { border-color: var(--blue); color: var(--blue); }
.footer-socials svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .footer-inner { flex-direction: column; text-align: center; } }

/* ─────────────────────────────────
   PAGE HEADER (inner pages)
───────────────────────────────── */
.page-header {
  background: var(--navy); padding: 9rem 0 4rem;
  border-bottom: 3px solid var(--blue);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,156,202,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .label { margin-bottom: 0.75rem; }
.page-header h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -3px;
  color: #fff; margin-bottom: 1rem; line-height: 1;
}
.page-header p { max-width: 560px; font-size: 1.02rem; color: rgba(255,255,255,0.6); }

/* ─────────────────────────────────
   ABOUT PAGE
───────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 400px 1fr;
  gap: 5rem; align-items: start;
}
.about-photo { position: relative; }
.about-photo img { width: 100%; border-radius: var(--radius-lg); }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1.1rem; }
.about-text p:last-child { margin-bottom: 0; }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.skill-group { background: var(--white); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.skill-group-title { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); margin-bottom: 1rem; }
.skill-group li { font-size: 0.88rem; color: var(--text-body); padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }
.skill-group li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

.disciplines-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.discipline-card { padding: 2rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.discipline-card .svc-icon { margin-bottom: 1rem; }
.discipline-card h4 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1rem; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.discipline-card p { font-size: 0.88rem; }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .skills-grid { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────
   WORK PAGE
───────────────────────────────── */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.55rem 1.25rem; border-radius: 50px;
  background: var(--white); border: 1.5px solid var(--border);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-muted); transition: var(--t);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-btn[data-filter="music"].active { background: var(--blue); border-color: var(--blue); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: var(--t); display: block;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.work-card.hidden { display: none; }
.work-thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--off-white); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(37,39,77,0.82) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 1.2rem 1.4rem;
  opacity: 0; transition: var(--t);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 0.4rem;
}
.work-overlay svg { width: 13px; height: 13px; }
.work-info { padding: 1.2rem 1.4rem 1.5rem; background: var(--white); }
.work-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.3rem; }
.work-info h3 { color: var(--navy); font-size: 1rem; }

@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .work-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────────
   CONTACT PAGE
───────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 360px 1fr; gap: 5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info p { margin-bottom: 1.8rem; }
.contact-detail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.92rem; }
.contact-detail svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.contact-detail a { color: var(--text-body); transition: var(--t); }
.contact-detail a:hover { color: var(--blue); }

.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 8px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.92rem; color: var(--text);
  transition: var(--t); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,156,202,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ─────────────────────────────────
   PROJECT DETAIL PAGES
───────────────────────────────── */
.project-page-header {
  background: var(--navy); padding: 8rem 0 0; position: relative; overflow: hidden;
}
.project-page-header::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,156,202,0.12) 0%, transparent 65%);
}
.project-header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end;
  position: relative; z-index: 1;
}
.project-header-text { padding-bottom: 3.5rem; }
.project-header-text .label { color: var(--blue); }
.project-header-text h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -1px; margin-bottom: 1rem; }
.project-header-text p { color: rgba(255,255,255,0.6); font-size: 1rem; max-width: 440px; }
.project-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; }
.meta-item .meta-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 0.25rem; }
.meta-item .meta-value { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.project-header-img { align-self: end; }
.project-header-img img { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; object-fit: cover; max-height: 380px; }

@media (max-width: 860px) {
  .project-header-inner { grid-template-columns: 1fr; }
  .project-header-img { display: none; }
  .project-header-text { padding-bottom: 3rem; }
}

.project-body { padding: 5rem 0; }
.project-layout { display: grid; grid-template-columns: 220px 1fr; gap: 5rem; }
.project-sidebar {}
.sidebar-block { margin-bottom: 2rem; }
.sidebar-heading { font-size: 0.62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { padding: 0.3rem 0.8rem; background: var(--off-white); border-radius: 50px; font-size: 0.75rem; color: var(--navy); font-weight: 600; }
.project-content {}
.project-content h2 { font-size: 1.4rem; margin: 2.5rem 0 1rem; color: var(--navy); }
.project-content h2:first-child { margin-top: 0; }
.project-content p { margin-bottom: 1.1rem; }
.project-content p:last-of-type { margin-bottom: 0; }

.project-gallery { margin-top: 3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-grid img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); cursor: pointer; transition: var(--t); object-fit: cover; }
.gallery-grid img:hover { border-color: var(--blue); transform: scale(1.01); }
.gallery-wide { grid-column: 1 / -1; aspect-ratio: 16/7; object-fit: cover; }
.gallery-tall { aspect-ratio: 3/4; }

.project-nav-bar { background: var(--off-white); border-top: 1px solid var(--border); padding: 2rem 0; }
.project-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.project-nav-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--navy); transition: var(--t); }
.project-nav-link:hover { color: var(--blue); }
.project-nav-link svg { width: 15px; height: 15px; }
.project-nav-center { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

@media (max-width: 800px) { .project-layout { grid-template-columns: 1fr; } }

/* ─────────────────────────────────
   LIGHTBOX
───────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999; background: rgba(14,14,28,0.95);
  display: none; align-items: center; justify-content: center;
  padding: 2rem; cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); cursor: default; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t); cursor: pointer;
}
.lightbox-close:hover { border-color: var(--blue); color: var(--blue); }

/* ─────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
