/* Shared liquid-silver material palette for every page and visual effect. */
:root {
  --metal-bg: oklch(9.5% 0.003 250);
  --metal-surface: oklch(15.5% 0.005 250);
  --metal-surface-raised: oklch(19% 0.007 250);
  --metal-ink: oklch(95% 0.006 250);
  --metal-muted: oklch(76% 0.008 250);
  --metal-faint: oklch(61% 0.007 250);
  --metal-dim: oklch(46% 0.006 250);
  --metal-accent: oklch(86% 0.018 250);
  --metal-accent-deep: oklch(66% 0.03 250);
  --metal-accent-soft: oklch(78% 0.03 250 / .14);
  --metal-line: oklch(82% 0.006 250 / .13);
  --metal-line-soft: oklch(82% 0.006 250 / .07);
  --metal-logo-filter: grayscale(1) brightness(1.55) contrast(.88);
  --metal-card-material:
    radial-gradient(46% 31% at 50% 0%, oklch(26% 0 0), oklch(17% 0 0) 100%) padding-box,
    linear-gradient(180deg, oklch(26% 0 0), oklch(17% 0 0)) border-box;
  --section-arrival: 112px;
}
html { background: var(--metal-bg); }

body.theme-robolabs {
  --sans: "Satoshi", "Inter", "Segoe UI", system-ui, sans-serif;
  --ink: var(--metal-ink);
  --ink-2: var(--metal-muted);
  --ink-3: var(--metal-faint);
  --ink-4: var(--metal-dim);
  --paper: var(--metal-bg);
  --paper-2: var(--metal-surface);
  --line: var(--metal-line);
  --line-soft: var(--metal-line-soft);
  --accent: var(--metal-accent);
  --accent-soft: var(--metal-accent-soft);
  --shadow-sm: 0 1px 2px oklch(3% 0.002 250 / .55), 0 8px 22px oklch(3% 0.002 250 / .24);
  --shadow-md: 0 18px 48px oklch(3% 0.002 250 / .42);
  --shadow-lg: 0 30px 80px oklch(3% 0.002 250 / .55);
  background: var(--paper);
  color: var(--ink);
  color-scheme: dark;
}

body.theme-robolabs ::selection {
  background: var(--accent);
  color: oklch(13% 0.008 250);
}

body.theme-robolabs .site-header {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.theme-robolabs .site-header:not(.site-header-home) {
  width: min(calc(100% - 48px), 854px);
  margin: 18px auto 0;
  top: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(oklch(7% 0 0 / .97), oklch(7% 0 0 / .97)) padding-box,
    linear-gradient(180deg, oklch(26% 0 0), oklch(22% 0 0 / .4)) border-box;
  box-shadow: 0 16px 38px oklch(3% 0 0 / .24);
  backdrop-filter: saturate(120%) blur(16px);
  -webkit-backdrop-filter: saturate(120%) blur(16px);
}

body.theme-robolabs .site-header:not(.site-header-home) .wrap {
  max-width: none;
  padding: 14px 18px 14px 24px;
}

body.theme-robolabs .site-header-home .wrap {
  max-width: 854px;
  padding: 14px 18px 14px 24px;
  border: 1px solid transparent;
  background:
    linear-gradient(oklch(7% 0 0 / .97), oklch(7% 0 0 / .97)) padding-box,
    linear-gradient(180deg, oklch(26% 0 0), oklch(22% 0 0 / .4)) border-box;
  box-shadow: 0 16px 38px oklch(3% 0 0 / .24);
}

body.theme-robolabs .brand-lockup .brand-mono,
body.theme-robolabs .closing-brand img,
body.theme-robolabs .contact-future-brand img {
  filter: var(--metal-logo-filter);
}

body.theme-robolabs .brand-lockup .brand-text {
  font-family: "Montserrat", var(--sans);
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  text-shadow: 0 1px 14px oklch(86% 0.012 250 / .1);
}

body.theme-robolabs .brand-motto {
  color: var(--ink-2);
}

body.theme-robolabs .nav { color: var(--ink-2); }
body.theme-robolabs .nav a:hover,
body.theme-robolabs .nav a.active {
  color: var(--ink);
  background: oklch(100% 0 0 / .055);
}

body.theme-robolabs .nav a.nav-cta,
body.theme-robolabs .site-header-home .nav a.nav-cta {
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(oklch(17% 0 0), oklch(17% 0 0)) padding-box,
    linear-gradient(180deg, oklch(28% 0 0), oklch(21% 0 0)) border-box;
  color: var(--ink);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .04), 0 10px 28px oklch(3% 0 0 / .3);
}

