.design-concept-preview {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  width: min(300px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid var(--theme-border, #34495e);
  border-radius: 12px;
  background: var(--theme-surface, #ffffff);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  color: var(--theme-text, #263746);
  font-family: system-ui, sans-serif;
}

.design-concept-preview summary {
  cursor: pointer;
  color: var(--theme-heading, #005a8c);
  font-weight: 700;
}

.design-concept-preview-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.design-concept-preview-option {
  padding: 8px;
  border: 1px solid var(--theme-border, #34495e);
  border-radius: 6px;
  background: var(--theme-surface-muted, #f5f5f5);
  color: var(--theme-text, #263746);
  font-size: 13px;
}

.design-concept-preview-option:hover,
.design-concept-preview-option[aria-current="page"] {
  border-color: var(--theme-heading, #005a8c);
  background: var(--theme-menu-highlight, rgba(0, 90, 140, 0.1));
  color: var(--theme-heading, #005a8c);
}

.contact-dialog {
    --contact-surface: var(--theme-surface, #ffffff);
    --contact-text: var(--theme-text, #24394a);
    --contact-heading: var(--theme-heading, #005a8c);
    --contact-border: color-mix(in srgb, var(--contact-heading) 28%, transparent);
    --contact-muted: color-mix(in srgb, var(--contact-text) 74%, transparent);
    --contact-success: color-mix(in srgb, var(--contact-heading) 76%, #16875a);
    width: min(680px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    box-sizing: border-box;
    padding: clamp(24px, 5vw, 48px);
    overflow: auto;
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    background: var(--contact-surface);
    color: var(--contact-text);
    box-shadow: 0 28px 90px rgba(0, 18, 42, 0.38);
}

.contact-dialog::backdrop {
    background: rgba(0, 18, 42, 0.72);
    backdrop-filter: blur(4px);
}

.contact-dialog-confirmation {
    overflow-y: hidden;
}

.contact-dialog-confirmation[data-contact-scrollable] {
    overflow-y: auto;
}

.contact-dialog-close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 4px 9px;
    border: 0;
    background: transparent;
    color: var(--contact-muted);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.contact-dialog-form,
.contact-dialog-form label {
    display: grid;
    gap: 9px;
}

.contact-dialog-form {
    gap: 22px;
}

.contact-dialog-heading {
    display: grid;
    gap: 10px;
    padding-right: 28px;
}

.contact-dialog-heading h2,
.contact-dialog-heading p,
.contact-dialog-status {
    margin: 0;
}

.contact-dialog-heading h2 {
    color: var(--contact-heading);
    font-size: clamp(28px, 4vw, 38px);
}

.contact-dialog-heading p,
.contact-dialog-status {
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.5;
}

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

.contact-dialog-form label > span {
    font-size: 14px;
    font-weight: 700;
}

.contact-dialog-form input,
.contact-dialog-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--contact-border);
    border-radius: 6px;
    outline: 0;
    background: var(--contact-surface);
    color: var(--contact-text);
    font: inherit;
}

.contact-dialog-form input {
    min-height: 48px;
    padding: 0 14px;
}

.contact-dialog-form textarea {
    min-height: 160px;
    padding: 14px;
    resize: vertical;
}

.contact-dialog-form input:focus-visible,
.contact-dialog-form textarea:focus-visible {
    border-color: var(--contact-heading);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--contact-heading) 18%, transparent);
}

.contact-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.contact-dialog-actions button,
.contact-dialog-success button {
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: var(--contact-heading);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.contact-dialog-actions button:disabled,
.contact-dialog-success button:disabled {
    cursor: wait;
    opacity: 0.58;
}

.contact-dialog-actions a {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.contact-dialog-status:empty {
    display: none;
}

.contact-dialog-status[data-state="error"] {
    color: #9a2737;
}

.contact-dialog-success {
    display: grid;
    min-height: min(430px, calc(100dvh - 130px));
    place-items: center;
    align-content: center;
    gap: 14px;
    padding: 20px clamp(0px, 4vw, 36px);
    text-align: center;
}

.contact-dialog-success-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 8px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--contact-success) 42%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--contact-success) 13%, var(--contact-surface));
    color: var(--contact-success);
    box-shadow: 0 14px 40px color-mix(in srgb, var(--contact-success) 18%, transparent);
}

.contact-dialog-success-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.contact-dialog-success-kicker,
.contact-dialog-success h2,
.contact-dialog-success-message {
    margin: 0;
}

.contact-dialog-success-kicker {
    color: var(--contact-success);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-dialog-success h2 {
    max-width: 520px;
    color: var(--contact-heading);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.12;
}

.contact-dialog-success-message {
    max-width: 460px;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.55;
}

.contact-dialog-success button {
    margin-top: 12px;
}

.contact-dialog-success button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--contact-heading) 30%, transparent);
    outline-offset: 3px;
}

.contact-dialog-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .contact-dialog {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        padding: 28px 20px 24px;
    }

    .contact-dialog-grid {
        grid-template-columns: 1fr;
    }

    .contact-dialog-success {
        min-height: min(390px, calc(100dvh - 100px));
        padding-inline: 0;
    }
}

:root {
  --theme-page: #071019;
  --theme-surface: #0c1823;
  --theme-surface-muted: #101f2c;
  --theme-text: #9eb0be;
  --theme-heading: #e6f5ff;
  --theme-border: #284154;
  --theme-menu-highlight: rgba(77, 207, 255, 0.12);
  --technical-ink: #071019;
  --technical-panel: #0c1823;
  --technical-panel-raised: #101f2c;
  --technical-line: #21394c;
  --technical-line-strong: #37566c;
  --technical-text: #9eb0be;
  --technical-bright: #e8f6ff;
  --technical-accent: #4dcfff;
  --technical-accent-soft: rgba(77, 207, 255, 0.12);
  --technical-nav-divider: rgba(77, 207, 255, 0.38);
  --technical-warning: #b6f09c;
  --technical-copy: #b8c6d0;
  --technical-copy-strong: #b6c8d4;
  --technical-muted: #7890a1;
  --technical-footer-muted: #637988;
  --technical-button-ink: #031018;
  --technical-body-grid: rgba(77, 207, 255, 0.025);
  --technical-header-surface: rgba(7, 16, 25, 0.94);
  --technical-header-transparent: rgba(7, 16, 25, 0.72);
  --technical-header-transparent-line: rgba(77, 207, 255, 0.18);
  --technical-menu-surface: rgba(9, 23, 34, 0.96);
  --technical-menu-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  --technical-hero-background:
    radial-gradient(
      circle at 76% 32%,
      rgba(77, 207, 255, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 62% 68%,
      rgba(182, 240, 156, 0.07),
      transparent 24%
    ),
    linear-gradient(135deg, #071019 0%, #091722 55%, #071019 100%);
  --technical-grid-line: rgba(77, 207, 255, 0.072);
  --technical-hero-visual-line: rgba(77, 207, 255, 0.34);
  --technical-hero-visual-line-strong: rgba(100, 216, 255, 0.68);
  --technical-hero-visual-fill: rgba(51, 151, 196, 0.065);
  --technical-hero-visual-signal: #b9a4ff;
  --technical-hero-visual-label: rgba(181, 226, 244, 0.78);
  --technical-hero-visual-opacity: 0.86;
  --technical-section-accent-line: rgba(77, 207, 255, 0.12);
  --technical-section-accent-fill: rgba(77, 207, 255, 0.07);
  --technical-footer-surface: #050c12;
  --technical-error-shadow: rgba(77, 207, 255, 0.16);
  --technical-highlight-fill: rgba(77, 207, 255, 0.14);
  --technical-evidence-surface: #050c12;
  --technical-evidence-shadow: rgba(77, 207, 255, 0.045);
  --technical-media-border: rgba(232, 246, 255, 0.7);
  --technical-media-shadow: rgba(0, 0, 0, 0.42);
  --technical-media-label-line: rgba(77, 207, 255, 0.42);
  --technical-media-label-surface: rgba(5, 12, 18, 0.86);
}

html[data-color-theme="light"] {
  --theme-page: #f7f8fc;
  --theme-surface: #ffffff;
  --theme-surface-muted: #f0f3f8;
  --theme-text: #526577;
  --theme-heading: #17364a;
  --theme-border: #d6e0e8;
  --theme-menu-highlight: rgba(45, 147, 184, 0.11);
  --technical-ink: #f7f8fc;
  --technical-panel: #ffffff;
  --technical-panel-raised: #f0f4f8;
  --technical-line: #dbe4eb;
  --technical-line-strong: #c5d3de;
  --technical-text: #526577;
  --technical-bright: #17364a;
  --technical-accent: #1686ad;
  --technical-accent-soft: rgba(45, 147, 184, 0.11);
  --technical-nav-divider: rgba(45, 147, 184, 0.28);
  --technical-warning: #648b68;
  --technical-copy: #53697a;
  --technical-copy-strong: #425d70;
  --technical-muted: #718697;
  --technical-footer-muted: #708493;
  --technical-button-ink: #ffffff;
  --technical-body-grid: rgba(61, 130, 158, 0.08);
  --technical-header-surface: rgba(250, 251, 253, 0.95);
  --technical-header-transparent: rgba(250, 251, 253, 0.82);
  --technical-header-transparent-line: rgba(45, 147, 184, 0.18);
  --technical-menu-surface: rgba(255, 255, 255, 0.97);
  --technical-menu-shadow: 0 18px 48px rgba(42, 73, 94, 0.16);
  --technical-hero-background:
    radial-gradient(
      circle at 76% 32%,
      rgba(103, 199, 223, 0.24),
      transparent 32%
    ),
    radial-gradient(
      circle at 62% 68%,
      rgba(195, 179, 227, 0.2),
      transparent 27%
    ),
    linear-gradient(135deg, #fbfcfe 0%, #f0f6fa 55%, #f8f5fc 100%);
  --technical-grid-line: rgba(54, 135, 168, 0.125);
  --technical-hero-visual-line: rgba(27, 126, 163, 0.33);
  --technical-hero-visual-line-strong: rgba(19, 113, 151, 0.58);
  --technical-hero-visual-fill: rgba(66, 159, 190, 0.075);
  --technical-hero-visual-signal: #8267b2;
  --technical-hero-visual-label: rgba(25, 78, 105, 0.76);
  --technical-hero-visual-opacity: 0.76;
  --technical-section-accent-line: rgba(45, 147, 184, 0.16);
  --technical-section-accent-fill: rgba(116, 198, 221, 0.1);
  --technical-footer-surface: #edf3f7;
  --technical-error-shadow: rgba(45, 147, 184, 0.14);
  --technical-highlight-fill: rgba(99, 190, 218, 0.16);
  --technical-evidence-surface: #eef3f6;
  --technical-evidence-shadow: rgba(76, 143, 169, 0.11);
  --technical-media-border: rgba(255, 255, 255, 0.88);
  --technical-media-shadow: rgba(51, 76, 94, 0.2);
  --technical-media-label-line: rgba(72, 163, 194, 0.38);
  --technical-media-label-surface: rgba(246, 250, 252, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html[data-color-theme-switching] *,
html[data-color-theme-switching] *::before,
html[data-color-theme-switching] *::after {
  transition: none !important;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--technical-ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(var(--technical-body-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--technical-body-grid) 1px, transparent 1px),
    var(--technical-ink);
  background-size: 64px 64px;
  color: var(--technical-text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.technical-shell {
  min-height: 100vh;
}

.site-transition-content {
  min-height: 100vh;
  opacity: 1;
  transition: opacity 280ms cubic-bezier(0, 0, 0.2, 1);
}

html[data-site-transition="out"] .site-transition-content {
  opacity: 0;
  transition-duration: 180ms;
}

html[data-site-transition="in"] .site-transition-content {
  opacity: 0;
  transition: none;
}

.technical-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(240px, 1fr);
  min-height: 84px;
  padding: 0 clamp(20px, 4vw, 72px);
  border-bottom: 1px solid var(--technical-line);
  background: var(--technical-header-surface);
  backdrop-filter: blur(16px);
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .technical-header,
  .technical-card,
  .technical-split > div,
  .technical-footer,
  .technical-portfolio-facts > div {
    transition: none;
  }
}

.technical-header.transparent {
  border-color: var(--technical-header-transparent-line);
  background: var(--technical-header-transparent);
}

.technical-header,
.technical-card,
.technical-split > div,
.technical-footer,
.technical-portfolio-facts > div {
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

.technical-brand,
.technical-navigation-stack,
.technical-header-actions {
  align-self: stretch;
}

.technical-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: var(--technical-bright);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.technical-navigation-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.technical-brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.technical-nav {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.technical-nav a {
  display: inline-flex;
  padding: 0 18px;
  align-items: center;
  color: var(--technical-copy-strong);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.technical-page-nav {
  height: 48px;
}

.technical-page-nav a {
  min-height: 48px;
}

.technical-section-nav {
  height: 26px;
  padding-top: 4px;
  background: linear-gradient(
      90deg,
      transparent,
      var(--technical-nav-divider) 18%,
      var(--technical-nav-divider) 82%,
      transparent
    )
    top center / 100% 1px no-repeat;
}

.technical-section-nav-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.technical-section-nav a {
  min-height: 22px;
  color: var(--technical-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.technical-nav a:hover,
.technical-nav a:focus-visible,
.technical-nav a[aria-current="page"] {
  background: var(--technical-accent-soft);
  color: var(--technical-bright);
}

.technical-header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
}

.technical-theme-toggle {
  position: relative;
  display: flex;
  width: 78px;
  height: 38px;
  margin-left: 4px;
  padding: 0 9px;
  border: 1px solid var(--technical-line-strong);
  border-radius: 5px;
  align-items: center;
  justify-content: space-between;
  background: var(--technical-panel-raised);
  color: var(--technical-muted);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 220ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.technical-theme-toggle::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--technical-accent) 62%, transparent);
  border-radius: 3px;
  background: var(--technical-accent-soft);
  content: "";
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[data-color-theme="light"] .technical-theme-toggle::before {
  transform: translateX(42px);
}

.technical-theme-toggle:hover,
.technical-theme-toggle:focus-visible {
  border-color: var(--technical-accent);
  background: var(--technical-accent-soft);
  transform: translateY(-1px);
}

.technical-theme-toggle:focus-visible {
  outline: 2px solid
    color-mix(in srgb, var(--technical-accent) 42%, transparent);
  outline-offset: 3px;
}

.technical-theme-icon {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.technical-theme-icon-sun {
  color: var(--technical-accent);
}

.technical-theme-icon-moon {
  color: var(--technical-muted);
}

html[data-color-theme="light"] .technical-theme-icon-sun {
  color: var(--technical-muted);
}

html[data-color-theme="light"] .technical-theme-icon-moon {
  color: var(--technical-accent);
}

.technical-contact-action {
  display: inline-flex;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--technical-line-strong);
  align-items: center;
  color: var(--technical-bright);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.technical-contact-action:hover,
.technical-contact-action:focus-visible {
  border-color: var(--technical-accent);
  background: var(--technical-accent-soft);
}

.technical-language {
  position: relative;
}

.technical-language summary {
  display: flex;
  min-height: 84px;
  padding: 0 10px;
  align-items: center;
  gap: 8px;
  color: var(--technical-bright);
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  list-style: none;
}

.technical-language summary::-webkit-details-marker {
  display: none;
}

.technical-language ul {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 180px;
  padding: 8px;
  margin: 0;
  border: 1px solid var(--technical-line-strong);
  background: var(--technical-menu-surface);
  box-shadow: var(--technical-menu-shadow);
  list-style: none;
}

.technical-language a {
  display: block;
  padding: 10px 12px;
  color: var(--technical-text);
  font-size: 14px;
}

.technical-language a:hover,
.technical-language a[aria-current="page"] {
  background: var(--technical-accent-soft);
  color: var(--technical-bright);
}

.technical-hero,
.technical-page-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 140px clamp(24px, 7vw, 120px) 72px;
  overflow: hidden;
  align-content: center;
  border-bottom: 1px solid var(--technical-line);
  background: var(--technical-hero-background);
}

.technical-page-hero {
  min-height: 62svh;
}

.technical-team-intro {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 30px 0 0;
  color: var(--technical-copy-strong);
  font-size: clamp(18px, 2vw, 26px);
}

.technical-hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--technical-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--technical-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 12%,
    #000 75%,
    transparent
  );
  pointer-events: none;
  transform: perspective(700px) rotateX(55deg) scale(1.45) translateY(18%);
  transform-origin: center bottom;
}

.technical-hero-visuals {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 31%,
    rgba(0, 0, 0, 0.42) 44%,
    #000 61%,
    #000 94%,
    transparent
  );
  pointer-events: none;
}

.technical-hero-visual {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  transform: scale(1.018) translate3d(0, -0.35%, 0);
  transform-origin: 72% 46%;
  transition:
    opacity 4800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 12000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.technical-hero-visual[data-active] {
  opacity: var(--technical-hero-visual-opacity);
  transform: scale(1) translate3d(0, 0, 0);
}

.hero-visual-line,
.hero-visual-fill {
  vector-effect: non-scaling-stroke;
}

.hero-visual-line {
  fill: none;
  stroke: var(--technical-hero-visual-line);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.hero-visual-line-strong {
  stroke: var(--technical-hero-visual-line-strong);
  stroke-width: 1.4;
}

.hero-visual-line-soft {
  opacity: 0.42;
  stroke-dasharray: 3 8;
}

.hero-visual-fill {
  fill: var(--technical-hero-visual-fill);
  stroke: none;
}

.hero-visual-signal {
  fill: var(--technical-hero-visual-signal);
  filter: drop-shadow(0 0 7px var(--technical-hero-visual-signal));
}

.hero-visual-label {
  fill: var(--technical-hero-visual-label);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.technical-hero-copy,
.technical-page-hero > * {
  position: relative;
  z-index: 1;
}

.technical-hero-copy {
  width: min(920px, 100%);
}

.technical-kicker,
.technical-card-code {
  display: block;
  margin-bottom: 20px;
  color: var(--technical-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.technical-display {
  color: var(--technical-bright);
  font-size: clamp(40px, 5.2vw, 80px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.technical-display h1,
.technical-display h2,
.technical-display p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.technical-display strong {
  color: var(--technical-accent);
  font-weight: inherit;
}

.technical-hero .technical-display {
  font-size: clamp(34px, 4.2vw, 64px);
}

.technical-hero .technical-display h4 {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--technical-copy-strong);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 450;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

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

.technical-action {
  display: inline-flex;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--technical-accent);
  align-items: center;
  justify-content: center;
  background: var(--technical-accent);
  color: var(--technical-button-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.technical-action:hover,
.technical-action:focus-visible {
  background: var(--technical-bright);
  color: var(--technical-ink);
  transform: translateY(-2px);
}

.technical-action-secondary {
  background: transparent;
  color: var(--technical-bright);
}

.technical-status {
  position: absolute;
  right: clamp(24px, 7vw, 120px);
  bottom: 38px;
  left: clamp(24px, 7vw, 120px);
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 18px;
  border-top: 1px solid var(--technical-line-strong);
  color: var(--technical-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.technical-section {
  width: min(1320px, calc(100% - 48px));
  padding: clamp(80px, 10vw, 150px) 0;
  margin: 0 auto;
}

.technical-section + .technical-section {
  border-top: 1px solid var(--technical-line);
}

.technical-section-accent {
  position: relative;
}

.technical-section-accent::before {
  position: absolute;
  inset: 40px 0;
  z-index: -1;
  border: 1px solid var(--technical-section-accent-line);
  background: linear-gradient(
    125deg,
    var(--technical-section-accent-fill),
    transparent 55%
  );
  content: "";
}

.technical-section-heading {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  color: var(--technical-bright);
  font-size: clamp(28px, 4vw, 58px);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.technical-section-heading h1,
.technical-section-heading h2,
.technical-section-heading h3,
.technical-section-heading p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.technical-index {
  color: var(--technical-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.technical-intro {
  width: min(860px, 100%);
  margin: 48px 0 0 auto;
  color: var(--technical-copy);
  font-size: clamp(18px, 2.1vw, 28px);
}

.technical-intro h1,
.technical-intro h2,
.technical-intro h3,
.technical-intro p {
  color: var(--technical-bright);
}

.technical-card-grid,
.technical-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--technical-line);
  border: 1px solid var(--technical-line);
}

.technical-card,
.technical-split > div {
  padding: clamp(28px, 4vw, 56px);
  background: var(--technical-panel);
}

.technical-card {
  min-width: 0;
}

.technical-card-title {
  margin-bottom: 22px;
  color: var(--technical-bright);
  font-size: clamp(22px, 2.7vw, 36px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.technical-card-title h1,
.technical-card-title h2,
.technical-card-title h3,
.technical-card-title p {
  margin: 0;
  color: inherit;
  font: inherit;
}

.technical-card h1,
.technical-card h2,
.technical-card h3,
.technical-split h1,
.technical-split h2,
.technical-split h3 {
  color: var(--technical-bright);
}

.technical-prose {
  display: grid;
  gap: 24px;
  color: var(--technical-copy);
  font-size: 18px;
}

.technical-process {
  border-top: 1px solid var(--technical-line-strong);
}

.technical-process-step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding: 44px 0;
  border-bottom: 1px solid var(--technical-line);
}

.technical-founder {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.technical-portrait {
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--technical-line-strong);
  background: var(--technical-panel);
}

.technical-portrait img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.technical-portrait figcaption {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
}

.technical-portrait strong {
  color: var(--technical-bright);
  font-size: 20px;
}

.technical-portrait span {
  font-size: 13px;
}

.technical-founder-copy h2,
.technical-location h2 {
  margin: 0 0 26px;
  color: var(--technical-bright);
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.08;
}

.technical-founder-copy p,
.technical-location p {
  color: var(--technical-copy);
  font-size: 18px;
}

.technical-founder-copy blockquote {
  padding: 20px 0 20px 26px;
  margin: 32px 0 0;
  border-left: 2px solid var(--technical-accent);
  color: var(--technical-bright);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
}

.technical-team-principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-location {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 48px;
  border-top: 1px solid var(--technical-line-strong);
}

.technical-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 7vw, 120px) 36px;
  border-top: 1px solid var(--technical-line-strong);
  background: var(--technical-footer-surface);
}

.technical-footer-contact {
  display: grid;
  grid-column: 2;
  justify-items: end;
  align-self: end;
  gap: 10px;
  text-align: right;
}

.technical-footer h1,
.technical-footer h2,
.technical-footer h3 {
  color: var(--technical-bright);
}

.technical-footer-address {
  display: inline-flex;
  color: var(--technical-bright);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--technical-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.technical-error {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(140px, 18vh, 220px) clamp(24px, 7vw, 120px)
    clamp(80px, 12vh, 140px);
  overflow: hidden;
  place-items: center;
  text-align: center;
}

.technical-error-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--technical-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--technical-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.technical-error-content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 760px;
  justify-items: center;
  gap: 22px;
}

.technical-error h1 {
  margin: 0;
  color: var(--technical-bright);
  font-size: clamp(108px, 25vw, 320px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.78;
  text-shadow: 0 0 80px var(--technical-error-shadow);
}

.technical-error p {
  margin: 0 0 10px;
  color: var(--technical-copy);
  font-size: clamp(18px, 2.2vw, 27px);
}

.contact-dialog {
  --contact-surface: var(--technical-panel);
  --contact-text: var(--technical-text);
  --contact-heading: var(--technical-accent);
}

.technical-footer-bottom {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid var(--technical-line);
  color: var(--technical-footer-muted);
  font-size: 13px;
}

.viewport-fade {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0, 0, 0.2, 1);
}

.viewport-fade.is-in-view {
  opacity: 1;
}

[data-section-highlight="true"] {
  animation: technical-highlight 1600ms ease-out;
}

@keyframes technical-highlight {
  0% {
    box-shadow: inset 0 0 0 9999px var(--technical-highlight-fill);
  }

  100% {
    box-shadow: inset 0 0 0 9999px transparent;
  }
}

@media (max-width: 900px) {
  .technical-hero-visuals {
    mask-image: linear-gradient(
      90deg,
      transparent 12%,
      rgba(0, 0, 0, 0.46) 35%,
      #000 72%,
      transparent
    );
  }

  .technical-hero-visual {
    width: 132%;
    max-width: none;
    left: -16%;
  }

  .technical-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: 44px 48px;
    min-height: 92px;
    padding-inline: 20px;
  }

  .technical-brand {
    min-height: 44px;
  }

  .technical-navigation-stack {
    display: grid;
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-rows: 27px 21px;
  }

  .technical-page-nav,
  .technical-section-nav {
    height: auto;
  }

  .technical-section-nav {
    padding-top: 3px;
  }

  .technical-page-nav a,
  .technical-section-nav a {
    min-height: 0;
    height: 100%;
    padding: 0 12px;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
  }

  .technical-page-nav a {
    font-size: 10px;
  }

  .technical-section-nav a {
    font-size: 9px;
  }

  .technical-header-actions {
    min-height: 44px;
    grid-column: 2;
    grid-row: 1;
  }

  .technical-contact-action {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .technical-language summary {
    min-height: 44px;
  }

  .technical-language ul {
    top: calc(100% + 52px);
  }

  .technical-card-grid,
  .technical-split,
  .technical-team-principles,
  .technical-founder,
  .technical-location {
    grid-template-columns: 1fr;
  }

  .technical-footer {
    grid-template-columns: 1fr;
    padding-bottom: 36px;
  }

  .technical-footer-contact {
    grid-column: auto;
    justify-items: end;
  }

  .technical-footer-bottom {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .technical-hero-visuals {
    opacity: 0.64;
    mask-image: linear-gradient(
      to bottom,
      transparent 5%,
      #000 22%,
      rgba(0, 0, 0, 0.78) 66%,
      transparent 90%
    );
  }

  .technical-hero-visual {
    width: 180%;
    left: -85%;
  }

  .hero-visual-label {
    display: none;
  }

  body {
    font-size: 15px;
  }

  .technical-header-actions {
    gap: 4px;
  }

  .technical-theme-toggle {
    width: 64px;
    height: 32px;
    margin-left: 2px;
    padding-inline: 7px;
  }

  .technical-theme-toggle::before {
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
  }

  html[data-color-theme="light"] .technical-theme-toggle::before {
    transform: translateX(34px);
  }

  .technical-theme-icon {
    width: 15px;
    height: 15px;
  }

  .technical-brand {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .technical-hero,
  .technical-page-hero {
    min-height: 760px;
    padding: 120px 20px 100px;
  }

  .technical-page-hero {
    min-height: 520px;
  }

  .technical-display {
    font-size: clamp(36px, 11vw, 54px);
  }

  .technical-hero .technical-display {
    font-size: clamp(32px, 9.5vw, 46px);
  }

  .technical-status {
    right: 20px;
    bottom: 82px;
    left: 20px;
  }

  .technical-section {
    width: min(100% - 32px, 1320px);
    padding: 72px 0;
  }

  .technical-section-heading,
  .technical-process-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .technical-card-grid,
  .technical-split {
    margin-top: 42px;
  }

  .technical-card,
  .technical-split > div {
    padding: 24px;
  }

  .design-concept-preview {
    bottom: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-transition-content,
  .viewport-fade,
  .technical-action,
  .technical-hero-visual {
    transition: none;
  }

  .technical-hero-visual {
    transform: none;
  }

  .viewport-fade {
    opacity: 1;
  }
}

.technical-portfolio-hero {
  min-height: 72svh;
}

.technical-portfolio-intro {
  width: min(860px, 100%);
  margin: 36px 0 0;
  color: var(--technical-copy-strong);
  font-size: clamp(19px, 2.2vw, 29px);
  line-height: 1.48;
}

.technical-portfolio-verification {
  width: min(760px, 100%);
  margin: 22px 0 0;
  color: var(--technical-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.technical-portfolio-case {
  width: min(1420px, calc(100% - 48px));
  padding-inline: clamp(16px, 3vw, 44px);
}

.technical-portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(48px, 7vw, 108px);
  margin-top: 64px;
  align-items: start;
}

.technical-portfolio-layout-reversed .technical-portfolio-copy {
  order: 2;
}

.technical-portfolio-brands {
  display: flex;
  min-height: 78px;
  margin-bottom: 32px;
  align-items: center;
  gap: 22px;
}

.technical-portfolio-brands > img {
  display: block;
  width: min(250px, 52%);
  height: auto;
  padding: 13px 16px;
  border: 1px solid #d7e2e8;
  background: #f7fafb;
}

.technical-portfolio-brand-separator {
  color: var(--technical-line-strong);
  font-size: 30px;
}

.technical-portfolio-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--technical-bright);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.technical-portfolio-brand img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.technical-portfolio-brand-large {
  font-size: 28px;
}

.technical-portfolio-brand-large img {
  width: 54px;
  height: 54px;
}

.technical-portfolio-lead {
  margin: 0 0 36px;
  color: var(--technical-copy);
  font-size: 19px;
}

.technical-portfolio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 40px;
  border: 1px solid var(--technical-line);
  background: var(--technical-line);
}

.technical-portfolio-facts > div {
  min-width: 0;
  padding: 22px;
  background: var(--technical-panel-raised);
}

.technical-portfolio-facts span,
.technical-portfolio-development > span {
  display: block;
  color: var(--technical-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.technical-portfolio-facts strong {
  display: block;
  margin-top: 9px;
  color: var(--technical-bright);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.technical-portfolio-copy h3,
.technical-portfolio-context h3 {
  margin: 0 0 16px;
  color: var(--technical-bright);
  font-size: 20px;
}

.technical-portfolio-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.technical-portfolio-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-top: 1px solid var(--technical-line);
}

.technical-portfolio-list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  color: var(--technical-accent);
  content: "→";
}

.technical-portfolio-development {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--technical-line);
}

.technical-portfolio-development p {
  margin: 9px 0 0;
  color: var(--technical-copy);
}

.technical-portfolio-evidence figure {
  padding: 0;
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--technical-line-strong);
  background: var(--technical-evidence-surface);
  box-shadow: 24px 24px 0 var(--technical-evidence-shadow);
}

.technical-portfolio-evidence figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.technical-portfolio-media-pair {
  position: relative;
  overflow: hidden;
  aspect-ratio: 8 / 5;
}

.technical-portfolio-evidence figure .technical-portfolio-media-current {
  height: 100%;
}

.technical-portfolio-media-legacy {
  position: absolute;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  width: clamp(118px, 34%, 210px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--technical-media-border);
  background: var(--technical-panel);
  box-shadow: 0 16px 36px var(--technical-media-shadow);
}

.technical-portfolio-evidence figure .technical-portfolio-media-legacy img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
}

.technical-portfolio-media-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid var(--technical-media-label-line);
  background: var(--technical-media-label-surface);
  color: var(--technical-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.technical-portfolio-media-label-current {
  top: 14px;
  left: 14px;
}

.technical-portfolio-evidence figcaption {
  padding: 13px 16px;
  border-top: 1px solid var(--technical-line);
  color: var(--technical-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.technical-portfolio-context {
  color: var(--technical-copy);
}

.technical-portfolio-context p {
  margin: 0;
}

.technical-portfolio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.technical-portfolio-links a {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--technical-line-strong);
  align-items: center;
  color: var(--technical-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.technical-portfolio-links a:hover,
.technical-portfolio-links a:focus-visible {
  border-color: var(--technical-accent);
  background: var(--technical-accent-soft);
  color: var(--technical-accent);
}

.technical-portfolio-capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.technical-portfolio-capability-grid .technical-card {
  padding: clamp(28px, 3vw, 44px);
}

.technical-portfolio-capability-grid h3 {
  margin: 20px 0 14px;
  color: var(--technical-bright);
  font-size: 22px;
}

.technical-portfolio-capability-grid p {
  margin: 0;
}

.technical-portfolio-disclaimer {
  width: min(920px, 100%);
  margin: 42px 0 0;
  color: var(--technical-footer-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .technical-portfolio-layout,
  .technical-portfolio-capability-grid {
    grid-template-columns: 1fr;
  }

  .technical-portfolio-layout {
    gap: 52px;
  }

  .technical-portfolio-layout-reversed .technical-portfolio-copy {
    order: initial;
  }

  .technical-portfolio-evidence {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .technical-portfolio-hero {
    min-height: 620px;
  }

  .technical-portfolio-case {
    width: min(100% - 32px, 1420px);
  }

  .technical-portfolio-layout {
    margin-top: 44px;
  }

  .technical-portfolio-facts {
    grid-template-columns: 1fr;
  }

  .technical-portfolio-brands {
    gap: 12px;
  }

  .technical-portfolio-brands > img {
    width: min(198px, 58%);
  }

  .technical-portfolio-brand-separator {
    display: none;
  }

  .technical-portfolio-brand {
    font-size: 18px;
  }

  .technical-portfolio-evidence figure {
    box-shadow: 12px 12px 0 var(--technical-evidence-shadow);
  }
}

