/* ================================================================
   GWENNATO EPOXY — SHARED FOUNDATION v16
   Premium material identity · rebuilt 2026
   ================================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Surfaces */
  --bg: #08070a;
  --bg-2: #0d0c10;
  --bg-3: #14131a;
  --bg-card: #17161d;
  --bg-card-2: #1f1e27;
  --bg-glass: rgba(14, 13, 18, 0.72);

  /* Accent — warm copper (primary) */
  --gold: #be7838;
  --gold-2: #d99a55;
  --gold-3: #8f5424;
  --gold-wash: rgba(190, 120, 56, 0.10);
  --gold-line: rgba(190, 120, 56, 0.24);
  --gold-glow: rgba(190, 120, 56, 0.35);

  /* Accent — pearl (iridescent secondary) */
  --pearl: #7ea59a;
  --pearl-2: #a9c6bc;
  --pearl-wash: rgba(126, 165, 154, 0.10);

  /* Iridescent gradient — for hover rims, underlines, active chips */
  --iridescent: linear-gradient(90deg, #be7838 0%, #d99a55 30%, #a9c6bc 60%, #7ea59a 100%);
  --iridescent-soft: linear-gradient(90deg, rgba(190,120,56,0.6), rgba(169,198,188,0.6));

  /* Text */
  --text: #f4efe6;
  --text-2: #9a958d;
  --text-3: #5a564f;

  /* Lines */
  --line: rgba(244, 239, 230, 0.06);
  --line-2: rgba(244, 239, 230, 0.14);

  /* Fonts */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body: 'Outfit', -apple-system, system-ui, sans-serif;

  /* Rhythm */
  --pad-x: clamp(20px, 4vw, 60px);
  --section-y: clamp(80px, 10vw, 140px);

  /* Safe area */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
body.no-scroll { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* Soft grain overlay — readable at any zoom */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- 3. TYPOGRAPHY PRIMITIVES ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--iridescent);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before,
.eyebrow.centered::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--iridescent);
}

