:root{
    --paper: #F5F9FB;
    --paper-2: #E7F3FA;
    --ink: #142230;
    --navy: #1B374D;
    --navy-deep: #0F2130;
    --ink-soft: #4E6376;
    --sky: #01B8FC;
    --sky-deep: #0290C9;
    --sky-tint: #E7F3FA;
    --slate: #7C93A3;
    --line: rgba(27,55,77,0.14);
    --line-strong: rgba(27,55,77,0.26);
    --radius: 10px;
    --display: 'Poppins', 'Noto Sans Khmer', sans-serif;
    --body: 'Inter', 'Noto Sans Khmer', sans-serif;
    --mono: 'IBM Plex Mono', monospace;
}

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--paper);
    color:var(--ink);
    font-family:var(--body);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  a{color:inherit; text-decoration:none;}
  ul, ol{list-style:none;}
  img{max-width:100%; display:block;}

  .label{
    font-family:var(--mono);
    font-size:11px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--sky);
  }

  h1,h2,h3,h4{
    font-family:var(--display);
    font-weight:600;
    letter-spacing:-0.01em;
    color:var(--ink);
  }

  /* ---------- Layout scaffolding ---------- */
  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
  }
  @media (max-width: 640px){ .wrap{ padding:0 20px; } }

  /* Blueprint grid background used behind hero + section dividers */
  .grid-bg{
    position:absolute;
    inset:0;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size:64px 64px;
    pointer-events:none;
  }

  /* ---------- Header / Nav ---------- */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    background:var(--navy-deep);
    backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:76px;
  }
  header .wrap{
    max-width:none;
    padding:0 28px;
  }
  @media (max-width: 640px){ header .wrap{ padding:0 20px; } }
  .logo{
    font-family:var(--display);
    font-weight:700;
    font-size:19px;
    letter-spacing:-0.02em;
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
  }
  .logo img{ height:32px; width:auto; display:block; transition:transform .25s ease; }
  .logo:hover img{ transform:scale(1.35); }
  .logo span{
    color:var(--sky);
  }
  .nav-actions{
    display:flex;
    align-items:center;
    gap:16px;
  }
  nav ul{
    display:flex;
    gap:2px;
  }
  nav a{
    font-family:var(--mono);
    font-size:15px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:rgba(245,249,251,0.7);
    padding:10px 18px;
    border-radius:6px;
    transition:color .2s ease, background .2s ease;
    cursor:pointer;
  }
  nav a:hover{ color:#fff; background:rgba(255,255,255,0.08); }
  .home-page nav a{ font-size:19px; }
  nav a.active{ color:var(--sky); font-weight:600; }
  nav a:focus-visible, .cta:focus-visible, .icon-btn:focus-visible{
    outline:2px solid var(--sky);
    outline-offset:2px;
  }

  .cta{
    font-family:var(--mono);
    font-size:12px;
    letter-spacing:0.06em;
    text-transform:uppercase;
    background:var(--sky);
    color:var(--navy-deep);
    font-weight:600;
    padding:11px 20px;
    border:1px solid var(--sky);
    border-radius:var(--radius);
    display:inline-block;
    transition:background .2s ease, color .2s ease, transform .15s ease;
    cursor:pointer;
  }
  .cta:hover{ background:#fff; border-color:#fff; transform:translateY(-1px); }
  .cta.ghost{
    background:transparent;
    color:var(--ink);
    border-color:var(--line-strong);
    font-weight:500;
  }
  .cta.ghost:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
  header .cta.ghost{ color:var(--ink); border-color:var(--line-strong); }
  header .cta.ghost:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }

  .icon-btn{
    display:flex;
    width:38px; height:38px;
    align-items:center; justify-content:center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(1,184,252,0.55);
    border-radius:50%;
    color:#fff;
    cursor:pointer;
    transition: background .2s ease, transform .25s cubic-bezier(0.34,1.56,0.64,1), box-shadow .25s ease, border-color .2s ease;
  }
  .icon-btn:hover, .icon-btn:focus-visible{
    background: var(--sky);
    transform: scale(1.22);
    border-color: var(--sky);
    box-shadow: 0 6px 16px rgba(1,184,252,0.45);
  }
  .icon-btn:hover svg, .icon-btn:focus-visible svg{ stroke:#fff; }
  .icon-btn:hover span, .icon-btn:hover span::before, .icon-btn:hover span::after,
  .icon-btn:focus-visible span, .icon-btn:focus-visible span::before, .icon-btn:focus-visible span::after{
    background:#fff;
  }
  .icon-btn span, .icon-btn span::before, .icon-btn span::after{
    display:block; width:14px; height:1.6px; background:#fff; position:relative; transition:all .2s ease;
  }
  .icon-btn span::before, .icon-btn span::after{ content:''; position:absolute; }
  .icon-btn span::before{ top:-3.5px; }
  .icon-btn span::after{ top:3.5px; }

  @media (max-width: 860px){
    nav#primary-nav{ display:none; }
    .header-cta{ display:none; }
  }

  /* ---------- Page ---------- */
  .page{
    padding-top:76px;
    animation:fadeIn .45s ease;
  }
  @keyframes fadeIn{
    from{ opacity:0; transform:translateY(6px); }
    to{ opacity:1; transform:translateY(0); }
  }

  /* ---------- Hero (cyanotype blueprint) ---------- */
  .hero{
    position:relative;
    padding:150px 0 90px;
    overflow:hidden;
    background:
      radial-gradient(ellipse 900px 500px at 78% 12%, rgba(1,184,252,0.22), transparent 60%),
      linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .hero .grid-bg{
    background-image:
      linear-gradient(rgba(1,184,252,0.14) 1px, transparent 1px),
      linear-gradient(90deg, rgba(1,184,252,0.14) 1px, transparent 1px);
  }
  
.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    z-index:1;
}

.hero-bg-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
      linear-gradient(90deg, rgba(15,33,48,0.62) 0%, rgba(15,33,48,0.48) 45%, rgba(15,33,48,0.32) 100%),
      linear-gradient(0deg, rgba(15,33,48,0.3) 0%, rgba(15,33,48,0) 30%);
}
.hero-photo .hero-inner{
    grid-template-columns:1fr;
    min-height:360px;
}
.hero-photo .hero-inner > div{ max-width:640px; }
.hero-inner{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:48px;
    align-items:end;
}
@media (max-width:900px){ .hero-inner{ grid-template-columns:1fr; } }

.hero .label{ color:var(--sky); }

.coord{
    position:absolute;
    font-family:var(--mono);
    font-size:11px;
    color:var(--slate);
}

.hero h1{
    font-size:clamp(40px, 6vw, 68px);
    line-height:1.03;
    margin:18px 0 22px;
    color:#fff;
    text-shadow:0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 em{
    font-style:normal;
    color:var(--sky);
}
.hero p.lead{
    font-size:17px;
    color:rgba(255,255,255,0.85);
    max-width:46ch;
    margin-bottom:32px;
    text-shadow:0 1px 12px rgba(0,0,0,0.3);
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero .cta.ghost{ color:#fff; border-color:var(--sky); }
.hero .cta.ghost:hover{ background:#fff; color:var(--navy-deep); }

  .plan-drawing{
    width:100%;
    height:auto;
    border:1px solid rgba(1,184,252,0.35);
    background:rgba(1,184,252,0.05);
  }
  .plan-drawing path, .plan-drawing rect{
    stroke:var(--sky);
    fill:none;
    stroke-width:1.2;
  }
  .plan-drawing .fill-sand{ fill:rgba(1,184,252,0.14); stroke:none; }
  .plan-drawing .fill-laterite{ fill:var(--sky); stroke:none; opacity:0.9; }
  .plan-drawing text{
    font-family:var(--mono);
    font-size:7px;
    fill:rgba(255,255,255,0.55);
  }
  .draw-line{
    stroke-dasharray:900;
    stroke-dashoffset:900;
    animation:draw 2.2s ease forwards .2s;
  }
  @keyframes draw{ to{ stroke-dashoffset:0; } }

.stat-row{
    display:flex;
    gap:0;
    margin-top:56px;
    border-top:1px solid rgba(255,255,255,0.18);
}
.stat{
    flex:1;
    padding:22px 24px 0;
    border-right:1px solid rgba(255,255,255,0.18);
}
.stat:last-child{ border-right:none; }
.stat .num{
    font-family:var(--display);
    font-size:30px;
    font-weight:600;
    color:#fff;
}
.stat .cap{
    font-family:var(--mono);
    font-size:11px;
    color:rgba(255,255,255,0.7);
    text-transform:uppercase;
    letter-spacing:.06em;
    margin-top:4px;
}
@media (max-width:700px){
    .stat-row{ flex-wrap:wrap; }
    .stat{ flex:1 1 50%; border-right:none; border-bottom:1px solid rgba(255,255,255,0.18); padding-bottom:16px; margin-bottom:6px;}
}

.scroll-indicator{
    position:absolute;
    right:32px;
    bottom:36px;
    z-index:3;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}
.scroll-indicator span{
    font-family:var(--mono);
    font-size:10px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.65);
    writing-mode:vertical-rl;
}
.scroll-indicator i{
    display:block;
    width:1px;
    height:36px;
    background:rgba(255,255,255,0.35);
    font-style:normal;
}
@media (max-width:760px){ .scroll-indicator{ display:none; } }

  /* ---------- Generic section ---------- */
  section.block{
    padding:88px 0;
    border-bottom:1px solid var(--line);
    position:relative;
  }
  .eyebrow{
    display:flex; align-items:center; gap:12px;
    margin-bottom:16px;
  }
  .eyebrow::after{
    content:'';
    flex:1;
    height:1px;
    background:var(--line-strong);
  }
  .section-title{
    font-size:clamp(28px, 4vw, 40px);
    max-width:16ch;
    margin-bottom:18px;
  }
  .section-lead{
    color:var(--ink-soft);
    max-width:60ch;
    font-size:16px;
  }

  /* ---------- Services ---------- */
  .eyebrow.center{ justify-content:center; }
  .eyebrow.center::after{ display:none; }
  .section-title.center{ max-width:none; text-align:center; margin-left:auto; margin-right:auto; }
  .approach-block .section-title{ margin-bottom:48px; }
  .approach-block .eyebrow .label{ font-size:13px; letter-spacing:.14em; }

  .approach-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
  }
  @media (max-width:760px){ .approach-grid{ grid-template-columns:1fr; } }
  .approach-card{
    display:block;
    background:var(--paper);
    border:1px solid var(--line-strong);
    border-radius:var(--radius);
    padding:32px 28px;
    text-align:center;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .approach-card:hover{ transform:translateY(-4px); box-shadow:0 16px 28px -18px rgba(19,35,49,0.3); border-color:var(--sky); }
  .approach-icon{
    width:84px; height:84px;
    margin:0 auto 18px;
    border-radius:50%;
    background:var(--sky-tint);
    display:flex; align-items:center; justify-content:center;
  }
  .approach-icon svg{ width:36px; height:36px; }
  .approach-card h3{ font-size:19px; margin-bottom:8px; }
  .approach-card p{ font-size:14px; color:var(--ink-soft); }
  .card-link-hint{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:14px;
    font-family:var(--mono);
    font-size:10.5px;
    font-weight:600;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--sky-deep);
    background:rgba(255,255,255,0.75);
    border:1px solid rgba(2,144,201,0.3);
    border-radius:999px;
    padding:6px 12px;
    opacity:1;
    transform:none;
    transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .approach-card:hover .card-link-hint, .service-card:hover .card-link-hint{
    background:#fff;
    border-color:var(--sky);
    transform:translateX(2px);
  }
  .card-link-hint.is-coming{
    color:var(--slate);
    background:rgba(255,255,255,0.55);
    border:1px dashed rgba(27,55,77,0.28);
  }
  .service-card:hover .card-link-hint.is-coming{
    background:rgba(255,255,255,0.55);
    border-color:rgba(27,55,77,0.28);
    transform:none;
  }

  /* ---------- What We Do (home) ---------- */
  .whatwedo-grid{
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
    margin-top:40px;
  }
  @media (max-width:900px){ .whatwedo-grid{ grid-template-columns:repeat(2, 1fr); } }
  @media (max-width:520px){ .whatwedo-grid{ grid-template-columns:1fr; } }
  .whatwedo-card{
    text-align:center;
    padding:16px 18px;
  }
  .whatwedo-card .approach-icon{
    width:40px; height:40px;
    margin:0 auto 8px;
    border-radius:var(--radius);
  }
  .whatwedo-card .approach-icon svg{ width:18px; height:18px; }
  .whatwedo-card h3{ font-size:15px; margin-bottom:4px; }
  .whatwedo-card p{ font-size:12.5px; line-height:1.4; }

  /* ---------- Discipline workflow tabs (Services page) ---------- */
  .section-lead{ font-size:15px; color:var(--ink-soft); max-width:60ch; margin-top:-8px; margin-bottom:32px; }

  .discipline-tabs{
    display:flex;
    gap:2px;
    background:var(--line-strong);
    border:1px solid var(--line-strong);
  }
  .discipline-tab{
    flex:1;
    background:var(--paper);
    border:none;
    padding:16px 20px;
    font-family:var(--mono);
    font-size:12px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--ink-soft);
    cursor:pointer;
    transition:background .2s ease, color .2s ease;
  }
  .discipline-tab:hover{ background:var(--paper-2); color:var(--ink); }
  .discipline-tab.active{ background:var(--navy); color:#fff; }
  @media (max-width:700px){ .discipline-tabs{ flex-direction:column; } }

  .workflow-panel{
    display:none;
    border:1px solid var(--line-strong);
    border-top:none;
    padding:40px 36px;
    background:var(--paper);
  }
  .workflow-panel.active{ display:block; }
  .workflow-panel .panel-lead{ font-size:14px; color:var(--ink-soft); max-width:60ch; margin-bottom:28px; }

  .workflow-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }
  @media (max-width:900px){ .workflow-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .workflow-grid{ grid-template-columns:1fr; } }

  .workflow-card{
    display:block;
    background:var(--paper);
    border:1px solid var(--line-strong);
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .workflow-card:hover{ border-color:var(--sky); }
  .workflow-card:hover{ transform:translateY(-4px); box-shadow:0 12px 24px -12px rgba(19,35,49,0.25); }
  .wf-thumb{
    position:relative;
    aspect-ratio:4/3;
    background:var(--paper-2);
    overflow:hidden;
  }
  .wf-thumb img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1s ease;
  }
  .wf-thumb img.is-active{ opacity:1; }
  .workflow-card .wf-tag{
    display:block;
    font-family:var(--mono);
    font-size:10.5px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--sky-deep);
    margin:16px 18px 8px;
  }
  .workflow-card h4{ font-size:16px; margin:0 18px 8px; }
  .workflow-card p{ font-size:13.5px; color:var(--ink-soft); margin:0 18px 18px; }

  /* ---------- Long-form discipline article pages ---------- */
  .article-header{ max-width:74ch; }
  .article-header .label{ margin-bottom:14px; display:block; }
  .article-title{
    font-size:clamp(30px, 4.4vw, 44px);
    margin-bottom:16px;
  }
  .article-meta{
    font-family:var(--mono);
    font-size:12px;
    letter-spacing:.04em;
    color:var(--ink-soft);
    margin-bottom:36px;
  }
  .article-intro p{
    font-size:16px;
    color:var(--ink-soft);
    max-width:74ch;
    margin-bottom:16px;
  }
  .article-photo{
    max-width:74ch;
    margin:40px 0 56px;
    border:1px solid var(--line-strong);
    background:var(--paper-2);
    aspect-ratio:16/9;
    overflow:hidden;
  }
  .article-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

  .article-photo-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
    gap:14px;
    margin-top:8px;
  }
  .article-photo-tile{
    border-radius:12px;
    overflow:hidden;
    aspect-ratio:4/3;
    background:var(--line);
  }
  .article-photo-tile img{ width:100%; height:100%; object-fit:cover; display:block; }

  .article-section{
    max-width:74ch;
    padding:36px 0;
    border-top:1px solid var(--line);
  }
  .article-section:first-of-type{ border-top:none; }
  .article-section .step-tag{
    font-family:var(--mono);
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--sky);
    display:block;
    margin-bottom:10px;
  }
  .article-section h3{ font-size:22px; margin-bottom:14px; }
  .article-section p{ font-size:15px; color:var(--ink-soft); margin-bottom:18px; }

  .article-photo-small{
    width:100%;
    margin:20px 0 24px;
    border:1px solid var(--line-strong);
    background:var(--paper-2);
    aspect-ratio:16/9;
    overflow:hidden;
  }
  .article-photo-small img{ width:100%; height:100%; object-fit:cover; display:block; }

  .article-list li{
    display:flex;
    gap:12px;
    font-size:14.5px;
    color:var(--ink-soft);
    padding:8px 0;
  }
  .article-list li::before{
    content:'';
    flex-shrink:0;
    width:6px; height:6px;
    margin-top:8px;
    background:var(--sky);
    border-radius:50%;
  }

  .article-cta{
    margin-top:56px;
    padding-top:40px;
    border-top:1px solid var(--line-strong);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
  }
  .article-cta p{ font-size:15px; color:var(--ink-soft); margin:0; }

  /* ---------- Article: related projects strip ---------- */
  .article-related{
    margin-top:56px;
    padding-top:40px;
    border-top:1px solid var(--line-strong);
  }
  .article-related h3{ font-size:19px; margin-bottom:20px; }
  .article-related-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
  }
  @media (max-width:700px){ .article-related-grid{ grid-template-columns:1fr; } }
  .article-related-grid .project-card{ display:block; font-size:14px; }
  .article-related-grid .project-info{ padding:14px 16px; }
  .article-related-grid .project-info h4{ font-size:15px; }

  /* ---------- Article: FAQ accordion ---------- */
  .article-faq{
    margin-top:56px;
    padding-top:40px;
    border-top:1px solid var(--line-strong);
    max-width:74ch;
  }
  .article-faq h3{ font-size:19px; margin-bottom:20px; }
  .faq-item{
    border-bottom:1px solid var(--line);
  }
  .faq-item:first-of-type{ border-top:1px solid var(--line); }
  .faq-item summary{
    padding:18px 0;
    font-family:var(--display);
    font-weight:600;
    font-size:15px;
    color:var(--ink);
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
  }
  .faq-item summary::-webkit-details-marker{ display:none; }
  .faq-item summary::after{
    content:'+';
    font-family:var(--mono);
    font-size:18px;
    color:var(--sky);
    flex-shrink:0;
    transition:transform .2s ease;
  }
  .faq-item[open] summary::after{ transform:rotate(45deg); }
  .faq-item p{
    font-size:14px;
    color:var(--ink-soft);
    padding-bottom:20px;
    max-width:66ch;
  }

  /* ---------- Article two-column layout + sidebar ---------- */
  .article-layout{
    display:grid;
    grid-template-columns:1fr 300px;
    gap:56px;
    align-items:start;
  }
  @media (max-width:900px){
    .article-layout{ grid-template-columns:1fr; }
  }

  .article-sidebar{
    position:sticky;
    top:100px;
    display:flex;
    flex-direction:column;
    gap:24px;
  }
  @media (max-width:900px){
    .article-sidebar{ position:static; }
  }

  .sidebar-card{
    background:var(--paper);
    border:1px solid var(--line-strong);
    padding:28px 24px;
  }
  .sidebar-card .label{ display:block; margin-bottom:12px; }
  .sidebar-card h4{ font-size:16.5px; margin-bottom:10px; }
  .sidebar-card p{ font-size:13.5px; color:var(--ink-soft); margin-bottom:18px; }
  .sidebar-card .cta{ width:100%; text-align:center; box-sizing:border-box; }

  .sidebar-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1px;
    background:var(--line-strong);
    border:1px solid var(--line-strong);
  }
  .sidebar-stat{
    background:var(--paper);
    padding:18px 12px;
    text-align:center;
  }
  .sidebar-stat .num{ font-family:var(--display); font-size:21px; font-weight:600; color:var(--navy); }
  .sidebar-stat .cap{ font-family:var(--mono); font-size:9.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; margin-top:4px; }

  .sidebar-links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:14px 0;
    border-bottom:1px solid var(--line);
    font-size:13.5px;
    color:var(--ink);
    transition:color .2s ease;
  }
  .sidebar-links a:first-child{ padding-top:0; }
  .sidebar-links a:last-child{ border-bottom:none; padding-bottom:0; }
  .sidebar-links a:hover{ color:var(--sky-deep); }
  .sidebar-links .arrow{ color:var(--sky); font-family:var(--mono); flex-shrink:0; }

  .service-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    grid-auto-rows:1fr;
    gap:14px;
    margin-top:48px;
  }
  @media (max-width:700px){ .service-grid{ grid-template-columns:1fr; } }
  .service-card{
    position:relative;
    display:block;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--line-strong);
    border-radius:var(--radius);
    padding:12px 12px;
    height:100%;
    box-shadow:0 10px 26px -18px rgba(19,35,49,0.32);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .25s ease;
  }
  .service-card:hover{ transform:translateY(-5px); box-shadow:0 20px 32px -16px rgba(19,35,49,0.35); border-color:var(--sky); }
  .service-card .idx{
    position:absolute;
    top:12px; right:20px;
    font-family:var(--display);
    font-weight:700;
    font-size:22px;
    line-height:1;
    color:var(--sky-tint);
    z-index:0;
    transition:color .25s ease;
  }
  .service-icon{
    position:relative;
    z-index:1;
    width:26px; height:26px;
    border-radius:50%;
    background:var(--sky);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:8px;
    transition:background .25s ease, transform .25s ease;
  }
  .service-icon svg{ width:13px; height:13px; stroke:#fff !important; }
  .service-card h3{
    position:relative;
    z-index:1;
    font-size:16px;
    margin-bottom:6px;
  }
  .service-card p{
    position:relative;
    z-index:1;
    color:var(--ink-soft);
    font-size:13px;
    max-width:42ch;
  }
  .service-card .idx{ opacity:.55; }
  .service-card:nth-child(1) .idx{ color:#3D9BE0; }
  .service-card:nth-child(2) .idx{ color:#E39B32; }
  .service-card:nth-child(3) .idx{ color:#34B096; }
  .service-card:nth-child(4) .idx{ color:#9370DB; }
  .service-card:nth-child(5) .idx{ color:#718BA0; }
  .service-card:nth-child(6) .idx{ color:#D6B13F; }

  /* Per-service color themes: background + outline by title */
  .service-card:nth-child(1){ background:#E9F4FE; border-color:#3D9BE0; } /* Architectural Design */
  .service-card:nth-child(2){ background:#FDF2E2; border-color:#E39B32; } /* Construction Management */
  .service-card:nth-child(3){ background:#E5F6F1; border-color:#34B096; } /* Interior & Exterior */
  .service-card:nth-child(4){ background:#F1EAFB; border-color:#9370DB; } /* Renovation & Restoration */
  .service-card:nth-child(5){ background:#EDF1F6; border-color:#718BA0; } /* Permitting & Documentation */
  .service-card:nth-child(6){ background:#FBF5E2; border-color:#D6B13F; } /* Cost Estimation */

  /* CTA strip under the service cards */
  .services-cta{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:28px;
    padding:22px 26px;
    background:var(--sky-tint);
    border:1px solid var(--line);
    border-radius:var(--radius);
  }
  .services-cta-icon{
    flex:0 0 auto;
    width:48px; height:48px;
    border-radius:50%;
    background:#fff;
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
  }
  .services-cta-icon svg{ width:26px; height:26px; }
  .services-cta-text h3{ font-size:17px; margin-bottom:4px; }
  .services-cta-text p{ font-size:13.5px; color:var(--ink-soft); max-width:56ch; }
  .services-cta .cta{ margin-left:auto; flex:0 0 auto; }
  @media (max-width:640px){
    .services-cta{ flex-wrap:wrap; }
    .services-cta .cta{ margin-left:0; }
  }

  /* Bold dark hover for the 3 services with a full process page */
  a.service-card:hover{
    background:var(--navy);
    border-color:var(--navy);
  }
  a.service-card:hover .idx{ color:rgba(255,255,255,0.1); }
  a.service-card:hover h3{ color:#fff; }
  a.service-card:hover p{ color:rgba(247,245,241,0.75); }
  a.service-card:hover .service-icon{ background:var(--sky); transform:scale(1.08); }
  a.service-card:hover .card-link-hint{ color:var(--sky); }

  /* ---------- Projects grid ---------- */
  .project-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
    margin-top:48px;
  }
  @media (max-width:900px){ .project-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:600px){ .project-grid{ grid-template-columns:1fr; } }

  .view-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:36px;
  }
  .view-more-btn{
    font-family:var(--mono);
    font-size:13px;
    letter-spacing:.08em;
    color:var(--ink);
    background:transparent;
    border:1px solid var(--line, rgba(20,33,48,.22));
    border-radius:99px;
    padding:14px 34px;
    cursor:pointer;
    transition:transform .25s ease, border-color .25s ease, color .25s ease;
  }
  .view-more-btn:hover{
    transform:translateY(-2px);
    border-color:var(--sky);
    color:var(--sky);
  }

  .project-card{
    border:1px solid var(--line-strong);
    background:var(--paper);
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .project-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 24px -12px rgba(32,30,27,0.25);
  }
  .project-thumb{
    aspect-ratio:4/3;
    background:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size:16px 16px;
    background-color:var(--paper-2);
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    border-bottom:1px solid var(--line-strong);
  }
  .project-thumb svg{ width:52%; opacity:0.75; }
  .project-thumb img{ width:100%; height:100%; object-fit:cover; }
  .project-info{ padding:18px 20px 22px; }
  .project-info .cap{
    font-family:var(--mono);
    font-size:10.5px;
    color:var(--sky);
    text-transform:uppercase;
    letter-spacing:.06em;
    margin-bottom:6px;
  }
  .project-info h4{ font-size:17px; margin-bottom:4px; }
  .project-info .meta{ font-size:13px; color:var(--ink-soft); }
  .project-link-hint{
    font-family:var(--mono);
    font-size:11px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--sky-deep);
    margin-top:12px;
    display:inline-block;
    opacity:0;
    transform:translateY(4px);
    transition:opacity .2s ease, transform .2s ease;
  }
  .project-card:hover .project-link-hint{ opacity:1; transform:translateY(0); }

  .filter-row{
    display:flex; gap:8px; flex-wrap:wrap; margin-top:36px;
  }
  .filter-btn{
    font-family:var(--mono);
    font-size:11.5px;
    text-transform:uppercase;
    letter-spacing:.05em;
    padding:8px 14px;
    border:1px solid var(--line-strong);
    border-radius:var(--radius);
    cursor:pointer;
    background:transparent;
    color:var(--ink-soft);
    transition:all .15s ease;
  }
  .filter-btn.active, .filter-btn:hover{
    background:var(--ink);
    color:var(--paper);
    border-color:var(--ink);
  }
  .filter-count{ opacity:0.6; margin-left:2px; }

  /* ---------- About ---------- */
  .about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:64px;
    margin-top:48px;
    align-items:start;
  }
  @media (max-width:860px){ .about-grid{ grid-template-columns:1fr; gap:36px;} }
  .value-list li{
    padding:20px 0;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:60px 1fr;
    gap:16px;
  }
  .value-list li:last-child{ border-bottom:1px solid var(--line); }
  .value-list .vnum{ font-family:var(--mono); color:var(--sky); font-size:13px; padding-top:2px;}
  .value-list h4{ font-size:16px; margin-bottom:4px; }
  .value-list p{ color:var(--ink-soft); font-size:14px; }



.team-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    margin-top:40px;
}
@media (max-width:900px){ .team-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:700px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
.team-card .avatar{
    aspect-ratio:1;
    background:var(--paper-2);
    border:1px solid var(--line-strong);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:12px;
    overflow:hidden;
    transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.team-card:hover .avatar{
    border-color:var(--sky);
    transform:translateY(-3px);
    box-shadow:0 12px 22px -14px rgba(19,35,49,0.35);
}
.team-card .avatar svg{ width:38%; opacity:0.5; }
.team-card .avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card h4{ font-size:15px; }
.team-card .role{ font-family:var(--mono); font-size:11px; color:var(--sky-deep); text-transform:uppercase; letter-spacing:.05em; margin-top:2px; }
.team-photo-note{
    margin-top:20px;
    font-size:12.5px;
    color:var(--ink-soft);
    font-style:italic;
}

  /* ---------- Contact ---------- */
  .contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:64px;
    margin-top:48px;
  }
  @media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } }

  .field{ margin-bottom:20px; }
  .field label{
    display:block;
    font-family:var(--mono);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--ink-soft);
    margin-bottom:8px;
  }
  .field input, .field textarea{
    width:100%;
    background:var(--paper);
    border:1px solid var(--line-strong);
    border-radius:var(--radius);
    padding:13px 14px;
    font-family:var(--body);
    font-size:14.5px;
    color:var(--ink);
  }
  .field input:focus, .field textarea:focus{
    outline:none;
    border-color:var(--sky);
  }
  .field textarea{ resize:vertical; min-height:120px; }

  .info-block{ margin-bottom:32px; }
  .info-block .label{ display:block; margin-bottom:10px; }
  .info-block .value{ font-size:17px; font-family:var(--display); }
  .info-block .value.muted{ color:var(--ink-soft); font-family:var(--body); font-size:14.5px; }
  .info-block .value.muted a{ color:var(--ink-soft); }
  .info-block .value.muted a:hover{ color:var(--sky-deep); }

  .contact-team-list{ display:flex; flex-direction:column; gap:14px; }
  .contact-team-list li{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:baseline;
    padding-bottom:10px;
    border-bottom:1px solid var(--line);
  }
  .contact-team-list .ct-name{ font-family:var(--body); font-weight:600; font-size:14.5px; grid-column:1; }
  .contact-team-list .ct-role{ font-family:var(--mono); font-size:10.5px; color:var(--sky-deep); text-transform:uppercase; letter-spacing:.05em; grid-column:1; grid-row:2; }
  .contact-team-list a{ font-family:var(--body); font-size:14px; color:var(--ink-soft); grid-column:2; grid-row:1 / span 2; align-self:center; }
  .contact-team-list a:hover{ color:var(--sky-deep); }

  .social-icon.dark{ color:var(--ink-soft); border-color:var(--line-strong); }
  .social-icon.dark:hover{ background:var(--sky); border-color:var(--sky); color:#fff; }

  .form-note{
    font-size:12.5px;
    color:var(--ink-soft);
    margin-top:6px;
  }

  /* ---------- Footer ---------- */
  footer{
    padding:64px 0 32px;
    background:var(--navy-deep);
    color:var(--paper);
  }
  .foot-grid{
    display:grid;
    grid-template-columns:1.4fr 0.8fr 1.2fr 1fr;
    gap:32px;
  }
  @media (max-width:900px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }

  footer .foot-col .label{ color:var(--sky); display:block; margin-bottom:16px; }
  footer .logo{ color:#fff; margin-bottom:12px; }
  footer .foot-tagline{ font-size:13.5px; color:rgba(247,245,241,0.6); max-width:28ch; margin-bottom:20px; }

  .social-row{ display:flex; gap:10px; }
  .social-icon{
    width:42px; height:42px;
    display:flex; align-items:center; justify-content:center;
    border:1px solid rgba(255,255,255,0.18);
    border-radius:var(--radius);
    background:rgba(255,255,255,0.04);
    color:rgba(247,245,241,0.8);
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  }
  .social-icon svg{ width:18px; height:18px; transition:transform .25s ease; }
  .social-icon:hover svg{ transform:scale(1.35); }
  .social-icon:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 20px -10px rgba(0,0,0,0.45);
  }
  .social-icon[aria-label="Telegram"]:hover{ background:#26A5E4; border-color:#26A5E4; color:#fff; }
  .social-icon[aria-label="YouTube"]:hover{ background:#FF0000; border-color:#FF0000; color:#fff; }
  .social-icon[aria-label="Facebook"]:hover{ background:#1877F2; border-color:#1877F2; color:#fff; }
  .social-icon[aria-label="Email"]:hover{ background:var(--sky); border-color:var(--sky); color:var(--navy-deep); }

  footer .foot-links{ display:flex; flex-direction:column; gap:14px; }
  footer a{ font-family:var(--mono); font-size:12px; color:rgba(247,245,241,0.7); text-transform:uppercase; letter-spacing:.05em; }
  footer a:hover{ color:var(--paper); }

  .foot-contact-list{ display:flex; flex-direction:column; gap:16px; }
  .foot-contact-list li{ display:flex; flex-direction:column; gap:2px; }
  .foot-contact-list .name{ font-family:var(--body); font-size:13.5px; font-weight:600; color:#fff; text-transform:none; letter-spacing:0; }
  .foot-contact-list .role{ font-family:var(--mono); font-size:10.5px; color:var(--sky); text-transform:uppercase; letter-spacing:.06em; }
  .foot-contact-list a{ font-family:var(--body); font-size:13.5px; color:rgba(247,245,241,0.75); text-transform:none; letter-spacing:0; }
  .foot-contact-list a:hover{ color:var(--sky); }

  .foot-email{ display:block; font-family:var(--body) !important; font-size:14px !important; text-transform:none !important; letter-spacing:0 !important; margin-bottom:10px; word-break:break-all; }

  .foot-bottom{
    margin-top:48px;
    padding-top:20px;
    border-top:1px solid rgba(247,245,241,0.14);
    font-family:var(--mono);
    font-size:11px;
    color:rgba(247,245,241,0.5);
  }

  .placeholder-note{
    display:inline-block;
    font-family:var(--mono);
    font-size:10.5px;
    color:var(--sky-deep);
    background:var(--sky-tint);
    padding:3px 8px;
    border-radius:var(--radius);
    margin-left:8px;
    vertical-align:middle;
  }

  /* ---------- Google Translate ---------- */

.lang-switcher{
    position: relative;
    display: inline-block;
}
.lang-trigger{
    position: relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(1,184,252,0.55);
    color:#fff;
    cursor:pointer;
    transition: background 0.2s, transform .25s cubic-bezier(0.34,1.56,0.64,1), box-shadow .25s ease, border-color .2s ease;
}
.current-flag{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform .25s cubic-bezier(0.34,1.56,0.64,1), box-shadow .25s ease;
}


.lang-trigger:hover, .lang-trigger:focus-visible{
    background: var(--sky);
    border-color: var(--sky);
    transform: scale(1.22);
    box-shadow: 0 6px 16px rgba(1,184,252,0.45);
}
.lang-trigger:hover svg, .lang-trigger:focus-visible svg{ stroke:#fff; }
.lang-trigger:hover .current-flag, .lang-trigger:focus-visible .current-flag{
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #fff;
}
.lang-dropdown{
    display:none;
    position:absolute;
    top:48px;
    right:0;
    background:#15181d;
    border:1px solid rgba(255,255,255,0.1);
    border-radius:10px;
    min-width:170px;
    padding:6px;
    box-shadow:0 12px 28px rgba(0,0,0,0.4);
    z-index:100;
}
.lang-dropdown.open{ display:block; }
.lang-option{
    display:flex;
    align-items:center;
    gap:10px;
    width:100%;
    padding:9px 10px;
    background:none;
    border:none;
    color:#e5e7eb;
    font-size:14px;
    text-align:left;
    border-radius:6px;
    cursor:pointer;
}
.lang-option:hover{
    background: rgba(255,255,255,0.06);
}

.lang-option .flag{
    width:20px;
    height:15px;
    object-fit:cover;
    border-radius:2px;
}

/* ---------- Mobile slide-out panel ---------- */
.mobile-panel-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,33,48,0.5);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:998;
}
.mobile-panel-overlay.open{ opacity:1; pointer-events:auto; }

.mobile-panel{
  position:fixed;
  top:0; right:0;
  height:100vh;
  width:320px;
  max-width:88vw;
  background:var(--paper);
  border-radius:0;
  box-shadow:-16px 0 40px rgba(15,33,48,0.22);
  z-index:999;
  padding:22px 24px 24px;
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  opacity:1;
  pointer-events:none;
  transition:transform .28s ease;
  overflow-y:auto;
}
.mobile-panel.open{ transform:translateX(0); pointer-events:auto; }

.mobile-panel-close{
  align-self:flex-end;
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid var(--line-strong);
  background:none;
  color:var(--ink);
  font-size:13px;
  cursor:pointer;
  margin-bottom:16px;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.mobile-panel-close:hover{ background:var(--sky); border-color:var(--sky); color:#fff; }

.mobile-panel-brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--display); font-weight:700; font-size:18px;
  color:var(--ink); margin-bottom:20px;
}
.mobile-panel-brand img{ height:30px; width:auto; }

.mobile-panel-nav{ display:flex; flex-direction:column; margin-bottom:16px; }
.mobile-panel-nav a{
  font-family:var(--mono); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink-soft); padding:11px 2px; border-bottom:1px solid var(--line);
  transition:color .2s ease;
}
.mobile-panel-nav a:hover, .mobile-panel-nav a.active{ color:var(--sky-deep); }

.mobile-panel-divider{ height:1px; background:var(--line); margin:2px 0 20px; }

.mobile-panel-info{ display:flex; flex-direction:column; gap:16px; margin-bottom:22px; }
.mp-info-block .label{ display:block; margin-bottom:4px; }
.mp-info-block p{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; }
.mp-info-block a{ color:var(--ink-soft); }
.mp-info-block a:hover{ color:var(--sky-deep); }

.mobile-panel-social{ display:flex; gap:9px; margin-bottom:26px; }
.mobile-panel-social .social-icon{
  border-color:var(--line-strong);
  color:var(--ink-soft);
  background:transparent;
}
.mobile-panel-social .social-icon:hover{ color:#fff; }

.mobile-panel-cta{ margin-top:auto; text-align:center; }

.mobile-panel-cta-row{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:10px;
}
.mobile-panel-cta-row .mobile-panel-cta{ flex:1; }
.mp-chat-btn{
  position:relative;
  flex-shrink:0;
  width:42px; height:42px;
  border-radius:11px;
  border:1px solid rgba(1,184,252,0.5);
  padding:0;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow:0 0 0 1px rgba(1,184,252,0.15), 0 0 14px -3px rgba(1,184,252,0.55);
  transition:filter .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mp-chat-btn::before{
  content:'';
  position:absolute;
  inset:-4px;
  border-radius:14px;
  border:1.5px solid rgba(1,184,252,0.45);
  animation:mpChatPulse 2.2s ease-out infinite;
  pointer-events:none;
}
@keyframes mpChatPulse{
  0%{ transform:scale(0.92); opacity:.9; }
  75%{ transform:scale(1.18); opacity:0; }
  100%{ transform:scale(1.18); opacity:0; }
}
.mp-chat-btn:hover{ transform:translateY(-1px); box-shadow:0 0 0 1px rgba(1,184,252,0.3), 0 0 20px -2px rgba(1,184,252,0.75); }

@media (max-width:480px){
  .mobile-panel{ width:75vw; max-width:75vw; }
}

body.panel-open{ overflow:hidden; }

.skiptranslate {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}
body {
  top: 0px !important;
  position: static !important;
}

/* ---- Project Lightbox ---- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.active { display: flex; }

.lightbox-box {
  background: #fff;
  max-width: 1240px;
  width: 96vw;
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.35);
}
.lightbox-img-wrap {
  background: #0b0f14;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 62vh;
  min-width: 0;
}
.lightbox-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.room-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: #1E293B;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  max-width: calc(100% - 40px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox-details {
  padding: 44px 40px 36px;
  color: #111827;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-width: 0;
}
.lightbox-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563EB;
  font-weight: 700;
}
.lightbox-title {
  font-size: 30px;
  font-weight: 800;
  margin: 12px 0 6px;
  color: #111827;
  line-height: 1.15;
}
.lightbox-loc {
  font-size: 15px;
  color: #475569;
  margin-bottom: 24px;
}
.thumb-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: thin;
  min-width: 0;
}
.thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #E5E7EB;
  opacity: 0.75;
  background: #f1f5f9;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 1; }
.thumb.active { opacity: 1; border-color: #2563EB; }
.lightbox-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: #4B5563;
  margin-bottom: 26px;
}
.lightbox-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  border-top: 1px solid #EEF0F3;
  padding-top: 22px;
  margin-top: auto;
}
.spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  margin-bottom: 4px;
}
.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #E5E7EB;
  color: #374151;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lightbox-close:hover { background: #F1F5F9; color: #111827; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: #1E293B;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(2, 8, 20, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lightbox-nav:hover { background: #F8FAFC; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (max-width: 860px) {
  .lightbox-box { grid-template-columns: 1fr; overflow-y: auto; max-height: 94vh; }
  .lightbox-img-wrap { min-height: 0; }
  .lightbox-img-wrap img { height: 44vh; }
  .lightbox-details { padding: 28px 22px 24px; }
}

/* ---------- Home: dark section variant (Approach / Gallery) ---------- */
.dark-block{
  background:var(--navy-deep);
  color:#fff;
}
.dark-block .section-title{ color:#fff; }
.dark-block .section-lead{ color:rgba(255,255,255,0.68); }
.dark-block .eyebrow::after{ background:rgba(255,255,255,0.16); }

.dark-block .approach-card{
  background:rgba(255,255,255,0.03);
  border-color:rgba(255,255,255,0.12);
}
.dark-block .approach-card:hover{
  border-color:var(--sky);
  box-shadow:0 16px 30px -18px rgba(0,0,0,0.55);
}
.dark-block .approach-icon{ background:rgba(1,184,252,0.14); }
.dark-block .approach-card h3{ color:#fff; }
.dark-block .approach-card p{ color:rgba(255,255,255,0.62); }

/* Gallery grid on dark background */
.dark-block .filter-row{ justify-content:center; margin-top:28px; }
.dark-block .filter-btn{
  border-color:rgba(255,255,255,0.2);
  color:rgba(255,255,255,0.65);
}
.dark-block .filter-btn.active, .dark-block .filter-btn:hover{
  background:var(--sky);
  color:var(--navy-deep);
  border-color:var(--sky);
}

.dark-block .project-card{
  background:rgba(255,255,255,0.03);
  border-color:rgba(255,255,255,0.12);
}
.dark-block .project-card:hover{
  box-shadow:0 18px 32px -18px rgba(0,0,0,0.6);
}
.dark-block .project-thumb{
  background-image:none;
  background-color:rgba(255,255,255,0.04);
  border-bottom-color:rgba(255,255,255,0.12);
}
.dark-block .project-info h4{ color:#fff; }
.dark-block .project-info .cap{ color:var(--sky); }
.dark-block .project-info .meta{ color:rgba(255,255,255,0.55); }

.dark-block .cta.ghost{ color:#fff; border-color:rgba(255,255,255,0.3); }
.dark-block .cta.ghost:hover{ background:#fff; color:var(--navy-deep); }

/* ---------- Icon stats bar ---------- */
.stats-icons-block{
  background:#fff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:40px 0;
}
.stats-icons-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
  position:relative;
}
.stats-icons-grid .stat-icon-card:not(:last-child)::after{
  content:'';
  position:absolute;
  top:50%; right:0;
  transform:translateY(-50%);
  width:1px; height:36px;
  background:var(--line);
}
.stats-icons-grid .stat-icon-card{ position:relative; }
@media (max-width:760px){
  .stats-icons-grid{ grid-template-columns:repeat(2, 1fr); gap:32px 24px; }
  .stats-icons-grid .stat-icon-card::after{ display:none; }
}
.stat-icon-card{ display:flex; align-items:center; gap:14px; }
.stat-icon-card .icon-wrap{
  width:48px; height:48px;
  border-radius:50%;
  background:var(--sky-tint);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.stat-icon-card .icon-wrap svg{ width:22px; height:22px; stroke:var(--sky-deep); }
.stat-icon-card .num{
  font-family:var(--display);
  font-weight:700;
  font-size:26px;
  color:var(--ink);
  line-height:1;
}
.stat-icon-card .cap{
  font-family:var(--mono);
  font-size:10.5px;
  color:var(--ink-soft);
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-top:4px;
}

/* ---------- Closing CTA banner (photo background) ---------- */
.cta-banner{
  position:relative;
  padding:96px 0;
  overflow:hidden;
}
.cta-banner .wrap{
  position:relative;
  z-index:2;
  max-width:560px;
}
.cta-banner h2{
  font-size:clamp(28px, 4vw, 40px);
  color:#fff;
  margin-bottom:14px;
  text-shadow:0 2px 20px rgba(0,0,0,0.3);
}
.cta-banner p{
  font-size:16px;
  color:rgba(255,255,255,0.85);
  max-width:44ch;
  margin-bottom:28px;
  text-shadow:0 1px 12px rgba(0,0,0,0.3);
}

/* ---------- Top hero carousel (Long Ton-style peek carousel) ---------- */
.hero-carousel{
  position:relative;
  padding-top:76px;
  background:#000;
  overflow:hidden;
}
.hero-ambient-bg{
  position:absolute; inset:-40px; z-index:0;
  background-size:cover; background-position:center;
  filter:blur(8px) saturate(140%) brightness(0.55);
  transform:scale(1.18);
  transition:background-image 0.6s ease;
}
.hero-stage{
  position:relative; z-index:1; overflow:visible;
  height:300px;
  background:transparent;
}
.hero-track-clip{
  position:relative; overflow:hidden;
  height:100%;
}
.hero-track{
  display:flex; align-items:stretch; gap:10px;
  height:100%;
  will-change:transform;
}
.peek{
  position:relative; overflow:hidden; cursor:pointer;
  flex:0 0 auto;
  height:100%;
}
.peek img{
  width:100%; height:100%; object-fit:cover;
  transition:opacity 0.5s ease, filter 0.5s ease;
  filter:brightness(0.6);
}
.peek.focused{ visibility:visible; }
.hero-focus-card{
  position:absolute; top:50%; left:0;
  height:calc(100% + 56px);
  transform:translateY(-50%);
  border-radius:20px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  z-index:5;
  opacity:0;
  transition:opacity 0.35s ease, left 0.35s ease, width 0.35s ease;
}
.hero-focus-card.is-visible{ opacity:1; }
.hero-focus-card img{
  width:100%; height:100%; object-fit:cover;
  filter:brightness(0.96);
}
.peek-view-dot{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) scale(.75);
  width:36px; height:36px; border-radius:50%;
  background:rgba(11,20,32,0.35);
  border:1px solid rgba(255,255,255,0.5);
  backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center;
  opacity:0;
  transition:all 0.3s ease;
  pointer-events:none;
}
.hero-focus-card .peek-view-dot{ opacity:1; transform:translate(-50%,-50%) scale(1); width:44px; height:44px; }
.hero-focus-card:hover .peek-view-dot{ transform:translate(-50%,-50%) scale(1.08); }
.peek-view-dot svg{ width:16px; height:16px; stroke:#fff; }

.hero-info{
  position:relative; z-index:2;
  padding:18px 0;
}
.hero-row{
  display:flex; align-items:center; gap:20px;
}
.hero-center{
  flex:1; min-width:0;
  display:flex; flex-direction:column; align-items:flex-start;
}
.hero-caption{ max-width:600px; }
.hero-caption .showcase-tag{
  font-family:var(--mono);
  font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--sky);
}
.hero-caption h3{
  font-family:var(--display);
  font-size:18px; font-weight:600;
  color:#fff;
  margin:5px 0 4px;
  text-shadow:0 1px 10px rgba(0,0,0,.4);
}
.hero-caption p{
  font-size:13px;
  color:rgba(255,255,255,0.7);
  max-width:64ch;
  line-height:1.5;
  text-shadow:0 1px 10px rgba(0,0,0,.4);
}
.hero-arrow{
  flex-shrink:0;
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  background:transparent;
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:all .2s ease;
}
.hero-arrow svg{ width:16px; height:16px; }
.hero-arrow:hover{ background:rgba(255,255,255,0.12); border-color:#fff; }
.hero-dots{ display:flex; align-items:center; gap:6px; flex-shrink:0; }
.hero-dot{
  width:6px; height:6px; border-radius:50%;
  background:rgba(255,255,255,0.3);
  border:0; padding:0; cursor:pointer;
  transition:all .2s ease;
}
.hero-dot.is-active{ background:var(--sky); width:20px; border-radius:3px; }

@media (max-width:900px){
  .hero-stage{ height:240px; }
  .hero-focus-card{ height:calc(100% + 36px); border-radius:16px; }
  .hero-row{ flex-wrap:wrap; row-gap:10px; }
  .hero-dots{ order:3; width:100%; justify-content:center; }
}
@media (max-width:640px){
  .hero-stage{ height:200px; }
  .hero-focus-card{ height:calc(100% + 24px); border-radius:14px; }
  .hero-caption p{ white-space:normal; }
}


/* ---------- Split hero (light, photo inset right) ---------- */
.hero-split{
  padding:56px 0 64px;
  background:#fff;
  overflow:hidden;
}
.hero-split-inner{
  display:grid;
  grid-template-columns:0.95fr 1.05fr auto;
  gap:40px;
  align-items:center;
}
@media (max-width:1100px){ .hero-split-inner{ grid-template-columns:0.95fr 1.05fr; } }
@media (max-width:900px){ .hero-split-inner{ grid-template-columns:1fr; } }
.hero-split h1{
  font-size:clamp(38px, 5.4vw, 60px);
  line-height:1.04;
  margin:16px 0 20px;
  color:var(--ink);
}
.hero-split h1 em{
  font-style:normal;
  color:var(--sky);
}
.hero-split p.lead{
  font-size:16px;
  color:var(--ink-soft);
  max-width:46ch;
  margin-bottom:28px;
}

/* Feature list (replaces trust-row) */
.feature-list{
  display:flex;
  flex-direction:column;
  gap:22px;
  margin-bottom:32px;
}
.feature-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.feature-item .feature-icon{
  flex-shrink:0;
  width:44px; height:44px;
  border-radius:12px;
  background:var(--sky-tint);
  display:flex; align-items:center; justify-content:center;
}
.feature-item .feature-icon svg{ width:24px; height:24px; }
.feature-item h3{
  font-family:var(--display);
  font-size:15px;
  font-weight:600;
  margin:0 0 4px;
  color:var(--ink);
}
.feature-item p{
  font-size:13.5px;
  color:var(--ink-soft);
  line-height:1.5;
  margin:0;
  max-width:44ch;
}

/* Overlapping media composition */
.hero-split-media{
  position:relative;
}
.hsm-main{
  position:relative;
  z-index:1;
  border-radius:20px;
  overflow:hidden;
  aspect-ratio:4/4.2;
  background:#EEF2F5;
}
.hsm-overlap{
  position:absolute;
  z-index:2;
  left:-8%; bottom:-9%;
  width:44%;
  aspect-ratio:1/1;
  border-radius:16px;
  overflow:hidden;
  border:5px solid #fff;
  box-shadow:0 20px 40px -14px rgba(20,34,48,0.35);
}
.hsm-main img, .hsm-overlap img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.4s ease;
}
.hsm-main img.is-active, .hsm-overlap img.is-active{ opacity:1; }
.hsm-compass{
  position:absolute;
  top:-80px; left:-80px;
  width:160px;
  height:auto;
  z-index:3;
  opacity:0.25;
}
/* Hero split: push the whole text column down 5 lines */
.hero-split-content{ margin-top:120px; }
@media (max-width:900px){
  .hero-split-content{ margin-top:0; }
  .hero-split-media{ margin-top:44px; }
  .hsm-main{ aspect-ratio:16/11; }
  .hsm-compass{ display:none; }
}

/* Decorative vertical word on the far edge */
.hero-split-vertical{
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  margin-left:-46px;
  margin-top:-56px;
}
.uds-rot-box{
  position:relative;
  width:78px;
  height:530px;
  flex-shrink:0;
}
.uds-outline-svg{
  position:absolute;
  top:50%; left:50%;
  width:530px; height:78px;
  transform:translate(-50%,-50%) rotate(-90deg);
  transform-origin:center;
  overflow:visible;
}
.uds-outline-svg text{
  font-family:var(--display);
  font-weight:800;
}
@media (max-width:1100px){ .hero-split-vertical{ display:none; } }


.trust-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:32px;
}
.avatar-stack{ display:flex; }
.avatar-stack img{
  width:36px; height:36px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #fff;
  box-shadow:0 0 0 1px var(--line);
  margin-left:-10px;
}
.avatar-stack img:first-child{ margin-left:0; }
.trust-row p{
  font-size:13px;
  color:var(--ink-soft);
  line-height:1.35;
}

/* ---------- Split closing CTA (light, photo inset right) ---------- */
.cta-split{
  padding:88px 0;
  background:#fff;
  border-top:1px solid var(--line);
}
.cta-split-inner{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:48px;
  align-items:center;
}
@media (max-width:860px){ .cta-split-inner{ grid-template-columns:1fr; } }
.cta-split h2{
  font-size:clamp(28px, 4vw, 38px);
  color:var(--ink);
  margin-bottom:14px;
  position:relative;
  padding-top:14px;
}
.cta-split h2::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:44px; height:3px;
  background:var(--sky);
}
.cta-split p{
  font-size:15.5px;
  color:var(--ink-soft);
  max-width:44ch;
  margin-bottom:26px;
}
.cta-split-media{
  border-radius:20px;
  overflow:hidden;
  aspect-ratio:16/9.5;
}
.cta-split-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 1.2s ease; }
.cta-split-media img.is-active{ opacity:1; }

/* ---------- Footer (dark navy) ---------- */
footer.light-footer{
  background:var(--navy-deep);
  color:var(--paper);
  border-top:1px solid rgba(255,255,255,0.08);
  padding:64px 0 24px;
}
.foot-grid-new{
  display:grid;
  grid-template-columns:1.3fr 0.8fr 0.9fr 0.9fr 1.1fr;
  gap:32px;
}
@media (max-width:960px){ .foot-grid-new{ grid-template-columns:1fr 1fr 1fr; } }
@media (max-width:640px){ .foot-grid-new{ grid-template-columns:1fr 1fr; } }
.light-footer .foot-col .label{ color:var(--sky); display:block; margin-bottom:16px; }
.light-footer .logo{ color:#fff; margin-bottom:12px; }
.light-footer .foot-tagline{ font-size:13.5px; color:rgba(245,249,251,0.6); max-width:30ch; margin-bottom:20px; }
.light-footer .foot-links{ display:flex; flex-direction:column; gap:12px; }
.light-footer a{ font-family:var(--body); font-size:13.5px; color:rgba(245,249,251,0.7); text-transform:none; letter-spacing:0; }
.light-footer a:hover{ color:var(--sky); }
.light-footer .social-icon{
  border-color:rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.04);
  color:rgba(245,249,251,0.8);
}
.foot-talk-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:20px; }
.foot-talk-list li{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:rgba(245,249,251,0.7); }
.foot-talk-list svg{ width:16px; height:16px; stroke:var(--sky); flex-shrink:0; margin-top:1px; }
.foot-talk-list a{ font-size:13.5px; }
.newsletter-form{ display:flex; gap:0; }
.newsletter-form input{
  flex:1;
  font-family:var(--body);
  font-size:13px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,0.18);
  border-right:none;
  border-radius:8px 0 0 8px;
  background:rgba(255,255,255,0.05);
  color:#fff;
}
.newsletter-form input::placeholder{ color:rgba(245,249,251,0.45); }
.newsletter-form input:focus{ outline:none; border-color:var(--sky); }
.newsletter-form button{
  width:44px;
  border:none;
  border-radius:0 8px 8px 0;
  background:var(--sky);
  color:#fff;
  font-size:16px;
  cursor:pointer;
}
.newsletter-form button:hover{ background:var(--sky-deep); }
.light-footer .foot-bottom{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.08);
  font-family:var(--body);
  font-size:12.5px;
  color:rgba(245,249,251,0.5);
  text-align:center;
}

/* ---------- Scroll-to-top button ---------- */
#scrollTopBtn{
  position:fixed;
  right:8px;
  bottom:8px;
  width:58px;
  height:58px;
  border:none;
  background:transparent;
  color:var(--ink);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s;
  z-index:90;
}
#scrollTopBtn.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
#scrollTopBtn:hover{ transform:translateY(-3px) scale(1.06); }
#scrollTopBtn svg{ width:58px; height:58px; display:block; }
#scrollTopBtn svg circle,
#scrollTopBtn svg path{ fill:currentColor; }
@media (max-width:640px){
  #scrollTopBtn{ right:8px; bottom:8px; width:50px; height:50px; }
  #scrollTopBtn svg{ width:50px; height:50px; }
}
/* Header icon buttons â€” smaller, outline-only on phone widths */
@media (max-width: 600px){
  .nav-actions{
    position:fixed;
    top:14px; right:14px;
    flex-direction:row;
    gap:8px;
    background:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border:none;
    border-radius:0;
    padding:0;
    z-index:150;
    box-shadow:none;
  }
  .nav-actions > *{
    border:none;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    border-radius:0;
    box-shadow:none;
  }
  .nav-actions > *:last-child{ border-right:none; }
  .icon-btn, .lang-trigger{
    width:32px !important;
    height:32px !important;
    background:rgba(255,255,255,0.06) !important;
    border:1px solid rgba(1,184,252,0.55) !important;
    border-radius:50%;
    color:#fff;
    transition: transform .25s cubic-bezier(0.34,1.56,0.64,1), background .2s ease, border-color .2s ease;
  }
  .icon-btn:hover, .lang-trigger:hover,
  .icon-btn:active, .lang-trigger:active,
  .icon-btn:focus-visible, .lang-trigger:focus-visible{
    background:rgba(1,184,252,0.25) !important;
    transform: scale(1.3);
  }
  .icon-btn:hover svg, .icon-btn:active svg, .icon-btn:focus-visible svg,
  .lang-trigger:hover svg, .lang-trigger:active svg, .lang-trigger:focus-visible svg{
    stroke: var(--sky);
  }
  .icon-btn:hover span, .icon-btn:hover span::before, .icon-btn:hover span::after,
  .icon-btn:active span, .icon-btn:active span::before, .icon-btn:active span::after,
  .icon-btn:focus-visible span, .icon-btn:focus-visible span::before, .icon-btn:focus-visible span::after{
    background: var(--sky);
  }
  .lang-trigger:hover .current-flag, .lang-trigger:active .current-flag, .lang-trigger:focus-visible .current-flag{
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--sky);
  }
  .icon-btn span, .icon-btn span::before, .icon-btn span::after{
    width:10px; height:1.3px; background:#fff;
  }
  .icon-btn span::before{ top:-2.5px; }
  .icon-btn span::after{ top:2.5px; }
  .current-flag{ width:17px !important; height:17px !important; transition: transform .25s cubic-bezier(0.34,1.56,0.64,1), box-shadow .25s ease; }
  .lang-trigger svg{ width:16px; height:16px; }
}

/* ---------- Gallery page: Photos / Videos ---------- */
.gallery-hero{
  position:relative;
  padding:64px 0 36px;
  min-height:220px;
  display:flex;
  align-items:center;
  background:none;
  text-align:center;
  overflow:hidden;
}
.gallery-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg, rgba(15,33,48,0.82) 0%, rgba(15,33,48,0.55) 42%, rgba(15,33,48,0.88) 100%);
}
.gallery-hero .wrap{ position:relative; z-index:2; width:100%; }
.gallery-hero .eyebrow{ justify-content:center; margin-bottom:16px; }
.gallery-hero .eyebrow::after{ display:none; }
.gallery-hero .eyebrow .label{ color:var(--sky); font-size:14px; letter-spacing:.12em; }
.gallery-hero h1{
  color:var(--ink);
  font-size:clamp(34px, 5.6vw, 56px);
  margin-bottom:16px;
}
.gallery-hero .section-lead{
  color:var(--ink-soft);
  font-size:17px;
  max-width:56ch;
  margin:0 auto 32px;
}
.gallery-toggle{
  display:inline-flex;
  gap:8px;
  padding:6px;
  background:var(--paper-2);
  border:1px solid var(--line-strong);
  border-radius:999px;
}
.gallery-toggle-btn{
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:10px 24px;
  border-radius:999px;
  border:none;
  background:transparent;
  color:var(--ink-soft);
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  transition:background .2s ease, color .2s ease;
}
.gallery-toggle-btn svg{ width:16px; height:16px; }
.gallery-toggle-btn.is-active{
  background:var(--sky);
  color:var(--navy-deep);
  font-weight:600;
}
.gallery-toggle-btn:not(.is-active):hover{ color:var(--ink); }

#panelVideos > .eyebrow{ margin-top:40px; }
#panelVideos > .eyebrow .label{ color:var(--sky); }

/* Videos panel: intro block right before "In Motion" */
.video-intro-block{
  margin-top:44px;
}
.video-intro-block h2{
  font-family:var(--mono);
  font-size:15px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--sky);
  margin:0 0 10px;
}
.video-intro-block p{
  font-size:15px;
  line-height:1.75;
  color:var(--ink-soft);
  max-width:640px;
  margin:0;
}

/* ---------- Gallery: Team Activities video boxes (inside the Videos panel) ---------- */
.team-activities-block{
  padding:0 0 8px;
}
.team-activities-block .eyebrow{ margin-bottom:0; }
.team-activities-block .eyebrow .label{
  color:var(--sky);
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.team-video-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
  margin-top:24px;
}
.team-video-box{
  width:100%;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  background:#000;
  transition:transform .3s ease, box-shadow .3s ease;
}
.team-video-box:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 34px -14px rgba(20,33,48,0.4), 0 0 0 3px rgba(1,184,252,0.35);
}
.team-video-box video{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  background:#000;
  transition:transform .4s ease;
}
.team-video-box:hover video{ transform:scale(1.04); }
@media (max-width:700px){
  .team-video-grid{ grid-template-columns:1fr; }
}

.gallery-content-block{ padding:56px 0 100px; }
.gallery-panel{ display:none; }
.gallery-panel.is-active{ display:block; }

/* ---------- Gallery hero showcase (photos + video strip) ---------- */
.showcase{
  position:absolute;
  inset:0;
  z-index:0;
  display:grid;
  grid-template-columns: 1fr 90px 1fr 190px;
  align-items:stretch;
  width:100%;
  height:100%;
  background:var(--navy-deep);
}

/* Left: photo collage */
.showcase-photos{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.showcase-label{
  position:absolute;
  top:14px; left:50%;
  transform:translateX(-50%);
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.85);
  z-index:3;
  white-space:nowrap;
}
.showcase-arrow{
  position:absolute;
  left:10px; top:50%;
  transform:translateY(-50%);
  width:30px; height:30px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.4);
  background:rgba(15,33,48,0.5);
  color:#fff;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  z-index:3;
}
.showcase-main{
  flex:1;
  min-height:0;
  overflow:hidden;
}
.showcase-main img{ width:100%; height:100%; object-fit:cover; display:block; }
.showcase-thumbs{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:4px;
  height:78px;
}
.showcase-thumb{ overflow:hidden; }
.showcase-thumb img{ width:100%; height:100%; object-fit:cover; display:block; filter:brightness(0.85); }

/* Middle: torn-paper style divider */
.showcase-divider{
  position:relative;
  background:
    linear-gradient(135deg, #efe6d3 0%, #e2d5b8 55%, #d8c9a3 100%);
  clip-path: polygon(35% 0%, 100% 0%, 65% 100%, 0% 100%);
}
.showcase-divider::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 40%),
    radial-gradient(circle at 70% 75%, rgba(0,0,0,0.06), transparent 45%);
}

/* Right: video */
.showcase-video{
  position:relative;
}
.showcase-video-main{
  position:relative;
  width:100%;
  height:100%;
  overflow:hidden;
}
.showcase-video-main img{ width:100%; height:100%; object-fit:cover; display:block; filter:brightness(0.72); }
.showcase-play{
  position:absolute;
  top:48%; left:50%;
  transform:translate(-50%,-50%);
  width:60px; height:60px;
  border-radius:50%;
  background:rgba(255,255,255,0.18);
  border:1px solid rgba(255,255,255,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  backdrop-filter:blur(2px);
  z-index:2;
}
.showcase-play svg{ width:22px; height:22px; fill:#fff; margin-left:3px; }
.showcase-progress{
  position:absolute;
  left:16px; right:16px; bottom:14px;
  display:flex;
  align-items:center;
  gap:10px;
  z-index:2;
}
.sp-icon{ width:20px; height:20px; display:flex; align-items:center; justify-content:center; }
.sp-icon svg{ width:14px; height:14px; fill:#fff; }
.sp-bar{ flex:1; height:3px; background:rgba(255,255,255,0.3); border-radius:2px; overflow:hidden; }
.sp-fill{ width:38%; height:100%; background:var(--sky); }

/* Far right: sidebar video list */
.showcase-sidebar{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.sidebar-item{
  position:relative;
  flex:1;
  overflow:hidden;
}
.sidebar-item img{ width:100%; height:100%; object-fit:cover; display:block; filter:brightness(0.6); }
.sidebar-item span{
  position:absolute;
  left:10px; bottom:8px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.03em;
  color:#fff;
  z-index:2;
}
.sidebar-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}

@media (max-width:900px){
  .showcase{
    grid-template-columns:1fr;
    grid-template-rows:repeat(6, 1fr);
  }
  .showcase-divider{ clip-path:none; }
  .gallery-hero{ min-height:auto; padding:44px 0 28px; }
}

.gallery-masonry{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
  margin-top:36px;
}
.gallery-tile{
  position:relative;
  overflow:hidden;
  border-radius:3px;
  cursor:pointer;
  background:var(--paper);
  padding:10px 10px 42px;
  box-shadow:0 10px 22px -14px rgba(20,33,48,0.28), 0 1px 2px rgba(20,33,48,0.06);
  aspect-ratio:3/4;
  transition:transform .3s ease, box-shadow .3s ease;
}
.gallery-tile:hover{ transform:translateY(-6px); box-shadow:0 20px 34px -16px rgba(20,33,48,0.38); }
.gallery-tile.is-featured{
  grid-column:1 / -1;
  aspect-ratio:21/9;
}
.gallery-tile:nth-child(3n+2):not(.is-featured){ aspect-ratio:1/1; }
.gallery-tile:nth-child(3n+3):not(.is-featured){ aspect-ratio:4/5; }
.gallery-tile img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .5s ease;
}
.gallery-tile:hover img{ transform:scale(1.06); }
.gallery-tag{
  position:absolute;
  left:12px; right:12px; bottom:14px;
  z-index:2;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-soft);
  background:none;
  border:none;
  padding:0;
  border-radius:0;
  backdrop-filter:none;
  display:flex;
  align-items:center;
}
.gallery-tag::before{
  content:'';
  display:inline-block;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--sky);
  margin-right:8px;
  flex:none;
}

/* ---------- Gallery Photos: featured big tile + varied masonry sizing + pill tags ---------- */
.gallery-masonry .gallery-tile{
  border-radius:20px;
  padding:14px 14px 46px;
}
.gallery-masonry .gallery-tile.is-featured{
  aspect-ratio:2/1;
  padding:14px 14px 50px;
}
.gallery-masonry .gallery-tile.is-featured img{
  object-fit:contain;
  background:var(--paper);
}
.gallery-masonry .gallery-tile img{
  border-radius:12px;
}
/* S1 (Original): keep the small blue dot + name, no pill background/outline.
   (The navy pill look belongs to S2 alien, which styles .gallery-tag itself.) */
.gallery-masonry .gallery-tag{
  left:14px; right:14px; bottom:16px;
  background:none;
  color:var(--ink-soft);
  padding:0;
  border-radius:0;
  box-shadow:none;
}
.gallery-masonry .gallery-tag::before{ background:var(--sky); margin-right:8px; }

.gallery-more-btn{
  display:none;
  margin:38px auto 4px;
  padding:14px 34px;
  font-family:var(--mono);
  font-size:13px;
  letter-spacing:.08em;
  color:var(--ink);
  background:transparent;
  border:1px solid var(--line, rgba(20,33,48,.22));
  border-radius:99px;
  cursor:pointer;
  transition:transform .25s ease, border-color .25s ease, color .25s ease;
}
.gallery-more-btn:hover{
  transform:translateY(-2px);
  border-color:var(--sky);
  color:var(--sky);
}
@media (max-width:700px){
  .gallery-masonry{ grid-template-columns:1fr; }
  .gallery-tile.is-featured{ aspect-ratio:4/3; }
  .gallery-tile:nth-child(3n+2):not(.is-featured),
  .gallery-tile:nth-child(3n+3):not(.is-featured){ aspect-ratio:4/3; }
}

.video-fallback-card{
  max-width:640px;
  margin:32px auto 0;
  text-align:center;
  padding:48px 32px;
  border:1px solid var(--line-strong);
  border-radius:16px;
  background:var(--paper);
}
.video-fallback-card .vf-icon{
  width:64px; height:64px;
  margin:0 auto 20px;
  border-radius:50%;
  background:var(--sky-tint);
  display:flex; align-items:center; justify-content:center;
}
.video-fallback-card .vf-icon svg{ width:26px; height:26px; color:var(--sky-deep); }
.video-fallback-card h3{ font-size:20px; margin-bottom:10px; }
.video-fallback-card p{ color:var(--ink-soft); margin-bottom:22px; }

.video-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:26px;
  margin-top:36px;
}
@media (max-width:700px){ .video-grid{ grid-template-columns:1fr; } }
/* Reuse the same big-box/small-box masonry sizing as the Photos tiles:
   1st/4th tall (3/4), 2nd square (1/1), 3rd medium-tall (4/5). */
.video-grid .gallery-tile{
  aspect-ratio:3/4;
  border-radius:20px;
  padding:14px 14px 48px;
}
.video-grid .gallery-tile:nth-child(3n+2){ aspect-ratio:1/1; }
.video-grid .gallery-tile:nth-child(3n+3){ aspect-ratio:4/5; }
.video-grid .vt-frame{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
}
.video-grid .gallery-tag{
  left:14px; right:14px; bottom:22px;
  background:var(--navy-deep);
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  box-shadow:0 10px 22px -8px rgba(20,33,48,0.45);
}
/* S1 (Original): video tag keeps the small blue dot; the play button goes on the thumbnail */
.video-grid .gallery-tag::before{ background:var(--sky); }
/* Centered line-art play button on each video thumbnail (S1 look):
   outline circle + rounded triangle + two orbit arcs; the arcs spin on hover. */
.video-grid .vt-frame::before{
  content:'';
  position:absolute;
  top:50%; left:50%;
  width:68px; height:68px;
  transform:translate(-50%,-50%);
  background:url('data:image/svg+xml;utf8,<svg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%2301B8FC%22%20stroke-width=%221%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22><circle%20cx=%2212%22%20cy=%2212%22%20r=%2210%22/><path%20d=%22M9.2%207.8L16.4%2012L9.2%2016.2Z%22/></svg>') center/contain no-repeat;
  filter:drop-shadow(0 3px 6px rgba(12,35,70,0.35));
  transition:transform .3s ease, filter .3s ease;
  pointer-events:none;
}
.video-grid .vt-frame::after{
  content:'';
  position:absolute;
  top:50%; left:50%;
  width:68px; height:68px;
  transform:translate(-50%,-50%);
  background:url('data:image/svg+xml;utf8,<svg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%2301B8FC%22%20stroke-width=%221%22%20stroke-linecap=%22round%22><path%20d=%22M19.07%204.93A10%2010%200%200%200%2012%202%22/><path%20d=%22M4.93%2019.07A10%2010%200%200%200%2012%2022%22/></svg>') center/contain no-repeat;
  pointer-events:none;
}
.video-grid .gallery-tile:hover .vt-frame::before{
  transform:translate(-50%,-50%) scale(1.1);
  filter:drop-shadow(0 3px 8px rgba(12,35,70,0.4)) drop-shadow(0 0 10px rgba(0,184,255,0.75));
}
.video-grid .gallery-tile:hover .vt-frame::after{
  animation:udsOrbitSpin 1.6s linear infinite;
  filter:drop-shadow(0 0 8px rgba(0,184,255,0.8));
}
@keyframes udsOrbitSpin{
  from{ transform:translate(-50%,-50%) rotate(0deg); }
  to{ transform:translate(-50%,-50%) rotate(360deg); }
}
@media (max-width:700px){
  .video-grid .vt-frame::before, .video-grid .vt-frame::after{ width:54px; height:54px; }
}
/* S1 (Original): no tag pills on the video tiles - thumbnail + centered play button only */
.video-grid .gallery-tag{ display:none; }
.video-grid .gallery-tile{ padding-bottom:14px; }
@media (max-width:700px){
  .video-grid .gallery-tile{ aspect-ratio:4/3 !important; }
}
/* Khmer Wooden House tile (3rd video): its YouTube hqdefault thumbnail has black
   letterbox bands baked in (16:9 content on a 4:3 canvas, 45px top/bottom).
   Crop them out by centering an over-height image inside the frame - no black bars. */
.video-grid .gallery-tile:nth-child(3) img{
  position:absolute;
  top:50%; left:50%;
  width:100%;
  height:133.34%;
  transform:translate(-50%,-50%);
  object-fit:cover;
  object-position:center center;
}
.video-more-wrap{
  margin-top:40px;
  text-align:center;
}
.video-more-btn{
  display:inline-block;
  padding:14px 34px;
  border-radius:999px;
  border:1px solid rgba(20,33,48,0.22);
  background:#fff;
  color:var(--ink);
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
  transition:transform .25s ease, border-color .25s ease, color .25s ease;
}
.video-more-btn:hover{
  transform:translateY(-3px);
  border-color:var(--sky);
  color:var(--sky);
}
.lightbox-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0; display:none;
  background:#000;
}

