:root{
    --bg: #17101F;
    --bg-alt: #1F1730;
    --bg-alt2: #261C39;
    --coral: #FF4D6D;
    --amber: #FFB84D;
    --paper: #FBF9F5;
    --ink: #170F22;
    --muted: #6B6478;
    --line: rgba(255,255,255,0.12);
    --line-soft: rgba(23,15,34,0.10);
  }
  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    background: var(--bg);
    color: #EDE9F2;
    font-family:'Manrope', sans-serif;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{
    font-family:'Bricolage Grotesque', sans-serif;
    font-weight:700;
    line-height:1.02;
    letter-spacing:-0.01em;
    color:#fff;
  }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  a{ color:inherit; }
  .wrap{ max-width:1200px; margin:0 auto; padding:0 32px; }
  section{ position:relative; }
  @media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  }

  .reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:none; }

  /* ===== NAV ===== */
  header.site{
    position:sticky; top:0; z-index:200;
    background: rgba(23,16,31,0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 32px; max-width:1200px; margin:0 auto;
  }
  .logo{
    font-family:'Bricolage Grotesque', sans-serif;
    font-weight:800; font-size:20px; color:#fff;
    text-decoration:none; letter-spacing:-0.01em;
    display:flex; align-items:center; gap:9px;
  }
  .logo .dot{ width:9px; height:9px; border-radius:50%; background: linear-gradient(135deg, var(--coral), var(--amber)); }
  nav.links{ display:flex; gap:36px; align-items:center; }
  nav.links a{ color:#EDE9F2; text-decoration:none; font-size:14.5px; font-weight:600; opacity:0.75; transition:opacity .2s ease; }
  nav.links a:hover{ opacity:1; }
  .nav-cta{
    background: linear-gradient(135deg, var(--coral), var(--amber));
    color:#170F22 !important; padding:11px 22px; border-radius:100px;
    font-weight:700 !important; opacity:1 !important; font-size:14px !important;
  }
  .menu-btn{ display:none; background:none; border:none; color:#fff; font-size:24px; cursor:pointer; }

  /* ===== HERO ===== */
  .hero{ padding:100px 0 60px; position:relative; overflow:hidden; }
  .glow{
    position:absolute; width:900px; height:900px; border-radius:50%;
    background: radial-gradient(circle, rgba(255,77,109,0.28) 0%, rgba(255,184,77,0.14) 45%, transparent 70%);
    top:-380px; right:-320px; filter:blur(10px);
    pointer-events:none;
  }
  .hero-grid{
    max-width:760px;
    position:relative; z-index:2;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:9px;
    font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:0.08em; text-transform:uppercase;
    color: #EDE9F2; margin-bottom:28px; font-weight:500;
    background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14);
    padding:8px 16px 8px 12px; border-radius:100px;
  }
  .eyebrow .dot-badge{ width:8px; height:8px; border-radius:50%; background: linear-gradient(135deg, var(--coral), var(--amber)); flex-shrink:0; }
  .hero h1{
    font-size: clamp(42px, 5.6vw, 74px);
    margin-bottom:24px;
  }
  .hero h1 .grad{
    background: linear-gradient(120deg, var(--coral), var(--amber));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero p.lead{
    font-size:18px; color:#C7C0D4; max-width:46ch; margin-bottom:36px;
  }
  .btn-row{ display:flex; gap:16px; flex-wrap:wrap; }
  .btn{
    display:inline-block; padding:16px 30px; font-weight:700; font-size:15px;
    text-decoration:none; border-radius:100px; cursor:pointer; border:none;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn-primary{ background: linear-gradient(135deg, var(--coral), var(--amber)); color:#170F22; }
  .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,77,109,0.5); }
  .btn-ghost{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.28); }
  .btn-ghost:hover{ border-color:#fff; transform: translateY(-2px); }

  /* scroll cue */
  .scroll-cue{
    display:inline-flex; align-items:center; gap:10px; margin-top:56px;
    color:#8B839A; text-decoration:none; font-size:13px;
    font-family:'IBM Plex Mono'; letter-spacing:0.04em;
    transition: color .2s ease;
  }
  .scroll-cue:hover{ color:#EDE9F2; }
  .scroll-cue svg{ animation: bob 2s ease-in-out infinite; }
  @keyframes bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(5px); } }

  /* ===== MARQUEE ===== */
  .marquee-band{
    background: linear-gradient(135deg, var(--coral), var(--amber));
    padding:16px 0; transform: rotate(-1.4deg); margin: 60px 0 40px;
    overflow:hidden; white-space:nowrap;
  }
  .marquee-track{
    display:inline-flex; gap:40px; animation: scroll-left 26s linear infinite;
  }
  .marquee-track span{
    font-family:'Bricolage Grotesque'; font-weight:800; font-size:20px; color:#170F22;
    text-transform:uppercase; letter-spacing:0.02em;
  }
  @keyframes scroll-left{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

  /* ===== WORK ===== */
  .work{ padding:60px 0 110px; }
  .section-head{ max-width:640px; margin-bottom:52px; }
  .section-head .eyebrow{ margin-bottom:18px; }
  .section-head h2{ font-size: clamp(30px,3.6vw,44px); margin-bottom:16px; }
  .section-head p{ color:#C7C0D4; font-size:16.5px; }

  .work-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:28px; }
  .proj-card{
    background: var(--paper); border-radius:16px; overflow:hidden; text-decoration:none;
    display:block; color:var(--ink); transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 20px 40px -24px rgba(0,0,0,0.5);
  }
  .proj-card:hover{ transform: translateY(-8px); box-shadow: 0 34px 60px -20px rgba(0,0,0,0.55); }
  .proj-preview{
    height:190px; position:relative; overflow:hidden;
  }
  .proj-preview img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:top; }
  .proj-preview .chrome{ position:absolute; top:0; left:0; right:0; z-index:2; display:flex; align-items:center; gap:6px; padding:11px 14px; background:rgba(255,255,255,0.5); }
  .proj-preview .chrome span{ width:8px; height:8px; border-radius:50%; background:rgba(23,15,34,0.25); }
  .proj-body{ padding:24px 26px 28px; }
  .proj-body .cat{ font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin-bottom:10px; display:block; }
  .video-badge{ background: linear-gradient(135deg, var(--coral), var(--amber)); color:#170F22; padding:2px 7px; border-radius:100px; font-weight:700; font-size:10px; margin-left:6px; letter-spacing:0.02em; }
  .proj-body h3{ font-family:'Bricolage Grotesque'; color:var(--ink); font-size:22px; margin-bottom:10px; }
  .proj-body p{ font-size:14.5px; color:var(--muted); margin-bottom:16px; }
  .proj-link{ font-family:'IBM Plex Mono'; font-size:13px; font-weight:600; color:var(--ink); display:inline-flex; align-items:center; gap:6px; }
  .proj-card:hover .proj-link{ color:var(--coral); }



  /* ===== PROCESS ===== */
  .process{ padding:20px 0 110px; }
  .steps{ display:grid; grid-template-columns: repeat(3,1fr); gap:32px; margin-top:44px; }
  .step{ border-top:2px solid; border-image: linear-gradient(90deg, var(--coral), var(--amber)) 1; padding-top:20px; }
  .step .snum{ font-family:'IBM Plex Mono'; font-size:13px; color:var(--amber); display:block; margin-bottom:12px; }
  .step h3{ font-size:21px; margin-bottom:10px; }
  .step p{ color:#C7C0D4; font-size:14.5px; }

  /* ===== CTA ===== */
  .cta-band{ padding:100px 0; text-align:center; position:relative; }
  .cta-band h2{ font-size: clamp(32px,4.6vw,54px); margin-bottom:26px; }
  .cta-band p{ color:#C7C0D4; font-size:17px; margin-bottom:36px; max-width:44ch; margin-left:auto; margin-right:auto; }

  /* ===== FOOTER ===== */
  footer{ border-top:1px solid var(--line); padding:36px 0; }
  .foot-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
  .foot-inner .logo{ font-size:16px; }
  footer p{ font-family:'IBM Plex Mono'; font-size:12.5px; color:#8B839A; }

  @media (max-width: 900px){
    nav.links{ display:none; }
    .menu-btn{ display:block; }
    .hero-grid{ grid-template-columns:1fr; }
    .work-grid{ grid-template-columns:1fr; }
    .steps{ grid-template-columns:1fr; gap:26px; }
  }


  /* ===== articles / case study ===== */
  .article{ max-width:760px; padding:20px 0 40px; }
  .article h2{ font-size:clamp(24px,3vw,32px); margin:44px 0 14px; }
  .article p{ color:#D9D3E3; font-size:17px; margin-bottom:18px; }
  .article ul, .article ol{ margin:0 0 22px 22px; color:#D9D3E3; font-size:17px; display:grid; gap:10px; }
  .article li strong{ color:#fff; }
  .article a{ color:#fff; text-decoration-color:var(--amber); text-underline-offset:3px; }
  .article em{ color:#fff; }
  .callout{ background:var(--bg-alt); border:1px solid var(--line); border-left:3px solid var(--amber); border-radius:12px; padding:18px 22px; margin:26px 0; color:#EDE9F2; font-size:16px; }
  .byline{ font-family:'IBM Plex Mono'; font-size:12.5px; color:#A59DB4; margin-bottom:24px; }
  .guide-end{ border-top:1px solid var(--line); margin-top:40px; padding-top:30px; }
  .guide-end h2{ font-size:24px; margin:0 0 14px; }
  .case-link{ margin-top:22px; }
  .cs-facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:34px; }
  .cs-facts div{ background:var(--bg-alt); border:1px solid var(--line); border-radius:12px; padding:16px 18px; font-size:15px; color:#fff; }
  .cs-facts span{ display:block; font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--amber); margin-bottom:6px; }
  .shots{ display:grid; grid-template-columns:1fr 200px; gap:24px; align-items:end; margin:30px 0 10px; }
  .shots img{ width:100%; height:auto; border-radius:12px; border:1px solid var(--line); }
  @media (max-width:860px){ .cs-facts{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .cs-facts{ grid-template-columns:1fr; } .shots{ grid-template-columns:1fr 120px; gap:14px; } }

  /* ===== industries / local pages ===== */
  .hub-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .mini-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:8px; }
  .mini{ background:var(--bg-alt); border:1px solid var(--line); border-radius:14px; padding:18px 20px; }
  .mini h3{ font-family:'Bricolage Grotesque'; font-size:18px; margin-bottom:6px; }
  .mini p{ color:#C7C0D4; font-size:14.5px; }
  .block-sec{ padding:70px 0 20px; border-top:1px solid var(--line); }
  .block-sec h2{ font-size:clamp(26px,3.2vw,38px); margin-bottom:14px; }
  .block-sec .lede{ color:#C7C0D4; font-size:16.5px; max-width:62ch; margin-bottom:24px; }
  .prose p{ color:#C7C0D4; font-size:16.5px; margin-bottom:16px; max-width:70ch; }
  .prose p a{ color:#fff; }
  .faq-list{ max-width:820px; }
  .faq-list details{ border-bottom:1px solid var(--line); padding:20px 0; }
  .faq-list details:first-child{ border-top:1px solid var(--line); }
  .faq-list summary{ list-style:none; cursor:pointer; font-family:'Bricolage Grotesque'; font-weight:600; font-size:19px; display:flex; justify-content:space-between; gap:16px; color:#fff; }
  .faq-list summary::-webkit-details-marker{ display:none; }
  .faq-list summary::after{ content:"+"; color:var(--amber); font-size:26px; line-height:1; }
  .faq-list details[open] summary::after{ content:"\2212"; }
  .faq-list details p{ margin-top:12px; color:#C7C0D4; max-width:64ch; }
  .chips a.chip{ text-decoration:none; transition:border-color .2s ease, background .2s ease; }
  .chips a.chip:hover{ border-color:var(--amber); background:rgba(255,184,77,0.08); }
  .home-trades{ padding:70px 0 20px; }
  .foot-loc{ color:#A59DB4; font-size:13.5px; }
  .hub-grid.hub-2{ grid-template-columns:repeat(2,1fr); }
  @media (max-width:980px){ .hub-grid, .mini-grid{ grid-template-columns:1fr 1fr; } .hub-grid.hub-2{ grid-template-columns:1fr; } }
  @media (max-width:640px){ .hub-grid, .mini-grid{ grid-template-columns:1fr; } }

  .work-feature{ margin-bottom:56px; }
  .proj-card.feature{ display:grid; grid-template-columns:1.25fr 1fr; align-items:stretch; }
  .proj-card.feature .proj-preview{ height:auto; min-height:260px; }
  .proj-card.feature .proj-body{ align-self:center; padding:34px 36px; }
  .proj-card.feature h3{ font-size:30px; }
  .proj-card.feature p{ font-size:16px; }
  .sample-head{ max-width:640px; margin-bottom:28px; }
  .sample-head h3{ font-family:'Bricolage Grotesque'; font-size:26px; margin-bottom:8px; }
  .sample-head p{ color:#C7C0D4; font-size:15.5px; }
  .work-grid.samples{ grid-template-columns:repeat(3,1fr); gap:24px; }
  .work-grid.samples .proj-preview{ height:auto; aspect-ratio:8/3; }
  .proj-preview img{ object-position:left top; }
  @media (max-width:980px){ .work-grid.samples{ grid-template-columns:repeat(2,1fr); } .proj-card.feature{ grid-template-columns:1fr; } .proj-card.feature .proj-preview{ min-height:0; height:200px; } }
  @media (max-width:640px){ .work-grid.samples{ grid-template-columns:1fr; } .proj-card.feature .proj-body{ padding:24px 26px 28px; } }
  /* ===== additions: a11y, logo, menu ===== */
  main{ overflow-x:clip; }
  .hero .hero-grid{ max-width:1200px; }
  .hero h1{ max-width:760px; }
  a:focus-visible, button:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; border-radius:6px; }
  .skip{ position:absolute; left:-999px; top:8px; background:#fff; color:var(--ink); padding:10px 16px; border-radius:8px; z-index:300; font-weight:700; }
  .skip:focus{ left:12px; }
  .logo img{ height:30px; width:auto; display:block; }
  .logo .name{ white-space:nowrap; }
  nav.links a[aria-current="page"]{ opacity:1; }
  .eyebrow{ color:#EDE9F2; }

  /* ===== services overview (home) ===== */
  .services{ padding:20px 0 90px; }
  .svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .svc-card{
    background:var(--bg-alt); border:1px solid var(--line); border-radius:16px;
    padding:30px 28px 28px; display:flex; flex-direction:column;
    transition: transform .25s ease, border-color .25s ease;
  }
  .svc-card:hover{ transform:translateY(-6px); border-color:rgba(255,184,77,0.5); }
  .svc-card .tag{ font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--amber); margin-bottom:14px; display:block; }
  .svc-card h3{ font-size:24px; margin-bottom:12px; }
  .svc-card p{ color:#C7C0D4; font-size:15px; margin-bottom:20px; flex:1; }
  .svc-card .more{ font-family:'IBM Plex Mono'; font-size:13px; font-weight:600; color:#fff; text-decoration:none; }
  .svc-card .more:hover{ color:var(--amber); }
  .section-foot{ margin-top:30px; }
  .text-link{ color:#fff; font-weight:700; text-decoration:none; border-bottom:1.5px solid var(--amber); padding-bottom:2px; }
  .text-link:hover{ color:var(--amber); }

  /* 4-step process on home */
  .steps.four{ grid-template-columns:repeat(4,1fr); gap:28px; }

  /* ===== services page ===== */
  .page-hero{ padding:84px 0 40px; position:relative; overflow:hidden; }
  .page-hero .hero-copy{ max-width:780px; position:relative; z-index:2; }
  .crumbs{ font-family:'IBM Plex Mono'; font-size:12.5px; color:#A59DB4; margin-bottom:26px; }
  .crumbs a{ color:#C7C0D4; text-decoration:none; }
  .crumbs a:hover{ color:#fff; }
  .crumbs span{ margin:0 8px; opacity:.6; }
  .page-hero h1{ font-size:clamp(36px,5vw,62px); margin-bottom:22px; }
  .page-hero h1 .grad{ background:linear-gradient(120deg,var(--coral),var(--amber)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .page-hero p.lead{ font-size:18px; color:#C7C0D4; max-width:60ch; margin-bottom:34px; }

  .svc-detail{ padding:64px 0; border-top:1px solid var(--line); }
  .svc-detail .grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
  .svc-detail .num{ font-family:'IBM Plex Mono'; font-size:13px; color:var(--amber); display:block; margin-bottom:14px; letter-spacing:0.06em; }
  .svc-detail h2{ font-size:clamp(28px,3.4vw,40px); margin-bottom:16px; }
  .svc-detail p{ color:#C7C0D4; font-size:16.5px; margin-bottom:14px; max-width:52ch; }
  .checks{ list-style:none; display:grid; gap:0; border-top:1px solid var(--line); }
  .checks li{ position:relative; padding:17px 0 17px 38px; border-bottom:1px solid var(--line); color:#EDE9F2; font-size:15.5px; }
  .checks li::before{
    content:""; position:absolute; left:4px; top:21px; width:9px; height:15px;
    border:solid var(--amber); border-width:0 2.5px 2.5px 0; transform:rotate(40deg) scale(.9);
  }
  .checks li strong{ color:#fff; font-weight:700; }
  .note{ margin-top:22px; font-size:14px; color:#A59DB4; max-width:60ch; }

  .p-section{ padding:84px 0 60px; border-top:1px solid var(--line); }
  .p-list{ list-style:none; display:grid; gap:0; margin-top:10px; counter-reset:none; }
  .p-step{ display:grid; grid-template-columns:90px 1fr 1fr; gap:28px; padding:34px 0; border-top:2px solid; border-image:linear-gradient(90deg,var(--coral),var(--amber)) 1; }
  .p-step .snum{ font-family:'IBM Plex Mono'; font-size:15px; color:var(--amber); padding-top:6px; }
  .p-step h3{ font-size:clamp(24px,2.6vw,32px); margin-bottom:10px; }
  .p-step p{ color:#C7C0D4; font-size:15.5px; margin-bottom:12px; }
  .p-step .get{ background:var(--bg-alt); border:1px solid var(--line); border-radius:14px; padding:20px 22px; align-self:start; }
  .p-step .get h4{ font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--amber); margin-bottom:10px; font-weight:600; }
  .p-step .get ul{ list-style:none; display:grid; gap:9px; }
  .p-step .get li{ font-size:14.5px; color:#EDE9F2; padding-left:18px; position:relative; }
  .p-step .get li::before{ content:""; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:50%; background:linear-gradient(135deg,var(--coral),var(--amber)); }

  .audience{ padding:70px 0 40px; border-top:1px solid var(--line); }
  .chips{ display:flex; flex-wrap:wrap; gap:12px; margin-top:6px; }
  .chip{ border:1px solid rgba(255,255,255,0.2); border-radius:100px; padding:10px 18px; font-size:14.5px; color:#EDE9F2; background:rgba(255,255,255,0.04); }

  /* ===== footer links ===== */
  .foot-links{ display:flex; gap:26px; flex-wrap:wrap; }
  .foot-links a{ color:#C7C0D4; text-decoration:none; font-size:14.5px; font-weight:600; }
  .foot-links a:hover{ color:#fff; }

  /* ===== 404 ===== */
  .nf{ padding:120px 0 140px; text-align:center; }
  .nf h1{ font-size:clamp(40px,6vw,76px); margin-bottom:18px; }
  .nf p{ color:#C7C0D4; font-size:18px; margin:0 auto 34px; max-width:46ch; }
  .nf .btn-row{ justify-content:center; }

  @media (max-width: 1180px){
    .steps.four{ grid-template-columns:repeat(2,1fr); }
  }
  @media (max-width: 900px){
    .svc-grid{ grid-template-columns:1fr; }
    .svc-detail .grid{ grid-template-columns:1fr; gap:28px; }
    .p-step{ grid-template-columns:1fr; gap:14px; padding:28px 0; }
    .page-hero{ padding:56px 0 24px; }
    nav.links.open{
      display:flex; flex-direction:column; position:absolute; top:100%; left:0; right:0;
      background:#17101F; border-bottom:1px solid var(--line); padding:20px 32px 26px; gap:18px; align-items:flex-start;
    }
  }
  @media (max-width: 600px){
    .steps.four{ grid-template-columns:1fr; }
    .wrap, .nav-inner{ padding-left:20px; padding-right:20px; }
    nav.links.open{ padding-left:20px; padding-right:20px; }
    .logo .name{ font-size:17px; }
  }
