/* =========================================================
   AHMED ZAIN — PORTFOLIO
   Built 1:1 from the Illustrator artboards (1920px wide).
   Every size below is written in "u" = 1 Illustrator px,
   so the whole design scales exactly like the artboard.
   ========================================================= */

/* ---------- 1) EDIT THESE: colors & fonts ---------- */
:root {
  --accent: #DFFE01;        /* the yellow-green used for all text, lines & buttons */
  --bg: #000000;            /* base page background */
  --bg-gradient: linear-gradient(180deg, #292929 0%, #171717 30%, #000000 70%, #000000 100%);
  --text: var(--accent);    /* text color  (change to any color to recolor all text) */

  --font-main: "Myriad Pro Local", "Myriad Pro", "myriad-pro", "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-cond: "Myriad Pro Cond", "Myriad Pro", "myriad-pro-condensed", "Barlow Condensed", "Arial Narrow", sans-serif;

  --frame: 1.5;             /* thin yellow frame around each section (like the artboards). Set to 0 to remove */

  /* design unit: 1u = 1 Illustrator px (capped at the 1920 artboard width). JS refines it. */
  --u: calc(min(100vw, 1920px) / 1920);
}

/* ---------- Fonts: Myriad Pro Regular + Bold Condensed ----------
   Works automatically if Myriad Pro is installed on the device.
   To use it on the live site, drop the files in /fonts with these names. */

   @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;800&display=swap');



/* ---------- 2) Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }

/* every section = one artboard */
.sec {
  position: relative;
  width: calc(var(--u) * 1920);
  height: calc(var(--u) * 1080);
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
}
.sec::after {                       /* the thin frame from the artboards */
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 calc(var(--u) * var(--frame)) var(--accent);
  pointer-events: none;
}

/* ---------- 2) VIDEO SLIDES: original clips, original durations ---------- */
.video-slide {
  height: calc(var(--u) * 730);
  background: transparent;
  isolation: isolate;
}
.video-slide-logo { height: calc(var(--u) * 350); }
.video-slide-logos { height: calc(var(--u) * 560); }
.video-slide-logos .slide-video { object-fit: contain; }
.slide-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1);
  transform: scale(1);
  transform-origin: center;
}
.video-slide:hover .slide-video {
  transform: scale(1.012);
}
/* Give the hero logo more presence without changing its source video or timing. */
.video-slide-logo .slide-video { transform: translateY(calc(var(--u) * 34)) scale(1.16); }
.video-slide-logo:hover .slide-video { transform: translateY(calc(var(--u) * 34)) scale(1.205); }
.video-slide-logo:focus-within .slide-video { transform: translateY(calc(var(--u) * 34)) scale(1.19); }
.video-slide:not(.video-slide-logo):hover .slide-video { transform: scale(1.012); }
.video-slide:not(.video-slide-logo):focus-within .slide-video { transform: scale(1.008); }

