/* The hidden attribute must win over display rules such as .field { display: grid } */
[hidden] { display: none !important; }
  :root {
    --ink: #0b0b0b;
    --ink-soft: #3a3a3a;
    --muted: #7a7a7a;
    --line: #e4e4e4;
    --paper: #ffffff;
    --paper-2: #f4f4f2;
    --radius: 22px;
    --max: 1200px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  .eyebrow {
    font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); font-weight: 600;
  }
  h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; }
  h1 strong, h2 strong { font-weight: 700; }
  h2 { font-size: clamp(32px, 4.4vw, 52px); }
  section { padding: 110px 0; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px;
    font-weight: 600; font-size: 15px; border: 1.5px solid var(--ink);
    transition: background .2s, color .2s, transform .2s;
    cursor: pointer; font-family: inherit;
  }
  .btn-dark { background: var(--ink); color: var(--paper); }
  .btn-dark:hover { background: #2a2a2a; }
  .btn-light { background: transparent; color: var(--ink); }
  .btn-light:hover { background: var(--ink); color: var(--paper); }
  .btn .arr { transition: transform .2s; }
  .btn:hover .arr { transform: translateX(3px); }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.88);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
  }
  header.scrolled { border-bottom-color: var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
  .logo img { height: 38px; width: auto; }
  .nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
  .nav-links a { color: var(--ink-soft); position: relative; }
  .nav-links a:hover { color: var(--ink); }
  .nav-right { display: flex; align-items: center; gap: 14px; }
  .lang {
    display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px;
    font-size: 13px; font-weight: 600;
  }
  .lang button {
    border: 0; background: transparent; padding: 6px 11px; border-radius: 999px;
    font: inherit; color: var(--muted); cursor: pointer;
  }
  .lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
  .nav .btn { padding: 11px 20px; font-size: 14px; }
  .burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
  .burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

  /* Hero */
  .hero { padding: 64px 0 90px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(42px, 6.2vw, 84px); margin: 18px 0 24px; }
  .hero p.lead { font-size: 19px; color: var(--ink-soft); max-width: 520px; margin-bottom: 36px; }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-media { position: relative; }
  .hero-media img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
  }
  .hero-badge {
    position: absolute; left: -28px; bottom: 36px;
    background: var(--ink); color: var(--paper);
    padding: 18px 22px; border-radius: 16px; max-width: 250px;
    font-size: 14px; line-height: 1.45;
    box-shadow: 0 20px 40px rgba(0,0,0,.18);
  }
  .hero-badge b { display: block; font-size: 15px; margin-bottom: 2px; }
  .live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; margin-right: 8px; animation: pulse 1.6s infinite; }
  @keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

  /* Clients */
  .clients { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .clients .eyebrow { text-align: center; margin-bottom: 28px; }
  .marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .track { display: flex; gap: 72px; width: max-content; animation: scroll 38s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  .track img { width: 210px; height: 70px; object-fit: cover; filter: grayscale(1); opacity: .7; transition: .25s; mix-blend-mode: multiply; }
  .track img.wide { object-fit: contain; padding: 14px 8px; }
  .track img:hover { filter: none; opacity: 1; }
  @keyframes scroll { to { transform: translateX(-50%); } }

  /* Services */
  .section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
  .section-head p { max-width: 440px; color: var(--ink-soft); }
  .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card {
    background: var(--paper-2); border-radius: var(--radius); padding: 36px 32px 34px;
    display: flex; flex-direction: column; min-height: 440px;
    transition: background .25s, color .25s, transform .25s;
  }
  .card:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
  .card:hover p, .card:hover li { color: #cfcfcf; }
  .card .num { font-size: 14px; font-weight: 600; color: var(--muted); }
  .card h3 { font-size: 28px; margin: 60px 0 16px; }
  .card p { color: var(--ink-soft); font-size: 15.5px; transition: color .25s; }
  .card ul { list-style: none; margin-top: auto; padding-top: 26px; display: grid; gap: 8px; }
  .card li { font-size: 14px; color: var(--ink-soft); padding-left: 20px; position: relative; transition: color .25s; }
  .card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1.5px; background: currentColor; }

  /* Gallery */
  .gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 20px; }
  .gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); }
  .gallery img { width: 100%; height: 360px; object-fit: cover; transition: transform .6s; }
  .gallery figure:hover img { transform: scale(1.04); }
  .gallery-cta {
    background: var(--ink); color: var(--paper); border-radius: var(--radius);
    padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 260px;
  }
  .gallery-cta .eyebrow { color: #9a9a9a; }
  .gallery-cta strong { font-size: 26px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
  .gallery-cta .btn { border-color: var(--paper); color: var(--paper); align-self: flex-start; }
  .gallery-cta:hover .btn { background: var(--paper); color: var(--ink); }
  .gallery figcaption {
    position: absolute; left: 16px; bottom: 16px;
    background: rgba(255,255,255,.92); padding: 7px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
  }

  /* Process */
  .process { background: var(--ink); color: var(--paper); }
  .process .eyebrow { color: #9a9a9a; }
  .process .section-head p { color: #bdbdbd; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #2c2c2c; }
  .step { padding: 32px 28px 8px 0; border-right: 1px solid #2c2c2c; }
  .step + .step { padding-left: 28px; }
  .step:last-child { border-right: 0; }
  .step .n { font-size: 56px; font-weight: 300; line-height: 1; color: #555; }
  .step h3 { font-size: 21px; margin: 26px 0 10px; font-weight: 600; letter-spacing: -0.01em; }
  .step p { color: #bdbdbd; font-size: 15px; }

  /* About */
  .about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
  .about-grid h2 { position: sticky; top: 120px; }
  .about-text p { font-size: 18px; color: var(--ink-soft); margin-bottom: 22px; }
  .about-text p:first-child { font-size: 22px; color: var(--ink); line-height: 1.5; }
  .pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
  .pillar { border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 22px; }
  .pillar b { display: block; font-size: 16px; margin-bottom: 4px; }
  .pillar span { font-size: 14px; color: var(--muted); }

  /* Model CTA */
  .model-cta { padding: 0 0 110px; }
  .model-box {
    border-radius: 28px; background: var(--paper-2); padding: 56px;
    display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  }
  .model-box h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 12px; }
  .model-box p { color: var(--ink-soft); max-width: 560px; }

  /* Contact */
  .contact { background: var(--paper-2); }
  .contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .contact-info h2 { margin: 14px 0 22px; }
  .contact-info > p { color: var(--ink-soft); font-size: 18px; margin-bottom: 40px; }
  .info-list { display: grid; gap: 22px; }
  .info-list div span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
  .info-list a:hover { text-decoration: underline; }
  form {
    background: var(--paper); border-radius: var(--radius); padding: 40px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  }
  .field { display: grid; gap: 7px; }
  .field.full { grid-column: 1 / -1; }
  label { font-size: 13px; font-weight: 600; }
  input, select, textarea {
    font: inherit; font-size: 15px; padding: 13px 15px;
    border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink);
    transition: border-color .2s;
  }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
  textarea { min-height: 140px; resize: vertical; }
  .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); font-weight: 400; }
  .check input { margin-top: 4px; }
  form .btn { justify-self: start; }
  .form-note { font-size: 13px; color: var(--muted); }
  .form-note a { text-decoration: underline; }
  .form-done { padding: 24px 0; gap: 6px; }
  .form-done strong { font-size: 22px; font-weight: 600; }
  .form-done span { color: var(--ink-soft); }

  /* Footer */
  footer { padding: 64px 0 36px; }
  .foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .foot h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
  .foot p, .foot a { font-size: 15px; color: var(--ink-soft); }
  .foot a:hover { color: var(--ink); }
  .foot ul { list-style: none; display: grid; gap: 8px; }
  .socials { display: flex; gap: 10px; margin-top: 18px; }
  .socials a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper);
    display: grid; place-items: center;
  }
  .socials a:hover { background: #333; color: var(--paper); }
  .socials svg { width: 17px; height: 17px; fill: currentColor; }
  .legal { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .track, .live-dot { animation: none; }
  }

  /* Responsive */
  @media (max-width: 980px) {
    section { padding: 80px 0; }
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-grid h2 { position: static; }
    .hero-badge { left: 16px; }
    .services { grid-template-columns: 1fr; }
    .card { min-height: 0; }
    .card h3 { margin-top: 32px; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery figure:first-child { grid-column: 1 / -1; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step, .step + .step { padding: 28px 20px 28px 0; border-right: 0; border-bottom: 1px solid #2c2c2c; }
    .model-box { grid-template-columns: 1fr; padding: 40px 32px; }
    .foot { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 860px) {
    .nav-links, .nav-right .btn { display: none; }
    .burger { display: block; }
    .nav-links.open {
      display: flex; flex-direction: column; gap: 0;
      position: absolute; top: 76px; left: 0; right: 0;
      background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    }
    .nav-links.open a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 17px; }
    .nav-links.open .mobile-only { display: block; }
  }
  .mobile-only { display: none; }
  @media (max-width: 600px) {
    .wrap { padding: 0 16px; }
    .hero { padding-top: 36px; }
    .gallery { grid-template-columns: 1fr; }
    .gallery img { height: 260px; }
    .steps { grid-template-columns: 1fr; }
    form { grid-template-columns: 1fr; padding: 26px 20px; }
    .pillars { grid-template-columns: 1fr; }
    .foot { grid-template-columns: 1fr; }
    .lang button { padding: 6px 9px; }
  }
