:root {
  --ink: #0b0d0e;
  --ink-2: #25282b;
  --muted: #62676c;
  --paper: #f6f7f0;
  --paper-2: #ffffff;
  --paper-3: #eef2e8;
  --line: rgba(11, 13, 14, 0.14);
  --line-soft: rgba(11, 13, 14, 0.08);
  --line-dark: rgba(255, 255, 255, 0.18);
  --acid: #d9ff4f;
  --cyan: #80e7ff;
  --accent: var(--acid);
  --accent-2: var(--cyan);
  --accent-wash: #edf6de;
  --coral: var(--cyan);
  --green: var(--acid);
  --violet: var(--cyan);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(11, 13, 14, 0.12);
  --shadow-soft: 0 18px 48px rgba(32, 38, 34, 0.08);
  --type-heading: clamp(40px, 5.6vw, 88px);
  --type-body: clamp(16px, 1.35vw, 19px);
  --type-meta: 12px;
  --leading-heading: 0.96;
  --section-y: clamp(68px, 8vw, 112px);
  --section-gap: clamp(28px, 4.4vw, 52px);
  --card-pad: clamp(22px, 3.2vw, 42px);
  --shell-gutter: clamp(48px, 6vw, 128px);
  --shell-width: calc(100% - var(--shell-gutter));
  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: var(--type-body);
  line-height: 1.5;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 100vw;
}

body.nav-open {
  overflow: hidden;
}

main,
.site-footer {
  transform-origin: 0 var(--menu-origin-y, 0px);
  transition:
    transform 0.56s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.32s ease;
  will-change: transform;
}

body.work-menu-open main,
body.work-menu-open .site-footer {
  filter: saturate(0.92) brightness(0.94);
  transform: translate3d(clamp(286px, 22vw, 330px), 0, 0) scale(0.76);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: var(--scroll, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.admin-bar {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 1200;
  display: flex;
  max-width: min(620px, calc(100vw - 28px));
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(11, 13, 14, 0.86);
  color: #fff;
  box-shadow: 0 18px 52px rgba(11, 13, 14, 0.28);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.admin-bar strong {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--active-accent, var(--acid)), white 12%);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.admin-bar span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-bar span[data-tone="saving"],
.admin-bar span[data-tone="editing"] {
  color: var(--cyan);
}

.admin-bar span[data-tone="saved"] {
  color: var(--acid);
}

.admin-bar span[data-tone="error"] {
  color: #ffb7a8;
}

.admin-bar a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body.admin-mode .admin-editable {
  border-radius: 6px;
  cursor: text;
  transition:
    background 0.16s ease,
    box-shadow 0.16s ease,
    outline-color 0.16s ease;
}

body.admin-mode .admin-editable:hover {
  background: color-mix(in srgb, var(--active-accent, var(--acid)), transparent 82%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--active-accent, var(--acid)), transparent 28%),
    0 10px 28px rgba(11, 13, 14, 0.1);
}

body.admin-mode .admin-editing,
body.admin-mode .admin-editing:focus {
  outline: 2px solid color-mix(in srgb, var(--active-accent, var(--acid)), white 10%);
  outline-offset: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(11, 13, 14, 0.18);
}

.site-header {
  position: fixed;
  inset: 16px auto auto clamp(16px, 2.8vw, 42px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: calc(100vw - 32px);
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  pointer-events: auto;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.24s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.scrolled {
  background: transparent;
}

body.work-menu-open .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-110%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 3px 13px 3px 3px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--active-accent, var(--acid)), white 54%),
      rgba(255, 255, 255, 0.74));
  color: var(--ink);
  pointer-events: auto;
  text-decoration: none;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 10px 28px rgba(11, 13, 14, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.brand:hover {
  border-color: color-mix(in srgb, var(--active-accent, var(--acid)), transparent 35%);
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--active-accent, var(--acid)), white 42%),
      rgba(255, 255, 255, 0.84));
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--active-accent, var(--acid)), #fff 72%);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 600;
}

.brand-text {
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: end;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.74),
      color-mix(in srgb, var(--active-accent, var(--acid)), white 54%));
  color: var(--ink);
  font-weight: 700;
  pointer-events: auto;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 10px 28px rgba(11, 13, 14, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-toggle:hover {
  border-color: color-mix(in srgb, var(--active-accent, var(--acid)), transparent 35%);
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.84),
      color-mix(in srgb, var(--active-accent, var(--acid)), white 42%));
  transform: translateY(-1px);
}

.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--active-accent, var(--acid)), transparent 12%);
}

.nav-toggle-label {
  font-size: 14px;
  line-height: 1;
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
}

