/* =============================================
   AGENCE ORIGINAL® — Design System v2
   ============================================= */

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

:root {
  --bg:          #ffffff;
  --bg-light:    #f7f7f5;
  --bg-dark:     #111111;
  --text:        #1a1a1a;
  --text-muted:  #666666;
  --orange:      #1a1a1a;
  --orange-dark: #111111;
  --white:       #ffffff;
  --border:      rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.1);
  --font:        'Red Hat Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --shadow:      0 2px 16px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 64px rgba(0,0,0,0.14);
  --transition:  0.35s cubic-bezier(0.23, 1, 0.32, 1);
  --section-gap: 8rem;
}

/* ---------- DARK MODE ---------- */
[data-theme="dark"] {
  --bg:          #0a0a0a;
  --bg-light:    #1a1a1a;
  --bg-dark:     #000000;
  --text:        #f0f0f0;
  --text-muted:  #888888;
  --orange:      #1a1a1a;
  --orange-dark: #111111;
  --white:       #ffffff;
  --border:      rgba(255,255,255,0.1);
  --shadow:      0 2px 16px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg:   0 8px 64px rgba(0,0,0,0.6);
}

/* Boutons primaires : fond blanc, texte sombre en dark mode */
[data-theme="dark"] .btn--primary {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}
[data-theme="dark"] .btn--primary:hover {
  background: #e0e0e0;
  border-color: #e0e0e0;
}

/* Bouton CTA header */
[data-theme="dark"] .nav__link--cta {
  background: #ffffff;
  color: #1a1a1a !important;
}
[data-theme="dark"] .nav__link--cta:hover {
  background: #e0e0e0;
}

/* Nav scrollée : fond sombre */
[data-theme="dark"] .nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Ticker : fond sombre, texte blanc */
[data-theme="dark"] .ticker {
  background: #1a1a1a;
}

/* Logo nav : inversion (provisoire) */
[data-theme="dark"] .nav__logo img {
  filter: brightness(0) invert(1);
}

/* Logo footer : inversion en dark mode */
[data-theme="dark"] .footer__logo img {
  filter: brightness(0) invert(1);
}


/* Boutons pricing cards : texte sombre lisible en dark mode */
[data-theme="dark"] .pricing-card__cta {
  background: #ffffff;
  color: #1a1a1a;
  border-color: rgba(255,255,255,0.2);
}
[data-theme="dark"] .pricing-card__cta:hover {
  background: #e0e0e0;
  color: #1a1a1a;
  border-color: #e0e0e0;
}

/* Bouton formulaire */
[data-theme="dark"] .form-submit {
  background: #ffffff;
  color: #1a1a1a;
}
[data-theme="dark"] .form-submit:hover {
  background: #e0e0e0;
}

/* Champs formulaire */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: #1a1a1a;
  color: #f0f0f0;
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
  color: #666666;
}
[data-theme="dark"] .form-select option {
  background: #1a1a1a;
  color: #f0f0f0;
}

/* Bouton dark mode toggle */
.theme-toggle {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), color var(--transition), transform 0.2s;
  font-size: 1.1rem;
  line-height: 1;
}
.theme-toggle:hover { transform: scale(1.1); }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

.container {
  width: 100%;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-upper  { text-transform: uppercase; }
.text-center { text-align: center; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}


/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: var(--white);
  border: 2px solid var(--text);
}
.btn--primary:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-1px);
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn--orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--ghost-white:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8rem;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background-color var(--transition), box-shadow var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.nav__logo img { width: 140px; height: auto; }

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link--mobile-cta { display: none; }

.nav__link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav__link:hover { background: var(--bg-light); }

.nav__link--cta {
  background: var(--text);
  color: var(--white) !important;
  padding: 0.6rem 2.5rem;
  margin-left: 0.5rem;
}
.nav__link--cta:hover { background: #333; }

.nav__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: background var(--transition);
  position: relative;
  flex-shrink: 0;
}
.nav__burger:hover { background: var(--bg-light); }
/* Hide the external img — bars drawn via pseudo-elements */
.nav__burger img { display: none; }