body.theme-robolabs .nav a.nav-cta:hover,
body.theme-robolabs .nav a.nav-cta.active,
body.theme-robolabs .site-header-home .nav a.nav-cta:hover {
  border-color: transparent;
  background:
    linear-gradient(oklch(20% 0 0), oklch(20% 0 0)) padding-box,
    linear-gradient(180deg, oklch(35% 0 0), oklch(24% 0 0)) border-box;
  color: oklch(97% 0.004 250);
}

body.theme-robolabs .site-footer {
  background: oklch(8% 0.003 250);
  border-top-color: var(--line);
  color: var(--ink-3);
}

body.theme-robolabs .site-footer .right a {
  border-bottom: 1px solid var(--line);
}

body.theme-robolabs .site-footer .right a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

body.theme-robolabs .feed-card,
body.theme-robolabs .project-card,
body.theme-robolabs .consultation-form-card,
body.theme-robolabs .progress-card,
body.theme-robolabs .email-direct-card,
body.theme-robolabs .case-artifact,
body.theme-robolabs .case-note,
body.theme-robolabs .archive-controls,
body.theme-robolabs .archive-empty {
  background: oklch(16.5% 0.004 250);
  border-color: oklch(76% 0.004 250 / .14);
  box-shadow: none;
}

body.theme-robolabs .feed-card:hover,
body.theme-robolabs .project-card:hover {
  background: oklch(17% 0.007 250);
  border-color: oklch(86% 0.018 250 / .35);
  box-shadow: var(--shadow-md);
}

body.theme-robolabs .feed-thumb,
body.theme-robolabs .project-card .thumb,
body.theme-robolabs .project-media-placeholder,
body.theme-robolabs .case-carousel-frame,
body.theme-robolabs .screenshot-frame {
  background-color: oklch(11.5% 0.004 250);
  border-color: var(--line);
}

/* Preserve the editorial artwork while removing its original copper tint. */
body.theme-robolabs img[src*="post-moat-never-the-model.webp"] {
  filter: grayscale(1);
}

body.theme-robolabs .tag,
body.theme-robolabs .pill,
body.theme-robolabs .feed-filters button,
body.theme-robolabs .archive-pagination button {
  border-color: var(--line);
  background: oklch(100% 0 0 / .035);
  color: var(--ink-2);
}

body.theme-robolabs .tag:hover,
body.theme-robolabs .feed-card:hover .tag:hover,
body.theme-robolabs .feed-filters button:hover,
body.theme-robolabs .feed-filters button.active,
body.theme-robolabs .archive-pagination button:hover:not(:disabled),
body.theme-robolabs .archive-pagination button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: oklch(13% 0.008 250);
}

body.theme-robolabs .archive-search input,
body.theme-robolabs .input,
body.theme-robolabs .consultation-field input,
body.theme-robolabs .consultation-field textarea,
body.theme-robolabs .choice-button {
  border-color: var(--line);
  background: oklch(12.5% 0.004 250);
  color: var(--ink);
  box-shadow: none;
}

body.theme-robolabs .choice-button { color: var(--ink-3); }

