/* ============================================
   United Services Egypt — Industrial Luxury
   Concept 01 · Design System
   ============================================ */

:root {
  --void: #0B0C0E;
  --graphite: #1A1D21;
  --graphite-light: #242830;
  --copper: #B87333;
  --copper-light: #D4954A;
  --copper-dark: #8F5A28;
  --ivory: #F3EEE6;
  --mist: #A7ADB5;
  --mist-dim: rgba(167, 173, 181, 0.45);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Outfit', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-height: 80px;
  --section-gap: clamp(5rem, 12vw, 9rem);
  --content-max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --btn-radius: 4px;
  --card-radius: 2px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-ui);
  font-weight: 300;
  background: var(--void);
  color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--copper);
  color: var(--void);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---- Loader ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0;
  animation: loaderFadeIn 1s var(--ease-out-expo) 0.3s forwards;
}

.loader__calibrate {
  width: min(280px, 70vw);
  height: 1px;
  background: rgba(184, 115, 51, 0.15);
  position: relative;
  overflow: hidden;
}

.loader__calibrate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  transform: translateX(-100%);
  animation: calibrate 2.2s var(--ease-in-out) infinite;
}

.loader__progress {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  opacity: 0;
  animation: loaderFadeIn 0.6s var(--ease-out-expo) 0.6s forwards;
}

@keyframes calibrate {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

/* ---- Page Transition ---- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--void);
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  will-change: transform;
}

.page-transition.is-active {
  pointer-events: all;
}

.page-transition__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease-out-expo),
              backdrop-filter 0.5s,
              border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(11, 12, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(184, 115, 51, 0.12);
}

/* Soft reaction while the title card is still in light */
.nav.nav--over-hero:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}

.nav.nav--over-hero.is-scrolled {
  background: rgba(11, 12, 14, 0.55);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(184, 115, 51, 0.08);
}

.nav__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 1002;
  background: transparent;
}

/* Living material logo — left nav, transparent, GPU opacity cycles */
.living-logo {
  --logo-metal: 0;
  position: relative;
  width: 58px;
  height: 54px;
  flex-shrink: 0;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.living-logo__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent !important;
  border: 0;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
  opacity: 0;
}

.living-logo__layer--original {
  opacity: 1;
  filter: none;
  animation: logoMaterialOriginal 18s ease-in-out infinite;
}

.living-logo__layer--titanium {
  filter: grayscale(0.82) brightness(1.28) contrast(1.12) sepia(0.08);
  animation: logoMaterialTitanium 18s ease-in-out infinite;
}

.living-logo__layer--graphite {
  filter: grayscale(1) brightness(0.88) contrast(1.22);
  animation: logoMaterialGraphite 18s ease-in-out infinite;
}

.living-logo__layer--copper {
  filter: sepia(0.72) saturate(1.25) hue-rotate(-16deg) brightness(0.95) contrast(1.1);
  animation: logoMaterialCopper 18s ease-in-out infinite;
}

/* Soft specular — hover only, transform only */
.living-logo__specular {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 60%
  );
  opacity: 0;
  transform: translate3d(-40%, 0, 0);
  pointer-events: none;
  mix-blend-mode: soft-light;
  transition: opacity 0.5s ease;
}

.nav__logo:hover .living-logo__specular,
.nav__logo:focus-visible .living-logo__specular {
  opacity: 1;
  animation: logoSpecularSweep 1.4s ease-out 1;
}

@keyframes logoSpecularSweep {
  from { transform: translate3d(-45%, 0, 0); }
  to { transform: translate3d(45%, 0, 0); }
}

/* Original → titanium → graphite → copper → original (18s) */
@keyframes logoMaterialOriginal {
  0%, 8% { opacity: 1; }
  18%, 28% { opacity: 0; }
  78%, 88% { opacity: 0; }
  96%, 100% { opacity: 1; }
}

@keyframes logoMaterialTitanium {
  0%, 8% { opacity: 0; }
  18%, 28% { opacity: 1; }
  38%, 100% { opacity: 0; }
}

@keyframes logoMaterialGraphite {
  0%, 28% { opacity: 0; }
  38%, 48% { opacity: 1; }
  58%, 100% { opacity: 0; }
}

