/* ============================================================
   Filip Lazic — main.css
   Homepage-only styles (nav, hero, work grid, services, about,
   clients, contact, footer, cursor, marquee, animations).
   Loaded after base.css.
   ============================================================ */

body { overflow-x: hidden; }


  /* Hide custom cursor on touch devices */
  @media (pointer: fine) {
    body { cursor: none; }
    .cursor, .cursor-ring { display: block; }
  }
  @media (pointer: coarse) {
    .cursor, .cursor-ring { display: none !important; }
  }
  /* People who've asked for reduced motion get their normal system
     cursor back instead of the animated dot/ring (which the matching
     JS check in index.html also declines to activate). */
  @media (prefers-reduced-motion: reduce) {
    body { cursor: auto !important; }
    .cursor, .cursor-ring { display: none !important; }
  }

  .cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
    opacity: 0;
  }
  .cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }

  /* ===================== NAV ===================== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 56px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s;
  }
  .nav-logo {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    z-index: 201;
  }
  .nav-logo span { color: var(--accent); }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-mid);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    touch-action: manipulation;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
  }
  .nav-links a:hover { color: var(--black); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta {
    padding: 10px 22px !important;
    background: var(--black) !important;
    color: var(--white) !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    transition: background 0.2s !important;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--accent) !important; }

  /* Hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 201;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--black);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu overlay */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 199;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .mobile-menu.open { opacity: 1; }
  .mobile-menu ul {
    list-style: none;
    text-align: center;
  }
  .mobile-menu ul li {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s, transform 0.4s;
  }
  .mobile-menu.open ul li { opacity: 1; transform: none; }
  .mobile-menu.open ul li:nth-child(1) { transition-delay: 0.1s; }
  .mobile-menu.open ul li:nth-child(2) { transition-delay: 0.15s; }
  .mobile-menu.open ul li:nth-child(3) { transition-delay: 0.2s; }
  .mobile-menu.open ul li:nth-child(4) { transition-delay: 0.25s; }
  .mobile-menu ul a {
    display: block;
    padding: 24px 48px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .mobile-menu ul a:hover { color: var(--accent); }
  .mobile-menu-social {
    margin-top: 40px;
    display: flex;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.4s 0.35s;
  }
  .mobile-menu.open .mobile-menu-social { opacity: 1; }
  .mobile-menu-social a {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    transition: color 0.2s;
  }
  .mobile-menu-social a:hover { color: var(--accent); }

  /* ===================== HERO ===================== */
  .hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 73px;
    overflow: hidden;
  }
  .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 56px;
    position: relative;
  }
  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--light);
    border: 1px solid var(--border);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark-mid);
    margin-bottom: 28px;
    width: fit-content;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .hero-h1 {
    font-size: clamp(44px, 5.5vw, 88px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--black);
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
  }
  .hero-h1 .line-accent { color: var(--accent); font-style: italic; }
  .hero-desc {
    margin-top: 28px;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-mid);
    max-width: 360px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
  }
  .hero-actions {
    margin-top: 40px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
  }
  .btn-black {
    padding: 15px 32px;
    background: var(--black);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .btn-black:hover { background: var(--accent); transform: translateY(-2px); }
  .btn-outline {
    padding: 14px 24px;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .btn-outline:hover { background: var(--ink); color: var(--white); }
  .hero-right {
    position: relative;
    overflow: hidden;
    background: var(--light);
    min-height: 400px;
  }
  .hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    animation: zoomOut 1.2s 0.2s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
  }
  .hero-img-badge {
    position: absolute;
    bottom: 32px; left: -16px;
    background: var(--white);
    padding: 18px 24px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    opacity: 0;
    animation: slideRight 0.8s 1s forwards;
  }
  .badge-num {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--black);
    line-height: 1;
  }
  .badge-num span { color: var(--accent); }
  .badge-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: 4px;
  }

  /* ===================== MARQUEE ===================== */
  .marquee-wrap {
    background: var(--black);
    padding: 16px 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .marquee-track {
    display: inline-flex;
    animation: marquee 22s linear infinite;
  }
  .marquee-item {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    padding: 0 32px;
  }
  .marquee-dot { color: var(--accent); margin-right: 32px; }

  /* ===================== WORK ===================== */
  .work { padding: 100px 56px; background: var(--white); }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 20px;
  }
  .section-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .section-h2 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--black);
    line-height: 1.05;
  }
  .section-h2 .outline {
    -webkit-text-stroke: 2px var(--black);
    color: transparent;
  }
  .view-all {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 2px solid var(--black);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    align-self: flex-end;
    margin-bottom: 4px;
    flex-shrink: 0;
  }
  .view-all:hover { color: var(--accent); border-color: var(--accent); }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
  }

  /* Video grid — 6 tiles */
  .work-grid--video .wi:nth-child(1) { grid-column: span 7; }
  .work-grid--video .wi:nth-child(2) { grid-column: span 5; }
  .work-grid--video .wi:nth-child(3) { grid-column: span 4; }
  .work-grid--video .wi:nth-child(4) { grid-column: span 4; }
  .work-grid--video .wi:nth-child(5) { grid-column: span 4; }
  .work-grid--video .wi:nth-child(6) { grid-column: span 8; }

  /* Photo grid — 5 tiles */
  .work-grid--photo .wi:nth-child(1) { grid-column: span 4; }
  .work-grid--photo .wi:nth-child(2) { grid-column: span 4; }
  .work-grid--photo .wi:nth-child(3) { grid-column: span 4; }
  .work-grid--photo .wi:nth-child(4) { grid-column: span 6; }
  .work-grid--photo .wi:nth-child(5) { grid-column: span 6; }

  /* Divider between sections */
  .work-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 64px 0 52px;
  }
  .work-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  .work-divider-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mid);
    white-space: nowrap;
  }
  .work-divider-icon {
    font-size: 0.4rem;
    color: var(--accent);
  }

  /* Photo sub-section heading */
  .section-subhead {
    margin-bottom: 32px;
  }
  .section-h2--photo {
    font-size: clamp(20px, 2.8vw, 40px);
  }

  .wi { position: relative; overflow: hidden; background: var(--light); cursor: pointer; touch-action: manipulation; }
  .wi img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s;
    filter: brightness(0.82);
  }
  .wi:nth-child(1) img { aspect-ratio: 16/11; }
  .wi.fill-frame-wrap { min-height: 280px; position: relative; }
  .wi.fill-frame-wrap img.fill-frame { aspect-ratio: unset; position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
  img.fill-frame.corp-adjust { top: -5px !important; height: calc(100% + 5px) !important; }
  .wi:hover img { transform: scale(1.05); filter: brightness(0.6); }

  /* ---- Always-on "this is clickable" cue ----
     A persistent corner badge + label so visitors don't have to
     hover to discover a tile opens something. Pure CSS, no markup
     changes needed per tile. Hover still gives a bit of extra polish. */
  .wi::before {
    content: "\2197";
    position: absolute;
    top: 14px; right: 14px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(13,12,11,0.6);
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    pointer-events: none;
  }
  .wi:hover::before {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.12);
  }
  .wi-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 22px;
    background: linear-gradient(to top, rgba(13,12,11,0.92) 0%, rgba(13,12,11,0.55) 55%, transparent 100%);
    opacity: 1;
    transform: none;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
  }
  .wi-cat {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
  }
  .wi-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.3;
  }
  .wi-desc {
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 340px;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  /* Explicit "you can click this" microcopy, always visible, worded per grid */
  .wi-info::after {
    content: "View Project \2192";
    display: block;
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
  }
  .work-grid--video .wi-info::after { content: "Watch Film \2192"; }
  .work-grid--photo .wi-info::after { content: "View Gallery \2192"; }
  .wi-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    width: 52px; height: 52px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }
  .wi:hover .wi-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  .play-tri {
    width: 0; height: 0;
    border-style: solid;
    border-width: 7px 0 7px 13px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
  }

  /* ===================== SERVICES ===================== */
  .services {
    padding: 100px 56px;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .services-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .services-intro { position: sticky; top: 100px; }
  .services-body {
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-mid);
    margin-top: 24px;
    max-width: 280px;
  }
  .service-list { display: flex; flex-direction: column; }
  .service-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: start;
    gap: 20px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background 0.2s;
    cursor: pointer;
    touch-action: manipulation;
  }
  .service-row:first-child { border-top: 1px solid var(--border); }
  .service-row::before {
    content: '';
    position: absolute;
    left: -56px; right: -56px; top: 0; bottom: 0;
    background: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
  }
  .service-row:hover::before { opacity: 1; }
  .svc-num {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    padding-top: 4px;
    position: relative;
    z-index: 1;
  }
  .svc-content { position: relative; z-index: 1; }
  .svc-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 8px;
  }
  .svc-desc {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--dark-mid);
    max-width: 380px;
  }
  .svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }
  .svc-tag {
    padding: 3px 10px;
    background: var(--light);
    border: 1px solid var(--border);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-mid);
    transition: all 0.2s;
  }
  .service-row:hover .svc-tag { background: var(--black); color: var(--white); border-color: var(--black); }
  .svc-arrow {
    position: relative; z-index: 1;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 900;
    padding-top: 4px;
  }
  .service-row:hover .svc-arrow { opacity: 1; transform: none; }

  /* Accordion expand */
  .svc-expand {
    grid-column: 2 / 4;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    position: relative;
    z-index: 2;
  }
  .svc-expand.open {
    max-height: 400px;
    opacity: 1;
  }
  .svc-expand-inner {
    padding: 20px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
  }
  .svc-expand-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
    margin-bottom: 20px;
  }
  .svc-detail-item {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--dark-mid);
    line-height: 1.6;
  }
  .svc-detail-item strong {
    font-weight: 700;
    color: var(--black);
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  .svc-expand-body {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--dark-mid);
    margin-bottom: 20px;
    max-width: 440px;
    font-style: italic;
  }
  .svc-enquire {
    display: inline-block;
    padding: 11px 24px;
    background: var(--black);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    position: relative;
    z-index: 3;
  }
  .svc-enquire:hover { background: var(--accent); }
  .svc-toggle-icon {
    font-size: 1.2rem;
    font-weight: 300;
    transition: transform 0.3s;
    display: inline-block;
    position: relative;
    z-index: 2;
  }
  .service-row.active .svc-toggle-icon { transform: rotate(45deg); }
  /* Keep expanded content visible even without hover */
  .service-row.active::before { opacity: 1; }
  .svc-num, .svc-content, .svc-arrow { position: relative; z-index: 2; }
  @media (max-width: 768px) {
    .svc-expand { grid-column: 2 / 3; }
    .svc-expand-details { grid-template-columns: 1fr; }
  }

  /* ===================== ABOUT ===================== */
  .about {
    padding: 100px 56px;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
  }
  .about-visual { position: relative; }
  .about-img-main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    filter: grayscale(8%);
  }
  .about-img-accent {
    position: absolute;
    bottom: -28px; right: -28px;
    width: 44%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  }
  .about-tag-block {
    position: absolute;
    top: 36px; left: -16px;
    background: var(--accent);
    padding: 14px 18px;
    color: var(--white);
    box-shadow: 0 8px 28px rgba(255,61,46,0.3);
  }
  .about-tag-big { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1; }
  .about-tag-small { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 3px; opacity: 0.85; }
  .about-p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--dark-mid);
    margin-top: 24px;
  }
  .about-p strong { color: var(--black); font-weight: 700; }
  .about-quote {
    margin-top: 36px;
    padding: 24px 28px;
    border-left: 4px solid var(--accent);
    background: var(--off-white);
  }
  .about-quote p {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--black);
    line-height: 1.5;
    font-style: italic;
  }
  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 44px;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    padding: 24px 0;
  }
  .stat { text-align: center; }
  .stat + .stat { border-left: 1px solid var(--border); }
  .stat-n { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.04em; color: var(--black); line-height: 1; }
  .stat-n span { color: var(--accent); }
  .stat-l { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--mid); margin-top: 5px; }

  /* ===================== CLIENTS ===================== */
  .clients {
    padding: 64px 56px;
    background: var(--light);
    border-top: 1px solid var(--border);
  }
  .clients-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mid);
    text-align: center;
    margin-bottom: 36px;
  }
  .clients-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  /* Credential-badge treatment. Swap in real client logo images here
     (as <img> tags inside .client-item) whenever they're available —
     the badge shell will still look right around a logo mark. */
  .client-item {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--dark-mid);
    text-transform: uppercase;
    transition: all 0.25s;
    cursor: default;
  }
  .client-item:hover {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
  }

  /* ===================== FAQ ===================== */
  .faq { padding: 100px 56px; background: var(--white); }
  .faq-list { display: flex; flex-direction: column; }
  .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    cursor: pointer;
    touch-action: manipulation;
  }
  .faq-item:first-child { border-top: 1px solid var(--border); }
  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--black);
  }
  .faq-toggle-icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
  }
  .faq-item.open .faq-toggle-icon { transform: rotate(45deg); }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }
  .faq-item.open .faq-a { max-height: 200px; opacity: 1; }
  .faq-a p {
    font-size: 0.86rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--dark-mid);
    max-width: 640px;
    padding-top: 14px;
  }

  /* ===================== CONTACT ===================== */
  .contact {
    padding: 130px 56px;
    background: var(--black);
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .contact-bg-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: clamp(100px, 18vw, 260px);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
  }
  .contact-inner { position: relative; max-width: 680px; margin: 0 auto; }
  .contact-eyebrow { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
  .contact-h2 { font-size: clamp(40px, 5.5vw, 76px); font-weight: 900; letter-spacing: -0.03em; color: var(--white); line-height: 1.0; }
  .contact-h2 .outline-w { -webkit-text-stroke: 2px var(--white); color: transparent; }
  .contact-sub { margin-top: 22px; font-size: 0.86rem; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 400px; margin-left: auto; margin-right: auto; }
  .contact-cta-row {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }
  .contact-email-link {
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    word-break: break-word;
  }
  .contact-email-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
  }
  .contact-email-link:hover { color: var(--accent); }
  .contact-email-link:hover::after { transform: scaleX(1); }
  .contact-socials {
    margin-top: 44px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .social-btn {
    padding: 12px 22px;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.55);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
  }
  .social-btn:hover { border-color: var(--accent); color: var(--accent); }

  /* ---- Contact form (alternative to the mailto: link above) ----
     Submits via FormSubmit.co straight to Filip's inbox — see the
     HTML comment next to the <form> tag in index.html for details. */
  .contact-divider-wrap {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .contact-divider-line {
    height: 1px;
    width: 48px;
    background: rgba(255,255,255,0.25);
  }
  .contact-divider {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
  }
  .contact-form {
    margin: 28px auto 0;
    max-width: 480px;
    text-align: left;
  }
  .form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    flex: 1 1 200px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    transition: border-color 0.2s, background 0.2s;
  }
  .contact-form textarea { margin-bottom: 16px; resize: vertical; min-height: 110px; }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
  }
  .form-submit { border: none; cursor: pointer; width: 100%; }
  /* High-contrast accent button — the previous version used .btn-black,
     which is nearly invisible against this section's black background. */
  .btn-accent {
    padding: 18px 32px;
    background: var(--accent);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(255,61,46,0.25);
  }
  .btn-accent:hover { background: #ff5b4d; transform: translateY(-2px); }
  .contact-book-btn { padding: 20px 44px; font-size: 0.85rem; }
  .form-note {
    margin-top: 16px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
  }
  .form-note a { color: rgba(255,255,255,0.7); text-decoration: underline; transition: color 0.2s; }
  .form-note a:hover { color: var(--accent); }

  /* ===================== FOOTER ===================== */
  footer {
    background: var(--ink);
    padding: 24px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-brand { font-size: 0.85rem; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
  .footer-brand span { color: var(--accent); }
  .footer-copy { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.18); }

  /* ===================== ANIMATIONS ===================== */
  @keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
  @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  @keyframes zoomOut { from { transform:scale(1.08); } to { transform:scale(1); } }
  @keyframes slideRight { from { opacity:0; transform:translateX(-20px); } to { opacity:1; transform:none; } }
  @keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

  .reveal { opacity:1; transform:none; transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity:1; transform:none; }
  .reveal-d1 { transition-delay:0.1s; }
  .reveal-d2 { transition-delay:0.2s; }
  .reveal-d3 { transition-delay:0.3s; }
  .reveal-d4 { transition-delay:0.4s; }

  /* ===================== TABLET (≤1024px) ===================== */
  @media (max-width: 1024px) {
    nav { padding: 18px 32px; }
    .hero-left { padding: 56px 32px; }
    .work { padding: 80px 32px; }
    .services { padding: 80px 32px; }
    .services-layout { gap: 52px; }
    .service-row::before { left: -32px; right: -32px; }
    .about { padding: 80px 32px; gap: 48px; }
    .clients { padding: 56px 32px; }
    .faq { padding: 80px 32px; }
    .contact { padding: 100px 32px; }
    footer { padding: 20px 32px; }
  }

  /* ===================== MOBILE (≤768px) ===================== */
  @media (max-width: 768px) {
    /* Nav */
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    /* Hero: stack vertically */
    .hero {
      grid-template-columns: 1fr;
      grid-template-rows: 260px auto;
      min-height: unset;
      padding-top: 60px;
      overflow: visible;
    }
    .hero-right {
      order: -1;
      height: 260px;
      min-height: unset;
      max-height: unset;
    }
    .hero-left {
      padding: 28px 24px 40px;
      justify-content: flex-start;
    }
    .hero-tag { margin-bottom: 20px; font-size: 0.55rem; }
    .hero-h1 { font-size: clamp(38px, 11vw, 58px); }
    .hero-desc { margin-top: 20px; font-size: 0.84rem; max-width: 100%; }
    .hero-actions { margin-top: 20px; gap: 12px; }
    .btn-black, .btn-outline { padding: 13px 24px; font-size: 0.65rem; }
    .hero-img-badge { bottom: 16px; left: 12px; padding: 12px 16px; }
    .badge-num { font-size: 1.6rem; }
    .badge-label { font-size: 0.55rem; }

    /* ---- Work grid ---- */
    .work { padding: 64px 20px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
    .view-all { align-self: flex-start; }
    .work-divider { margin: 40px 0 36px; }

    .work-grid {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    /* Every tile: fixed aspect ratio, img fills it completely */
    .wi {
      aspect-ratio: 4/3;
    }
    /* Kill the desktop img aspect-ratio rules — the container drives height now */
    .wi img {
      position: absolute !important;
      top: 0; left: 0;
      width: 100% !important;
      height: 100% !important;
      aspect-ratio: unset !important;
      object-fit: cover !important;
    }
    /* fill-frame-wrap already does position:relative — just remove the min-height override */
    .wi.fill-frame-wrap { min-height: unset; }
    /* Non-fill tiles also need position:relative for the absolute img to work */
    .wi:not(.fill-frame-wrap) { position: relative; }

    /* Video grid spans */
    .work-grid--video .wi:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
    .work-grid--video .wi:nth-child(2) { grid-column: span 2; aspect-ratio: 16/9; }
    .work-grid--video .wi:nth-child(3) { grid-column: span 1; }
    .work-grid--video .wi:nth-child(4) { grid-column: span 1; }
    .work-grid--video .wi:nth-child(5) { grid-column: span 1; }
    .work-grid--video .wi:nth-child(6) { grid-column: span 2; aspect-ratio: 16/9; }

    /* Photo grid spans */
    .work-grid--photo .wi:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
    .work-grid--photo .wi:nth-child(2) { grid-column: span 1; }
    .work-grid--photo .wi:nth-child(3) { grid-column: span 1; }
    .work-grid--photo .wi:nth-child(4) { grid-column: span 1; }
    .work-grid--photo .wi:nth-child(5) { grid-column: span 1; }

    /* Always show labels on mobile (no hover) */
    .wi-info { transform: none; opacity: 1; padding: 14px 16px; }
    .wi-play { display: none; }
    .wi-desc {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-size: 0.78rem;
      max-width: 100%;
      margin-bottom: 6px;
    }
    .wi-title { font-size: 0.98rem; }
    .wi-cat { font-size: 0.58rem; }
    .wi-info::after { font-size: 0.62rem; margin-top: 6px; }
    .wi::before { width: 30px; height: 30px; font-size: 0.9rem; top: 10px; right: 10px; }
    /* Services: single column */
    .services { padding: 64px 20px; }
    .services-layout { grid-template-columns: 1fr; gap: 32px; }
    .services-intro { position: static; }
    .services-body { max-width: 100%; }
    .service-row { grid-template-columns: 36px 1fr; gap: 16px; padding: 24px 0; }
    .svc-arrow { display: none; }
    .service-row::before { display: none; }
    .svc-name { font-size: 1rem; }
    .svc-desc { font-size: 0.8rem; }

    /* About: stack vertically */
    .about { grid-template-columns: 1fr; padding: 64px 20px; gap: 48px; }
    .about-visual { max-width: 440px; margin: 0 auto; width: 100%; }
    .about-img-accent { bottom: -20px; right: -12px; border-width: 4px; }
    .about-tag-block { top: 24px; left: -10px; padding: 10px 14px; }
    .about-tag-big { font-size: 1rem; }
    .stats-row { grid-template-columns: repeat(3,1fr); }
    .stat-n { font-size: 1.7rem; }

    /* Clients */
    .clients { padding: 48px 20px; }
    .clients-row { gap: 24px 36px; }
    .client-item { font-size: 0.82rem; }

    /* FAQ */
    .faq { padding: 56px 20px; }
    .faq-q { font-size: 0.9rem; gap: 12px; }
    .faq-a p { font-size: 0.82rem; }

    /* Contact */
    .contact { padding: 80px 20px; }
    .contact-cta-row { margin-top: 36px; gap: 14px; }
    .contact-book-btn { padding: 17px 32px; }
    .contact-email-link { font-size: 0.78rem; }
    .contact-socials { gap: 8px; }
    .social-btn { padding: 10px 16px; font-size: 0.6rem; }
    .contact-form { max-width: 100%; }
    .form-row { flex-direction: column; }
    .contact-divider-line { width: 28px; }
    .contact-divider { font-size: 0.78rem; }
    .btn-accent { padding: 16px 24px; font-size: 0.72rem; }

    /* Footer */
    footer { padding: 18px 20px; justify-content: center; text-align: center; flex-direction: column; gap: 6px; }
  }

  /* ===================== SMALL MOBILE (≤400px) ===================== */
  @media (max-width: 400px) {
    .hero-h1 { font-size: clamp(34px, 12vw, 48px); }
    .work-grid { grid-template-columns: 1fr; }
    .work-grid--video .wi:nth-child(n),
    .work-grid--photo .wi:nth-child(n) { grid-column: span 1; }
    .stats-row { grid-template-columns: 1fr; gap: 16px; }
    .stat + .stat { border-left: none; border-top: 1px solid var(--border); padding-top: 16px; }
  }
