:root {
  --bg: #040811;
  --bg-soft: #07111f;
  --surface: rgba(8, 20, 35, 0.86);
  --surface-strong: #091726;
  --surface-light: #0d2035;
  --text: #f6f8fb;
  --muted: #aab5c3;
  --line: rgba(151, 184, 218, 0.18);
  --line-strong: rgba(151, 184, 218, 0.34);
  --accent: #3aaeff;
  --accent-strong: #0b80e8;
  --accent-soft: #9ed7ff;
  --success: #70d5b1;
  --danger: #ff8b91;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shell: min(1440px, calc(100% - 64px));
  --header-height: 98px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 2%, rgba(32, 102, 161, 0.18), transparent 32rem),
    linear-gradient(180deg, #040811 0%, #050b14 45%, #040811 100%);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(58, 174, 255, 0.58);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
ul {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.site-shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #00101c;
  background: var(--accent-soft);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(3, 7, 14, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(3, 7, 14, 0.97);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 270px minmax(560px, 1fr) 150px;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
}

.brand img {
  width: 100%;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.5vw, 44px);
  min-width: 0;
}

.primary-nav a {
  position: relative;
  padding: 37px 0 34px;
  color: #e7ebf1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 26px;
  height: 2px;
  background: var(--accent);
  transition: right 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--accent-soft);
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  right: 0;
}

.visit-counter {
  min-width: 148px;
  display: grid;
  grid-template-columns: 1fr 36px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(4, 11, 20, 0.78);
}

.visit-counter span {
  grid-column: 1;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visit-counter strong {
  grid-column: 1;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.visit-counter svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 36px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Buttons and shared elements */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #1394f6, #0867c6);
  border-color: #35aaff;
  box-shadow: 0 12px 32px rgba(7, 113, 214, 0.24);
}

.button-primary:hover {
  background: linear-gradient(180deg, #31a9ff, #0874d9);
}

.button-secondary {
  color: #eef5fb;
  background: rgba(4, 10, 18, 0.52);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  color: var(--accent-soft);
  border-color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 46px);
}

.section-heading p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 17px;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 58px 0;
}

/* Home hero */
.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 14, 0.98) 0%, rgba(3, 7, 14, 0.88) 39%, rgba(3, 7, 14, 0.28) 72%, rgba(3, 7, 14, 0.12) 100%),
    linear-gradient(180deg, rgba(3, 7, 14, 0.22), rgba(3, 7, 14, 0.28));
}

.hero-inner {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 74px;
  padding: 72px 0;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(48px, 5.1vw, 76px);
  font-weight: 500;
}

.hero h1 span {
  color: #d4eaff;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 30px;
  color: #c0cad5;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand img {
  width: min(100%, 610px);
  filter: drop-shadow(0 12px 38px rgba(0, 0, 0, 0.58));
}

/* Feature cards */
.feature-section {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding-bottom: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(4, 10, 18, 0.92);
  box-shadow: var(--shadow);
}

.feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #091a2b, #071321);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 174, 255, 0.48);
}

.feature-card-image {
  aspect-ratio: 16 / 6.8;
  overflow: hidden;
  background: #07111d;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.025);
}

.feature-card-body {
  min-height: 185px;
  position: relative;
  padding: 20px 54px 22px 22px;
}

.card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-card h2,
.feature-card h3 {
  margin-bottom: 8px;
  font-size: clamp(19px, 1.5vw, 24px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
}

.card-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 23px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Partner strip */
.partner-strip {
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 30px;
  margin: 20px auto 42px;
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(9, 25, 42, 0.94), rgba(6, 18, 31, 0.94));
}

.apec-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f6f8fb;
  line-height: 1;
}

.apec-mark strong {
  font-size: 42px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.apec-mark span {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.partner-strip p {
  margin: 0;
  font-size: 16px;
}

/* Interior page hero */
.page-hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(4, 8, 16, 0.97), rgba(4, 8, 16, 0.76) 55%, rgba(4, 8, 16, 0.45)),
    url('/assets/img/earth-poster.jpg') center 52% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(47, 139, 215, 0.12), transparent 28rem);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 70px 0;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(46px, 5vw, 72px);
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: #c7d1dc;
  font-size: clamp(17px, 1.5vw, 21px);
}

