/* ==========================================================
   METABEL ZARA — COMMON / SHARED STYLES
   Variables, reset, nav, footer, buttons, helpers, responsive
   ========================================================== */

/* ==========================================================
   METABEL ZARA — STYLESHEET
   Montserrat · Pure black · Flame-red gradient from logo
   ========================================================== */

:root {
  /* Surfaces */
  --bg: #000000;
  --bg-soft: #0b0b0b;
  --bg-deep: #050505;
  --bg-alt: #111111;
  --bg-crimson: #1a0505;

  /* Text */
  --ink: #ffffff;
  --ink-dim: #c9c9c9;
  --ink-muted: #8a8a8a;

  /* Lines */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Flame reds — matched to logo */
  --red: #ed1c24;
  --red-bright: #ff2b3a;
  --red-deep: #a11118;
  --red-soft: #ff6b72;

  --grad-red: linear-gradient(135deg, #ff2b3a 0%, #ed1c24 45%, #a11118 100%);
  --grad-red-soft: linear-gradient(135deg, rgba(237, 28, 36, 0.18), rgba(161, 17, 24, 0.04));
  --grad-crimson: linear-gradient(180deg, #1a0505 0%, #000000 100%);

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1320px;
  --pad-x: clamp(1.5rem, 5vw, 4rem);
  --nav-h: 82px;
}

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; cursor: pointer; font: inherit; }
img, video { max-width: 100%; display: block; }
ul { list-style: none; }

/* Home page locked to viewport — no page scroll *

/* Subtle noise texture across every page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.brand {
  display: flex;
  align-items: center;
  height: 100%;
}
.brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--grad-red);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.72rem 1.3rem;
  background: var(--grad-red);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 24px -10px rgba(237, 28, 36, 0.55);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(237, 28, 36, 0.75);
}
.nav-cta span { transition: transform 0.3s var(--ease); display: inline-block; }
.nav-cta:hover span { transform: translateX(4px); }

.nav-burger { display: none; flex-direction: column; gap: 5px; }
.nav-burger span {
  display: block; width: 26px; height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* ==========================================================
   HOME PAGE — LOCKED 100VH, no page scroll
   Large media left · content right · client strip at bottom
   ========================================================== */
:root {
  --logo-strip-h: 100px; /* space reserved for the logo strip */
}

/* ambient glow *

/* ---- LEFT MEDIA (full-bleed, fills column height) ---- *

/* ---- RIGHT CONTENT ---- *

/* "Check us out" pill button with circle arrow *

/* ---- BOTTOM CLIENT STRIP (fixed to the viewport bottom) ---- *
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(237, 28, 36, 0.55);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(237, 28, 36, 0.75);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--red);
  background: rgba(237, 28, 36, 0.06);
}
.btn-lg { padding: 1.1rem 1.9rem; font-size: 0.95rem; }
.btn .arrow { transition: transform 0.3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(5px); }

/* ---- HOME CLIENTS STRIP (fixed bottom) ---- *

/* ---- HOME CLIENT STRIP slider (now with IMAGES) ---- */
.logo-slider {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  padding: 0 1rem;
  align-items: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo {
  flex-shrink: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  transition: all 0.4s var(--ease);
  opacity: 0.92;
}
.logo img {
  max-height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: all 0.4s var(--ease);
}
.logo:hover {
  transform: scale(1.06);
  opacity: 1;
}

/* ==========================================================
   INNER-PAGE COMMON
   ========================================================== */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) var(--pad-x) 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -25%; left: -5%;
  width: 45vw; height: 45vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(237,28,36,0.2), transparent 65%);
  pointer-events: none;
  filter: blur(40px);
}
.page-hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: min(900px, 14ch);
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--red-soft);
}
.page-hero-lede {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 55ch;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-tag.light { color: var(--ink-muted); }

h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h2 em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-red);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================
   ABOUT PAGE — WHO / WHY BLOCKS
   ========================================================== *