.nav-toggle-icon i {
  display: block;
  width: 14px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.locale-switch {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  pointer-events: auto;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 10px 28px rgba(11, 13, 14, 0.12);
}

.locale-switch button {
  display: inline-grid;
  min-width: 38px;
  min-height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  background: transparent;
  color: rgba(11, 13, 14, 0.58);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.locale-switch button:hover,
.locale-switch button:focus-visible {
  color: var(--ink);
}

.locale-switch button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--active-accent, var(--acid)), white 48%);
  color: var(--ink);
}

body.work-menu-open .nav-toggle-icon i:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.work-menu-open .nav-toggle-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.work-explorer {
  --work-bg: #0d1215;
  --work-accent: #d9ff4f;
  --work-wash: #27341a;
  --work-bg-image: none;
  position: relative;
  min-height: 100svh;
  padding: 86px clamp(22px, 3vw, 56px) 24px;
  overflow: hidden;
  contain: paint;
  color: #fff;
  background: var(--work-bg);
  transition: background 0.48s ease;
}

.work-explorer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 44%, rgba(0, 0, 0, 0.04), transparent 34%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), transparent 44%, rgba(0, 0, 0, 0.34));
}

.work-backdrop,
.work-photo,
.work-map,
.work-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  max-width: 100vw;
}

.work-backdrop {
  opacity: 1;
  background: var(--work-bg);
}

.work-photo {
  background-image: var(--work-bg-image);
  background-position: center;
  background-size: cover;
  filter: blur(1px) saturate(1.08) contrast(1.04) brightness(1.04);
  opacity: 0;
  transform: scale(1.006);
  transition: opacity 0.48s ease, filter 0.48s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-explorer.has-backdrop .work-photo {
  opacity: 0.98;
  transform: scale(1.002);
}

.work-map {
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(25deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--work-wash), transparent 78%), transparent 64%),
    linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.2));
  background-size: 118px 118px, 164px 164px, 100% 100%, 100% 100%;
  filter: saturate(1.06);
  opacity: 0.74;
  transform: scale(1.08) rotate(-2deg);
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.work-explorer.has-backdrop .work-map {
  opacity: 0.12;
  filter: saturate(0.86) contrast(1);
  mix-blend-mode: overlay;
}

.work-scanlines {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 7px;
  mix-blend-mode: screen;
  opacity: 0.12;
}

.work-frame {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 1920px);
  min-height: calc(100svh - 110px);
  margin-inline: auto;
  grid-template-columns: minmax(155px, 230px) minmax(240px, 0.62fr) minmax(500px, 680px);
  grid-template-rows: minmax(360px, 1fr) auto;
  gap: clamp(24px, 2.8vw, 52px);
  padding: clamp(30px, 3.5vw, 58px);
  border: 1px solid transparent;
  border-radius: 0;
  overflow: visible;
  transform-origin: 42% 50%;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    border-radius 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.work-frame > * {
  min-width: 0;
}

.work-frame::before {
  display: none;
}

.work-explorer.has-backdrop .work-frame::before {
  background: none;
}

body.work-menu-open .work-frame {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.work-left {
  --work-title-slot: clamp(228px, 27vh, 270px);
  z-index: 4;
  display: grid;
  grid-template-rows: var(--work-title-slot) auto auto auto;
  align-items: flex-start;
  align-content: start;
  grid-row: 1 / span 2;
  grid-column: 1 / 3;
  align-self: start;
  width: min(44vw, 640px);
  padding-top: clamp(34px, 7vh, 64px);
}

.work-label {
  margin: clamp(16px, 2.6vh, 28px) 0 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-pills {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  touch-action: pan-x;
}

.work-mobile-picker {
  position: relative;
  display: none;
  width: min(100%, 380px);
}

.work-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  padding: 0 50px 0 18px;
  appearance: none;
  -webkit-appearance: none;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--work-accent), transparent 76%), rgba(255, 255, 255, 0.14));
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.work-select option {
  color: var(--ink);
  background: #fff;
}

.work-mobile-picker span {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  transform: translateY(-64%) rotate(45deg);
}

.work-pill {
  min-height: 38px;
  max-width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--type-body);
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.work-pill:hover,
.work-pill:focus-visible,
.work-pill.active {
  border-color: rgba(255, 255, 255, 0.76);
  background: color-mix(in srgb, var(--work-accent), transparent 75%);
  color: #fff;
  transform: translateX(8px);
}

.work-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 8px;
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: var(--type-body);
  text-decoration: none;
}

.work-center {
  z-index: 2;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  padding: 0;
}

