/* LETA website. Brand colours and type: LETA-Brand-Guidelines v1.0.
   Navy carries text; teal is for graphics only on light backgrounds.
   Corners: soft (pill buttons, rounded panels), chosen by the user over the guide's square corners.
   No pictograms: structure comes from type, numbers, space and the bracket mark. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk-Var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
/* Armenian letters: Schibsted Grotesk has none, so they come from Noto Sans Armenian (OFL), downloaded only
   when a page uses them. */
@font-face {
  font-family: "Noto Sans Armenian";
  src: url("fonts/NotoSansArmenian-Var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0530-058F, U+FB13-FB17;
}

:root {
  --navy: #243B53;
  --navy-hi: #2E4A68;   /* lighter and deeper navy, only inside navy gradients */
  --navy-lo: #1C2F43;
  --teal: #14B8A6;
  --teal-b: #1FD0BB;
  --slate: #5F6B7A;
  --mist: #E7ECF1;
  --mist-lo: #F3F6F9;
  --white: #FFFFFF;
  --rule: rgba(36, 59, 83, .12);
  --err: #B42318;
  --font: "Schibsted Grotesk", "Noto Sans Armenian", Arial, sans-serif;
  /* Layout. Everything (header, hero, sections, footer) sits in one container: same outer edges everywhere. */
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 60px);
  --hdr: 76px;
  /* Spacing: one 8-point scale. Every margin, padding and gap below uses these tokens. */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  /* Rhythm: fluid, but always between two steps of the scale. */
  --sec: clamp(64px, 8vw, 128px);     /* section top and bottom */
  --head: clamp(32px, 3.5vw, 48px);   /* section title to its content */
  --grid: clamp(16px, 1.7vw, 24px);   /* gutter between cards, panels, columns */
  --pad: clamp(24px, 2.4vw, 32px);    /* inside cards and tiles */
  --pad-lg: clamp(32px, 3.5vw, 48px); /* inside large panels and the form */
  --pad-xl: clamp(32px, 5.5vw, 96px); /* inside the join panel */
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(36,59,83,.05), 0 18px 48px -12px rgba(36,59,83,.14);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dots-dark: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px);
  --dots-light: radial-gradient(rgba(36,59,83,.13) 1px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + var(--s-4)); }
body {
  font: 400 17px/1.55 var(--font);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.join :focus-visible, .b-navy :focus-visible { outline-color: var(--teal-b); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: var(--s-3) var(--s-4); border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s-3); }

