/*
Theme Name: The PRO Company
Theme URI: https://pro-company.com
Author: The PRO Company
Author URI: https://pro-company.com
Description: Integrated sports, media and entertainment agency theme. Built for federations, broadcasters and brands.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pro-company
Tags: black, yellow, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments
*/

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body {
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
  }
  :root {
    --bg: #0A0A0A;
    --surface: #121212;
    --surface-2: #181818;
    --line: #2A2A2A;
    --text: #FFFFFF;
    --muted: #888888;
    --accent: #FFD60A;
    --pad: clamp(20px, 4vw, 80px);
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; height: auto; }
  button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
  ::selection { background: var(--accent); color: #0A0A0A; }
  [id] { scroll-margin-top: 80px; }

  /* WP-specific aligns */
  .alignleft { float: left; margin: 0 1.5em 1em 0; }
  .alignright { float: right; margin: 0 0 1em 1.5em; }
  .aligncenter { display: block; margin: 0 auto 1em; }
  .alignwide, .alignfull { max-width: 100%; }
  .screen-reader-text { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
  .wp-caption { max-width: 100%; }
  .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body {
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
  }
  :root {
    --bg: #0A0A0A;
    --surface: #121212;
    --surface-2: #181818;
    --line: #2A2A2A;
    --text: #FFFFFF;
    --muted: #888888;
    --accent: #FFD60A;
    --pad: clamp(20px, 4vw, 80px);
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
  ::selection { background: var(--accent); color: #0A0A0A; }
  [id] { scroll-margin-top: 80px; }

  /* ========== NAV ========== */
  nav.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,10,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  nav.topnav .logo img { height: 38px; width: auto; display: block; }
  nav.topnav .links { display: flex; gap: 32px; align-items: center; }
  nav.topnav .links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D5D5D5;
    transition: color 0.2s ease;
    position: relative;
  }
  nav.topnav .links a:hover { color: var(--accent); }
  nav.topnav .links a:not(.cta)::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
  }
  nav.topnav .links a:not(.cta):hover::after { width: 100%; }
  nav.topnav .cta {
    background: var(--accent);
    color: #0A0A0A !important;
    padding: 11px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  nav.topnav .cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,214,10,0.35); }
  nav.topnav .lang-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text);
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  nav.topnav .lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  nav.topnav .lang-toggle::after { display: none !important; }
  @media (max-width: 900px) { nav.topnav .links { gap: 22px; } nav.topnav .links a { font-size: 12px; } }
  @media (max-width: 800px) { nav.topnav .links a:not(.cta) { display: none; } }

  /* ========== HERO ========== */
  .hero {
    position: relative;
    height: calc(100vh - 70px);
    min-height: 600px;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
    filter: contrast(1.1) saturate(0.85);
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.2) 35%, rgba(10,10,10,0.95) 100%),
      radial-gradient(ellipse at 80% 30%, rgba(255,214,10,0.08) 0%, transparent 60%);
    z-index: 1;
  }
  .hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.35;
    mix-blend-mode: overlay;
    z-index: 2;
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 3; padding: var(--pad); padding-bottom: 70px; width: 100%; }
  .hero-pre {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C5C5C5;
  }
  .hero-pre .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
  .hero h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(80px, 18vw, 280px);
    line-height: 0.82;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 28px;
  }
  .hero h1 .rotator {
    display: inline-block;
    color: var(--accent);
    min-width: 0.5em;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  }
  .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
  .hero-tagline { max-width: 620px; font-size: clamp(15px, 1.2vw, 17px); color: #D8D8D8; line-height: 1.65; }
  .hero-tagline strong { color: var(--text); font-weight: 700; }
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 32px;
    border: 1.5px solid var(--text);
    background: transparent;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .hero-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.65,0,0.35,1);
    z-index: -1;
  }
  .hero-cta:hover { color: #0A0A0A; border-color: var(--accent); }
  .hero-cta:hover::before { transform: translateX(0); }
  .hero-cta .arrow { transition: transform 0.3s ease; }
  .hero-cta:hover .arrow { transform: translateX(4px); }

  /* ========== IMAGE STRIP ========== */
  .image-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--bg); height: clamp(170px, 20vw, 280px); overflow: hidden; }
  .image-strip .tile { position: relative; overflow: hidden; background: #1a1a1a; }
  .image-strip .tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
    filter: grayscale(0.4) contrast(1.05);
  }
  .image-strip .tile:hover img { transform: scale(1.08); filter: grayscale(0) contrast(1.1); }
  .image-strip .tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.6) 100%); pointer-events: none; }
  .image-strip .tile .cap {
    position: absolute;
    bottom: 14px; left: 16px; right: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFFFFF;
    z-index: 2;
  }
  @media (max-width: 800px) {
    .image-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
    .image-strip .tile { height: 180px; }
    .image-strip .tile:nth-child(5) { display: none; }
  }

  /* ========== SECTION BASE ========== */
  section { padding: clamp(80px, 10vw, 140px) var(--pad); position: relative; }
  .section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C5C5C5;
  }
  .section-label .num { color: var(--accent); }
  .section-label .line { flex: 1; height: 1px; background: var(--line); max-width: 240px; }
  .sec-intro {
    font-family: 'Anton', sans-serif;
    font-size: clamp(36px, 4.5vw, 72px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    max-width: 1100px;
    margin-bottom: 28px;
  }

  /* ========== ABOUT ========== */
  .about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
  .about-grid .left .mono {
    color: var(--muted); font-size: 14px; margin-bottom: 22px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  .about-grid .left h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  .about-grid .right p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.7; color: #D8D8D8; margin-bottom: 22px; }
  .about-grid .right p strong { color: var(--text); font-weight: 700; }
  @media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* ========== SERVICES ========== */
  .services { background: #060606; }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .service {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 40px 32px 32px;
    position: relative;
    transition: background 0.4s ease;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    overflow: hidden;
  }
  .service:hover { background: #0F0F0F; }
  .service:hover .service-num { color: var(--accent); transform: translateY(-3px); }
  .service:hover .service-title { color: var(--accent); }
  .service:hover .service-cta { opacity: 1; transform: translateX(0); }
  .service:hover .service-glyph { opacity: 0.16; transform: scale(1.04) rotate(-2deg); }
  .service-glyph {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-family: 'Anton', sans-serif;
    font-size: 220px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.05;
    transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
    z-index: 0;
  }
  .service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .service-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--accent);
    background: rgba(255,214,10,0.08);
    border: 1px solid rgba(255,214,10,0.25);
    padding: 4px 8px;
    text-transform: uppercase;
  }
  .service-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 2.6vw, 42px);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
  }
  .service-desc { font-size: 14px; color: #B5B5B5; line-height: 1.55; margin-bottom: 24px; position: relative; z-index: 1; }
  .service-cta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
  }
  @media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 500px) {
    .services-grid { grid-template-columns: 1fr; }
    .service { min-height: 280px; }
    .service-num { margin-bottom: 40px; }
  }

  /* ========== STATS ========== */
  .impact { background: var(--bg); }
  .impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .stat { padding: 50px 24px; border-right: 1px solid var(--line); position: relative; }
  .stat:last-child { border-right: none; }
  .stat .num {
    font-family: 'Anton', sans-serif;
    font-size: clamp(60px, 8vw, 140px);
    line-height: 0.85;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
  }
  .stat .num .plus { color: var(--accent); font-size: 0.5em; vertical-align: super; margin-left: 4px; }
  .stat .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B5B5B5;
    line-height: 1.5;
  }
  @media (max-width: 900px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  }

  /* ========== PARTNERS (filterable slider) ========== */
  .partners { background: #060606; }
  .partners-intro {
    font-size: clamp(15px, 1.15vw, 17px);
    color: #C5C5C5;
    max-width: 760px;
    margin-bottom: 36px;
    line-height: 1.65;
  }
  .partners-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
  }
  .partners-filter button {
    padding: 12px 20px;
    border: 1px solid var(--line);
    background: transparent;
    color: #B5B5B5;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  .partners-filter button:hover { border-color: var(--accent); color: var(--text); }
  .partners-filter button.active {
    background: var(--accent);
    color: #0A0A0A;
    border-color: var(--accent);
    font-weight: 700;
  }
  .partners-slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
  }
  .slider-arrow {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #0A0A0A;
    color: var(--text);
    font-size: 18px;
    transition: all 0.3s ease;
  }
  .slider-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .slider-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
  }
  .slider-viewport {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: opacity 0.3s ease;
  }
  .slider-viewport::-webkit-scrollbar { display: none; }
  .slider-track {
    display: flex;
    gap: 14px;
    padding: 4px 0;
  }
  .slider-track .logo-card {
    flex: 0 0 200px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #0A0A0A;
    border: 1px solid var(--line);
    transition: all 0.3s ease;
    position: relative;
  }
  .slider-track .logo-card:hover {
    border-color: rgba(255,214,10,0.4);
    background: #0F0F0F;
  }
  .slider-track .logo-card img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .slider-track .logo-card:hover img { opacity: 1; transform: scale(1.05); }
  .slider-track .logo-card .fallback {
    font-family: 'Archivo Black', sans-serif;
    font-size: 13px;
    color: #B5B5B5;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    display: none;
  }
  .slider-track .logo-card.hidden { display: none; }
  .slider-counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 22px;
    text-align: right;
  }
  .slider-counter strong { color: var(--accent); font-weight: 700; }
  @media (max-width: 700px) {
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
    .slider-track .logo-card { flex: 0 0 160px; height: 110px; padding: 20px; }
  }

  /* ========== WORK ========== */
  .work { background: var(--bg); }
  .work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
  }
  .all-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 4px;
    transition: color 0.2s, border-color 0.2s;
  }
  .all-link:hover { color: var(--accent); border-color: var(--accent); }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .work-card {
    background: var(--surface);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
  }
  .work-card:hover { border-color: var(--accent); transform: translateY(-3px); }
  .work-card:hover .work-img img { transform: scale(1.05); }
  .work-card.feature { grid-column: span 2; }
  .work-img { position: relative; overflow: hidden; background: #1a1a1a; }
  .work-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.05);
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
  }
  .work-card .work-img { aspect-ratio: 16/10; }
  .work-card.feature .work-img { aspect-ratio: 2/1; }
  .work-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.55) 100%); }
  .work-img .tag-overlay {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 7px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    z-index: 2;
  }
  .work-body { padding: 28px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .work-card.feature .work-body { padding: 36px; }
  .work-card.feature h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 2.8vw, 44px);
    line-height: 0.98;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
  }
  .work-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    margin-bottom: 14px;
  }
  .work-card.feature p { font-size: 16px; color: #CFCFCF; line-height: 1.6; margin-bottom: 20px; }
  .work-card p { font-size: 13px; color: #A5A5A5; line-height: 1.5; margin-bottom: 16px; }
  .work-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  @media (max-width: 1000px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .work-card.feature { grid-column: span 2; }
  }
  @media (max-width: 600px) {
    .work-grid { grid-template-columns: 1fr; }
    .work-card.feature { grid-column: auto; }
  }

  /* ========== NEWS ========== */
  .news { background: #060606; }
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .news-card {
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .news-card:hover { border-color: var(--accent); transform: translateY(-3px); }
  .news-card:hover .news-thumb img { transform: scale(1.05); }
  .news-thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #1a1a1a; }
  .news-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.4) contrast(1.05);
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  }
  .news-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.5) 100%); }
  .news-card .news-cat {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 7px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    z-index: 2;
  }
  .news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
  .news-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(15px, 1.15vw, 18px);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 1.25;
    margin-bottom: 18px;
  }
  .news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .news-meta .arr { color: var(--accent); font-size: 14px; }
  @media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

  /* ========== CTA ========== */
  .cta-block {
    background: var(--accent);
    color: #0A0A0A;
    padding: clamp(80px, 10vw, 140px) var(--pad);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.5;
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  .cta-block h2 {
    position: relative;
    font-family: 'Anton', sans-serif;
    font-size: clamp(56px, 8vw, 150px);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }
  .cta-block .sub {
    position: relative;
    font-size: clamp(15px, 1.15vw, 18px);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.6;
    color: rgba(10,10,10,0.85);
    font-weight: 500;
  }
  .cta-block .buttons { position: relative; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
  .cta-block .btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #0A0A0A;
    color: var(--accent);
    padding: 20px 36px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }
  .cta-block .btn.alt { background: transparent; color: #0A0A0A; border: 1.5px solid #0A0A0A; }
  .cta-block .btn:hover { background: var(--text); color: #0A0A0A; transform: translateY(-3px); }
  .cta-block .btn.alt:hover { background: #0A0A0A; color: var(--accent); }

  /* ========== FOOTER ========== */
  footer { background: #050505; padding: 80px var(--pad) 40px; border-top: 1px solid var(--line); }
  .footer-mark {
    font-family: 'Anton', sans-serif;
    font-size: clamp(80px, 18vw, 260px);
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 60px;
    background: linear-gradient(180deg, var(--text) 0%, #404040 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .footer-mark .dot { color: var(--accent); -webkit-text-fill-color: var(--accent); }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--line);
  }
  .footer-grid .col h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
  }
  .footer-grid .col ul { list-style: none; }
  .footer-grid .col li { margin-bottom: 12px; font-size: 14px; color: #B5B5B5; }
  .footer-grid .col li strong { color: var(--text); font-weight: 700; }
  .footer-grid .col li.main { border-left: 2px solid var(--accent); padding-left: 12px; margin-left: -14px; }
  .footer-grid .col a:hover { color: var(--accent); }
  .footer-grid .col p { font-size: 14px; color: #B5B5B5; line-height: 1.6; max-width: 380px; }
  .footer-newsletter { display: flex; gap: 8px; margin-top: 16px; }
  .footer-newsletter input {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    padding: 12px 14px;
    font-family: inherit;
    font-size: 13px;
    flex: 1;
    transition: border-color 0.2s ease;
  }
  .footer-newsletter input:focus { outline: none; border-color: var(--accent); }
  .footer-newsletter button {
    background: var(--accent);
    color: #0A0A0A;
    padding: 12px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s ease;
  }
  .footer-newsletter button:hover { background: var(--text); }
  .footer-bottom {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .footer-bottom .social { display: flex; gap: 14px; align-items: center; }
  .footer-bottom .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    color: #C5C5C5;
    transition: all 0.25s ease;
  }
  .footer-bottom .social a:hover {
    color: var(--text);
    border-color: var(--text);
    transform: translateY(-2px);
  }
  .footer-bottom .social svg { width: 16px; height: 16px; display: block; }
  @media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
  @media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

  /* ========== REVEAL ========== */
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ========== PAGE HEADER (sub-pages) ========== */
  .page-header {
    position: relative;
    padding: clamp(80px, 12vw, 160px) var(--pad) clamp(70px, 9vw, 130px);
    background: #060606;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 85% 30%, rgba(255,214,10,0.06) 0%, transparent 55%),
      radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.025) 0%, transparent 50%);
    pointer-events: none;
  }
  .page-header::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
  }
  .page-header-inner {
    position: relative;
    z-index: 2;
    max-width: 1500px;
  }
  .page-header .section-label { margin-bottom: 36px; }
  .page-header h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(64px, 11vw, 180px);
    line-height: 0.88;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .page-header h1 .hl { color: var(--accent); }
  .page-header .lede {
    font-size: clamp(15px, 1.2vw, 18px);
    color: #D8D8D8;
    line-height: 1.65;
    max-width: 700px;
  }
  .page-header .lede strong { color: var(--text); }

  /* ========== TWO-COL CONTENT (used on About + Contact) ========== */
  .twocol {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .twocol .left .mono {
    color: var(--muted); font-size: 14px; margin-bottom: 22px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  .twocol .left h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  .twocol .right p {
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.7;
    color: #D8D8D8;
    margin-bottom: 22px;
  }
  .twocol .right p strong { color: var(--text); font-weight: 700; }
  @media (max-width: 800px) { .twocol { grid-template-columns: 1fr; gap: 32px; } }

  /* ========== OFFICES (full version for About) ========== */
  .geo { background: #060606; }
  .geo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .city {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color 0.3s ease;
  }
  .city:hover { border-color: var(--accent); }
  .city img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.6) contrast(1.1);
    transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
  }
  .city:hover img { filter: grayscale(0) contrast(1.05); transform: scale(1.04); }
  .city::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.85) 100%); pointer-events: none; }
  .city .info { position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 2; }
  .city .role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .city .name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
  }
  .city .country {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C5C5C5;
  }
  .city.hq::before {
    content: 'HQ';
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    background: var(--accent);
    color: #0A0A0A;
    padding: 6px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
  }
  @media (max-width: 800px) { .geo-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 500px) {
    .geo-grid { grid-template-columns: 1fr; }
    .city { aspect-ratio: 16/9; }
  }

  /* ========== TIMELINE — HORIZONTAL (for the About page) ========== */
  .tl-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 30px; }
  .tl-arrows { display: flex; gap: 8px; }
  .tl-arrow { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; transition: all 0.25s ease; }
  .tl-arrow:hover { border-color: var(--accent); color: var(--accent); }
  .tl-arrow.disabled { opacity: 0.3; pointer-events: none; }
  .timeline-wrap { position: relative; margin: 0 calc(var(--pad) * -1); }
  .timeline-viewport { overflow-x: auto; overflow-y: visible; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
  .timeline-viewport::-webkit-scrollbar { display: none; }
  .timeline { display: flex; gap: 28px; padding: 90px var(--pad) 30px; position: relative; max-width: none; margin: 0; }
  .timeline::before { content: ''; position: absolute; top: 76px; left: var(--pad); right: var(--pad); height: 2px; background: linear-gradient(90deg, var(--accent) 0%, var(--line) 18%, var(--line) 100%); z-index: 0; }
  .tl-item { flex: 0 0 320px; position: relative; padding: 0; margin: 0; border: 1px solid var(--line); background: var(--surface); transition: all 0.3s ease; z-index: 1; overflow: visible; }
  .tl-item:hover { border-color: var(--accent); transform: translateY(-3px); }
  .tl-item:hover .tl-image img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
  .tl-item::before { content: ''; position: absolute; top: -20px; left: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--accent); z-index: 3; }
  .tl-year { position: absolute; top: -78px; left: 0; right: 0; font-family: 'Anton', sans-serif; font-size: clamp(30px, 2.5vw, 38px); line-height: 0.95; letter-spacing: -0.01em; color: var(--text); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
  .tl-year .stamp { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--accent); letter-spacing: 0.2em; font-weight: 700; }
  .tl-image { aspect-ratio: 16/10; overflow: hidden; background: #1a1a1a; border: none; margin: 0; max-width: none; }
  .tl-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.05); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease; display: block; }
  .tl-title { font-family: 'Archivo Black', sans-serif; font-size: 16px; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.2; margin: 22px 22px 12px; color: var(--text); }
  .tl-desc { font-size: 13px; line-height: 1.55; color: #C5C5C5; margin: 0 22px 22px; max-width: none; }
  .tl-desc strong { color: var(--text); }
  @media (max-width: 700px) { .tl-item { flex: 0 0 270px; } .tl-year { font-size: 26px; } }