.work-kicker {
  max-width: min(560px, 34vw);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.15vw, 24px);
  font-weight: 500;
  line-height: 1.34;
  transition: color 0.32s ease;
}

.work-title {
  align-self: end;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(66px, 6.8vw, 126px);
  font-weight: 500;
  line-height: 0.86;
  overflow-wrap: normal;
  text-wrap: balance;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
  transition: opacity 0.22s ease, transform 0.35s ease;
}

.work-title.switching,
.work-note.switching {
  opacity: 0.24;
  transform: translate3d(0, 10px, 0);
}

.work-media {
  z-index: 3;
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: min(100%, 690px);
  opacity: 0;
  transform: translate3d(18px, 14px, 0) scale(0.97);
  transition: opacity 0.34s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-media.settled {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.work-product-screen,
.work-generated {
  width: 100%;
  min-width: 0;
  min-height: clamp(360px, 34vw, 520px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
}

.work-product-screen {
  position: relative;
  margin: 0;
}

.work-product-screen img {
  width: 100%;
  height: clamp(360px, 34vw, 520px);
  object-fit: cover;
  object-position: top left;
  filter: saturate(1.04) contrast(1.03);
}

.work-product-screen figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.58);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 500;
}

.work-generated {
  position: relative;
  display: grid;
  align-content: space-between;
  padding: clamp(24px, 2.7vw, 40px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--work-accent), transparent 74%), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)),
    var(--work-wash);
}

.work-generated::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.3;
}

.generated-top,
.generated-core,
.generated-grid {
  position: relative;
  z-index: 1;
}

.generated-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 500;
  text-transform: uppercase;
}

.generated-core {
  max-width: 540px;
  min-width: 0;
}

.generated-core strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(40px, 3.8vw, 66px);
  font-weight: 600;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.generated-core p {
  max-width: 500px;
  overflow-wrap: anywhere;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.08vw, 21px);
  line-height: 1.42;
}

.generated-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-self: end;
  min-width: 0;
}

.generated-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 500;
}

.work-note {
  z-index: 4;
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  width: min(100%, 460px);
  padding-bottom: 22px;
  transition: opacity 0.28s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--work-accent);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 600;
  text-transform: uppercase;
}

.work-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.12vw, 22px);
  line-height: 1.34;
}

.work-note a {
  display: inline-flex;
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.work-proof {
  z-index: 4;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(720px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.work-proof .proof-item {
  min-height: 82px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.work-proof .proof-item strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1;
}

.work-proof .proof-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
}

.portal-nav {
  position: fixed;
  z-index: 1100;
  top: clamp(18px, 3vw, 42px);
  left: clamp(16px, 2.4vw, 42px);
  display: grid;
  width: min(276px, 23vw);
  max-height: calc(100svh - 48px);
  gap: 12px;
  overflow: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-28px, 0, 0);
  transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.work-menu-open .portal-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  width: fit-content;
  padding: 4px 14px 4px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--active-accent, var(--acid)), white 52%),
      rgba(255, 255, 255, 0.74));
  color: var(--ink);
  text-decoration: none;
  opacity: 0;
  transform: translate3d(0, -24px, 0);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 10px 28px rgba(11, 13, 14, 0.12);
  transition:
    opacity 0.28s ease 0.08s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

body.work-menu-open .portal-brand {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.locale-switch-menu {
  width: fit-content;
  opacity: 0;
  transform: translate3d(0, -18px, 0);
  transition:
    opacity 0.28s ease 0.12s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

body.work-menu-open .locale-switch-menu {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.portal-close {
  display: grid;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--active-accent, var(--acid)), transparent 8%);
  border-radius: 999px;
  padding: 0;
  background: color-mix(in srgb, var(--active-accent, var(--acid)), white 44%);
  color: var(--ink);
  font-weight: 700;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 10px 28px rgba(11, 13, 14, 0.12);
  transition: background 0.18s ease, transform 0.18s ease;
}

.portal-close:hover {
  background: color-mix(in srgb, var(--active-accent, var(--acid)), white 34%);
  transform: translateY(-1px);
}

.portal-close span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.portal-close b {
  font-size: 24px;
  line-height: 1;
}

.portal-links {
  display: grid;
  gap: 6px;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.portal-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--active-accent, var(--acid)), white 62%),
      rgba(255, 255, 255, 0.66));
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translate3d(-14px, 0, 0);
  transition:
    opacity 0.28s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.18s ease,
    color 0.18s ease;
}

.portal-links a:hover,
.portal-links a:focus-visible {
  outline: 1px solid color-mix(in srgb, var(--active-accent, var(--acid)), transparent 18%);
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--active-accent, var(--acid)), white 45%),
      rgba(255, 255, 255, 0.78));
  color: var(--ink);
}

