
  /* ───────────── Design tokens ───────────── */
  :root {
    --bg: #F7F6F9;
    --surface: #FFFFFF;
    --surface-2: #F1EEF5;
    --ink: #17131C;
    --muted: #625C6B;
    --line: #E1DEE6;
    --line-strong: #CFC8D8;

    --accent: #5B2FC7;
    --accent-hover: #4A24A8;
    --accent-ink: #FFFFFF;
    --ring: rgba(91, 47, 199, .25);

    --brand-bg: #130F17;
    --brand-surface: #1C1622;
    --brand-ink: #F3EFF7;
    --brand-muted: #A79FB3;
    --brand-line: rgba(255, 255, 255, .045);
    --brand-rule: rgba(255, 255, 255, .14);

    --gradient: linear-gradient(90deg, #D9A441, #5B2FC7 85%);

    --font-display: "Montserrat", "IBM Plex Sans", system-ui, sans-serif;
    --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1180px;
    --gutter: 32px;

    --shadow-sm: 0 1px 2px rgba(19, 15, 23, .06), 0 1px 1px rgba(19, 15, 23, .04);
    --shadow-md: 0 8px 24px rgba(19, 15, 23, .08), 0 2px 6px rgba(19, 15, 23, .05);
    --shadow-lg: 0 24px 48px rgba(19, 15, 23, .16), 0 8px 16px rgba(19, 15, 23, .08);
  }

  /* ───────────── Base ───────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; }
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
  body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }
  picture { display: contents; }
  picture img { max-width: 100%; height: auto; }
  a { color: inherit; }
  button, input, select, textarea { font: inherit; color: inherit; }
  .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
  section { padding: 108px 0; }
  h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

  .eyebrow-rule { width: 40px; height: 3px; border-radius: 2px; background: var(--gradient); margin-bottom: 18px; }
  .section-head { max-width: 640px; margin-bottom: 56px; }
  .section-head h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1.2; }
  .section-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; max-width: 56ch; }
  .section-head.on-dark p { color: var(--brand-muted); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 24px;
    border: 1px solid transparent; border-radius: 8px;
    font-weight: 600; font-size: 15px;
    cursor: pointer; text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
    white-space: nowrap;
  }
  .btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(91, 47, 199, .28); }
  .btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 22px rgba(91, 47, 199, .34); transform: translateY(-1px); }
  .btn-ghost { background: transparent; border-color: var(--brand-rule); color: var(--brand-ink); }
  .btn-ghost:hover { border-color: var(--brand-muted); background: var(--brand-line); }
  .btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
  .btn-outline:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow-sm); }
  .btn:active { transform: translateY(1px); }
  .btn:disabled { opacity: .6; cursor: not-allowed; }
  .btn .spinner { display: none; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
  .btn[aria-busy="true"] .spinner { display: inline-block; }
  @keyframes spin { to { transform: rotate(360deg); } }



  /* ───────────── Loading screen (logo only) ───────────── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-bg);
  transition: opacity .5s ease, visibility .5s ease;
}
.loader img { width: clamp(220px, 36vw, 380px); height: auto; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .loader { display: none; }
@keyframes loaderPulse { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.04); opacity: 1; } }

  /* ───────────── Nav ───────────── */
  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; align-items: center;
    height: 76px;
    background: transparent;
    transition: background .25s ease, height .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.solid { background: rgba(15, 11, 18, .96); backdrop-filter: blur(10px); height: 68px; border-color: var(--brand-rule); box-shadow: 0 4px 20px rgba(0, 0, 0, .18); }
  .nav-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
  .brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand-lockup .mark { width: 54px; height: 50px; background: url("https://www.communalintegrated.com/wp-content/uploads/cisl-studio/93720573-87be-4963-932e-30d9d6bd8095/public/assets/img/logo.webp") center / contain no-repeat; flex: none; }
  .brand-lockup span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em; color: var(--brand-ink); }

  .nav-links { display: flex; align-items: center; gap: 34px; list-style: none; padding: 0; }
  .nav-links a {
    position: relative;
    font-size: 14.5px; font-weight: 500; color: var(--brand-muted);
    text-decoration: none; padding: 6px 0;
    transition: color .15s;
  }
  .nav-links a:hover { color: var(--brand-ink); }
  .nav-links a.active { color: var(--brand-ink); }
  .nav-links a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--gradient); border-radius: 2px;
  }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .nav-cta .btn { height: 40px; padding: 0 18px; font-size: 14px; }

  .nav-toggle {
    display: none; width: 40px; height: 40px; border: 0; background: none;
    color: var(--brand-ink); cursor: pointer; align-items: center; justify-content: center;
  }
  .nav-toggle svg { width: 22px; height: 22px; }

  .nav-mobile {
    position: fixed; inset: 0; z-index: 49;
    background: var(--brand-bg);
    display: flex; flex-direction: column;
    padding: 96px 28px 40px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-mobile::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: var(--gradient);
  }
  .nav-mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-mobile ul { list-style: none; padding: 0; display: grid; gap: 4px; }
  .nav-mobile a {
    position: relative;
    display: block; padding: 16px 4px; font-size: 22px; font-weight: 600;
    font-family: var(--font-display); color: var(--brand-ink); text-decoration: none;
    border-bottom: 1px solid var(--brand-rule);
    transition: color .15s, padding-left .15s;
  }
  .nav-mobile a:active { color: var(--brand-muted); }
  .nav-mobile a.active { color: var(--brand-ink); padding-left: 18px; }
  .nav-mobile a.active::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%; background: var(--gradient);
  }
  .nav-mobile-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
  .nav-mobile-actions .btn { width: 100%; }

  /* ───────────── Hero ───────────── */
  .hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 168px 0 96px;
    background: var(--brand-bg);
    color: var(--brand-ink);
  }
  .hero-photo {
    position: absolute; inset: 0; z-index: -4;
    width: 100%; height: 100%;
    object-fit: cover; object-position: 100% 0;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -3;
    background-image:
      linear-gradient(var(--brand-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--brand-line) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, #000 45%, transparent 62%);
            mask-image: linear-gradient(100deg, #000 0%, #000 45%, transparent 62%);
  }
  .hero-scrim {
    position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background:
      linear-gradient(90deg, var(--brand-bg) 0%, rgba(19,15,23,.94) 30%, rgba(19,15,23,.55) 46%, rgba(19,15,23,0) 62%),
      linear-gradient(180deg, rgba(19,15,23,.75) 0%, transparent 16%),
      linear-gradient(0deg, var(--brand-bg) 0%, rgba(19,15,23,.6) 12%, transparent 30%);
  }
  .hero::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 640px; height: 640px; right: -120px; top: -160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 63, 224, .28), transparent 70%);
    mix-blend-mode: screen;
  }
  .hero-copy { max-width: 640px; opacity: 0; transform: translateY(14px); animation: rise-in .7s cubic-bezier(.22,.7,.2,1) .1s forwards; }
  .hero-copy p.kicker { font-size: 15px; color: var(--brand-muted); margin-bottom: 18px; }
  .hero-copy h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; line-height: 1.08; }
  .hero-copy .lede { margin-top: 20px; font-size: 17.5px; color: var(--brand-muted); max-width: 52ch; }
  .hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

  @media (min-width: 981px) and (max-width: 1240px) { .hero-copy { max-width: 500px; } }
  @keyframes rise-in { to { opacity: 1; transform: translateY(0); } }
  @keyframes fade-in { to { opacity: 1; } }

  .credibility {
    margin-top: 76px; padding-top: 32px; border-top: 1px solid var(--brand-rule);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    opacity: 0; animation: fade-in 1s ease .8s forwards;
  }
  .credibility li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--brand-muted); }
  .credibility svg { flex: none; margin-top: 1px; color: #C9A6FF; }

  /* ───────────── Services (slider) ───────────── */
  .services-slider { position: relative; }
  .services-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -4px;
    padding: 4px 4px 12px;
  }
  .services-viewport::-webkit-scrollbar { display: none; }
  .services-track { display: flex; gap: 22px; }

  .service-card {
    position: relative;
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 3 * 22px) / 4);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .28s cubic-bezier(.22,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
  }
  .service-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 3;
    background: var(--gradient); transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
  }
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-media { position: relative; height: clamp(140px, 25vw, 168px); overflow: hidden; background: var(--surface-2); }
  .service-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s cubic-bezier(.22,.7,.2,1); }
  .service-card:hover .service-media img { transform: scale(1.08); }
  .service-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(19,15,23,.32) 100%);
    pointer-events: none;
  }

  .service-icon {
    position: absolute; left: clamp(12px, 3vw, 20px); bottom: -22px; z-index: 2;
    width: clamp(40px, 8vw, 46px); height: clamp(40px, 8vw, 46px); border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #8B3FE0); box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: transform .28s ease;
  }
  .service-card:hover .service-icon { transform: translateY(-2px) rotate(-4deg); }
  .service-icon svg { width: clamp(18px, 4vw, 22px); height: clamp(18px, 4vw, 22px); }

  .service-body { padding: clamp(20px, 4vw, 34px) clamp(16px, 3vw, 22px) clamp(16px, 3vw, 24px); display: flex; flex-direction: column; flex: 1; }
  .service-body h3 { font-size: clamp(14px, 3vw, 16.5px); font-weight: 700; margin-bottom: clamp(6px, 1vw, 10px); line-height: 1.3; }
  .service-body p { font-size: clamp(12.5px, 2.5vw, 13.8px); line-height: 1.55; color: var(--muted); margin-bottom: clamp(12px, 2vw, 18px); flex: 1; }
  .service-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: clamp(12px, 2vw, 13.5px); font-weight: 600; color: var(--accent); text-decoration: none;
    transition: gap .15s;
  }
  .service-link:hover { gap: 9px; color: var(--accent-hover); }
  .service-link svg { width: 14px; height: 14px; }

  .services-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
  .services-dots { display: flex; gap: 8px; }
  .services-dots button {
    position: relative; overflow: hidden;
    width: 30px; height: 4px; padding: 0; border-radius: 2px; border: none;
    background: var(--line-strong); cursor: pointer; transition: width .2s ease;
  }
  .services-dots button::after {
    content: ""; position: absolute; inset: 0; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
  }
  .services-dots button.active { width: 38px; }
  .services-dots button.active::after { animation: services-fill var(--autoplay-ms, 5500ms) linear forwards; }
  .services-dots.paused button.active::after { animation-play-state: paused; }
  @keyframes services-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .services-arrows { display: flex; gap: 10px; }
  .services-arrows button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }
  .services-arrows button:hover { background: var(--surface-2); border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
  .services-arrows button:active { transform: translateY(0); }
  .services-arrows svg { width: 18px; height: 18px; }

  @media (max-width: 980px) {
    .service-card { flex-basis: calc((100% - 22px) / 2); }
  }
  @media (max-width: 560px) {
    .service-card { flex-basis: 86%; }
  }

  /* ───────────── About ───────────── */
  .about {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--brand-bg);
    color: var(--brand-ink);
  }
  .about-photo {
    position: absolute; inset: 0; z-index: -3;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
    filter: grayscale(12%) contrast(1.05) brightness(.6) saturate(1.05);
  }
  .about::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image:
      linear-gradient(var(--brand-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--brand-line) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 30%, #000 100%);
            mask-image: linear-gradient(100deg, transparent 0%, #000 30%, #000 100%);
  }
  .about-scrim {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      linear-gradient(100deg, var(--brand-bg) 0%, rgba(19,15,23,.95) 30%, rgba(19,15,23,.72) 55%, rgba(19,15,23,.5) 100%),
      linear-gradient(0deg, var(--brand-bg) 0%, transparent 18%, transparent 82%, var(--brand-bg) 100%);
  }
  .about-grid { display: block; }
  .about-copy { order: 1; max-width: 760px; }
  .about-copy .section-head { margin-bottom: 48px; }
  .about-copy .section-head h2 { color: var(--brand-ink); }
  .about-copy .section-head p { color: var(--brand-muted); }
  .img-fallback { background: linear-gradient(160deg, #EDE7F6, #E4DAF6 45%, #F3E4EE); }
  .img-fallback img { display: none; }
  .img-fallback::before {
    content: ""; position: absolute; inset: 0;
    background: url("https://www.communalintegrated.com/wp-content/uploads/cisl-studio/93720573-87be-4963-932e-30d9d6bd8095/public/assets/img/logo.webp") center / 34% no-repeat;
    opacity: .5;
  }
  .about-copy .eyebrow-rule { margin-bottom: 16px; }
  .about-copy h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.2; color: var(--brand-ink); }
  .about-copy p.lede { margin-top: 18px; font-size: 16.5px; color: var(--brand-muted); max-width: 56ch; }
  .about-facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .about-facts div {
    display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
    border: 1px solid var(--brand-rule); border-radius: 14px;
    background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
    backdrop-filter: blur(8px);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
  }
  .about-facts div:hover { transform: translateY(-4px); border-color: var(--brand-rule); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); }
  .about-facts svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 2px; flex-shrink: 0; }
  .about-facts dt { color: var(--brand-muted); font-weight: 600; font-size: clamp(11px, 2vw, 12px); text-transform: uppercase; letter-spacing: .07em; }
  .about-facts dd { margin: 0; color: var(--brand-ink); font-size: clamp(14px, 2.5vw, 16px); font-weight: 600; line-height: 1.4; word-wrap: break-word; }
  @media (max-width: 980px) {
    .about-facts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .about-facts div { padding: 22px 20px; }
  }
  @media (max-width: 700px) {
    .about-facts { grid-template-columns: 1fr; gap: 14px; }
    .about-facts div { padding: 20px 18px; }
  }
  @media (max-width: 560px) {
    .about-facts { margin-top: 32px; gap: 12px; }
    .about-facts div { padding: 18px 16px; }
    .about-facts dt { font-size: 11px; margin-bottom: 2px; }
    .about-facts dd { font-size: 14px; }
  }

  /* ───────────── Values ───────────── */
  .values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
  .value-item { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
  .value-item:nth-last-child(-n+1) { border-bottom: 1px solid var(--line); }
  .value-item:nth-child(odd):nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .value-mark { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; background: var(--gradient); }
  .value-item h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
  .value-item p { font-size: 14.5px; color: var(--muted); }

  /* ───────────── Projects ───────────── */
  .projects { background: var(--surface-2); }
  .project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .project-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: clamp(1, 5/4, 5/4); background: var(--brand-bg); box-shadow: var(--shadow-md); min-height: 280px; }
  .project-card.img-fallback { background: linear-gradient(160deg, #241C2E, #130F17 60%); }
  .project-card.img-fallback::before { opacity: .35; }
  .project-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s cubic-bezier(.22,.7,.2,1); }
  .project-card:hover img { transform: scale(1.06); }
  .project-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(19,15,23,.88) 0%, rgba(19,15,23,.35) 42%, transparent 66%);
    pointer-events: none;
  }
  .project-info { position: absolute; left: clamp(14px, 3vw, 22px); right: clamp(14px, 3vw, 22px); bottom: clamp(12px, 2vw, 20px); z-index: 1; color: #fff; }
  .project-info .cat { font-size: clamp(11px, 2vw, 12.5px); color: #D7C4FF; margin-bottom: 4px; }
  .project-info h3 { font-size: clamp(16px, 3.5vw, 18px); font-weight: 600; line-height: 1.2; }
  .project-info .loc { font-size: clamp(12px, 2vw, 13px); color: rgba(255,255,255,.7); margin-top: 3px; }
  .projects-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

  /* Clickable project cards (open detail lightbox) — only cards with a
     non-empty data-modal-img are treated as interactive */
  .project-card[data-modal-img]:not([data-modal-img=""]) { cursor: pointer; }
  .project-card[data-modal-img]:not([data-modal-img=""]):focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  .project-expand {
    position: absolute; z-index: 2; top: clamp(12px, 2vw, 18px); right: clamp(12px, 2vw, 18px);
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(19, 15, 23, .45); color: #fff;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.18);
    opacity: 0; transform: scale(.85) translateY(-2px);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
    pointer-events: none;
  }
  .project-expand svg { width: 15px; height: 15px; }
  .project-card[data-modal-img]:not([data-modal-img=""]):hover .project-expand,
  .project-card[data-modal-img]:not([data-modal-img=""]):focus-visible .project-expand { opacity: 1; transform: scale(1) translateY(0); }
  .project-card[data-modal-img]:not([data-modal-img=""]):hover { box-shadow: var(--shadow-lg); }

  /* ───────────── Project detail lightbox ───────────── */
  .project-lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .project-lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s ease, visibility 0s linear 0s; }
  .project-lightbox-backdrop {
    position: absolute; inset: 0;
    background: rgba(10, 8, 13, .78);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  }
  .project-lightbox-dialog {
    position: relative; z-index: 1;
    width: 100%; max-width: 920px; height: min(82vh, 640px);
    background: var(--brand-bg); color: var(--brand-ink);
    border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(.94) translateY(14px); opacity: 0;
    transition: transform .35s cubic-bezier(.22,.7,.2,1), opacity .3s ease;
  }
  .project-lightbox.open .project-lightbox-dialog { transform: scale(1) translateY(0); opacity: 1; }
  .project-lightbox-close {
    position: absolute; top: 16px; right: 16px; z-index: 3;
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
    background: rgba(19, 15, 23, .55); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background .15s, transform .15s;
  }
  .project-lightbox-close:hover { background: rgba(19, 15, 23, .8); transform: rotate(90deg); }
  .project-lightbox-close svg { width: 16px; height: 16px; }

  /* Full-bleed photo with the title/subtitle scrimmed directly over the
     bottom of the image — no separate text panel below it. */
  .project-lightbox-media { position: relative; width: 100%; height: 100%; background: var(--brand-bg); overflow: hidden; }
  .project-lightbox-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    opacity: 0; transform: scale(1.02);
    transition: opacity .45s ease, transform .6s cubic-bezier(.22,.7,.2,1);
  }
  .project-lightbox-media img.loaded { opacity: 1; transform: scale(1); }
  .project-lightbox-media.no-image { background: linear-gradient(160deg, #241C2E, #130F17 60%); }
  .project-lightbox-media.no-image img { display: none; }

  .project-lightbox-overlay {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    max-height: 72%;
    padding: clamp(48px, 10vw, 72px) clamp(24px, 4vw, 40px) clamp(22px, 4vw, 32px);
    background: linear-gradient(to top, rgba(15,11,19,.96) 0%, rgba(15,11,19,.86) 38%, rgba(15,11,19,.35) 72%, transparent 100%);
    color: #fff; overflow-y: auto;
  }
  .project-lightbox-overlay .cat {
    font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
    color: #D7C4FF; margin-bottom: 8px;
  }
  .project-lightbox-overlay h3 { font-size: clamp(21px, 3vw, 27px); font-weight: 700; line-height: 1.22; margin-bottom: 10px; }
  .project-lightbox-subtitle { font-size: 15.5px; color: rgba(243, 239, 247, .82); line-height: 1.6; max-width: 62ch; }
  .project-lightbox-subtitle:empty { display: none; }

  @media (max-width: 560px) {
    .project-lightbox { padding: 0; }
    .project-lightbox-dialog { max-width: 100%; height: 100%; border-radius: 0; }
    .project-lightbox-overlay { max-height: 60%; padding: 40px 20px 24px; }
  }

  /* ───────────── Why choose us ───────────── */
  .why-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: stretch; }
  .why-intro { display: flex; flex-direction: column; gap: 40px; }
  .why-panel {
    position: relative; isolation: isolate; overflow: hidden; flex: 1;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 34px 30px 30px; border-radius: 16px; color: var(--brand-ink);
    background: linear-gradient(160deg, #241C2E 0%, var(--brand-bg) 62%);
    border: 1px solid var(--brand-rule); box-shadow: var(--shadow-lg);
  }
  .why-panel::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(var(--brand-line) 1px, transparent 1px), linear-gradient(90deg, var(--brand-line) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 75%); mask-image: linear-gradient(200deg, #000 0%, transparent 75%); }
  .why-panel::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(91,47,199,.45), transparent 70%); }
  .why-panel .kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #D9A441; }
  .why-panel h3 { margin-top: 10px; font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.25; }
  .why-stages { list-style: none; padding: 0; position: relative; display: grid; gap: 0; }
  .why-stages li { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 0; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
  .why-stages li::before { content: ""; position: absolute; left: 13px; top: 50%; bottom: -50%; width: 1px; background: linear-gradient(var(--brand-rule), var(--brand-rule)); }
  .why-stages li:last-child::before { display: none; }
  .why-stages .dot { position: relative; z-index: 1; flex: none; width: 27px; height: 27px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #C9A6FF; background: #2A2036; border: 1px solid rgba(201,166,255,.35); }
  .why-stages small { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--brand-muted); }
  .why-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
  .why-chips li { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; color: var(--brand-ink); background: rgba(255,255,255,.06); border: 1px solid var(--brand-rule); }
  .why-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--brand-rule); }
  .why-panel-foot span { font-size: 13px; color: var(--brand-muted); }
  .why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; counter-reset: why; }
  .why-item {
    position: relative; overflow: hidden; counter-increment: why;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    padding: 30px 28px 28px; box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(.22,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
  }
  .why-item::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.22,.7,.2,1); }
  .why-item::after { content: "0" counter(why); position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--line-strong); transition: color .3s ease; }
  .why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
  .why-item:hover::before { transform: scaleX(1); }
  .why-item:hover::after { color: var(--accent); }
  .why-item .icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background .3s ease, color .3s ease; }
  .why-item:hover .icon-wrap { background: var(--accent); color: var(--accent-ink); }
  .why-item .icon-wrap svg { width: 26px; height: 26px; }
  .why-item h3 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
  .why-item p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

  /* ───────────── Commitment (dark band) ───────────── */
  .commitment { position: relative; background: var(--brand-bg); color: var(--brand-ink); overflow: hidden; }
  .commitment::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 0%, rgba(91,47,199,.22), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(217,164,65,.08), transparent 70%); }
  .commitment .container { position: relative; }
  .commitment .section-head { max-width: 680px; margin-bottom: 60px; }
  .commitment .section-head h2 { color: var(--brand-ink); }
  .commitment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: commit; }
  .commitment-item {
    position: relative; overflow: hidden; counter-increment: commit;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
    border: 1px solid var(--brand-rule); border-radius: 14px; padding: 32px 26px 30px;
    transition: transform .3s cubic-bezier(.22,.7,.2,1), border-color .3s ease, background .3s ease;
  }
  .commitment-item::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gradient); opacity: .55; transition: opacity .3s ease; }
  .commitment-item::after { content: "0" counter(commit); position: absolute; top: 26px; right: 24px; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.22); }
  .commitment-item:hover { transform: translateY(-4px); border-color: rgba(201,166,255,.4); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); }
  .commitment-item:hover::before { opacity: 1; }
  .commitment-item .icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; color: #C9A6FF; background: rgba(201,166,255,.1); border: 1px solid rgba(201,166,255,.18); margin-bottom: 24px; }
  .commitment-item h3 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-bottom: 10px; color: var(--brand-ink); }
  .commitment-item p { font-size: 14px; line-height: 1.65; color: var(--brand-muted); }

  /* ───────────── Contact ───────────── */
  .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .contact-info h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 700; }
  .contact-info p.lede { margin-top: 14px; color: var(--muted); max-width: 46ch; }
  .contact-list { margin-top: 32px; display: grid; gap: 22px; }
  .contact-list li { list-style: none; display: flex; gap: 14px; }
  .contact-list .icon { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
  .contact-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
  .contact-list span { font-size: 15px; }

  .contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow-md); }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .field { display: grid; gap: 6px; margin-bottom: 18px; }
  .field label { font-size: 14px; font-weight: 500; }
  .input, textarea.input {
    width: 100%; height: 46px; padding: 0 14px;
    border: 1px solid var(--line-strong); border-radius: 8px;
    background: var(--surface); transition: border-color .15s, box-shadow .15s;
  }
  textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
  select.input { appearance: none; padding-right: 36px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23857D91' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
  .input::placeholder { color: var(--line-strong); }
  .input:hover { border-color: var(--muted); }
  .input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
  .input[aria-invalid="true"] { border-color: #B42318; }
  .field-error { color: #B42318; font-size: 13px; min-height: 16px; }
  .field-error:empty { display: none; }
  .form-note { margin-top: 4px; font-size: 13px; color: var(--muted); }
  .form-success {
    display: none; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 10px;
    background: #ECFDF3; color: #067647; font-size: 14.5px; margin-bottom: 20px;
  }
  .form-success.show { display: flex; }
  .form-success svg { flex: none; margin-top: 2px; }

  /* ───────────── Footer ───────────── */
  .site-footer { background: var(--brand-bg); color: var(--brand-muted); padding: 72px 0 28px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 48px; }
  .footer-brand .brand-lockup span { color: var(--brand-ink); }
  .footer-brand p { margin-top: 16px; font-size: 14px; max-width: 34ch; }
  .footer-col h4 { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--brand-ink); margin-bottom: 16px; }
  .footer-col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
  .footer-col a { font-size: 14px; color: var(--brand-muted); text-decoration: none; }
  .footer-col a:hover { color: var(--brand-ink); }
  .footer-bottom {
    margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--brand-rule);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 13px;
  }

  /* ───────────── Responsive ───────────── */
  @media (max-width: 980px) {
    section { padding: 80px 0; }
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-row { gap: 16px; }
    .nav-cta { gap: 10px; }
    .nav-toggle {
      display: inline-flex; border-radius: 10px; border: 1px solid transparent;
      transition: background .15s, border-color .15s;
    }
    .nav-toggle:hover, .nav-toggle:focus-visible { background: var(--brand-line); border-color: var(--brand-rule); }
    .hero { padding-top: 470px; }
    .hero-photo { inset: 0 0 auto 0; height: 600px; object-position: 50% 0; }
    .hero-scrim {
      background:
        linear-gradient(180deg, rgba(19,15,23,.5) 0%, transparent 14%, transparent 40%, var(--brand-bg) 590px),
        linear-gradient(0deg, var(--brand-bg) 0%, transparent 18%);
    }
    .hero::before { display: none; }
    .credibility { grid-template-columns: 1fr 1fr; }
    .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
    .why-grid { gap: 44px; }
    .values-list { grid-template-columns: 1fr; }
    .value-item:nth-child(odd):nth-last-child(2) { border-bottom: 0; }
    .value-item:last-child { border-bottom: 1px solid var(--line); }
    .project-grid { grid-template-columns: 1fr; }
    .commitment-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  }
  @media (max-width: 640px) {
    .hero { padding-top: min(92vw, 400px); }
    .hero-photo { height: min(118vw, 520px); }
    .hero-scrim {
      background:
        linear-gradient(180deg, rgba(19,15,23,.5) 0%, transparent 14%, transparent 40%, var(--brand-bg) min(112vw, 500px)),
        linear-gradient(0deg, var(--brand-bg) 0%, transparent 18%);
    }
  }
  @media (max-width: 560px) {
    section { padding: 60px 0; }
    .container { padding: 0 20px; }
    h1, h2, h3 { word-wrap: break-word; }
    .section-head h2 { font-size: clamp(24px, 5vw, 32px); }
    .section-head p { font-size: 15px; }
    img { max-width: 100%; height: auto; display: block; }
    .credibility { grid-template-columns: 1fr; gap: 16px; }
    .credibility li { font-size: 13px; }
    .commitment-grid { grid-template-columns: 1fr; }
    .why-list { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .hero-cta .btn { flex: 1 1 auto; font-size: 14px; padding: 0 16px; }
    .btn { font-size: 14px; padding: 0 18px; height: 44px; }
    .project-card img { max-height: 280px; width: 100%; }
    .service-card { margin: 0 auto; }
    .value-item { padding: 20px 0; }
  }

  @media (max-width: 420px) {
    :root { --container: 100%; --gutter: 16px; }
    section { padding: 48px 0; }
    .section-head h2 { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; }
    .section-head p { font-size: 14.5px; line-height: 1.5; }
    .btn { font-size: 13px; height: 40px; padding: 0 14px; }
    .eyebrow-rule { width: 32px; height: 2px; margin-bottom: 14px; }
    h1 { font-size: clamp(28px, 7vw, 36px); }
    h2 { font-size: clamp(20px, 5vw, 28px); }
    h3 { font-size: clamp(16px, 4vw, 20px); }
    .about-facts dd { font-size: 13px; }
    .contact-form { padding: 20px; }
    .brand-lockup .mark { width: 26px; height: 24px; }
    .brand-lockup span { font-size: 13.5px; }
    .brand-tagline { font-size: 9px; letter-spacing: .07em; margin-top: 4px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-copy, .credibility { opacity: 1; transform: none; }
  }

  /* ───────────── Tagline under logo ───────────── */
  .brand-lockup-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .brand-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-top: 5px;
    display: block;
  }

  /* ───────────── Kicker / Service Rotator ───────────── */
  .kicker {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-muted);
    min-height: 40px;
  }

  .kicker-lede { flex: none; white-space: nowrap; }

  .rotator {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 36px;
    min-width: 200px;
    overflow: hidden;
    perspective: 400px;
  }

  .rotator-pill {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(100deg, rgba(217,164,65,.14), rgba(91,47,199,.14));
    border: 1px solid rgba(217,164,65,.35);
  }

  .rotator-word {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    line-height: 36px;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #F0D9A6;
    white-space: nowrap;
  }

  .rotator-word.rot-enter {
    animation: rot-in .55s cubic-bezier(.22,.9,.24,1) forwards;
  }
  .rotator-word.rot-exit {
    animation: rot-out .4s cubic-bezier(.5,0,.75,0) forwards;
  }

  @keyframes rot-in {
    from { opacity: 0; transform: translateY(70%) rotateX(35deg); filter: blur(2px); }
    to   { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
  }
  @keyframes rot-out {
    from { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
    to   { opacity: 0; transform: translateY(-70%) rotateX(-35deg); filter: blur(2px); }
  }

  @media (max-width: 640px) {
    .kicker { flex-wrap: wrap; }
    .rotator { min-width: 170px; }
  }

/* ───────── Multi-page additions ───────── */
.skip-link{position:fixed;left:12px;top:-60px;z-index:300;background:var(--accent);color:#fff;padding:10px 16px;border-radius:8px;text-decoration:none;transition:top .2s}.skip-link:focus{top:12px}
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.22,.7,.2,1)}.js .reveal.in{opacity:1;transform:none}
.page-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--brand-bg);color:var(--brand-ink);padding:164px 0 84px}
.page-hero .ph-photo{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;filter:grayscale(20%) brightness(.55)}
.page-hero::before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(var(--brand-line) 1px,transparent 1px),linear-gradient(90deg,var(--brand-line) 1px,transparent 1px);background-size:36px 36px}
.page-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,var(--brand-bg) 0%,rgba(19,15,23,.9) 40%,rgba(19,15,23,.55) 100%),linear-gradient(0deg,var(--brand-bg),transparent 30%)}
.crumbs{display:flex;gap:8px;font-size:13px;color:var(--brand-muted);margin-bottom:18px}.crumbs a{text-decoration:none}.crumbs a:hover{color:var(--brand-ink)}
.page-hero h1{font-size:clamp(32px,4.4vw,50px);font-weight:700;line-height:1.1;max-width:20ch}
.page-hero p.lede{margin-top:18px;font-size:17.5px;color:var(--brand-muted);max-width:56ch}
.stats{padding:0;background:var(--surface);border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:38px 24px;border-right:1px solid var(--line)}.stat:last-child{border-right:0}
.stat b{display:block;font:700 clamp(32px,4vw,44px)/1 var(--font-display);background:var(--gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.stat span{display:block;margin-top:10px;font-size:13.5px;color:var(--muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.split .section-head{margin-bottom:0}
.prose-col p{color:var(--muted);margin-bottom:16px;font-size:16px}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.info-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:30px 26px;box-shadow:var(--shadow-sm)}
.info-card .kicker2{font:600 12px var(--font-display);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
.info-card h3{font-size:18px;margin-bottom:10px}.info-card p{font-size:14.5px;color:var(--muted)}
.alt{background:var(--surface-2)}
.subnav{position:sticky;top:68px;z-index:40;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.subnav .container{display:flex;gap:8px;overflow-x:auto;padding-top:12px;padding-bottom:12px;scrollbar-width:none}
.chip{flex:none;padding:8px 16px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);font-size:13.5px;font-weight:500;text-decoration:none;cursor:pointer;transition:.15s}
.chip:hover,.chip.on{background:var(--accent);border-color:var(--accent);color:#fff}
.svc-list{display:grid;gap:96px}.svc-list section{padding:0}
.svc-row{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;scroll-margin-top:140px}
.svc-list .svc-row:nth-child(even) .svc-media{order:2}
.svc-media{position:relative}.svc-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;box-shadow:var(--shadow-md)}
.svc-media .service-icon{left:20px;bottom:-22px}
.svc-copy .num{font:600 12.5px var(--font-display);letter-spacing:.1em;color:var(--accent);margin-bottom:10px}
.svc-copy h2{font-size:clamp(24px,2.6vw,30px);margin-bottom:14px}.svc-copy>p{color:var(--muted);margin-bottom:20px}
.ticks{list-style:none;padding:0;display:grid;gap:10px;margin-bottom:26px}
.ticks li{display:flex;gap:12px;font-size:15px}.ticks li::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;margin-top:8px;background:var(--gradient)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:s}
.step{counter-increment:s;position:relative;padding:30px 26px;border:1px solid var(--brand-rule);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015))}
.step::before{content:"0" counter(s);font:700 13px var(--font-display);color:#D9A441;letter-spacing:.08em}
.step h3{margin:10px 0 8px;font-size:18px}.step p{font-size:14.5px;color:var(--brand-muted)}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px}
.project-card.hide{display:none}
.project-info .ttl{font:600 clamp(16px,3.5vw,19px) var(--font-display);line-height:1.25}
@media(min-width:981px){.project-grid.three{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1.4fr .8fr .9fr 1fr}}
.cta-band{background:var(--brand-bg);color:var(--brand-ink);position:relative;overflow:hidden;padding:76px 0}
.cta-band::before{content:"";position:absolute;inset:0;background:radial-gradient(50% 120% at 90% 0,rgba(91,47,199,.3),transparent 70%),radial-gradient(40% 80% at 0 100%,rgba(217,164,65,.1),transparent 70%)}
.cta-band .container{position:relative;display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta-band h2{font-size:clamp(24px,3vw,32px);max-width:24ch}.cta-band p{color:var(--brand-muted);margin-top:10px;max-width:50ch}
.faq{display:grid;gap:12px;max-width:820px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 22px}
.faq summary{cursor:pointer;list-style:none;padding:20px 0;font:600 16px var(--font-display);display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}.faq summary::after{content:"+";color:var(--accent);font-size:22px;line-height:1}
.faq details[open] summary::after{content:"–"}.faq details p{padding-bottom:20px;color:var(--muted);font-size:15px}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.prose{max-width:760px}.prose h2{font-size:22px;margin:36px 0 10px}.prose p,.prose li{color:var(--muted);margin-bottom:12px}.prose ul{padding-left:20px}
.center-msg{min-height:100vh;display:grid;place-items:center;text-align:center;background:var(--brand-bg);color:var(--brand-ink);padding:24px}
.center-msg b{font:700 clamp(80px,16vw,150px)/1 var(--font-display);background:var(--gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.center-msg p{color:var(--brand-muted);margin:12px 0 28px}
@media(max-width:980px){.split,.svc-row{grid-template-columns:1fr;gap:36px}.svc-list .svc-row:nth-child(even) .svc-media{order:0}.cards-3,.steps{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.svc-list{gap:72px}.page-hero{padding:132px 0 60px}}

.cards-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.steps-4{grid-template-columns:repeat(4,1fr)}
.tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}.tags li{padding:9px 16px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);font-size:14px}
.progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:120;background:var(--gradient);transform:scaleX(0);transform-origin:left}
.to-top{position:fixed;right:22px;bottom:22px;z-index:90;width:44px;height:44px;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);box-shadow:var(--shadow-md);cursor:pointer;opacity:0;pointer-events:none;transition:.2s;font-size:18px}.to-top.show{opacity:1;pointer-events:auto}.to-top:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:980px){.cards-4,.steps-4{grid-template-columns:1fr 1fr}}@media(max-width:560px){.cards-4,.steps-4,.cards-2{grid-template-columns:1fr}}




