:root {
  --ink: #071110;
  --panel: #101b18;
  --panel-2: #16231f;
  --line: rgba(231, 219, 172, 0.18);
  --text: #f5f2e7;
  --muted: #b9baa8;
  --gold: #d6b23d;
  --gold-2: #f0d76b;
  --moss: #6d7c43;
  --steel: #6fa6ad;
  --rust: #bc7049;
  --white: #fffdf4;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(7, 17, 16, 0.82), rgba(7, 17, 16, 0.9)),
    url("assets/survey-hero-realistic.jpg") center / cover fixed;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(7, 17, 16, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(214, 178, 61, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 34px);
  color: rgba(245, 242, 231, 0.82);
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--white);
  border-color: var(--gold);
}

.header-contact {
  position: relative;
}

.contact-toggle {
  cursor: pointer;
}

.contact-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(240, 215, 107, 0.24);
  border-radius: 8px;
  background: rgba(10, 21, 18, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.contact-popover strong,
.contact-popover a {
  display: block;
}

.contact-popover strong {
  margin-bottom: 10px;
  color: var(--gold-2);
}

.contact-popover a {
  padding: 10px;
  border: 1px solid rgba(245, 242, 231, 0.12);
  border-radius: 7px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.nav-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-action,
.primary-button {
  color: #11150f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 42px rgba(214, 178, 61, 0.24);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.button-icon,
.feature-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.button-icon svg,
.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(18px, 5vw, 72px) 54px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 16, 0.92) 0%, rgba(7, 17, 16, 0.72) 42%, rgba(7, 17, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 17, 16, 1) 0%, rgba(7, 17, 16, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(62px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(245, 242, 231, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 24, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel img {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 18px;
}

.hero-panel span {
  display: block;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 23px;
  line-height: 1.08;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.hero-panel li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.ticker-section {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  background: #0b1513;
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.ticker-track {
  width: 100%;
  overflow: hidden;
}

.ticker-row {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 14px 0;
  animation: ticker 34s linear infinite;
}

.ticker-row span,
.command-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid rgba(214, 178, 61, 0.24);
  border-radius: 8px;
  background: rgba(245, 242, 231, 0.06);
  color: var(--white);
}

.ticker-row span {
  padding: 0 16px;
  font-weight: 800;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 42px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
  margin-left: 0;
}

.section-heading.feature-title {
  display: block;
  max-width: 1120px;
  margin-bottom: 46px;
  text-align: center;
}

.section-heading.feature-title h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(44px, 6.2vw, 86px);
}

.section-heading.feature-title p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px auto 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1340px;
  margin: 0 auto;
}

.feature-card {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.main-button-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.main-button-card h3 {
  margin-bottom: 10px;
}

.main-button-card p {
  margin-bottom: 0;
}

.panel-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 9px;
  border: 1px solid rgba(240, 215, 107, 0.18);
  border-radius: 7px;
  color: var(--gold-2);
  background: rgba(240, 215, 107, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  border-radius: 8px;
  color: var(--gold-2);
  background: rgba(214, 178, 61, 0.12);
}

.feature-card p,
.field-card p,
.roadmap p,
.profile-copy p,
.contact-section p {
  color: var(--muted);
}

.image-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.panel-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-content: flex-start;
  margin-top: auto;
  padding-top: 20px;
}

.panel-commands span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(240, 215, 107, 0.16);
  border-radius: 7px;
  background: rgba(7, 17, 16, 0.42);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.18;
  white-space: normal;
}

.panel-commands img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.commands-section {
  background: #101917;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin-top: 34px;
}

.command-chip {
  width: 100%;
  min-height: 82px;
  padding: 15px 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.command-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 215, 107, 0.72);
  background: rgba(214, 178, 61, 0.12);
}

.command-chip span,
.command-chip small {
  display: block;
}

.command-chip span {
  min-width: 58px;
  color: var(--white);
  font-weight: 900;
}

.command-chip small {
  color: var(--muted);
  font-size: 12px;
}

.mini-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--gold-2);
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
  border-color: currentColor;
}