body.theme-robolabs .archive-search input:focus,
body.theme-robolabs .input:focus,
body.theme-robolabs .consultation-field input:focus,
body.theme-robolabs .consultation-field textarea:focus {
  border-color: oklch(86% 0.018 250 / .62);
  background: oklch(15.5% 0.006 250);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

body.theme-robolabs .choice-button:hover,
body.theme-robolabs .choice-button.active,
body.theme-robolabs .choice-button.active:hover {
  border-color: oklch(86% 0.018 250 / .6);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: none;
}

body.theme-robolabs .btn,
body.theme-robolabs .consultation-submit {
  border-color: var(--accent);
  border-radius: 8px;
  background: linear-gradient(135deg, oklch(92% 0.014 250), oklch(68% 0.025 250));
  color: oklch(13% 0.008 250);
  box-shadow: 0 14px 32px oklch(58% 0.025 250 / .18);
}

body.theme-robolabs .btn:hover,
body.theme-robolabs .consultation-submit:hover {
  border-color: oklch(93% 0.012 250);
  background: linear-gradient(135deg, oklch(97% 0.008 250), oklch(76% 0.025 250));
  color: oklch(11% 0.008 250);
}

body.theme-robolabs .btn-ghost {
  border-color: var(--line);
  background: oklch(100% 0 0 / .035);
  color: var(--ink);
}

body.theme-robolabs .btn-ghost:hover {
  border-color: oklch(86% 0.018 250 / .5);
  background: oklch(100% 0 0 / .07);
}

body.theme-robolabs .kind-essay {
  background: var(--ink);
  color: var(--paper);
}

body.theme-robolabs .kind-note {
  background: var(--accent-soft);
  color: var(--accent);
}

body.theme-robolabs .prose code,
body.theme-robolabs .case-table th {
  background: oklch(16% 0.006 250);
  color: var(--ink-2);
}

body.theme-robolabs .prose blockquote,
body.theme-robolabs .case-study blockquote {
  color: var(--ink-2);
  border-color: var(--line);
}

/* Homepage: retain the hexagonal identity with cool liquid-metal accents. */
body.theme-robolabs .home-page {
  --home-bg: var(--metal-bg);
  --home-bg-2: oklch(12.5% 0.004 250);
  --home-surface: var(--metal-surface);
  --home-surface-raised: var(--metal-surface-raised);
  --home-ink: var(--metal-ink);
  --home-muted: var(--metal-muted);
  --home-faint: var(--metal-faint);
  --home-metal: var(--metal-accent);
  --home-metal-deep: var(--metal-accent-deep);
  --home-line: var(--metal-line);
  --home-line-soft: var(--metal-line-soft);
}

body.theme-robolabs .button-primary {
  border-color: transparent;
  background: oklch(13% 0.006 250);
  color: oklch(96% 0.008 250);
  box-shadow: 0 14px 32px oklch(3% 0 0 / .28);
}

body.theme-robolabs .button-primary:hover {
  border-color: transparent;
  background: oklch(18% 0.012 250);
  color: oklch(98% 0.006 250);
}

body.theme-robolabs .button-secondary {
  border-color: var(--home-line);
  background: oklch(13% 0.004 250 / .72);
}

body.theme-robolabs .process-card,
body.theme-robolabs .solution-card {
  border: 1px solid transparent;
  background: var(--metal-card-material);
  box-shadow: 0 4px 33px oklch(3% 0 0 / .05);
}

body.theme-robolabs .process-visual {
  border-color: oklch(70% 0 0 / .08);
  background-color: oklch(7% 0 0);
}

body.theme-robolabs .outcomes-grid {
  width: 100%;
  margin-inline: auto;
  gap: 32px;
}

body.theme-robolabs .outcome-card {
  min-height: 410px;
  padding: 32px 32px 42px;
  border: 1px solid transparent;
  border-radius: 23px;
  background: var(--metal-card-material);
  box-shadow: 0 4px 33px oklch(3% 0 0 / .05);
}

body.theme-robolabs .outcome-visual {
  min-height: 170px;
  border-color: transparent;
  background:
    linear-gradient(var(--home-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line-soft) 1px, transparent 1px),
    radial-gradient(57% 65% at 50% 50%, oklch(19% 0 0), oklch(7% 0 0) 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

body.theme-robolabs .outcome-visual::after {
  background: radial-gradient(circle at center, oklch(25% 0 0 / .18), transparent 62%);
}

body.theme-robolabs .outcome-card h3 {
  margin: 24px 0 16px;
}

@media (min-width: 901px) {
  body.theme-robolabs .outcomes-section {
    padding-top: var(--section-space);
  }

  body.theme-robolabs .outcomes-section .section-intro {
    margin-bottom: 64px;
  }

  body.theme-robolabs .outcomes-section .section-intro p {
    margin-top: 24px;
  }
}

body.theme-robolabs .closing-card,
body.theme-robolabs .contact-future-panel,
body.theme-robolabs .faq-item[open],
body.theme-robolabs .faq-item:hover,
body.theme-robolabs .faq-item:focus-within {
  border: 1px solid transparent;
  background: var(--metal-card-material);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .025);
}

body.theme-robolabs .closing-card::before,
body.theme-robolabs .closing-card::after { display: none; }

/* A single backdrop: native content sits above the tiles, opaque panels shield it. */
.page-hex-float > div {
  scroll-padding-top: var(--section-arrival);
  scrollbar-color: var(--metal-line) var(--metal-bg);
}
body.theme-robolabs .page-hex-float .hero,
body.theme-robolabs .page-hex-float .hero-atmosphere,
body.theme-robolabs .page-hex-float .dark-section,
body.theme-robolabs .page-hex-float .closing-section { background: transparent; }
body.theme-robolabs .page-hex-float .dark-section::after { display: none; }

body.theme-robolabs .closing-brand img {
  filter: var(--metal-logo-filter);
}

body.theme-robolabs .home-legal-footer {
  border-top-color: var(--home-line);
  background: oklch(8% 0.003 250);
  color: var(--home-muted);
}

body.theme-robolabs .home-legal-inner a {
  border-color: var(--home-line);
}

body.theme-robolabs .home-legal-inner a:hover {
  color: var(--home-metal);
}

@media (max-width: 760px) {
  body.theme-robolabs .site-header:not(.site-header-home) {
    width: calc(100% - 28px);
    margin-top: 12px;
    top: 12px;
  }
  body.theme-robolabs .site-header:not(.site-header-home) .wrap {
    padding: 9px 10px 9px 14px;
  }
  body.theme-robolabs .site-header-home .wrap {
    padding: 9px 10px 9px 14px;
  }
  body.theme-robolabs .nav.mobile-open,
  body.theme-robolabs .site-header-home .nav.mobile-open {
    border-color: var(--line);
    background: oklch(10% 0.004 250 / .98);
  }
}

/* ── Unified liquid-metal site shell ─────────────────────────────── */
body.theme-robolabs {
  background:
    radial-gradient(circle at 14% -8%, oklch(33% 0.018 250 / .13), transparent 28rem),
    radial-gradient(circle at 88% 18%, oklch(24% 0.012 250 / .07), transparent 34rem),
    var(--paper);
}

body.theme-robolabs .site-header-unified,
body.theme-robolabs .site-header.site-header-unified:not(.site-header-home) {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  margin: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.theme-robolabs .site-header-unified .wrap,
body.theme-robolabs .site-header-unified.site-header-home .wrap,
body.theme-robolabs .site-header-unified:not(.site-header-home) .wrap {
  position: relative;
  width: min(calc(100% - 48px), 960px);
  max-width: 960px;
  margin: 18px auto 0;
  padding: 11px 14px 11px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(oklch(7% 0 0 / .965), oklch(7% 0 0 / .965)) padding-box,
    linear-gradient(180deg, oklch(32% 0.008 250 / .86), oklch(18% 0.004 250 / .58)) border-box;
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / .035),
    0 16px 42px oklch(3% 0 0 / .3);
  backdrop-filter: saturate(120%) blur(18px);
  -webkit-backdrop-filter: saturate(120%) blur(18px);
  pointer-events: auto;
}

body.theme-robolabs .site-header-unified .brand-slot {
  grid-column: 1;
  justify-self: start;
}

body.theme-robolabs .site-header-unified .nav-primary {
  grid-column: 2;
  justify-self: center;
  gap: 1px;
  font-size: .9375rem;
  font-weight: 400;
}

body.theme-robolabs .site-header-unified .nav-primary > a {
  min-height: 44px;
  padding: 10px 9px;
  border-radius: 999px;
}

.site-metal-frame,
.site-metal-fallback {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  isolation: isolate;
}

.site-metal-frame > a,
.site-metal-frame > button,
.site-metal-fallback > a,
.site-metal-fallback > button {
  position: relative;
  z-index: 1;
}

body.theme-robolabs .site-header-unified .nav-primary > .nav-cta-frame {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

body.theme-robolabs .site-header-unified .nav a.nav-cta {
  margin: 0;
  padding: 11px 17px;
  border-color: oklch(88% 0.014 250 / .14);
  background: oklch(15% 0.006 250 / .9);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .07);
}

body.theme-robolabs .site-header-unified .nav a.nav-cta:hover,
body.theme-robolabs .site-header-unified .nav a.nav-cta.active {
  background: oklch(19% 0.01 250 / .95);
  color: oklch(98% 0.004 250);
}

body.theme-robolabs .site-header-unified:not(.site-header-home) + main {
  padding-top: 142px !important;
}

/* Home owns its hero spacing. Do not apply the interior-page header spacer. */
body.theme-robolabs .home-page > .site-header-unified + main {
  padding-top: 0 !important;
}

body.theme-robolabs #site-header-root + .legal-main {
  padding-top: 142px;
}

/* The same premium surface language on every interior page. */
body.theme-robolabs h1.page-title,
body.theme-robolabs .legal-title,
body.theme-robolabs .contact-hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.045em;
}

