@font-face {
  font-family: "Saf Sans";
  src: url("/fonts/NotoSansArmenian-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saf Sans";
  src: url("/fonts/NotoSansArmenian-Bold.ttf") format("truetype");
  font-weight: 700 950;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saf Serif";
  src: url("/fonts/NotoSerifArmenian-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Saf Serif";
  src: url("/fonts/NotoSerifArmenian-Bold.ttf") format("truetype");
  font-weight: 700 950;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #002b24;
  --green-900: #003f34;
  --green-850: #0b4a40;
  --green-800: #1c3934;
  --gold-800: #94682f;
  --gold-700: #a9783e;
  --gold-600: #c99457;
  --gold-500: #e0b574;
  --paper: #fffaf1;
  --paper-strong: #ffffff;
  --paper-soft: #f3ecdf;
  --ink: #17221f;
  --ink-soft: #506861;
  --line: rgba(28, 57, 52, 0.14);
  --line-gold: rgba(201, 148, 87, 0.46);
  --shadow: 0 22px 70px rgba(0, 43, 36, 0.14);
  --container: min(1180px, calc(100% - 44px));
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(28, 57, 52, 0.035) 25%, transparent 25%) 0 0 / 34px 34px,
    var(--paper);
  color: var(--ink);
  font-family: "Saf Sans", "Noto Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

p {
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1,
h2,
h3,
.stat-card strong,
.portfolio-number,
.module-number {
  font-family: "Saf Sans", "Noto Sans", "Segoe UI", sans-serif;
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 4.4vw, 4.3rem);
}

h2 {
  max-width: 21ch;
  font-size: clamp(2rem, 3.25vw, 3.25rem);
}

h3 {
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-600);
  color: var(--green-950);
  font-weight: 900;
  transition: transform 0.2s ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 241, 0.94);
  border-bottom: 3px solid var(--gold-600);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}

.brand {
  width: 188px;
  text-decoration: none;
}

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

.site-nav a,
.language-switch a {
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a {
  padding: 10px 12px;
}

.site-nav a:hover,
.language-switch a:hover,
.language-switch a[aria-current="page"] {
  background: var(--green-900);
  color: var(--paper-strong);
}

.language-switch {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switch a {
  padding: 7px 9px;
}

.nav-toggle {
  display: none;
}

.section {
  padding-block: clamp(74px, 10vw, 132px);
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 148, 87, 0.15), transparent 36rem),
    linear-gradient(135deg, var(--green-850), var(--green-950));
}

.section-dark::after {
  content: "";
  position: absolute;
  right: -9vw;
  bottom: -24vw;
  width: min(56vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 148, 87, 0.28);
  transform: rotate(45deg);
}

.eyebrow {
  color: var(--gold-800);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  font-weight: 950;
  letter-spacing: 0.24em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--gold-500);
}

.hero {
  padding-block: clamp(70px, 9vw, 128px) clamp(46px, 6vw, 84px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.72fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--gold-500);
  color: var(--green-950);
}

.button-secondary {
  border-color: var(--line-gold);
  color: var(--gold-500);
  background: rgba(201, 148, 87, 0.08);
}

.button-dark {
  background: var(--green-900);
  color: var(--paper-strong);
}

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

.hero-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 92px;
  opacity: 0.22;
}

.portfolio-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.06);
  background-size: 32px 32px, 32px 32px, auto;
  box-shadow: var(--shadow);
}

.stat-card {
  display: grid;
  min-height: 136px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  background: rgba(255, 250, 241, 0.94);
  color: var(--green-900);
  text-align: center;
}

.stat-card strong {
  font-size: clamp(3rem, 5vw, 4.55rem);
}

.stat-card span {
  max-width: 16ch;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.16;
  overflow-wrap: normal;
}

