  :root{
    --bg:#0A0A0B;
    --surface:#131316;
    --line:#232327;
    --text:#F5F4F1;
    --muted:#A3A29D;
    --accent:#7DB0F2;
    --maxw:1080px;
  }
  *{margin:0;padding:0;box-sizing:border-box}
  ::selection{background:var(--accent);color:var(--bg)}
  html{scroll-behavior:smooth}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',system-ui,sans-serif;
    font-size:17px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  /* full-screen animated net background (element created + initialized in script.js via Vanta) */
  #vanta-bg{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    height:100lvh; /* full height even with the mobile URL bar expanded, so scrolling never resizes the canvas */
    z-index:-1;
    opacity:.38;
  }
  /* dark scrim over the center column so text always sits on calm gray/black;
     the net stays more visible toward the screen edges */
  #vanta-bg::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(ellipse 62% 95% at 50% 45%, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 55%, rgba(10,10,11,0) 85%);
  }
  /* film grain over everything, very faint */
  body::after{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    z-index:50;
    opacity:.05;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
  h1,h2{font-family:'Inter',sans-serif;letter-spacing:-0.03em;line-height:1.08}
  .eyebrow{
    font-family:'JetBrains Mono',monospace;
    font-size:12px;
    font-weight:500;
    letter-spacing:0.22em;
    text-transform:uppercase;
    color:var(--accent);
    margin-bottom:20px;
  }
  a{color:inherit}
  a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

  /* Nav */
  nav{
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:40;
    background:var(--bg);
  }
  .nav-inner{display:flex;align-items:center;justify-content:space-between;height:72px}
  .brand{
    font-family:'Archivo',sans-serif;
    font-weight:800;
    font-size:15px;
    letter-spacing:0.06em;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:12px;
  }
  .brand img{height:32px;width:auto;display:block}
  .brand img.brand-mark{height:40px}
  .nav-cta{
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    color:var(--text);
    border:1px solid var(--line);
    padding:9px 18px;
    border-radius:6px;
    transition:border-color .15s;
  }
  .nav-cta:hover{border-color:var(--accent)}

  /* Hero */
  .hero{
    padding:110px 0 90px;
    position:relative;
    overflow:hidden;
  }
  .hero .wrap{position:relative;z-index:1}
  .hero h1{
    font-size:clamp(42px,7.5vw,84px);
    font-weight:800;
    max-width:15ch;
  }
  .hero h1 em{font-style:normal;color:var(--accent)}
  .hero p{
    margin-top:28px;
    max-width:52ch;
    font-size:clamp(17px,2.2vw,20px);
    color:var(--muted);
  }
  .btn{
    display:inline-block;
    margin-top:40px;
    background:var(--accent);
    color:var(--bg);
    font-weight:600;
    font-size:16px;
    text-decoration:none;
    padding:15px 28px;
    border-radius:6px;
    transition:opacity .15s;
  }
  .btn:hover{opacity:.9}
  .btn-outline{
    display:inline-block;
    margin-top:40px;
    margin-left:12px;
    background:var(--bg);
    color:var(--text);
    font-weight:600;
    font-size:16px;
    text-decoration:none;
    padding:14px 28px;
    border-radius:6px;
    border:1px solid var(--line);
    transition:border-color .15s;
  }
  .btn-outline:hover,.btn-outline:active{border-color:var(--accent)}
  .btn span{display:inline-block;transition:transform .2s}
  .btn:hover span{transform:translateX(4px)}
  @media (max-width:640px){
    .btn,.btn-outline{font-size:14px;padding:11px 20px;margin-top:28px}
  }

  /* Trusted by */
  .trusted{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:28px 0 26px}
  .trusted-label{
    font-family:'JetBrains Mono',monospace;
    font-size:11px;
    letter-spacing:0.22em;
    text-transform:uppercase;
    color:var(--muted);
    display:block;
    margin-bottom:22px;
  }
  .marquee{
    overflow:hidden;
    position:relative;
    -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image:linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .marquee-track{
    display:flex;
    align-items:center;
    gap:72px;
    width:max-content;
    animation:scroll 40s linear infinite;
  }
  .marquee:hover .marquee-track{animation-play-state:paused}
  .logo-item{
    flex:none;
    display:flex;
    align-items:center;
    height:34px;
  }
  /* real logo images: grayscale, dimmed, lift to full white on hover */
  .logo-item img{
    height:100%;
    width:auto;
    opacity:.6;
    transition:opacity .2s;
  }
  .logo-item img:hover{opacity:1}
  .logo-item span{
    font-family:'Cinzel',serif;
    font-weight:600;
    font-size:20px;
    letter-spacing:0.02em;
    color:var(--text);
    opacity:.6;
    white-space:nowrap;
    transition:opacity .2s;
  }
  .logo-item span:hover{opacity:1}
  @keyframes scroll{
    from{transform:translateX(0)}
    to{transform:translateX(-50%)}
  }

  /* Sections */
  section{padding:100px 0}
  /* soft translucent panel behind each worded section — keeps text readable
     over the animated net without a heavy solid block */
  section .wrap{
    background:rgba(19,19,22,.55);
    border:1px solid rgba(245,244,241,.05);
    border-radius:14px;
    padding:56px 48px;
  }
  h2{font-size:clamp(32px,5vw,52px);font-weight:800;max-width:20ch}
  .lede{margin-top:20px;max-width:48ch;color:var(--muted);font-size:18px}

  .cards{
    margin-top:56px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }
  .card{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:10px;
    padding:32px 28px;
    transition:border-color .2s, transform .2s;
  }
  .card:hover{border-color:var(--accent);transform:translateY(-3px)}
  .card h3{
    font-family:'Inter',sans-serif;
    font-size:21px;
    font-weight:800;
    margin-bottom:12px;
  }
  .card p{color:var(--muted);font-size:16px}
  .card p + p{margin-top:12px}
  .card p strong{color:var(--text)}
  /* client name under the project title; replaced by .client-logo img when logo files exist */
  .card .client{
    display:block;
    font-family:'JetBrains Mono',monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--accent);
    margin:-4px 0 16px;
  }
  .card .client-logo{max-height:44px;max-width:180px;display:block;margin:-4px 0 16px;object-fit:contain}
  /* square-ish logos need more height to match the visual weight of the wide ones */
  .card .logo-tall{max-height:72px}
  /* logos with black artwork sit on a small white chip so they stay legible on the dark card */
  .card .logo-chip{background:#fff;border-radius:6px;padding:6px 10px;max-height:84px}
  /* projects page: one card per row on every screen size, text running full width */
  .cards-stacked{grid-template-columns:1fr}
  .cards-stacked .card p{max-width:70ch}

  /* Industries */
  .chips{margin-top:44px;display:flex;flex-wrap:wrap;gap:12px}
  .chip{
    border:1px solid var(--line);
    border-radius:999px;
    padding:11px 22px;
    font-size:15px;
    font-weight:500;
    color:var(--text);
  }

  /* Landscape chart */
  .chart-wrap{margin-top:48px}
  .chart{width:100%;height:auto;display:block}
  .chart .axis-label{
    font-family:'JetBrains Mono',monospace;
    font-size:15px;
    font-weight:500;
    letter-spacing:0.18em;
    fill:var(--text);
  }
  .chart .dot-label{
    font-family:'Inter',sans-serif;
    font-size:13px;
    font-weight:600;
    fill:var(--text);
  }
  .chart .zone-label{
    font-family:'JetBrains Mono',monospace;
    font-size:10px;
    letter-spacing:0.2em;
    fill:var(--accent);
  }
  .chart .dot{transform-origin:center;transform-box:fill-box}
  .reveal .dot{opacity:0;transform:scale(.4);transition:opacity .5s ease, transform .5s ease}
  .reveal.in .dot{opacity:1;transform:scale(1)}
  .reveal.in .dot:nth-child(1){transition-delay:.05s}
  .reveal.in .dot:nth-child(2){transition-delay:.15s}
  .reveal.in .dot:nth-child(3){transition-delay:.25s}
  .reveal.in .dot:nth-child(4){transition-delay:.35s}
  .reveal.in .dot:nth-child(5){transition-delay:.45s}
  @media (max-width:600px){
    .chart .dot-label{font-size:15px}
    .chart .axis-label{font-size:18px}
  }

  /* Approach steps */
  .steps{margin-top:56px;list-style:none}
  .step{
    display:grid;
    grid-template-columns:80px 1fr;
    gap:24px;
    padding:32px 0;
    border-top:1px solid var(--line);
  }
  .step:last-child{border-bottom:1px solid var(--line)}
  .step-num{
    font-family:'JetBrains Mono',monospace;
    font-size:14px;
    font-weight:500;
    color:var(--accent);
    padding-top:6px;
  }
  .step h3{
    font-family:'Inter',sans-serif;
    font-size:21px;
    font-weight:800;
    margin-bottom:10px;
  }
  .step p{color:var(--muted);font-size:16px;max-width:60ch}

  /* Contact */
  #contact p.lede{max-width:44ch}

  /* About: team grid */
  .team{margin-top:44px;display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
  .team-card{
    aspect-ratio:1/1; /* preferred square; the card grows taller if the bio needs more room */
    display:flex;
    flex-direction:column;
  }
  .team-card h3{margin-bottom:4px}
  .team-photo{
    width:112px;
    height:112px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:16px;
  }
  .team-title{
    display:block;
    font-family:'JetBrains Mono',monospace;
    font-size:12px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--accent);
    margin-bottom:14px;
  }
  .team-bio{margin-bottom:16px}
  .li-btn{
    margin-top:auto;
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#0A66C2;
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    padding:9px 16px;
    border-radius:8px;
    transition:background .15s;
  }
  .li-btn:hover{background:#004182}
  .li-btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
  /* footer LinkedIn button: identical to the About page buttons; .foot-contact a rules
     (inline-block, stripped padding, gray color) would otherwise deform it */
  .foot .li-btn,
  .foot-contact a.li-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#fff;
    font-size:14px;
    margin:0;
    padding:9px 16px;
  }
  .foot .li-btn:hover{color:#fff}
  @media (max-width:640px){
    .team{grid-template-columns:1fr}
    /* one column: let cards size to their content so bios never clip on small phones */
    .team-card{aspect-ratio:auto}
  }

  /* Footer */
  footer{border-top:1px solid var(--line);padding:44px 0 56px}
  .foot{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:16px;
    color:var(--muted);
    font-size:14px;
  }
  .foot a{color:var(--muted);text-decoration:none}
  .foot a:hover{color:var(--text)}
  /* phone + email: separated, with padding so they're easy to tap on phones */
  .foot-contact{display:flex;flex-wrap:wrap;gap:8px 24px}
  .foot-contact a{display:inline-block;padding:8px 0;margin:-8px 0}
  @media (max-width:820px){
    .foot{flex-direction:column}
    .foot-contact{flex-direction:column;gap:0}
    .foot-contact a{font-size:16px;color:var(--muted);padding:10px 0;margin:0}
  }

  @media (max-width:820px){
    .cards{grid-template-columns:1fr}
    .step{grid-template-columns:44px 1fr;gap:16px}
    .hero{padding:80px 0 70px}
    section{padding:76px 0}
    section .wrap{padding:40px 20px}
  }
  /* scroll reveal — slower, softer ease-out for a smoother feel */
  .reveal{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1)}
  .reveal.in{opacity:1;transform:none}
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    .reveal{opacity:1;transform:none;transition:none}
    .card,.btn span{transition:none}
    .marquee-track{animation:none;flex-wrap:wrap;width:auto;padding:0 24px}
  }

  /* Multi-page nav links */
  .nav-links{display:flex;align-items:center;gap:28px}
  .nav-links a{font-size:14px;font-weight:600;text-decoration:none;color:var(--muted);transition:color .15s}
  .nav-links a:hover{color:var(--text)}
  .nav-links a.active{color:var(--text)}
  .nav-links a.nav-cta{color:var(--text)}
  /* mobile: hamburger menu so the full Revora logo always fits */
  .nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:12px;margin:-12px}
  .nav-toggle span{display:block;width:24px;height:2px;background:var(--text);margin:6px 0;border-radius:2px}
  @media (max-width:640px){
    .nav-toggle{display:block}
    .nav-links{
      display:none;
      position:absolute;
      top:62px;
      right:16px;
      left:auto;
      flex-direction:column;
      align-items:stretch;
      gap:0;
      min-width:170px;
      background:var(--surface);
      border:1px solid var(--line);
      border-radius:10px;
      padding:4px 18px;
      box-shadow:0 14px 36px rgba(0,0,0,.55);
    }
    .nav-links.open{display:flex}
    .nav-links a{padding:12px 0;font-size:15px}
    .nav-links a.nav-cta{border:0;padding:12px 0;border-radius:0;color:var(--muted)}
    .nav-links a.active{color:var(--text)}
  }

  /* Inner-page header (projects / contact) */
  .page-hero{padding:90px 0 40px;position:relative}
  /* pull the first content block closer to the page title on projects/contact */
  .page-hero + section{padding-top:28px}
  .page-hero h1{font-size:clamp(36px,6vw,64px);font-weight:800;max-width:18ch}
  .page-hero p{margin-top:22px;max-width:52ch;font-size:18px;color:var(--muted)}
  /* keep the small label above the h1 blue; .page-hero p above would gray it out */
  .page-hero p.eyebrow{color:var(--accent);font-size:12px;margin-top:0}
  .card .tag{
    display:inline-block;
    font-family:'JetBrains Mono',monospace;
    font-size:11px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--accent);
    margin-bottom:14px;
  }
  .contact-detail{margin-top:56px;display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
  @media (max-width:820px){.contact-detail{grid-template-columns:1fr}}