body.work-menu-open .portal-links a {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.work-menu-open .portal-links a:nth-child(1) {
  transition-delay: 0.08s;
}

body.work-menu-open .portal-links a:nth-child(2) {
  transition-delay: 0.12s;
}

body.work-menu-open .portal-links a:nth-child(3) {
  transition-delay: 0.16s;
}

.portal-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 16px;
  background: var(--work-accent);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translate3d(-14px, 0, 0);
  transition:
    opacity 0.28s ease 0.2s,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    background 0.18s ease;
}

body.work-menu-open .portal-cta {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 126px clamp(18px, 5vw, 68px) 34px;
  overflow: hidden;
  background: #0b0d0e;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(0deg, #0b0d0e, transparent);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.44;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.45), #000 48%, rgba(0, 0, 0, 0.25));
}

.interface-window {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 0.22s ease-out;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.window-bar span:nth-child(2) {
  background: var(--acid);
}

.window-bar span:nth-child(3) {
  background: var(--cyan);
}

.window-bar b {
  margin-left: 6px;
  font-weight: 700;
}

.window-main {
  right: clamp(-42px, 4vw, 68px);
  top: 125px;
  width: min(42vw, 520px);
  min-width: 360px;
}

.system-map {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
  padding: 22px;
}

.system-node {
  display: grid;
  min-height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.node-hot {
  background: rgba(255, 107, 74, 0.28);
}

.node-green {
  color: var(--ink);
  background: var(--acid);
}

.system-line {
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--cyan));
}

.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.metric-row strong {
  color: #fff;
}

.window-shot {
  right: clamp(8px, 3vw, 46px);
  bottom: 78px;
  width: min(32vw, 430px);
}

.window-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  filter: saturate(1.08) contrast(1.04);
}

.window-ai {
  left: auto;
  right: clamp(18px, 6vw, 90px);
  top: 500px;
  width: min(24vw, 300px);
  min-width: 260px;
}

.ai-lines {
  display: grid;
  gap: 10px;
  padding: 22px 22px 0;
}

.ai-lines i {
  height: 10px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--cyan), rgba(255, 255, 255, 0.16));
}

.ai-lines i:nth-child(2) {
  width: 72%;
  background: linear-gradient(90deg, var(--acid), rgba(255, 255, 255, 0.16));
}

.ai-lines i:nth-child(3) {
  width: 88%;
  background: linear-gradient(90deg, var(--coral), rgba(255, 255, 255, 0.16));
}

.ai-lines i:nth-child(4) {
  width: 54%;
}

.window-ai p {
  margin: 16px 22px 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.window-phone {
  left: auto;
  right: clamp(170px, 21vw, 320px);
  top: 268px;
  width: 156px;
  background: rgba(255, 255, 255, 0.14);
}

.phone-shell {
  display: grid;
  gap: 12px;
  min-height: 236px;
  padding: 24px 18px;
  border: 8px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: #121417;
}

.phone-shell span,
.phone-shell small {
  color: rgba(255, 255, 255, 0.58);
}

.phone-shell strong {
  align-self: center;
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 30px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--acid);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  line-height: var(--leading-heading);
}

h1 {
  max-width: 660px;
  font-size: var(--type-heading);
  font-weight: 600;
}

.hero-lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--type-body);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--acid);
  color: var(--ink);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(11, 13, 14, 0.1);
}

.hero-proof {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-item {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
}

.ticker-section {
  overflow: hidden;
  max-width: 100vw;
  contain: paint;
  border-block: 1px solid var(--line);
  background: var(--acid);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 14px 0;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  white-space: nowrap;
}

.section {
  padding: var(--section-y) 0;
}

.section-shell {
  width: var(--shell-width);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--section-gap);
}

.section-heading h2 {
  font-size: var(--type-heading);
  line-height: var(--leading-heading);
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--type-body);
}

.heading-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.product-contour-section {
  padding-bottom: clamp(96px, 14vw, 190px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(238, 242, 233, 0.78) 100%),
    var(--paper);
}

.product-contour-section .section-heading {
  max-width: min(1240px, 100%);
  margin-left: 0;
}

.product-contour-section .section-heading .eyebrow {
  font-size: 15px;
  line-height: 1.4;
}

.product-contour-section .section-heading h2 {
  max-width: 1520px;
  font-size: 92px;
  line-height: 0.94;
}

.product-contour-section .section-heading p:not(.eyebrow) {
  max-width: 980px;
  font-size: 24px;
  line-height: 1.48;
}

