/* ==========================================================================
   Branvoy — Custom Stylesheet
   ========================================================================== */


/* ── Custom cursor ─────────────────────────────────────────────────────── */
/* Hide default cursor on desktop only */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 129, 254, 0.9);
  will-change: left, top;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(0, 129, 254, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 14px rgba(0, 129, 254, 0.25), inset 0 0 6px rgba(0, 129, 254, 0.08);
  will-change: left, top;
}

/* Grow ring + brighten when hovering links/buttons */
.cursor-ring.is-hovering {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 129, 254, 0.85);
  box-shadow: 0 0 22px rgba(0, 129, 254, 0.5), inset 0 0 10px rgba(0, 129, 254, 0.15);
}

.cursor-dot.is-hovering {
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}


/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --blue:  #0081FE;
  --black: #0c0c0c;
  --white: #ffffff;
  --grey:  #f5f7fa;
  --muted: #5b5f66;
}


/* ── Base reset / global ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  padding-top: 70px; /* offset for fixed navbar */
}


/* ── SPA Page switching ────────────────────────────────────────────────── */
.page {
  display: none;
  min-height: calc(100vh - 70px);
}

.page.active {
  display: block;
  animation: pageFadeIn 0.45s ease;
}

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


/* ── Page-level CTA row ────────────────────────────────────────────────── */
.page-cta {
  text-align: center;
  padding: 48px 0 24px;
}

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }

a { text-decoration: none; color: inherit; }

/* Shared layout container */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ── Navigation ────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
}

.logo:hover { transform: translateY(-2px); }

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  transition: transform 0.5s ease;
}

.logo:hover .logo-img { transform: scale(1.04); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  transition: color 0.25s;
  padding-bottom: 4px;
  color: var(--black);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover { color: var(--blue); }

.nav-links a:hover::after,
.nav-links a.active-link::after {
  width: 100%;
  left: 0;
}

/* Right side: CTA + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* CTA button */
.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.nav-cta:hover::before { left: 130%; }

.nav-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 129, 254, 0.35);
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--black);
  padding: 0;
  line-height: 1;
}

/* Mobile */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #eee;
    padding: 8px 24px 16px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
  }

  .nav-links a:last-child { border-bottom: none; }

  .menu-toggle { display: block; }
}


/* ── Eyebrow label ─────────────────────────────────────────────────────── */
.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}


/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
              background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn:hover::before { left: 140%; }
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: #0070e0;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 129, 254, 0.35);
}

.btn-outline {
  border: 1px solid #555;
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 129, 254, 0.18);
}


/* ── Section defaults ──────────────────────────────────────────────────── */
section { padding: 90px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: 36px; font-weight: 400; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }


/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #0c0c0c 0%, #111520 55%, #080c0e 100%);
  color: var(--white);
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Bottom fade — dissolves into the about section's dark background */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, #080c0e);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,129,254,0.30), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 400;
}

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

.hero-content p {
  font-size: 18px;
  color: #d4d4d4;
  max-width: 560px;
  margin-bottom: 36px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }


/* ── About / Founder — dark cinematic split ────────────────────────────── */
.about {
  background: #080c0e;
  color: #fff;
  padding: 0; /* override section default — full bleed */
}

.founder-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

/* Left: bio copy */
.founder-copy {
  padding: 96px 64px 96px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-copy .eyebrow {
  color: var(--blue);
  margin-bottom: 20px;
}

.founder-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 16px;
}

.founder-role {
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 36px;
}

.founder-divider {
  width: 36px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 36px;
  border: none;
}

.founder-copy p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
  max-width: 440px;
}

.founder-copy p strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.founder-copy p:last-child { margin-bottom: 0; }

/* Right: full-bleed photo */
.founder-visual {
  position: relative;
  overflow: hidden;
}

.founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(15%) contrast(1.06);
  transform: scale(1.05);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.founder-visual:hover .founder-photo {
  transform: scale(1.0);
}