/* helpers to place things by their visual center */
.what, .tagline, .social-title, .big-title, .behance-text, .pill, .click-here-link,
.rule, .drop-line, .logo-row {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.rule { height: calc(var(--u) * 3); background: var(--accent); }

/* ---------- 3) Small navbar (optional) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; gap: calc(var(--u) * 64);
  padding: calc(var(--u) * 18) 0;
  background: rgba(8, 8, 8, .76);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: calc(var(--u) * 24);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.nav a { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.nav a:hover { transform: scale(1.12); }

/* ---------- 4) POP effect (hover = grow, leave = shrink back) ---------- */
.pop {
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
  will-change: transform;
}
.pop:hover { transform: scale(1.08); }
.pop:focus-visible, .nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

/* ---------- 5) HERO ---------- */
.hero-video {                       /* crop window used in the artboard */
  position: absolute;
  left: 50%; top: calc(var(--u) * 53);
  width: calc(var(--u) * 1128);
  height: calc(var(--u) * 302);
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;             /* loops forever, mouse has no effect on it */
}
.hero-video video {
  position: absolute; left: 0; top: calc(var(--u) * -166);
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  object-fit: cover;
  background: #000;
}

.what { top: calc(var(--u) * 432.7); font-size: calc(var(--u) * 58.2); line-height: 1; font-weight: 400; }
.hero-rule { top: calc(var(--u) * 505); width: calc(var(--u) * 161); }

.what-list {
  position: absolute;
  top: calc(var(--u) * 632.9);
  font-size: calc(var(--u) * 43.1);
  white-space: nowrap;
}
.what-left  { left: calc(var(--u) * 274); }
.what-right { left: calc(var(--u) * 1055.5); }
.what-list li {
  height: calc(var(--u) * 94.25);
  display: flex; align-items: center;
  line-height: 1;
}
.what-list li::before { content: "-"; margin-right: .424em; }

.tagline {
  top: calc(var(--u) * 1006.6);
  font-family: var(--font-cond); font-weight: 700;
  font-size: calc(var(--u) * 34.3);
  line-height: 1;
}

/* ---------- 6) SOCIAL MEDIA row ---------- */
.social { height: calc(var(--u) * 700); }
.social-title { top: calc(var(--u) * 158); font-size: calc(var(--u) * 30); line-height: 1; font-weight: 400; }
.logo-row {
  top: calc(var(--u) * 447.5);
  display: grid;
  grid-template-columns: repeat(5, calc(var(--u) * 365));
  align-items: center; justify-items: center;
}
.logo-row a { display: block; line-height: 0; }
.logo-row img { height: auto; }

/* ---------- 7) BRAND sections ---------- */
.brand-text {
  position: absolute;
  left: calc(var(--u) * 125.6); top: 0; bottom: 0;
  padding-bottom: calc(var(--u) * 88);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.brand-copy {
  font-family: var(--font-cond); font-weight: 700;
  font-size: calc(var(--u) * 62.7);
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}
.click-btn {
  display: block;
  width: calc(var(--u) * 231.7);
  margin-top: calc(var(--u) * 100);
  line-height: 0;
}
.click-btn img { width: 100%; height: auto; }

.vline, .tick { position: absolute; background: var(--accent); }
.vline { left: calc(var(--u) * 1105.7); top: calc(var(--u) * 355.5); width: calc(var(--u) * 3); height: calc(var(--u) * 371); }
.tick  { left: calc(var(--u) * 1030.5); top: calc(var(--u) * 538.5); width: calc(var(--u) * 77); height: calc(var(--u) * 3); }

.brand-logo {
  position: absolute;
  left: calc(var(--u) * 1488); top: calc(var(--u) * 540);
  transform: translate(-50%, -50%);
  line-height: 0;
}
.brand-logo img { height: auto; }

/* ---------- 8) THIS IS JUST THE BEGINNING ---------- */
.big-title { top: calc(var(--u) * 118.6); font-size: calc(var(--u) * 87.7); line-height: 1; font-weight: 400; }
.title-rule { top: calc(var(--u) * 237); width: calc(var(--u) * 372); }

.behance-text {
  top: calc(var(--u) * 455);
  font-size: calc(var(--u) * 62.7);
  line-height: calc(var(--u) * 86.1);
  text-align: center;
}
.drop-line { top: calc(var(--u) * 647); width: calc(var(--u) * 3); height: calc(var(--u) * 77); background: var(--accent); }
.pill {
  top: calc(var(--u) * 783.7);
  width: calc(var(--u) * 1209); height: calc(var(--u) * 112.5);
  border: calc(var(--u) * 3.1) solid var(--accent);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: calc(var(--u) * 67.35); line-height: 1;
}
.behance-logo { color: var(--accent); padding: calc(var(--u) * 12) calc(var(--u) * 24); }
.behance-logo svg { display: block; width: auto; height: 100%; max-width: 48%; overflow: visible; }
.behance-logo:hover { background: rgba(223, 254, 1, .06); }
/* .pop uses transform, so keep the centering when popping */
.pill.pop { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.pill.pop:hover { transform: translate(-50%, -50%) scale(1.04); }

.click-here-link {
  top: calc(var(--u) * 893.2);
  font-size: calc(var(--u) * 62.7); line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: calc(var(--u) * 3);
  text-underline-offset: calc(var(--u) * 8);
}

/* ---------- 9) LET'S WORK TOGETHER ---------- */
.have-project, .available, .foot { position: absolute; white-space: nowrap; line-height: 1.2; }
.have-project, .available { font-size: calc(var(--u) * 42.85); }

.have-project { left: calc(var(--u) * 115.5); top: calc(var(--u) * 338.8); }
.short-rule   { left: calc(var(--u) * 115.5); top: calc(var(--u) * 538.5); width: calc(var(--u) * 210); transform: none; }
.available    { left: calc(var(--u) * 105.2); top: calc(var(--u) * 639.2); }

.contact-links {
  position: absolute;
  left: calc(var(--u) * 1138);
  top: calc(var(--u) * 520);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 24);
}
.contact-icon {
  width: calc(var(--u) * 145);
  height: calc(var(--u) * 145);
  border: calc(var(--u) * 2.5) solid rgba(223, 254, 1, .88);
  border-radius: calc(var(--u) * 20);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(var(--u) * 13);
  color: var(--accent);
  background: rgba(0, 0, 0, .16);
  box-shadow: 0 0 calc(var(--u) * 28) rgba(223, 254, 1, 0);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact-icon svg {
  width: calc(var(--u) * 48);
  height: calc(var(--u) * 48);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-icon svg .icon-dot { fill: currentColor; stroke: none; }
.contact-icon span {
  font-size: calc(var(--u) * 21);
  line-height: 1;
  letter-spacing: .015em;
}
.contact-icon:hover, .contact-icon:focus-visible {
  background: rgba(223, 254, 1, .09);
  border-color: #fff;
  box-shadow: 0 0 calc(var(--u) * 28) rgba(223, 254, 1, .12);
  transform: translateY(calc(var(--u) * -4)) scale(1.035);
}
.contact-icon:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

.foot { font-size: calc(var(--u) * 34.2); top: calc(var(--u) * 963.4); transform: translateY(-50%); line-height: 1; }
.foot-left  { left: calc(var(--u) * 105.2); }
.foot-right { right: calc(var(--u) * 106.5); }


/* Polished interaction and reduced-motion accessibility */
.nav a { transition: color .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.nav a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ---------- Final footer: original black + fluorescent accent ---------- */
.site-footer {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  padding: calc(var(--u) * 34) calc(var(--u) * 105) calc(var(--u) * 28);
  background: #000;
  color: var(--accent);
  border-top: var(--frame) solid rgba(223,254,1,.48);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--u) * 30);
  padding-bottom: calc(var(--u) * 28);
  border-bottom: 1px solid rgba(223,254,1,.22);
}
.footer-brand { display: flex; align-items: center; gap: calc(var(--u) * 14); }
.footer-mark {
  width: calc(var(--u) * 48);
  height: calc(var(--u) * 48);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--u) * 11);
  color: #000;
  background: var(--accent);
  font-size: calc(var(--u) * 22);
  font-weight: 800;
}
.footer-name {
  color: var(--accent);
  font-size: calc(var(--u) * 30);
  font-weight: 700;
  white-space: nowrap;
}
.footer-name span { opacity: .72; font-size: .78em; font-weight: 400; }
.footer-location {
  margin: 0;
  color: var(--accent);
  font-size: calc(var(--u) * 23);
  text-align: right;
}
.footer-dot { padding: 0 .45em; opacity: .65; }
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--u) * 40);
  padding: calc(var(--u) * 26) 0;
}
.footer-contact-title {
  margin: 0;
  font-size: calc(var(--u) * 35);
  font-weight: 600;
  letter-spacing: .02em;
}
.footer-contact-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(var(--u) * 24);
}
.footer-contact-icon {
  width: calc(var(--u) * 150);
  min-height: calc(var(--u) * 132);
  box-sizing: border-box;
  border: calc(var(--u) * 2.5) solid rgba(223,254,1,.88);
  border-radius: calc(var(--u) * 20);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(var(--u) * 12);
  color: var(--accent);
  background: rgba(223,254,1,.025);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.footer-contact-icon svg {
  width: calc(var(--u) * 58);
  height: calc(var(--u) * 58);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-contact-icon svg .icon-dot { fill: currentColor; stroke: none; }
.footer-contact-icon span {
  font-size: calc(var(--u) * 22);
  line-height: 1;
  font-weight: 600;
}
.footer-contact-icon:hover,
.footer-contact-icon:focus-visible {
  background: rgba(223,254,1,.10);
  border-color: #fff;
  box-shadow: 0 0 calc(var(--u) * 26) rgba(223,254,1,.12);
  transform: translateY(calc(var(--u) * -4)) scale(1.035);
}
.footer-contact-icon:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--u) * 20);
  padding-top: calc(var(--u) * 20);
  border-top: 1px solid rgba(223,254,1,.16);
  color: var(--accent);
  opacity: .85;
  font-size: calc(var(--u) * 20);
}