.mini-icon.point::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.file::before {
  inset: 2px 4px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-icon.grid::before,
.mini-icon.table::before {
  inset: 2px;
  border: 2px solid currentColor;
}

.mini-icon.grid::after,
.mini-icon.table::after {
  inset: 5px 8px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.mini-icon.offset::before {
  left: 3px;
  top: 9px;
  width: 12px;
  border-top: 2px solid currentColor;
  transform: rotate(-28deg);
}

.mini-icon.offset::after {
  left: 6px;
  top: 4px;
  width: 9px;
  border-top: 2px solid currentColor;
  transform: rotate(-28deg);
}

.mini-icon.target::before {
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.target::after {
  left: 8px;
  top: 1px;
  height: 16px;
  border-left: 2px solid currentColor;
}

.mini-icon.check::before {
  left: 3px;
  top: 8px;
  width: 10px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.mini-icon.label::before {
  inset: 4px 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.mini-icon.arc::before {
  left: 3px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 50%;
}

.mini-icon.sum::before {
  left: 4px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-18deg);
}

.mini-icon.area::before {
  inset: 3px;
  border: 2px solid currentColor;
}

.mini-icon.level::before {
  left: 2px;
  right: 2px;
  top: 8px;
  border-top: 2px solid currentColor;
}

.mini-icon.level::after {
  left: 7px;
  top: 3px;
  height: 12px;
  border-left: 2px solid currentColor;
}

.mini-icon.line::before {
  left: 2px;
  top: 9px;
  width: 14px;
  border-top: 2px solid currentColor;
  transform: rotate(-18deg);
}

.field-section {
  background:
    linear-gradient(rgba(7, 17, 16, 0.9), rgba(7, 17, 16, 0.96)),
    url("assets/sc23-hero.png") center / cover fixed;
}

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

.field-card {
  min-height: 330px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245, 242, 231, 0.06), rgba(12, 21, 19, 0.86));
  overflow: hidden;
}

.field-visual {
  min-height: 160px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
}

.instrument {
  position: relative;
  display: block;
  width: 118px;
  height: 118px;
  color: var(--gold-2);
}

.total-station::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 16px;
  width: 58px;
  height: 44px;
  border: 4px solid currentColor;
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(214, 178, 61, 0.03);
}

.total-station::after {
  content: "";
  position: absolute;
  left: 56px;
  top: 62px;
  height: 50px;
  border-left: 4px solid currentColor;
  box-shadow: -28px 48px 0 -2px currentColor, 28px 48px 0 -2px currentColor;
  transform: perspective(80px) rotateX(12deg);
}

.nivo::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  width: 82px;
  height: 26px;
  border: 4px solid var(--steel);
  border-radius: 14px;
}

.nivo::after {
  content: "";
  position: absolute;
  left: 55px;
  top: 58px;
  height: 54px;
  border-left: 4px solid var(--gold-2);
  box-shadow: -25px 50px 0 -2px var(--gold-2), 25px 50px 0 -2px var(--gold-2);
}

.gps::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 12px;
  width: 34px;
  height: 78px;
  border: 4px solid var(--gold-2);
  border-radius: 18px;
}

.gps::after {
  content: "";
  position: absolute;
  left: 58px;
  top: 90px;
  height: 22px;
  border-left: 4px solid var(--steel);
  box-shadow: -18px 20px 0 -2px var(--steel), 18px 20px 0 -2px var(--steel);
}

.build::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  width: 82px;
  height: 58px;
  border: 4px solid var(--rust);
  clip-path: polygon(0 38%, 50% 0, 100% 38%, 100% 100%, 0 100%);
}

.build::after {
  content: "";
  position: absolute;
  left: 52px;
  top: 70px;
  width: 18px;
  height: 26px;
  background: rgba(245, 242, 231, 0.18);
  border: 2px solid var(--gold-2);
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.profile-photo-window {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid rgba(240, 215, 107, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 21, 18, 0.66);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.profile-photo-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 16, 0.28), transparent 48%);
  pointer-events: none;
}

