/* ============================================================
   ALFIE LEEK MEDIA — Design System
   Dark · Cinematic · Premium
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------ */
:root {
  --bg:        #0a0a0b;
  --bg-2:      #111113;
  --bg-3:      #17171a;
  --surface:   #1c1c20;
  --border:    rgba(255,255,255,.08);
  --border-md: rgba(255,255,255,.14);
  --white:     #ffffff;
  --off-white: #e8e5df;
  --muted:     rgba(255,255,255,.45);
  --accent:    #ffa500;
  --accent-dim:rgba(255,165,0,.12);

  --font-body: "Inter", sans-serif;
  --font-head: "Playfair Display", serif;

  --ease-out:  cubic-bezier(.22,.68,0,1.2);
  --ease-smooth: cubic-bezier(.4,0,.2,1);

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
}

/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #0a0a0b; }

/* ------------------------------------------------------------
   UTILITY
   ------------------------------------------------------------ */
.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.section { padding-block: clamp(80px, 10vw, 140px); }

.label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}
.label.light { color: rgba(255,255,255,.35); }

h2 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 84px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--white);
}
h2 em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { max-width: 700px; }

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .25s var(--ease-smooth), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #0a0a0b;
  box-shadow: 0 0 0 0 var(--accent-dim);
}
.btn-primary:hover {
  background: #ffb733;
  box-shadow: 0 8px 32px rgba(255,165,0,.25);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
}

/* ------------------------------------------------------------
   SCROLL REVEAL
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease-smooth), transform .75s var(--ease-smooth);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .18s; }
.fade-up:nth-child(4) { transition-delay: .26s; }
.fade-up:nth-child(5) { transition-delay: .34s; }

/* ------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(10,10,11,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-menu a:hover { color: var(--white); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 4px;
  z-index: 110;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease-smooth), opacity .3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/hero.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s linear;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.52) 50%,
    rgba(0,0,0,.78) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
  padding-top: 72px;
}
.hero-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,241,53,.3);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
  transition-delay: .1s;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(64px, 10vw, 148px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 28px;
  transition-delay: .2s;
}
.hero-headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}
.hero-sub {
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin-bottom: 40px;
  transition-delay: .3s;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  transition-delay: .4s;
}
.hero-scroll {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 3;
}

/* ------------------------------------------------------------
   MARQUEE STRIP
   ------------------------------------------------------------ */
.marquee-strip {
  background: var(--accent);
  color: #0a0a0b;
  overflow: hidden;
  padding: 14px 0;
  border-top: none;
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.marquee-track .dot {
  opacity: .4;
  font-size: 14px;
  letter-spacing: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-photos .label { margin-bottom: 20px; }

.about-photos-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-photos-inner img {
  width: calc(50% - 6px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}

.about-photos-inner img:last-child { margin-top: 40px; }

.about-text h2 {
  font-size: clamp(36px, 4.5vw, 72px);
  margin-bottom: 24px;
}

.about-text p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .about-photos-inner img:last-child { margin-top: 20px; }
}

/* ------------------------------------------------------------
   HERO BRANDS
   ------------------------------------------------------------ */
.hero-brands {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px 0 28px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
}
.hero-brands-label {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 18px;
}
.hero-brands-track-wrap {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  overflow: hidden;
}
.hero-brands-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: max-content;
  margin: 0 auto;
  animation: brandScroll 20s linear infinite;
}
.hero-brands-track:hover { animation-play-state: paused; }
.hero-brands-track img {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: .85;
  transition: opacity .3s;
}
.hero-brands-track img:hover { opacity: 1; }

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

/* ------------------------------------------------------------
   SERVICES
   ------------------------------------------------------------ */
.services { background: var(--bg-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.service-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-smooth), box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.service-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-smooth);
  filter: brightness(.85) saturate(.9);
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
  filter: brightness(.95) saturate(1);
}

.service-card-body {
  padding: clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.service-card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card-body h3 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.05;
}

.service-card-body p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.52);
  flex: 1;
}

.svc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.svc-tags li {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  border: 1px solid rgba(255,165,0,.22);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--accent-dim);
}

/* Post production block */
.svc-post {
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.svc-post-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.svc-post-text {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.svc-post-text h3 {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.05;
}
.svc-post-text p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.52);
}
.svc-post-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.svc-post-pill {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.svc-post-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-smooth);
  filter: brightness(.55) saturate(.7);
}
.svc-post-pill:hover img {
  transform: scale(1.07);
  filter: brightness(.75) saturate(.9);
}
.svc-post-pill span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