@keyframes logoMaterialCopper {
  0%, 48% { opacity: 0; }
  58%, 70% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

/* Scroll: slight metallic contrast (filter contrast via opacity skew of metal layers) */
.nav.is-scrolled .living-logo,
.nav.nav--over-hero.is-scrolled .living-logo,
.nav.is-logo-metal .living-logo {
  filter: contrast(1.1) brightness(1.05);
}

.nav__logo img {
  /* legacy fallback if single img remains on other pages briefly */
  height: 52px;
  width: auto;
  max-height: 52px;
  object-fit: contain;
  background: transparent;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1.1;
  color: var(--ivory);
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav__logo-short {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
}

@media (prefers-reduced-motion: reduce) {
  .living-logo__layer--original {
    animation: none !important;
    opacity: 1 !important;
  }
  .living-logo__layer--titanium,
  .living-logo__layer--graphite,
  .living-logo__layer--copper,
  .living-logo__specular {
    animation: none !important;
    opacity: 0 !important;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.4s var(--ease-out-expo);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ivory);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 1rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  z-index: 1002;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
  transform-origin: center;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--void);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s;
}

.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__link:hover {
  color: var(--copper);
}

.mobile-menu__cta {
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu.is-open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--btn-radius);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--copper);
  color: var(--void);
  border: 1px solid var(--copper);
}

.btn--primary:hover {
  background: var(--copper-light);
  border-color: var(--copper-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(243, 238, 230, 0.25);
}

.btn--ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.btn__arrow {
  transition: transform 0.35s var(--ease-out-expo);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section--dark {
  background: var(--void);
}

.section--graphite {
  background: var(--graphite);
}

.section__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mist);
  max-width: 540px;
  line-height: 1.7;
}

.section__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin: 0 auto;
}

/* Reveal animations — visible by default.
   GSAP handles entrance motion. Never leave content at opacity:0 in CSS
   or gsap.from() will animate 0→0 and sections appear as empty black blocks. */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Hero — editorial petroleum opening ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin: 0;
  background: var(--void);
  text-align: left;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(28vh, 220px);
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(11, 12, 14, 0.4) 55%,
    var(--void) 100%
  );
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.hero__photo-wrap {
  position: absolute;
  inset: -4%;
  transform: translateZ(0) scale(1.02);
  will-change: transform;
  animation: heroPhotoBreath 28s ease-in-out infinite;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Bias crop toward right-weighted facility; keep left clean for type */
  object-position: 78% 42%;
  display: block;
  opacity: 0;
  will-change: opacity, transform;
  transform: translateZ(0);
}

/* Left readability graphite wash; softer on facility highlights */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 12, 14, 0.9) 0%,
      rgba(11, 12, 14, 0.78) 26%,
      rgba(11, 12, 14, 0.38) 48%,
      rgba(11, 12, 14, 0.12) 70%,
      rgba(11, 12, 14, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(11, 12, 14, 0.42) 0%,
      transparent 40%,
      rgba(11, 12, 14, 0.52) 100%
    );
  pointer-events: none;
}

.hero__darken {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 14, 0.5);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
}

.hero__fog {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 50% 40% at 72% 48%, rgba(167, 173, 181, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 70%, rgba(167, 173, 181, 0.04) 0%, transparent 65%);
  mix-blend-mode: soft-light;
  opacity: 0.5;
  animation: heroFogDrift 38s ease-in-out infinite;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.hero__vol {
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(ellipse 24% 50% at 70% 40%, rgba(243, 238, 230, 0.05) 0%, transparent 68%),
    radial-gradient(ellipse 14% 35% at 78% 55%, rgba(184, 115, 51, 0.03) 0%, transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0.45;
  animation: heroVolBreath 24s ease-in-out infinite;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.hero__particles {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(1px 1px at 18% 28%, rgba(243, 238, 230, 0.28) 0, transparent 100%),
    radial-gradient(1px 1px at 62% 44%, rgba(243, 238, 230, 0.18) 0, transparent 100%),
    radial-gradient(1px 1px at 41% 72%, rgba(243, 238, 230, 0.16) 0, transparent 100%),
    radial-gradient(1px 1px at 78% 22%, rgba(243, 238, 230, 0.2) 0, transparent 100%),
    radial-gradient(1px 1px at 88% 68%, rgba(243, 238, 230, 0.14) 0, transparent 100%);
  animation: heroDust 54s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 75% at 58% 48%,
    transparent 40%,
    rgba(11, 12, 14, 0.35) 78%,
    rgba(11, 12, 14, 0.65) 100%
  );
  opacity: 0.8;
  animation: heroVignetteBreath 18s ease-in-out infinite;
  pointer-events: none;
}

.hero__grain {
  position: absolute;
  inset: -8%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
  animation: heroGrain 1.15s steps(2) infinite;
  pointer-events: none;
  transform: translateZ(0);
}

@keyframes heroFogDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.2%, -0.8%, 0) scale(1.02); }
}