/* ── Services ──────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 40px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,129,254,0.18), 0 0 28px rgba(0,129,254,0.07);
  border-color: var(--blue);
  transform: translateY(-7px);
}

.service-card .tag {
  display: inline-block;
  background: rgba(0,129,254,0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .tag {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 { font-size: 24px; font-weight: 400; margin-bottom: 14px; }

.service-card ul { margin: 18px 0 22px; padding-left: 0; list-style: none; }

.service-card li {
  font-size: 15px;
  color: var(--muted);
  padding: 7px 0 7px 26px;
  position: relative;
  transition: padding-left 0.25s ease, color 0.25s ease;
}

.service-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.service-card li:hover { padding-left: 32px; color: var(--black); }
.service-card li:hover::before { transform: scale(1.3); }

.price-tag {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid #eee;
  padding-top: 18px;
}

.price-tag strong {
  display: block;
  color: var(--black);
  font-size: 22px;
  font-family: Georgia, serif;
  margin-top: 4px;
}


/* ── Portfolio / Our Work ──────────────────────────────────────────────── */
.our-work { background: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.work-card {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.work-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,129,254,0.15);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.work-initial {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(0,129,254,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

.work-card:hover .work-initial {
  background: var(--blue);
  color: var(--white);
}

.work-body { flex: 1; min-width: 0; }

.work-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
  line-height: 1.4;
}

.work-location {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 9px;
}

.work-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.work-tags span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(0,129,254,0.07);
  color: var(--blue);
  padding: 3px 8px;
  border-radius: 4px;
}

.work-year {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ── Cinematic Portfolio ────────────────────────────────────────────────── */
.cinema-section {
  background: var(--black);
  padding: 90px 0 80px;
}

/* Override section-head colours on dark background */
.cinema-head .eyebrow { color: var(--blue); }
.cinema-head h2       { color: rgba(255,255,255,0.92); }
.cinema-head p        { color: rgba(255,255,255,0.45); }

.cinema-list {
  margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.cinema-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding-left 0.25s ease;
}
.cinema-row:hover { padding-left: 10px; }

.cinema-num {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.18);
  width: 26px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.cinema-body { flex: 1; min-width: 0; }

.cinema-name {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
.cinema-row:hover .cinema-name { color: var(--blue); }

.cinema-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cinema-location {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
}

.cinema-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.cinema-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.cinema-tags span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.06);
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.cinema-year {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.18);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

/* Gallery section embedded inside portfolio */
.cinema-gallery {
  background: #080808;
  padding: 60px 0 80px;
}

@media (max-width: 600px) {
  .cinema-row { gap: 16px; padding: 18px 0; }
  .cinema-name { font-size: 15px; }
  .cinema-tags { display: none; }
}


/* ── Portfolio Timeline ──────────────────────────────────────────────────── */
.tl-section {
  background: var(--grey);
  padding: 100px 0 60px;
  overflow: hidden;
}

/* Header */
.tl-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.tl-header h2 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--black);
  margin: 10px 0 16px;
}

.tl-header h2 em {
  display: block;
  font-weight: 300;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -1px;
}

.tl-header p { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* Body — the scrollable timeline container */
.tl-body {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Vertical centre spine */
.tl-body::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.11);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Each node: 3-column grid — left | centre dot | right */
.tl-node {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  align-items: center;
  padding: 28px 0;
}

/* Centre dot column */
.tl-center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--grey);  /* punches through the spine line */
}

/* Side columns */
.tl-side {
  padding: 0 24px;
  display: flex;
  align-items: center;
}

/* ── Text entry ─────────────────────── */
.tl-entry { width: 100%; }

.tl-entry--left {
  text-align: right;
}
.tl-entry--left .tl-tags { justify-content: flex-end; }

.tl-num {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: rgba(0,0,0,0.18);
  letter-spacing: 3px;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}

.tl-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 5px;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.tl-node:hover .tl-name { color: var(--blue); }

.tl-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 11px;
}

.tl-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tl-tags span {
  font-size: 10px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(0,129,254,0.09);
  padding: 2px 8px;
  border-radius: 3px;
}

/* ── Photo containers ───────────────── */
.tl-photos {
  position: relative;
  width: 100%;
}

.tl-photos--single { min-height: 180px; }
.tl-photos--dual   { min-height: 240px; }

.tl-photo {
  position: absolute;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 26px rgba(0,0,0,0.13);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.tl-photo:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transform: scale(1.025);
  z-index: 4;
}

.tl-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Single photo — left side: sits towards the centre (right edge) */
.tl-side--left .tl-photos--single .tl-photo {
  right: 0;
  top: 12px;
  width: 210px;
  height: 158px;
}

/* Single photo — right side: sits towards the centre (left edge) */
.tl-side--right .tl-photos--single .tl-photo {
  left: 0;
  top: 12px;
  width: 210px;
  height: 158px;
}

/* Dual photos — left side: main photo right/bottom, accent top/left */
.tl-side--left .tl-photo--main {
  right: 10px;
  bottom: 0;
  width: 195px;
  height: 154px;
}
.tl-side--left .tl-photo--accent {
  left: 0;
  top: 0;
  width: 120px;
  height: 98px;
  z-index: 2;
}