.display {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.display em {
  font-style: italic;
  font-weight: 400;
  background: var(--iridescent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.8;
  color: var(--text-2);
  font-weight: 300;
  max-width: 56ch;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              background .3s, color .3s, border-color .3s;
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn--primary {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 10px 30px rgba(190,120,56,0.25);
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform .7s var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::before { transform: translateX(100%); }
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  box-shadow: 0 14px 40px rgba(190,120,56,0.4);
}

.btn--ghost {
  background: rgba(244,239,230,0.02);
  color: var(--text);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
  background: var(--gold-wash);
}

.btn--sm { padding: 10px 18px; font-size: 0.68rem; min-height: 36px; }

.btn--wa {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
}
.btn--wa:hover {
  transform: translateY(-2px);
  background: #1EBD5A;
  box-shadow: 0 12px 30px rgba(37,211,102,0.4);
}

/* ---------- 5. LAYOUT UTILS ---------- */
.shell {
  max-width: 1340px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.hr-soft {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  border: 0;
}

/* ---------- 6. NAVBAR ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px var(--pad-x);
  padding-top: calc(18px + var(--safe-t));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .3s, background .4s, backdrop-filter .4s, border-color .4s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px var(--pad-x);
  padding-top: calc(12px + var(--safe-t));
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav__logo {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  z-index: 2;
}
.nav__logo em {
  color: var(--gold);
  font-weight: 300;
  font-style: italic;
  margin-left: 4px;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.62);
  padding: 6px 0;
  position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--iridescent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}
.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold-wash);
  transition: all .3s;
}
.nav__cta svg { width: 14px; height: 14px; }
.nav__cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.nav__cta::after { display: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}
.nav__burger span {
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 7. FOOTER ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px var(--pad-x) 36px;
  padding-bottom: calc(36px + var(--safe-b));
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--iridescent-soft);
  opacity: 0.5;
}
.footer__inner {
  max-width: 1340px;
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer__brand-name {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__brand-name em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}
.footer__brand-text {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 42ch;
}
.footer__col h4 {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a,
.footer__col p {
  font-size: 0.86rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  transition: color .3s;
}
.footer__col a:hover { color: var(--gold-2); }
.footer__col p strong { color: var(--text); font-weight: 500; }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.74rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--text-2);
  font-size: 0.72rem;
  font-weight: 500;
  transition: all .3s;
}
.footer__socials a:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  background: var(--gold-wash);
  transform: translateY(-2px);
}

/* ---------- 8. PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 50vh;
  padding: 160px var(--pad-x) 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,7,10,0.5) 0%, rgba(8,7,10,0.78) 80%, rgba(8,7,10,1) 100%),
    url("../background.jpeg");
  background-size: cover;
  background-position: center 40%;
  z-index: -2;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 110%, rgba(190,120,56,0.18), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.page-hero__inner { max-width: 820px; }
.page-hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0;
}
.page-hero__title em {
  font-style: italic;
  background: var(--iridescent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero__desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 52ch;
  margin: 0 auto;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  justify-content: center;
}
.breadcrumb a { color: var(--text-3); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { color: var(--gold); opacity: 0.6; }

/* ---------- 9. CLIENT LOGO MARQUEE (new) ---------- */
.client-marquee {
  background: var(--bg-2);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.client-marquee__head {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 var(--pad-x);
}
.client-marquee__head h3 {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  color: var(--text-2);
  margin-top: 12px;
}
.client-marquee__head h3 em {
  font-style: italic;
  color: var(--gold-2);
}

.client-marquee__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.client-marquee__track {
  display: flex;
  width: max-content;
  animation: clientMarquee 42s linear infinite;
}
.client-marquee__track:hover { animation-play-state: paused; }

.client-logo-item {
  flex: 0 0 auto;
  width: clamp(140px, 16vw, 200px);
  height: 90px;
  margin: 0 clamp(12px, 2vw, 28px);
  display: grid;
  place-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-3);
  color: var(--text-2);
  transition: border-color .35s, color .35s, transform .35s, background .35s;
}
.client-logo-item:hover {
  border-color: var(--gold-line);
  color: var(--text);
  transform: translateY(-3px);
  background: var(--bg-card);
}
.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4) opacity(0.7);
  transition: filter .35s;
}
.client-logo-item:hover img { filter: grayscale(0) brightness(1) opacity(1); }

.client-logo-wordmark {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: inherit;
  user-select: none;
}

@keyframes clientMarquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 10. REELS SECTION (new) ---------- */
.reels {
  padding: var(--section-y) 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.reels::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--iridescent-soft);
  opacity: 0.35;
}
.reels__inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.reels__head {
  text-align: center;
  margin-bottom: 56px;
}
.reels__head h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-top: 14px;
}
.reels__head h2 em {
  font-style: italic;
  background: var(--iridescent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.reels__head .lead {
  margin: 16px auto 0;
  text-align: center;
}

.reels__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.reel-featured {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  cursor: pointer;
  isolation: isolate;
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.reel-featured:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(190,120,56,0.2); }
.reel-featured video,
.reel-featured .reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.reel-featured:hover video,
.reel-featured:hover .reel-poster { transform: scale(1.04); }
.reel-featured .reel-poster {
  background:
    linear-gradient(180deg, transparent 40%, rgba(8,7,10,0.85) 100%),
    radial-gradient(ellipse at 20% 30%, rgba(190,120,56,0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(126,165,154,0.35) 0%, transparent 50%),
    conic-gradient(from 45deg at 50% 50%, #0a1208, #1e2c12, #2a1a08, #0a1828, #1a2e10, #080e07);
}
.reel-featured__overlay {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(8,7,10,0.92) 100%);
  z-index: 2;
}
.reel-featured__tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8,7,10,0.6);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: auto;
}
.reel-featured__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b5c;
  box-shadow: 0 0 10px #ff3b5c;
}
.reel-featured__title {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.15;
}
.reel-featured__caption {
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.6;
  max-width: 38ch;
}
.reel-featured__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(8,7,10,0.6);
  border: 1px solid rgba(244,239,230,0.24);
  backdrop-filter: blur(12px);
  color: var(--text);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: all .35s var(--ease-out);
}
.reel-featured__play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.reel-featured:hover .reel-featured__play {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

.reels__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.reel-card {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: transform .5s var(--ease-out), border-color .5s;
}
.reel-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
}
.reel-card .reel-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--ease-out);
}
.reel-card:hover .reel-poster { transform: scale(1.05); }
.reel-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,7,10,0.92) 100%);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.reel-card__title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.2;
}
.reel-card__play {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(8,7,10,0.7);
  border: 1px solid rgba(244,239,230,0.2);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: all .3s;
}
.reel-card__play svg { width: 14px; height: 14px; fill: currentColor; margin-left: 1px; }
.reel-card:hover .reel-card__play {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.reels__foot {
  margin-top: 36px;
  text-align: center;
}

/* Reel placeholder posters when images missing */
.reel-card:nth-child(1) .reel-poster {
  background:
    linear-gradient(180deg, transparent 30%, rgba(8,7,10,0.7) 100%),
    conic-gradient(from 30deg at 50% 40%, #2a1808, #5a3018, #be7838, #1a0f05, #3a2010, #d99a55, #1a0f05);
}
.reel-card:nth-child(2) .reel-poster {
  background:
    linear-gradient(180deg, transparent 30%, rgba(8,7,10,0.7) 100%),
    conic-gradient(from 60deg at 50% 50%, #051210, #0f3028, #3a8878, #051210, #2a5a48, #7ea59a, #051210);
}
.reel-card:nth-child(3) .reel-poster {
  background:
    linear-gradient(180deg, transparent 30%, rgba(8,7,10,0.7) 100%),
    conic-gradient(from 120deg at 50% 50%, #05081a, #1a1c35, #8890a8, #05081a, #2a2e4a, #b8c0d8, #05081a);
}

/* ---------- 11. LIGHTBOX (portfolio) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8,7,10,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
  overflow-y: auto;
  padding: var(--safe-t) var(--safe-r) var(--safe-b) var(--safe-l);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__scroll {
  min-height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 40px;
}
.lightbox__inner {
  width: min(1100px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: all .4s var(--ease-out) .05s;
}
.lightbox.is-open .lightbox__inner { transform: translateY(0) scale(1); opacity: 1; }

.lightbox__cover {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.lightbox__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,7,10,0.6) 100%);
}

.lightbox__body {
  padding: 32px clamp(24px, 4vw, 48px) 40px;
}
.lightbox__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.lightbox__meta .chip {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  color: var(--gold-2);
  background: var(--gold-wash);
}
.lightbox__title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 18px;
}
.lightbox__desc {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.75;
  font-weight: 300;
  max-width: 72ch;
}
.lightbox__desc p + p { margin-top: 14px; }
.lightbox__specs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.lightbox__spec {
  padding: 16px 18px;
  background: var(--bg-card-2);
}
.lightbox__spec dt {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.lightbox__spec dd {
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--text);
}
.lightbox__gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.lightbox__gallery-item {
  aspect-ratio: 4/3;
  background-color: var(--bg-3);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.lightbox__cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lightbox__close {
  position: fixed;
  top: calc(20px + var(--safe-t));
  right: calc(20px + var(--safe-r));
  z-index: 10001;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(8,7,10,0.7);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: all .3s;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold-2); transform: rotate(90deg); }
.lightbox__close svg { width: 18px; height: 18px; }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(8,7,10,0.7);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: all .3s;
}
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold-2); }
.lightbox__nav svg { width: 18px; height: 18px; }
.lightbox__nav--prev { left: calc(20px + var(--safe-l)); }
.lightbox__nav--next { right: calc(20px + var(--safe-r)); }

/* ---------- 12. REEL MODAL ---------- */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8,7,10,0.94);
  backdrop-filter: blur(24px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.reel-modal.is-open { opacity: 1; visibility: visible; }
.reel-modal__inner {
  width: min(420px, 100%);
  aspect-ratio: 9/16;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  transform: scale(0.95);
  transition: transform .35s var(--ease-out);
}
.reel-modal.is-open .reel-modal__inner { transform: scale(1); }
.reel-modal__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-modal__ig-link {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* ---------- 13. LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .6s, visibility .6s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.loader__logo {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0;
  animation: loaderFade 0.9s 0.15s ease forwards;
}
.loader__logo em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}
.loader__bar {
  width: 140px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
  border-radius: 1px;
}
.loader__bar-inner {
  height: 100%;
  width: 0;
  background: var(--iridescent);
  animation: loaderProgress 1.2s 0.2s var(--ease-out) forwards;
}
@keyframes loaderFade { to { opacity: 1; } }
@keyframes loaderProgress { to { width: 100%; } }

/* ---------- 14. FLOATING UTIL BUTTONS ---------- */
.float-wa {
  position: fixed;
  bottom: calc(28px + var(--safe-b));
  right: calc(20px + var(--safe-r));
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.float-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: waPulse 2.4s ease infinite;
}
.float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 34px rgba(37,211,102,0.55);
}
.float-wa svg { width: 26px; height: 26px; fill: currentColor; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.to-top {
  position: fixed;
  bottom: calc(96px + var(--safe-b));
  right: calc(24px + var(--safe-r));
  z-index: 900;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  color: var(--text-2);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--gold); color: var(--gold-2); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 15. REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--right { transform: translateX(40px); }
.reveal--right.is-in { transform: translateX(0); }
.reveal--left { transform: translateX(-40px); }
.reveal--left.is-in { transform: translateX(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- 16. CTA SECTION (shared) ---------- */
.cta {
  padding: var(--section-y) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,7,10,0.85), rgba(8,7,10,0.92)),
    url("../background.jpeg");
  background-size: cover;
  background-position: center 60%;
  z-index: -2;
}
.cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,120,56,0.12) 0%, transparent 65%);
  z-index: -1;
  animation: ctaPulse 8s ease infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.05); }
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  margin: 20px 0 20px;
  letter-spacing: -0.015em;
}
.cta__title em {
  font-style: italic;
  background: var(--iridescent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__desc {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
}
.cta__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- 17. FORMS ---------- */
.input, .textarea, .select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 0.92rem;
  transition: border-color .3s, background .3s;
  min-height: 48px;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-3);
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.textarea { resize: vertical; min-height: 120px; }
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d99a55' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  font-weight: 500;
}