/* Placeholders only the association can fill in (same yellow as the brand guide). */
mark.todo { background: #FFF3A3; color: var(--navy); padding: 0 .2em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Scroll reveal: site.js adds .rv to <html> once it runs, so nothing hides without it. */
html.rv [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
html.rv [data-reveal].in { opacity: 1; transform: none; }
html.rv .bento > :nth-child(2), html.rv .cards > :nth-child(2), html.rv .mems > :nth-child(2) { transition-delay: .07s; }
html.rv .bento > :nth-child(3), html.rv .cards > :nth-child(3), html.rv .mems > :nth-child(3) { transition-delay: .14s; }
html.rv .bento > :nth-child(4), html.rv .cards > :nth-child(4), html.rv .mems > :nth-child(4) { transition-delay: .21s; }

/* ---------------------------------------------------------------- type */
.display, .h1, .hero-h, .big-stmt, .stmt, .b h3, .fa-head h2 { text-wrap: balance; }
.display { font-weight: 800; font-size: clamp(46px, 7vw, 88px); line-height: 1; letter-spacing: -0.04em; }
.h1 { font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -0.032em; }
h3 { font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25; letter-spacing: -0.012em; }
.lede { font-size: clamp(18px, 1.75vw, 21px); line-height: 1.5; color: var(--slate); max-width: 36em; }
.cap { font-size: 14px; font-weight: 600; color: var(--slate); letter-spacing: .01em; }
.num { display: block; font-size: 14px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* Links: navy text, teal underline (teal never carries text on white). */
.tl { font-weight: 600; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.tl:hover { text-decoration-color: var(--navy); }
.arr { width: 14px; height: 14px; flex: none; }
.tl .arr { display: inline-block; margin-left: var(--s-2); vertical-align: -1px; transition: transform .25s var(--ease); }
.tl:hover .arr { transform: translateX(3px); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5); border: 1.5px solid var(--navy); border-radius: 999px;
  background: var(--navy); color: var(--white); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background: var(--navy-lo); border-color: var(--navy-lo); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(36,59,83,.6); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(36,59,83,.28); }
.btn-ghost:hover { background: var(--mist-lo); border-color: var(--navy); color: var(--navy); box-shadow: none; }
.btn-teal { background: var(--teal-b); border-color: var(--teal-b); color: var(--navy); }
.btn-teal:hover { background: #3CDCC8; border-color: #3CDCC8; box-shadow: 0 10px 28px -10px rgba(31,208,187,.7); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.32); }
.btn-line:hover { background: rgba(255,255,255,.08); border-color: var(--white); box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 var(--s-4); font-size: 15px; white-space: nowrap; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.hdr.scrolled { border-bottom-color: var(--rule); }
/* The header uses the shared container: the logo lines up with the content's left edge, the button with its right. */
.hdr > .wrap { display: flex; align-items: center; gap: var(--s-5); height: var(--hdr); }
/* Lockup: the logo, a thin rule, the full name on two lines. */
.hdr-logo { flex: none; display: flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.hdr-logo img { height: 38px; width: auto; }
.hdr-name { padding-left: var(--s-3); border-left: 1px solid rgba(36,59,83,.22); font-size: 13.5px; font-weight: 600; line-height: 1.22; letter-spacing: -0.005em; color: var(--navy); white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: var(--s-1); list-style: none; padding: 0; }
.nav a { display: block; padding: var(--s-2) var(--s-3); border-radius: 999px; font-size: 15.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .2s; }
.nav a:hover { background: var(--mist-lo); }
.nav a[aria-current="page"] { background: var(--mist); }
.menu-btn { display: none; flex: none; }
/* Language switch (EN / ՀԱՅ). */
.lang { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 34px; padding: 0 var(--s-2); border: 1px solid rgba(36,59,83,.22); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-decoration: none; transition: background .2s, border-color .2s; }
.lang:hover { background: var(--mist-lo); border-color: var(--navy); }
.mnav[hidden] { display: none; }

/* Compact header: site.js adds .compact whenever the full menu does not fit (narrow screens, or longer labels
   such as the Armenian ones); the CSS below is the same for every language. */
@media (max-width: 1080px) {
  :root { --hdr: 64px; }
  .nav, .hdr-join { display: none; }
}
.hdr.compact .nav, .hdr.compact .hdr-join { display: none; }
.hdr.compact .lang { margin-left: auto; }
.hdr.compact .menu-btn {
  display: inline-flex; align-items: center; gap: var(--s-2); height: 42px; padding: 0 var(--s-4);
  background: var(--mist-lo); border: 0; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), background .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-5px) rotate(-45deg); }
.mnav {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; background: var(--white);
  display: flex; flex-direction: column; padding: var(--s-4) var(--gut) calc(var(--s-6) + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mnav ul { list-style: none; padding: 0; margin-bottom: auto; }
.mnav li a {
  display: flex; align-items: center; justify-content: space-between; padding: var(--s-4) 0;
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--rule);
}
.mnav li a .arr { width: 20px; height: 20px; color: var(--teal); }
.mnav li a[aria-current="page"] .arr { transform: translateX(-4px); }
.mnav .btn { margin-top: var(--s-6); min-height: 56px; }
.mnav-foot { margin-top: var(--s-4); text-align: center; color: var(--slate); font-size: 15px; }
.mnav-foot a { text-decoration: none; }
.mnav-lang { display: none; }
body.menu-open { overflow: hidden; }
/* Phones: the language switch moves into the menu panel; the menu button becomes an icon. */
@media (max-width: 600px) {
  .hdr .lang { display: none; }
  .hdr.compact .menu-btn { width: 44px; padding: 0; justify-content: center; margin-left: auto; }
  .menu-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mnav-lang { display: block; margin-top: var(--s-3); text-align: center; font-weight: 700; }
}
@media (max-width: 440px) {
  .hdr-logo { gap: var(--s-2); }
  .hdr-logo img { height: 33px; }
  .hdr-name { padding-left: var(--s-2); font-size: 12px; }
}
@media (max-width: 380px) { .hdr.compact .menu-btn { width: 40px; } }
@media (max-width: 340px) {
  .hdr-logo img { height: 26px; }
  .hdr-name { font-size: 10.5px; }
}

/* ---------------------------------------------------------------- hero
   Dark navy with the WebGL globe (assets/globe.js) on the right and the copy on the left; on phones the globe
   sits above the copy. */
.gh { position: relative; min-height: max(560px, calc(100svh - var(--hdr))); display: flex; align-items: center; overflow: hidden; color: var(--white);
  background: radial-gradient(70% 90% at 70% 50%, var(--navy-hi) 0%, var(--navy) 48%, var(--navy-lo) 100%); }
.gh-cv { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.gh.dragging .gh-cv { cursor: grabbing; }
.gh.dragging .gh-copy { user-select: none; }
.gh-wrap { position: relative; width: 100%; pointer-events: none; }
.gh-copy { max-width: min(640px, 47%); pointer-events: auto; }
.gh-h { font-size: clamp(36px, 4.1vw, 68px); font-weight: 800; line-height: .98; letter-spacing: -0.05em; }
.gh-h em { font-style: normal; color: var(--teal-b); }
.gh-h em, .gh-h span { white-space: nowrap; }
.gh-lede { margin-top: var(--s-5); max-width: 26em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255,255,255,.8); }
.gh .cta-row { margin-top: var(--s-6); }
.gh :focus-visible { outline-color: var(--teal-b); }
@media (max-width: 900px) {
  .gh { align-items: flex-end; }
  .gh-copy { max-width: none; padding: 50vh 0 var(--s-8); }
  .gh-h { font-size: clamp(36px, 10.4vw, 64px); }
  .gh .cta-row .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------- sections */
.sec { padding: var(--sec) 0; }
.sec-tight { padding-top: var(--s-4); }
.sec-top0 { padding-top: 0; }
.mist { background: var(--mist); }
.sec-head { max-width: 780px; margin-bottom: var(--head); }
.sec-head p { margin-top: var(--s-4); font-size: clamp(17px, 1.6vw, 19px); color: var(--slate); }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); max-width: none; }
.sec-head-row > div { max-width: 780px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(var(--s-5), 6vw, var(--s-9)); align-items: start; }
.prose-l p { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.55; max-width: 36em; }
.prose-l p + p { margin-top: var(--s-4); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Big editorial statement. */
.sec-statement { padding-top: var(--sec); }
.big-stmt { max-width: 24em; font-size: clamp(26px, 3.5vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -0.035em; color: rgba(36,59,83,.38); }
.big-stmt b { font-weight: 700; color: var(--navy); }

/* Inner page hero with a faint dot field in the corner. */
.phero { position: relative; padding: var(--sec) 0 clamp(var(--s-7), 5vw, var(--s-8)); overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--dots-light); background-size: 20px 20px; pointer-events: none;
  -webkit-mask-image: radial-gradient(55% 90% at 100% 0%, #000, transparent 72%); mask-image: radial-gradient(55% 90% at 100% 0%, #000, transparent 72%);
}
.phero .wrap { position: relative; }
.phero .lede { margin-top: var(--s-5); }
.nf { min-height: 60vh; }

/* What we do: mixed-width panels. */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(280px, auto); gap: var(--grid); }
.b { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7); padding: var(--pad-lg); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.b-wide { grid-column: span 2; }
.b h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.b p { margin-top: var(--s-3); font-size: 17px; line-height: 1.5; color: var(--slate); max-width: 26em; }
.b-navy { color: var(--white); background: radial-gradient(90% 120% at 100% 0%, var(--navy-hi), var(--navy) 60%); }
.b-navy::before { content: ""; position: absolute; inset: 0; background-image: var(--dots-dark); background-size: 18px 18px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000); mask-image: linear-gradient(115deg, transparent 35%, #000); }
.b-navy > * { position: relative; }
.b-navy .num { color: rgba(255,255,255,.6); }
.b-navy p { color: rgba(255,255,255,.82); }
.b-mist { background: var(--mist); }
.b-soft { background: linear-gradient(135deg, var(--mist-lo), var(--mist)); }
.b-soft::before { content: ""; position: absolute; inset: 0; background-image: var(--dots-light); background-size: 18px 18px; -webkit-mask-image: radial-gradient(60% 100% at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(60% 100% at 100% 100%, #000, transparent 70%); }
.b-soft > * { position: relative; }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-wide { grid-column: auto; }
  .b { min-height: 220px; border-radius: var(--r); }
}

/* Cards: soft, rounded, no lines. */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--mist-lo); border-radius: var(--r); padding: var(--pad); }
.card .num { margin-bottom: var(--s-6); }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--slate); font-size: 16px; line-height: 1.55; }
.card .pill { display: inline-block; margin-bottom: var(--s-6); padding: var(--s-1) var(--s-3); border-radius: 999px; background: rgba(20,184,166,.14); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.steps .num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); margin-bottom: var(--s-5); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .card .num { margin-bottom: var(--s-5); }
}

/* Focus areas on the home page: rows that open to show the questions. */
.accs { border-bottom: 1px solid var(--rule); }
.acc { border-top: 1px solid var(--rule); }
.acc summary {
  display: grid; grid-template-columns: var(--s-8) 5fr 6fr 40px; gap: var(--s-5); align-items: center; padding: var(--s-5) 0;
  list-style: none; cursor: pointer;
}
.acc summary::-webkit-details-marker { display: none; }
.acc-t { font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; transition: transform .4s var(--ease); }
.acc-d { color: var(--slate); font-size: 16px; line-height: 1.5; }
.acc summary:hover .acc-t { transform: translateX(6px); }
.acc-pm { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--mist-lo); transition: background .25s, transform .45s var(--ease); }
.acc-pm::before, .acc-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--navy); }
.acc-pm::after { transform: rotate(90deg); }
.acc summary:hover .acc-pm { background: var(--mist); }
.acc[open] .acc-pm { transform: rotate(45deg); background: var(--teal-b); }
.acc-body { padding: 0 var(--s-8) var(--s-6) calc(var(--s-8) + var(--s-5)); animation: acc-in .6s var(--ease); }
.acc-body .tl { display: inline-block; margin-top: var(--s-4); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .acc summary { grid-template-columns: 36px 1fr 40px; gap: var(--s-2) var(--s-3); padding: var(--s-5) 0; }
  .acc-d { grid-column: 2; grid-row: 2; }
  .acc-pm { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
  .acc-body { padding: 0 0 var(--s-5) var(--s-7); }
}

/* Events. */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid); }
.events > li { display: flex; }
.ev {
  position: relative; display: flex; flex-direction: column; gap: var(--s-6); width: 100%; min-height: 340px; padding: var(--pad);
  border-radius: var(--r); background: var(--mist-lo); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
a.ev:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow); }
.ev-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.ev-date { display: grid; line-height: 1; }
.ev-date b { font-size: clamp(56px, 5vw, 72px); font-weight: 800; letter-spacing: -0.05em; }
.ev-date span { margin-top: var(--s-2); font-size: 14px; font-weight: 600; color: var(--slate); }
.ev-kind { padding: var(--s-1) var(--s-3); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 600; }
.ev-body { margin-top: auto; }
.ev-body h3 { font-size: clamp(20px, 1.9vw, 24px); font-weight: 800; letter-spacing: -0.025em; }
.ev-body p { margin-top: var(--s-2); color: var(--slate); font-size: 15.5px; line-height: 1.5; }
.ev-body .ev-meta { margin-top: var(--s-3); color: var(--navy); font-weight: 600; font-size: 14px; }
.ev-go { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 15px; font-weight: 600; }
.ev-go .arr { color: var(--teal); transition: transform .3s var(--ease); }
a.ev:hover .ev-go .arr { transform: translateX(4px); }
.ev-soon { color: var(--slate); }
.ev-flag { position: absolute; top: var(--s-3); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; }
.events-past .ev { min-height: 0; opacity: .8; }
@media (max-width: 960px) { .events { grid-template-columns: 1fr; } .ev { min-height: 0; } }