@keyframes heroVolBreath {
  0%, 100% { opacity: 0.35; transform: translate3d(0, 0, 0) scale(1); }
  50% { opacity: 0.55; transform: translate3d(0.3%, -0.4%, 0) scale(1.03); }
}

@keyframes heroDust {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0.4%, -0.7%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes heroVignetteBreath {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 0.88; }
}

@keyframes heroGrain {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-0.6%, 0.4%, 0); }
  100% { transform: translate3d(0.3%, -0.2%, 0); }
}

@keyframes heroPhotoBreath {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.02); }
  50% { transform: translate3d(-0.6%, 0.3%, 0) scale(1.035); }
}

.hero:not(.is-inview) .hero__fog,
.hero:not(.is-inview) .hero__vol,
.hero:not(.is-inview) .hero__particles,
.hero:not(.is-inview) .hero__vignette,
.hero:not(.is-inview) .hero__grain,
.hero:not(.is-inview) .hero__photo-wrap,
.hero:not(.is-inview) .hero__cue-chevron {
  animation-play-state: paused;
}

.hero__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 2rem) var(--gutter) 6.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero__copy {
  width: min(100%, 36rem);
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.55rem;
  transform: translateZ(0);
  will-change: transform;
}

.hero__label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--copper);
  opacity: 0;
}

.hero__headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: rgba(243, 238, 230, 0.94);
  max-width: 11ch;
  opacity: 0;
}

.hero__support {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(167, 173, 181, 0.78);
  max-width: 36ch;
  opacity: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem 2rem;
  margin-top: 0.9rem;
  opacity: 0;
}

.hero__enter {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.92);
  background: transparent;
  padding: 1rem 1.85rem;
  border: 1px solid rgba(184, 115, 51, 0.55);
  text-decoration: none;
  transition:
    background 0.65s var(--ease-out-expo),
    border-color 0.65s var(--ease-out-expo),
    color 0.65s var(--ease-out-expo),
    transform 0.65s var(--ease-out-expo);
}

.hero__enter:hover {
  background: rgba(184, 115, 51, 0.1);
  border-color: rgba(184, 115, 51, 0.9);
  transform: translateY(-1px);
}

.hero__enter:focus-visible {
  outline: 1px solid rgba(184, 115, 51, 0.7);
  outline-offset: 4px;
}

.hero__continue {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(167, 173, 181, 0.5);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.5s var(--ease-out-expo), border-color 0.5s var(--ease-out-expo);
}

.hero__continue:hover {
  color: rgba(243, 238, 230, 0.78);
  border-bottom-color: rgba(184, 115, 51, 0.4);
}

.hero__cue {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: 1.65rem;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  text-decoration: none;
  color: rgba(167, 173, 181, 0.4);
  opacity: 0;
}