.hero-footnote {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: clamp(34px, 6vw, 76px);
  border: 1px solid var(--line-gold);
  border-radius: 22px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.hero-footnote > div {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid rgba(201, 148, 87, 0.32);
}

.hero-footnote > div:last-child {
  border-right: 0;
}

.hero-footnote span {
  color: var(--gold-800);
  font-weight: 950;
}

.hero-footnote strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.hero-footnote p {
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.section-intro {
  display: grid;
  gap: 16px;
}

.section-intro p:not(.eyebrow),
.rich-text {
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.45vw, 1.18rem);
}

.rich-text {
  display: grid;
  gap: 18px;
}

.module-band {
  padding-block: clamp(54px, 8vw, 96px);
  background: var(--paper-strong);
}

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

.module-card {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: space-between;
  padding: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-900);
  color: var(--paper-strong);
}

.module-card::after {
  content: attr(data-index);
  position: absolute;
  right: -10px;
  bottom: -46px;
  color: rgba(0, 43, 36, 0.52);
  font-size: 7.5rem;
  font-weight: 950;
  line-height: 1;
}

.module-number {
  color: var(--gold-500);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.module-card h3 {
  position: relative;
  z-index: 1;
  font-size: 0.98rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.systems-list {
  display: grid;
  gap: 16px;
}

.system-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(18px, 2.7vw, 28px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold-600);
  border-radius: 18px;
  background: var(--paper-strong);
  box-shadow: 0 16px 40px rgba(0, 43, 36, 0.07);
}

.system-row:nth-child(even) {
  border-left-color: var(--green-900);
}

.system-kicker {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-900);
  color: var(--gold-500);
  font-size: 2.4rem;
  font-weight: 950;
}

.system-row h3 {
  align-self: center;
  color: var(--green-900);
}

.system-row p,
.system-row li {
  color: var(--ink-soft);
}

.system-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  list-style: none;
}

.system-row li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.industry-card {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(201, 148, 87, 0.09), transparent 46%),
    var(--paper-strong);
}

.industry-card h3 {
  color: var(--green-900);
}

.industry-card p {
  color: var(--ink-soft);
}

.standards-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-xl);
  background: var(--green-900);
  color: var(--paper-strong);
}

.standards-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.term-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.term-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

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

.partner-grid span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-strong);
  color: var(--green-900);
  font-weight: 950;
  text-align: center;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-card a:not(.button) {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--paper-strong);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  font-weight: 950;
  text-decoration: none;
}

.site-footer {
  padding-block: 42px;
  background: var(--paper-strong);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-grid img {
  width: 96px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .split,
  .standards-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .module-card:last-child {
    grid-column: 1 / -1;
  }

  .system-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .system-row > div:last-child {
    grid-column: 2;
  }

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

@media (max-width: 900px) {
  :root {
    --container: min(760px, calc(100% - 28px));
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
  }

  .brand {
    width: 168px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--green-900);
    font-size: 0;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .nav-toggle span {
    position: relative;
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle span::before {
    top: -5px;
  }

  .nav-toggle span::after {
    top: 5px;
  }

  .site-nav,
  .language-switch {
    grid-column: 1 / -1;
  }

  .site-nav {
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 8px;
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 13px 14px;
    background: rgba(0, 63, 52, 0.07);
  }

  .language-switch {
    width: max-content;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(520px, calc(100% - 24px));
  }

  body {
    line-height: 1.52;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.2vw, 2.75rem);
    line-height: 1.08;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(1.7rem, 7.2vw, 2.25rem);
    line-height: 1.08;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .hero {
    padding-block: 50px 36px;
  }

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

  .portfolio-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
  }

  .stat-card {
    min-height: 116px;
    border-radius: 14px;
  }

  .stat-card strong {
    font-size: 3.1rem;
  }

  .stat-card span {
    font-size: 0.88rem;
  }

  .hero-footnote {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .hero-footnote > div {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 148, 87, 0.32);
  }

  .hero-footnote > div:last-child {
    border-bottom: 0;
  }

  .module-grid,
  .industry-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 138px;
  }

  .module-card::after {
    bottom: -34px;
    font-size: 6rem;
  }

  .module-card:last-child {
    grid-column: auto;
  }

  .system-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .system-kicker {
    width: 68px;
    height: 68px;
  }

  .system-row > div:last-child {
    grid-column: auto;
  }

  .standards-panel {
    padding: 26px;
    border-radius: 24px;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