body.theme-robolabs .archive-hero,
body.theme-robolabs .contact-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(86% 0.018 250 / .16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, oklch(28% 0.018 250 / .32), transparent 34%),
    radial-gradient(circle, oklch(82% 0.012 250 / .18) .7px, transparent .9px) 0 0 / 14px 14px,
    linear-gradient(145deg, oklch(12.5% 0.004 250), oklch(8.5% 0.002 250));
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .035), 0 32px 72px oklch(3% 0 0 / .34);
}

body.theme-robolabs .archive-hero::after,
body.theme-robolabs .contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, oklch(7% 0 0 / .72), transparent 28%, transparent 72%, oklch(7% 0 0 / .72));
}

body.theme-robolabs .archive-hero > *,
body.theme-robolabs .contact-hero > * {
  position: relative;
  z-index: 1;
}

.liquid-text-accent {
  color: var(--metal-accent);
}
.liquid-text-wrap { display: block; }
.liquid-text-accent.liquid-text-wrap .metal-fx-root {
  display: block;
  width: 100%;
  background: transparent !important;
}
.liquid-text-wrap .metal-fx-root::before,
.liquid-text-wrap .metal-fx-root::after { box-shadow: none !important; }
.liquid-text-wrap .metal-fx-inner { display: none !important; }
.liquid-text-wrap .metal-fx-canvas { z-index: 6 !important; }
.liquid-wrapped-glyphs {
  display: block;
  font: inherit;
  letter-spacing: inherit;
  white-space: normal;
}
.liquid-text-wrap .metal-fx-root:not([data-metal-fx-unsupported]) .liquid-wrapped-glyphs {
  color: transparent;
}
.liquid-text-accent .metal-fx-root {
  display: inline-flex;
  vertical-align: baseline;
  font: inherit;
  letter-spacing: inherit;
  isolation: isolate;
}
.liquid-text-glyphs {
  font: inherit !important;
  /* MetalText's canvas mask measures untracked glyphs. Matching that keeps
     the live text and shader aligned, without a doubled outline. */
  letter-spacing: 0 !important;
  text-shadow: none;
}
.liquid-text-accent [data-mfx-bare]:not([data-metal-fx-unsupported]) .liquid-text-glyphs {
  /* Keep the semantic text and its layout, but show one glyph layer only.
     Unsupported renderers are excluded and retain their readable text. */
  color: transparent !important;
}