/* Dual photos — right side: main photo left/top, accent right/bottom */
.tl-side--right .tl-photo--main {
  left: 10px;
  top: 0;
  width: 200px;
  height: 158px;
}
.tl-side--right .tl-photo--accent {
  right: 0;
  bottom: 0;
  width: 118px;
  height: 95px;
  z-index: 2;
}

/* Tablet: tighter spacing */
@media (max-width: 800px) {
  .tl-body { padding: 0 20px; }
  .tl-side { padding: 0 14px; }
  .tl-header h2 { font-size: 36px; }

  .tl-side--left .tl-photos--single .tl-photo,
  .tl-side--right .tl-photos--single .tl-photo {
    width: 160px; height: 124px;
  }
  .tl-side--left .tl-photo--main,
  .tl-side--right .tl-photo--main  { width: 150px; height: 120px; }
  .tl-side--left .tl-photo--accent,
  .tl-side--right .tl-photo--accent { width: 96px; height: 78px; }
}

/* Mobile: single-column stacked timeline */
@media (max-width: 580px) {
  .tl-header h2 { font-size: 30px; letter-spacing: -1px; }
  .tl-body { padding: 0 16px; }
  .tl-body::before { left: 14px; transform: none; }

  .tl-node {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    padding: 16px 0;
    align-items: start;
  }
  .tl-center {
    grid-column: 1; grid-row: 1;
    justify-content: center;
    padding-top: 4px;
  }
  /* Both sides stack in the right column */
  .tl-side--left  { grid-column: 2; grid-row: 1; padding: 0 0 0 12px; }
  .tl-side--right { grid-column: 2; grid-row: 2; padding: 12px 0 0 12px; }
  /* Photos become static horizontal pair on mobile */
  .tl-photos { min-height: auto !important; display: flex; gap: 8px; }
  .tl-photo  { position: static; flex: 1; height: 120px !important; width: auto !important; border-radius: 7px; }
}


/* ── Testimonials ──────────────────────────────────────────────────────── */
.testimonials { background: var(--grey); padding: 90px 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,129,254,0.14);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(0,129,254,0.2);
}

.testimonial-avatar {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 24px;
  left: 32px;
  font-size: 72px;
  line-height: 1;
  color: var(--blue);
  font-family: Georgia, serif;
  opacity: 0.25;
  pointer-events: none;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 22px;
  padding-top: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-family: Georgia, serif;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; color: var(--black); font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--muted); margin-top: 2px; }

.testimonial-stars {
  color: var(--blue);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}


/* ── Process ───────────────────────────────────────────────────────────── */
.process { background: var(--black); color: var(--white); }
.process .section-head h2 { color: var(--white); }
.process .section-head p { color: #b5b5b5; }

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

.process-step { text-align: center; cursor: default; }

.process-step .num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--blue);
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease;
}

.process-step:hover .num {
  background: var(--blue);
  color: var(--white);
  transform: rotate(360deg) scale(1.08);
}

.process-step h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.process-step:hover h4 { color: var(--blue); }
.process-step p { font-size: 14px; color: #aaa; margin: 0; }


/* ── CTA Banner ────────────────────────────────────────────────────────── */
.cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 { font-size: 32px; font-weight: 400; margin-bottom: 16px; }
.cta p { margin-bottom: 32px; opacity: 0.95; font-size: 16px; }
.cta .btn-primary { background: var(--black); }
.cta .btn-primary:hover { background: #222; box-shadow: 0 10px 22px rgba(0,0,0,0.3); }


/* ── Contact ───────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 { font-size: 32px; font-weight: 400; margin-bottom: 18px; }
.contact-info p { color: var(--muted); margin-bottom: 30px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--black);
  font-size: 17px;
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
}

.contact-row:hover { transform: translateX(4px); color: var(--blue); }

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,129,254,0.1);
  color: var(--blue);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.contact-icon svg { width: 20px; height: 20px; fill: currentColor; }

.contact-row:hover .contact-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.08);
}

/* Form fields */
form { display: flex; flex-direction: column; gap: 16px; }

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--black);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 129, 254, 0.12);
}

textarea { resize: vertical; min-height: 110px; }

.submit-btn {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.submit-btn:hover::before { left: 140%; }

.submit-btn:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 129, 254, 0.3);
}

.submit-btn:active { transform: scale(0.97); }


/* ── Gallery ───────────────────────────────────────────────────────────── */
.gallery-section {
  background: var(--grey);
  padding: 80px 0 60px;
  min-height: calc(100vh - 70px);
}

.gallery-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.gallery-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.gallery-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 16px;
}

.gallery-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.gallery-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e5eb;
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  text-align: left;
}

.gallery-notice svg {
  flex-shrink: 0;
  color: var(--blue);
}