@media (max-width: 900px) {
  .site-footer { padding: 28px 24px 22px; }
  .footer-top { flex-wrap: wrap; }
  .footer-location { text-align: left; }
  .footer-contact { align-items: flex-start; flex-direction: column; }
  .footer-contact-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .footer-contact-icon { width: 132px; min-height: 122px; }
  .footer-contact-icon svg { width: 48px; height: 48px; }
  .footer-contact-icon span { font-size: 16px; }
  .footer-contact-title { font-size: 25px; }
  .footer-bottom { font-size: 14px; }
}
@media (max-width: 520px) {
  .footer-top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-name { font-size: 22px; }
  .footer-location { font-size: 14px; line-height: 1.5; }
  .footer-contact-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .footer-contact-icon { width: 100%; min-width: 0; min-height: 108px; border-radius: 14px; }
  .footer-contact-icon svg { width: 40px; height: 40px; }
  .footer-contact-icon span { font-size: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; line-height: 1.5; }
}


/* Contact integrated into Let's Work Together — full-width, balanced layout */
#contact {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  align-items: center;
  column-gap: clamp(28px, 5vw, 90px);
  row-gap: 28px;
  width: 100%;
  min-height: clamp(440px, 58vw, 720px);
  box-sizing: border-box;
  padding: clamp(42px, 5.5vw, 88px) clamp(24px, 5.5vw, 105px) !important;
}
#contact > h1, #contact > h2, #contact .section-title {
  grid-column: 1 / -1;
}
#contact .contact-integrated-panel {
  grid-column: 2;
  grid-row: 2 / span 2;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-self: center;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid rgba(223,254,1,.42);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(223,254,1,.055), rgba(255,255,255,.015));
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
.contact-integrated-heading { margin-bottom: clamp(18px, 2.2vw, 30px); }
.contact-integrated-heading .contact-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: .16em;
}
.contact-integrated-heading h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.05;
}
.contact-integrated-heading p {
  margin: 0;
  color: rgba(223,254,1,.72);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.5;
}
#contact .footer-contact-links {
  display: grid !important;
  grid-template-columns: minmax(0,1fr);
  width: 100%;
  gap: 14px;
}
#contact .footer-contact-icon {
  width: 100% !important;
  min-height: clamp(76px, 7vw, 94px) !important;
  padding: 14px 22px;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  border: 1.5px solid rgba(223,254,1,.65) !important;
  border-radius: 15px !important;
  background: rgba(0,0,0,.22) !important;
}
#contact .footer-contact-icon svg {
  width: clamp(32px, 3vw, 42px) !important;
  height: clamp(32px, 3vw, 42px) !important;
  flex: 0 0 auto;
}
#contact .footer-contact-icon span {
  font-size: clamp(16px, 1.4vw, 19px) !important;
  font-weight: 600;
}
#contact .footer-contact-icon:hover {
  background: rgba(223,254,1,.09) !important;
  border-color: var(--accent) !important;
}
@media (max-width: 800px) {
  #contact {
    grid-template-columns: minmax(0,1fr);
    min-height: 0;
    padding: 54px 24px !important;
    gap: 24px;
  }
  #contact .contact-integrated-panel {
    grid-column: 1;
    grid-row: auto;
    padding: 24px;
  }
  #contact .footer-contact-links { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  #contact { padding: 42px 16px !important; }
  #contact .contact-integrated-panel { padding: 18px; border-radius: 16px; }
  #contact .footer-contact-icon { min-height: 70px !important; padding: 12px 16px; gap: 14px !important; }
}