body.theme-robolabs .archive-main {
  max-width: 1180px;
}

body.theme-robolabs .archive-hero {
  min-height: 390px;
  padding: 58px clamp(28px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom-color: oklch(86% 0.018 250 / .16);
}

body.theme-robolabs .archive-hero .legal-back {
  position: absolute;
  top: 28px;
  left: clamp(28px, 6vw, 76px);
  margin: 0;
}

body.theme-robolabs .archive-hero .eyebrow,
body.theme-robolabs .contact-hero .eyebrow-row {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 8px 15px;
  border: 1px solid oklch(82% 0.008 250 / .16);
  border-radius: 999px;
  background: oklch(100% 0 0 / .025);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
}

body.theme-robolabs .archive-hero-grid {
  text-align: center;
}

body.theme-robolabs .archive-hero .page-title {
  max-width: 14ch;
  margin: 0 auto 22px;
  font-size: clamp(3rem, 6.8vw, 5.75rem);
  line-height: .98;
  text-wrap: balance;
}

body.theme-robolabs .archive-hero .lede {
  margin: 0 auto;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  text-align: center;
}

body.theme-robolabs .archive-controls {
  margin: 0 0 42px;
  padding: 26px;
  border-radius: 20px;
  background:
    radial-gradient(60% 120% at 50% 0%, oklch(24% 0.008 250 / .55), transparent 64%),
    oklch(15.5% 0.004 250);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .035);
}