/* ---------- Home: Gallery feature blocks (photos / videos) ---------- */
.gf-block{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px;
  align-items:stretch;
  margin-top:48px;
}
.gf-block.gf-reverse{ grid-template-columns:1fr 1.3fr; }
.gf-block.gf-reverse .gf-media{ order:2; }
.gf-block.gf-reverse .gf-aside{ order:1; }

.gf-media{ position:relative; }
.gf-hero{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  min-height:340px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line-strong);
  background:var(--paper-2);
}
.gf-hero img{ width:100%; height:100%; object-fit:cover; display:block; }
.gf-hero .gf-tag{
  position:absolute;
  left:16px; bottom:16px;
  z-index:2;
  background:rgba(15,33,48,0.72);
  color:#fff;
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:7px 12px;
  border-radius:999px;
}
.gf-hero-video .gf-play{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  z-index:1;
}
.gf-hero-video .gf-play span{
  width:56px; height:56px;
  border-radius:50%;
  background:rgba(1,184,252,0.9);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 22px rgba(0,0,0,0.4);
  transition:transform .2s ease;
}
.gf-hero-video:hover .gf-play span{ transform:scale(1.08); }
.gf-hero-video .gf-play svg{ width:20px; height:20px; fill:#fff; margin-left:2px; }

.gf-aside{ display:flex; flex-direction:column; }
.gf-eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--sky-deep);
  margin-bottom:14px;
}
.gf-thumbs{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-bottom:22px;
}
.gf-thumb{
  border:1px solid var(--line-strong);
  border-radius:8px;
  overflow:hidden;
  background:none;
  padding:0;
  cursor:pointer;
  text-align:left;
  transition:border-color .2s ease, opacity .2s ease;
  opacity:0.7;
}
.gf-thumb img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.gf-thumb span{
  display:block;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--ink-soft);
  padding:6px 8px;
}
.gf-thumb.is-active{ border-color:var(--sky); opacity:1; }
.gf-thumb.is-active span{ color:var(--sky-deep); }
.gf-thumb:hover{ opacity:1; }