.hero__cue-label {
  font-family: var(--font-ui);
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero__cue-chevron {
  width: 8px;
  height: 8px;
  margin-left: 0.35rem;
  border-right: 1px solid rgba(184, 115, 51, 0.55);
  border-bottom: 1px solid rgba(184, 115, 51, 0.55);
  transform: rotate(45deg);
  animation: heroCueNudge 3.8s ease-in-out infinite;
}

@keyframes heroCueNudge {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.35; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__fog,
  .hero__vol,
  .hero__particles,
  .hero__vignette,
  .hero__grain,
  .hero__photo-wrap,
  .hero__cue-chevron {
    animation: none !important;
  }

  .hero__photo,
  .hero__label,
  .hero__headline,
  .hero__support,
  .hero__cta,
  .hero__cue {
    opacity: 1 !important;
  }
}

@media (max-width: 900px) {
  .hero__copy {
    max-width: min(100%, 32rem);
  }

  .hero__headline {
    max-width: 14ch;
  }
}

@media (max-width: 768px) {
  .hero__stage {
    padding-bottom: 5.5rem;
  }

  .hero__copy {
    max-width: 100%;
    gap: 1.1rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero__enter {
    text-align: left;
  }

  .hero__cue {
    left: var(--gutter);
    transform: none;
    align-items: flex-start;
  }
}

/* ---- Cinema Chapter (Look Development still scrub · polish) ---- */
.cinema {
  --cinema-runway: 420vh;
  --cinema-caption-safe: clamp(5rem, 10vh, 7rem);
  position: relative;
  height: var(--cinema-runway);
  margin: 0;
  background: var(--void);
  contain: layout style;
  border: 0;
}

.cinema__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 2;
  isolation: isolate;
}

.cinema__stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--void);
}

.cinema__media,
.cinema__video,
.cinema__atmosphere,
.cinema__overlay,
.cinema__handoff,
.cinema__exposure,
.cinema__narrative,
.cinema__ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cinema__media {
  z-index: 1;
  background: var(--void);
  overflow: hidden;
  transform: translateZ(0);
}

/* Scroll-controlled cinema video (behind overlays + captions) */
.cinema__video {
  z-index: 1;
  background: var(--void);
  overflow: hidden;
  transform: translateZ(0);
  display: none;
}

.cinema__video-el {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  background: var(--void);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.cinema[data-cinema-mode="stills"] .cinema__media {
  display: block;
}

.cinema[data-cinema-mode="stills"] .cinema__video {
  display: none;
}

.cinema[data-cinema-mode="video"] .cinema__media {
  display: none;
}

.cinema[data-cinema-mode="video"] .cinema__video {
  display: block;
}

.cinema[data-cinema-mode="video"].is-reduced .cinema__video-el {
  opacity: 1;
}

.cinema__plate {
  position: absolute;
  inset: 0;
  opacity: 0;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity;
  overflow: hidden;
}

.cinema__plate.is-active {
  opacity: 1;
}

.cinema__plate-depth {
  position: absolute;
  inset: -4%;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.cinema__plate-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform;
  background: var(--void);
}

.cinema__plate-img--ld01 {
  object-position: center 48%;
  transform-origin: 50% 52%;
}

.cinema__plate-img--ld02 {
  object-position: center 42%;
  transform-origin: 48% 44%;
}

.cinema__plate-img--ld03 {
  object-position: 58% 42%;
  transform-origin: 58% 48%;
}

/* Macro lining shimmer — photographic, not emissive */
.cinema__shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(
    118deg,
    transparent 34%,
    rgba(243, 238, 230, 0.045) 48%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  transform: translate3d(-8%, 0, 0);
  will-change: opacity, transform;
}

/* Atmosphere — barely noticeable cinema breathing */
.cinema__atmosphere {
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.6s linear;
}

.cinema.is-cinema-active .cinema__atmosphere {
  opacity: 1;
}

.cinema__rays {
  position: absolute;
  inset: -8%;
  opacity: 0;
  background:
    radial-gradient(ellipse 42% 58% at 50% 38%, rgba(243, 238, 230, 0.055) 0%, transparent 62%),
    radial-gradient(ellipse 18% 40% at 48% 52%, rgba(243, 238, 230, 0.03) 0%, transparent 70%);
  mix-blend-mode: soft-light;
  will-change: opacity, transform;
  animation: cinemaRaysBreath 26s ease-in-out infinite;
  animation-play-state: paused;
}

.cinema.is-cinema-active .cinema__rays {
  animation-play-state: running;
}

.cinema__dust {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(243, 238, 230, 0.35) 0, transparent 100%),
    radial-gradient(1px 1px at 38% 64%, rgba(243, 238, 230, 0.28) 0, transparent 100%),
    radial-gradient(1px 1px at 71% 31%, rgba(243, 238, 230, 0.22) 0, transparent 100%),
    radial-gradient(1px 1px at 84% 78%, rgba(243, 238, 230, 0.3) 0, transparent 100%),
    radial-gradient(1.2px 1.2px at 55% 48%, rgba(243, 238, 230, 0.18) 0, transparent 100%),
    radial-gradient(1px 1px at 23% 81%, rgba(243, 238, 230, 0.25) 0, transparent 100%);
  background-size: 100% 100%;
  animation: cinemaDustDrift 48s linear infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}