body.theme-robolabs .feed-card {
  border-radius: 20px;
  background:
    radial-gradient(65% 46% at 50% 0%, oklch(25% 0.008 250 / .58), transparent 76%),
    oklch(16% 0.004 250);
}

body.theme-robolabs .feed-card:hover h3 { color: oklch(94% 0.01 250); }
body.theme-robolabs .feed-thumb { border-radius: 15px; }

body.theme-robolabs .contact-hero {
  max-width: 1120px;
  min-height: 500px;
  padding: 104px clamp(26px, 6vw, 72px) 86px;
}

body.theme-robolabs .contact-hero h1 {
  width: auto;
  max-width: 15ch;
  margin: 0 auto 26px;
  font-size: clamp(3.15rem, 7vw, 6.25rem);
  line-height: .96;
  text-align: center;
}

body.theme-robolabs .contact-hero h1 .headline-static { white-space: normal; }
body.theme-robolabs .contact-hero h1 strong { justify-content: center; }
body.theme-robolabs .contact-hero h1 .rotating-word,
body.theme-robolabs .contact-hero .type-cursor {
  color: oklch(88% 0.016 250);
  text-shadow: 0 0 24px oklch(76% 0.04 250 / .18);
}

body.theme-robolabs .contact-hero p { color: var(--ink-2); }

body.theme-robolabs .contact-service {
  border-top-color: var(--line-soft);
}

body.theme-robolabs .consultation-form-card,
body.theme-robolabs .progress-card,
body.theme-robolabs .email-direct-card {
  border-radius: 20px;
  background:
    radial-gradient(72% 42% at 50% 0%, oklch(25% 0.008 250 / .5), transparent 78%),
    oklch(15.5% 0.004 250);
  box-shadow: inset 0 1px 0 oklch(100% 0 0 / .035), 0 24px 64px oklch(3% 0 0 / .22);
}

body.theme-robolabs .progress-fill {
  background: linear-gradient(90deg, oklch(58% 0.025 250), oklch(94% 0.012 250) 58%, oklch(70% 0.026 250));
  box-shadow: 0 0 18px oklch(82% 0.03 250 / .2);
}

body.theme-robolabs .expect-card li::before {
  border-color: oklch(86% 0.018 250 / .24);
  background: var(--accent-soft);
  color: var(--accent);
}

body.theme-robolabs .email-direct-card:hover a { color: oklch(95% 0.012 250); }