/* Final requested refinements */
#social-media,
#social,
#clients,
.social-media,
.social-logos {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#social-media video,
#social video,
#clients video,
.social-media video,
.social-logos video {
  width: 100% !important;
  max-width: none !important;
  object-fit: fill;
}

/* The existing social-logo scene should span the same width as other sections. */
.sec:has(video[src*="social"]),
.sec:has(video[src*="logo"]),
.sec:has(video) {
  max-width: none;
}

/* Footer only: remove K / Ahmed Zain brand row; retain the requested copyright line. */
.site-footer .footer-top,
.site-footer .footer-brand,
.site-footer .footer-mark,
.site-footer .footer-name,
.site-footer .footer-location {
  display: none !important;
}
.site-footer .footer-bottom {
  border-top: 0 !important;
  padding-top: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px;
  opacity: 1 !important;
}
.site-footer .footer-bottom span:first-child {
  font-size: inherit;
}
.site-footer .footer-bottom span:last-child {
  font-size: inherit;
}


/* FINAL RESPONSIVE NAVBAR */
.nav {
  box-sizing: border-box;
  min-height: 64px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
}
.nav-menu a {
  font-size: clamp(13px, 1.2vw, 19px);
  line-height: 1.2;
  letter-spacing: .06em;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 8px 9px;
  border: 1px solid rgba(223,254,1,.45);
  border-radius: 9px;
  background: rgba(0,0,0,.82);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav {
    justify-content: flex-end;
    min-height: 60px;
    padding: 9px 14px;
    background: rgba(0,0,0,.94);
  }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    width: min(260px, calc(100vw - 24px));
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid rgba(223,254,1,.42);
    border-radius: 12px;
    background: rgba(0,0,0,.97);
    box-shadow: 0 16px 36px rgba(0,0,0,.4);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a {
    display: block;
    padding: 13px 14px;
    font-size: 15px;
    letter-spacing: .04em;
    border-radius: 7px;
  }
  .nav-menu a:hover { background: rgba(223,254,1,.08); transform: none; }
}
@media (max-width: 380px) {
  .nav { padding-right: 10px; }
  .nav-toggle { width: 40px; height: 40px; }
}

/* SOCIAL MEDIA LOGOS VIDEO — true full-bleed width, no frame edges or hover zoom */
#work.video-slide-logos {
  width: 100vw !important;
  max-width: 100vw !important;
  height: clamp(250px, 29.17vw, 560px) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
  border: 0 !important;
  outline: 0 !important;
}
#work.video-slide-logos::after {
  content: none !important;
  display: none !important;
}
#work.video-slide-logos .slide-video {
  width: 100% !important;
  height: 100% !important;
  inset: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  transition: none !important;
  border: 0 !important;
  outline: 0 !important;
}
#work.video-slide-logos:hover .slide-video,
#work.video-slide-logos:focus-within .slide-video {
  transform: none !important;
}
@media (max-width: 760px) {
  #work.video-slide-logos {
    height: clamp(190px, 42vw, 320px) !important;
  }
}