.profile-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateX(100%);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-slide.active {
  transform: translateX(0);
}

.profile-slide.leaving {
  transform: translateX(-100%);
}

.profile-title {
  margin-top: 10px;
  color: var(--gold-2) !important;
  font-weight: 800;
}

.profile-copy p:last-child {
  max-width: 680px;
  font-size: 18px;
}

.profile-stats {
  display: grid;
  gap: 12px;
}

.profile-stats div,
.roadmap-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.profile-stats strong {
  display: block;
  color: var(--gold-2);
  font-size: 30px;
}

.profile-stats span {
  color: var(--muted);
}

.seo-section {
  background: linear-gradient(180deg, #0f1917, #0c1513);
}

.roadmap-section {
  background: #0c1513;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin-top: 34px;
}

.roadmap-card {
  display: block;
  min-height: 210px;
  position: relative;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.roadmap-card.active:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 215, 107, 0.72);
  background: rgba(214, 178, 61, 0.12);
}

.roadmap span {
  display: block;
  margin-bottom: 40px;
  color: var(--gold-2);
  font-weight: 900;
}

.roadmap strong {
  display: block;
  font-size: 22px;
}

.download-note {
  display: block;
  margin-top: 12px;
  padding-right: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.download-note::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 14px rgba(214, 178, 61, 0.5);
  vertical-align: 1px;
}

.roadmap em {
  display: inline-flex;
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: var(--gold-2);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.download-security {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 28px;
  max-width: 1180px;
  margin: 22px auto 0;
  padding: 24px;
  border: 1px solid rgba(240, 215, 107, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(214, 178, 61, 0.12), rgba(255, 255, 255, 0.04));
}

.download-security h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.download-security p {
  margin: 0;
  color: var(--muted);
}

.download-security dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.download-security dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(7, 17, 16, 0.42);
}

