/* ==========================================================================
   AMS Entreprise — static site stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy/Gilroy-Extrabold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Winter';
  src: url('../fonts/winter/Winter.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0A0B;
  --cream: #F4F1EA;
  --orange: #E73C11;
  --green: #1B9D3B;
  --line: #3F3F46;
  --font-heading: 'Winter', 'Gilroy', sans-serif;
  --font-display: 'Gilroy', sans-serif;
  --font-body: 'Gilroy', sans-serif;
  --font-mono: 'Gilroy', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow--light { color: rgba(244, 241, 234, 0.8); }

.icon { width: 1rem; height: 1rem; stroke: currentColor; flex-shrink: 0; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 1.75rem; height: 1.75rem; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--orange);
  color: var(--cream);
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}
.btn-cta:hover { background: var(--cream); color: var(--bg); }
.btn-cta .icon { transition: transform 0.3s; }
.btn-cta:hover .icon { transform: translateX(4px); }

/* ---- Header / nav ---------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
@media (min-width: 768px) { .site-header { padding: 1.5rem 2.5rem; } }

.site-header--overlay { background: transparent; }
@media (max-width: 767px) { .site-header--overlay { background: #fff; } }
.site-header--solid { position: static; background: var(--bg); border-bottom: 1px solid rgba(63, 63, 70, 0.4); }
.site-header--dark { background: linear-gradient(to bottom, rgba(10,10,11,0.8), transparent); }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 2rem; width: auto; }
@media (min-width: 768px) { .brand-logo { height: 2.5rem; } }
.brand-logo--invert { filter: brightness(0) invert(1); }

.nav-link {
  font-size: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--orange); }
.nav-link--dark { color: rgba(10, 10, 11, 0.7); }

.menu { position: relative; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.8);
}
.menu-btn:hover { color: var(--orange); }
.menu-btn--light { color: rgba(10, 10, 11, 0.8); }
.menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.75rem;
  z-index: 50;
  min-width: 240px;
  background: rgba(10, 10, 11, 0.97);
  border: 1px solid rgba(63, 63, 70, 0.6);
  padding: 0.5rem 0;
}
.menu-panel[hidden] { display: none; }
.menu-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: rgba(244, 241, 234, 0.8);
  transition: background-color 0.2s, color 0.2s;
}
.menu-link:hover { color: var(--cream); background: rgba(231, 60, 17, 0.15); }
.menu-section-label { padding: 0.5rem 1rem 0.25rem; margin-top: 0.25rem; }

/* ---- Magnetic cursor --------------------------------------------------- */

