/* ==========================================================================
   Ararat Incass — corporate site stylesheet
   Design language: "sealed manifest" — engraved-serif display type over a
   utilitarian sans body, vault-navy + steel grays + muted brass, hairline
   rules instead of shadows, squared corners, Mount Ararat contour motif.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   SWAP POINT: when the real brand palette arrives, replace the values in
   this :root block only — the whole site re-themes from here.
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — extracted from the company logo + poster.
     Green is primary (poster brand green ≈ #009040); neutrals are green-tinted
     grays; the logo's tricolor (red/blue/orange) lives in the logo itself, with
     orange reused as the single restrained UI accent.
     SWAP POINT: edit these values to re-theme the whole site. */
  --green-950: #052a17;
  --green-900: #0b4a29;
  --green-800: #0a5a30;
  --green-700: #0b6b38;
  --green-600: #109049;
  --green-bright: #16a657;
  --green-art: #1f6e42;

  --gray-050: #f4f7f5;
  --gray-100: #eaf0ec;
  --gray-200: #d9e2dd;
  --gray-300: #c4cfc8;

  --ink: #16211b;
  --muted: #55635c;

  --accent: #f5871f;        /* logo orange — single UI accent */
  --accent-deep: #b15d10;   /* deeper orange for text on light backgrounds */
  --accent-tint: rgba(245, 135, 31, 0.12);

  --paper: #ffffff;
  --danger: #b3372b;

  /* legacy variable names still referenced across this stylesheet */
  --navy-950: var(--green-950);
  --navy-900: var(--green-900);
  --navy-700: var(--green-700);
  --navy-600: var(--green-600);
  --navy-art: var(--green-art);
  --steel-050: var(--gray-050);
  --steel-100: var(--gray-100);
  --steel-200: var(--gray-200);
  --steel-300: var(--gray-300);

  /* Inter carries Latin + Cyrillic; the Noto families carry Armenian. */
  --font-display: "Noto Serif", "Noto Serif Armenian", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1120px;
  --radius: 3px;
  --hairline: 1px solid var(--steel-300);
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--navy-700);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--navy-700);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.container-narrow {
  max-width: 780px;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--navy-900);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  flex: none;          /* never let flex compress the logo (was squishing it) */
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-accent {
  color: var(--accent-deep);
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  color: var(--navy-700);
}

.nav-list a[aria-current="page"] {
  color: var(--navy-700);
  border-bottom-color: var(--accent);
}

.lang-switcher {
  display: flex;
  margin-left: 1.5rem;
  border: var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-item {
  padding: 0.32rem 0.62rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

a.lang-item:hover {
  color: var(--navy-700);
  background: var(--steel-050);
}

.lang-current {
  background: var(--navy-700);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: var(--hairline);
  border-radius: var(--radius);
  padding: 0.6rem;
  cursor: pointer;
}

.nav-toggle-box {
  display: block;
  position: relative;
  width: 20px;
  height: 14px;
}

.nav-toggle-bar,
.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
}

.nav-toggle-box::before {
  top: 0;
}

.nav-toggle-bar {
  top: 6px;
}

.nav-toggle-box::after {
  bottom: 0;
}

/* --------------------------------------------------------------------------
   4. Shared vocabulary: eyebrows, buttons, sections, links
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow-light {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-accent {
  background: var(--accent);
  color: var(--navy-950);
}

.btn-accent:hover {
  background: var(--accent-deep);
}

.btn-primary {
  background: var(--navy-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-900);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.text-link {
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link-light {
  color: var(--accent);
}

.section {
  padding-block: clamp(3.25rem, 7vw, 5.25rem);
}

.section-tint {
  background: var(--steel-050);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.section-foot {
  margin: 2.2rem 0 0;
}

/* Navy bands (hero, page heads, dark sections) share the engraved texture. */
.section-navy,
.hero,
.page-head,
.cta-band {
  background-color: var(--navy-900);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 8px
    ),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.section-navy h2,
.hero h1,
.page-head h1,
.cta-band h2 {
  color: #fff;
}

.section-navy .section-lead {
  color: var(--steel-200);
}

/* --------------------------------------------------------------------------
   5. Hero & page heads
   -------------------------------------------------------------------------- */
.hero,
.page-head,
.cta-band {
  position: relative;
  overflow: hidden;
}

.ararat-art {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: min(72%, 760px);
  height: auto;
  color: var(--navy-art);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-block: clamp(4rem, 9vw, 6.5rem) clamp(3rem, 6vw, 4.5rem);
}

.hero h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 24ch;
  margin-bottom: 0.5em;
}

.hero .lead,
.page-head .lead {
  color: var(--steel-200);
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-manifest {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 30, 18, 0.5);
}

