  :root{
    --black: #0a0a0a;
    --black2: #161616;
    --red: #e2141f;
    --red-dark: #8c0d13;
    --text: #f3f1ee;
    --muted: #9a9a9a;
    --line: #2a2a2a;
  }
  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior: smooth; }
  body{
    background: var(--black);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
  }
  body.locked{ overflow: hidden; height: 100vh; }

  h1, h2, .display{
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.01em;
  }

  a{ color: inherit; text-decoration: none; }
  a:focus-visible, button:focus-visible{ outline: 2px solid var(--red); outline-offset: 3px; }

  .wrap{ max-width: 1180px; margin: 0 auto; padding: 0 32px; }

  /* ---------------- intro split ---------------- */
  .intro-panel{
    position: fixed;
    inset: 0;
    z-index: 200;
    transition: transform 1.05s cubic-bezier(.76,0,.24,1);
    background-repeat: repeat;
  }
  .intro-black{
    clip-path: polygon(0 0, 100% 0, 0 100%);
    background:
      repeating-linear-gradient(115deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 16px),
      #0d0d0d;
  }
  .intro-red{
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    background:
      repeating-linear-gradient(115deg, rgba(0,0,0,0.15) 0 2px, transparent 2px 16px),
      linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  }
  body.reveal .intro-black{ transform: translate(-60%, -60%); }
  body.reveal .intro-red{ transform: translate(60%, 60%); }
  body.reveal .intro-panel{ pointer-events: none; }

  @media (prefers-reduced-motion: reduce){
    .intro-panel{ transition: none; }
  }

  /* ---------------- nav ---------------- */
  header{
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(6px);
    z-index: 20;
  }
  nav{
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
  }
  .logo{ font-family:'Oswald',sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 0.03em; }
  .logo span{ color: var(--red); }
  .navlinks{ display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
  .navlinks a:hover{ color: var(--red); }

  .burger{
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: 1px solid var(--line);
    cursor: pointer;
  }
  .burger span{
    display: block;
    width: 18px; height: 2px;
    margin: 0 auto;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2){ opacity: 0; }
  .burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 640px){
    .burger{ display: flex; }
    .navlinks{
      position: fixed;
      top: 65px; left: 0; right: 0;
      flex-direction: column;
      gap: 0;
      background: var(--black);
      border-bottom: 1px solid var(--line);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease;
    }
    .navlinks.open{ max-height: 420px; }
    .navlinks a{
      padding: 16px 32px;
      border-top: 1px solid var(--line);
      font-size: 15px;
    }
  }

  /* ---------------- hero ---------------- */
  .hero{
    position: relative;
    padding: 100px 0 90px;
    background:
      repeating-linear-gradient(115deg, rgba(226,20,31,0.06) 0 2px, transparent 2px 22px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .hero::after{
    content:"";
    position: absolute;
    right: -10%; top: -20%;
    width: 60%; height: 140%;
    background: linear-gradient(135deg, var(--red) 0%, transparent 70%);
    opacity: 0.18;
    clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
    pointer-events: none;
  }
  .hero-inner{ position: relative; z-index: 1; max-width: 640px; }
  .hero h1{
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
    font-weight: 700;
  }
  .hero h1 em{ color: var(--red); font-style: normal; }
  .hero p{ margin-top: 22px; color: var(--muted); max-width: 46ch; font-size: 16px; }
  .cta{
    display: inline-block; margin-top: 34px;
    background: var(--red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
    transition: background 0.15s ease;
  }
  .cta:hover{ background: var(--red-dark); }

  /* ---------------- services ---------------- */
  .services{ padding: 76px 0; border-bottom: 1px solid var(--line); }
  .services h2{ font-size: 30px; margin-bottom: 12px; }
  .services h2 span{ color: var(--red); }
  .section-lead{ color: var(--muted); font-size: 14px; margin-bottom: 32px; }
  .services-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .services-grid-3{ grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 900px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px){ .services-grid{ grid-template-columns: 1fr; } }
  .service-card{
    background: var(--black2);
    border: 1px solid var(--line);
    padding: 24px 20px;
    border-top: 3px solid var(--red);
  }
  .service-num{
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: var(--red);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
  }
  .service-card h3{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .service-card p{
    font-size: 13px;
    color: var(--muted);
  }

  /* ---------------- process ---------------- */
  .process{ padding: 76px 0; border-bottom: 1px solid var(--line); }
  .process h2{ font-size: 30px; margin-bottom: 40px; }
  .process h2 span{ color: var(--red); }
  .process-list{
    display: flex;
    flex-direction: column;
  }
  .process-step{
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .process-list .process-step:last-child{ border-bottom: 1px solid var(--line); }
  .process-num{
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: var(--red);
    font-weight: 600;
  }
  .process-step h3{ font-size: 17px; font-weight: 600; margin-bottom: 6px; }
  .process-step p{ font-size: 14px; color: var(--muted); max-width: 52ch; }

  /* ---------------- work ---------------- */
  .work{ padding: 80px 0; border-bottom: 1px solid var(--line); }
  .work h2{ font-size: 30px; margin-bottom: 40px; }
  .work h2 span{ color: var(--red); }
  .grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  @media (max-width: 720px){ .grid{ grid-template-columns: 1fr; } }

  .video-card{
    background: var(--black2);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
  }
  .video-card::before{
    content:"";
    position: absolute; top:0; right:0;
    width: 70px; height: 70px;
    background: var(--red);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
  }
  .video-embed{
    aspect-ratio: 16/9;
    background: #000;
    border-bottom: 1px solid var(--line);
  }
  .video-embed iframe{
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
  }
  .video-info{ padding: 16px 18px; }
  .video-info .title{ font-weight: 600; font-size: 16px; }
  .video-info .meta{ margin-top: 6px; display:flex; gap: 14px; font-size: 12px; color: var(--muted); }

  /* ---------------- about ---------------- */
  .about{ padding: 72px 0; border-bottom: 1px solid var(--line); }
  .about h2{ font-size: 28px; margin-bottom: 18px; }
  .about p{ color: var(--muted); max-width: 52ch; }
  .about-specialty{ margin-top: 18px; color: var(--text) !important; }
  .software-list{
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 26px;
  }
  .software-chip{
    font-size: 12px;
    border: 1px solid var(--line);
    padding: 8px 14px;
    color: var(--muted);
  }

  /* ---------------- contact / footer ---------------- */
  .contact{
    padding: 80px 0 40px;
    position: relative;
    background:
      repeating-linear-gradient(115deg, rgba(226,20,31,0.05) 0 2px, transparent 2px 22px);
  }
  .contact-inner{ text-align: left; }
  .contact h2{ font-size: 28px; margin-bottom: 20px; }
  .mail{
    font-family: 'Oswald', sans-serif;
    font-size: clamp(26px, 4.5vw, 46px);
    font-weight: 700;
    text-transform: none;
    display: inline-block;
    border-bottom: 3px solid var(--red);
    padding-bottom: 4px;
  }
  .mail:hover{ color: var(--red); }

  /* ---------------- contact form ---------------- */
  .contact-layout{
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 32px;
    align-items: start;
    margin-top: 8px;
  }
  @media (max-width: 760px){
    .contact-layout{ grid-template-columns: 1fr; }
  }
  .contact-card{
    background: var(--black2);
    border: 1px solid var(--line);
    padding: 36px;
  }
  .socials{
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
  }
  .social-item{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
    transition: color 0.15s ease;
    padding: 4px 0;
  }
  .social-item:hover{ color: var(--text); }
  .social-item:hover .social-square{ border-color: var(--red); color: var(--red); }
  .social-square{
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: var(--muted);
    transition: border-color 0.15s ease, color 0.15s ease;
  }
  .contact-card p.lead{ color: var(--muted); margin-top: 8px; margin-bottom: 26px; font-size: 14px; }
  .form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
  .field{ margin-bottom: 20px; }
  .field label{
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 8px; color: var(--text);
  }
  .field input, .field textarea{
    width: 100%;
    background: var(--black);
    border: 1px solid var(--line);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 13px 14px;
    transition: border-color 0.15s ease;
  }
  .field input::placeholder, .field textarea::placeholder{ color: #6b6b6b; }
  .field input:focus, .field textarea:focus{
    outline: none; border-color: var(--red);
  }
  .field textarea{ resize: vertical; min-height: 120px; }
  .submit-btn{
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.04em;
    padding: 15px;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
    transition: background 0.15s ease;
  }
  .submit-btn:hover{ background: var(--red-dark); }
  .submit-btn:disabled{ opacity: 0.6; cursor: not-allowed; }

  .form-status{
    margin-top: 14px;
    font-size: 13px;
    min-height: 18px;
  }
  .form-status.success{ color: #4ade80; }
  .form-status.error{ color: var(--red); }

  @media (max-width: 560px){
    .hero{ padding: 70px 0 60px; }
    .contact-card{ padding: 24px 20px; }
    .services, .process, .work, .about{ padding: 52px 0; }
    .wrap{ padding: 0 20px; }
  }

  footer{
    margin-top: 60px;
    padding: 20px 0 30px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between;
    font-size: 11px; color: var(--muted);
  }
</style>