.gf-title{
  font-size:19px;
  margin-bottom:14px;
  color:var(--ink);
}
.gf-checklist{ list-style:none; margin:0 0 6px; padding:0; }
.gf-checklist li{
  position:relative;
  padding-left:24px;
  margin-bottom:10px;
  font-size:14px;
  color:var(--ink-soft);
  line-height:1.5;
}
.gf-checklist li::before{
  content:'\2713';
  position:absolute;
  left:0; top:0;
  color:var(--sky-deep);
  font-weight:700;
}

@media (max-width:860px){
  .gf-block, .gf-block.gf-reverse{ grid-template-columns:1fr; }
  .gf-block.gf-reverse .gf-media, .gf-block.gf-reverse .gf-aside{ order:0; }
  .gf-hero{ min-height:260px; }
}

/* ---------- Shared additions (Original style): portfolio link, trust row, stickers, divider ---------- */
.uds-divider{
  height:1px;
  background:var(--line);
  margin:130px auto 0;
}
.uds-portfolio-link{
  display:inline-block;
  margin-top:14px;
  color:#F59E0B;
  font-style:italic;
  font-size:12px;
  letter-spacing:0.04em;
  text-decoration:underline;
  text-underline-offset:4px;
  transition:color .2s ease;
}
.uds-portfolio-link:hover{ color:#D97706; }
.uds-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:18px 36px;
  margin-top:52px;
}
.uds-trust-item{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--ink);
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.uds-trust-item .uds-trust-icon{
  flex:none;
  width:40px; height:40px;
  border-radius:10px;
  background:var(--sky-tint);
  display:flex; align-items:center; justify-content:center;
}
.uds-trust-item .uds-trust-icon svg{
  width:20px; height:20px;
  color:var(--sky-deep);
}
.cta-split-media{ position:relative; }
.uds-stickers{
  position:absolute;
  right:14px;
  bottom:14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  z-index:2;
}
.uds-stickers span{
  background:rgba(255,255,255,0.95);
  border:1px solid rgba(0,80,160,0.15);
  border-radius:10px;
  padding:6px 13px;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.12em;
  color:var(--navy-deep);
  box-shadow:0 6px 16px -8px rgba(20,40,90,0.4);
}

