:root {
  --bg: #07110d;
  --bg-elevated: #0c1812;
  --surface: #101f17;
  --surface-strong: #15271d;
  --text: #f6fbf7;
  --muted: #b8c7be;
  --quiet: #7f9388;
  --accent: #17ff7e;
  --accent-strong: #5affaa;
  --link: #8bd8ff;
  --border: rgba(183, 255, 216, 0.18);
  --border-strong: rgba(23, 255, 126, 0.42);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    linear-gradient(rgba(23, 255, 126, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 255, 126, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 68% 14%, rgba(23, 255, 126, 0.08), transparent 26rem),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--accent-strong);
}

button {
  font: inherit;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--accent);
  color: #031109;
  padding: 10px 14px;
  font-weight: 750;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(23, 255, 126, 0.42);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid rgba(183, 255, 216, 0.12);
  background: rgba(7, 17, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #0f1f18;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  padding: 10px 8px;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(23, 255, 126, 0.08);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle svg,
.button svg,
.card-icon svg,
.video-link svg,
.dialog-close svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-shell {
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: clamp(36px, 7vw, 84px);
  padding-top: clamp(4px, 2vw, 20px);
  padding-bottom: clamp(12px, 2vw, 24px);
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3.35rem, 7.4vw, 5.9rem);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-role {
  width: fit-content;
  margin: 20px 0 0;
  border-left: 3px solid var(--accent);
  color: var(--accent);
  padding-left: 16px;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 720;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.65vw, 1.32rem);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.96rem;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #031109;
}

.button.secondary {
  border-color: var(--border-strong);
  background: rgba(23, 255, 126, 0.1);
  color: var(--text);
}

.button.ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--muted);
}

.hero-media {
  position: relative;
}

.hero-media picture {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1.05;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border: 1px solid var(--border);
  border-top: 0;
  background: var(--border);
}

.proof-strip div {
  min-width: 0;
  background: rgba(12, 24, 18, 0.96);
  padding: 14px;
}

.proof-strip dt {
  margin: 0 0 4px;
  color: var(--quiet);
  font-size: 0.75rem;
  font-weight: 760;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 720;
}

.intro-grid,
.stats-section,
.field-section,
.timeline-section,
.project-section,
.graphics-section,
.achievements,
.dates-section,
.gallery-section,
.faq-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--border);
}

.ad-section {
  padding-top: 0;
  padding-bottom: clamp(22px, 4vw, 38px);
}

.ad-section.compact {
  padding-top: clamp(10px, 2vw, 20px);
}

.ad-unit {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px dashed rgba(139, 216, 255, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 216, 255, 0.08), rgba(23, 255, 126, 0.04));
  color: var(--muted);
  padding: 18px;
}

.ad-unit span {
  color: var(--link);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ad-unit strong {
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.ad-unit p {
  max-width: 720px;
  margin: 0;
  font-size: 0.92rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 0.6fr;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.quick-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.58);
  padding: 18px;
}

.quick-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 0.75rem;
  font-weight: 820;
  text-transform: uppercase;
}

.quick-card strong {
  display: block;
  color: var(--text);
  font-size: clamp(0.98rem, 1.4vw, 1.15rem);
  line-height: 1.3;
}

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

.stats-grid article {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.66);
  padding: clamp(18px, 3vw, 24px);
}

.stats-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.stats-grid strong {
  display: block;
  color: var(--text);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.9;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 720;
}

.action-card {
  display: grid;
  padding: 0;
}

.action-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(23, 255, 126, 0.12);
  color: var(--accent);
  cursor: pointer;
  font-weight: 790;
  padding: 18px;
}

.action-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-heading {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.section-index {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.intro-copy p {
  margin: 0 0 22px;
}

.focus-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  border-left: 2px solid var(--accent);
  background: rgba(23, 255, 126, 0.06);
  color: var(--text);
  padding: 14px 16px;
}

.field-content {
  max-width: 920px;
}

.field-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.23rem);
}

.field-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.field-tab {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.62);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 760;
  padding: 10px 12px;
}

.field-tab:hover,
.field-tab.is-active {
  border-color: var(--border-strong);
  background: rgba(23, 255, 126, 0.12);
  color: var(--text);
}

.field-panel {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(23, 255, 126, 0.08), rgba(139, 216, 255, 0.04));
  padding: clamp(18px, 3vw, 26px);
}

.field-panel-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(23, 255, 126, 0.13);
  color: var(--accent);
}

.field-panel-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.field-panel h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.field-panel p {
  margin: 0;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.field-grid div {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.52);
  padding: 16px;
}

.field-grid span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.field-grid strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
}

.field-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.source-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--link);
  font-weight: 720;
}

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

.timeline-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.24fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 40px);
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-row time {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
}

.timeline-row h3,
.project-card h3,
.achievement-list h3 {
  margin: 0 0 8px;
  font-size: clamp(1.14rem, 1.8vw, 1.42rem);
  line-height: 1.15;
}

.timeline-row p,
.project-card p,
.achievement-list p {
  margin: 0;
  color: var(--muted);
}

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