.cursor {
  pointer-events: none;
  position: fixed;
  z-index: 50;
  left: 0; top: 0;
  width: 28px; height: 28px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16,1,0.3,1), width 0.35s cubic-bezier(0.16,1,0.3,1), height 0.35s cubic-bezier(0.16,1,0.3,1);
  mix-blend-mode: difference;
}
.cursor.is-visible { opacity: 1; }
.cursor.cursor--big { width: 110px; height: 110px; }
.cursor__ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.cursor__label {
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 0.5rem;
  line-height: 1.2;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---- Portal (home) ------------------------------------------------------ */

.portal { display: none; height: 100vh; width: 100vw; overflow: hidden; }
@media (min-width: 768px) { .portal { display: flex; } }

.portal-col {
  position: relative;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid rgba(63, 63, 70, 0.3);
  outline: none;
  transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
}
.portal-col:focus-visible { box-shadow: inset 0 0 0 4px var(--orange); }
.portal-col--enterprise { background: var(--orange); }
.portal-col__media {
  position: absolute; inset: 0;
  filter: grayscale(0.8) brightness(0.4);
  transition: filter 0.7s;
}
.portal-col__media img { width: 100%; height: 100%; object-fit: cover; }
.portal-col.is-active .portal-col__media { filter: grayscale(0) brightness(0.7); }
.portal-col__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.3) 50%, rgba(10,10,11,0.5) 100%);
}
.portal-col--enterprise .portal-col__overlay {
  background: linear-gradient(to top, rgba(10,10,11,0.9) 0%, rgba(231,60,17,0.2) 50%, rgba(10,10,11,0.5) 100%);
}
.portal-col__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem;
}
@media (min-width: 768px) { .portal-col__content { padding: 2rem; } }
.portal-col__top { display: flex; align-items: flex-start; justify-content: space-between; }
.portal-col__number { color: rgba(244,241,234,0.4); font-size: 0.75rem; letter-spacing: 0.15em; }
.portal-col__badge { color: rgba(244,241,234,0.5); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; }
.portal-col__location {
  max-height: 0; opacity: 0; overflow: hidden;
  color: rgba(244,241,234,0.6); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 0.75rem;
  transition: max-height 0.5s, opacity 0.5s;
}
.portal-col.is-active .portal-col__location { max-height: 200px; opacity: 1; }
.portal-col__title {
  font-family: var(--font-display);
  color: var(--cream);
  line-height: 1;
  white-space: nowrap;
  font-size: 1.4rem;
  margin-bottom: 3rem;
  margin-left: 0.5rem;
  transform: rotate(-90deg);
  transform-origin: bottom left;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.portal-col.is-active .portal-col__title {
  transform: rotate(0deg) scale(1.1);
  font-size: clamp(1.5rem, 2.2vw, 2.5rem);
  margin-bottom: 0;
  margin-left: 0;
}
.portal-col__cta { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s, opacity 0.5s; }
.portal-col.is-active .portal-col__cta { max-height: 100px; opacity: 1; }
.portal-col__tagline { color: rgba(244,241,234,0.7); font-size: 0.875rem; margin: 0.75rem 0; }
.portal-col__link { color: var(--orange); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---- Mobile stacked cards ------------------------------------------------ */

.mobile-list { display: block; height: 100vh; width: 100%; overflow-y: auto; }
@media (min-width: 768px) { .mobile-list { display: none; } }

.mobile-card { position: relative; height: 22vh; min-height: 160px; overflow: hidden; border-bottom: 1px solid rgba(63,63,70,0.3); }
.mobile-card--enterprise { background: var(--orange); }
.mobile-card__media { position: absolute; inset: 0; filter: grayscale(0.6) brightness(0.5); }
.mobile-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mobile-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(10,10,11,0.4), transparent); }
.mobile-card__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; }
.mobile-card__number { color: rgba(244,241,234,0.4); font-size: 0.625rem; letter-spacing: 0.15em; }
.mobile-card__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); line-height: 1; margin-top: 0.25rem; }
.mobile-card__tagline { color: rgba(244,241,234,0.6); font-size: 0.75rem; margin-top: 0.25rem; }
.mobile-card__link { position: absolute; inset: 0; }

/* ---- Hero slider (entreprise.html) --------------------------------------- */

.hero-slider { position: relative; width: 100%; height: 60vh; overflow: hidden; background: var(--bg); color: var(--cream); }
@media (min-width: 768px) { .hero-slider { height: 80vh; } }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease-out; }
.hero-slide.is-active { opacity: 1; }
.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(10,10,11,0.4), rgba(10,10,11,0.6)); }

.hero-slider__header { position: absolute; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; }
@media (min-width: 768px) { .hero-slider__header { padding: 1.25rem 2.5rem; } }

.hero-slider__caption { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; max-width: 900px; }
@media (min-width: 768px) { .hero-slider__caption { padding: 4rem; } }
.hero-slider__title { font-size: 1.875rem; margin-top: 0.75rem; max-width: 40rem; }
@media (min-width: 768px) { .hero-slider__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-slider__title { font-size: 3.75rem; } }
.hero-slider__subtitle { font-size: 0.8125rem; color: rgba(244,241,234,0.7); margin-top: 1rem; max-width: 28rem; line-height: 1.6; }
.hero-slider__cta { margin-top: 2rem; }
.hero-slider__caption-inner { opacity: 0; transform: translateY(24px); }
.hero-slider__caption-inner.is-animating { animation: hero-caption-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }
@keyframes hero-caption-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-slider__controls { position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 30; display: flex; gap: 0.75rem; }
@media (min-width: 768px) { .hero-slider__controls { bottom: 2.5rem; right: 2.5rem; } }
.hero-slider__btn { width: 2.5rem; height: 2.5rem; border: 1px solid rgba(244,241,234,0.3); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; }
.hero-slider__btn:hover { background: rgba(244,241,234,0.1); }

.hero-slider__dots { position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 30; display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .hero-slider__dots { bottom: 2.5rem; left: 2.5rem; } }
.hero-slider__dot { height: 1px; width: 1.25rem; background: rgba(244,241,234,0.4); transition: all 0.3s; }
.hero-slider__dot.is-active { width: 2.5rem; background: var(--orange); }

/* ---- Project detail ------------------------------------------------------ */