/* ---------- Editorial page hero (About/Projects/Services/Contact) ---------- */
.page-hero{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px 48px;
  align-items:end;
  padding:8px 0 30px;
  border-bottom:1px solid var(--line-strong);
}
.page-hero .eyebrow{ margin-bottom:16px; }
.page-hero-title{ margin:0; }
.page-hero .title-accent{ color:var(--sky-deep); }
.page-hero-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
  padding-bottom:6px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-soft);
  text-align:right;
  white-space:nowrap;
}
.page-hero-meta span:first-child{
  color:var(--sky-deep);
  font-weight:600;
}
@media (max-width:760px){
  .page-hero{ grid-template-columns:1fr; align-items:start; gap:22px; }
  .page-hero-meta{ align-items:flex-start; text-align:left; }
}


/* Two-line page hero titles (About/Projects/Services/Contact) */
.page-hero-title{
  max-width:none;
  white-space:normal;
  font-size:clamp(30px, 5vw, 56px);
  line-height:1.12;
}
.page-hero .title-accent{ display:block; }
@media (max-width:520px){
  .page-hero-title{ font-size:clamp(26px, 6.8vw, 34px); }
}


/* ---------- Contact form: special styling (S1) ---------- */
#contactForm{
  position:relative;
  background:linear-gradient(180deg,#ffffff,#F5FAFF);
  border:1px solid var(--line-strong);
  border-radius:24px;
  padding:30px 28px 26px;
  box-shadow:0 26px 52px -26px rgba(2,144,201,0.30), 0 2px 6px rgba(20,33,48,0.05);
}
#contactForm::before{
  content:'';
  position:absolute;
  top:0; left:26px; right:26px;
  height:3px;
  border-radius:0 0 8px 8px;
  background:var(--sky-deep);
}
#contactForm .field label{
  font-weight:600;
  color:var(--sky-deep);
  display:flex;
  align-items:center;
  gap:8px;
}
#contactForm .field label::before{
  content:'';
  width:7px; height:7px;
  border-radius:50%;
  background:var(--sky-deep);
  flex:none;
}
#contactForm .field input, #contactForm .field textarea{
  background:#fff;
  border:1px solid var(--line-strong);
  border-radius:14px;
  transition:border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