.cinema.is-cinema-active .cinema__dust {
  animation-play-state: running;
}

.cinema__bloom {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: radial-gradient(
    ellipse 70% 55% at 50% 42%,
    rgba(243, 238, 230, 0.06) 0%,
    transparent 68%
  );
  mix-blend-mode: soft-light;
  will-change: opacity;
}

.cinema__grain {
  position: absolute;
  inset: -10%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  animation: cinemaGrainShift 0.8s steps(2) infinite;
  animation-play-state: paused;
  will-change: transform;
}

.cinema.is-cinema-active .cinema__grain {
  animation-play-state: running;
}

.cinema__aberration {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background:
    linear-gradient(90deg, rgba(120, 140, 160, 0.08), transparent 8%, transparent 92%, rgba(160, 120, 110, 0.07));
  mix-blend-mode: screen;
  pointer-events: none;
}

.cinema__vignette {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background: radial-gradient(
    ellipse 78% 72% at 50% 48%,
    transparent 42%,
    rgba(11, 12, 14, 0.28) 78%,
    rgba(11, 12, 14, 0.55) 100%
  );
  will-change: opacity;
}

@keyframes cinemaDustDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0.45%, -0.85%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes cinemaGrainShift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-0.9%, 0.55%, 0); }
  100% { transform: translate3d(0.45%, -0.3%, 0); }
}

@keyframes cinemaRaysBreath {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0.4%, -0.6%, 0) scale(1.03); }
}

.cinema__overlay {
  z-index: 3;
  background:
    linear-gradient(
      180deg,
      rgba(11, 12, 14, 0.5) 0%,
      rgba(11, 12, 14, 0.12) 22%,
      transparent 40%,
      transparent 55%,
      rgba(11, 12, 14, 0.55) 78%,
      rgba(26, 29, 33, 0.82) 100%
    );
}

.cinema__handoff {
  z-index: 4;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(26, 29, 33, 0.35) 35%,
    var(--graphite) 100%
  );
  opacity: 0;
  will-change: opacity;
}

.cinema__exposure {
  z-index: 4;
  background: rgba(243, 238, 230, 0.018);
  opacity: 0;
  mix-blend-mode: soft-light;
  will-change: opacity;
}

/* Narrative chapters — emotional, not descriptive */
.cinema__narrative {
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding:
    0
    max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter)))
    var(--cinema-caption-safe);
}

.cinema__scene {
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter)));
  bottom: var(--cinema-caption-safe);
  right: var(--gutter);
  max-width: min(32rem, 88vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  pointer-events: none;
}

.cinema__label,
.cinema__title,
.cinema__sub,
.cinema__bridge,
.cinema__words li {
  margin: 0;
  opacity: 0;
  will-change: opacity, transform, filter;
  text-shadow: 0 1px 18px rgba(11, 12, 14, 0.45);
}

.cinema__label {
  font-family: var(--font-ui);
  font-size: clamp(0.65rem, 0.9vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(184, 115, 51, 0.72);
}

.cinema__title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: rgba(243, 238, 230, 0.9);
  max-width: 12ch;
}

.cinema__title--after {
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  max-width: 16ch;
  color: rgba(243, 238, 230, 0.78);
}

.cinema__sub {
  font-family: var(--font-ui);
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: rgba(167, 173, 181, 0.68);
  max-width: 24ch;
}

.cinema__words {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cinema__words li {
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 1.15vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(167, 173, 181, 0.58);
}

.cinema__words--triad {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 0.25rem;
}

.cinema__bridge {
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter)));
  bottom: calc(var(--cinema-caption-safe) + 1.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(243, 238, 230, 0.82);
  max-width: 14ch;
}

.cinema__ui {
  z-index: 7;
  inset: auto 0 0 0;
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 var(--gutter) 1.35rem;
  pointer-events: none;
}

.cinema__chapters {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  max-width: 220px;
  position: relative;
  padding-bottom: 0.55rem;
}