.product-contour-stack {
  --stack-top: clamp(76px, 10vh, 108px);
  --stack-height: 398vh;
  position: relative;
  display: block;
  min-height: var(--stack-height);
  min-width: 0;
}

.contour-viewport {
  position: sticky;
  top: var(--stack-top);
  height: clamp(510px, 66vh, 680px);
  min-width: 0;
  perspective: 1800px;
}

.contour-card {
  --contour-offset: 0px;
  --deck-y: 108%;
  --deck-scale: 1;
  --deck-opacity: 0;
  --deck-shadow: 0.12;
  position: absolute;
  inset: 0;
  z-index: var(--deck-z, calc(10 + var(--card-index)));
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(140px, 0.24fr) minmax(560px, 1.34fr) minmax(320px, 0.48fr);
  gap: clamp(30px, 3.8vw, 72px);
  align-items: stretch;
  padding: var(--card-pad) var(--card-pad) clamp(40px, 4vw, 64px);
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, white);
  border-radius: 8px;
  overflow: hidden;
  color: var(--card-fg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34)),
    radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--card-accent) 26%, transparent) 0 16%, transparent 44%),
    linear-gradient(135deg, var(--card-bg), color-mix(in srgb, var(--card-bg) 70%, var(--card-wash)));
  box-shadow:
    0 34px 96px rgba(16, 20, 19, var(--deck-shadow)),
    0 14px 34px rgba(16, 20, 19, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  opacity: var(--deck-opacity);
  transform: translate3d(0, var(--deck-y), 0) scale(var(--deck-scale));
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  transition:
    opacity 0.16s linear,
    transform 0.18s linear,
    box-shadow 0.55s ease;
  pointer-events: none;
}

.contour-card.is-deck-active {
  pointer-events: auto;
}

.contour-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.44), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 112px);
  opacity: 0.36;
}

.contour-card::after {
  content: "";
  position: absolute;
  inset: auto 7% -30px;
  height: 50px;
  pointer-events: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 24%, transparent);
  filter: blur(28px);
  opacity: 0.34;
}

.contour-card > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.contour-meta,
.contour-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-width: 0;
}

.contour-index {
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 76px;
  line-height: 0.78;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--card-accent) 88%, var(--card-fg));
}

.contour-kicker {
  max-width: 360px;
  min-width: 0;
  color: color-mix(in srgb, var(--card-fg) 58%, transparent);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.45;
  text-transform: uppercase;
}

.contour-main {
  align-self: center;
}

.contour-main h3 {
  max-width: 1080px;
  font-size: 92px;
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.contour-main p {
  max-width: 840px;
  margin: clamp(18px, 3vw, 30px) 0 0;
  color: color-mix(in srgb, var(--card-fg) 64%, transparent);
  font-size: 24px;
  line-height: 1.44;
  overflow-wrap: anywhere;
}

.contour-side {
  align-items: flex-start;
  justify-content: center;
}

.contour-deliverables,
.contour-examples-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contour-deliverables span,
.contour-examples-list span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, white);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: color-mix(in srgb, var(--card-fg) 76%, transparent);
  font-size: 16px;
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.contour-examples {
  display: grid;
  gap: 12px;
}

.contour-examples-label {
  display: block;
  color: color-mix(in srgb, var(--card-fg) 50%, transparent);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.contour-examples-list span {
  border-color: color-mix(in srgb, var(--card-accent) 42%, transparent);
  background: color-mix(in srgb, var(--card-accent) 18%, white);
  color: color-mix(in srgb, var(--card-fg) 86%, transparent);
}

.service-index,
.case-industry,
.product-status,
.update-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 500;
  text-transform: uppercase;
}

.stack-cloud span,
.product-tags span,
.case-stack span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: #eef0e7;
  color: var(--ink-2);
  font-size: var(--type-meta);
  font-weight: 700;
}

.cases-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(217, 255, 79, 0.12), transparent 30%),
    linear-gradient(180deg, #15181a 0%, #0f1113 100%);
  color: #fff;
}

.cases-section .section-heading p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
}

.case-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.case-tab {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--type-meta);
  font-weight: 700;
}

.case-tab span {
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
}

.case-tab.active {
  border-color: rgba(217, 255, 79, 0.58);
  background: var(--acid);
  color: var(--ink);
}

.case-tab.active span {
  color: rgba(16, 20, 17, 0.54);
}

.case-stage {
  margin-inline: 0;
  padding-inline: 0;
}

.case-rail {
  display: grid;
  grid-auto-columns: minmax(480px, 36vw);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 0 22px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
}