/* ==========================================================
   OUR VALUES
   ========================================================== *

/* ==========================================================
   CAPABILITIES
   ========================================================== *

/* ==========================================================
   CLIENTS SECTION (non-home pages)
   ========================================================== */
.clients-section {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.clients-head {
  text-align: center;
  padding: 0 var(--pad-x);
  margin-bottom: 3rem;
}
.clients-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ==========================================================
   GOT A PROJECT CTA
   ========================================================== */
.got-project {
  padding: 6rem var(--pad-x) 5rem;
  position: relative;
  overflow: hidden;
}
.got-project::before {
  content: "";
  position: absolute;
  top: 50%; right: -10%;
  transform: translateY(-50%);
  width: 50vw; max-width: 700px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(237,28,36,0.18), transparent 60%);
  pointer-events: none;
  filter: blur(60px);
}
.gp-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gp-left {
  max-width: 50ch;
}
.gp-left h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1.25rem;
}
.gp-left p {
  color: var(--ink-dim);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================
   PORTFOLIO PAGE
   ========================================================== *

/* ==========================================================
   PORTFOLIO — SINGLE PAGE CASES (alternating image + body)
   ========================================================== *

/* stats row *

/* tags *

/* ==========================================================
   CONTACT PAGE
   ========================================================== *

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 4.5rem var(--pad-x) 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  max-width: var(--max);
  margin: 0 auto 2.5rem;
}
.footer-brand .brand img { height: 52px; }
.footer-socials {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Shared social icon button */
.soc-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.35s var(--ease);
  overflow: hidden; /* clips complex multi-color SVGs (TikTok) to the circle */
  flex-shrink: 0;
}
.soc-ico svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: block;
  flex-shrink: 0;
}
.soc-ico:hover {
  color: #fff;
  background: var(--grad-red);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -8px rgba(237, 28, 36, 0.55);
}

.footer-grid h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
}
.footer-grid h4.mt { margin-top: 1.25rem; }
.footer-grid p {
  font-size: 0.9rem;
  color: var(--ink-dim);
  line-height: 1.65;
  font-weight: 400;
}
.footer-grid .link {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: all 0.3s var(--ease);
}
.footer-grid .link:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red);
}

.news-form {
  display: flex;
  gap: 0;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.3rem;
  transition: border-color 0.3s var(--ease);
}
.news-form:focus-within { border-color: var(--red); }
.news-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.65rem 1rem;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
}
.news-form input::placeholder { color: var(--ink-muted); }
.news-form button {
  background: var(--grad-red);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.news-form button:hover {
  transform: scale(1.03);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 500;
}
.footer-bottom a {
  color: var(--ink-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
}
.footer-bottom a:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red);
}

/* ==========================================================
   REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
/* ==========================================================
   RESPONSIVE — Polished mobile experience
   Breakpoints:
   - 1200px: large desktop  → standard desktop
   - 1024px: standard desk  → tablet landscape
   - 768px:  tablet         → mobile (the big shift)
   - 600px:  small mobile
   - 380px:  very small mobile (iPhone SE etc.)
   ========================================================== */