.nav__burger::before,
.nav__burger::after {
  content: '';
  position: absolute;
  left: 9px;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              top 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
/* top bar + middle bar (via box-shadow) */
.nav__burger::before {
  top: 13px;
  box-shadow: 0 7px 0 var(--text);
}
/* bottom bar */
.nav__burger::after {
  top: 27px;
}
/* X state */
.nav__burger.is-open::before {
  top: 20px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 transparent;
}
.nav__burger.is-open::after {
  top: 20px;
  transform: rotate(-45deg);
}

/* ---------- HERO (HOMEPAGE) ---------- */
.hero {
  background: var(--bg);
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero__label-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero__title .accent { }

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.35;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ---------- HERO PAGE (subpages) ---------- */
.hero-page {
  background: var(--bg-dark);
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
  position: relative;
}

.hero-page__inner {
  position: relative;
  z-index: 1;
}

.hero-page__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 1.25rem;
}

.hero-page__title .accent { }

.hero-page__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-page__bg-text {
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- HERO PAGE LIGHT VARIANT ---------- */
.hero-page--light { background: var(--bg); }
.hero-page--light .hero-page__title { color: var(--text); }
.hero-page--light .hero-page__sub { color: var(--text-muted); }
.hero-page--light .hero-page__bg-text { color: rgba(0,0,0,0.04); }

/* ---------- SECTION BASE ---------- */
.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section--light { background: var(--bg-light); }
.section--dark  { background: var(--bg-dark); color: var(--white); }
.section--tight { padding-top: 5rem; padding-bottom: 5rem; }

.section__head {
  margin-bottom: 4rem;
}

.section__head--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0.875rem;
}

.section--dark .section__title { color: var(--white); }

.section__desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 400;
}

.section--dark .section__desc { color: rgba(255,255,255,0.5); }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg);
}

.service-card:hover::before { opacity: 0.04; }

.service-card:hover {
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
  flex: 1;
}

.service-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ---------- PORTFOLIO GRID ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.portfolio-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.portfolio-grid--photo {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: var(--bg-dark);
  cursor: zoom-in;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  aspect-ratio: 4/3;
}

.portfolio-item--tall img { aspect-ratio: 3/4; }
.portfolio-item--wide img { aspect-ratio: 16/9; }

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

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 2;
}
.portfolio-item:hover .portfolio-item__info {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item__name {
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}

.portfolio-item__cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ---------- PHOTO GRID ---------- */
.photo-grid--3col { grid-template-columns: repeat(3, 1fr); }

.photo-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.photo-item__label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* ---------- VIDEO GRID ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.video-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  padding-top: 56.25%;
  background: var(--bg-dark);
  cursor: pointer;
}

.video-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%);
  transition: background var(--transition);
}
.video-item:hover .video-item__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.05) 60%);
}

.video-item__info {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  z-index: 2;
}

.video-item__title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.video-play svg { width: 20px; height: 20px; fill: white; margin-left: 3px; }

.video-item:hover .video-play { opacity: 1; }

/* ---------- ABOUT SECTION ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.about__title .accent { }

.about__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.about__text strong {
  color: var(--text);
  font-weight: 700;
}

.about__visual {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  height: 460px;
  overflow: hidden;
  position: relative;
}

.about__visual video, .about__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* ---------- STATS ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-item__number .orange { color: var(--orange); }

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ---------- CLIENTS ---------- */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  gap: 1px;
  background: var(--border);
}

.client-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  padding: 1.5rem 2rem;
  background: var(--bg);
  transition: background var(--transition);
}

.client-item:hover { background: var(--bg-light); }

.client-item img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity var(--transition);
  filter: grayscale(1);
}

.client-item:hover img { opacity: 0.9; filter: none; }

/* ---------- TICKER ---------- */
.ticker {
  background: var(--orange);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

.ticker__track {
  display: flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
  animation: ticker-scroll 22s linear infinite;
}

.ticker__track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker__item {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 3rem;
  color: var(--white);
  flex-shrink: 0;
}

.ticker__dot {
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
  text-decoration: none;
  color: var(--white);
}

.blog-card:hover { transform: translateY(-4px); }

.blog-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.875rem;
}

.blog-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--white);
  flex: 1;
  margin-bottom: 1.5rem;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

.blog-card__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card__arrow {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}