.project-card,
.achievement-list article {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.72);
  padding: 22px;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(23, 255, 126, 0.1);
  color: var(--accent);
}

.project-card a,
.achievement-list a,
.secondary-contacts a,
.site-footer a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--link);
  font-weight: 720;
}

.graphics-content > p {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.graphics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.graphics-grid a {
  min-width: 0;
  border: 1px solid rgba(139, 216, 255, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 216, 255, 0.08), rgba(16, 31, 23, 0.7));
  padding: 12px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.graphics-grid a:hover {
  border-color: rgba(139, 216, 255, 0.6);
  transform: translateY(-2px);
}

.graphics-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(7, 17, 13, 0.72);
}

.graphics-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 0.98rem;
}

.graphics-grid span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.86rem;
}

.achievement-list {
  display: grid;
  gap: 14px;
}

.achievement-list article {
  display: grid;
  grid-template-columns: minmax(110px, 0.18fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
}

.achievement-list span {
  width: fit-content;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--accent);
  padding: 6px 9px;
  font-size: 0.83rem;
  font-weight: 820;
}

.achievement-list a {
  margin-top: 0;
  white-space: nowrap;
}

.dates-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.dates-list article,
.faq-item {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.7);
  padding: 18px;
}

.dates-list time {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 850;
}

.dates-list strong {
  display: block;
  margin: 6px 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.dates-list p,
.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.faq-item {
  padding: 0;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 780;
  padding: 18px;
  text-align: left;
}

.faq-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.faq-item button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.faq-answer {
  border-top: 1px solid var(--border);
  padding: 0 18px 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(190px, 260px);
  gap: 12px;
}

.gallery-item,
.video-link {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img,
.video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item:hover img,
.video-link:hover img {
  transform: scale(1.025);
}

.video-link {
  display: block;
}

.video-link span {
  position: absolute;
  inset: auto 14px 14px auto;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #031109;
}

.video-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.contact-panel {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(23, 255, 126, 0.08), rgba(139, 216, 255, 0.05));
  padding: clamp(24px, 4vw, 42px);
}

.contact-panel p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.secondary-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 24px;
  color: var(--quiet);
}

.secondary-contacts a {
  margin-top: 0;
}

.image-dialog {
  width: min(94vw, 980px);
  max-height: 90svh;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #050b08;
  padding: 0;
  box-shadow: var(--shadow);
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.image-dialog img {
  width: 100%;
  max-height: 90svh;
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 17, 13, 0.88);
  color: var(--text);
  cursor: pointer;
}

.license-dialog {
  width: min(94vw, 680px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #050b08;
  color: var(--text);
  padding: clamp(24px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.license-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.license-dialog h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.license-dialog p {
  margin: 0 0 14px;
  color: var(--muted);
}

.license-dialog a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--link);
  font-weight: 760;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - (2 * var(--gutter)), var(--container));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--quiet);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-footer button {
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-weight: 720;
  padding: 0;
}

.toast {
  position: fixed;
  right: var(--gutter);
  bottom: 22px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 2 * var(--gutter)));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: rgba(7, 17, 13, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 760;
  opacity: 0;
  padding: 12px 14px;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.system-main {
  min-height: calc(100svh - var(--header-height));
}

.system-hero {
  min-height: calc(100svh - var(--header-height) - 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 84px);
  padding-top: clamp(50px, 8vw, 110px);
  padding-bottom: clamp(50px, 8vw, 110px);
}

.system-code {
  color: var(--accent);
  font-size: clamp(5.5rem, 17vw, 13rem);
  font-weight: 900;
  line-height: 0.82;
}

.system-copy {
  max-width: 820px;
}

.system-copy h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
  line-height: 0.95;
}

.system-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.system-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.72);
  padding: clamp(22px, 4vw, 34px);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.system-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 31, 23, 0.58);
  padding: 18px;
}

.system-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.system-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.license-page {
  display: grid;
  gap: 18px;
}

.license-page h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.license-page p,
.license-page li {
  color: var(--muted);
}

.license-page ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.status-strip span {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 8px 10px;
  font-size: 0.86rem;
  font-weight: 720;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(23, 255, 126, 0.72);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 64px var(--gutter) auto;
    display: grid;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow);
    padding: 10px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px 14px;
  }

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

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

  .hero-media {
    max-width: 620px;
  }

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

  .intro-grid,
  .stats-section,
  .field-section,
  .timeline-section,
  .project-section,
  .graphics-section,
  .achievements,
  .dates-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .achievement-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --header-height: 64px;
  }

  body {
    background-size: 36px 36px, 36px 36px, auto, auto;
  }

  .brand span:last-child {
    display: none;
  }

  .section-shell {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 18vw, 5.5rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .stats-grid,
  .graphics-grid,
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(160px, 220px);
  }

  .gallery-item.large {
    grid-column: span 2;
  }

  .video-link {
    grid-column: span 2;
  }

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

@media (max-width: 520px) {
  .field-panel {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .graphics-grid,
  .system-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .ad-section,
  .gallery-section,
  .site-footer,
  .image-dialog,
  .license-dialog {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section-shell {
    width: 100%;
    padding: 18px 0;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