#contactForm .field input:hover, #contactForm .field textarea:hover{
  border-color:var(--sky);
}
#contactForm .field input:focus, #contactForm .field textarea:focus{
  outline:none;
  transform:translateY(-1px);
  border-color:var(--sky);
  box-shadow:0 0 0 4px rgba(1,184,252,0.15), 0 10px 22px -14px rgba(2,144,201,0.4);
}
#sendBtn{
  display:block;
  margin:4px auto 0;
  border:none;
  border-radius:999px;
  padding:12px 30px;
  font-family:var(--mono);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
  cursor:pointer;
  background:var(--navy-deep);
  box-shadow:0 8px 18px -10px rgba(15,33,48,0.55);
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
#sendBtn:hover{ background:var(--sky-deep); transform:translateY(-1px); box-shadow:0 12px 22px -12px rgba(2,144,201,0.6); }
/* special title accent underline (all 4 pages) */
.page-hero-title .title-accent{
  position:relative;
  padding-bottom:14px;
}
.page-hero-title .title-accent::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:110px; height:4px;
  border-radius:99px;
  background:var(--sky-deep);
}


/* First block on inner pages: no extra top padding (About/Projects/Services/Contact) */
section.block:first-of-type{ padding-top:72px; }

/* Hero note: small text + line (Projects page) */
.hero-note{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:16px;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-soft);
}
.hero-note::before{
  content:'';
  width:34px;
  height:1px;
  background:var(--sky-deep);
  flex:none;
}