/* About */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
}

.two-column.reverse .content-media {
  order: -1;
}

.content-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 3.2vw, 50px);
}

.content-copy p {
  margin-bottom: 17px;
  font-size: 17px;
}

.content-media {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-media img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

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

.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 27, 45, 0.88), rgba(7, 19, 32, 0.88));
}

.info-card svg {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
}

.info-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.info-card p {
  margin-bottom: 0;
}

.collaboration-panel {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 48px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a1c31, #06111f);
}

.collaboration-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 46px);
}

.collaboration-panel p {
  margin-bottom: 22px;
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-frame.portrait {
  aspect-ratio: 16 / 10;
  background: #020408;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-card-body {
  padding: 24px 26px 28px;
}

.video-card h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.video-card p {
  margin-bottom: 0;
}

.video-meta {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-pair {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 24px;
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.image-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.image-panel figcaption {
  padding: 17px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* Media */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.media-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.media-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.media-video-body {
  padding: 20px 22px;
}

.media-video h2 {
  margin-bottom: 0;
  font-size: 21px;
}

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

.press-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(11, 29, 48, 0.9), rgba(6, 18, 31, 0.94));
  transition: transform 180ms ease, border-color 180ms ease;
}

.press-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 174, 255, 0.48);
}

.press-source {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.press-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.press-card .text-link {
  margin-top: auto;
}

/* Patents */
.patent-status {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(12, 38, 65, 0.94), rgba(6, 18, 31, 0.96));
  box-shadow: var(--shadow);
}

.patent-icon {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 190, 255, 0.4);
  border-radius: 50%;
  background: rgba(23, 111, 182, 0.1);
}

.patent-icon svg {
  width: 72px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 1.4;
}

.patent-status h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 3.5vw, 52px);
}

.patent-status p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 18px;
}

.timeline {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 26px 30px;
  background: rgba(8, 22, 37, 0.72);
}

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

.timeline-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(58, 174, 255, 0.42);
  border-radius: 50%;
  color: var(--accent-soft);
  font-weight: 500;
}

.timeline-item h3 {
  margin-bottom: 7px;
  font-size: 21px;
}

.timeline-item p {
  margin-bottom: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 22, 37, 0.8);
}

.contact-panel h2,
.form-panel h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 12, 21, 0.56);
  transition: border-color 160ms ease;
}

.contact-list a:hover {
  border-color: rgba(58, 174, 255, 0.5);
}

.contact-list svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(58, 174, 255, 0.11);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.contact-list span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-list strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

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

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #dce4ed;
  font-size: 13px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  color: var(--text);
  background: rgba(3, 10, 18, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input,
.form-field select {
  height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 180px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 174, 255, 0.1);
  outline: none;
}

.form-field option {
  color: #0a1522;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.alert {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.alert-success {
  color: #c8f3e2;
  background: rgba(60, 163, 127, 0.12);
  border: 1px solid rgba(112, 213, 177, 0.35);
}

.alert-error {
  color: #ffd8da;
  background: rgba(204, 61, 72, 0.13);
  border: 1px solid rgba(255, 139, 145, 0.35);
}

.alert ul {
  margin: 0;
  padding-left: 18px;
}

/* 404 */
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
  background:
    linear-gradient(rgba(3, 7, 14, 0.76), rgba(3, 7, 14, 0.88)),
    url('/assets/img/earth-poster.jpg') center / cover no-repeat;
}

.error-page h1 {
  margin-bottom: 8px;
  color: var(--accent-soft);
  font-size: clamp(90px, 15vw, 180px);
  line-height: 0.9;
}

.error-page h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.error-page p {
  max-width: 540px;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: #040912;
}

