:root {
  --ink: #111214;
  --muted: #68686d;
  --soft: #f5f5f7;
  --paper: #fbfcfd;
  --white: #ffffff;
  --line: rgba(18, 18, 20, 0.11);
  --blue: #087ad8;
  --blue-dark: #0065b3;
  --blue-soft: #e8f4ff;
  --mint: #b8f1df;
  --graphite: #131719;
  --graphite-2: #1d2427;
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 28px 80px rgba(22, 30, 38, 0.11);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.portal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin: 0;
  color: #4e555a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 14px;
  left: 50%;
  width: min(calc(100% - 28px), 1440px);
  height: 72px;
  padding: 0 14px 0 20px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(251, 252, 253, 0.82);
  box-shadow: 0 16px 50px rgba(28, 34, 41, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
  transform: translateX(-50%);
}
.brand { display: flex; width: max-content; align-items: center; gap: 12px; }
.brand-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--graphite);
}
.brand-symbol svg { width: 26px; fill: none; stroke: #b9f4e2; stroke-width: 1.25; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-size: 16px; letter-spacing: -0.02em; }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: 14px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { position: relative; font-size: 15px; font-weight: 600; white-space: nowrap; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--ink);
  transition: right 180ms ease;
}
.main-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.language-switch { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, 0.045); }
.language-switch button {
  min-width: 37px;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.language-switch button.active { background: #fff; color: var(--ink); box-shadow: 0 3px 11px rgba(0, 0, 0, 0.08); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--graphite); cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 1.5px; margin: 5px auto; background: #fff; transition: transform 180ms ease; }
.mobile-menu { display: none; }

.button {
  min-height: 44px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button-dark { background: var(--graphite); color: #fff; box-shadow: 0 10px 24px rgba(19, 23, 25, 0.14); }
.button-dark:hover { background: #252c2f; }
.button-secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.button-blue { background: var(--blue); color: #fff; box-shadow: 0 13px 30px rgba(8, 122, 216, 0.2); }
.button-blue:hover { background: var(--blue-dark); }
.button-large { min-height: 55px; padding: 17px 26px; font-size: 17px; }
.button.full { width: 100%; }
.button.disabled { opacity: 0.45; pointer-events: none; }
.text-link {
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
}
.text-link b { font-size: 26px; font-weight: 400; line-height: 1; transition: transform 180ms ease; }
.text-link:hover b { transform: translateX(3px); }
.text-link.light { color: #9fd6ff; }

.hero {
  width: min(100%, 1600px);
  min-height: 890px;
  margin: 0 auto;
  padding: 150px clamp(24px, 6vw, 110px) 90px;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(36px, 5vw, 90px);
  background:
    radial-gradient(circle at 82% 28%, rgba(221, 240, 250, 0.74), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fafcfd 80%, #f5f7f8 100%);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin: 23px 0 26px;
  max-width: 780px;
  font-size: clamp(60px, 6vw, 98px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.96;
}
.hero h1 span { color: #8c9297; }
.hero-lead { max-width: 720px; margin: 0; color: #545b60; font-size: clamp(20px, 1.65vw, 26px); line-height: 1.48; letter-spacing: -0.02em; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-trust { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust span { padding: 8px 12px; border: 1px solid rgba(17, 18, 20, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.56); color: #62686c; font-size: 14px; font-weight: 650; }
.hero-art { min-width: 0; }
.album-stack { position: relative; isolation: isolate; margin: 20px 9px 0; }
.album-sheet { position: absolute; inset: 0 8px 12px; z-index: -1; border: 1px solid #e1e7ec; border-radius: 28px; background: #f5f8fb; box-shadow: 0 14px 36px rgba(18,26,34,.06); }
.album-sheet-back { transform: translateY(-13px) rotate(-4deg); }
.album-sheet-front { transform: translateY(-5px) rotate(3deg); background: #fff; }
.album-page { display: block; overflow: hidden; border: 1px solid rgba(19,30,42,.09); border-radius: 26px; background: #fff; box-shadow: 0 26px 70px rgba(18,26,34,.12); }
.album-page:focus-visible, .album-navigation button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.album-image-stage { position: relative; overflow: hidden; aspect-ratio: 1672 / 941; background: #fff; touch-action: pan-y; }
.album-image-stage img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
#heroAlbumOutgoing { position: absolute; inset: 0; opacity: 0; pointer-events: none; transform-origin: left center; }
.album-caption { min-height: 128px; padding: 18px 24px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #f1f3f5; text-align: left; }
.album-count { display: block; margin-bottom: 7px; color: #737d86; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.album-caption strong { display: block; font-size: clamp(18px, 1.45vw, 23px); font-weight: 650; letter-spacing: -.025em; line-height: 1.25; }
.album-open { width: 43px; height: 43px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 25px; transition: background 180ms ease, color 180ms ease; }
.album-page:hover .album-open { background: var(--blue); color: #fff; }
.album-navigation { display: flex; align-items: center; gap: 10px; margin: 27px 0 0; }
.album-arrow { width: 38px; height: 44px; flex: 0 0 auto; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.85); color: #4d5963; font-size: 28px; cursor: pointer; }
.album-arrow:hover { border-color: var(--blue); color: var(--blue); }
.album-thumbnails { min-width: 0; flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.album-thumbnails button { min-width: 0; min-height: 48px; padding: 3px 3px 4px; border: 1.5px solid transparent; border-radius: 10px; background: rgba(255,255,255,.68); cursor: pointer; transition: border-color 180ms ease, background 180ms ease; }
.album-thumbnails button:hover { background: #fff; border-color: #b1d7f3; }
.album-thumbnails button.active { background: #fff; border-color: var(--blue); box-shadow: 0 4px 15px rgba(8,122,216,.1); }
.album-thumbnails img { width: 100%; aspect-ratio: 1672 / 941; height: auto; object-fit: contain; border-radius: 5px; }
.album-thumbnails span { display: block; margin-top: 3px; font-size: 12px; font-weight: 650; color: #75818a; }
.album-thumbnails button.active span { color: var(--blue); }
.album-hint { margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: center; }
.album-hint-touch { display: none; }

.intro-strip {
  width: min(calc(100% - 40px), var(--max));
  margin: -38px auto 0;
  padding: 29px 34px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.intro-strip article { padding: 4px 28px; display: flex; align-items: center; gap: 17px; border-right: 1px solid var(--line); }
.intro-strip article:first-child { padding-left: 0; }
.intro-strip article:last-child { border: 0; }
.intro-strip strong { color: #a1a6aa; font-size: 14px; }
.intro-strip p { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.35; }

.section { padding: 140px max(28px, calc((100vw - var(--max)) / 2)); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.52fr); align-items: end; gap: 60px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
.section-heading h2 span { color: #93989c; }
.section-heading > p:last-child { margin: 0 0 4px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.section-heading.centered { display: block; max-width: 940px; margin: 0 auto; text-align: center; }

.services { background: #f2f4f5; }
.service-selector { margin-top: 70px; display: grid; grid-template-columns: minmax(330px, 0.68fr) minmax(560px, 1.32fr); gap: 22px; }
.service-tabs { display: grid; align-content: start; gap: 8px; }
.service-tab {
  width: 100%;
  min-height: 74px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, border 180ms ease, transform 180ms ease;
}
.service-tab:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.62); }
.service-tab.active { border-color: rgba(18, 18, 20, 0.08); background: #fff; box-shadow: 0 14px 34px rgba(20, 28, 35, 0.06); }
.service-tab span { color: #9ca1a5; font-size: 14px; font-weight: 700; }
.service-tab strong { font-size: 17px; line-height: 1.28; }
.service-tab i { color: var(--blue); font-size: 28px; font-style: normal; font-weight: 300; opacity: 0; transform: translateX(-4px); transition: 180ms ease; }
.service-tab.active i { opacity: 1; transform: none; }
.service-detail { min-width: 0; overflow: hidden; border-radius: var(--radius-xl); background: #fff; box-shadow: 0 25px 70px rgba(20, 29, 37, 0.09); }
.service-visual { position: relative; overflow: hidden; background: #fff; }
.service-visual img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; transition: opacity 180ms ease; }
.service-detail.changing .service-visual img { opacity: 0.25; }
.service-visual > span { display: inline-block; margin: 10px 24px 0; padding: 8px 13px; border-radius: 999px; background: #f2f6fa; color: #54697c; font-size: 14px; font-weight: 750; letter-spacing: 0.08em; }
.service-detail-copy { padding: 34px 38px 40px; }
.service-detail-copy h3 { margin: 10px 0 13px; max-width: 760px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.045em; line-height: 1.08; }
.service-detail-copy > p:not(.eyebrow) { margin: 0; max-width: 820px; color: var(--muted); font-size: 18px; }
.service-detail-copy ul { margin: 23px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.service-detail-copy li { display: contents; }
.service-detail-copy li a { padding: 10px 13px; border: 1px solid transparent; border-radius: 10px; background: var(--soft); font-size: 15px; font-weight: 650; transition: 180ms ease; }
.service-detail-copy li a:hover { border-color: rgba(8, 122, 216, 0.22); background: var(--blue-soft); color: var(--blue-dark); transform: translateY(-1px); }

.process { background: #fff; }
.steps { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article { min-height: 330px; padding: 28px; position: relative; border: 1px solid var(--line); border-radius: 25px; background: #fafbfc; }
.steps article > span { position: absolute; top: 22px; right: 24px; color: #a5aaad; font-size: 14px; font-weight: 700; }
.step-icon { width: 66px; height: 66px; margin-bottom: 42px; display: grid; place-items: center; border-radius: 21px; background: #fff; box-shadow: 0 11px 30px rgba(16, 22, 26, 0.07); }
.step-icon svg { width: 36px; fill: none; stroke: #177bc3; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -0.03em; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.process-action { margin-top: 45px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.process-action p { margin: 0; color: var(--muted); font-size: 15px; text-align: center; }

.cabinets { background: #f2f4f5; }
.cabinet-grid { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cabinet-card { min-height: 630px; padding: 40px; position: relative; overflow: hidden; border-radius: var(--radius-xl); }
.cabinet-light { background: #fff; box-shadow: 0 24px 65px rgba(20, 29, 37, 0.08); }
.cabinet-dark { background: linear-gradient(145deg, #121719, #20282b); color: #fff; box-shadow: 0 28px 70px rgba(9, 14, 17, 0.18); }
.cabinet-number { position: absolute; top: 35px; right: 38px; color: #9aa0a4; font-size: 14px; font-weight: 700; }
.cabinet-copy { position: relative; z-index: 2; max-width: 510px; }
.cabinet-dark .eyebrow { color: #9fcabd; }
.cabinet-copy h3 { margin: 11px 0 16px; font-size: clamp(34px, 3.5vw, 50px); letter-spacing: -0.05em; line-height: 1.05; }
.cabinet-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 18px; }
.cabinet-dark .cabinet-copy > p:not(.eyebrow) { color: #b8c0c4; }
.cabinet-copy ul { margin: 26px 0 24px; padding: 0; display: grid; gap: 11px; list-style: none; }
.cabinet-copy li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; }
.cabinet-copy li::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 14px; }
.cabinet-dark .cabinet-copy li::before { background: rgba(184, 241, 223, 0.12); color: #aee9d7; }
.mini-window { position: absolute; right: -32px; bottom: -42px; width: 72%; height: 285px; overflow: hidden; border: 1px solid #e3e6e8; border-radius: 25px 0 0 0; background: #f7f8f9; box-shadow: -20px -15px 50px rgba(22, 29, 35, 0.09); transform: rotate(-2deg); }
.mini-window-head { height: 38px; padding: 13px 16px; display: flex; gap: 6px; background: #fff; }
.mini-window-head i { width: 8px; height: 8px; border-radius: 50%; background: #ccd1d4; }
.mini-window-body { padding: 26px; display: grid; gap: 17px; }
.mini-window-body span { width: 50%; height: 16px; border-radius: 6px; background: #202729; }
.mini-window-body strong { height: 45px; border-radius: 10px; background: #e7ebed; }
.cabinet-orbit { position: absolute; right: -70px; bottom: -76px; width: 420px; height: 420px; display: grid; place-items: center; }
.cabinet-orbit i { position: absolute; inset: 10%; border: 1px solid rgba(176, 234, 216, 0.28); border-radius: 50%; transform: rotateX(65deg); }
.cabinet-orbit i:nth-child(2) { inset: 23%; transform: rotateY(65deg); }
.cabinet-orbit span { width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 44% 56% 52% 48%; background: radial-gradient(circle at 35% 30%, rgba(184, 241, 223, 0.24), rgba(184, 241, 223, 0.03)); color: #caf5e8; font-size: 46px; font-weight: 260; box-shadow: 0 0 80px rgba(108, 222, 188, 0.1); }

.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: 70px; }
.about-copy h2 { margin: 15px 0 18px; font-size: clamp(46px, 5.2vw, 76px); letter-spacing: -0.06em; line-height: 0.98; }
.about-role { margin: 0 0 17px; color: var(--blue); font-size: 20px; font-weight: 700; }
.about-copy > p:last-of-type { max-width: 600px; margin: 0; color: var(--muted); font-size: 19px; }
.about-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #5f6569; font-size: 14px; font-weight: 700; }
.about-image { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: #f8fafb; box-shadow: var(--shadow); }
.about-image img { width: 100%; min-height: 500px; object-fit: cover; }
.about-image .specialist-photo { height: min(70vw, 720px); object-position: 50% 18%; }
.image-caption { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.91); box-shadow: 0 14px 32px rgba(15, 24, 30, 0.12); backdrop-filter: blur(14px); }
.image-caption span { width: 44px; height: 44px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--graphite); color: #baf2e1; font-size: 14px; font-weight: 800; }
.image-caption p { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.35; }
.patent-card { margin-top: 28px; padding: 30px 32px; display: grid; grid-template-columns: 0.48fr 1fr 0.76fr auto; align-items: center; gap: 30px; border: 1px solid var(--line); border-radius: 25px; background: #f7f8f9; transition: transform 180ms ease, box-shadow 180ms ease; }
.patent-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(19, 26, 31, 0.08); }
.patent-number { display: grid; }
.patent-number span, .patent-holder span { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.patent-number strong { margin-top: 4px; font-size: 21px; }
.patent-copy p { margin: 0 0 5px; color: var(--blue); font-size: 14px; font-weight: 700; }
.patent-copy h3 { margin: 0; font-size: 19px; line-height: 1.35; }
.patent-holder { display: grid; gap: 5px; }
.patent-holder strong { font-size: 15px; line-height: 1.35; }
.patent-arrow { font-size: 30px; font-weight: 400; }
.speaker-card { margin-top: 14px; padding: 25px 30px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border: 1px solid rgba(8, 122, 216, 0.14); border-radius: 25px; background: linear-gradient(135deg, #eef7ff, #f8fbfd); transition: transform 180ms ease, box-shadow 180ms ease; }
.speaker-card:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(19, 26, 31, 0.08); }
.speaker-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: 0.05em; }
.speaker-card p { margin: 0 0 5px; color: var(--blue); font-size: 14px; font-weight: 700; }
.speaker-card h3 { margin: 0; font-size: 19px; line-height: 1.35; }
.speaker-card > b { font-size: 30px; font-weight: 400; }

.final-cta { min-height: 670px; padding: 110px 24px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #dff3ff, #f6f8f9 52%, #fff 80%); text-align: center; }
.final-cta-copy { max-width: 1000px; }
.final-cta h2 { margin: 16px 0 34px; font-size: clamp(52px, 6vw, 86px); letter-spacing: -0.06em; line-height: 0.98; }
.final-cta h2 span { color: #8e9498; }
.site-footer { padding: 60px max(28px, calc((100vw - var(--max)) / 2)) 38px; display: grid; grid-template-columns: 1fr auto; gap: 50px; background: var(--graphite); color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand strong { font-size: 20px; }
.footer-brand p { margin: 4px 0 0; color: #aeb7bb; font-size: 15px; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.site-footer nav a { color: #dfe3e5; font-size: 15px; }
.footer-meta { grid-column: 1 / -1; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #858f93; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

.modal {
  width: min(calc(100% - 28px), 860px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(8, 15, 20, 0.28);
}
.modal::backdrop { background: rgba(9, 13, 16, 0.52); backdrop-filter: blur(10px); }
.modal-shell { padding: 40px; position: relative; }
.modal-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; font-size: 26px; font-weight: 300; line-height: 1; }
.modal-heading { padding-right: 54px; }
.modal-heading h2 { margin: 9px 0 10px; font-size: 39px; letter-spacing: -0.045em; line-height: 1.07; }
.modal-heading > p:last-child { margin: 0; color: var(--muted); font-size: 17px; }
.workspace-choice { margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-card { padding: 18px; position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 5px 12px; border: 1px solid var(--line); border-radius: 17px; cursor: pointer; }
.choice-card.active { border-color: var(--blue); background: #f2f9ff; box-shadow: inset 0 0 0 1px var(--blue); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-mark { width: 22px; height: 22px; grid-row: 1 / 3; border: 1.5px solid #aeb4b8; border-radius: 50%; }
.choice-card.active .choice-mark { border: 6px solid var(--blue); background: #fff; }
.choice-card strong { font-size: 16px; line-height: 1.3; }
.choice-card small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.form-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.62fr; gap: 13px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label > span { font-size: 14px; font-weight: 700; }
.form-grid label.wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea, .message-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d9dddf;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus, .message-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 122, 216, 0.12); }
.form-grid textarea { resize: vertical; }
.upload-zone { margin-top: 22px; min-height: 150px; padding: 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; border: 1.5px dashed #b9c2c8; border-radius: 18px; background: #fafbfc; cursor: pointer; }
.upload-zone.dragover { border-color: var(--blue); background: #eff8ff; }
.upload-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--blue-soft); }
.upload-icon svg { width: 32px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.upload-zone strong { font-size: 17px; }
.upload-zone p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.upload-pickers { margin: 10px 0 0; display: flex; gap: 14px; }
.picker-link { padding: 4px 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 14px; font-weight: 700; }
.case-file-list { margin-top: 11px; display: grid; gap: 7px; }
.case-file-list article { padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 10px; background: var(--soft); font-size: 14px; }
.case-file-list article span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-file-list button { border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.privacy-note { margin: 18px 0; padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px; border-radius: 13px; background: #fff8e8; color: #62563d; }
.privacy-note svg { width: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.privacy-note p { margin: 0; font-size: 14px; line-height: 1.45; }
.access-shell { display: grid; gap: 12px; }
.access-option { padding: 22px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 18px; background: #f8f9fa; cursor: pointer; text-align: left; }
.access-option > span { color: #999fa3; font-size: 14px; font-weight: 700; }
.access-option > div { display: grid; }
.access-option strong { font-size: 18px; }
.access-option small { margin-top: 3px; color: var(--muted); font-size: 14px; }
.access-option b { color: var(--blue); font-size: 30px; font-weight: 300; }
.access-option.dark { border-color: transparent; background: var(--graphite); color: #fff; }
.access-option.dark small { color: #aeb6ba; }
.access-option.dark b { color: #baf2e1; }

.portal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  grid-template-columns: 290px 1fr;
  grid-template-rows: 92px 1fr;
  background: #edf0f2;
}
.portal-sidebar { grid-row: 1 / -1; padding: 26px 18px; display: flex; flex-direction: column; overflow: auto; background: var(--graphite); color: #fff; }
.portal-brand { padding: 0 7px; display: flex; align-items: center; gap: 11px; }
.portal-brand .brand-symbol { border: 1px solid rgba(255,255,255,.12); }
.portal-brand > div { display: grid; line-height: 1.15; }
.portal-brand strong { font-size: 16px; letter-spacing: 0.04em; }
.portal-brand small { margin-top: 4px; color: #98a2a6; font-size: 14px; }
.portal-case { margin: 27px 0 18px; padding: 15px; display: grid; gap: 3px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 15px; background: rgba(255, 255, 255, 0.045); color: #fff; cursor: pointer; text-align: left; }
.portal-case span, .portal-case small { color: #939da1; font-size: 14px; }
.portal-case strong { font-size: 17px; }
.portal-nav { display: grid; gap: 6px; }
.portal-nav button { min-height: 49px; padding: 10px 12px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 11px; border: 0; border-radius: 12px; background: transparent; color: #aeb6ba; cursor: pointer; font-size: 15px; font-weight: 650; text-align: left; }
.portal-nav button:hover { background: rgba(255,255,255,.05); color: #fff; }
.portal-nav button.active { background: rgba(184, 241, 223, 0.12); color: #c7f6e8; }
.portal-nav svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.portal-nav i { min-width: 23px; height: 23px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: #e85959; color: #fff; font-size: 14px; font-style: normal; }
.portal-sidebar-bottom { margin-top: auto; padding-top: 25px; }
.role-toggle { margin-bottom: 11px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 11px; background: rgba(255,255,255,.06); }
.role-toggle button { padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #9ca6aa; cursor: pointer; font-size: 14px; font-weight: 700; }
.role-toggle button.active { background: rgba(255,255,255,.12); color: #fff; }
.portal-exit { width: 100%; padding: 11px 8px; border: 0; background: transparent; color: #9ca6aa; cursor: pointer; font-size: 14px; text-align: left; }
.portal-header { padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(19, 23, 25, 0.08); background: rgba(255,255,255,.84); backdrop-filter: blur(18px); }
.portal-header p { margin: 0; color: var(--muted); font-size: 14px; }
.portal-header h1 { margin: 2px 0 0; font-size: 27px; letter-spacing: -0.035em; line-height: 1.1; }
.portal-header-actions { display: flex; align-items: center; gap: 14px; }
.sync-state { padding: 7px 11px; display: flex; align-items: center; gap: 7px; border-radius: 999px; background: #edf7f3; color: #44675d; font-size: 14px; font-weight: 650; }
.sync-state i, .online-pill i { width: 8px; height: 8px; border-radius: 50%; background: #46b693; }
.avatar { width: 43px; height: 43px; border: 0; border-radius: 50%; background: var(--graphite); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; }
.portal-menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--graphite); }
.portal-menu span { width: 19px; height: 1.5px; display: block; margin: 5px auto; background: #fff; }
.portal-main { min-width: 0; overflow: auto; padding: 30px; }
.portal-view { display: none; }
.portal-view.active { display: block; }
.view-toolbar { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.view-toolbar h2 { margin: 5px 0 0; font-size: 34px; letter-spacing: -0.045em; line-height: 1.05; }
.atlas-description { max-width: 820px; margin: -3px 0 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.atlas-frame { display: block; width: 100%; height: 78vh; height: 78dvh; min-height: 560px; border: 1px solid var(--line); border-radius: 22px; background: #f5f5f2; box-shadow: 0 18px 45px rgba(12,17,19,.05); }
.toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.file-button { position: relative; overflow: hidden; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.viewer-status { padding: 10px 13px; border-radius: 999px; background: #dff3ec; color: #3e685b; font-size: 14px; font-weight: 700; }
.viewer-controls { margin-bottom: 13px; padding: 12px 14px; display: flex; align-items: center; gap: 20px; border-radius: 14px; background: #fff; }
.viewer-controls label { display: grid; grid-template-columns: 24px minmax(100px, 170px) 48px; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.viewer-controls output { color: var(--muted); font-weight: 500; }
.viewer-controls input[type="range"], .viewport input[type="range"] { accent-color: #70d3b5; }
.control-button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 700; }
.mpr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.viewport { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #111617; box-shadow: 0 15px 30px rgba(12,17,19,.08); }
.viewport header { height: 42px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; color: #a9b2b6; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.viewport header button { border: 0; background: transparent; color: #9ee2cd; cursor: pointer; font-size: 14px; font-weight: 700; }
.viewport canvas { width: 100%; height: 310px; display: block; background: #0a0d0e; }
.viewport > input { width: calc(100% - 26px); margin: 9px 13px 14px; }
.viewer-legend { padding: 10px 13px; display: flex; gap: 17px; color: #aeb6ba; font-size: 14px; }
.viewer-legend span { display: flex; align-items: center; gap: 7px; }
.viewer-legend i { width: 9px; height: 9px; border-radius: 50%; background: #dad9d4; }
.viewer-legend .implant-dot { background: #71d8b8; }
.viewer-disclaimer { margin: 13px 0 0; color: var(--muted); font-size: 14px; }

.model-workspace { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; }
.model-stage { min-width: 0; min-height: 650px; position: relative; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 42%, #252d30, #111617 67%); }
.model-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.model-stage canvas:active { cursor: grabbing; }
.stage-help { position: absolute; left: 20px; bottom: 18px; padding: 8px 11px; border-radius: 9px; background: rgba(0,0,0,.35); color: #aeb7ba; font-size: 14px; backdrop-filter: blur(8px); }
.scene-loading { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 13px; background: rgba(14,18,20,.75); color: #fff; font-size: 15px; }
.scene-loading i { width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.2); border-top-color: #a9ead6; border-radius: 50%; animation: spin 800ms linear infinite; }
.scene-loading.done { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.orientation-cube { position: absolute; top: 18px; right: 18px; width: 55px; height: 55px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: #b9c3c7; font-size: 14px; transform: rotate(8deg); }
.orientation-cube span { position: absolute; right: -16px; color: #81d7bd; }
.orientation-cube b { font-size: 14px; }
.layer-panel { padding: 20px; border-radius: 20px; background: #fff; }
.layer-panel-head { padding-bottom: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.layer-panel h3 { margin: 5px 0 0; font-size: 20px; letter-spacing: -0.03em; }
.layer-panel-head button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 14px; font-weight: 700; }
.layer-list { display: grid; }
.layer-list article { padding: 16px 0; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.layer-list article > div { min-width: 0; display: grid; }
.layer-list strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.layer-list small { color: var(--muted); font-size: 14px; }
.visibility-button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 9px; background: #edf0ef; cursor: pointer; }
.visibility-button span { width: 12px; height: 12px; border-radius: 50%; background: #d8d7d1; box-shadow: 0 0 0 3px rgba(216,215,209,.2); }
.visibility-button.implant span { background: #63c9aa; }
.visibility-button:not(.active) span { opacity: 0.2; }
.isolate-button { padding: 5px; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 14px; font-weight: 650; }
.layer-note { margin-top: 20px; padding: 14px; border-radius: 12px; background: var(--soft); }
.layer-note strong { font-size: 14px; }
.layer-note p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.video-workspace { display: grid; grid-template-columns: 1fr 320px; gap: 12px; }
.video-stage { min-height: 650px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: #111617; }
.video-stage video { width: 100%; max-height: 650px; }
.empty-state { max-width: 440px; padding: 30px; color: #fff; text-align: center; }
.empty-state > span { width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.05); }
.empty-state svg { width: 43px; fill: none; stroke: #9ee2cd; stroke-width: 1.4; }
.empty-state h3 { margin: 0 0 8px; font-size: 26px; }
.empty-state p { margin: 0; color: #9da8ac; font-size: 16px; }
.video-playlist { padding: 20px; border-radius: 20px; background: #fff; }
#videoPlaylist { margin-top: 15px; display: grid; gap: 8px; }
#videoPlaylist button { padding: 13px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; background: #fafbfc; cursor: pointer; text-align: left; }
#videoPlaylist button.active { border-color: var(--blue); background: #eff8ff; }
#videoPlaylist button span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--graphite); color: #fff; font-size: 14px; }
#videoPlaylist button strong { min-width: 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.protocol-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; }
.protocol-document { min-height: 720px; padding: 55px max(32px, 9%); border-radius: 18px; background: #fff; box-shadow: 0 12px 35px rgba(18,25,30,.06); }
.protocol-demo header { margin-bottom: 60px; padding-bottom: 14px; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.protocol-demo header span { font-weight: 800; letter-spacing: .06em; }
.protocol-demo header small { color: var(--muted); font-size: 14px; }
.protocol-demo h3 { margin: 10px 0 25px; font-size: 31px; letter-spacing: -0.04em; }
.protocol-demo dl { margin: 0 0 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.protocol-demo dl div { padding: 14px; border-radius: 11px; background: var(--soft); }
.protocol-demo dt { color: var(--muted); font-size: 14px; }
.protocol-demo dd { margin: 3px 0 0; font-weight: 700; }
.protocol-demo h4 { margin: 28px 0 8px; font-size: 18px; }
.protocol-demo > p:not(.eyebrow) { color: #42484c; }
.protocol-document iframe { width: 100%; height: 690px; border: 0; }
.protocol-document pre { margin: 0; white-space: pre-wrap; font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.protocol-info { height: max-content; padding: 22px; border-radius: 18px; background: #fff; }
.protocol-status { display: flex; align-items: center; gap: 8px; color: #33705d; font-size: 14px; }
.protocol-status i { width: 10px; height: 10px; border-radius: 50%; background: #55bf9e; }
.protocol-info h3 { margin: 24px 0 9px; font-size: 21px; }
.protocol-info p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.online-pill { padding: 8px 12px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: #e6f6f0; color: #3f6c5e; font-size: 14px; font-weight: 700; }
.messages-layout { min-height: 650px; padding: 26px; display: grid; grid-template-rows: 1fr auto auto; border-radius: 20px; background: #fff; }
.message-thread { overflow: auto; display: flex; flex-direction: column; gap: 17px; }
.message { max-width: min(620px, 74%); }
.message.mine { align-self: flex-end; }
.message header { margin-bottom: 5px; display: flex; align-items: center; gap: 9px; }
.message header strong { font-size: 14px; }
.message time { color: #959b9f; font-size: 14px; }
.message p { margin: 0; padding: 13px 15px; border-radius: 5px 17px 17px 17px; background: #f0f2f3; font-size: 16px; }
.message.mine p { border-radius: 17px 5px 17px 17px; background: #dff3ff; }
.message-form { margin-top: 20px; padding-top: 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; border-top: 1px solid var(--line); }
.message-form textarea { min-height: 52px; resize: none; }
.local-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.notification-list { display: grid; gap: 10px; }
.notification-list article { padding: 19px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; border-radius: 15px; background: #fff; }
.notification-list article.unread { box-shadow: inset 3px 0 var(--blue); }
.notification-list article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.notification-list svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.notification-list strong { font-size: 17px; }
.notification-list p { margin: 3px 0; color: var(--muted); font-size: 15px; }
.notification-list time { color: #9ca2a6; font-size: 14px; }

.toast { position: fixed; z-index: 400; right: 22px; bottom: 22px; max-width: 420px; padding: 14px 18px; border-radius: 13px; background: #111719; color: #fff; box-shadow: 0 18px 45px rgba(0,0,0,.22); font-size: 15px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: 200ms ease; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    z-index: 75;
    top: 94px;
    left: 14px;
    right: 14px;
    padding: 20px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 180ms ease;
  }
  .mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-menu > a { padding: 12px 9px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 650; }
  .mobile-menu-actions { padding-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero { min-height: 820px; grid-template-columns: 0.9fr 1.1fr; padding-left: 42px; padding-right: 42px; }
  .hero h1 { font-size: clamp(56px, 6.5vw, 78px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps article { min-height: 285px; }
  .portal { grid-template-columns: 250px 1fr; }
  .model-workspace, .video-workspace { grid-template-columns: 1fr 270px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .desktop-action { display: none; }
  .hero { min-height: auto; padding: 150px 30px 90px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { max-width: 720px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; margin-top: 35px; }
  .hero-art { width: min(760px, 100%); margin: 0 auto; }
  .intro-strip { margin-top: -32px; grid-template-columns: 1fr; }
  .intro-strip article { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 100px 26px; }
  .section-heading { grid-template-columns: 1fr; gap: 19px; }
  .section-heading > p:last-child { max-width: 650px; }
  .service-selector { grid-template-columns: 1fr; }
  .service-tabs { grid-template-columns: 1fr 1fr; }
  .service-tab { min-height: 82px; }
  .cabinet-grid, .about-grid { grid-template-columns: 1fr; }
  .cabinet-card { min-height: 600px; }
  .about-copy { max-width: 700px; }
  .patent-card { grid-template-columns: 0.55fr 1.45fr auto; }
  .patent-holder { grid-column: 1 / 3; }
  .speaker-card { grid-template-columns: auto 1fr auto; }
  .portal { grid-template-columns: 1fr; grid-template-rows: 82px 1fr; }
  .portal-sidebar { position: fixed; z-index: 15; top: 0; bottom: 0; left: 0; width: 280px; transform: translateX(-100%); transition: transform 200ms ease; }
  .portal.sidebar-open .portal-sidebar { transform: none; box-shadow: 20px 0 60px rgba(0,0,0,.25); }
  .portal-header { grid-column: 1; padding: 0 20px; justify-content: flex-start; gap: 14px; }
  .portal-menu { display: block; flex: 0 0 auto; }
  .portal-header-actions { margin-left: auto; }
  .portal-main { padding: 20px; }
}

@media (max-width: 700px) {
  .site-header { height: 66px; padding-left: 13px; }
  .brand-symbol { width: 39px; height: 39px; }
  .brand-text small { display: none; }
  .language-switch button { min-width: 34px; padding: 6px; }
  .hero { padding: 125px 18px 80px; }
  .hero h1 { font-size: clamp(46px, 14vw, 67px); }
  .hero-lead { font-size: 19px; }
  .hero-actions { margin-top: 28px; flex-direction: column; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .album-stack { margin-left: 5px; margin-right: 5px; }
  .album-page, .album-sheet { border-radius: 20px; }
  .album-caption { min-height: 142px; padding: 15px 17px 18px; gap: 10px; }
  .album-caption strong { font-size: 18px; }
  .album-open { width: 36px; height: 36px; font-size: 22px; }
  .album-navigation { gap: 5px; margin-top: 22px; }
  .album-arrow { width: 30px; height: 40px; }
  .album-thumbnails { gap: 3px; }
  .album-thumbnails button { padding: 2px 1px 4px; border-radius: 7px; }
  .intro-strip { width: calc(100% - 28px); padding: 18px 20px; }
  .section { padding: 82px 18px; }
  .section-heading h2 { font-size: 43px; }
  .service-tabs { grid-template-columns: 1fr; gap: 5px; }
  .service-tab { min-height: 65px; }
  .service-detail-copy { padding: 26px 22px 30px; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 260px; }
  .cabinet-card { min-height: 660px; padding: 27px; border-radius: 29px; }
  .mini-window { width: 91%; }
  .cabinet-orbit { right: -130px; }
  .about-image img { min-height: 360px; }
  .about-image .specialist-photo { height: 560px; }
  .patent-card { padding: 24px; grid-template-columns: 1fr auto; gap: 20px; }
  .patent-copy, .patent-holder { grid-column: 1 / -1; }
  .speaker-card { padding: 22px; grid-template-columns: auto 1fr; }
  .speaker-card > b { display: none; }
  .final-cta { min-height: 560px; }
  .final-cta h2 { font-size: 48px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-meta { flex-direction: column; }
  .modal-shell { padding: 28px 20px; }
  .modal-heading h2 { font-size: 32px; }
  .workspace-choice, .form-grid { grid-template-columns: 1fr; }
  .form-grid label.wide { grid-column: 1; }
  .upload-zone { grid-template-columns: auto 1fr; }
  .upload-zone .button { grid-column: 1 / -1; width: 100%; }
  .view-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions { width: 100%; justify-content: flex-start; }
  .viewer-controls { align-items: stretch; flex-direction: column; }
  .viewer-controls label { grid-template-columns: 24px 1fr 46px; }
  .mpr-grid { grid-template-columns: 1fr; }
  .viewport canvas { height: 270px; }
  .model-workspace, .video-workspace, .protocol-layout { grid-template-columns: 1fr; }
  .model-stage, .video-stage { min-height: 470px; }
  .layer-panel { order: -1; }
  .video-playlist { order: -1; }
  .protocol-document { min-height: 560px; padding: 30px 22px; }
  .protocol-demo header, .protocol-demo dl { grid-template-columns: 1fr; flex-direction: column; }
  .message { max-width: 90%; }
  .message-form { grid-template-columns: 1fr; }
  .portal-header-actions .sync-state { display: none; }
  .portal-main { padding: 14px; }
}

@media (hover: none), (pointer: coarse) {
  .album-hint-pointer { display: none; }
  .album-hint-touch { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