.cinema__chapter {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(167, 173, 181, 0.28);
  transition: color 0.7s var(--ease-out-expo);
}

.cinema__chapter.is-active {
  color: rgba(184, 115, 51, 0.85);
}

.cinema__chapter-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(167, 173, 181, 0.1);
  overflow: hidden;
}

.cinema__chapter-fill {
  width: 100%;
  height: 100%;
  background: rgba(184, 115, 51, 0.45);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.cinema__skip {
  pointer-events: all;
  position: relative;
  z-index: 7;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(167, 173, 181, 0.38);
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo);
}

.cinema__skip:hover {
  color: rgba(243, 238, 230, 0.7);
  border-bottom-color: rgba(184, 115, 51, 0.35);
}

.cinema__skip:focus-visible {
  color: var(--ivory);
  outline: 1px solid rgba(184, 115, 51, 0.55);
  outline-offset: 4px;
}

.cinema.is-reduced .cinema__plate {
  opacity: 0 !important;
}

.cinema.is-reduced .cinema__plate[data-cinema-plate="3"] {
  opacity: 1 !important;
}

.cinema.is-reduced .cinema__label,
.cinema.is-reduced .cinema__title,
.cinema.is-reduced .cinema__sub,
.cinema.is-reduced .cinema__words li,
.cinema.is-reduced .cinema__bridge {
  opacity: 0.75 !important;
  filter: none !important;
  transform: none !important;
  position: static;
}

.cinema.is-reduced .cinema__scene {
  position: static;
  margin-bottom: 1.75rem;
}

.cinema.is-reduced .cinema__narrative {
  display: block;
  padding-top: 30vh;
}

.cinema.is-reduced .cinema__chapters {
  display: none;
}

.cinema.is-reduced .cinema__handoff {
  opacity: 0 !important;
}

.cinema.is-reduced .cinema__atmosphere,
.cinema.is-reduced .cinema__shimmer,
.cinema.is-reduced .cinema__exposure {
  display: none !important;
}

@media (max-width: 768px) {
  .cinema {
    --cinema-runway: 360vh;
    --cinema-caption-safe: 5.25rem;
  }

  .cinema__scene {
    max-width: min(22rem, 90vw);
    gap: 1rem;
  }

  .cinema__title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    max-width: 11ch;
  }

  .cinema__title--after {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .cinema__chapters {
    max-width: 160px;
    gap: 0.65rem;
  }

  .cinema__plate-img--ld03 {
    object-position: 52% 40%;
  }

  .cinema__dust {
    opacity: 0.1;
  }

  .cinema__grain {
    opacity: 0.022;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinema {
    --cinema-runway: 100vh;
  }

  .cinema__plate-img,
  .cinema__plate-depth {
    will-change: auto;
  }

  .cinema__dust,
  .cinema__grain,
  .cinema__rays {
    animation: none !important;
  }
}

/* ---- Proof Strip ---- */
.proof-strip {
  position: relative;
  z-index: 1;
  margin: 0;
  border-top: 1px solid rgba(184, 115, 51, 0.1);
  border-bottom: 1px solid rgba(184, 115, 51, 0.12);
  background: var(--graphite);
  padding: 1.75rem 0;
  /* Cinema exits into this graphite — prevent seam flash */
  box-shadow: 0 -40px 60px -20px rgba(26, 29, 33, 0.65);
}

.proof-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.proof-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.proof-strip__value {
  color: var(--ivory);
  font-weight: 500;
}

.proof-strip__divider {
  width: 1px;
  height: 16px;
  background: rgba(184, 115, 51, 0.3);
}

.proof-strip__certs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-strip__cert {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(184, 115, 51, 0.25);
  border-radius: var(--btn-radius);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--copper);
}

/* ---- Thesis ---- */
.thesis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.thesis__visual {
  aspect-ratio: 4/5;
  background: var(--graphite);
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.thesis__visual-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(184, 115, 51, 0.15) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(167, 173, 181, 0.04) 2px,
      rgba(167, 173, 181, 0.04) 4px
    );
}

.thesis__visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border: 1px solid rgba(184, 115, 51, 0.2);
  border-radius: 50%;
}

.thesis__visual-ring::before {
  content: '';
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(167, 173, 181, 0.1);
  border-radius: 50%;
}

