    /* ==========================
       DESIGN SYSTEM
       ========================== */
    :root {
      --bg: #0a0a0a;
      --bg-2: #101013;
      --card: #111216;
      --muted: #b6b7c0;
      --text: #e8e8ed;
      --brand: #e61d2b; /* primary red */
      --brand-2: #ff3b30; /* accent red */
      --glow: 0 0 0 rgba(230,29,43,0);
      --radius: 18px;
      --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
      --shadow-strong: 0 20px 60px rgba(0,0,0,.55);
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      background: radial-gradient(1200px 800px at 70% -10%, rgba(230,29,43,.12), transparent 60%),
                  radial-gradient(800px 500px at -10% 20%, rgba(255,59,48,.10), transparent 70%),
                  var(--bg);
      color: var(--text);
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }
    h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; letter-spacing: .3px; }
    h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); margin: 0 0 .6rem; }
    p { color: var(--muted); }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button { font: inherit; }

    /* ==========================
       HEADER
       ========================== */
    .header {
      position: sticky; top: 0; z-index: 50;
      display: grid; grid-template-columns: 1fr auto; gap: 16px;
      align-items: center; padding: 18px clamp(18px, 4vw, 40px);
      background: linear-gradient(to bottom, rgba(10,10,10,.85), rgba(10,10,10,.4) 60%, transparent);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
   

    .brand {
      display: inline-flex; align-items: center; gap: 12px; font-weight: 800;
      letter-spacing: .4px; color: var(--text);
    }
    .brand__logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px;
      background: radial-gradient(120% 140% at 30% 30%, #ff735f 0%, var(--brand) 40%, #38040b 100%);
      box-shadow: 0 6px 24px rgba(230,29,43,.35), inset 0 1px 0 rgba(255,255,255,.08);
    }
    .brand__text { font-size: 1.02rem; }
    .ig { justify-self: end; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
    .ig a { opacity: .9; border: 1px solid rgba(255,255,255,.08); padding: 8px 12px; border-radius: 999px; transition: .25s ease; }
    .ig a:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.18); box-shadow: 0 8px 24px rgba(230,29,43,.25); }

    /* ==========================
       HERO
       ========================== */
    .section { padding: clamp(56px, 9vw, 110px) clamp(18px, 4vw, 40px); position: relative; }
    .container { max-width: 1200px; margin-inline: auto; position: relative; }

    .hero {
      min-height: 88vh; display: grid; place-items: center; position: relative; overflow: clip;
    }
    .hero__wrap { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(24px, 6vw, 64px); align-items: center; width: 100%; }

    .badge { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: #fff;
      background: linear-gradient(90deg, rgba(230,29,43,.22), rgba(255,255,255,.06));
      border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 12px; backdrop-filter: blur(6px); }

    .hero h1 { font-size: clamp(2rem, 1.4rem + 3.4vw, 4rem); margin: 10px 0 10px; line-height: 1.15; }
    .hero__lead { font-size: clamp(1rem, .95rem + .4vw, 1.15rem); }
    .cta { display: inline-flex; gap: 14px; margin-top: 26px; }
    .btn { padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: #141417; color: #fff; font-weight: 600; transition: .25s ease; }
    .btn--primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); border: none; box-shadow: 0 10px 28px rgba(230,29,43,.35); }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.35); }

    .portrait {
      position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; isolation: isolate;
      box-shadow: var(--shadow-strong);
      background: radial-gradient(120% 120% at 30% 20%, rgba(255,59,48,.25), transparent 55%), #0b0b0f;
      border: 1px solid rgba(255,255,255,.06);
    }
    .portrait__img { position: absolute; inset: 0; object-fit: cover; filter: grayscale(.1) contrast(1.05); opacity: .92; }
    .portrait__overlay { position: absolute; inset: -10%; background:
       radial-gradient(300px 200px at 80% 10%, rgba(230,29,43,.18), transparent 60%),
       radial-gradient(200px 140px at 20% 80%, rgba(255,255,255,.05), transparent 70%);
       mix-blend-mode: screen; pointer-events: none; }

    /* Animated thunder layer */
    .thunder-layer { position: absolute; inset: 0; pointer-events: none; }
    .bolt { position: absolute; width: 180px; height: 260px; opacity: 0; filter: drop-shadow(0 0 14px rgba(255,255,255,.8)) drop-shadow(0 0 36px rgba(230,29,43,.35)); }
    .bolt svg { width: 100%; height: 100%; }
    .bolt path { stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round;
                 stroke-dasharray: 560; stroke-dashoffset: 560; }
    .bolt.blast { animation: flicker .9s ease-out; }
    @keyframes flicker {
      0% { opacity: 0; }
      8% { opacity: 1; }
      20% { opacity: .2; }
      28% { opacity: 1; }
      45% { opacity: .12; }
      100% { opacity: 0; }
    }

    /* Mist / clouds using layered gradients */
    .clouds { position: absolute; inset: -10% -10% -5% -10%; pointer-events: none; filter: url(#noiseFilter); opacity: .25; mix-blend-mode: screen; }
    .clouds::before, .clouds::after {
      content: ""; position: absolute; inset: 0; background:
        radial-gradient(60% 40% at 20% 30%, rgba(255,255,255,.06), transparent 70%),
        radial-gradient(50% 35% at 80% 50%, rgba(255,59,48,.10), transparent 75%),
        radial-gradient(45% 35% at 40% 80%, rgba(255,255,255,.05), transparent 70%);
      animation: drift 80s linear infinite; }
    .clouds::after { animation-duration: 120s; opacity: .6; filter: blur(24px); }
    @keyframes drift { from { transform: translateX(-20%);} to { transform: translateX(20%);} }

    /* ==========================
       ABOUT
       ========================== */
    .about { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02)); }
    .about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(22px, 5vw, 56px); align-items: start; }
    .about__card { background: var(--card); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius); padding: clamp(16px, 2.5vw, 28px); box-shadow: var(--shadow-soft); }
    .kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 14px; }
    .kpi { background: #0f0f14; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; text-align: center; }
    .kpi strong { display:block; font-size: 1.4rem; color: #fff; }

    /* ==========================
   ABOUT - Responsive
   ========================== */
@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr; /* stack cards vertically */
    gap: 20px; /* optional spacing between cards */
  }

  .kpis {
    grid-template-columns: repeat(3, 1fr); /* keep KPIs in a row, they will shrink naturally */
    gap: 10px; /* reduce spacing on small screens */
  }
}

    /* ==========================
       WORKS
       ========================== */
    .works__header { display:flex; justify-content:space-between; align-items:end; gap: 16px; margin-bottom: 18px; }
    .filter { display:flex; gap: 10px; flex-wrap: wrap; }
    .chip { padding:8px 12px; border-radius: 999px; border:1px solid rgba(255,255,255,.10); background:#131317; font-size:.92rem; cursor:pointer; transition:.25s; }
    .chip.active, .chip:hover { border-color: rgba(255,255,255,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

    .grid { display:grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
    .card { grid-column: span 4; background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); overflow: clip; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
    .card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
    .card__media { aspect-ratio: 16/10; background: radial-gradient(100% 100% at 60% 20%, rgba(255,59,48,.18), rgba(0,0,0,1) 70%); position: relative; }
    .card__badge { position:absolute; top:10px; left:10px; font-size:.75rem; padding:6px 10px; border-radius:999px; background: rgba(230,29,43,.85); }
    .card__body { padding: 16px; }
    .card__title { font-weight: 700; font-size: 1.04rem; margin: 0 0 6px; }
    .card__meta { font-size: .9rem; color: var(--muted); }
/* Mobile view: stack sections vertically and reorder */
@media (max-width: 768px) {
  #about {
    order: 1; /* show first */
  }
  #works {
    order: 2; /* show after about */
  }

  /* Ensure the parent container uses flex-direction: column */
  body > * {
    display: flex;
    flex-direction: column;
  }
}

    @media (max-width: 1024px){ .card{ grid-column: span 6; } .hero__wrap{ grid-template-columns: 1fr; } }
    @media (max-width: 600px){ .card{ grid-column: span 12; } }

    /* ==========================
       PURCHASE
       ========================== */
    .pricing { display:grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
    .price { grid-column: span 4; background: linear-gradient(180deg, #121218, #0f0f14); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 18px; }
    .price--highlight { border-color: rgba(255,255,255,.18); box-shadow: 0 10px 40px rgba(230,29,43,.18); }
    .price h3 { margin: 0 0 6px; }
    .price .amount { font-size: 2rem; font-weight: 800; letter-spacing: .3px; }
    .list { margin: 12px 0 16px; padding-left: 18px; }
    .buy { display:flex; gap: 10px; }
/* ==========================
   PURCHASE - Pricing Responsive
   ========================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop: 3 columns */
  gap: 24px;
}

.price {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

/* Responsive for tablets / mobile */
@media (max-width: 768px) {
  .pricing {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 20px;
  }
}

    /* ==========================
       CONTACT
       ========================== */
    .contact { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
    .form { max-width: 760px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form .full { grid-column: 1/-1; }
    .field { display:flex; flex-direction:column; gap:6px; }
    .field input, .field textarea { background:#0e0e12; border:1px solid rgba(255,255,255,.08); color:#fff; border-radius: 12px; padding: 12px 14px; }
    .field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,.2); box-shadow: 0 0 0 4px rgba(230,29,43,.18); }
/* ==========================
   CONTACT - Responsive Inputs
   ========================== */
.contact .form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact .field input,
.contact .field textarea,
.contact .field button {
  width: 100%;             /* full width */
  max-width: 100%;         /* never exceed container */
  box-sizing: border-box;  /* include padding & border in width */
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-size: 1rem;
}

.contact .field button {
  cursor: pointer;
}

/* Optional: smaller gap on very small screens */
@media (max-width: 480px) {
  .contact .form {
    gap: 12px;
  }
}

    .footer { padding: 40px 24px; border-top: 1px solid rgba(255,255,255,.06); text-align: center; color: var(--muted); }

    /* ==========================
       CANVAS PARTICLES (embers)
       ========================== */
    .fx { position: fixed; inset: 0; z-index: -1; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .bolt, .clouds::before, .clouds::after, .thunder-layer, .fx { animation: none !important; transition: none !important; }
    }