/* ===== CONTACT: final responsive layout for desktop, tablet and mobile ===== */
#contact.sec.contact {
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(42px, 5vw, 84px) clamp(20px, 5.5vw, 106px) clamp(44px, 5vw, 84px) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  background: #000 !important;
}
#contact .big-title {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
  white-space: normal !important;
  text-align: center !important;
  overflow-wrap: normal !important;
  font-size: clamp(28px, 3.2vw, 58px) !important;
  line-height: 1.12 !important;
  letter-spacing: .015em;
}
#contact .title-rule {
  position: static !important;
  display: block !important;
  transform: none !important;
  width: clamp(90px, 10vw, 190px) !important;
  height: 2px !important;
  margin: clamp(20px, 2.5vw, 36px) auto clamp(32px, 4vw, 64px) !important;
}
#contact .contact-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}
#contact .contact-copy {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
  width: 100%;
  min-width: 0;
}
#contact .have-project,
#contact .available {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  font-size: clamp(22px, 2.2vw, 40px) !important;
  line-height: 1.3 !important;
}
#contact .short-rule {
  position: static !important;
  display: block !important;
  flex: 0 0 auto;
  width: clamp(90px, 10vw, 210px) !important;
  height: 2px !important;
  margin: 0 !important;
  transform: none !important;
}
#contact .contact-integrated-panel {
  position: relative !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 44px) !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(223,254,1,.48) !important;
  border-radius: clamp(16px, 1.5vw, 24px) !important;
  background: linear-gradient(145deg, rgba(223,254,1,.055), rgba(255,255,255,.012)) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
