  :root{
    --bg:        #f7f5f0;   /* stone white */
    --bg-2:      #eeeae0;   /* warm stone */
    --bg-panel:  #ffffff;
    --ink:       #14120e;   /* near-black, warm */
    --ink-2:     #2e2a22;
    --ink-3:     #5a5349;
    --ink-dim:   #8a8276;
    --rule:      #d9d3c3;
    --rule-strong: #b8b0a0;
    --accent:    #30609a;   /* primary blue */
    --accent-soft:#24b7a6;   /* secondary teal */

    --sans: 'Inter', sans-serif;
    --display: 'Fraunces', serif;
  }

  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 15px;
  }

  ::selection{ background: var(--ink); color: var(--bg); }

  /* ====== UTILITY ====== */
  .container{ max-width: 1440px; margin: 0 auto; padding: 0 48px; }
  .eyebrow{
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 700;
  }
  .eyebrow .num{
    display: inline-block;
    color: var(--accent);
    margin-right: 10px;
    font-weight: 900;
  }
  .rule-h{ height: 1px; background: var(--rule); width: 100%; }

  /* ====== TOP UTILITY BAR ====== */
  .utility-bar{
    background: var(--ink);
    color: var(--bg);
    padding: 10px 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 501;
  }
  .utility-bar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
  }
  .utility-left{
    display: flex;
    gap: 32px;
    color: rgba(247,245,240,0.75);
  }
  .utility-left span b{ color: var(--bg); font-weight: 500; margin-right: 6px; }
  .utility-right{
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .utility-right a{
    color: rgba(247,245,240,0.75);
    text-decoration: none;
    transition: color .2s;
  }
  .utility-right a:hover{ color: var(--bg); }
  .utility-right .lang{
    display: flex;
    gap: 8px;
    padding-left: 24px;
    border-left: 1px solid rgba(247,245,240,0.2);
  }
  .utility-right .lang a{ letter-spacing: 0.12em; }
  .utility-right .lang a.active{ color: var(--bg); font-weight: 500; }

  @media(max-width:900px){
    .utility-bar{ font-size: 10px; }
    .utility-left{ display: none; }
    .utility-right{ justify-content: space-between; width: 100%; }
  }

  /* ====== NAV ====== */
  nav{
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    z-index: 500;
    transition: box-shadow .3s;
  }
  nav.scrolled{ box-shadow: 0 1px 0 var(--rule), 0 2px 12px rgba(20,18,14,0.04); }
  nav .container{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .logo{
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--ink);
    text-decoration: none;
    justify-self: start;
    position: relative;
  }
  .logo::before{
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--accent);
  }
  .logo-img{
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
  }
  .nav-links{
    display: flex;
    gap: 40px;
    list-style: none;
  }
  .nav-links a{
    font-size: 16px;
    color: var(--ink-2);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color .2s;
  }
  .nav-links a:hover{ color: var(--ink); }
  .nav-links a::after{
    content: "";
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width .3s ease;
  }
  .nav-links a:hover::after{ width: 100%; }

  .nav-cta{
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 12px 22px;
    background: var(--ink);
    color: var(--bg);
    text-decoration: none;
    font-weight: 500;
    transition: background .2s;
  }
  .nav-cta:hover{ background: var(--accent); }

  .menu-toggle{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 12px;
    flex-direction: column;
    gap: 5px;
    z-index: 510;
  }
  .menu-toggle span{
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .menu-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2){ opacity: 0; }
  .menu-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  @media(max-width:900px){
    nav .container{ padding: 16px 22px; grid-template-columns: 1fr auto auto; }
    .nav-links{
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--rule);
      flex-direction: column;
      gap: 0;
      padding: 16px 22px;
      box-shadow: 0 8px 24px rgba(20,18,14,0.08);
      z-index: 490;
    }
    .nav-links.open{ display: flex; }
    .nav-links li{ width: 100%; }
    .nav-links a{
      display: block;
      padding: 14px 0;
      font-size: 16px;
      border-bottom: 1px solid rgba(217,211,195,0.4);
    }
    .nav-links li:last-child a{ border-bottom: none; }
    .nav-links a::after{ display: none; }
    .nav-cta{ display: none; }
    .menu-toggle{ display: flex; }
    .logo{ font-size: 18px; }
    .logo::before{ display: none; }
    .logo-img{ height: 32px; }
  }

  .container{ padding: 0 48px; }
  @media(max-width:900px){ .container{ padding: 0 22px; } }

  /* ====== HERO ====== */
  .hero{
    position: relative;
    height: 80vh;
    min-height: 620px;
    overflow: hidden;
    background: var(--ink);
  }
  .hero-media{
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  .hero-slider{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.8s ease-in-out;
  }
  .hero-slide{
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  .hero-media::after{
    content:"";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(20,18,14,0.50) 0%, rgba(20,18,14,0.30) 50%, rgba(20,18,14,0.15) 100%),
      linear-gradient(180deg, rgba(20,18,14,0.10) 0%, rgba(20,18,14,0.45) 100%);
    z-index: 2;
  }

  .hero-grid{
    position: relative;
    z-index: 3;
    height: 100%;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: end;
    padding: 80px 48px 80px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .hero-eyebrow{
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    opacity: 0;
    animation: fadeIn .8s .2s forwards;
  }
  .hero-eyebrow::before{
    content: "";
    width: 30px; height: 1px;
    background: var(--accent-soft);
  }

  h1.hero-title{
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(36px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 780px;
  }
  h1.hero-title .line{
    display: block;
    overflow: hidden;
    padding-bottom: 0.02em;
  }
  h1.hero-title .line span{
    display: inline-block;
    transform: translateY(110%);
    animation: riseUp 1s cubic-bezier(.6,0,.2,1) forwards;
  }
  h1.hero-title .line:nth-child(1) span{ animation-delay: .4s; }
  h1.hero-title .line:nth-child(2) span{ animation-delay: .55s; }
  h1.hero-title .line:nth-child(3) span{ animation-delay: .7s; }

  h1.hero-title em{
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent-soft);
    font-variation-settings: "opsz" 144;
  }

  @keyframes riseUp{ to{ transform: translateY(0); } }
  @keyframes fadeIn{
    from{ opacity: 0; transform: translateY(12px); }
    to{ opacity: 1; transform: translateY(0); }
  }

  .hero-side{
    padding-bottom: 4px;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
  }
  .hero-side-text{
    font-size: 15px;
    line-height: 1.65;
    color: rgba(247,245,240,0.82);
    margin-bottom: 28px;
    max-width: 360px;
  }
  .hero-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .btn-primary{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all .25s;
    border: 1px solid var(--accent);
  }
  .btn-primary:hover{ background: var(--accent-soft); color: var(--bg); border-color: var(--accent-soft); }
  .btn-primary svg{ transition: transform .25s; }
  .btn-primary:hover svg{ transform: translateX(4px); }

  .btn-outline{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border: 1px solid rgba(247,245,240,0.4);
    color: var(--bg);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all .25s;
  }
  .btn-outline:hover{ background: rgba(247,245,240,0.1); border-color: var(--bg); }

  /* Hero meta strip */
  .hero-meta-strip{
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 4;
    border-top: 1px solid rgba(247,245,240,0.15);
    background: rgba(20,18,14,0.4);
    backdrop-filter: blur(12px);
  }
  .hero-meta-inner{
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-meta-cell{
    padding: 22px 24px 22px 0;
    border-right: 1px solid rgba(247,245,240,0.15);
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
  .hero-meta-cell:last-child{ border-right: none; }
  .hero-meta-cell:not(:first-child){ padding-left: 24px; }
  .hmc-num{
    font-family: var(--sans);
    font-size: 11px;
    color: var(--accent-soft);
    font-weight: 500;
    letter-spacing: 0.15em;
  }
  .hmc-text{
    font-size: 12px;
    color: rgba(247,245,240,0.82);
    line-height: 1.4;
  }
  .hmc-text b{ color: var(--bg); font-weight: 500; display: block; margin-bottom: 2px; letter-spacing: 0.05em; }

  @media(max-width: 900px){
    .hero{ height: auto; min-height: 0; padding-bottom: 0; }
    .hero-grid{ grid-template-columns: 1fr; padding: 80px 22px 60px; gap: 32px; }
    .hero-meta-strip{ position: static; }
    .hero-meta-inner{ grid-template-columns: 1fr 1fr; padding: 0 22px; }
    .hero-meta-cell{ padding: 16px 12px; border-right: none; border-bottom: 1px solid rgba(247,245,240,0.15); }
    .hero-meta-cell:nth-child(2n){ border-right: 1px solid rgba(247,245,240,0.15); }
  }

  /* ====== CREDIBILITY BAR ====== */
  .credibility{
    background: #fbfbfb;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
  }
  .credibility .container{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
  }
  .cred-label{
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    line-height: 1.4;
  }
  .cred-logos-track{
    overflow: hidden;
    width: 100%;
  }
  .cred-logos{
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: cred-scroll 25s linear infinite;
  }
  .cred-logos:hover{
    animation-play-state: paused;
  }
  .cred-logo{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--ink-3);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    opacity: 0.7;
    transition: opacity .25s;
    white-space: nowrap;
  }
  .cred-logo img{
    max-width: 95px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: filter 0.3s ease;
  }
  .cred-logo:hover{ opacity: 1; color: var(--ink); }
  .cred-logo:hover img{ filter: none; }
  .cred-logo.serif{ font-family: var(--display); letter-spacing: 0.08em; font-size: 18px; font-weight: 500; }
  .cred-logo.thin{ font-weight: 300; letter-spacing: 0.3em; font-size: 12px; }

  @media(max-width:900px){
    .credibility .container{ grid-template-columns: 1fr; gap: 20px; }
    .cred-logos{ gap: 40px; }
  }

  /* ====== SECTION HEADERS ====== */
  section{ padding: 100px 0; }

  .section-head{
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 80px;
  }
  .section-head-left{
    padding-top: 8px;
  }
  .section-tag,
  .section-tag span{
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 6px;
  }
  .section-tag-sub{
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-weight: 500;
  }
  .section-title{
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink);
    max-width: 900px;
  }
  .section-title em{
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    font-variation-settings: "opsz" 144;
  }

  @media(max-width:900px){
    section{ padding: 70px 0; }
    .section-head{ grid-template-columns: 1fr; gap: 16px; padding-bottom: 40px; margin-bottom: 50px; }
  }

  /* ====== ABOUT / COMPANY ====== */
  .about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .about-text p{
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-2);
    margin-bottom: 22px;
  }
  .about-text p.lead{
    font-size: 20px;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 400;
  }

  .about-facts{
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
  }
  .about-fact{
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid var(--rule);
  }
  .about-fact:nth-child(odd){ border-right: 1px solid var(--rule); padding-right: 24px; }
  .about-fact:nth-child(even){ padding-left: 24px; }
  .af-label{
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-weight: 500;
    margin-bottom: 6px;
  }
  .af-value{
    font-size: 17px;
    color: var(--ink);
    font-weight: 500;
  }

  .about-image{
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-2);
  }
  .about-image img{
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .about-image-caption{
    position: absolute;
    left: 0; bottom: 0;
    background: var(--ink);
    color: var(--bg);
    padding: 14px 22px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .about-image-caption b{ color: var(--accent-soft); font-weight: 500; margin-right: 10px; }

  /* ====== MATERIALS ====== */
  .materials-cards{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
  }
  .material-card{
    padding: 24px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .material-label{
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .material-title{
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .material-desc{
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  .tech-section{
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--rule);
  }
  .tech-grid{
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 64px;
    margin-bottom: 40px;
  }

  .tech-cards{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .tech-card{
    background: var(--bg-panel);
    padding: 28px 24px;
  }
  .tech-num{
    font-family: var(--sans);
    font-weight: 600;
    font-size: 36px;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1;
  }
  .tech-title{
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .tech-desc{
    font-size: 12px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  @media(max-width:900px){
    .about-grid{ grid-template-columns: 1fr; gap: 48px; }
    .about-image{ aspect-ratio: 3/2; }
    .about-text p.lead{ font-size: 18px; }
    .materials-cards{ grid-template-columns: 1fr 1fr; }
    .material-card{ padding: 18px; }
    .material-title{ font-size: 16px; }
    .tech-grid{ grid-template-columns: 1fr; gap: 24px; }
    .tech-cards{ grid-template-columns: repeat(3, 1fr); }
    .tech-card{ padding: 22px 18px; }
    .tech-num{ font-size: 32px; }
  }

  @media(max-width:600px){
    .about-grid{ gap: 36px; }
    .about-image{ aspect-ratio: 16/10; }
    .about-text p{ font-size: 15px; margin-bottom: 16px; }
    .about-text p.lead{ font-size: 17px; }
    .about-facts{ grid-template-columns: 1fr 1fr; }
    .about-fact{ padding: 16px 12px; }
    .about-fact:nth-child(odd){ border-right: none; padding-right: 0; }
    .about-fact:nth-child(even){ padding-left: 0; }
    .af-value{ font-size: 15px; }
    .materials-cards{ grid-template-columns: 1fr; }
    .material-card{ padding: 16px; }
    .material-title{ font-size: 15px; }
    .tech-cards{ grid-template-columns: repeat(2, 1fr); }
    .tech-card{ padding: 18px 14px; }
    .tech-num{ font-size: 28px; }
    .tech-title{ font-size: 14px; }
    .tech-desc{ font-size: 11px; }
  }

  /* ====== SERVICES ====== */
  .services{ background: var(--bg-2); }
  .services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .service{
    background: var(--bg-panel);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background .25s;
    cursor: pointer;
    position: relative;
  }
  .service:hover{ background: var(--bg); }
  .service-num{
    font-family: var(--sans);
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
  }
  .service-icon{
    width: 44px; height: 44px;
    border: 1px solid #24b7a6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #30609a;
  }
  .service h3{
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--ink);
  }
  .service p{
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
    flex: 1;
  }
  .service-features{
    list-style: none;
    font-size: 13px;
    color: var(--ink-2);
  }
  .service-features li{
    padding: 8px 0;
    border-top: 1px solid var(--rule);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .service-features li::before{
    content: "";
    width: 4px; height: 4px;
    background: var(--accent);
    flex-shrink: 0;
  }
  .service-link{
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
  }
  .service-link svg{ transition: transform .25s; }
  .service:hover .service-link svg{ transform: translateX(4px); }

  @media(max-width:900px){
    .services-grid{ grid-template-columns: 1fr; }
  }

  /* ====== PORTFOLIO ====== */
  .portfolio-head-row{
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 60px;
    align-items: end;
  }
  .portfolio-head-row .section-title{
    font-size: clamp(28px, 3.5vw, 48px);
  }
  .filters{
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }
  .filter{
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--ink-2);
    transition: all .2s;
    cursor: pointer;
  }
  .filter:hover{ border-color: var(--ink); color: var(--ink); }
  .filter.active{
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
  }

  .portfolio-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }
  .work{
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-2);
  }
  .work-image{
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
  }
  .work-image img{
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.2,.8,.2,1);
  }
  .work:hover .work-image img{ transform: scale(1.05); }
  .work-image::after{
    content:"";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(20,18,14,0.3));
    opacity: 0;
    transition: opacity .3s;
  }
  .work:hover .work-image::after{ opacity: 1; }

  .work-body{
    padding: 20px 4px;
    display: flex;
    justify-content: flex-end;
    align-items: start;
  }
  .work-cat{
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 500;
  }
  .work-title{
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
  }
  .work-meta{
    text-align: right;
    font-size: 11px;
    color: var(--ink-dim);
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
  .work-meta b{ color: var(--ink-2); font-weight: 500; display: block; }

  .load-more-wrap{ text-align: center; margin-top: 48px; }
  .load-more-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s;
    border-radius: 0;
  }
  .load-more-btn:hover{
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
  }

  @media(max-width:900px){
    .portfolio-head-row{ grid-template-columns: 1fr; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; }
    .portfolio-grid{ grid-template-columns: 1fr; gap: 28px; }
  }

  /* ====== STATS ====== */
  .stats{
    background: var(--ink);
    color: var(--bg);
    padding: 80px 0;
  }
  .stats .section-title{
    color: var(--bg);
    margin-bottom: 60px;
    max-width: 800px;
  }
  .stats .section-title em{ color: var(--accent-soft); }
  .stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(247,245,240,0.15);
  }
  .stats-grid .stat{
    padding: 40px 32px 40px 0;
    border-right: 1px solid rgba(247,245,240,0.15);
  }
  .stats-grid .stat:last-child{ border-right: none; }
  .stats-grid .stat:not(:first-child){ padding-left: 32px; }
  .stat-num{
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(48px, 5vw, 82px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--bg);
    margin-bottom: 14px;
  }
  .stat-num sup{
    font-size: 0.5em;
    color: var(--accent-soft);
    font-weight: 400;
    vertical-align: top;
    margin-left: 2px;
  }
  .stat-label{
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(247,245,240,0.65);
    font-weight: 500;
    margin-bottom: 8px;
  }
  .stat-desc{
    font-size: 13px;
    color: rgba(247,245,240,0.8);
    line-height: 1.5;
  }

  @media(max-width:1200px){
    .stats-grid{ grid-template-columns: repeat(5, 1fr) !important; }
    .stats-grid .stat .stat-num{ font-size: clamp(36px, 3.5vw, 56px); }
  }
  @media(max-width:900px){
    .stats-grid{ grid-template-columns: 1fr 1fr !important; }
    .stats-grid .stat:nth-child(2){ border-right: none; }
    .stats-grid .stat:nth-child(3), .stats-grid .stat:nth-child(4), .stats-grid .stat:nth-child(5){ border-top: 1px solid rgba(247,245,240,0.15); }
    .stats-grid .stat:nth-child(2n+1){ padding-left: 0; border-right: 1px solid rgba(247,245,240,0.15); }
    .stats-grid .stat:nth-child(2n){ padding-left: 32px; border-right: none; }
    .stats-grid .stat:nth-child(5){ grid-column: span 2; border-right: none; padding-left: 0; }
  }

  /* ====== PROCESS ====== */
  .process-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .step{
    padding: 40px 32px 40px 0;
    border-right: 1px solid var(--rule);
    position: relative;
  }
  .step:last-child{ border-right: none; }
  .step:not(:first-child){ padding-left: 32px; }
  .step-num{
    font-family: var(--sans);
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
  }
  .step h4{
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .step p{
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .step-duration{
    display: inline-block;
    font-size: 11px;
    color: var(--ink-2);
    letter-spacing: 0.08em;
    padding: 6px 12px;
    background: var(--bg-2);
    border: 1px solid var(--rule);
  }

  @media(max-width:1100px){
    .process-grid{ grid-template-columns: 1fr 1fr !important; }
    .step{ border-bottom: 1px solid var(--rule); }
    .step:nth-child(2n){ border-right: none; }
  }
  @media(max-width:900px){
    .process-grid{ grid-template-columns: 1fr !important; }
    .step{ border-right: none; border-bottom: 1px solid var(--rule); padding: 30px 0; }
    .step:last-child{ border-bottom: none; }
    .step:not(:first-child){ padding-left: 0; }
  }

  /* ====== TESTIMONIAL ====== */
  .testimonial{
    background: var(--bg-2);
  }
  .testimonial-grid{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
  }
  .testimonial-image{
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--ink);
  }
  .testimonial-image img{ width: 100%; height: 100%; object-fit: cover; }
  .testimonial-body blockquote{
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 36px;
  }
  .testimonial-body blockquote em{
    font-family: var(--display);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
  }
  .testimonial-author{
    display: flex;
    gap: 20px;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
  }
  .testimonial-author-name{
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
  }
  .testimonial-author-role{
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: 0.08em;
  }
  .testimonial-author-logo{
    margin-left: auto;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink-2);
    letter-spacing: 0.1em;
  }

  @media(max-width:900px){
    .testimonial-grid{ grid-template-columns: 1fr; gap: 40px; }
  }

  /* ====== CONTACT ====== */
  .contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .contact-left h2{
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: var(--ink);
  }
  .contact-left h2 em{
    font-family: var(--display);
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
  }
  .contact-left .lead{
    font-size: 16px;
    color: var(--ink-3);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 44px;
  }

  .contact-info{
    border-top: 1px solid var(--rule);
    padding-top: 8px;
  }
  .contact-info-item{
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    align-items: baseline;
  }
  .contact-info-label{
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-dim);
    font-weight: 500;
  }
  .contact-info-value{
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
  }
  .contact-info-value a{
    color: inherit;
    text-decoration: none;
    transition: color .2s;
  }
  .contact-info-value a:hover{ color: var(--accent); }

  .social-btns{
    display: flex;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap;
  }
  .social-btn{
    padding: 12px 20px;
    border: 1px solid var(--rule-strong);
    background: var(--bg-panel);
    color: var(--ink);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 500;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .social-btn:hover{ background: var(--accent); color: var(--bg); border-color: var(--accent); }

  .contact-form{
    background: var(--bg-panel);
    padding: 44px 40px;
    border: 1px solid var(--rule);
  }
  .form-head{
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 28px;
  }
  .form-head-eyebrow{
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
    font-weight: 600;
  }
  .form-head h3{
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
  }

  .form-group{ margin-bottom: 20px; }
  .form-group label{
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .form-group label .req{ color: var(--accent); }
  .form-group input,
  .form-group textarea,
  .form-group select{
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--rule);
    padding: 12px 14px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14px;
    transition: border-color .2s;
    outline: none;
    font-weight: 400;
  }
  .form-group textarea{ resize: none; min-height: 90px; }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus{ border-color: var(--ink); background: var(--bg-panel); }
  .form-group input::placeholder,
  .form-group textarea::placeholder{ color: var(--ink-dim); }

  .form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .submit-btn{
    width: 100%;
    padding: 18px 28px;
    background: var(--ink);
    color: var(--bg);
    border: 1px solid var(--ink);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.1em;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .submit-btn:hover{ background: var(--accent); border-color: var(--accent); }
  .form-note{
    font-size: 12px;
    color: var(--ink-dim);
    margin-top: 14px;
    line-height: 1.5;
  }

  @media(max-width:900px){
    .contact-grid{ grid-template-columns: 1fr; gap: 50px; }
    .contact-form{ padding: 32px 24px; }
    .form-row{ grid-template-columns: 1fr; }
    .contact-info-item{ grid-template-columns: 120px 1fr; }
  }

  /* ====== FOOTER ====== */
  footer{
    background: var(--ink);
    color: var(--bg);
    padding: 80px 0 30px;
  }
  .footer-top{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(247,245,240,0.15);
  }
  .footer-logo{
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.28em;
    margin-bottom: 20px;
    position: relative;
    padding-left: 14px;
  }
  .footer-logo::before{
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 20px;
    background: var(--accent);
  }
  .footer-tag{
    color: rgba(247,245,240,0.7);
    max-width: 340px;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .footer-meta{
    font-size: 12px;
    color: rgba(247,245,240,0.5);
    line-height: 1.7;
  }
  .footer-meta b{ color: var(--bg); font-weight: 500; }
  .footer-logo-img{
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
  }
  .footer-col h5{
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 20px;
    font-weight: 600;
  }
  .footer-col ul{ list-style: none; }
  .footer-col li{ margin-bottom: 10px; }
  .footer-col a{
    color: rgba(247,245,240,0.82);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
  }
  .footer-col a:hover{ color: var(--accent-soft); }

  .footer-bottom{
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(247,245,240,0.5);
    letter-spacing: 0.05em;
  }
  .footer-bottom-links{ display: flex; gap: 24px; }
  .footer-bottom-links a{ color: rgba(247,245,240,0.65); text-decoration: none; transition: color .2s; }
  .footer-bottom-links a:hover{ color: var(--bg); }

  @media(max-width:900px){
    footer{ padding: 60px 0 30px; }
    .footer-top{ grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom{ flex-direction: column; gap: 14px; text-align: center; }
  }

  /* ====== LIGHTBOX ====== */
  .lightbox{
    position: fixed;
    inset: 0;
    background: rgba(20,18,14,0.94);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 50px;
    opacity: 0;
    transition: opacity .3s;
  }
  .lightbox.open{ display: flex; opacity: 1; }
  .lightbox img{
    max-width: 90%;
    max-height: 82vh;
    object-fit: contain;
  }
  .lightbox-close{
    position: absolute;
    top: 28px; right: 28px;
    background: transparent;
    border: 1px solid rgba(247,245,240,0.4);
    color: var(--bg);
    width: 48px; height: 48px;
    font-size: 22px;
    transition: all .2s;
    cursor: pointer;
  }
  .lightbox-close:hover{ background: var(--bg); color: var(--ink); border-color: var(--bg); }
  .lightbox-caption{
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--bg);
  }
  .lightbox-caption span{
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-soft);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .lightbox-caption strong{
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
  }
  .lightbox-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(247,245,240,0.08);
    border: 1px solid rgba(247,245,240,0.25);
    color: var(--bg);
    width: 52px; height: 52px;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s;
    z-index: 10001;
    border-radius: 50%;
    padding: 0;
    line-height: 1;
    font-family: system-ui, -apple-system, sans-serif;
  }
  .lightbox-arrow:hover{
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
  }
  .lightbox-prev{ left: 24px; }
  .lightbox-next{ right: 24px; }

  /* ====== REVEAL ====== */
  .reveal{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1);
  }
  .reveal.in{ opacity: 1; transform: translateY(0); }

  /* Extra responsive for technology & services grids */
  @media(max-width:900px){
    .services-grid{ grid-template-columns: 1fr !important; }
    .lightbox-arrow{ width: 42px; height: 42px; font-size: 18px; }
    .lightbox-prev{ left: 10px; }
    .lightbox-next{ right: 10px; }
  }
  @media(max-width:1100px){
    .hero-title{ font-size: clamp(32px, 4.5vw, 56px); }
  }


/* ====== PARTNERS MARQUEE ====== */
.partners-track{
  overflow: hidden;
  width: 100%;
  position: relative;
}
.partners-list{
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: partners-scroll 30s linear infinite;
}
.partners-list:hover{
  animation-play-state: paused;
}
.partner-logo{
  flex: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  filter: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.partner-logo:hover{
  opacity: 1;
  filter: grayscale(0%);
}
.partner-logo img{
  max-height: 100%;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}
@keyframes partners-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
@keyframes cred-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

@media(max-width:768px){
  .partners-list{ gap: 40px; }
  .partner-logo{ height: 44px; }
  .partner-logo img{ max-width: 100px; }
}

  /* === PARTNERS ARROWS (v2) === */
  .partners-section{ position:relative; }
  .partners-section .cred-logos-track{
    overflow-x:auto;
    scroll-behavior:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
    padding: 0 56px; /* leave room for arrows */
  }
  .partners-section .cred-logos-track::-webkit-scrollbar{ display:none; }
  .partners-section .cred-logos{ animation:none !important; }
  .partners-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:36px; height:36px;
    border-radius:50%;
    background: var(--bg-panel, #ffffff);
    border:1px solid var(--rule, #d9d3c3);
    color: var(--ink, #14120e);
    cursor:pointer;
    z-index:5;
    display:grid;
    place-items:center;
    box-shadow: 0 2px 8px rgba(20,18,14,0.08);
    transition: background .2s, color .2s, border-color .2s;
  }
  .partners-arrow:hover{
    background: var(--accent, #30609a);
    color:#fff;
    border-color: transparent;
  }
  .partners-arrow-left{ left:8px; }
  .partners-arrow-right{ right:8px; }
  @media(max-width:600px){
    .partners-section .cred-logos-track{ padding: 0 44px; }
    .partners-arrow{ width:32px; height:32px; }
    .partners-arrow-left{ left:4px; }
    .partners-arrow-right{ right:4px; }
  }


/* === HERO EXPRESS CHIP === */
.hero-express{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px 14px;
  margin:14px 0 18px;
  border-left:3px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size:13px;
  line-height:1.55;
  color:#ffffff;
  font-weight:500;
  border-radius:0 6px 6px 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.hero-express-icon{
  flex:0 0 20px;
  color:#ffffff;
  margin-top:2px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
@media (max-width: 768px){
  .hero-express{
    font-size:12px;
    padding:10px 12px;
    margin:12px 0 14px;
  }
}