.case-proof-card {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  scroll-snap-align: center;
  padding: var(--card-pad);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  text-align: left;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.case-proof-card:hover,
.case-proof-card:focus-visible,
.case-proof-card.active {
  border-color: rgba(217, 255, 79, 0.62);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.case-card-number {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 700;
}

.case-proof-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.case-status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(217, 255, 79, 0.14);
  color: var(--acid);
  font-size: var(--type-meta);
  font-weight: 700;
}

.case-industry {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 600;
  text-transform: uppercase;
}

.case-proof-card h3 {
  margin-top: 12px;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.92;
}

.case-proof-title {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--type-body);
  line-height: 1.28;
}

.case-proof-summary {
  max-width: 440px;
  margin: -4px 0 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.5;
}

.case-proof-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.case-proof-grid div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-proof-grid strong {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--type-meta);
}

.case-proof-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.case-evidence {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.case-evidence > strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--type-meta);
}

.case-evidence ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-evidence li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.42;
}

.case-evidence li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--acid);
}

.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.case-stack span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.system-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 88px);
}

.process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 62px 0.58fr 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 24px;
  background: var(--paper-2);
}

.process-list span {
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-weight: 600;
}

.process-list strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.08;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.products-section {
  background: var(--paper-2);
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.product-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--type-meta);
  font-weight: 600;
}

.product-card h3 {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 600;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-image {
  margin: auto -22px -22px;
  border-top: 1px solid var(--line);
}

.product-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.product-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.evidence-section {
  color: #fff;
  background: var(--ink);
}

.evidence-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.evidence-section h2 {
  font-size: var(--type-heading);
}

.evidence-panel {
  border-left: 1px solid var(--line-dark);
  padding-left: clamp(22px, 4vw, 48px);
}

.evidence-panel p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--type-body);
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.stack-cloud span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-section {
  position: relative;
  padding: clamp(68px, 8vw, 116px) 0 clamp(42px, 5vw, 76px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(128, 231, 255, 0.2), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(217, 255, 79, 0.16), transparent 34%),
    linear-gradient(180deg, #111416 0%, #080a0b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.contact-backdrop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acid), var(--cyan), transparent);
  opacity: 0.76;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

.contact-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 520px);
  gap: var(--section-gap);
  align-items: center;
  padding: clamp(32px, 4.3vw, 58px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: min(380px, 54vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acid), var(--cyan));
}

.contact-cta .eyebrow {
  grid-column: 1 / -1;
  align-self: start;
  margin: 4px 0 calc(var(--section-gap) * -0.55);
  color: var(--cyan);
}

.contact-cta > div:not(.contact-actions) {
  grid-column: 1;
}

.contact-actions {
  grid-column: 2;
}

.contact-cta h2 {
  max-width: 1040px;
  color: #fff;
  font-size: clamp(54px, 6vw, 96px);
  line-height: var(--leading-heading);
  letter-spacing: 0;
}

.contact-cta p:not(.eyebrow) {
  margin: clamp(16px, 2vw, 24px) 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.44;
}

.contact-actions {
  display: grid;
  gap: 12px;
  align-self: center;
}

.contact-action {
  display: inline-flex;
  min-height: 56px;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--ink);
  font-size: clamp(17px, 1.1vw, 21px);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.contact-action.primary {
  background: var(--acid);
  color: var(--ink);
}

.contact-action.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-action:hover,
.contact-action:focus-visible {
  transform: translateY(-2px);
}

.contact-action.secondary:hover,
.contact-action.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-strip {
  display: grid;
  grid-template-columns: 0.88fr 1fr 1.1fr;
  gap: var(--section-gap);
  align-items: start;
  padding-top: clamp(14px, 2vw, 24px);
}

.contact-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-item strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 800;
  line-height: 1.08;
}

