:root { --paper: #fafaf7; --ink: #000; --red: #e60012; }

  /* Wally wordmark — text-based logo using the Anton display face, inherits color via `color` */
  .wally-logo {
    display: inline-block;
    font-family: 'Anton', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-size: 24px;
    line-height: 1;
    vertical-align: middle;
  }
  .wally-logo.lg { font-size: 30px; }
  .wally-logo.sm { font-size: 19px; }
  .wally-logo.xl { font-size: 40px; }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Inter', system-ui, sans-serif; background: var(--paper); color: var(--ink); letter-spacing: -0.02em; word-spacing: -0.06em; }
  .anton { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.0; font-weight: 400; }
  .mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }


  /* Page container */
  .page { display: block; }

  /* Page-specific layout helpers */
  .container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
  .full-bleed { width: 100%; }
  .grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }

  /* Real headlines — mobile-first floor sizes */
  .h1-hero { font-size: clamp(38px, 6.2vw, 92px); }
  .h2-section { font-size: clamp(38px, 6.2vw, 92px); }
  .h3-card { font-size: clamp(20px, 2.5vw, 36px); }

  /* Header */
  .siteheader { background: var(--paper); border-bottom: 1px solid rgba(0,0,0,0.08); padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
  .siteheader nav { display: flex; gap: 24px; }
  .siteheader nav a { color: var(--ink); text-decoration: none; opacity: 0.6; }

/* ===========================
   HERO VIDEO
=========================== */

.hero-video{
    position: relative;
    width: 100%;
    height: calc(100vh - 118px);
    overflow: hidden;
    background: #000;
}

.hero-video-bg{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* video Tablet */

@media (max-width:991px){

.hero-video{
    height: calc(100vh - 110px);
}

}

/* vedio Mobile */

@media (max-width:768px){

.hero-video{
    height: calc(100svh - 90px);
}

}

  /* Hero & inner page common */
  .hero-dark { background: #08070a; color: #fff; padding: 56px 24px; min-height: 70vh; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
  .hero-paper { background: var(--paper); color: var(--ink); padding: 56px 24px; min-height: 60vh; position: relative; }
  .red-period { display: none; }
  .about-title .red-period { display: inline; color: var(--red); }
  .red-line { color: var(--red); }
  .scene-grain { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: 0.45; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E"); }
  .scene-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 50%, rgba(0,0,0,0.5) 100%); }

  /* Format-specific scene placeholders */
  .scene-projection { background: linear-gradient(180deg, #08070a 0%, #1a0e08 60%, #000 100%); }
  .scene-wildposters { background: linear-gradient(160deg, #15110e 0%, #1a1815 50%, #0a0808 100%); }
  .scene-billboards { background: radial-gradient(ellipse 70% 60% at 50% 50%, #2a3a55 0%, #050608 60%, #000 100%); }
  .scene-air { background: linear-gradient(180deg, #2a4570 0%, #2a4570 55%, #ff7544 90%, #ff7544 100%); }
  .scene-arrival { background: linear-gradient(180deg, #080608 0%, #1a0a0a 70%, #1a0a0a 100%); }
  .scene-experiential, .scene-ledtrucks { background: radial-gradient(ellipse 80% 80% at 50% 50%, #1f0e15 0%, #0a0608 60%, #000 100%); }
  .scene-influence { background: linear-gradient(135deg, #0a0608 0%, #1a0e10 50%, #0a0608 100%); }

  /* Section meta label */
  .section-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 16px; display: inline-block; }

  /* Card grids */
  .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 32px 0; }
  .card-dark { background: #000; color: #fff; padding: 32px; position: relative; overflow: hidden; transition: background 0.3s; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; }
  .card-dark:hover { background: var(--red); }
  .card-light { background: #fff; padding: 32px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(0,0,0,0.06); }

  /* CTA buttons */
  .btn-red { background: var(--red); color: #fff; padding: 14px 24px; font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; text-decoration: none; display: inline-block; }
  .btn-black { background: #000; color: #fff; padding: 14px 24px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; text-decoration: none; display: inline-block; }

  /* Image placeholders */
  .img-placeholder { width: 100%; aspect-ratio: 4/3; position: relative; overflow: hidden; }
  .img-placeholder.tall { aspect-ratio: 4/5; }
  .img-placeholder .label { position: absolute; bottom: 12px; left: 12px; right: 12px; color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
  .img-placeholder .label-sub { opacity: 0.7; }

  /* Stats ticker */
  .ticker { background: #000; color: #fff; padding: 16px 0; overflow: hidden; }
  .ticker-content { display: flex; gap: 64px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; padding-left: 24px; }
  .ticker-content span:nth-child(odd) { color: var(--red); }

  /* Page indicator strip */
  .page-strip { background: #000; color: #fff; padding: 10px 24px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.07em; display: flex; gap: 24px; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); }
  .page-strip .num { color: var(--red); font-weight: 700; }

  /* Feedback note */
  .feedback-callout { background: #fff8db; border-left: 4px solid #d4a017; padding: 16px 24px; margin: 24px; font-family: 'Inter', sans-serif; font-size: 13px; line-height: 1.5; }
  .feedback-callout strong { color: #8b6900; }

  /* Two-col layout */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 48px 0; }

  /* =================================================================== */
  /* MOBILE RESPONSIVE — covers everything from 320px through 768px       */
  /* =================================================================== */

  /* Tablet and below */
  @media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .siteheader { padding: 12px 20px; }
    .siteheader nav { gap: 16px; }
    .work-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  }

  /* Phone (anything under 768px) */
  @media (max-width: 768px) {
    /* Container & padding */
    .container { padding: 0 16px; }

    /* Headlines step down — Anton 40px is fine for 320px viewport */
    .h1-hero { font-size: clamp(34px, 8vw, 78px); }
    .h2-section { font-size: clamp(34px, 8vw, 78px); }

    /* Site header collapses */
    .siteheader { padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
    .siteheader nav { gap: 12px; font-size: 10px; }
    .siteheader nav a { font-size: 10px; }

    /* Hero sections — drastically less vertical padding */
    .hero-dark, .hero-paper { padding: 48px 16px !important; min-height: auto !important; }
    section[style*="min-height: 90vh"] { min-height: 75vh !important; padding: 56px 16px !important; }
    section[style*="min-height: 80vh"] { min-height: 60vh !important; padding: 56px 16px !important; }
    section[style*="min-height: 70vh"] { min-height: 55vh !important; padding: 48px 16px !important; }
    section[style*="min-height: 60vh"] { min-height: auto !important; padding: 48px 16px !important; }
    section[style*="padding: 80px"] { padding: 48px 16px !important; }
    section[style*="padding: 64px"] { padding: 40px 16px !important; }

    /* Force any inline 2-col grid to single col */
    div[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 32px !important; }

    /* Tab nav — hide preview-meta on small phones to save room for scroll */
    .preview-meta { display: none; }
    .tabnav { padding: 10px 12px; }
    .tabnav-brand { font-size: 18px; margin-right: 12px; }
    .tab-btn { padding: 6px 10px; font-size: 9px; }

    /* Footer collapse */
    .sitefooter { padding: 32px 16px 16px; }
    .sitefooter .grid { gap: 24px; }
    .sitefooter .credit { flex-direction: column; gap: 12px; }

    /* Stats — reduce floor so phones don't see massive Anton numbers */
    .stat-num { font-size: clamp(40px, 12vw, 64px) !important; }
    .stat-card { padding: 24px 16px; }

    /* Cards & service tiles */
    .card-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-title { font-size: 32px; }
    .work-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Card grids using minmax with high floors — force single col */
    div[style*="minmax(360px"], div[style*="minmax(320px"], div[style*="minmax(280px"] { grid-template-columns: 1fr !important; }
    /* Smaller minmax can stay as 2-col on phone */
    div[style*="minmax(240px"], div[style*="minmax(260px"] { grid-template-columns: 1fr !important; }
    div[style*="minmax(220px"] { grid-template-columns: repeat(2, 1fr) !important; }
    div[style*="minmax(180px"] { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

    /* Buttons need to be touch-friendly */
    .btn-red, .btn-black { padding: 14px 20px; font-size: 11px; display: inline-block; min-height: 44px; }
    a.btn-red[style*="padding: 18px"], a.btn-red[style*="padding: 16px 32px"] { padding: 16px 24px !important; }

    /* Card padding */
    .card-light, .card-dark { padding: 24px; min-height: auto; }

    /* Accordion */
    .accordion-item .q { font-size: 18px; }
    .accordion-item .a { max-width: 100%; font-size: 13px; }

    /* Chips & pills */
    .chip-row { gap: 6px; }
    .chip { padding: 7px 10px; font-size: 9px; }
    .pill { padding: 8px 14px; font-size: 10px; }

    /* Subnav strip on inner pages */
    .subnav-strip { padding: 10px 16px; font-size: 9px; gap: 12px; }

    /* Feedback callout */
    .feedback-callout { margin: 16px; padding: 14px 16px; font-size: 12px; }

    /* Two-col forced to one */
    .two-col { grid-template-columns: 1fr; gap: 32px; margin: 32px 0; }
    .grid-12 { grid-template-columns: repeat(4, 1fr); }

    /* Ticker font smaller so it fits */
    .ticker-content { gap: 32px; font-size: 10px; padding-left: 16px; }

    /* Form section contact page */
    div[style*="padding: 48px"][style*="grid-template-columns: 1fr 1fr"] { padding: 24px !important; grid-template-columns: 1fr !important; gap: 32px !important; }
  }

  /* Very narrow phones (under 380px — iPhone SE 1st gen, small Androids) */
  @media (max-width: 380px) {
    .h1-hero { font-size: clamp(28px, 8vw, 52px); }
    .h2-section { font-size: clamp(28px, 8vw, 52px); }
    .service-title { font-size: 32px; }
    .stat-num { font-size: 44px !important; }
    .tab-btn { padding: 6px 8px; font-size: 9px; }
    .tabnav-brand { font-size: 16px; }
    .container { padding: 0 12px; }
    .hero-dark, .hero-paper { padding: 36px 12px !important; }
    section[style*="padding: 80px"] { padding: 36px 12px !important; }
    div[style*="minmax(220px"] { grid-template-columns: 1fr !important; }
    div[style*="minmax(180px"] { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  }

  /* Tables / accordion */
  .accordion-item { border-top: 1px solid rgba(0,0,0,0.1); padding: 24px 0; }
  .accordion-item .q { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; font-size: 24px; line-height: 1; }
  .accordion-item .a { margin-top: 12px; font-size: 14px; line-height: 1.6; opacity: 0.75; max-width: 70%; }

  /* Filter chips */
  .chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
  .chip { padding: 8px 14px; background: #fff; border: 1px solid rgba(0,0,0,0.15); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
  .chip.active { background: #000; color: #fff; }

  /* Service Tile */
  .service-tile { background: transparent; color: #000; padding: 0; position: relative; display: flex; flex-direction: column; cursor: pointer; text-decoration: none; }
  .service-copy { font-size: 14px; color: #000; opacity: 0.65; line-height: 1.5; margin-top: 8px; }
  .service-media { position: relative; overflow: hidden; border-radius: 4px; }
  .service-tile-bg { position: relative; width: 100%; height: 220px; object-fit: cover; object-position: top; display: block; z-index: 0; }
  .service-tile-shade { display: none; }
  .service-row { position: relative; z-index: 2; padding: 20px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .service-title-group { display: flex; align-items: center; gap: 10px; }
  .service-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; opacity: 0.8; letter-spacing: 0.09em; }
  .service-title { font-family: 'Anton', Impact, sans-serif; font-size: 32px; text-transform: uppercase; line-height: 1; color: #000; transition: color 0.25s; }
  .service-tile:hover .service-title { color: var(--red); }
  .service-desc { font-size: 13px; opacity: 0.9; margin-top: 16px; color: #000; }
  .service-cta { position: absolute; bottom: 12px; right: 12px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.8); }
  .service-media .format-tag { top: 12px; left: 12px; }
  .service-new { background: var(--red); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 9px; padding: 2px 6px; letter-spacing: 0.07em; }

  /* Selected work */
  .work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 24px; }
  .work-grid article .img-placeholder img { transition: transform 0.55s cubic-bezier(0.25, 1, 0.3, 1), filter 0.55s ease; }
  .work-grid article:hover .img-placeholder img { transform: scale(1.08); filter: brightness(0.85); }
  .work-grid article .label { transition: opacity 0.3s ease; }
  .work-grid article h3 { letter-spacing: 0.05em; transition: color 0.25s ease; }
  .work-grid article:hover h3 { color: var(--red); }

  /* Inner page sub-nav */
  .subnav-strip { background: #000; color: #fff; padding: 12px 24px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; display: flex; gap: 16px; align-items: center; overflow-x: auto; white-space: nowrap; }
  .subnav-strip a { color: #fff; text-decoration: none; opacity: 0.5; }
  .subnav-strip a.current { opacity: 1; color: var(--red); }
  .subnav-strip .dot { opacity: 0.25; }

  /* Tab pills */
  .pill-row { display: flex; gap: 6px; margin: 24px 0; flex-wrap: wrap; }
  .pill { padding: 10px 18px; background: rgba(0,0,0,0.04); border: none; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; font-weight: 600; }
  .pill.active { background: #000; color: #fff; }

  /* Stats card */
  .stat-card { padding: 32px 24px; background: rgba(0,0,0,0.04); display: flex; flex-direction: column; gap: 8px; }
  .stat-num { font-family: 'Anton', Impact, sans-serif; font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--red); }
  .stat-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.7; }

  /* =================================================================== */
  /* NEW NAVBAR — glass bar + dropdown                                    */
  /* =================================================================== */
  #navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 200; transition: transform 0.28s ease; }
  #navbar.nav-hidden { transform: translateY(-100%); }
  .navbar { position: relative; z-index: 201; background: transparent; padding: 16px 32px 12px; transition: background 0.25s ease; }
  #navbar.nav-glass .navbar { background: rgba(10,10,12,0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .navbar-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .nav-logo { color: #fff; text-decoration: none; flex-shrink: 0; display: inline-flex; align-items: center; width: clamp(72px, 7vw, 102px); }
  .nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
  .nav-link { position: relative; color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; opacity: 0.85; background: none; border: none; appearance: none; -webkit-appearance: none; margin: 0; vertical-align: middle; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 0 0 6px; transition: color 0.25s ease, opacity 0.25s ease; }
  .nav-dropdown { display: inline-flex; align-items: center; }
  .caret { display: inline-flex; align-items: center; position: relative; top: -4px; }
  .nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width 0.25s ease; }
  .nav-link:hover, .nav-link:focus-visible, .nav-link:active, .nav-link.is-active { color: var(--red); opacity: 1; }
  .nav-link:hover::after, .nav-link:focus-visible::after, .nav-link:active::after, .nav-link.is-active::after { width: 100%; }
  .nav-dropdown:hover .nav-link { color: var(--red); opacity: 1; }
  .nav-dropdown:hover .nav-link::after { width: 100%; }
  .nav-dropdown { position: relative; }
  .nav-dropdown-menu { position: absolute; top: 100%; left: 0; background: #111; border: 1px solid rgba(255,255,255,0.08); min-width: 180px; padding: 8px 0; display: none; flex-direction: column; z-index: 50; }
  .nav-dropdown:hover .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a { padding: 10px 16px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; opacity: 0.75; text-decoration: none; }
  .nav-dropdown-menu a:hover { opacity: 1; background: rgba(255,255,255,0.05); }
  .nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
  .theme-toggle { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); border: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; }
  .btn-contact { background: var(--red); color: #fff; padding: 10px 18px; font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; text-decoration: none; border-radius: 2px; white-space: nowrap; }

  .nav-toggle { display: none; width: 34px; height: 34px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.25s ease; }
  #navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  #navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  #navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  @media (max-width: 768px) {
    #navbar { position: static; transform: none !important; }
    .navbar { padding: 12px 16px 9px; background: #08070a; backdrop-filter: none; -webkit-backdrop-filter: none; }
    #navbar.nav-glass .navbar { background: #08070a; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-logo { width: clamp(64px, 20vw, 86px); }
    .nav-right { gap: 10px; }
    .nav-toggle { display: flex; }

    .nav-links {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #0a0a0c;
      padding: 8px 16px 20px;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.25s ease;
    }

    #navbar.nav-open .nav-links {
      max-height: 80vh;
      opacity: 1;
      overflow-y: auto;
    }

    .nav-link { padding: 12px 0; width: 100%; }
    .nav-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
    .nav-dropdown-menu { display: flex; position: static; border: none; background: none; padding: 0 0 0 16px; min-width: 0; }
  }

/* =================================================================== */
/* HOME REDESIGN - screenshot-matched layout with CSS placeholders       */
/* =================================================================== */

.home-page {
  --home-bg: #09090b;
  --home-panel: #111113;
  --home-line: rgba(255,255,255,0.11);
  --home-muted: rgba(255,255,255,0.7);
  background: var(--home-bg);
  color: #f5f5f0;
}

.home-page .navbar {
  background: transparent;
  padding: 15px 24px 12px;
}

.home-page .navbar-inner {
  max-width: none;
}

.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: url(#navLogoRed);
}

.home-page .nav-links {
  gap: 30px;
}

.home-page .nav-link {
  font-size: 14px;
  font-weight: 800;
}

.home-page .btn-contact {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 2px;
}

.home-page .theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.24);
  background: transparent;
  font-size: 0;
}

.home-page .theme-toggle::before,
.home-page .theme-toggle::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0.9;
}

.home-page .theme-toggle::after {
  inset: 7px;
  border: 0;
  background:
    linear-gradient(#fff,#fff) center 0/1px 5px no-repeat,
    linear-gradient(#fff,#fff) center bottom/1px 5px no-repeat,
    linear-gradient(90deg,#fff,#fff) left center/5px 1px no-repeat,
    linear-gradient(90deg,#fff,#fff) right center/5px 1px no-repeat;
  border-radius: 0;
}

.home-page .city-ticker {
  padding: 13px 0;
}

.home-page .city-ticker-content {
  gap: 58px;
  animation: ticker-scroll 38s linear infinite;
}

.home-page .city-item {
  font-size: 11px;
  font-weight: 800;
}

.home-page main {
  overflow: hidden;
}

.home-container {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.display-title {
  color: #f4f4ef;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(38px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.0;
  text-transform: uppercase;
}

.lead-copy,
.section-intro {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.48;
  max-width: 820px;
}

.section-intro {
  max-width: 980px;
  margin-top: 20px;
}

.home-hero {
  width: 100%;
  aspect-ratio: 1920 / 1000;
  position: relative;
  background: #07101a;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-about {
  background: #ffffff;
  padding-top: 56px;
  padding-bottom: 24px;
}

.about-title {
  max-width: 950px;
}

.home-about .about-title {
  color: #111;
}

.home-about .lead-copy {
  margin-top: 24px;
  color: #000;
}

.logo-marquee {
  background: #08080a;
  margin-top: 48px;
  overflow: hidden;
  padding: 4px 0;
  width: 100%;
}

.logo-marquee-track {
  animation: logo-marquee-scroll 98s linear infinite;
  display: flex;
  align-items: center;
  width: max-content;
}

.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused;
}

.home-stats-strip {
  background: #fff;
  padding: 40px 0 12px;
}

.stats-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.home-stats-strip .stat-num {
  font-size: clamp(28px, 3.4vw, 48px);
}

.home-stats-strip .stat-label {
  color: #000;
  opacity: 0.6;
}

.logo-marquee-set {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: clamp(72px, 7.7vw, 113px);
  padding-right: clamp(72px, 7.7vw, 113px);
}

.logo-marquee img {
  display: block;
  flex: 0 0 auto;
  height: clamp(56px, 6.2vw, 88px);
  width: auto;
  object-fit: contain;
  object-position: center;
  opacity: 1;
}

@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.home-formats {
  background: #ffffff;
  padding: 20px 0 56px;
}

.home-formats .display-title {
  max-width: 980px;
  color: #111;
}

.home-formats .section-intro {
  color: #000;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.format-card,
.format-menu-card {
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
  padding: 48px 32px 34px;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.format-card::before {
  background-image: var(--format-image);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.3, 1);
}

.format-card:hover::before {
  transform: scale(1.07);
}

.format-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.format-card:hover .format-card-video {
  opacity: 1;
}

.format-card-video-live {
  opacity: 1;
}

.format-card-static:hover::before {
  transform: none;
}

.campaign-visual::before {
  background-image: var(--campaign-image);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.3, 1);
}

.campaign-card:hover .campaign-visual::before {
  transform: scale(1.07);
}

.cw-logo-reveal {
  display: none;
}

.final-placeholder::before {
  content: none;
}

.format-card::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.16) 48%, rgba(0,0,0,0.4) 100%),
    radial-gradient(circle at 62% 34%, rgba(255,255,255,0.08), transparent 20%);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
}

.campaign-visual::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.26) 45%, rgba(0,0,0,0.76) 100%);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
}

.final-placeholder::after {
  content: none;
}

.format-card h3,
.format-menu-card h3 {
  position: relative;
  z-index: 1;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
}

.format-card:has(.format-tag) h3 {
  margin-top: 12px;
}

.format-card p,
.format-card a,
.format-menu-card a,
.format-badge {
  position: relative;
  z-index: 1;
}

.format-card p {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 12px;
}

.format-card a,
.format-menu-card a {
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: auto;
}

.format-badge {
  position: absolute;
  top: 20px;
  right: 32px;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 5px 7px;
  text-transform: uppercase;
}

.format-badge:empty {
  display: none;
}

.format-tag {
  position: absolute;
  top: 20px;
  left: 32px;
  z-index: 1;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.placeholder-projection {
  --format-image: url("../images/Home page formats/Projection image.jpg");
  background: linear-gradient(135deg, #25140d, #0b1018 55%, #000);
}

.placeholder-air {
  --format-image: url("../images/Home page formats/wally air images Large.jpeg");
  background: linear-gradient(135deg, #071222, #1c2941 48%, #020205);
}

.placeholder-wild {
  --format-image: url("../images/Home page formats/wildposter\ pic.jpeg");
  background: linear-gradient(135deg, #d8d4c8, #322617 45%, #050505);
}

.placeholder-billboard {
  --format-image: url("../images/Home page formats/Billboards.jpg");
  background: linear-gradient(135deg, #354154, #0b0d10 58%, #2a170b);
}

.placeholder-arrival {
  --format-image: url("../images/Home page formats/Arrival By Wally.jpeg");
  background: linear-gradient(135deg, #1b241d, #0a0a0b 52%, #261019);
}

.placeholder-experiential {
  --format-image: url("../images/Home page formats/Experiential.jpeg");
  background: radial-gradient(circle at 65% 35%, #4063a2, #151113 45%, #050505);
}

.placeholder-influence {
  --format-image: url("../images/Home page formats/Influence.jpeg");
  background: linear-gradient(135deg, #eadbd4, #8b625d 38%, #09080a);
}

.format-menu-card {
  background: #08080a;
  border: 0;
}

.format-menu-card h3 {
  font-size: clamp(38px, 3.4vw, 58px);
  line-height: 1.15;
}

.city-break {
  background: #08080a;
  overflow: hidden;
}

.banner-image-wrap {
  min-height: clamp(360px, 48vw, 720px);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.banner-image-wrap::after {
  background: linear-gradient(180deg, rgba(8,8,10,0.08), rgba(8,8,10,0.2));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.banner-image-wrap img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 25%;
  position: absolute;
  width: 100%;
  transform: scale(1);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-image-wrap:hover img {
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track {
    animation: none;
  }

  .banner-image-wrap img {
    transition: none;
    transform: scale(1);
  }
}

.selected-work {
  background: #ffffff;
  padding: 56px 0;
}

.selected-work .section-intro {
  color: #000;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.selected-work .display-title {
  font-size: clamp(38px, 6.2vw, 92px);
  max-width: 1060px;
  color: #111;
}

.light-button {
  flex: 0 0 auto;
  background: #111;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  text-decoration: none;
  text-transform: uppercase;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 16px;
}

.campaign-card {
  min-width: 0;
}

.campaign-visual {
  aspect-ratio: 1.36;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px 12px;
  background: #171719;
}

.campaign-visual span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.campaign-card h3 {
  color: var(--red);
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.015em;
  margin-top: 13px;
  text-transform: uppercase;
}

.campaign-card p {
  color: #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  margin-top: 8px;
  text-transform: uppercase;
}

.campaign-card .campaign-idea {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
  color: #333;
  margin-top: 8px;
  text-transform: none;
}

.campaign-1 .campaign-visual {
  --campaign-image: url("../images/WORK/Reebok.jpg");
  background: linear-gradient(135deg, #88a2b5, #1b1b1c 64%, #ccb56a);
}

.campaign-2 .campaign-visual {
  --campaign-image: url("../images/WORK/Victoria.jpg");
  background: linear-gradient(135deg, #102332, #ed3fb9 52%, #0e0607);
}

.campaign-3 .campaign-visual {
  --campaign-image: url("../images/WORK/Netflix.jpg");
  background: linear-gradient(135deg, #eddfd9, #583e3b 58%, #0a0a0b);
}

.campaign-4 .campaign-visual {
  --campaign-image: url("../images/WORK/Princess polly.jpg");
  background: linear-gradient(135deg, #e9e7de, #b87d55 52%, #34403d);
}

.campaign-5 .campaign-visual {
  --campaign-image: url("../images/WORK/Searchlight.jpg.jpeg");
  background: linear-gradient(135deg, #e7ecef, #1c2e27 48%, #060606);
}

.campaign-6 .campaign-visual::after {
  content: none;
}

.campaign-6 .campaign-visual {
  --campaign-image: url("../images/WORK/Disney.jpg");
  background: linear-gradient(135deg, #0b0c12, #654030 52%, #ffb354);
}

.campaign-7 .campaign-visual {
  --campaign-image: url("../images/WORK/Sabrina.jpg");
  background: linear-gradient(135deg, #e6efef, #f39f77 45%, #121a20);
}

.campaign-8 .campaign-visual {
  --campaign-image: url("../images/WORK/Giant ruel.jpg");
  background: linear-gradient(135deg, #dbded8, #5a5f57 52%, #0e0e0e);
}

.campaign-9 .campaign-visual {
  --campaign-image: url("../images/WORK/Puma.jpg");
  background: linear-gradient(135deg, #cde7f5, #d1a449 54%, #181818);
}

.campaign-10 .campaign-visual {
  --campaign-image: url("../images/WORK/tiktok.jpg");
  background: linear-gradient(135deg, #191a18, #3e744d 48%, #d8aa4d);
}

.campaign-11 .campaign-visual {
  --campaign-image: url("../images/WORK/google.jpg");
  background: linear-gradient(135deg, #0f2a31, #d5903a 55%, #0b0b0d);
}

.campaign-12 .campaign-visual {
  --campaign-image: url("../images/WORK/fff (1).jpg");
  background: linear-gradient(135deg, #a07549, #f3e7ca 48%, #151515);
}

.why-wally {
  --w-red: #e60012;
  background: #08070a;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  overflow: hidden;
  padding: 56px 0 0;
  position: relative;
}

.why-wally .w-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.why-wally .w-label {
  color: var(--w-red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.why-wally .w-headline {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(38px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.0;
  margin-top: 16px;
  text-transform: uppercase;
}

.why-wally .w-period {
  color: var(--w-red);
}

.why-wally .w-ticker {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 48px;
  overflow: hidden;
  white-space: nowrap;
}

.why-wally .w-ticker-track {
  animation: wally-why-scroll 28s linear infinite;
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  padding: 12px 0;
  text-transform: uppercase;
}

.why-wally .w-ticker-track span {
  margin: 0 28px;
}

.why-wally .w-dot {
  background: var(--w-red);
  border-radius: 50%;
  display: inline-block;
  height: 5px;
  margin-left: 28px;
  vertical-align: middle;
  width: 5px;
}

@keyframes wally-why-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.why-wally .w-stage {
  display: flex;
  min-height: 560px;
}

.why-wally .w-panel {
  background: #08070a;
  border-right: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  padding: 32px 28px;
  position: relative;
  transition: flex 0.55s cubic-bezier(0.25, 1, 0.3, 1), background 0.4s;
}

.why-wally .w-panel:last-child {
  border-right: none;
}

.why-wally .w-panel.active {
  background: #0d0c10;
  flex: 3.2;
}

.why-wally .w-panel::after {
  background: var(--w-red);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.3, 1);
  width: 100%;
}

.why-wally .w-panel.active::after {
  transform: scaleX(1);
}

.why-wally .w-num {
  color: transparent;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(72px, 9vw, 150px);
  left: 24px;
  line-height: 1;
  position: absolute;
  top: 20px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.28);
  text-stroke: 1px rgba(255,255,255,0.28);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s, transform 0.55s cubic-bezier(0.25, 1, 0.3, 1);
}

.why-wally .w-panel.active .w-num {
  color: var(--w-red);
  -webkit-text-stroke-color: var(--w-red);
  text-stroke-color: var(--w-red);
  transform: translateY(-6px);
}

.why-wally .w-title-vert {
  position: absolute;
  left: 24px;
  top: calc(20px + clamp(72px, 9vw, 150px) + 20px);
  color: #fff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  transform: rotate(180deg);
  transition: opacity 0.3s;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.why-wally .w-panel.active .w-title-vert {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.why-wally .w-content {
  max-width: 520px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
  transition: opacity 0.4s 0.18s, transform 0.55s 0.18s cubic-bezier(0.25, 1, 0.3, 1);
}

.why-wally .w-panel.active .w-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.why-wally .w-content .w-kicker {
  color: var(--w-red);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.why-wally .w-content h3 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

.why-wally .w-content p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 18px;
}

.why-wally .w-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
}

@media (max-width: 820px) {
  .why-wally .w-stage {
    flex-direction: column;
    min-height: 0;
  }

  .why-wally .w-panel {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    border-right: none;
    min-height: 110px;
    padding: 24px;
    transition: background 0.4s;
  }

  .why-wally .w-panel.active {
    background: #0d0c10;
  }

  .why-wally .w-num {
    font-size: 56px;
    margin-bottom: 4px;
    position: static;
    -webkit-text-stroke-width: 1px;
  }

  .why-wally .w-title-vert {
    position: static;
    font-size: 22px;
    margin-top: 8px;
    transform: none;
    writing-mode: horizontal-tb;
  }

  .why-wally .w-panel.active .w-title-vert {
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    position: static;
  }

  .why-wally .w-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.4s, transform 0.5s;
  }

  .why-wally .w-panel.active .w-content {
    margin-top: 8px;
    max-height: 480px;
  }
}

.mag-section {
  --mag-bg-card: #141414;
  --mag-border: #262626;
  --mag-white: #111111;
  --mag-gray: #8f8f8f;
  --mag-gray-dim: #5a5a5a;
  --mag-red: #e8281c;
  --mag-ease: cubic-bezier(.4,0,.2,1);
  background: #ffffff;
  color: var(--mag-white);
  width: 100%;
}

.mag-container {
  margin: 0 auto;
  max-width: 1400px;
  padding: 56px 24px;
}

.mag-header {
  animation: mag-rise-in .6s var(--mag-ease) forwards;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(14px);
}

.mag-eyebrow {
  color: var(--mag-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mag-title-row {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.mag-title-row h2 {
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(38px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: 0.25px;
  line-height: 1.0;
  text-transform: uppercase;
}

.mag-dot {
  display: none;
}

.wallymag-btn {
  align-items: center;
  background: var(--red);
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity .2s var(--mag-ease);
}

.wallymag-btn:hover {
  opacity: 0.85;
}

.mag-sub {
  color: var(--mag-white);
  font-size: 15px;
  line-height: 1.5;
  max-width: 720px;
}

.mag-framing {
  color: var(--mag-red);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
  margin-top: 0;
}

.mag-grid {
  align-items: start;
  animation: mag-rise-in .6s .1s var(--mag-ease) forwards;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.15fr 1fr;
  opacity: 0;
  transform: translateY(14px);
}

.featured-post {
  background: var(--mag-bg-card);
  border: 1px solid var(--mag-border);
  display: block;
  height: 600px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: filter .35s var(--mag-ease), opacity .35s var(--mag-ease);
}

.featured-post img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform .6s var(--mag-ease);
  width: 100%;
}

.featured-post:hover img {
  transform: scale(1.04);
}

.featured-post::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 68%, rgba(0,0,0,.92) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.mag-badge {
  align-items: center;
  background: var(--mag-red);
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 6px;
  left: 18px;
  letter-spacing: 0.03em;
  padding: 7px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
  z-index: 2;
}

.mag-badge::before {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
  animation: mag-badge-blink 1.2s ease-in-out infinite;
}

@keyframes mag-badge-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.featured-meta {
  bottom: 0;
  left: 0;
  padding: 26px 26px 28px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.featured-meta .cat {
  color: var(--mag-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-meta h3 {
  color: #fff;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.05;
  margin-top: 10px;
  text-transform: uppercase;
}

.post-list-wrap {
  position: relative;
}

.post-list {
  height: 600px;
  list-style: none;
  margin: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  overflow-y: auto;
  padding: 0;
  scrollbar-width: none;
}

.post-list::-webkit-scrollbar {
  display: none;
}

.post-item {
  align-items: center;
  border-bottom: 1px solid var(--mag-border);
  border-left: 2px solid transparent;
  cursor: pointer;
  display: flex;
  gap: 16px;
  padding: 16px 4px;
  transition: filter .35s var(--mag-ease), opacity .35s var(--mag-ease), border-color .25s var(--mag-ease), background .25s var(--mag-ease), padding-left .25s var(--mag-ease);
}

.post-item .num {
  color: #000;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  transition: color .25s var(--mag-ease);
  width: 22px;
}

.post-item .thumb {
  background: #000;
  flex-shrink: 0;
  height: 100px;
  object-fit: cover;
  width: 140px;
}

.post-item .meta {
  min-width: 0;
}

.post-item .cat {
  color: #000;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
  text-transform: uppercase;
  transition: color .25s var(--mag-ease);
}

.post-item h4 {
  color: var(--mag-white);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  transition: color .25s var(--mag-ease);
}

.post-item .arrow {
  color: var(--mag-red);
  flex-shrink: 0;
  font-size: 16px;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s var(--mag-ease), transform .25s var(--mag-ease);
}

.post-item.is-active {
  background: rgba(232,40,28,.05);
  border-left-color: var(--mag-red);
  padding-left: 14px;
}

.post-item.is-active .num,
.post-item.is-active .cat,
.post-item.is-active h4 {
  color: var(--mag-red);
}

.post-item.is-active .arrow {
  opacity: 1;
  transform: translateX(0);
}

.post-more-cta {
  display: flex;
  justify-content: center;
  padding: 24px 4px 8px;
}

.post-more-cta .wallymag-btn {
  justify-content: center;
  width: 100%;
}

.mag-grid.is-hovering .featured-post,
.mag-grid.is-hovering .post-item:not(.is-active) {
  filter: brightness(.42) saturate(.85);
}

.mag-grid.is-hovering .post-item.is-active {
  filter: none;
}

.preview-card {
  background: #101010;
  border: 1px solid #2c2c2c;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateY(8px);
  transition: opacity .28s var(--mag-ease), transform .28s var(--mag-ease), top .28s var(--mag-ease);
  visibility: hidden;
  width: 340px;
  z-index: 10;
}

.preview-card.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.preview-card img {
  display: block;
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.preview-card .body {
  padding: 18px 20px 20px;
}

.preview-card .cat {
  color: var(--mag-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-card h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.28;
  margin-top: 10px;
}

.preview-card p {
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 10px;
}

.preview-card .read {
  align-items: center;
  color: var(--mag-red);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.03em;
  margin-top: 14px;
  text-decoration: none;
  text-transform: uppercase;
}

.touch-detail {
  background: #101010;
  border-left: 2px solid var(--mag-red);
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--mag-ease);
}

.touch-detail .inner {
  display: flex;
  gap: 14px;
  padding: 16px;
}

.touch-detail img {
  flex-shrink: 0;
  height: 96px;
  object-fit: cover;
  width: 96px;
}

.touch-detail p {
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 6px;
}

.touch-detail .read {
  align-items: center;
  color: var(--mag-red);
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: 0.03em;
  margin-top: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

.post-item.is-active .touch-detail {
  display: block;
}

@keyframes mag-rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.final-cta {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08080a;
}

.final-placeholder {
  position: absolute;
  inset: 0;
  background: url("../images/HOMEPAGE CTA IMAGE.jpg.jpeg") center / cover no-repeat;
}

.final-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 24px 56px;
}

.final-content .display-title {
  font-size: clamp(38px, 6.2vw, 92px);
  text-shadow: 0 4px 22px rgba(0,0,0,0.5);
}

.final-content .final-cta-line {
  color: #fff;
  opacity: 0.85;
  font-size: 17px;
  margin-top: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.final-content .btn-red {
  margin-top: 56px;
  padding: 22px 34px;
}

.home-page .footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .campaign-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .mag-grid {
    grid-template-columns: 1fr;
  }

  .featured-post {
    height: 420px;
  }

  .post-list {
    height: auto;
    -webkit-mask-image: none;
    mask-image: none;
    max-height: none;
    overflow: visible;
  }

  .preview-card {
    display: none;
  }

  .post-item {
    flex-wrap: wrap;
  }

  .post-item .thumb {
    height: 56px;
    width: 56px;
  }

  .touch-detail {
    order: 99;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .format-grid {
    grid-template-columns: 1fr;
  }

  .campaign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .home-container {
    padding: 0 18px;
  }

  .display-title {
    font-size: clamp(34px, 8vw, 78px);
  }

  .home-about,
  .home-formats {
    padding-top: 64px;
  }

  .home-about .light-button,
  .home-about .btn-red {
    padding: 12px 16px;
    font-size: 11px;
  }

  .stats-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: normal;
    gap: 24px 16px;
  }

  .logo-marquee {
    margin-top: 32px;
  }

  .logo-marquee-track {
    animation-duration: 84s;
  }

  .logo-marquee-set {
    gap: clamp(51px, 11.5vw, 77px);
    padding-right: clamp(51px, 11.5vw, 77px);
  }

  .logo-marquee img {
    height: clamp(40px, 10vw, 60px);
  }

  .format-card,
  .format-menu-card {
    aspect-ratio: 3 / 2;
    padding: 32px 24px 26px;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .city-break {
    padding-top: 0;
  }

  .banner-image-wrap {
    min-height: 360px;
  }

  .final-placeholder {
    background-attachment: scroll;
    background-position: 85% center;
  }

}

@media (max-width: 640px) {
  .banner-image-wrap {
    min-height: 280px;
  }

  .final-cta {
    min-height: 420px;
  }

  .mag-container {
    padding: 40px 18px 70px;
  }

  .mag-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .wallymag-btn {
    align-self: flex-start;
  }

  .featured-post {
    height: 320px;
  }

  .featured-meta {
    padding: 18px;
  }

  .post-item .num {
    font-size: 11px;
    width: 18px;
  }

  .post-item .thumb {
    height: 48px;
    width: 48px;
  }

  .post-item h4 {
    font-size: 13.5px;
  }

  .format-card,
  .format-menu-card {
    padding: 24px 20px 20px;
  }

  .format-card h3,
  .format-menu-card h3 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .format-card:has(.format-tag) h3 {
    margin-top: 34px;
  }

  .format-card p {
    font-size: 13px;
    margin-top: 8px;
  }

  .format-tag,
  .format-badge {
    top: 16px;
    font-size: 9px;
    padding: 5px 8px;
  }

  .format-tag {
    left: 20px;
  }

  .format-badge {
    right: 20px;
  }
}

.home-process {
  background: #08070a;
  padding: 56px 0;
}

.home-process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 46%) 1fr;
  gap: 20px;
  align-items: stretch;
}

.home-process-rail {
  min-width: 0;
  background: #08070a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 96px;
  min-height: 480px;
  overflow: hidden;
}

.home-process-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  z-index: 0;
}

.home-process-rail-overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.home-process-rail-content {
  position: relative;
  z-index: 2;
}

.home-process-rail-foot {
  position: relative;
  z-index: 2;
}

.home-process-rail-title {
  margin-top: 16px;
}

.home-process-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-top: 24px;
  max-width: 320px;
}

.home-process-rail-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
}

.home-process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.home-process-step {
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: minmax(220px, min(380px, max-content)) 1fr;
  row-gap: 12px;
  column-gap: 32px;
  align-items: start;
  transition: background 0.3s ease;
}

.home-process-step-title {
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--red);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  min-width: 0;
}

.home-process-step-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.home-process-step-copy p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 900px) {
  .home-process-grid {
    grid-template-columns: 1fr;
  }

  .home-process-rail {
    position: relative;
    top: 0;
    height: 420px;
    min-height: 420px;
    gap: 24px;
  }

  .home-process-step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 28px;
  }
}