/* Partners: a quiet logo strip, colour on hover. */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--grid); }
.pt { display: grid; place-items: center; height: 112px; padding: var(--s-5); border-radius: var(--r); background: var(--mist-lo); font-size: 13px; font-weight: 600; }
.pt a { display: grid; place-items: center; width: 100%; height: 100%; }
.pt img { max-width: 100%; max-height: 48px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.pt a:hover img { filter: none; opacity: 1; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .partners { grid-template-columns: repeat(2, 1fr); } .pt { height: 88px; } }

/* Members: real people, portrait photos. */
.mems { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-7) var(--grid); }
.mem { position: relative; }
.mem-ph { aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--mist); overflow: hidden; }
.mem-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mem:hover .mem-ph img { transform: scale(1.04); }
.mem-empty { background: linear-gradient(160deg, var(--mist-lo), var(--mist)); position: relative; }
.mem-empty::before { content: ""; position: absolute; inset: 0; background-image: var(--dots-light); background-size: 16px 16px; -webkit-mask-image: linear-gradient(to top, #000, transparent 75%); mask-image: linear-gradient(to top, #000, transparent 75%); }
.mem h3 { margin-top: var(--s-4); font-size: 20px; }
.mem p { margin-top: var(--s-1); font-size: 15px; color: var(--slate); line-height: 1.45; }
.mem-in { position: absolute; top: var(--s-3); right: var(--s-3); display: grid; place-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); font-weight: 800; font-size: 14px; text-decoration: none; }
.mem-in:hover { background: var(--teal-b); }
@media (max-width: 900px) { .mems { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .mems { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--grid); }
  .mem-ph { border-radius: 16px; }
  .mem h3 { margin-top: var(--s-3); font-size: 17px; }
  .mem p { font-size: 14px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}

/* Join panel. */
.join {
  position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(var(--s-6), 5vw, var(--s-8)); align-items: center;
  padding: var(--pad-xl); border-radius: var(--r-lg); overflow: hidden; color: var(--white);
  background: radial-gradient(70% 120% at 0% 100%, rgba(31,208,187,.20), transparent 60%), radial-gradient(100% 120% at 100% 0%, var(--navy-hi), var(--navy) 55%, var(--navy-lo));
}
.join::before { content: ""; position: absolute; inset: 0; background-image: var(--dots-dark); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.join > * { position: relative; }
.join-text p { margin-top: var(--s-4); font-size: clamp(18px, 1.7vw, 20px); line-height: 1.5; color: rgba(255,255,255,.84); max-width: 30em; }
.join .cta-row { margin-top: var(--s-6); }
.join-types { display: grid; gap: var(--s-3); }
.join-types li { display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-5); border-radius: var(--s-4); background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.join-types b { font-size: 18px; }
.join-types span { font-size: 15px; color: rgba(255,255,255,.78); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; border-radius: var(--r); } }
@media (max-width: 560px) { .join .cta-row .btn { flex: 1 1 100%; } }

/* About. */
.statements { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid); }
.statement { background: var(--navy); color: var(--white); border-radius: var(--r-lg); padding: var(--pad-lg); }
.statement .cap { color: rgba(255,255,255,.7); }
.statement-mist { background: var(--mist); color: var(--navy); }
/* A lone statement (mission without vision) spans the row; the text keeps a readable measure. */
.statement:only-child { grid-column: 1 / -1; }
.statement:only-child .stmt { max-width: 30em; }
.statement-mist .cap { color: var(--slate); }
.stmt { margin-top: var(--s-4); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
@media (max-width: 860px) { .statements { grid-template-columns: 1fr; } .statement { border-radius: var(--r); } }

/* Focus areas page. */
.fa { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(var(--s-5), 5vw, var(--s-8)); padding: clamp(var(--s-7), 5vw, var(--s-8)) 0; border-top: 1px solid var(--rule); }
.fa:first-child { border-top: 0; padding-top: 0; }
.fa-head .num { margin-bottom: var(--s-3); }
.fa-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -0.032em; }
.fa-body > p:first-child { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; }
.fa-body .cap { margin-top: var(--s-5); }
.qs { margin-top: var(--s-2); }
.qs li { position: relative; padding: var(--s-2) 0 var(--s-2) var(--s-5); font-size: 16px; line-height: 1.5; }
.qs li::before {
  content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px;
  border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); border-radius: 1px; transform: rotate(45deg);
}
@media (max-width: 800px) { .fa { grid-template-columns: 1fr; } }