#contact .contact-integrated-heading {
  display: block !important;
  position: static !important;
  margin: 0 0 clamp(18px, 2.2vw, 30px) !important;
}
#contact .contact-integrated-heading .contact-eyebrow {
  display: block !important;
  margin: 0 0 10px !important;
  font-size: clamp(11px, .9vw, 14px) !important;
  line-height: 1.4 !important;
  letter-spacing: .14em;
}
#contact .contact-integrated-heading h3 {
  position: static !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  transform: none !important;
  font-size: clamp(28px, 2.8vw, 44px) !important;
  line-height: 1.12 !important;
}
#contact .contact-integrated-heading p {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  white-space: normal !important;
  font-size: clamp(14px, 1.15vw, 18px) !important;
  line-height: 1.5 !important;
}
#contact .footer-contact-links {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
#contact .footer-contact-icon {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 72px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  transform: none;
  border: 1.5px solid rgba(223,254,1,.68) !important;
  border-radius: 14px !important;
  background: rgba(0,0,0,.32) !important;
}
#contact .footer-contact-icon svg {
  display: block !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
}
#contact .footer-contact-icon span {
  display: block !important;
  min-width: 0;
  font-size: clamp(15px, 1.2vw, 19px) !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}
#contact .footer-contact-icon:hover {
  transform: translateY(-2px) !important;
  background: rgba(223,254,1,.08) !important;
}

/* Medium screens: reduce the gap and panel padding without compressing the content. */
@media (max-width: 900px) {
  #contact.sec.contact {
    padding: 42px clamp(20px, 4vw, 36px) 48px !important;
  }
  #contact .contact-main {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
    gap: clamp(20px, 3.5vw, 36px);
  }
  #contact .contact-integrated-panel {
    padding: clamp(18px, 3vw, 26px) !important;
  }
  #contact .have-project,
  #contact .available {
    font-size: clamp(20px, 2.5vw, 28px) !important;
  }
}

/* Phones and narrow tablets: single column, natural height, no overlap or clipped text. */
@media (max-width: 680px) {
  #contact.sec.contact {
    padding: 36px 18px 42px !important;
  }
  #contact .big-title {
    font-size: clamp(26px, 7vw, 38px) !important;
    line-height: 1.16 !important;
  }
  #contact .title-rule {
    margin: 18px auto 28px !important;
    width: 88px !important;
  }
  #contact .contact-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 28px !important;
    width: 100% !important;
  }
  #contact .contact-copy {
    display: flex !important;
    gap: 18px !important;
    width: 100% !important;
  }
  #contact .have-project,
  #contact .available {
    font-size: clamp(19px, 5.1vw, 26px) !important;
    line-height: 1.32 !important;
  }
  #contact .short-rule {
    width: 88px !important;
  }
  #contact .contact-integrated-panel {
    width: 100% !important;
    padding: clamp(18px, 5vw, 24px) !important;
    border-radius: 16px !important;
  }
  #contact .contact-integrated-heading {
    margin-bottom: 18px !important;
  }
  #contact .contact-integrated-heading h3 {
    font-size: 30px !important;
  }
  #contact .contact-integrated-heading p {
    font-size: 14px !important;
  }
  #contact .footer-contact-links {
    gap: 10px !important;
  }
  #contact .footer-contact-icon {
    min-height: 64px !important;
    padding: 12px 14px !important;
    gap: 14px !important;
  }
  #contact .footer-contact-icon svg {
    flex-basis: 30px !important;
    width: 30px !important;
    height: 30px !important;
  }
  #contact .footer-contact-icon span {
    font-size: 15px !important;
  }
}
@media (max-width: 360px) {
  #contact.sec.contact { padding-left: 14px !important; padding-right: 14px !important; }
  #contact .contact-integrated-panel { padding: 16px !important; }
  #contact .footer-contact-icon { padding: 11px 12px !important; gap: 12px !important; }
}