/* ───────────── WhatsApp floating button ───────────── */
.wa-float {
  position: fixed; right: 20px; bottom: 80px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
}




/* Services page: bar sits right under a dark nav */
body:has(main > .subnav:first-child) .nav { background: var(--brand-bg); height: 92px; }
body:has(main > .subnav:first-child) .nav.solid { height: 78px; }
.subnav:first-child { margin-top: 92px; top: 78px; }
.subnav + .page-hero { padding-top: 88px; }



/* Projects: state dropdown */
.state-select {
  height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
}
.state-select:hover, .state-select:focus { border-color: var(--accent); outline: none; }
.pcase.state-hide { display: none; }



/* Mobile menu: restore proper button styling */
.nav-mobile-actions .btn {
  display: flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  font-family: inherit; font-size: 16px; font-weight: 600;
  border: 1px solid transparent; border-radius: 8px;
}
.nav-mobile-actions .btn-primary { color: var(--accent-ink); }
.nav-mobile-actions .btn-ghost { color: var(--brand-ink); border-color: var(--brand-rule); }




/* Service detail page */
.svc-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.svc-detail .lbl { margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-detail .ticks { margin-top: 12px; }
.svc-detail .svc-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.svc-detail-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); }
@media (max-width: 980px) {
  .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .svc-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-gallery { grid-template-columns: 1fr; }
}