.footer-grid {
  display: grid;
  grid-template-columns: 250px 1.15fr 1fr 0.95fr 1fr;
  gap: 26px;
  align-items: center;
}

.footer-brand {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.footer-brand img {
  width: 190px;
}

.footer-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
}

.footer-item svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #b7c7d8;
  stroke-width: 1.3;
}

.footer-item span {
  display: block;
  margin-bottom: 2px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-item a,
.footer-item p,
.footer-legal p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-item a:hover {
  color: var(--accent-soft);
}

.footer-legal {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 1240px) {
  :root {
    --shell: min(1180px, calc(100% - 44px));
  }

  .header-inner {
    grid-template-columns: 220px 1fr 140px;
    gap: 20px;
  }

  .brand {
    width: 190px;
  }

  .primary-nav {
    gap: 22px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 220px 1.2fr 1fr 1fr;
  }

  .footer-legal {
    grid-column: 2 / -1;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 82px;
    --shell: min(940px, calc(100% - 34px));
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    width: 180px;
  }

  .nav-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .visit-counter {
    grid-column: 3;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(370px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 18px 24px 32px;
    background: rgba(4, 10, 18, 0.99);
    border-left: 1px solid var(--line);
    transform: translateX(102%);
    transition: transform 220ms ease;
    overflow-y: auto;
  }

  .primary-nav.open {
    transform: translateX(0);
  }

  .primary-nav a {
    padding: 18px 4px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 570px;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.75fr;
    padding: 64px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .feature-card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .partner-strip {
    grid-template-columns: 230px 1fr;
  }

  .partner-strip .text-link {
    grid-column: 2;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .two-column.reverse .content-media {
    order: 0;
  }

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

  .collaboration-panel {
    grid-template-columns: 230px 1fr;
  }

  .showcase-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-brand {
    border-right: 0;
  }

  .footer-legal {
    grid-column: auto;
    padding: 0;
    border-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 28px, 680px);
  }

  .visit-counter {
    min-width: 110px;
    padding: 9px 10px;
    grid-template-columns: 1fr;
  }

  .visit-counter svg {
    display: none;
  }

  .visit-counter strong {
    font-size: 15px;
  }

  .brand {
    width: 155px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(3, 7, 14, 0.9) 0%, rgba(3, 7, 14, 0.74) 48%, rgba(3, 7, 14, 0.9) 100%),
      linear-gradient(90deg, rgba(3, 7, 14, 0.85), rgba(3, 7, 14, 0.35));
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 70px 0 94px;
  }

  .hero-brand {
    display: none;
  }

  .hero h1 {
    font-size: clamp(40px, 11.5vw, 58px);
  }

  .feature-section {
    margin-top: -42px;
  }

  .feature-grid {
    padding: 9px;
  }

  .feature-card {
    display: block;
  }

  .feature-card-image {
    aspect-ratio: 16 / 8.5;
  }

  .partner-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .partner-strip .text-link {
    grid-column: auto;
    justify-self: center;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    min-height: 330px;
  }

  .page-hero-inner {
    padding: 60px 0;
  }

  .page-hero h1 {
    font-size: clamp(40px, 12vw, 60px);
  }

  .principles-grid,
  .info-grid,
  .press-grid {
    grid-template-columns: 1fr;
  }

  .collaboration-panel {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    height: 300px;
  }

  .patent-status {
    grid-template-columns: 1fr;
    padding: 32px;
    text-align: center;
  }

  .patent-icon {
    margin: 0 auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-brand,
  .footer-legal {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-legal {
    padding-top: 14px;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px) {
  :root {
    --shell: calc(100% - 22px);
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    width: 126px;
  }

  .nav-toggle {
    width: 42px;
  }

  .visit-counter {
    min-width: 90px;
  }

  .visit-counter span {
    font-size: 8px;
  }

  .visit-counter strong {
    font-size: 13px;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-inner {
    padding-top: 54px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .feature-card-body,
  .video-card-body,
  .info-card,
  .press-card,
  .contact-panel,
  .form-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-number {
    width: 40px;
    height: 40px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