.project-hero { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.project-hero__media { position: absolute; inset: 0; }
.project-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.project-hero__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(10,10,11,0.3), rgba(10,10,11,0.5)); }
.project-hero__status { position: absolute; top: 6rem; left: 1.5rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; letter-spacing: 0.15em; }
@media (min-width: 768px) { .project-hero__status { top: 7rem; left: 2.5rem; } }
.project-hero__status-num { color: var(--orange); }
.project-hero__status-line { width: 2rem; height: 1px; background: rgba(231,60,17,0.5); }
.project-hero__status-label { color: rgba(244,241,234,0.7); text-transform: uppercase; }
.project-hero__titleblock { position: absolute; bottom: 2.5rem; left: 1.5rem; right: 1.5rem; }
@media (min-width: 768px) { .project-hero__titleblock { bottom: 4rem; left: 2.5rem; right: 2.5rem; } }
.project-hero__title { font-size: 3rem; max-width: 56rem; }
@media (min-width: 768px) { .project-hero__title { font-size: 5rem; } }
@media (min-width: 1024px) { .project-hero__title { font-size: 6rem; } }
.project-hero__meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: 0.875rem; }
.project-hero__meta-loc { display: flex; align-items: center; gap: 0.5rem; color: rgba(244,241,234,0.7); }
.project-hero__meta-type { color: rgba(244,241,234,0.4); }

.info-bar { border-top: 1px solid rgba(63,63,70,0.4); border-bottom: 1px solid rgba(63,63,70,0.4); }
.info-bar__grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .info-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.info-bar__item { padding: 1.5rem 1rem; }
@media (min-width: 768px) { .info-bar__item { padding: 2rem 1rem; } }
.info-bar__item--price { background: rgba(27,157,59,0.1); }
.info-bar__icon { color: var(--orange); margin-bottom: 0.5rem; }
.info-bar__value { font-family: 'Gilroy', sans-serif; font-weight: 700; font-size: 1.25rem; }
@media (min-width: 768px) { .info-bar__value { font-size: 1.5rem; } }
.info-bar__label { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(244,241,234,0.4); margin-top: 0.25rem; }

.project-lede { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem; display: grid; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .project-lede { padding: 6rem 2.5rem; } }
@media (min-width: 1024px) { .project-lede { grid-template-columns: 3fr 2fr; gap: 5rem; } }
.project-lede__desc { font-size: 1.125rem; line-height: 1.7; color: rgba(244,241,234,0.85); font-weight: 300; margin-top: 1.25rem; }
@media (min-width: 768px) { .project-lede__desc { font-size: 1.25rem; } }
.project-lede__features { }
@media (min-width: 1024px) { .project-lede__features { border-left: 1px solid rgba(63,63,70,0.4); padding-left: 3rem; } }
.feature-list { margin-top: 1.25rem; }
.feature-list__item { display: flex; gap: 0.75rem; font-size: 0.875rem; color: rgba(244,241,234,0.8); line-height: 1.6; border-bottom: 1px solid rgba(63,63,70,0.3); padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.feature-list__index { color: var(--orange); font-size: 0.75rem; flex-shrink: 0; }

.parallax-block { position: relative; width: 100%; height: 70vh; overflow: hidden; }
@media (min-width: 768px) { .parallax-block { height: 100vh; } }
.parallax-block__media { position: absolute; left: 0; right: 0; top: -8%; bottom: -8%; height: 116%; will-change: transform; }
.parallax-block__media img { width: 100%; height: 100%; object-fit: cover; }
.parallax-block__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,0.4), transparent); }
.parallax-block__counter { position: absolute; bottom: 1.5rem; right: 1.5rem; font-size: 0.625rem; letter-spacing: 0.15em; color: rgba(244,241,234,0.5); }

.cta-band { border-top: 1px solid rgba(63,63,70,0.4); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .cta-band { padding: 5rem 2.5rem; } }
.cta-band__row { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
@media (min-width: 768px) { .cta-band__row { flex-direction: row; align-items: center; } }
.cta-band__title { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 2.5rem; } }

/* ---- About / entreprise page --------------------------------------------- */