/* Service detail page */
.svc-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.svc-text p { margin-top: 16px; line-height: 1.7; }
.svc-detail .lbl { margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-detail .ticks { margin-top: 12px; }
.svc-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.svc-detail-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }

.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.svc-gallery figure { margin: 0; cursor: zoom-in; }
.svc-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .25s ease; }
.svc-gallery figure:hover img { transform: scale(1.02); }
.svc-gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }

.svc-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 8, 14, .92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.svc-lb[hidden] { display: none; }
.svc-lb figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.svc-lb img { max-width: 100%; max-height: 78vh; border-radius: 8px; }
.svc-lb figcaption { margin-top: 14px; color: #fff; font-size: 15px; line-height: 1.5; }
.svc-lb-x, .svc-lb-nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.svc-lb-x { top: 16px; right: 16px; }
.svc-lb-nav { top: 50%; transform: translateY(-50%); }
.svc-lb-prev { left: 16px; }
.svc-lb-next { right: 16px; }

@media (max-width: 980px) {
  .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .svc-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-gallery { grid-template-columns: 1fr; }
  .svc-lb-nav { top: auto; bottom: 20px; transform: none; }
}




/* About: certificates grid */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.cert { display: block; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.cert img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--surface-2); border-radius: 8px; }
.cert span { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center; }
@media (max-width: 980px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }


