/* KX Studio's Menu: generated by scripts/build-studio-menu.mjs from src/styles/tokens.css, fonts.css, glass.css and header.css. Do not edit by hand. */
@font-face {
  font-family: 'KORTEKX Sans';
  src: url('/fonts/mona-sans-latin.woff2') format('woff2');
  font-weight: 200 600;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}
:root {
  --header-h: 56px;
  --gutter: 32px;
  --target: 44px;
  --space-8: 8px;
  --space-48: 48px;
  --faint: #8a8a8a;
  --line: #1f1f1f;
  --focus: #ff9331;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-sans: 'KORTEKX Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
@media (max-width: 639px) {
  :root {
    --gutter: 16px;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  :root {
    --gutter: 24px;
  }
}
.kxh {
  z-index: 50; /* above the panel (45) and its scrim (44), so the Close button stays on top */
}
.kxh__right {
  grid-column: 3;
}
.menu-panel .kxh__contact {
  padding: 3px 0;
  text-shadow: none;
  font-family: inherit;
}
.menu-panel {
  font-family: var(--font-sans);
}
/* the site's one focus ring (src/styles/base.css), here because Studio does not load base.css */
.menu-panel a:focus-visible,
.menu-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
/* The glass button (src/components/GlassButton.astro): the founder's pick "D Glass" of 13 Nov 2026, from the reference tpl2.html. */
.glass {
  --x: 50%;
  --y: 50%;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: rgb(255 255 255 / 0.07);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 12px 30px -12px #000;
  transition:
    background 300ms,
    transform 200ms var(--ease-out);
}

.glass--sm {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

/* the light that follows the pointer */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120px circle at var(--x) var(--y), rgb(255 255 255 / 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 300ms;
}

.glass:hover::before {
  opacity: 1;
}

.glass:active {
  transform: scale(0.97);
}

.glass:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.glass__icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.glass__bars {
  display: inline-grid;
  flex: none;
  gap: 4px;
  width: 15px;
}

.glass__bars i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentcolor;
  transition: transform 300ms var(--ease-out);
}

.glass[aria-expanded='true'] .glass__bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.glass[aria-expanded='true'] .glass__bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .glass,
  .glass::before,
  .glass__bars i {
    transition-duration: 0.01ms;
  }

  .glass:active {
    transform: none;
  }
}

/* U-MENU (D152, 16 Nov 2026): the header's Menu keeps the glass (the blur, the hairline ring) but carries its own smoked tint, so it never
   depends on what is behind it. Over white the fill comes out near rgb(105 105 105): the ink #ededed on it is 4.5:1 or more (the label is
   text, WCAG 1.4.3) and the bars 3:1 or more (1.4.11); over the dark scenes it reads as before. No colour sampling, no blend modes (they
   flicker on film frames), no change of size, place or tap area. Measured by tests/e2e/menu-contrast.spec.ts. The hero's "Book a free
   consultation" keeps the plain glass. */
.glass.menu-btn {
  color: #ededed;
  background: rgb(12 12 12 / 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.22),
    inset 0 1px 0 rgb(255 255 255 / 0.16),
    0 2px 12px rgb(0 0 0 / 0.28);
}

.glass.menu-btn .glass__bars,
.glass.menu-btn .glass__label {
  filter: drop-shadow(0 0 1px rgb(0 0 0 / 0.6));
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgb(0 0 0 / 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms;
}

.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  /* INT2: the whole viewport, the scrollbar gutter included (the landing keeps scrollbar-gutter: stable, so with the page locked a
     right: 0 panel stopped 15 px short at 1440 wide) */
  width: 100vw;
  z-index: 45;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 0.8fr) 1.2fr;
  gap: 40px;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--space-48))
    max(var(--gutter), env(safe-area-inset-right, 0px)) var(--space-48)
    max(var(--gutter), env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--line);
  background: #000;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 550ms cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s 550ms;
  visibility: hidden;
}

.menu-panel.is-open {
  clip-path: inset(0);
  visibility: visible;
  transition:
    clip-path 550ms cubic-bezier(0.7, 0, 0.2, 1),
    visibility 0s;
}

.menu-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel__nav {
  grid-column: 2;
}

.menu-panel__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The reference's link: 500 weight, clamp(24px, 2.3vw, 36px), the idle ones dim, the one hovered or focused (and the page you are on) white. */
.menu-panel__link {
  display: inline-block;
  min-height: var(--target);
  padding: 3px 0;
  color: var(--faint);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-decoration: none;
  transition: color 250ms;
}

.menu-panel__link:hover,
.menu-panel__link:focus-visible,
.menu-panel__link[aria-current='page'] {
  color: #fff;
}

.menu-panel__link:focus-visible {
  outline-offset: 4px;
}

/* The letter swap (header-menu.ts): the real text goes clear and a copy drawn from data-fx shows the random letters over it, so the
   DOM text never changes and the link keeps its size. */
.menu-panel__link {
  position: relative;
}

.menu-panel__link.is-scrambling {
  color: transparent;
  transition: none;
}

.menu-panel__link.is-scrambling::after {
  content: attr(data-fx);
  position: absolute;
  top: 3px;
  left: 0;
  color: #fff;
  white-space: nowrap;
}

/* A phone (and a narrow tablet): the panel fills the screen. */
@media (max-width: 819.98px) {
  .menu-panel {
    bottom: 0;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 22px;
    padding-bottom: max(var(--space-48), env(safe-area-inset-bottom, 0px));
    overflow: auto;
  }

  .menu-panel__nav {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-panel,
  .menu-panel.is-open {
    transition-duration: 0.01ms, 0s;
  }

  .menu-scrim {
    transition: none;
  }
}

/* The page does not scroll while the panel is open (header-menu.ts also stops the wheel and the touch). */
html.kx-menu-open,
html.kx-menu-open body {
  overflow: hidden;
}

/* ---- the right of the header: the "Let's Talk" pill, then Menu (U8; Lusion's layout). Last in the file, so it is part of the slice that
   scripts/build-studio-menu.mjs copies for the Studio's header. A solid pill: no backdrop-filter. ---------------------------------------- */
.site-header__right,
.kxh__right {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.talk-pill {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ededed;
  color: #0a0a0a;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 200ms;
}

.talk-pill:hover {
  background: #fff;
}

.talk-pill:active {
  background: #d4d4d4;
}

.talk-pill:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* While the panel is open the pill is not offered (it keeps its place, so nothing moves): the panel has its own Contact us. */
[data-menu-open] .talk-pill {
  visibility: hidden;
}

@media (max-width: 389.98px) {
  .talk-pill,
  .site-header__right .glass--sm {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .talk-pill {
    transition: none;
  }
}
