/* Velar Bureau: phone menu (js/menu.js) */
.mnav__btn, .mnav { display: none; }
@media (max-width: 720px) {
  .mnav__btn { display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; background: var(--graphite, #0E0F11); cursor: pointer; position: relative; z-index: 102; }
  .mnav__btn i { display: block; width: 18px; height: 2px; background: #E3E7ED; transition: transform .45s var(--ease); }
  .mnav-on .mnav__btn i:first-child { transform: translateY(4px) rotate(45deg); }
  .mnav-on .mnav__btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .top { z-index: 101; }
  .mnav { display: flex; flex-direction: column; justify-content: space-between; position: fixed; inset: 0; z-index: 100; padding: calc(84px + env(safe-area-inset-top, 0px)) var(--gx) calc(24px + env(safe-area-inset-bottom, 0px));
    background: #E3E7ED; color: #0E0F11; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; overflow-y: auto; }
  .mnav-on .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
  .mnav-on, .mnav-on body { overflow: hidden; }
  .mnav__list { display: flex; flex-direction: column; border-top: 1px solid rgba(14, 15, 17, .12); }
  .mnav__a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(14, 15, 17, .12); font-weight: 500; font-size: clamp(2rem, min(9.5vw, 136.8px), 2.8rem); line-height: 1; letter-spacing: -.045em;
    opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .6s var(--ease); }
  .mnav__a em { font-style: normal; font-family: var(--fd); font-stretch: 125%; font-weight: 600; font-size: .72rem; letter-spacing: 0; color: var(--signal); min-width: 22px; }
  .mnav__a.is-on span, .mnav__a:active span { color: var(--signal); }
  .mnav-on .mnav__a { opacity: 1; transform: none; transition-delay: var(--d); }
  .mnav__ft { display: grid; gap: 18px; margin-top: 32px; opacity: 0; transition: opacity .5s .35s; }
  .mnav-on .mnav__ft { opacity: 1; }
  .mnav__cta { justify-content: space-between; height: 56px; }
  .mnav__c { display: grid; gap: 4px; font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; }
  .mnav__soc { display: flex; gap: 18px; font-size: .9rem; color: #646A76; }
}


/* desktop: services dropdown */
.top__dd { position: relative; display: inline-flex; align-items: center; }
.top__ddb { display: inline-flex; align-items: center; gap: 6px; }
.top__ddb::before { content: ""; order: 2; width: 6px; height: 6px; margin-left: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.top__dd.is-open .top__ddb::before { transform: translateY(1px) rotate(-135deg); }
.top__ddm { position: absolute; left: -18px; top: calc(100% + 14px); min-width: 260px; display: flex; flex-direction: column; padding: 8px; background: #fff; border: 1px solid rgba(14, 15, 17, .08);
  box-shadow: 0 30px 60px -24px rgba(14, 15, 17, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; z-index: 120; }
.top__ddm::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.top__dd.is-open .top__ddm { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
.top .top__nav .top__ddm a { opacity: 1; transform: none; pointer-events: auto; padding: 11px 12px; font-size: .92rem; color: var(--graphite); transition: background .2s, color .2s; white-space: nowrap; }
.top .top__nav .top__ddm a::after { display: none; }
.top .top__nav .top__ddm a:hover, .top .top__nav .top__ddm a.is-on { background: #EEF1F4; color: var(--signal); }
@media (min-width: 1001px) {
  body:has(#hero) .top:not(.nav-in) .top__dd .top__ddm { display: none; }
}

/* phone: service links under "Services" */
@media (max-width: 720px) {
  .mnav__sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 14px 36px; border-bottom: 1px solid rgba(14, 15, 17, .12); opacity: 0; transform: translateY(18px); transition: opacity .4s, transform .6s var(--ease); }
  .mnav-on .mnav__sub { opacity: 1; transform: none; transition-delay: var(--d); }
  .mnav__sub a { padding: 8px 12px; border: 1px solid rgba(14, 15, 17, .14); font-size: .92rem; font-weight: 500; }
  .mnav__sub a.is-on { border-color: var(--signal); color: var(--signal); }
  .mnav__a:has(+ .mnav__sub) { border-bottom: 0; }
  .mnav__sub + .mnav__a { border-top: 0; }
}

/* footer: icons in front of the items */
.foot__grid .ft-it { display: inline-flex; align-items: center; gap: 10px; }
.foot__grid .ft-ic { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; background: rgba(14, 15, 17, .06); color: var(--graphite, #0E0F11); transition: background .25s, color .25s; }
.foot.dark .foot__grid .ft-ic { color: #0E0F11; }
.foot__grid .ft-ic svg { width: 15px; height: 15px; }
.foot__grid a.ft-it:hover .ft-ic { background: var(--signal); color: #0E0F11; }
.foot__soc { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* footer: no big VELAR BUREAU wordmark */
.foot__mark { display: none !important; }



/* home work: first project only until "show all" */
.work--short .case:nth-of-type(n+3), .work--short .work__filter { display: none !important; }
.work__more { display: flex; justify-content: center; margin-top: clamp(28px, min(3vw, 43.2px), 44px); }
.work__morebtn { gap: 14px; height: 56px; padding: 0 22px 0 26px; background: #0E0F11 !important; color: #fff !important; border: 0; cursor: pointer; }
.work__morebtn:hover { background: var(--signal) !important; color: #0E0F11 !important; }
.work__morebtn:hover em { background: #0E0F11; color: #fff; }
.work__morebtn em { font-style: normal; font-family: var(--fd); font-weight: 600; font-size: .8rem; padding: 3px 8px; background: var(--signal); color: #0E0F11; }
.work--open .case:not(:first-of-type) { animation: wkIn .8s var(--ease) both; }
.work--open .case:nth-of-type(3) { animation-delay: .08s; } .work--open .case:nth-of-type(4) { animation-delay: .16s; }
@keyframes wkIn { from { opacity: 0; transform: translateY(30px); } }

/* home "about": the numbers sit where the tiles were; the tiles live on the About page */
.mani .numbers--about { margin-top: 0; border-top: 0; }
.ab-tiles { padding-top: 0; }

/* one type system: the small "code" labels use Archivo (site font), not a separate mono face */
:root { --fm: "Archivo", "Inter Tight", "Helvetica Neue", Arial, sans-serif; }
.svx__code, .svx__tn, .svx__log, .svx__lk, .svx__cta, .svx__stats dt, .svx__cap small, .svx__pill code, .rv-nav__c { font-family: var(--fd) !important; font-stretch: 125%; font-weight: 600; letter-spacing: .02em; }
.svx__cap b, .svx__log span:not(.svx__lk) { font-family: var(--f) !important; font-stretch: 100%; font-weight: 500; letter-spacing: 0; }
.gt__p { font-family: var(--fd) !important; }

/* hero: CTA on the left, text and sector links on the right (desktop/tablet) */
@media (min-width: 721px) {
  .hx__row { flex-direction: row-reverse; }
  .hx__left { margin-left: auto; }
}

/* home work: one project, then a wide link to the Work page */
.work--short .case:nth-of-type(n+2) { display: none !important; }
.work__all { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; margin-top: clamp(12px, min(1.4vw, 20.16px), 20px);
  padding: clamp(22px, min(2.4vw, 34.56px), 34px) clamp(22px, min(2.6vw, 37.44px), 40px); border: 1px solid rgba(14, 15, 17, .14); color: #0E0F11; background: rgba(255, 255, 255, .18);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s; }
.work__all-l { display: grid; gap: 6px; }
.work__all-l small { font-family: var(--fm); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--signal); }
.work__all-l b { font-weight: 500; font-size: clamp(1.6rem, min(2.6vw, 37.44px), 2.6rem); letter-spacing: -.04em; line-height: 1; }
.work__all-m { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; font-size: .95rem; color: #646A76; }
.work__all-c { display: inline-flex; align-items: center; gap: 9px; }
.work__all-c i { width: 10px; height: 10px; }
.work__all-r { display: flex; align-items: center; gap: 18px; }
.work__all-r em { font-style: normal; font-family: var(--fd); font-stretch: 125%; font-weight: 600; font-size: clamp(1.6rem, min(2.4vw, 34.56px), 2.4rem); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px currentColor; }
.work__all-go { display: grid; place-items: center; width: 64px; height: 64px; background: #0E0F11; color: #E3E7ED; transition: background .45s var(--ease), color .45s var(--ease); }
.work__all-go svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.work__all:hover { background: #0E0F11; color: #E3E7ED; border-color: #0E0F11; }
.work__all:hover .work__all-m { color: #9CA2AD; }
.work__all:hover .work__all-go { background: var(--signal); color: #0E0F11; }
.work__all:hover .work__all-go svg { transform: translate(3px, -3px); }
@media (max-width: 900px) {
  .work__all { grid-template-columns: minmax(0, 1fr) auto; }
  .work__all-m { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .work__all-go { width: 52px; height: 52px; }
}

/* header: phone number in place of the language switch */
.top__tel { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid rgba(14, 15, 17, .14); font-weight: 500; font-size: .92rem; white-space: nowrap; transition: border-color .25s, color .25s; }
.top__tel svg { width: 16px; height: 16px; }
.top__tel:hover { border-color: #0E0F11; color: var(--signal); }
@media (max-width: 720px) { .top__tel span { display: none; } .top__tel { width: 44px; height: 44px; padding: 0; justify-content: center; } }

/* red call-to-action band: the copy in white */
.cta, .cta .cta__h, .cta__row p { color: #fff; }
.cta .mute { color: rgba(255, 255, 255, .62); }
/* footer: no big empty band above the columns */
.foot { padding-top: clamp(40px, min(4vw, 57.6px), 64px) !important; }
/* the last block before the footer keeps a normal gap, not a full section gap plus the footer's own */
main > section:last-child { padding-bottom: clamp(40px, min(4vw, 57.6px), 64px) !important; }
main > section:last-child .ct { padding-bottom: 0 !important; }
.foot__grid { padding-top: 0 !important; }

/* footer: no big e-mail band above the columns, on every page */
.foot__hero { display: none !important; }

/* hero: the sector chips are labels, not links */
.hx__sector--tag { cursor: default; pointer-events: none; }

/* active state: an icon on the orange signal plate is always white */
.step.is-on .step__ic, .process--tl .step.is-lit .step__ic,
.foot__grid a.ft-it:hover .ft-ic,
.top .top__nav .vx-ddm a:hover .vx-ddm__ic, .top .top__nav .vx-ddm a.is-on .vx-ddm__ic { color: #fff !important; }

/* why cards: 2px between the cards */
.vx-abw .why-rail { column-gap: 2px !important; grid-auto-columns: calc((min(100vw, 1440px) - 2 * var(--gx) - 4px) / 2.6); }
@media (max-width: 1100px) { .vx-abw .why-rail { grid-auto-columns: calc((100vw - 2 * var(--gx)) / 1.7); } }
@media (max-width: 700px) { .vx-abw .why-rail { grid-auto-columns: 84%; } }