/* ============ AI Chat Widget — Blueprint HUD ============ */
.ai-chat-overlay{
  position:fixed;
  inset:0;
  background:rgba(6,16,24,0.55);
  backdrop-filter:blur(2px);
  z-index:2998;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}
.ai-chat-overlay.open{ opacity:1; visibility:visible; }

.ai-chat-window{
  position:fixed;
  right:20px;
  bottom:20px;
  width:378px;
  max-width:calc(100vw - 32px);
  height:min(620px, calc(100vh - 100px));
  background:var(--paper);
  border-radius:16px;
  box-shadow:
    0 0 0 1px rgba(1,184,252,0.35),
    0 0 40px -6px rgba(1,184,252,0.35),
    0 30px 70px -14px rgba(6,16,24,0.65);
  z-index:2999;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  transform:translateY(24px) scale(0.96);
  transform-origin:bottom right;
  transition:opacity .25s ease, transform .3s cubic-bezier(0.34,1.56,0.64,1), visibility .25s ease;
}
.ai-chat-window.open{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}
/* corner-bracket reticle — the widget's signature blueprint mark */
.ai-chat-window::before,
.ai-chat-window::after{
  content:'';
  position:absolute;
  width:16px; height:16px;
  border:2px solid var(--sky);
  z-index:2;
  pointer-events:none;
  opacity:.9;
}
.ai-chat-window::before{ top:7px; left:7px; border-right:none; border-bottom:none; }
.ai-chat-window::after{ bottom:7px; right:7px; border-left:none; border-top:none; }