/* === Targeted final fix: contact layout + logo-loop section frame === */
#contact.sec.contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(28px, 4.5vw, 72px) clamp(18px, 5.2vw, 100px) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
#contact .big-title {
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.12 !important;
  font-size: clamp(27px, 3vw, 54px) !important;
}
#contact .title-rule {
  position: static !important;
  display: block !important;
  width: clamp(90px, 9vw, 160px) !important;
  height: 2px !important;
  margin: 0 auto !important;
  transform: none !important;
  flex: 0 0 auto;
}
#contact .contact-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) !important;
  align-items: center !important;
  gap: clamp(24px, 5vw, 84px) !important;
  width: 100% !important;
  min-width: 0 !important;
}
#contact .contact-copy {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
  width: 100% !important;
  min-width: 0 !important;
}
#contact .have-project,
#contact .available {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.35 !important;
}
#contact .have-project { font-size: clamp(20px, 2.1vw, 36px) !important; }
#contact .available { font-size: clamp(18px, 1.8vw, 30px) !important; }
#contact .short-rule {
  position: static !important;
  display: block !important;
  width: clamp(90px, 10vw, 190px) !important;
  height: 2px !important;
  margin: 0 !important;
  transform: none !important;
  flex: 0 0 auto;
}
#contact .contact-integrated-panel {
  position: static !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(18px, 2.5vw, 38px) !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
}
#contact .contact-integrated-heading { margin: 0 0 20px !important; }
#contact .contact-integrated-heading h3 {
  margin: 0 0 10px !important;
  font-size: clamp(26px, 2.5vw, 42px) !important;
  line-height: 1.12 !important;
}
#contact .contact-integrated-heading p {
  margin: 0 !important;
  font-size: clamp(14px, 1.1vw, 18px) !important;
  line-height: 1.5 !important;
}
#contact .footer-contact-links {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  gap: 12px !important;
}
#contact .footer-contact-icon {
  width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(64px, 5.5vw, 88px) !important;
  height: auto !important;
  box-sizing: border-box !important;
  padding: 12px clamp(12px, 1.6vw, 22px) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
}
#contact .footer-contact-icon svg {
  width: clamp(30px, 2.5vw, 40px) !important;
  height: clamp(30px, 2.5vw, 40px) !important;
  flex: 0 0 auto !important;
}
#contact .footer-contact-icon span {
  font-size: clamp(15px, 1.25vw, 19px) !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
}

/* Logo loop section uses the same full viewport width and bottom divider as the other sections. */
#work.sec.video-slide-logos {
  position: relative !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(223,254,1,.62) !important;
  overflow: hidden !important;
}
#work.sec.video-slide-logos::before,
#work.sec.video-slide-logos::after {
  left: 0 !important;
  right: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
}
#work.sec.video-slide-logos .slide-video {
  width: 100% !important;
  height: 100% !important;
  inset: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ==========================================
   FINAL FIX — HERO LOGO ON MOBILE
   Keep the animated logo visible below navbar
   ========================================== */

/* FIX: Remove gray gaps around the animated hero logo */

/* CONTACT BUTTONS — SCALE AS ONE RESPONSIVE UNIT */

#contact .footer-contact-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(5px, 2vw, 12px) !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: clamp(7px, 2.5vw, 14px) !important;
    overflow: hidden !important;
}

#contact .footer-contact-icon svg {
    width: clamp(17px, 5vw, 28px) !important;
    height: clamp(17px, 5vw, 28px) !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
}

#contact .footer-contact-icon span {
    font-size: clamp(9px, 3vw, 15px) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    letter-spacing: -0.3px !important;
}

@media (max-width: 420px) {
    #contact .footer-contact-icon {
        min-height: clamp(42px, 13vw, 60px) !important;
    }
}

/* =====================================
   MOBILE HERO LOGO — VISIBILITY FIX
   ===================================== */

@media (max-width: 760px) {

    #home.video-slide-logo {
        margin-top: 60px !important;
        height: clamp(110px, 32vw, 180px) !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }

    #home.video-slide-logo .slide-video {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

}