/* ------------------------------------------------------------
   WORK — CARDS
   ------------------------------------------------------------ */
.work { background: var(--bg); }

.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.work-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-smooth), box-shadow .3s;
  grid-column: span 2;
}
/* bottom two cards: span 3 cols each, but offset so they centre in 6 */
.work-card:nth-child(4) { grid-column: 2 / span 2; }
.work-card:nth-child(5) { grid-column: 4 / span 2; }
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

.work-card-img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-smooth);
  filter: brightness(.88) saturate(.9);
}
.work-card:hover .work-card-img img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1);
}

.work-card-body {
  padding: clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.work-card-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-card-body h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.1;
}

.work-card-body p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.48);
}

/* ------------------------------------------------------------
   PROCESS
   ------------------------------------------------------------ */
.process { background: var(--bg-2); }

.process-header {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: end;
  gap: 32px clamp(40px, 6vw, 100px);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.process-header h2 { font-size: clamp(40px, 5vw, 72px); }
.process-intro {
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  padding-bottom: 6px;
}

/* Timeline */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-timeline-line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 1px);
  right: calc(12.5% + 1px);
  height: 1px;
  background: linear-gradient(to right, var(--accent), rgba(255,165,0,.15));
  z-index: 0;
}

.process-node {
  position: relative;
  z-index: 1;
  padding: 0 clamp(16px, 2.5vw, 36px);
  padding-top: 72px; /* space above dot */
}

.process-node-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: background .3s, transform .3s var(--ease-smooth);
  box-shadow: 0 0 0 6px rgba(255,165,0,.06);
}
.process-node:hover .process-node-dot {
  background: var(--accent);
  color: #0a0a0b;
  transform: translateX(-50%) scale(1.1);
}

.process-node-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 12px;
}
.process-node-body h3 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.process-node-body p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.48);
}


/* ------------------------------------------------------------
   CTA BANNER
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 140px);
  text-align: center;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/banner.webp");
  background-size: cover;
  background-position: center 80%;
  filter: brightness(.22) saturate(.6);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner-inner .label { justify-content: center; display: flex; }
.cta-banner-inner h2 {
  font-size: clamp(48px, 7vw, 110px);
  margin-bottom: 40px;
}

/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}
.contact-left p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 36px;
  max-width: 460px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-detail strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  color: var(--accent);
  transition: opacity .2s, transform .2s;
  display: flex;
}
.social-links a:hover { opacity: .7; transform: translateY(-2px); }

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-block: clamp(56px, 7vw, 96px);
  align-items: start;
}

/* Brand col */
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo {
  height: 38px;
  width: auto;
  opacity: .9;
  transition: opacity .2s;
}
.footer-logo:hover { opacity: 1; }
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.42);
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-socials a {
  color: rgba(255,255,255,.38);
  display: flex;
  transition: color .2s, transform .2s;
}
.footer-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Link cols */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  transition: color .2s;
  line-height: 1;
}
.footer-col a:hover { color: var(--accent); }
.footer-location {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  line-height: 1;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 20px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-inner p {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  letter-spacing: .04em;
}

/* ------------------------------------------------------------
   PAGE HERO (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding-top: 72px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.55) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 80px 72px;
}
.page-hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.page-hero-inner h1 em {
  font-style: italic;
  color: var(--accent);
}
.page-hero-sub {
  max-width: 520px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,.65);
}

/* Active nav link */
.nav-active { color: var(--accent) !important; }

/* ------------------------------------------------------------
   CONTACT FORM
   ------------------------------------------------------------ */
.contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 36px;
}
.contact-form-wrap h2 em { color: var(--accent); font-style: italic; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.form-optional { font-weight: 400; opacity: .6; text-transform: none; letter-spacing: 0; }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color .2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.22); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-2); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* Validation */
.input-error { border-color: #e05252 !important; }
.form-error {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #e05252;
  margin-top: 6px;
  letter-spacing: .03em;
  min-height: 16px;
}
.form-error:empty { display: none; }

/* ------------------------------------------------------------
   GALLERY FILTERS & GRID
   ------------------------------------------------------------ */
.gallery-filters-wrap {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 10;
}
.gallery-filters {
  display: flex;
  gap: 4px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-filters::-webkit-scrollbar { display: none; }
.gallery-filter {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  border: 1px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
}
.gallery-filter:hover { color: var(--white); }
.gallery-filter.active {
  color: var(--accent);
  border-color: rgba(255,165,0,.3);
  background: rgba(255,165,0,.08);
}

.gallery-section { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  background: var(--bg-3);
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 0 300px;
  /* filter animation */
  opacity: 1;
  transform: scale(1);
  transition: opacity .4s var(--ease-smooth), transform .4s var(--ease-smooth);
}
.gallery-item--hidden {
  opacity: 0;
  transform: scale(.94);
  pointer-events: none;
  position: absolute; /* take out of flow without display:none so animation plays */
  visibility: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-smooth);
  filter: brightness(.9);
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-smooth);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox-img-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(90vw, 1200px);
  max-height: 90vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  opacity: 1;
  transform: scale(1);
  transition: opacity .2s, transform .2s var(--ease-smooth);
  display: block;
}
.lightbox-caption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); transform: scale(1.1); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background .2s, transform .25s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) translateX(3px); }