body.theme-robolabs .consultation-field input,
body.theme-robolabs .consultation-field textarea,
body.theme-robolabs .choice-button {
  border-radius: 11px;
}

body.theme-robolabs .consultation-metal-frame,
body.theme-robolabs .consultation-metal-frame.site-metal-fallback {
  display: block;
  width: 100%;
}

body.theme-robolabs .consultation-metal-frame > button {
  width: 100%;
  min-height: 56px;
  border-color: oklch(90% 0.012 250 / .2);
  background: oklch(14% 0.006 250 / .94);
  color: var(--ink);
}

body.theme-robolabs .consultation-metal-frame > button:hover {
  background: oklch(19% 0.012 250 / .96);
  color: oklch(98% 0.006 250);
}

/* Detail and legal pages share the same restrained dark editorial canvas. */
body.theme-robolabs .project-intro,
body.theme-robolabs .legal-content {
  border-color: var(--line-soft);
}

body.theme-robolabs .project-intro .page-title {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.04em;
}

body.theme-robolabs .legal-main {
  max-width: 980px;
  padding-bottom: 72px;
}

body.theme-robolabs .legal-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

body.theme-robolabs .legal-content {
  max-width: none;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(70% 40% at 50% 0%, oklch(24% 0.008 250 / .42), transparent 72%),
    oklch(14% 0.004 250);
}

@media (max-width: 980px) {
  body.theme-robolabs .site-header-unified .brand-motto { display: none; }
  body.theme-robolabs .site-header-unified.slot-motto .brand-text {
    max-width: 220px;
    opacity: 1;
    transition-delay: 0s;
  }
}

@media (max-width: 820px) {
  :root { --section-arrival: 92px; }
  body.theme-robolabs .site-header-unified .wrap,
  body.theme-robolabs .site-header-unified.site-header-home .wrap,
  body.theme-robolabs .site-header-unified:not(.site-header-home) .wrap {
    width: calc(100% - 28px);
    margin: 12px 14px 0;
    padding: 9px 10px 9px 14px;
    display: flex;
    justify-content: space-between;
  }

  body.theme-robolabs .site-header-unified .nav { display: none; }
  body.theme-robolabs .site-header-unified .nav-toggle { display: flex; }
  body.theme-robolabs .site-header-unified .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 14px auto;
    width: auto;
    justify-self: stretch;
    align-items: stretch;
    z-index: 100;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: oklch(10% 0.004 250 / .985);
    box-shadow: 0 24px 60px oklch(3% 0 0 / .52);
  }

  body.theme-robolabs .site-header-unified .nav.mobile-open > a {
    width: 100%;
    min-height: 44px;
    text-align: center;
  }

  body.theme-robolabs .site-header-unified .nav.mobile-open > .nav-cta-frame {
    position: static;
    transform: none;
    display: block;
    margin-top: 4px;
  }

  body.theme-robolabs .site-header-unified .nav.mobile-open .nav-cta {
    width: 100%;
    justify-content: center;
  }

  body.theme-robolabs .site-header-unified:not(.site-header-home) + main {
    padding-top: 112px !important;
  }

  body.theme-robolabs #site-header-root + .legal-main { padding-top: 112px; }

  body.theme-robolabs .archive-hero,
  body.theme-robolabs .contact-hero { border-radius: 22px; }
  body.theme-robolabs .contact-hero { min-height: 440px; padding-block: 74px 62px; }
}

@media (max-width: 620px) {
  body.theme-robolabs .site-header-unified .brand-text { display: none; }
  body.theme-robolabs .archive-hero { min-height: 350px; padding: 72px 24px 48px; }
  body.theme-robolabs .archive-hero .legal-back { top: 24px; left: 24px; }
  body.theme-robolabs .archive-hero .page-title { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  body.theme-robolabs .contact-hero h1 { font-size: clamp(2.7rem, 13vw, 4.8rem); }
  body.theme-robolabs .archive-controls { padding: 18px; }
  body.theme-robolabs .legal-content { padding: 26px 20px; border-radius: 18px; }
}