/* ---- LARGE DESKTOP → STANDARD DESKTOP ---- */
@media (max-width: 1200px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ---- TABLET LANDSCAPE ---- */
@media (max-width: 1024px) {
  :root { --logo-strip-h: 84px; }

  /* HOME: stack media on top, content below */
  .home-inner { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .home-media { min-height: 0; }
  .home-right {
    padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem);
    gap: 1rem;
    justify-content: flex-start;
  }

  /* Portfolio: stack image over text */
  .case {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3.5rem;
  }
  .case.reverse .case-media { order: 0; }

  /* Contact: stack info above form */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info { position: static; }

  /* Got a project: stack vertically */
  .gp-inner { grid-template-columns: 1fr; align-items: start; gap: 2rem; }

  .got-project { padding: 4.5rem var(--pad-x) 4rem; }
}

/* ============================================================
   MOBILE — the big shift (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Tighter system metrics for mobile */
  :root {
    --pad-x: 1.25rem;
    --nav-h: 64px;
    --logo-strip-h: 76px;
  }

  html, body { max-width: 100%; overflow-x: hidden; }
  body { font-size: 15px; }

  /* ============================================================
     NAVIGATION — slide-in drawer
     ============================================================ */
  .nav { padding: 0 var(--pad-x); }
  .brand img { height: 34px; }

  .nav-burger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 50%;
    margin-right: -10px;
    z-index: 101;
    position: relative;
  }
  .nav-burger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.35s var(--ease);
    transform-origin: center;
  }
  .nav-burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    gap: 0;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
    display: flex;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active {
    color: var(--red-bright);
    padding-left: 0.5rem;
    transition: padding 0.3s var(--ease), color 0.3s var(--ease);
  }

  /* Drawer backdrop */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 98;
    animation: fadeIn 0.3s var(--ease);
  }
  body.nav-open { overflow: hidden; }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* ============================================================
     HOME — full-width media + content + logos below
     ============================================================ */
  body.home-page { height: auto; overflow-x: hidden; overflow-y: auto; }
  .home-hero {
    height: auto;
    min-height: auto;
    margin-top: var(--nav-h);
  }
  .home-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
  }

  /* HOME MEDIA: full-width slide / video */
  .home-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-height: 70vh;
  }
  .home-media video,
  .home-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* HOME RIGHT: full-width content stack below media */
  .home-right {
    width: 100%;
    padding: 2rem var(--pad-x) 2.5rem;
    gap: 1rem;
    justify-content: flex-start;
  }
  .home-brand-title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    line-height: 1;
  }
  .home-tagline {
    font-size: 0.96rem;
    line-height: 1.5;
    max-width: none;
  }
  .home-whatwedo {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .wwd-text { display: block; margin-top: 0.25rem; }
  .home-divider { max-width: 100%; }
  .btn-checkus {
    padding: 0.85rem 0.85rem 0.85rem 1.4rem;
    font-size: 0.95rem;
  }
  .home-regions { font-size: 0.92rem; }

  /* HOME CLIENTS: full-width logo strip below content */
  .home-clients {
    position: relative;
    width: 100%;
    padding: 0.7rem 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .logo {
    height: 50px;
    padding: 0 0.4rem;
  }
  .logo img {
    max-height: 38px;
    max-width: 110px;
  }
  .logo-track {
    gap: 1.75rem;
    animation-duration: 28s;
  }

  /* ============================================================
     ABOUT — well-stacked, full width
     ============================================================ */
  .about-block { padding: 4rem var(--pad-x) 2.5rem; text-align: center; }
  .about-block:first-of-type { padding-top: calc(var(--nav-h) + 3rem); }
  .ab-inner { max-width: 100%; gap: 1.25rem; }
  .ab-heading {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
  }
  .ab-heading h2 { font-size: 1.4rem; letter-spacing: 0.06em; }
  .ab-dot { width: 28px; height: 28px; }
  .ab-lead {
    font-size: 1rem;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }
  .ab-text {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
  }

  /* WHY US block — also centered, full-width */
  .why-us .ab-text { text-align: center; max-width: 100%; }

  /* VALUES — 2 columns on phones (still readable) */
  .values { padding: 3.5rem var(--pad-x) 4rem; }
  .values-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
    margin-bottom: 2.5rem;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    max-width: 100%;
  }
  .value-card {
    padding: 1.5rem 1rem;
    gap: 0.6rem;
    text-align: center;
  }
  .value-icon { width: 52px; height: 52px; }
  .value-icon svg { width: 24px; height: 24px; }
  .value-card h3 { font-size: 0.98rem; }
  .value-card p { font-size: 0.8rem; line-height: 1.55; }

  /* CAPABILITIES — single column, full-width */
  .capabilities { padding: 3.5rem var(--pad-x) 4rem; }
  .cap-head { margin-bottom: 2.5rem; }
  .cap-head h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.15;
    text-align: center;
  }
  .cap-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.85rem;
    border-radius: 18px;
  }
  .cap-card { padding: 1.5rem 1.25rem; }
  .cap-icon { width: 46px; height: 46px; margin-bottom: 1rem; }
  .cap-card h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .cap-card li { font-size: 0.85rem; line-height: 1.6; }

  /* ============================================================
     PORTFOLIO — slider full-width, text below
     ============================================================ */
  .cases {
    padding: 3rem var(--pad-x) 2rem;
    gap: 3.5rem;
    max-width: 100%;
  }
  .case {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }
  .case.reverse .case-media { order: 0; }

  /* Slider full-width media */
  .case-media {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    margin: 0;
  }

  /* Case body — text stacks naturally below */
  .case-body { gap: 0.85rem; padding: 0; }
  .case-num { font-size: 0.68rem; letter-spacing: 0.18em; }
  .case-body h2 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
    line-height: 1.1;
  }
  .case-client { font-size: 0.85rem; }
  .case-body p { font-size: 0.93rem; line-height: 1.65; }

  /* Stats: 3 across, smaller */
  .case-stats {
    gap: 0.75rem 1rem;
    padding: 1rem 0;
    flex-wrap: wrap;
  }
  .case-stats li {
    flex: 1 1 calc(33% - 0.7rem);
    min-width: 70px;
  }
  .case-stats strong { font-size: 1.55rem; }
  .case-stats span { font-size: 0.65rem; line-height: 1.3; }

  /* Tags */
  .case-tags { gap: 0.4rem; }
  .case-tags span {
    font-size: 0.68rem;
    padding: 0.4rem 0.8rem;
    letter-spacing: 0.05em;
  }

  /* ============================================================
     PAGE HERO (about / portfolio / contact)
     ============================================================ */
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) var(--pad-x) 2.5rem; }
  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
    max-width: 100%;
  }
  .page-hero-lede { font-size: 0.95rem; line-height: 1.6; }

  /* ============================================================
     CONTACT — easy-fill mobile form
     ============================================================ */
  .contact { padding: 2.5rem var(--pad-x); }
  .contact-grid { gap: 2rem; grid-template-columns: 1fr; }

  .contact-info { gap: 1.25rem; }
  .info-block { gap: 0.2rem; }
  .info-label { font-size: 0.65rem; letter-spacing: 0.18em; }
  .info-link { font-size: 1rem; }

  /* Form container */
  .contact-form {
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
    border-radius: 16px;
  }
  .form-head h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }

  /* Stack form rows */
  .form-row { grid-template-columns: 1fr; gap: 0.85rem; }
  .form-field { gap: 0.4rem; }
  .form-label { font-size: 0.7rem; letter-spacing: 0.14em; }

  /* Inputs — bigger tap targets, no iOS zoom */
  .contact-form input,
  .contact-form textarea {
    padding: 0.85rem 1rem;
    font-size: 16px; /* prevents iOS Safari auto-zoom */
    border-radius: 10px;
  }
  .contact-form textarea { min-height: 120px; }

  /* Chips — larger tap area, wrap nicely */
  .chips { gap: 0.4rem; }
  .chip span {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }

  /* Buttons — full-width on mobile for easy tapping */
  .btn { padding: 0.95rem 1.4rem; font-size: 0.92rem; }
  .btn-lg {
    padding: 1.05rem 1.6rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  /* ============================================================
     GOT A PROJECT — stack vertically
     ============================================================ */
  .got-project { padding: 3rem var(--pad-x) 3rem; }
  .gp-inner { padding: 2.5rem 0; gap: 1.75rem; grid-template-columns: 1fr; }
  .gp-left h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.05;
  }
  .gp-left p { font-size: 0.95rem; line-height: 1.65; }

  /* ============================================================
     FOOTER
     ============================================================ */
  .footer { padding: 3rem var(--pad-x) 1.5rem; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem !important;
    margin-bottom: 2rem;
  }
  .footer-brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .footer-brand .brand img { height: 42px; }
  .footer-grid h4 {
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
    margin-top: 0;
  }
  .footer-grid p { font-size: 0.88rem; }
  .footer-bottom {
    text-align: left;
    font-size: 0.74rem;
    padding-top: 1.5rem;
  }

  /* Social icons — clean inline row below logo, never overlap next column */
  .footer-socials {
    margin-top: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    align-items: center;
    width: 100%;
  }
  .soc-ico {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
    overflow: hidden; /* clip oversized SVG layers (TikTok logo) to circle */
  }
  .soc-ico svg {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
  }
  .info-socials .soc-ico.lg { width: 44px !important; height: 44px !important; }

  /* Newsletter */
  .news-form { flex-wrap: nowrap; }
  .news-form input { min-width: 0; font-size: 16px; }
  .news-form button {
    white-space: nowrap;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }

  /* Editorial: shrink asterisks slightly */
  .asterisk { font-size: 1.05em; }
}