.thesis__visual-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}

.thesis__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 115, 51, 0.15);
}

.thesis__stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--copper);
  line-height: 1;
}

.thesis__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

/* ---- Capability Chapters ---- */
.chapters {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chapter {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid rgba(167, 173, 181, 0.08);
  align-items: start;
  transition: background 0.5s;
}

.chapter:first-child {
  border-top: 1px solid rgba(167, 173, 181, 0.08);
}

.chapter:hover {
  background: rgba(26, 29, 33, 0.5);
}

.chapter__index {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(184, 115, 51, 0.4);
  line-height: 1;
  padding-top: 0.25rem;
}

.chapter__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.chapter__desc {
  font-size: 0.95rem;
  color: var(--mist);
  line-height: 1.7;
  max-width: 420px;
}

.chapter__visual {
  aspect-ratio: 16/10;
  background: var(--graphite);
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.chapter__visual-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

.chapter:hover .chapter__visual-bar {
  transform: scaleX(1);
}

.chapter__visual-pattern {
  position: absolute;
  inset: 0;
}

.chapter__visual-pattern--gre {
  background:
    radial-gradient(circle at 30% 50%, rgba(184, 115, 51, 0.12) 0%, transparent 40%),
    linear-gradient(180deg, var(--graphite-light) 0%, var(--void) 100%);
}

.chapter__visual-pattern--coat {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(184, 115, 51, 0.05) 10px, rgba(184, 115, 51, 0.05) 11px),
    linear-gradient(180deg, var(--graphite-light) 0%, var(--void) 100%);
}

.chapter__visual-pattern--comp {
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(184, 115, 51, 0.08) 0deg, transparent 90deg, rgba(167, 173, 181, 0.05) 180deg, transparent 270deg),
    var(--graphite-light);
}

.chapter__visual-pattern--rtv {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(184, 115, 51, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--void) 0%, var(--graphite-light) 100%);
}

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.process-step {
  padding: 2.5rem 2rem;
  background: var(--graphite);
  border: 1px solid rgba(167, 173, 181, 0.06);
  border-radius: var(--card-radius);
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
}

.process-step:hover {
  border-color: rgba(184, 115, 51, 0.3);
  transform: translateY(-4px);
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(184, 115, 51, 0.35);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.process-step__desc {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.65;
}

/* ---- Projects Teaser ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  position: relative;
  aspect-ratio: 3 / 4;
  min-height: 0;
  background: var(--void);
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  isolation: isolate;
}

.project-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.8s var(--ease-out-expo);
  transform: translateZ(0);
}

.project-card:hover .project-card__bg {
  transform: scale(1.04);
}

.project-card__bg--1,
.project-card__bg--2,
.project-card__bg--3 {
  background: var(--graphite);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(11, 12, 14, 0.92) 0%, rgba(11, 12, 14, 0.35) 42%, transparent 68%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.75rem;
  pointer-events: none;
}

.project-card__region {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.55rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
  margin: 0;
  max-width: 14ch;
}

.project-card__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out-expo);
  pointer-events: none;
}

.project-card:hover .project-card__line {
  transform: scaleX(1);
}

.project-card:focus-visible {
  outline: 1px solid rgba(184, 115, 51, 0.65);
  outline-offset: 3px;
}

/* ---- Alliances ---- */
.alliances {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
}

.alliance {
  text-align: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.alliance:hover {
  transform: translateY(-6px);
}

.alliance__flag {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(184, 115, 51, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.alliance__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}

.alliance__role {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---- CTA Banner ---- */
.cta-banner {
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(184, 115, 51, 0.1) 0%, transparent 60%),
    var(--graphite);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.cta-banner__text {
  color: var(--mist);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Footer ---- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(167, 173, 181, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--mist);
  max-width: 280px;
  line-height: 1.65;
}

.footer__heading {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--mist);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--ivory);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(167, 173, 181, 0.06);
  font-size: 0.75rem;
  color: var(--mist-dim);
}

.footer__certs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer__cert {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--mist);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(184, 115, 51, 0.06) 0%, transparent 50%),
    var(--void);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}