/* CSS Grid masonry-style layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #d0d4db;
  cursor: pointer;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,14,0.78) 0%, rgba(8,12,14,0) 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0,129,254,0.85);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Lightbox feel on click */
.gallery-item:active img {
  transform: scale(1.02);
}

/* Empty state (before images added) */
.gallery-item img[src$="gallery/"]:not([src*="."]),
.gallery-item img[src=""] {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item--tall,
  .gallery-item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}


/* ── Heart / Like button ───────────────────────────────────────────────── */
.like-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 5px 12px 5px 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transition: background 0.2s ease, opacity 0.25s ease, transform 0.15s ease;
}
/* Always visible on touch screens */
@media (hover: none) {
  .like-btn { opacity: 1 !important; }
}
.gallery-item:hover .like-btn { opacity: 1; }
.like-btn.liked {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.4);
}
.like-btn:active { transform: scale(0.88); }
.heart-icon {
  width: 15px;
  height: 15px;
  fill: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
  transition: fill 0.2s ease, transform 0.2s ease;
}
.like-btn.liked .heart-icon { fill: #fff; }
.like-btn.like-pop .heart-icon { transform: scale(1.45); }
.like-count:empty { display: none; }


/* ── Timeline photo: zoom overlay ──────────────────────────────────────── */
/* Make .tl-photo a stacking context so the overlay can cover it */
.tl-photo { cursor: pointer; }

.tl-photo-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  opacity: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.tl-photo:hover .tl-photo-zoom,
.tl-photo:focus .tl-photo-zoom {
  opacity: 1;
  background: rgba(0,0,0,0.34);
}

/* Always visible on touch screens */
@media (hover: none) {
  .tl-photo-zoom { opacity: 1; background: rgba(0,0,0,0.22); }
}

.tl-photo-zoom svg {
  width: 30px;
  height: 30px;
  stroke: rgba(255,255,255,0.92);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}


/* ── Lightbox like button ───────────────────────────────────────────────── */
.lightbox-like-btn {
  position: absolute;
  bottom: 20px;
  right: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
  border-radius: 50px;
  padding: 10px 20px 10px 14px;
  cursor: pointer;
  z-index: 21000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.lightbox-like-btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: rgba(255,255,255,0.85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.22s ease;
  flex-shrink: 0;
}

.lightbox-like-btn:hover {
  background: rgba(0,0,0,0.65);
  color: #fff;
}

.lightbox-like-btn:active { transform: scale(0.91); }

.lightbox-like-btn.liked {
  background: rgba(239,68,68,0.88);
  border-color: rgba(239,68,68,0.45);
  color: #fff;
}

.lightbox-like-btn.liked svg {
  fill: #fff;
  stroke: #fff;
}

/* Heart pop animation on like */
.lightbox-like-btn.like-pop svg {
  transform: scale(1.5);
}

.lightbox-like-count:empty { display: none; }

@media (max-width: 600px) {
  .lightbox-like-btn {
    bottom: 60px;   /* clear the caption on mobile */
    right: 16px;
    padding: 9px 16px 9px 12px;
    font-size: 13px;
  }
}


/* ── Lightbox ──────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(6, 10, 14, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.85);
  display: block;
  transition: opacity 0.18s ease;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 21000;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 21000;
  transition: background 0.2s ease;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.38);
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 600px) {
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 16px; }
  .lightbox-close { top: 10px; right: 10px; }
}


/* ── Footer ────────────────────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: #999;
  text-align: center;
  padding: 36px 0;
  font-size: 14px;
}

footer .logo {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
}

.logo-img--invert { filter: brightness(0) invert(1); }

/* Social links */
.social-links { display: flex; gap: 14px; }

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: var(--black);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.social-links a svg { width: 18px; height: 18px; fill: currentColor; }

.social-links a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-4px) rotate(8deg);
}

footer .social-links { justify-content: center; margin: 18px 0; }
footer .social-links a { border-color: #333; color: #ccc; }
footer .social-links a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }


/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero h1 { font-size: 38px; }

  /* Founder split: stack on mobile */
  .founder-split { grid-template-columns: 1fr; min-height: auto; }
  .founder-copy { padding: 64px 32px; order: 1; }
  .founder-copy p { max-width: 100%; }
  .founder-visual { order: 2; height: 60vw; min-height: 300px; position: relative; }
  .founder-photo { position: absolute; }

  .services-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0; min-height: calc(100vh - 70px); }
  .hero h1 { font-size: 30px; }
  .hero-content p { font-size: 16px; }
  .section-head h2 { font-size: 26px; }
  .service-card { padding: 28px 22px; }

  .cta { padding: 56px 0; }
  .cta h2 { font-size: 24px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