.about-section { background: #fff; color: var(--bg); padding-top: 4rem; }
@media (min-width: 768px) { .about-section { padding-top: 5rem; } }
.about-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-title { font-size: 2.5rem; margin-top: 1rem; color: var(--green); }
@media (min-width: 768px) { .about-title { font-size: 4rem; } }
@media (min-width: 1024px) { .about-title { font-size: 4.5rem; } }
.about-subname { font-size: 0.875rem; color: rgba(10,10,11,0.5); margin-top: 0.75rem; letter-spacing: 0.03em; }
.about-lede { font-size: 0.9375rem; line-height: 1.7; color: rgba(10,10,11,0.7); margin-top: 2rem; max-width: 36rem; }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { border-top: 1px solid rgba(10,10,11,0.1); padding-top: 1rem; }
.stat__value { font-size: 2rem; color: var(--orange); }
@media (min-width: 768px) { .stat__value { font-size: 2.25rem; } }
.stat__label { font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(10,10,11,0.5); margin-top: 0.25rem; }

.awards { padding-top: 3rem; }
@media (min-width: 1024px) { .awards { padding-top: 5rem; } }
.awards__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; color: var(--orange); }
.awards-list__item { display: flex; align-items: flex-start; gap: 1rem; border-bottom: 1px solid rgba(10,10,11,0.1); padding-bottom: 1rem; margin-bottom: 1rem; }
.awards-list__index { color: rgba(10,10,11,0.3); font-size: 0.75rem; }
.awards-list__text { font-size: 0.875rem; color: rgba(10,10,11,0.8); line-height: 1.6; }