.contact-item:hover strong,
.contact-item:focus-visible strong {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 68px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.52s ease,
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(min(var(--card-index, 0), 6) * 42ms);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.contour-card.reveal {
  opacity: var(--deck-opacity);
  transform: translate3d(0, var(--deck-y), 0) scale(var(--deck-scale));
  transition:
    opacity 0.16s linear,
    transform 0.18s linear,
    box-shadow 0.55s ease;
}

.contour-card.reveal.visible {
  opacity: var(--deck-opacity);
  transform: translate3d(0, var(--deck-y), 0) scale(var(--deck-scale));
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  body.work-menu-open main,
  body.work-menu-open .site-footer {
    transform: translate3d(clamp(220px, 24vw, 280px), 0, 0) scale(0.74);
  }

  .work-frame {
    grid-template-columns: minmax(130px, 190px) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
  }

  .work-left {
    --work-title-slot: clamp(170px, 22vh, 220px);
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, 620px);
    padding-top: clamp(48px, 7vh, 82px);
  }

  .work-center {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
  }

  .work-kicker {
    max-width: min(100%, 520px);
    margin: 0;
  }

  .work-media {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
  }

  .work-note {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: start;
    width: min(100%, 520px);
  }

  .work-proof {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .product-contour-stack {
    --stack-top: clamp(72px, 9vh, 96px);
  }

  .contour-viewport {
    height: clamp(560px, 68vh, 720px);
  }

  .contour-card {
    grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  }

  .product-contour-section .section-heading h2 {
    max-width: 860px;
    font-size: 74px;
  }

  .product-contour-section .section-heading p:not(.eyebrow) {
    max-width: 760px;
    font-size: 20px;
  }

  .contour-index {
    font-size: 68px;
  }

  .contour-main h3 {
    max-width: 760px;
    font-size: 74px;
  }

  .contour-main p {
    max-width: 720px;
    font-size: 20px;
  }

  .contour-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
  }

  .contour-deliverables,
  .contour-examples-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-rail {
    grid-auto-columns: minmax(420px, 58vw);
  }

  .system-layout,
  .evidence-layout,
  .contact-cta,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    grid-column: auto;
    width: min(100%, 480px);
  }
}