/* =====================================
   HERO LOGO — FINAL MOBILE FIX
   ===================================== */

@media (max-width: 760px) {

    /* Black background — remove gray areas */
    #home.video-slide-logo {
        background: #000 !important;
        background-color: #000 !important;
        height: clamp(160px, 42vw, 230px) !important;
        margin-top: 60px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    #home.video-slide-logo .slide-video {
        background: #000 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;

        /* Enlarge the animated logo */
        transform: scale(1.3) !important;

        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Keep surrounding area black */
    #home.video-slide-logo .hero-video {
        background: #000 !important;
    }

}

/* =========================================
   BRAND SECTIONS — FINAL MOBILE ALIGNMENT
   Text stays left-aligned; Click Here sits directly below it.
   ========================================= */

@media screen and (max-width: 760px) {
    .sec.brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 35px 24px !important;
        gap: 24px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* BRAND TEXT — align to the left */
    .sec.brand .brand-text {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .sec.brand .brand-copy {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: clamp(14px, 3.8vw, 17px) !important;
        line-height: 1.45 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* CLICK HERE — directly below the copy, left-aligned */
    .sec.brand .click-btn {
        display: block !important;
        align-self: flex-start !important;
        width: clamp(65px, 19vw, 85px) !important;
        max-width: 100% !important;
        margin: 16px 0 0 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .sec.brand .click-btn img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    /* Hide desktop dividers on mobile */
    .sec.brand .vline,
    .sec.brand .tick {
        display: none !important;
    }

    /* BRAND LOGO */
    .sec.brand .brand-logo {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 12px 0 !important;
        line-height: 0 !important;
    }

    .sec.brand .brand-logo img {
        display: block !important;
        width: min(65vw, 240px) !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}

/* EXTRA SMALL PHONES */
@media screen and (max-width: 380px) {
    .sec.brand {
        padding: 28px 18px !important;
        gap: 20px !important;
    }

    .sec.brand .brand-copy {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .sec.brand .click-btn {
        width: 68px !important;
        margin-top: 13px !important;
    }

    .sec.brand .brand-logo img {
        width: min(60vw, 210px) !important;
    }
}

/* ==========================================
   DESKTOP FIX — ALL 5 BRAND SECTIONS
   ========================================== */

@media screen and (min-width: 761px) {

    .sec.brand {
        display: block !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* TEXT CONTAINER */
    .sec.brand .brand-text {
        position: absolute !important;

        left: calc(var(--u) * 125.6) !important;
        right: auto !important;

        width: calc(var(--u) * 850) !important;
        max-width: calc(100% - var(--u) * 125.6) !important;

        top: 0 !important;
        bottom: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: flex-start !important;
        justify-content: center !important;

        padding: 0 !important;
        padding-bottom: calc(var(--u) * 88) !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* BRAND DESCRIPTION */
    .sec.brand .brand-copy {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        font-size: calc(var(--u) * 62.7) !important;
        line-height: 1.2 !important;

        text-align: left !important;

        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* CLICK HERE BUTTON */
    .sec.brand .click-btn {
        display: block !important;

        width: calc(var(--u) * 231.7) !important;
        max-width: 100% !important;

        align-self: center !important;

        margin-top: calc(var(--u) * 80) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .sec.brand .click-btn img {
        width: 100% !important;
        height: auto !important;
    }

    /* KEEP DESKTOP DIVIDERS */
    .sec.brand .vline,
    .sec.brand .tick {
        display: block !important;
    }

    /* BRAND LOGOS */
    .sec.brand .brand-logo {
        position: absolute !important;

        left: calc(var(--u) * 1488) !important;
        top: calc(var(--u) * 540) !important;

        transform: translate(-50%, -50%) !important;
    }

    .sec.brand .brand-logo img {
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

}

/* =================================
   MANROPE — GLOBAL TYPOGRAPHY
   ================================= */

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

/* All elements inherit Manrope */
* {
    font-family: inherit;
}

/* Main headings */
h1, h2, h3, h4,
.section-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

/* Paragraphs and descriptions */
p,
.brand-copy {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

/* Navigation and buttons */
.nav,
.nav a,
.click-btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}