.blog-card:hover .blog-card__arrow {
  background: var(--orange);
}

.blog-card__bg-pattern {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 160px;
  height: 160px;
  opacity: 0.04;
  pointer-events: none;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  padding: 5rem 4rem;
  text-align: center;
  margin: 0 0 2rem;
}

.cta-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.cta-banner__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- CONTACT FORM ---------- */
.contact-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 6rem;
  align-items: start;
}

.contact__info-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.contact__info-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.contact__info-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--orange);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 1.125rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #333;
  transform: translateY(-1px);
}

.form-success {
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
}
.form-success p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- PRICING TABLES ---------- */
.pricing-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pricing-section__header {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-section__title {
  font-size: 1.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-section__title .num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(0,0,0,0.07);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-right: 0.75rem;
  vertical-align: middle;
  letter-spacing: 0;
}

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

.pricing-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: rgba(0,0,0,0.18);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card--featured {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--white);
}

.pricing-card--featured:hover {
  border-color: rgba(255,255,255,0.2);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.pricing-card--featured .pricing-card__name { color: var(--white); }

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.pricing-card--featured .pricing-card__desc { color: rgba(255,255,255,0.5); }

.pricing-card__price {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-card--featured .pricing-card__price { border-bottom-color: rgba(255,255,255,0.1); }

.pricing-card__amount {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-card--featured .pricing-card__amount { color: var(--white); }

.pricing-card__amount sup {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
}

.pricing-card__period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

.pricing-card--featured .pricing-card__period { color: rgba(255,255,255,0.4); }

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.pricing-card--featured .pricing-feature { color: rgba(255,255,255,0.85); }

.pricing-feature__check {
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

.pricing-card--featured .pricing-feature__check {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.pricing-card__cta {
  display: block;
  text-align: center;
  padding: 0.9375rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  text-decoration: none;
}

.pricing-card__cta:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.pricing-card--featured .pricing-card__cta {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.pricing-card--featured .pricing-card__cta:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* ---------- PORTFOLIO SECTION HEADER ---------- */
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.portfolio-header .section__title { margin-bottom: 0; }

/* ---------- FOOTER ---------- */
.footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: var(--bg);
}

.footer__inner {
  background: var(--bg-light);
}

.footer__address-text {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.footer__address-text a {
  color: rgba(255,255,255,0.45);
}
.footer__address-text a:hover {
  color: rgba(255,255,255,0.8);
}

.footer__social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.footer__social-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer__social-link:hover { color: var(--text); }

.footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom-link {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: color var(--transition);
}
.footer__bottom-link:hover { color: var(--text); }

.footer__inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__logo img { width: 100px; height: auto; }

.footer__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer__nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  transition: all var(--transition);
}
.footer__nav-link:hover { color: var(--text); background: var(--border); }

.footer__copy {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ---------- FADE-IN ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- UTILITY ---------- */
.text-nowrap { white-space: nowrap; }

/* ---------- DIVIDER ---------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  :root { --section-gap: 6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
  .stats-grid .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .stats-grid .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .about-grid { gap: 3rem; }
}

@media (max-width: 991px) {
  :root { --section-gap: 5rem; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid--3 { grid-template-columns: 1fr 1fr; }
  .portfolio-grid--photo { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual { height: 300px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .hero-page__bg-text { display: none; }

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

@media (max-width: 768px) {
  :root { --section-gap: 4rem; }

  .hero { padding-top: 5rem; padding-bottom: 5rem; }

  .nav {
    position: fixed;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
  }
  /* backdrop-filter creates a containing block for fixed children — remove it when menu is open */
  .nav.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.97);
  }

  body { padding-top: 72px; }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 9998;
    animation: menu-fade-in 0.25s ease both;
  }

  @keyframes menu-fade-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav__links.open { display: flex; }
  .nav__link { font-size: 1.1rem; }
  .nav__link--cta { margin-left: 0; }
  .nav__link--mobile-cta { display: flex; }
  .nav__cta-desktop { display: none; }

  .nav__burger { display: flex; z-index: 9999; }

  .hero__actions { flex-direction: column; align-items: flex-start; }

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

  .portfolio-grid,
  .portfolio-grid--3,
  .portfolio-grid--photo { grid-template-columns: 1fr; }

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

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

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

  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid .client-item { height: 110px; padding: 1rem; }
  .clients__grid .client-item img { height: 44px; max-width: 120px; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; }

  .contact-section .section-tag,
  .contact__info-title,
  .contact__info-desc { text-align: center; }

  .photo-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .photo-item__label { font-size: 0.875rem; }

  .cta-banner { padding: 3rem 1.75rem; }

  .hero-page { padding-top: 4rem; padding-bottom: 4rem; }

  .pricing-section__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero__title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero-page__title { font-size: clamp(2rem, 7.5vw, 3rem); }
  .stats-grid { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .ticker__item { font-size: 1.1rem; padding: 0 1.5rem; }
  .hero { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-page { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .contact-form { padding: 1.75rem; }
  .pricing-card { padding: 1.5rem; }
  .pricing-card__amount { font-size: 2.25rem; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .service-card { padding: 1.5rem 1.25rem; }
  .video-item { padding-top: 65%; }
}

/* ---------- RESPONSIVE IMPROVEMENTS ---------- */
@media (max-width: 991px) {
  .section__head { margin-bottom: 2.5rem; }
  .section__head--center { margin-bottom: 2.5rem; }
  .stats-grid { gap: 0; }
  .about__title { font-size: clamp(2.25rem, 6vw, 3.5rem); }
}

@media (max-width: 768px) {
  .section__head { margin-bottom: 2rem; }
  .section__head--center { margin-bottom: 2rem; }
  .hero__sub { font-size: 1rem; }
  .about__title { font-size: clamp(2rem, 8vw, 3rem); }
  .contact__info-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .cta-banner__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .cta-banner__sub { font-size: 0.9375rem; }
  .service-card { padding: 1.75rem 1.5rem; }
  .section__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .contact-grid { gap: 2.5rem; }
}

@media (max-width: 480px) {
  .portfolio-grid--3 { grid-template-columns: 1fr; }
  .blog-card { min-height: 260px; padding: 1.75rem 1.5rem 1.5rem; }
  .section--tight { padding-top: 3rem; padding-bottom: 3rem; }
  .about__visual { height: 240px; }
  .cta-banner { padding: 2.5rem 1.25rem; border-radius: var(--radius-lg); }
  .photo-item img { height: 200px; }
  .btn { font-size: 0.8rem; padding: 0.75rem 1.375rem; }
  .stats-grid { border-radius: var(--radius-lg); }
  .section__head--center { margin-left: 0; margin-right: 0; text-align: left; }
  .hero__actions { gap: 0.75rem; }
  .hero__sub { font-size: 0.9375rem; }
  .footer__inner { padding: 1.5rem; }
  .pricing-section__title { font-size: 1.5rem; }
  .nav__logo img { width: 110px; }
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; outline: none; }

/* ---------- FOCUS VISIBLE ---------- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.nav__link:focus-visible {
  background: var(--bg-light);
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
.nav__burger:focus-visible {
  background: var(--bg-light);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* Portfolio info visible on keyboard focus */
.portfolio-item:focus-within .portfolio-item__overlay { opacity: 1; }
.portfolio-item:focus-within .portfolio-item__info {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- TITLE WORD ANIMATION ---------- */
.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

@keyframes word-up {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.word-in {
  display: inline-block;
  animation: word-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 0.11s + 0.05s);
  will-change: transform, opacity;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
  .word-in { animation: none; }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 16px 80px rgba(0,0,0,0.6);
  display: block;
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
  z-index: 2001;
}

.lightbox__close:hover { background: rgba(255,255,255,0.2); }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2001;
  font-family: var(--font);
  line-height: 1;
}
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__img { transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.15s ease; }

/* ---------- PHOTO MASONRY GALLERY ---------- */
.photo-masonry {
  columns: 3 240px;
  column-gap: 1rem;
}
.photo-masonry .photo-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  display: block;
}
.photo-masonry .photo-item img {
  height: auto;
  width: 100%;
  aspect-ratio: unset;
}
.photo-masonry .photo-item--featured img {
  max-height: 70vh;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .photo-masonry { columns: 2 160px; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .photo-masonry { columns: 1; }
}