.dg-section { background: var(--orange); color: #fff; margin-top: 6rem; }
@media (min-width: 768px) { .dg-section { margin-top: 8rem; } }
.dg-inner { max-width: 1280px; margin: 0 auto; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .dg-inner { padding: 6rem 2.5rem; } }
.dg-grid { display: grid; gap: 2.5rem; margin-top: 2rem; align-items: stretch; }
@media (min-width: 1024px) { .dg-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.dg-portrait { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.dg-portrait img { width: 100%; height: 100%; object-fit: cover; }
.dg-text { display: flex; flex-direction: column; justify-content: center; }
.dg-quote { font-family: 'Gilroy', sans-serif; font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin-top: 1.5rem; }
@media (min-width: 768px) { .dg-quote { font-size: 2.25rem; } }
.dg-attribution { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.dg-attribution__name { font-family: var(--font-display); font-size: 1.25rem; }
.dg-attribution__role { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.5rem; }
.dg-attribution__stat { text-align: right; display: none; }
@media (min-width: 768px) { .dg-attribution__stat { display: block; } }
.dg-attribution__stat-value { font-family: var(--font-display); font-size: 2.25rem; }
.dg-attribution__stat-label { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.services-section { background: var(--orange); color: #fff; }
.services-inner { max-width: 1280px; margin: 0 auto; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .services-inner { padding: 6rem 2.5rem; } }
.services-grid { display: grid; gap: 1px; margin-top: 2rem; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.2); }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { background: var(--orange); padding: 2rem; }
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
.service-card__title { font-size: 1.25rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__desc { font-size: 0.875rem; color: rgba(255,255,255,0.85); margin-top: 0.75rem; line-height: 1.6; }

.video-gallery { background: #fff; color: var(--bg); }
.video-gallery__inner { max-width: 1280px; margin: 0 auto; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .video-gallery__inner { padding: 6rem 2.5rem; } }
.video-gallery__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.video-gallery__title { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .video-gallery__title { font-size: 3.5rem; } }
.video-gallery__desc { font-size: 0.9375rem; color: rgba(10,10,11,0.6); margin-top: 1rem; max-width: 36rem; line-height: 1.6; }
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.video-card { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); text-align: left; width: 100%; }
.video-card__poster { position: absolute; inset: 0; }
.video-card__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.video-card:hover .video-card__poster img { transform: scale(1.05); }
.video-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,11,0.8), rgba(10,10,11,0.1), transparent); }
.video-card__index { position: absolute; top: 1rem; left: 1rem; font-size: 0.625rem; letter-spacing: 0.15em; color: rgba(244,241,234,0.7); }
.video-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-card__play-btn { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.video-card:hover .video-card__play-btn { transform: scale(1.1); }
.video-card__meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; }
.video-card__project { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); }
.video-card__title { font-family: var(--font-display); font-size: 1.125rem; color: var(--cream); margin-top: 0.25rem; }

.video-lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,11,0.9); display: flex; align-items: center; justify-content: center; padding: 1rem; }
@media (min-width: 768px) { .video-lightbox { padding: 2.5rem; } }
.video-lightbox[hidden] { display: none; }
.video-lightbox__panel { position: relative; width: 100%; max-width: 1024px; }
.video-lightbox__close { position: absolute; top: -3rem; right: 0; display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(244,241,234,0.7); }
.video-lightbox__close:hover { color: var(--orange); }
.video-lightbox__frame { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video-lightbox__frame video { width: 100%; height: 100%; object-fit: contain; }
.video-lightbox__meta { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* ---- Contact form --------------------------------------------------------- */

.contact-section { padding: 5rem 0; }
@media (min-width: 768px) { .contact-section { padding: 6rem 0; } }
.contact-section--green { background: var(--green); color: #fff; }
.contact-section--white { background: #fff; color: var(--bg); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid--split { grid-template-columns: 1fr 2fr; gap: 5rem; } }
@media (min-width: 1024px) { .contact-grid--wide { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }
.contact-heading { font-size: 2.25rem; margin-top: 1rem; line-height: 1; }
@media (min-width: 768px) { .contact-heading { font-size: 3.5rem; } }
.contact-info-list__item { display: flex; align-items: center; gap: 1rem; }
.contact-info-list__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(231,60,17,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--orange); }
.contact-info-list__text { font-size: 0.875rem; font-family: 'Gilroy', sans-serif; }

.contact-form { }
.contact-form__intro { font-size: 0.875rem; }
.contact-form__intro select { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.25); outline: none; padding: 0.25rem 0.5rem; color: inherit; font: inherit; }
.contact-section--white .contact-form__intro select { border-bottom-color: rgba(10,10,11,0.2); }

.field { margin-top: 2rem; }
.field:first-of-type { margin-top: 0; }
.field__label { display: block; font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; }
.contact-section--white .field__label { color: rgba(10,10,11,0.4); }
.field__required { color: var(--cream); }
.contact-section--white .field__required { color: var(--orange); }
.field__input, .field__textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  outline: none;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: inherit;
  transition: border-color 0.2s;
}
.contact-section--white .field__input, .contact-section--white .field__textarea { border-bottom-color: rgba(10,10,11,0.2); }
.field__input:focus, .field__textarea:focus { border-bottom-color: var(--cream); }
.contact-section--white .field__input:focus, .contact-section--white .field__textarea:focus { border-bottom-color: var(--orange); }
.field__textarea { resize: none; }
.field-row { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-row .field { margin-top: 0; }

.form-success { border: 1px solid rgba(255,255,255,0.4); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
@media (min-width: 768px) { .form-success { padding: 4rem; } }
.contact-section--white .form-success { border-color: rgba(27,157,59,0.4); background: rgba(27,157,59,0.05); }
.form-success__icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.contact-section--white .form-success__icon { background: var(--green); }
.form-success__title { font-size: 1.5rem; }
.contact-section--white .form-success__title { color: var(--green); }
.form-success__text { font-size: 0.875rem; opacity: 0.7; max-width: 28rem; }
.form-success__reset { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.5rem; }
.form-success__reset:hover { text-decoration: underline; }
[hidden] { display: none !important; }

/* ---- Footer ---------------------------------------------------------------- */

.site-footer { border-top: 1px solid rgba(63,63,70,0.4); background: var(--bg); color: var(--cream); }
.site-footer--onwhite { background: #fff; color: var(--bg); border-top-color: rgba(10,10,11,0.1); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .footer-inner { padding: 5rem 2.5rem; } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 4rem; } }
.footer-brand__logo { height: 2.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .footer-brand__logo { height: 3rem; } }
.footer-brand__desc { font-size: 0.875rem; opacity: 0.6; max-width: 24rem; line-height: 1.6; }
.footer-brand__tagline { font-size: 0.75rem; opacity: 0.4; margin-top: 0.75rem; letter-spacing: 0.03em; }
.footer-col__title { font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 1.25rem; }
.footer-contact-list__item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.875rem; opacity: 0.7; }
.footer-nav-list li { margin-bottom: 0.75rem; }
.footer-nav-list a { font-size: 0.875rem; opacity: 0.7; transition: opacity 0.2s; }
.footer-nav-list a:hover { opacity: 1; }
.footer-bottom { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(63,63,70,0.4); font-size: 0.625rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.3; }
.site-footer--onwhite .footer-bottom { border-top-color: rgba(10,10,11,0.1); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* ---- Header nav visibility helpers (index.html) --------------------------- */

.nav-link--lg-only { display: none; }
@media (min-width: 1024px) { .nav-link--lg-only { display: block; } }
.menu--lg-hidden { display: block; }
@media (min-width: 1024px) { .menu--lg-hidden { display: none; } }

/* ---- index.html mobile menu visibility fix ---- */

@media (max-width: 767px) {
  .site-header--overlay .menu-btn { color: rgba(10, 10, 11, 0.8); }
  .site-header--overlay .menu-btn:hover { color: #E73C11; }
}