.svc-lb-count { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .05em; }


/* Full company name beside the logo */
.brand-lockup span:not(.mark) { max-width: 200px; font-size: 14px; line-height: 1.2; text-wrap: balance; }
@media (max-width: 560px) { .brand-lockup span:not(.mark) { max-width: 150px; font-size: 12px; } }



/* About: "One team, seven service lines" diagram */
svg.hub { background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%); }
svg.hub .ln { stroke: var(--accent); stroke-opacity: .45; stroke-width: 1.6; stroke-dasharray: 5 6; animation: hubFlow 1.2s linear infinite; }
svg.hub .ct { fill: var(--brand-bg); stroke: var(--accent); stroke-width: 4; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--accent) 55%, transparent)); transform-box: fill-box; transform-origin: center; animation: hubBreathe 3.2s ease-in-out infinite; }
svg.hub .nd { fill: var(--accent); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--accent) 40%, transparent)); }
svg.hub .n { fill: #fff; font-size: 12px; font-weight: 700; }
@keyframes hubFlow { to { stroke-dashoffset: -11; } }
@keyframes hubBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { svg.hub .ln, svg.hub .ct { animation: none; } }


/* Projects hero: clickable "states" fact */
.ph-facts .ph-link { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: transform .2s ease; }
.ph-facts .ph-link:hover { transform: translateY(-3px); }
.ph-facts .ph-link:hover span { text-decoration: underline; text-underline-offset: 3px; }


.svc-lb-count { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .05em; }