/* ---------- 18. RESPONSIVE — SHARED ---------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reels__grid { grid-template-columns: 1fr; gap: 20px; }
  .reel-featured { aspect-ratio: 4/5; max-width: 560px; margin: 0 auto; }
  .reels__side { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .reels__side .reel-card:nth-child(n+4) { display: none; } /* keep 3 on tablet */
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .nav__links.is-mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 80px 24px;
    z-index: 1000;
  }
  .nav__links.is-mobile-open a {
    font-size: 1.25rem;
    letter-spacing: 0.3em;
    color: rgba(244,239,230,0.75);
  }
  .nav__links.is-mobile-open .nav__cta {
    margin-top: 18px;
    padding: 14px 36px;
    font-size: 0.82rem;
  }

  .footer { padding: 56px 24px 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .cta { padding: 80px 24px; }
  .page-hero { padding: 120px 24px 60px; min-height: 40vh; }

  .reels__grid { gap: 18px; }
  .reel-featured { aspect-ratio: 9/14; max-width: 100%; }
  .reels__side {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .reels__side::-webkit-scrollbar { display: none; }
  .reel-card { flex: 0 0 180px; scroll-snap-align: start; }
  .reels__side .reel-card { display: block !important; }

  .client-logo-item {
    width: 130px;
    height: 72px;
    margin: 0 10px;
    padding: 14px 16px;
  }

  .lightbox__scroll { padding: 60px 14px 30px; }
  .lightbox__body { padding: 24px 20px 32px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }

  .float-wa { width: 52px; height: 52px; }
  .float-wa svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .btn { padding: 13px 22px; font-size: 0.72rem; }
  .nav { padding-left: 18px; padding-right: 18px; }
}

/* ---------- 19. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal--left, .reveal--right {
    opacity: 1 !important;
    transform: none !important;
  }
  .client-marquee__track { animation: none !important; }
  video[autoplay] { display: none; }
}

/* ---------- 20. TOUCH TARGETS (iOS) ---------- */
@media (pointer: coarse) {
  .nav__links a, .btn, .nav__cta, .footer__socials a, .footer__col a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer__socials a { width: 44px; height: 44px; }
}

/* ---------- 21. SITE-WIDE EPOXY SUBSTRATE ----------
   Body has a fixed marble bg (background.jpeg). All section backgrounds
   are rewritten as semi-transparent veils so the marble shows through
   continuously throughout the site. Card/button backgrounds keep their
   solid bg-card values for legibility. */

/* Each section paints its own marble layer with a tunable dark veil.
   Using background shorthand with the gradient first so it sits above the
   marble image. background-attachment: scroll keeps it tied to the section. */

.keyword-marquee,
.finish-teaser,
.about,
.promise,
.services,
.featured,
.why,
.cta,
.faq,
.svc-block,
.epoxy-meta,
.features-bar,
.epoxy-types,
.finish-layers,
.pentens,
.pentens-detail,
.uzin-intro,
.uzin-products,
.client-marquee,
.story,
.timeline,
.values,
.showrooms,
.page-hero,
.catalog-page,
.contact-main,
.projects-page,
.footer {
  background-color: var(--bg) !important;
  background-image:
    linear-gradient(180deg, rgba(8,7,10,0.78), rgba(8,7,10,0.84)),
    url("../background.jpeg") !important;
  background-size: cover, cover !important;
  background-position: center, center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
  position: relative;
}

/* Alternating lighter veil for "every other" sections — lets more marble through */
.svc-block:nth-child(even),
.pentens,
.pentens-detail--alt,
.epoxy-meta,
.epoxy-types,
.featured,
.why,
.timeline,
.values,
.client-marquee,
.keyword-marquee,
.finish-teaser {
  background-image:
    linear-gradient(180deg, rgba(13,12,16,0.72), rgba(13,12,16,0.80)),
    url("../background.jpeg") !important;
}

/* Hero keeps its own marble layers; don't double up */
.hero { background: transparent !important; }

/* Footer keeps a heavier veil so it reads as a foot */
.footer {
  background-image:
    linear-gradient(180deg, rgba(8,7,10,0.88), rgba(8,7,10,0.94)),
    url("../background.jpeg") !important;
}