/* Membership. */
.note { margin-top: var(--s-5); color: var(--slate); max-width: 46em; }
.note .tl { color: var(--navy); }

/* Form. */
.form { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: var(--pad-lg); max-width: 900px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); }
.field { margin-bottom: var(--s-5); border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; margin-bottom: var(--s-2); font-size: 15px; font-weight: 600; }
.field > input, .field > textarea {
  display: block; width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4); border: 1px solid var(--slate); border-radius: var(--r-sm);
  background: var(--white); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
.field > textarea { resize: vertical; min-height: 130px; }
.field > input:focus, .field > textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31,208,187,.28); }
.field > [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.opt input[aria-invalid="true"] + span, .chk input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
.err { margin-top: var(--s-2); font-size: 14px; font-weight: 600; color: var(--err); }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: block; height: 100%; padding: var(--s-4); border: 1px solid var(--slate); border-radius: var(--s-4); transition: border-color .15s, background .15s, box-shadow .15s; }
.opt b { display: block; font-weight: 700; }
.opt small { display: block; margin-top: var(--s-1); font-size: 14px; color: var(--slate); line-height: 1.4; }
.opt input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--mist-lo); }
.opt input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }
.chks { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-5); }
.chk { position: relative; display: flex; gap: var(--s-3); align-items: flex-start; cursor: pointer; font-size: 16px; line-height: 1.45; }
.chk input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid var(--slate); border-radius: 6px; background: var(--white); cursor: pointer; display: grid; place-content: center; transition: background .15s, border-color .15s; }
.chk input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateY(-2px) rotate(-45deg); opacity: 0; }
.chk input:checked { background: var(--navy); border-color: var(--navy); }
.chk input:checked::after { opacity: 1; }
.chk input:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.field-opt { margin: var(--s-2) 0 var(--s-4); }
.field-opt .chk, .consent .chk { font-size: 15px; }
.consent { margin: 0 0 var(--s-6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.form-status { font-size: 15px; color: var(--slate); }
.req-org { display: none; }
.form.is-org .req-org { display: inline; }
.form-done, .form-fallback { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: var(--pad-lg); max-width: 900px; }
.form-fallback { margin-top: var(--s-4); }
.form-done h3, .form-fallback h3 { font-size: clamp(22px, 2.4vw, 28px); }
.form-done p, .form-fallback p { margin-top: var(--s-3); color: var(--slate); max-width: 36em; }
.form-done:focus, .form-fallback:focus { outline: none; }
@media (max-width: 700px) {
  .form { border-radius: var(--r); }
  .form-grid, .opts, .chks { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* Contact, privacy. */
.contact-big { margin-top: var(--s-3); font-size: clamp(19px, 1.9vw, 22px); font-weight: 600; overflow-wrap: anywhere; }
.prose { max-width: 760px; }
.prose h2 { margin: var(--s-7) 0 var(--s-3); font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.prose p { font-size: 17px; line-height: 1.6; max-width: 70ch; }
.draft-note { margin-bottom: var(--s-2); }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--mist-lo); padding: clamp(var(--s-8), 6vw, var(--s-9)) 0 var(--s-6); font-size: 15px; }
.ftr-top { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-7); }
.ftr-brand img { height: 44px; width: auto; }
.ftr-brand p { margin-top: var(--s-4); color: var(--slate); font-weight: 600; font-size: 14px; line-height: 1.6; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.ftr-cols h2 { font-size: 14px; font-weight: 600; color: var(--slate); margin-bottom: var(--s-4); }
.ftr-cols ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.ftr-cols a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.ftr-cols a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ftr-legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--rule); color: var(--slate); font-size: 14px; }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr; gap: var(--s-7); } }
@media (max-width: 520px) {
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .ftr-cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- Armenian
   Armenian words run longer and its letters crowd under tight tracking: looser letter-spacing, a smaller hero. */
html[lang="hy"] :is(.display, .h1, .gh-h, .big-stmt, .stmt, h2, h3, .acc-t, .mnav li a) { letter-spacing: -0.01em; }
html[lang="hy"] .gh-h { font-size: clamp(32px, 3.5vw, 56px); line-height: 1.08; }
html[lang="hy"] .gh-h em { white-space: normal; }
html[lang="hy"] .display { font-size: clamp(28px, 7.4vw, 72px); line-height: 1.05; overflow-wrap: break-word; }
html[lang="hy"] .h1 { font-size: clamp(24px, 3.4vw, 44px); line-height: 1.12; }
html[lang="hy"] .big-stmt { font-size: clamp(24px, 3vw, 40px); line-height: 1.2; }
html[lang="hy"] .nav a { font-size: 14.5px; padding: var(--s-2) var(--s-2); }
html[lang="hy"] .hdr > .wrap { gap: var(--s-4); }
html[lang="hy"] .nav ul { gap: 0; }
html[lang="hy"] .hdr-name { font-size: 12.5px; }
@media (max-width: 440px) {
  html[lang="hy"] .hdr-name { font-size: 11px; }
}
@media (max-width: 400px) {
  html[lang="hy"] .hdr > .wrap { gap: var(--s-3); }
  html[lang="hy"] .hdr-logo img { height: 26px; }
  html[lang="hy"] .hdr-name { font-size: 10px; }
}
/* Smallest phones: the long line of the Armenian name wraps, so the name sits on three lines. */
@media (max-width: 340px) {
  html[lang="hy"] .hdr-name { white-space: normal; max-width: 14em; line-height: 1.18; }
  html[lang="hy"] .gh-h { font-size: 28px; }
  html[lang="hy"] .big-stmt { font-size: 21px; }
  /* Last resort at this width: a word too long for its column breaks instead of widening the page. */
  html[lang="hy"] :is(main, footer) { overflow-wrap: anywhere; }
}
/* What we do: words such as «Քաղաքականություն» need wider narrow panels (3:2 instead of 2:1). */
html[lang="hy"] .bento { grid-template-columns: repeat(5, 1fr); }
html[lang="hy"] .bento > .b { grid-column: span 2; }
html[lang="hy"] .bento > .b-wide { grid-column: span 3; }
html[lang="hy"] .b h3 { font-size: clamp(22px, 2.1vw, 30px); }
@media (max-width: 1000px) {
  html[lang="hy"] .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  html[lang="hy"] .bento > :is(.b, .b-wide) { grid-column: auto; }
}
/* Card grids: the longest words (e.g. «հաստատություններ», «Կազմակերպություն») set how narrow a card can get,
   so the Armenian grids use fewer columns: four cards sit two by two. */
html[lang="hy"] .cards:not(.cards-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1180px) { html[lang="hy"] .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1040px) { html[lang="hy"] .types { grid-template-columns: 1fr; } }
@media (max-width: 820px) { html[lang="hy"] .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { html[lang="hy"] .cards:not(.cards-3) { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  html[lang="hy"] .partners { grid-template-columns: repeat(2, 1fr); }
  html[lang="hy"] .pt { padding: var(--s-3); text-align: center; }
}
/* Long words such as «Անդամակցությունն» in the join panel: smaller headings on phones, and a narrower
   column breaks a word rather than pushing the page wider. */
html[lang="hy"] .h1 { overflow-wrap: break-word; }
html[lang="hy"] .join { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { html[lang="hy"] .join { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