.download-security dt {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-security dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.download-security .hash-row dd {
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.35;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(46px, 7vw, 76px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(214, 178, 61, 0.16), rgba(111, 166, 173, 0.08));
  border-block: 1px solid var(--line);
}

.contact-section div {
  max-width: 780px;
}

.contact-section h2 {
  font-size: clamp(28px, 4vw, 48px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #071110;
}

.hero-section {
  min-height: 92vh;
  align-items: center;
  padding-top: 138px;
  background:
    radial-gradient(circle at 50% 12%, rgba(214, 178, 61, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(7, 17, 16, 0.32) 0%, rgba(16, 32, 28, 0.16) 46%, rgba(7, 13, 12, 0.5) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 215, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 215, 107, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 72%, transparent);
}

.hero-media,
.hero-overlay {
  display: none;
}

.hero-content {
  width: min(1320px, 100%);
  grid-template-columns: minmax(350px, 0.88fr) minmax(520px, 1.42fr) minmax(320px, 380px);
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  margin: 0 auto;
}

.glass-panel,
.hero-panel {
  border: 1px solid rgba(240, 215, 107, 0.2);
  background: rgba(10, 21, 18, 0.64);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.hero-panel {
  min-width: 310px;
}

.glass-panel {
  max-width: none;
  padding: clamp(28px, 3.2vw, 42px);
  border-radius: 8px;
}

.glass-panel h1 {
  font-size: clamp(52px, 5.4vw, 84px);
  line-height: 0.96;
}

.glass-panel .lead {
  font-size: clamp(18px, 1.55vw, 22px);
  max-width: 580px;
}

.hero-photo {
  position: relative;
  margin: 0;
  min-height: clamp(390px, 54vw, 660px);
  border: 1px solid rgba(240, 215, 107, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(7, 17, 16, 0.58);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 16, 0.22), transparent 26%, transparent 74%, rgba(7, 17, 16, 0.24)),
    linear-gradient(0deg, rgba(7, 17, 16, 0.38), transparent 42%);
  pointer-events: none;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: translateX(100%);
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-photo img.active {
  transform: translateX(0);
}

.hero-photo img.leaving {
  transform: translateX(-100%);
}

.ticker-section {
  position: fixed;
  z-index: 28;
  top: 73px;
  left: 0;
  right: 0;
  margin-top: 0;
  background: rgba(10, 21, 18, 0.72);
  backdrop-filter: blur(16px);
}

.ticker-row {
  padding: 9px 0;
}

.ticker-row span {
  min-height: 36px;
  padding: 0 14px;
  background: rgba(245, 242, 231, 0.075);
}

.ticker-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.commands-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(111, 166, 173, 0.13), transparent 34%),
    rgba(16, 25, 23, 0.84);
  backdrop-filter: blur(2px);
}

.ribbon-shell {
  max-width: 1320px;
  margin-top: 34px;
  border: 1px solid rgba(240, 215, 107, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245, 242, 231, 0.1), rgba(245, 242, 231, 0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ribbon-tab {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  color: #11150f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 13px;
  font-weight: 900;
}

.ribbon-panels {
  display: flex;
  gap: 10px;
  padding: 14px;
  overflow-x: auto;
}

.ribbon-panel {
  flex: 0 0 auto;
  min-width: 240px;
  padding: 10px 10px 8px;
  border: 1px solid rgba(240, 215, 107, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 16, 0.54);
}

.ribbon-panel:nth-child(2) {
  min-width: 570px;
}

.ribbon-panel.slim {
  min-width: 430px;
}

.ribbon-panel.slim:nth-child(3) {
  min-width: 470px;
}

.ribbon-panel h3 {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(240, 215, 107, 0.14);
  color: var(--gold-2);
  font-size: 13px;
  text-align: center;
}

.ribbon-tools {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.ribbon-split {
  position: relative;
  flex: 0 0 auto;
}

.ribbon-button {
  border: 1px solid rgba(245, 242, 231, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(245, 242, 231, 0.075);
  cursor: pointer;
}

.ribbon-button.large {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 88px;
  min-height: 114px;
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.ribbon-panel.slim .ribbon-button.large {
  width: 104px;
  padding-inline: 10px;
  font-size: 12px;
  line-height: 1.18;
}

.ribbon-button img,
.ribbon-menu img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ribbon-button.large img {
  width: 38px;
  height: 38px;
}

.ribbon-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.ribbon-split.wide .ribbon-menu {
  grid-template-columns: repeat(2, minmax(116px, 1fr));
}

.ribbon-menu span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid rgba(245, 242, 231, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.ribbon-menu img {
  width: 20px;
  height: 20px;
}

.field-section {
  background: rgba(7, 17, 16, 0.76);
  backdrop-filter: blur(2px);
}

.field-card {
  min-height: 220px;
  padding: 24px;
  background: rgba(10, 21, 18, 0.66);
  backdrop-filter: blur(14px);
}

.field-visual {
  min-height: 190px;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
}

.field-visual img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.field-card h3,
.field-card p {
  padding-inline: 0;
}

.field-card p {
  padding-bottom: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  background: linear-gradient(135deg, rgba(214, 178, 61, 0.2), rgba(7, 17, 16, 0.84));
  backdrop-filter: blur(8px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-content,
  .section-heading,
  .profile-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .profile-photo-window {
    max-width: 360px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-panel {
    min-width: 0;
    max-width: 420px;
  }

  .hero-photo {
    order: -1;
    width: 100%;
    min-height: 330px;
  }

  .ticker-section {
    position: sticky;
    top: 0;
  }

  .feature-grid,
  .field-grid,
  .command-grid,
  .roadmap,
  .download-security {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-action {
    width: 100%;
  }

  .hero-section {
    padding-top: 48px;
    padding-inline: 14px;
  }

  h1 {
    font-size: 56px;
  }

  .glass-panel,
  .hero-panel {
    width: 100%;
  }

  .hero-photo {
    min-height: 260px;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .feature-grid,
  .field-grid,
  .command-grid,
  .roadmap,
  .download-security {
    grid-template-columns: 1fr;
  }

  .download-security dl div {
    grid-template-columns: 1fr;
  }

  .command-chip {
    min-height: 72px;
  }

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

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