/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-elevated: #f7f7f7;
  --bg-card: #ffffff;
  --text: #000000;
  --text-muted: #6b6b7b;
  --accent: #1a1a2e;
  --accent-hover: #2d2d4a;
  --border: rgba(0, 0, 0, 0.08);
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1200px;
  --section-padding: 120px;
  --side-padding: 48px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-social-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-social-link:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px var(--side-padding) 0;
  position: relative;
}

.hero-name {
  text-align: center;
  margin-bottom: 60px;
}

.hero-name-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -2px;
}

.hero-content {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.hero-left p,
.hero-right p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-left {
  padding-right: 48px;
  padding-top: 40px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 48px;
  padding-top: 40px;
}

.hero-image {
  width: 380px;
  height: 450px;
  border-radius: 12px;
  overflow: visible;
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero-location {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.hero-location .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-location .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.hero-location .flag {
  font-size: 1.2rem;
}

/* ========================================
   SECTIONS — SHARED
   ======================================== */
.section {
  padding: var(--section-padding) var(--side-padding);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 56px;
  max-width: 520px;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  border-top: 1px solid var(--border);
}

.about-content {
  max-width: 720px;
  margin-top: 48px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-lead {
  font-size: 1.25rem;
  color: var(--text) !important;
  font-weight: 400;
  font-family: var(--font-display);
  line-height: 1.5 !important;
}

/* ========================================
   WORK / CLIENTS
   ======================================== */
.work {
  background: var(--bg-elevated);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.client-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.client-logo-wrap {
  height: 48px;
  margin-bottom: 16px;
  overflow: visible;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.client-card .client-logo-wrap img.client-logo {
  display: block;
  max-width: none !important;
  width: auto !important;
  height: 24px !important;
  object-fit: contain;
}

.client-card .client-logo-wrap img.client-logo.logo-md {
  height: 30px !important;
}

.client-card .client-logo-wrap img.client-logo.logo-lg {
  height: 34px !important;
}

.client-logo-wrap.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
}

.client-logo-wrap.logo-group img.client-logo {
  height: 24px !important;
}

.client-logo-wrap.logo-group img.client-logo.logo-tether {
  height: 90px !important;
}

.client-logo-wrap.logo-group .logo-text-placeholder {
  font-family: var(--font-display);
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text);
}

.client-card .client-logo-wrap img.client-logo.logo-sm {
  height: 18px !important;
}

.client-logo-placeholder {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.client-result {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========================================
   EVENTS
   ======================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.event-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.event-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.event-media-placeholder {
  width: 100%;
  height: 280px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.event-info {
  padding: 24px;
}

.event-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.event-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   CAREER
   ======================================== */
.career {
  background: var(--bg-elevated);
}

.career-timeline {
  margin-top: 48px;
  position: relative;
  padding-left: 40px;
}

.career-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.career-item {
  position: relative;
  margin-bottom: 48px;
}

.career-item:last-child {
  margin-bottom: 0;
}

.career-marker {
  position: absolute;
  left: -40px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.career-item:first-child .career-marker {
  background: var(--accent);
}

.career-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.career-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.career-role {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.career-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

.career-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 0;
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-muted);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

a.testimonial-name {
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}

a.testimonial-name:hover {
  text-decoration: underline;
  color: var(--accent);
}

.testimonial-title {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   CONTENT CAROUSEL
   ======================================== */
.content {
  background: var(--bg);
}

.content-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.7s ease;
}

.carousel-card {
  flex-shrink: 0;
  width: 250px;
  max-width: 250px;
  text-align: center;
}

.carousel-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-placeholder {
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.carousel-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.carousel-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.carousel-btn:hover {
  border-color: var(--text-muted);
  background: var(--bg-elevated);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  text-align: center;
  padding: 160px var(--side-padding);
  background: var(--bg-elevated);
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.contact-btn:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.contact-btn.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.contact-btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 32px var(--side-padding);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ========================================
   EVENT DETAIL PAGES
   ======================================== */
a.event-card {
  display: block;
  color: inherit;
  width: 100%;
}

.event-detail-back {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px var(--side-padding);
}

.event-detail-back a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.event-detail-back a:hover {
  color: var(--text);
}

.event-detail-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.event-detail-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.event-detail-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--side-padding) var(--section-padding);
}

.event-detail-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.event-detail-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 56px;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item video {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #000;
}

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

.gallery-caption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.carousel-media {
  cursor: pointer;
}

/* ========================================
   ANIMATIONS — fade in on scroll
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  :root {
    --side-padding: 24px;
    --section-padding: 80px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .hero-left {
    padding-right: 0;
    padding-top: 0;
  }

  .hero-image {
    margin: 0 auto;
    width: 280px;
    height: 340px;
  }

  .hero-right {
    align-items: center;
    padding-left: 0;
    padding-top: 0;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    width: 100%;
  }

  .event-media,
  .event-media img {
    width: 100%;
  }

  .career-date {
    margin-left: 0;
    display: block;
    width: 100%;
  }

  /* Testimonials: stack on mobile */
  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: 100%;
  }

  /* Content carousel: bigger cards on tablet */
  .carousel-card {
    width: 200px;
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  :root {
    --side-padding: 16px;
  }

  .hero {
    padding: 100px var(--side-padding) 0;
  }

  .hero-name-line {
    letter-spacing: -1px;
  }

  .hero-image {
    width: 240px;
    height: 300px;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .client-card {
    width: 100%;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .event-detail-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-wide {
    grid-column: span 1;
  }

  .event-detail-banner img {
    height: 220px;
  }

  /* Content carousel: full width cards */
  .carousel-card {
    width: calc(100vw - 100px);
    max-width: calc(100vw - 100px);
  }

  .carousel-title {
    font-size: 1rem;
  }

  .carousel-desc {
    font-size: 0.8rem;
  }
}