/* header */
.ai-chat-header{
  position:relative;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px 16px 16px 18px;
  background:linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-deep) 100%);
  overflow:hidden;
  border-bottom:1px solid rgba(1,184,252,0.4);
}
.ai-chat-header::after{
  /* scanning sweep */
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(100deg, transparent 0%, rgba(1,184,252,0.22) 45%, transparent 60%);
  background-size:220% 100%;
  animation:aiHeaderSweep 5s linear infinite;
  pointer-events:none;
}
@keyframes aiHeaderSweep{
  0%{ background-position:120% 0; }
  100%{ background-position:-40% 0; }
}
.ai-chat-header-id{ position:relative; display:flex; align-items:center; gap:11px; min-width:0; z-index:1; }
.ai-chat-avatar{
  flex:none;
  width:36px; height:36px;
  border-radius:9px;
  background:rgba(1,184,252,0.14);
  border:1px solid rgba(1,184,252,0.55);
  box-shadow:0 0 12px -1px rgba(1,184,252,0.55);
  display:flex; align-items:center; justify-content:center;
  font:700 12.5px/1 var(--font-heading, Poppins, sans-serif);
  letter-spacing:-0.02em;
  color:var(--sky);
}
.ai-chat-header-text{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.ai-chat-title{
  color:#fff;
  font:700 14.5px/1.2 var(--font-heading, Poppins, sans-serif);
  letter-spacing:.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ai-chat-status{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--sky);
  font:600 10.5px/1 var(--font-mono, 'IBM Plex Mono', monospace);
  text-transform:uppercase;
  letter-spacing:.09em;
}
.ai-chat-status i{
  width:6px; height:6px;
  border-radius:50%;
  background:#3CE87A;
  display:inline-block;
  box-shadow:0 0 0 3px rgba(60,232,122,0.25);
  animation:aiStatusPulse 1.8s ease-in-out infinite;
}
@keyframes aiStatusPulse{
  0%,100%{ box-shadow:0 0 0 3px rgba(60,232,122,0.25); }
  50%{ box-shadow:0 0 0 5px rgba(60,232,122,0.12); }
}
.ai-chat-close{
  position:relative;
  z-index:1;
  flex:none;
  width:28px; height:28px;
  border-radius:7px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.06);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease;
}
.ai-chat-close:hover{ background:rgba(1,184,252,0.22); border-color:var(--sky); }