@media (max-width: 600px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 16px; }
}

/* ------------------------------------------------------------
   RESPONSIVE — TABLET (≤ 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline-line { display: none; }
  .process-header { grid-template-columns: 1fr 1fr; }
  .work-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card { grid-column: span 1 !important; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
  .footer-tagline { max-width: 100%; }
}

/* ------------------------------------------------------------
   RESPONSIVE — MOBILE (≤ 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  /* Nav */
  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: rgba(10,10,11,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform .45s var(--ease-smooth);
    font-size: 24px;
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { font-size: 22px; color: var(--white); }
  .nav-btn {
    font-size: 15px !important;
    padding: 12px 28px !important;
  }
  .nav-burger { display: flex; }

  /* Hero */
  .hero-headline { font-size: clamp(52px, 16vw, 88px); }

  /* About — handled by own breakpoints above */
  .about-stats { gap: 24px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .svc-post-inner { grid-template-columns: 1fr; }
  .svc-post-pills { grid-template-columns: 1fr 1fr; }

  /* Work */
  .work-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Process */
  .process-header { grid-template-columns: 1fr; gap: 16px; }
  .process-timeline { grid-template-columns: 1fr; gap: 48px; }
  .process-timeline-line { display: none; }
  .process-node { padding-top: 0; padding-left: 72px; }
  .process-node-dot { left: 0; top: 50%; transform: translateY(-50%); }
  .process-node:hover .process-node-dot { transform: translateY(-50%) scale(1.1); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

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

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-filters-wrap { top: 72px; }


  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ------------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .about-stats { flex-direction: column; gap: 20px; }
  .hero-headline { font-size: 15vw; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   PREFERS-REDUCED-MOTION
   Respects OS-level motion sensitivity settings by pausing
   all decorative animations.
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  /* Pause marquee strip */
  .marquee-track { animation-play-state: paused; }

  /* Pause brand scroll in hero */
  .hero-brands-track { animation-play-state: paused; }

  /* Disable Ken-Burns zoom on hero background */
  .hero-bg {
    transform: none !important;
    transition: none !important;
  }

  /* Make scroll-reveal elements visible immediately — no animation */
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Disable background pulse on ALM Digital page */
  .hero-bg[class] { animation: none !important; }
}

/* ------------------------------------------------------------
   WORK CARDS — anchor variant (clickable cards)
   Ensures <a class="work-card"> looks identical to <article>
   ------------------------------------------------------------ */
a.work-card {
  display: flex;
  text-decoration: none;
  color: inherit;
}
a.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

/* ------------------------------------------------------------
   VIEW GALLERY CTA BAND
   ------------------------------------------------------------ */
.work-gallery-cta {
  background: var(--bg);
  padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border);
}
.work-gallery-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.work-gallery-cta-inner p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,.45);
}

@media (max-width: 600px) {
  .work-gallery-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------
   GALLERY LOAD MORE BUTTON
   ------------------------------------------------------------ */
.gallery-load-more-wrap {
  background: var(--bg);
  padding: clamp(32px, 4vw, 48px) 0;
  display: flex;
  justify-content: center;
}
.gallery-load-more {
  min-width: 160px;
  justify-content: center;
}

/* old portrait styles removed — see ABOUT section above */

/* ------------------------------------------------------------
   HERO SCROLL INDICATOR
   ------------------------------------------------------------ */
.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}
@media (max-width: 768px) {
  .hero-scroll { display: none; }
}

/* ------------------------------------------------------------
   WORK CARD — VIEW GALLERY CTA
   ------------------------------------------------------------ */
.work-card-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease-smooth), transform .3s var(--ease-smooth);
}
a.work-card:hover .work-card-cta {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   FLOATING WHATSAPP BUTTON
   ------------------------------------------------------------ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  transition: transform .25s var(--ease-smooth), box-shadow .25s;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 36px rgba(37,211,102,.55);
}
@media (max-width: 768px) {
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