.manifest-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.manifest-row li {
  padding: 1.1rem 1.4rem 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.manifest-row li:first-child {
  border-left: none;
  padding-left: 0;
}

.manifest-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.manifest-row span {
  font-size: 0.84rem;
  color: var(--steel-200);
}

.page-head .container {
  position: relative;
  padding-block: clamp(3.2rem, 7vw, 4.8rem);
}

.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 26ch;
}

.page-head .lead {
  margin-bottom: 0;
}

/* Load-in for hero copy only; disabled under reduced motion. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-inner > * {
  animation: rise 0.55s ease both;
}

.hero-inner > *:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-inner > *:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-inner > *:nth-child(4) {
  animation-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   6. Cards, chips, icon chips
   -------------------------------------------------------------------------- */
.icon-chip {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--steel-050);
  color: var(--navy-700);
}

.icon {
  width: 26px;
  height: 26px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s ease;
}

a.card:hover {
  border-color: var(--navy-600);
}

.card h3,
.card-title {
  font-size: 1.12rem;
  margin: 0;
}

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

.card-more {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-list li {
  padding: 0.55rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--steel-100);
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   7. CTA band
   -------------------------------------------------------------------------- */
.cta-band .ararat-art {
  opacity: 0.35;
}

.cta-inner {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.2rem);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  max-width: 28ch;
}

.cta-band p {
  color: var(--steel-200);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}

/* --------------------------------------------------------------------------
   8. Services page
   -------------------------------------------------------------------------- */
.service {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding-block: 2.1rem;
  border-top: var(--hairline);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service:first-child {
  border-top: none;
  padding-top: 0;
}

.service h2 {
  font-size: 1.32rem;
  margin-bottom: 0.45em;
}

.service p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

/* --------------------------------------------------------------------------
   9. About page
   -------------------------------------------------------------------------- */
.prose p {
  margin-bottom: 1.2em;
}

.mission-callout {
  margin-top: 2.4rem;
  padding: 1.7rem 2rem;
  background: var(--steel-050);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mission-callout .eyebrow {
  margin-bottom: 0.6rem;
}

.mission-text {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--navy-700);
  line-height: 1.5;
  margin: 0;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.pillar h2 {
  font-size: 1.18rem;
  margin: 1rem 0 0.4em;
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list {
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.check-list .icon {
  width: 22px;
  height: 22px;
  color: var(--accent-deep);
  margin-top: 2px;
}

.leadership-card {
  margin-top: 3rem;
  padding: 1.8rem 2rem;
  border: 1px dashed var(--steel-300);
  border-radius: var(--radius);
}

.leadership-card h2 {
  font-size: 1.25rem;
  margin: 0.8rem 0 0.4em;
}

.leadership-card p {
  margin: 0;
  color: var(--muted);
}

.draft-badge {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border: 1px solid rgba(245, 135, 31, 0.45);
  border-radius: 2px;
  background: var(--accent-tint);
  color: #9a5410;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   10. Clients page
   -------------------------------------------------------------------------- */
.coverage-text {
  font-size: 1.05rem;
  max-width: 70ch;
}

.coverage-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   11. Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-form {
  padding: 2rem;
  border: var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy-900);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: var(--hairline);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy-600);
  outline: 2px solid var(--navy-600);
  outline-offset: 0;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.was-validated input:invalid,
.was-validated textarea:invalid {
  border-color: var(--danger);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.form-alert {
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.form-alert-success {
  background: #eaf4ec;
  border: 1px solid #3e7c4f;
  color: #24512f;
}

.form-alert-error {
  background: #f9ecea;
  border: 1px solid var(--danger);
  color: #7c2419;
}

/* Honeypot — visually removed, still in the form for bots. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-aside h2 {
  font-size: 1.25rem;
}

.contact-details {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.4rem;
}

.contact-details li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.95rem;
  align-items: start;
}

.contact-details .icon {
  width: 22px;
  height: 22px;
  color: var(--navy-600);
  margin-top: 2px;
}

.detail-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-details a {
  color: var(--ink);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--navy-700);
  text-decoration: underline;
}

.aside-draftnote {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-slot {
  margin-top: 1.8rem;
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--steel-300);
  border-radius: var(--radius);
  background: var(--steel-050);
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.94rem;
  max-width: 34ch;
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.footer-nav ul,
.footer-contactblock ul {
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  color: var(--steel-100);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contactblock li {
  font-size: 0.94rem;
}

.footer-draftnote {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.1rem;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. 404
   -------------------------------------------------------------------------- */
.notfound h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.notfound-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    border-bottom: var(--hairline);
    padding: 1.1rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    width: 100%;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 1.1rem;
  }

  .manifest-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifest-row li {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .manifest-row li:nth-child(-n + 2) {
    border-top: none;
  }

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

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

  .ararat-art {
    width: 120%;
    right: -20%;
    opacity: 0.3;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .contact-form {
    padding: 1.4rem;
  }
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
@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;
  }
}