@media (max-width: 820px) {
  main,
  .site-footer {
    transform-origin: center var(--menu-origin-y, 0px);
  }

  body.work-menu-open main,
  body.work-menu-open .site-footer {
    transform: translate3d(0, min(392px, 54svh), 0) scale(0.9);
  }

  .site-header {
    inset: 12px auto auto 12px;
    max-width: calc(100vw - 24px);
    gap: 7px;
  }

  .brand {
    min-height: 42px;
    padding: 3px 11px 3px 3px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-toggle {
    min-height: 42px;
    padding: 0 13px;
  }

  .work-explorer {
    min-height: auto;
    padding: 88px 12px 24px;
  }

  .portal-nav {
    position: fixed;
    inset: 14px 12px auto;
    width: auto;
    max-height: calc(100svh - 28px);
    overflow: auto;
    overflow-x: hidden;
    transform: translate3d(0, -16px, 0);
  }

  .portal-close {
    width: 44px;
    height: 44px;
  }

  .portal-brand {
    min-height: 44px;
    padding: 4px 13px 4px 4px;
  }

  .portal-links {
    grid-template-columns: 1fr;
  }

  .portal-links a {
    min-height: 48px;
    font-size: 16px;
    transform: translate3d(0, -10px, 0);
  }

  body.work-menu-open .portal-links a {
    transform: translate3d(0, 0, 0);
  }

  .portal-cta {
    transform: translate3d(0, -10px, 0);
  }

  body.work-menu-open .portal-cta {
    transform: translate3d(0, 0, 0);
  }

  .work-frame {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 24px;
    padding: 18px;
  }

  .work-left,
  .work-center,
  .work-media,
  .work-note,
  .work-proof {
    grid-column: 1;
    grid-row: auto;
  }

  .work-left {
    --work-title-slot: 112px;
    align-self: start;
    width: 100%;
    padding-top: 0;
  }

  .work-pills {
    display: none;
  }

  .work-mobile-picker {
    display: block;
  }

  .work-pill,
  .work-link {
    flex: 0 0 auto;
    min-height: 36px;
    padding-inline: 14px;
    font-size: 15px;
  }

  .work-pill:hover,
  .work-pill:focus-visible,
  .work-pill.active {
    transform: translateY(-2px);
  }

  .work-link {
    margin-top: 10px;
  }

  .work-center {
    padding: 8px 0 0;
  }

  .work-kicker {
    margin: 0 0 20px;
    font-size: 15px;
  }

  .work-title {
    font-size: clamp(48px, 15vw, 72px);
    line-height: 0.86;
    overflow-wrap: normal;
  }

  .work-media {
    min-height: 0;
  }

  .work-product-screen,
  .work-generated {
    min-height: 330px;
  }

  .work-product-screen img {
    height: 330px;
  }

  .work-note {
    width: 100%;
    padding-bottom: 0;
  }

  .work-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-scene {
    position: relative;
    order: 1;
    min-height: 430px;
    margin: 42px -18px 0;
  }

  .hero-proof {
    order: 2;
  }

  .hero-copy,
  .hero-proof {
    position: relative;
  }

  .window-main {
    top: 22px;
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
  }

  .window-shot {
    left: 58px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  .window-ai {
    left: 16px;
    top: 230px;
    min-width: 0;
    width: 230px;
  }

  .window-phone {
    right: 18px;
    left: auto;
    top: 210px;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .heading-row {
    align-items: start;
    flex-direction: column;
  }

  .case-controls {
    justify-content: flex-start;
  }

  .contact-actions {
    width: min(100%, 460px);
    max-width: none;
  }

  .form-row,
  .process-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .work-frame {
    padding: 14px;
  }

  .work-proof {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-proof,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .case-rail {
    grid-auto-columns: minmax(300px, 88vw);
  }

  .case-proof-card {
    min-height: auto;
  }

  .product-contour-section {
    padding-bottom: 72px;
  }

  .product-contour-section .section-heading .eyebrow {
    font-size: 12px;
  }

  .product-contour-section .section-heading h2 {
    max-width: 100%;
    font-size: 48px;
    line-height: 0.98;
  }

  .product-contour-section .section-heading p:not(.eyebrow) {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.45;
  }

  .product-contour-stack {
    --stack-top: 68px;
  }

  .contour-viewport {
    height: min(760px, calc(100vh - var(--stack-top) - 18px));
    min-height: 640px;
  }

  .contour-card {
    --contour-offset: 0px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 24px 34px;
    overflow: hidden;
  }

  .contour-card.reveal,
  .contour-card.reveal.visible {
    transform: translate3d(0, var(--deck-y), 0) scale(var(--deck-scale));
  }

  .contour-meta {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .contour-side {
    flex-direction: column;
    align-items: flex-start;
  }

  .contour-main {
    align-self: start;
  }

  .contour-main h3 {
    font-size: 50px;
    line-height: 0.98;
  }

  .contour-main p {
    font-size: 17px;
  }

  .contour-index {
    font-size: 58px;
  }

  .contour-kicker,
  .contour-examples-label {
    font-size: 12px;
  }

  .contour-deliverables span,
  .contour-examples-list span {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .system-map {
    grid-template-columns: 1fr;
  }

  .system-line {
    width: 2px;
    height: 28px;
    justify-self: center;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media print {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  html,
  body {
    width: auto;
    height: auto;
    overflow: visible !important;
    background: #ffffff !important;
    color: var(--ink) !important;
  }

  body.nav-open,
  body.work-menu-open {
    overflow: visible !important;
  }

  body.work-menu-open main,
  body.work-menu-open .site-footer,
  main,
  .site-footer {
    filter: none !important;
    transform: none !important;
  }

  .site-header {
    position: static;
    padding: 20px 24px 12px;
  }

  .menu-panel,
  .admin-panel,
  .case-controls,
  .work-menu,
  .work-preview,
  .work-proof {
    display: none !important;
  }

  .reveal,
  .contour-card.reveal,
  .contour-card.reveal.visible {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero,
  .section,
  .contact-section {
    min-height: auto !important;
    break-inside: auto;
    page-break-inside: auto;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .work-frame {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .work-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ticker-section {
    overflow: visible;
  }

  .ticker-track {
    width: auto;
    flex-wrap: wrap;
    white-space: normal;
    animation: none !important;
    transform: none !important;
  }

  .product-contour-section,
  .cases-section,
  .contact-section {
    background: #ffffff !important;
    color: var(--ink) !important;
  }

  .product-contour-stack {
    min-height: auto !important;
    padding-bottom: 0;
    perspective: none;
  }

  .contour-viewport {
    position: static !important;
    display: grid;
    height: auto !important;
    gap: 18px;
    perspective: none;
  }

  .contour-card {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: auto;
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    opacity: 1 !important;
    transform: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .cases-section {
    overflow: visible;
  }

  .cases-section .section-heading p:not(.eyebrow) {
    color: var(--muted);
  }

  .case-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 16px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .case-proof-card {
    min-height: auto;
    break-inside: avoid;
    page-break-inside: avoid;
    border-color: var(--line);
    background: #f6f7f0;
    color: var(--ink);
    box-shadow: none;
    transform: none !important;
    backdrop-filter: none;
  }

  .case-proof-card h3,
  .case-proof-title,
  .case-proof-summary,
  .case-proof-grid strong,
  .case-proof-grid p,
  .case-evidence > strong,
  .case-evidence li {
    color: var(--ink) !important;
  }

  .case-status,
  .case-card-number {
    color: var(--ink);
  }

  .case-proof-grid div,
  .case-evidence {
    border-color: var(--line);
  }

  .case-stack span {
    background: #ffffff;
    color: var(--ink-2);
  }

  .contact-backdrop {
    display: none;
  }

  .site-footer {
    background: #0b0d0e;
  }
}