/* body / messages */
.ai-chat-body{
  flex:1;
  overflow-y:auto;
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  gap:14px;
  background:
    linear-gradient(var(--paper-2) 1px, transparent 1px) 0 0/100% 26px,
    linear-gradient(90deg, var(--paper-2) 1px, transparent 1px) 0 0/26px 100%,
    var(--paper);
  background-blend-mode:normal;
}
.ai-msg{ display:flex; align-items:flex-end; gap:8px; max-width:88%; }
.ai-msg.bot{ align-self:flex-start; }
.ai-msg.user{ align-self:flex-end; flex-direction:row-reverse; }
.ai-msg-avatar{
  flex:none;
  width:25px; height:25px;
  border-radius:7px;
  background:var(--navy-deep);
  border:1px solid rgba(1,184,252,0.5);
  color:var(--sky);
  display:flex; align-items:center; justify-content:center;
  font:700 9px/1 var(--font-heading, Poppins, sans-serif);
  letter-spacing:-0.02em;
}
.ai-msg-bubble{
  padding:10px 13px;
  border-radius:4px 12px 12px 12px;
  font:400 14px/1.5 var(--font-body, Inter, sans-serif);
  color:var(--ink);
  white-space:pre-line;
}
.ai-msg.bot .ai-msg-bubble{
  background:#fff;
  border-left:2.5px solid var(--sky);
  box-shadow:0 3px 12px rgba(15,33,48,0.1);
}
.ai-msg.user .ai-msg-bubble{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff;
  border-radius:12px 4px 12px 12px;
  box-shadow:0 3px 14px rgba(15,33,48,0.28);
}

/* contact card (shown when the assistant points to phone/email/office) */
.ai-contact-card{
  display:flex;
  flex-direction:column;
  max-width:88%;
  margin-left:33px;
  background:#fff;
  border-radius:4px 12px 12px 12px;
  border-left:2.5px solid var(--sky);
  box-shadow:0 3px 12px rgba(15,33,48,0.1);
  overflow:hidden;
}
.ai-contact-row{
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px 13px;
  text-decoration:none;
  border-bottom:1px solid var(--line);
  transition:background .18s ease;
}
.ai-contact-card .ai-contact-row:last-child{ border-bottom:none; }
a.ai-contact-row:hover{ background:var(--sky-tint); }
a.ai-contact-row:hover .ai-contact-icon{ background:var(--navy-deep); border-color:var(--sky); }
a.ai-contact-row:hover .ai-contact-icon svg{ stroke:var(--sky); }
.ai-contact-icon{
  flex:none;
  width:31px; height:31px;
  border-radius:8px;
  background:var(--sky-tint);
  border:1px solid transparent;
  display:flex; align-items:center; justify-content:center;
  transition:background .18s ease, border-color .18s ease;
}
.ai-contact-icon svg{ width:15px; height:15px; stroke:var(--sky-deep); transition:stroke .18s ease; }
.ai-contact-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.ai-contact-label{
  font:700 9.5px/1.2 var(--font-mono, 'IBM Plex Mono', monospace);
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--slate);
}
.ai-contact-value{
  font:600 13.5px/1.35 var(--font-body, Inter, sans-serif);
  color:var(--navy);
  word-break:break-word;
}
.ai-contact-row-static .ai-contact-value{ font:500 12.5px/1.4 var(--font-body, Inter, sans-serif); color:var(--ink-soft); }
.ai-contact-card-note{
  padding:9px 13px;
  font:400 11.5px/1.4 var(--font-body, Inter, sans-serif);
  color:var(--slate);
  background:var(--sky-tint);
  border-top:1px solid var(--line);
}

/* quick replies */
.ai-quick-replies{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-self:flex-start;
  max-width:88%;
  margin-left:33px;
}
.ai-quick-btn{
  position:relative;
  text-align:left;
  padding:10px 14px 10px 26px;
  border-radius:8px;
  border:1px solid var(--line-strong);
  background:#fff;
  color:var(--navy);
  font:600 13px/1.3 var(--font-body, Inter, sans-serif);
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.ai-quick-btn::before{
  content:'›';
  position:absolute;
  left:11px; top:50%;
  transform:translateY(-52%);
  color:var(--sky-deep);
  font:700 15px/1 var(--font-heading, Poppins, sans-serif);
  transition:color .18s ease;
}
.ai-quick-btn:hover{
  background:var(--navy-deep);
  border-color:var(--navy-deep);
  color:#fff;
  transform:translateX(3px);
}
.ai-quick-btn:hover::before{ color:var(--sky); }

/* typing indicator */
.ai-typing{ display:flex; align-items:center; gap:4px; padding:4px 2px; }
.ai-typing span{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--sky-deep);
  opacity:0.5;
  animation:aiTypingBounce 1.1s ease-in-out infinite;
}
.ai-typing span:nth-child(2){ animation-delay:.15s; }
.ai-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes aiTypingBounce{
  0%,60%,100%{ transform:translateY(0); opacity:0.5; }
  30%{ transform:translateY(-4px); opacity:1; }
}

/* input row */
.ai-chat-input-row{
  flex:none;
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  background:#fff;
  border-top:1px solid var(--line);
}
.ai-chat-input-row input{
  flex:1;
  min-width:0;
  border:1.5px solid var(--line-strong);
  border-radius:9px;
  padding:10px 15px;
  font:400 14px/1.3 var(--font-body, Inter, sans-serif);
  color:var(--ink);
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.ai-chat-input-row input:focus{ border-color:var(--sky); box-shadow:0 0 0 3px rgba(1,184,252,0.16); }
.ai-chat-send{
  flex:none;
  width:38px; height:38px;
  border-radius:9px;
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow:0 0 0 1px rgba(1,184,252,0.4);
  display:flex; align-items:center; justify-content:center;
  transition:transform .18s ease, box-shadow .18s ease;
}
.ai-chat-send:hover{ transform:scale(1.06); box-shadow:0 0 0 1px rgba(1,184,252,0.7), 0 0 14px -2px rgba(1,184,252,0.6); }
.ai-chat-send:disabled{ opacity:0.5; cursor:default; transform:none; box-shadow:none; }

@media (max-width:480px){
  .ai-chat-window{
    right:10px; left:auto; bottom:10px;
    width:75vw;
    max-width:none;
    height:min(58vh, 480px);
  }
}