/* ============================================================
   SMALL MOBILE (≤600px)
   ============================================================ */
@media (max-width: 600px) {
  /* Values: row layout (icon left, text right) */
  .values-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .value-card {
    padding: 1.25rem 1.25rem;
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1rem;
  }
  .value-card h3, .value-card p { text-align: left; }
  .value-card p { max-width: none; flex: 1; }
  .value-icon { flex-shrink: 0; }
}

/* ============================================================
   VERY SMALL MOBILE (≤380px) — iPhone SE etc.
   ============================================================ */
@media (max-width: 380px) {
  :root { --pad-x: 1rem; }
  body { font-size: 14.5px; }
  .home-brand-title { font-size: 2.1rem; }
  .home-tagline { font-size: 0.88rem; }
  .page-hero h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .case-body h2 { font-size: 1.3rem; }
  .case-stats { gap: 0.6rem; }
  .case-stats li { flex-basis: calc(50% - 0.5rem); }
  .case-stats strong { font-size: 1.3rem; }
  .btn { padding: 0.85rem 1.2rem; font-size: 0.88rem; }
  .brand img { height: 30px; }
  .logo img { max-width: 90px; max-height: 32px; }
}

/* ==========================================================
   EDITORIAL POLISH LAYER
   ========================================================== */

/* Editorial asterisk */
.asterisk {
  display: inline-block;
  color: var(--red-bright);
  font-weight: 400;
  line-height: 1;
  font-size: 1.2em;
  vertical-align: -0.04em;
  margin-right: 0.3em;
}

/* Bold uppercase H2 with gradient em + faded keyword */
h2 em {
  font-style: normal;
  font-weight: 900;
  background: var(--grad-red);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 .faded {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 900;
}

/* Page hero h1 — bolder, gradient italic em, faded accent */
.page-hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 900;
  background: var(--grad-red);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.page-hero h1 .faded,
.page-hero h1 .title-accent {
  color: rgba(255, 255, 255, 0.30);
  font-weight: 900;
  background: none;
  -webkit-text-fill-color: initial;
  font-style: normal;
}

/* Ambient red glow behind everything */
body::after {
  content: "";
  position: fixed;
  top: 35%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw;
  max-width: 1200px; max-height: 1200px;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

/* Section tag — small red dot prefix */
.section-tag {
  position: relative;
  padding-left: 1rem;
}
.section-tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-bright);
}
.section-tag.light::before {
  background: var(--ink-muted);
  box-shadow: none;
}

/* Footer h4 in coral */
.footer-grid h4 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-soft);
}


.loop-group {
  color: red;
  display: inline-block;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.loop-group.hide {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
}