.page-hero__desc {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-block {
  margin-bottom: 3rem;
}

.about-block__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.about-block__text {
  font-size: 0.95rem;
  color: var(--mist);
  line-height: 1.75;
}

.about-facility {
  aspect-ratio: 16/11;
  background: var(--graphite);
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.about-facility__inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(11, 12, 14, 0.7) 0%, transparent 40%),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(167, 173, 181, 0.03) 40px, rgba(167, 173, 181, 0.03) 41px),
    var(--graphite-light);
}

.about-facility__label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

.about-facility__size {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--copper);
  line-height: 1;
}

.about-facility__caption {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 0.25rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  background: var(--graphite);
  border: 1px solid rgba(167, 173, 181, 0.06);
  border-radius: var(--card-radius);
  transition: border-color 0.4s;
}

.why-card:hover {
  border-color: rgba(184, 115, 51, 0.25);
}

.why-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(184, 115, 51, 0.4);
  margin-bottom: 1rem;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.why-card__text {
  font-size: 0.875rem;
  color: var(--mist);
  line-height: 1.65;
}

/* ---- Services Page ---- */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 5vw, 4rem) 0;
  border-bottom: 1px solid rgba(167, 173, 181, 0.08);
  align-items: center;
}

.service-item:first-child {
  border-top: 1px solid rgba(167, 173, 181, 0.08);
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-item__tag {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.service-item__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.service-item__desc {
  font-size: 0.95rem;
  color: var(--mist);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-item__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-item__feature {
  font-size: 0.8rem;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-item__feature::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--copper);
  flex-shrink: 0;
}

.service-item__visual {
  aspect-ratio: 4/3;
  background: var(--graphite);
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.service-visual {
  position: absolute;
  inset: 0;
}

.service-visual--gre {
  background: radial-gradient(circle at 40% 60%, rgba(184, 115, 51, 0.15) 0%, transparent 50%), var(--graphite-light);
}

.service-visual--wrap {
  background: repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(184, 115, 51, 0.06) 8px, rgba(184, 115, 51, 0.06) 9px), var(--graphite-light);
}

.service-visual--coat {
  background: linear-gradient(180deg, rgba(184, 115, 51, 0.1) 0%, var(--void) 100%);
}

.service-visual--hdpe {
  background: conic-gradient(from 45deg at 50% 50%, rgba(167, 173, 181, 0.08), transparent, rgba(184, 115, 51, 0.1)), var(--graphite-light);
}

.service-visual--rtp {
  background: linear-gradient(135deg, var(--void) 30%, rgba(184, 115, 51, 0.12) 100%);
}

.service-visual--rtv {
  background: radial-gradient(ellipse at 60% 40%, rgba(184, 115, 51, 0.2) 0%, transparent 60%), var(--graphite-light);
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-info__block {
  margin-bottom: 2.5rem;
}

.contact-info__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ivory);
}

.contact-info__value a {
  transition: color 0.3s;
}

.contact-info__value a:hover {
  color: var(--copper);
}

.contact-info__detail {
  font-size: 0.9rem;
  color: var(--mist);
  margin-top: 0.25rem;
}

.contact-form {
  background: var(--graphite);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(167, 173, 181, 0.06);
  border-radius: var(--card-radius);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.contact-form__subtitle {
  font-size: 0.9rem;
  color: var(--mist);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--void);
  border: 1px solid rgba(167, 173, 181, 0.12);
  border-radius: var(--btn-radius);
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--copper);
}

.form-group input.is-error,
.form-group select.is-error,
.form-group textarea.is-error {
  border-color: #c44;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A7ADB5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-error {
  font-size: 0.75rem;
  color: #c66;
  margin-top: 0.35rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--copper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-size: 1.5rem;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.form-success__text {
  font-size: 0.9rem;
  color: var(--mist);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .thesis,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .chapter {
    grid-template-columns: 60px 1fr;
  }

  .chapter__visual {
    grid-column: 1 / -1;
  }

  .process-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-item,
  .service-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__logo-name {
    font-size: 0.8rem;
  }

  .nav__logo-short {
    font-size: 0.52rem;
    letter-spacing: 0.24em;
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .chapter__index {
    font-size: 1.5rem;
  }

  .process-grid,
  .projects-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .proof-strip__divider {
    display: none;
  }

  .proof-strip__inner {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__enter {
    width: min(100%, 18rem);
  }
}
