/* Invest.gov.ge — Investment Agency of Georgia
   Brand: navy #192948 dominant · sky #68BCE9 signature accent · amber/orange as guest accent */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* no visible page scroll bar; the page still scrolls with wheel, touch and keys */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  margin: 0;
  font-family: var(--iig-font);
  font-weight: var(--iig-wt-body);
  color: var(--iig-ink-700);
  background: var(--iig-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  /* English type: Fira Sans, the Latin half of the brand face, from Google
     Fonts. Georgian switches both faces to FiraGO further down — the same
     design with Georgian glyphs — so the two languages look like one family. */
  --iig-font:      'Fira Sans', 'Segoe UI', system-ui, sans-serif;
  --iig-wt-body: 400;

  --iig-font-head: 'Fira Sans', 'Segoe UI', system-ui, sans-serif;
  --iig-wt-head: 600;
  --iig-track-head: -0.01em;
  --section-pad: 20px;         /* every section's top and bottom, so the gap
                                  between any two is the same 2x that */
  --shell: 1380px;
  --gutter: 32px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-ctl: 14px;              /* buttons, toggles, fields and controls share 14px radius */
  --ctl-h: 48px;              /* and one height, so a row of them lines up   */
  --orange: #F08A24;          /* warm CTA orange, sits beside brand amber */
  --orange-soft: #FAB136;     /* brand amber */
}


/* Georgian: Noto Sans Georgian for everything, Latin inside it from Fira
   Sans. Capitals (Mtavruli) are text-transform: uppercase in the same face,
   see "Georgian capitals" below. Loaded in css/fonts.css. */
html[lang="ka"] {
  --iig-font:      'Noto Sans Georgian', 'Fira Sans', 'FiraGO', system-ui, sans-serif;
  --iig-font-head: 'Noto Sans Georgian', 'Fira Sans', 'FiraGO', system-ui, sans-serif;
  /* FiraGO has no Light that holds up at body sizes; headings use SemiBold,
     the same weight as the English, as bold set Georgian wider still. */
  --iig-wt-body: 400;
  --iig-wt-head: 600;
  --iig-track-head: -0.01em;
}
html[lang="ka"] h1, html[lang="ka"] h2 { letter-spacing: -0.01em; }  /* Georgian needs less tightening */

.shell { width: min(var(--shell), 100% - (var(--gutter) * 2)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--iig-font-head); color: var(--iig-navy-800); font-weight: var(--iig-wt-head); line-height: 1.1; letter-spacing: var(--iig-track-head); }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
h3 { font-size: clamp(19px, 1.5vw, 23px); }
p  { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--iig-blue-500);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--iig-sky); }

.lede { font-size: clamp(15px, 1.15vw, 17px); color: #4a5a6d; max-width: 62ch; }
.lede + .lede { margin-top: 14px; }   /* consecutive paragraphs, e.g. About the Agency */
.muted { color: var(--iig-grey-500); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-ctl); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #d9761a; }
.btn--navy { background: var(--iig-navy-800); color: #fff; }
.btn--navy:hover { background: var(--iig-navy-600); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { border-color: var(--iig-line); color: var(--iig-navy-800); background: #fff; }
.btn--outline:hover { border-color: var(--iig-sky); }
.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- hero ----------
   Geometry mirrors the reference: an image plate with a white notch cut out of its
   bottom-right corner, the card row sitting in that notch and overhanging below it,
   and the CTA parked in the bottom-left of the plate, beside the notch.           */
.hero { padding: 16px 0 0; }
.hero__stage {
  position: relative;
  /* one place to tune the notch */
  --notch-w: min(56%, 760px);   /* width of the card row / notch            */
  --slope-w: 130px;             /* width of the smooth diagonal S-curve transition */
  --drop: 24px;                 /* how far the notch box hangs below the plate: just its own padding, so the cards end level with the plate */
  --band: 132px;                /* how far the notch reaches into the plate */
  margin-bottom: var(--drop);   /* room for the cards that hang below, so the next section clears them */
}
.hero__frame {
  position: relative;
  border-radius: var(--r-lg);
  background: #001A3B url("../assets/hero-kura-night.jpg") 56% center/cover no-repeat;
  min-height: 550px;   /* 15% lower than the original 648px */
  /* bottom padding keeps flow content clear of the notch band */
  padding: 26px 40px calc(var(--band) + 26px);
  display: flex; flex-direction: column;
  color: #fff; overflow: hidden;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,15,34,.94) 0%, rgba(0,15,34,.8) 32%, rgba(0,26,59,.46) 60%, rgba(0,26,59,.2) 100%),
    linear-gradient(rgba(0,26,59,.28), rgba(0,26,59,.28));
  pointer-events: none;
}
.hero__frame > * { position: relative; z-index: 2; }

/* nav */
.nav { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  position: relative; z-index: 5; }  /* open mobile menu must paint over the headline */
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 32px; width: auto; }
/* Plain wordmark: no pill background, white uppercase text on the dark hero/pagehead. */
.pill.brand__pill { background: none; padding: 0; border-radius: 0; color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  line-height: 32px; text-decoration: none; }
/* Georgian has no case; uppercase would switch it to Mtavruli, so keep Mkhedruli. */
html[lang="ka"] .pill.brand__pill { text-transform: none; letter-spacing: .02em; }

.nav__links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav__links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; transition: color .15s ease; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; font-weight: 600; }
.nav__links a.is-active::before { content: "\2192"; color: var(--orange-soft); }
/* menu items set like the wordmark: same size and weight, uppercase, spaced
   (Georgian has no capitals, so it keeps its own letters) */
.nav__links > a { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
html[lang="ka"] .nav__links > a { text-transform: none; letter-spacing: .02em; }
.nav__toggle { display: none; }

/* In the hero the menu is a tall vertical column; taking it out of flow lets the
   title block start right under the logo instead of below the whole menu.
   Scoped above the mobile breakpoint, where the menu is a dropdown instead. */
@media (min-width: 861px) {
  .hero__frame .nav__links { position: absolute; top: 0; right: 0; }
}

/* language toggle: last in the row, behind a divider */
.nav__lang {
  display: flex; align-items: center; gap: 4px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.nav__lang a { padding: 2px 9px; border-radius: 6px; font-size: 12.5px; color: rgba(255,255,255,.72); }
.nav__lang a:hover { color: #fff; font-weight: 400; }
.nav__lang a.is-on { background: var(--iig-blue-500); color: #fff; font-weight: 600; }

/* hero copy — a single weight, three lines, sitting above the notch band */
.hero__body { margin-top: 62px; max-width: min(820px, 64%); }
/* desktop: Start here keeps its old place, 40px from the bottom-left corner
   (inside the frame's bottom padding, beside the card notch), and the text
   sits right above it */
.hero__frame .hero__body { margin-top: auto; padding-top: 28px; }
@media (min-width: 861px) {
  .hero__frame .hero__cta { margin-bottom: calc(40px - var(--band) - 26px); }
}
.pill {
  display: inline-block; padding: 7px 16px; border-radius: var(--r-ctl);
  background: rgba(255,255,255,.92); color: var(--iig-navy-800);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.hero h1 {
  /* Georgian keeps the lighter FiraGO hero it always had, just below. */
  color: #fff; font-weight: var(--iig-wt-head); letter-spacing: var(--iig-track-head);
  font-size: clamp(32px, 4.1vw, 56px); line-height: 1.1; margin: 20px 0 0;
}
html[lang="ka"] .hero h1 { font-weight: 400; }
.hero__sub {
  margin-top: 18px; max-width: min(46ch, 100%);
  color: rgba(255,255,255,.88); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55;
}
/* the button follows the text instead of sitting at the bottom corner */
.hero__cta { position: relative; z-index: 3; align-self: flex-start; margin-top: 28px; }


/* the title notch: a white cut-out in the plate's top-left corner, holding the
   agency's name in navy, with the same S-curve as the card notch on its right
   and a rounded inside corner beneath it */
.hero__notch {
  position: absolute; top: 0; left: 0; z-index: 1;   /* over the plate, under its nav and copy */
  background: #fff;
  padding: 6px 30px 26px 0;
}
.hero__notch::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(100% - 1px);
  width: var(--slope-w);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M 100,0 C 62,0 38,100 0,100 L 0,0 Z' fill='%23ffffff'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
  pointer-events: none;
}
.hero__notch::before {
  content: ""; position: absolute; left: 0; top: calc(100% - 1px);
  width: var(--r-lg); height: var(--r-lg);
  background: radial-gradient(circle at 100% 100%, transparent var(--r-lg), #fff calc(var(--r-lg) + .5px));
  pointer-events: none;
}
.hero .hero__title {
  margin: 0; max-width: 9em;
  color: var(--iig-navy-800); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(28px, 3.5vw, 50px); line-height: 1.05;
}
html[lang="ka"] .hero .hero__title { max-width: 13em; font-size: clamp(22px, 2.5vw, 36px); line-height: 1.2; font-weight: 600; }
/* the name lives in the notch now, so the small wordmark steps aside (it keeps
   its space, so the menu button stays on the right on phones) */
.hero__frame .brand { visibility: hidden; }

/* the notch: white plate carrying the card row, cut into the image */
.hero__cards {
  position: absolute; right: 0; bottom: calc(var(--drop) * -1); z-index: 4;
  width: var(--notch-w);
  background: #fff;
  border-bottom-right-radius: var(--r-lg);
  padding: 24px 24px 24px 24px;
  box-shadow: 1px 0 0 #fff;       /* hides the hairline where the notch meets the panel's right edge */
  /* minmax(0, 1fr): the columns never grow to fit a longer word, so the
     cards keep one width in both languages */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
/* smooth diagonal S-curve transition matching the reference angle and rounded corners */
.hero__cards::before {
  content: "";
  position: absolute;
  right: calc(100% - 1px);
  top: 0;
  /* 2px past the panel's bottom edge, so the two never meet on a seam */
  bottom: calc(var(--drop) - 2px);
  width: var(--slope-w);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M 0,100 C 38,100 62,0 100,0 L 100,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
/* smooth rounded corner where the photo meets the white shelf at the right edge */
.hero__cards::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: var(--r-lg);
  height: var(--r-lg);
  background: radial-gradient(circle at 0 0, transparent var(--r-lg), #fff calc(var(--r-lg) + .5px));
  pointer-events: none;
}
/* hover affordance: arrow button appears inside the top-right corner of the card */
.hero__badge {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  box-shadow: none;
  opacity: 0; transform: scale(.75); pointer-events: none;
  transition: opacity .18s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.hero__badge svg { width: 14px; height: 14px; stroke-width: 2.4; }
.hcard:hover .hero__badge, .hcard:focus-within .hero__badge { opacity: 1; transform: scale(1); }
.hcard {
  position: relative; z-index: 1;   /* hovered card is raised over its neighbours */
  /* the page's own background, outlined, so the row reads as part of the page
     rather than as three more dark panels under the dark hero */
  background: #fff;
  border: 1px solid rgba(16, 42, 67, .08);   /* the same faint edge as the mandate cards */
  border-radius: 18px;
  padding: 18px 17px 20px;
  color: rgba(255,255,255,.66);
  /* no fixed height: a logo, a title and an address are the same in both
     languages, so the cards size to their content and match each other */
  display: flex; flex-direction: column; gap: 9px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hcard:hover, .hcard:focus-within { transform: translateY(-4px); z-index: 6; border-color: transparent; box-shadow: 0 16px 34px rgba(0,26,59,.14); }
.hcard__icon {
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: var(--iig-navy-800); margin-bottom: 4px;
}
/* each card carries its own wordmark, with white lettering so it reads on
   the navy card (assets/logo/card-*.png) */
.hcard__logo { align-self: flex-start; max-width: 100%; height: 22px; margin: 0; display: flex; align-items: center; }
.hcard__logo img { width: auto; max-width: 100%; display: block; }
.hcard__logo--invest img { height: 22px; }
.hcard__logo--trade img  { height: 20px; }
.hcard__logo--ppp img    { height: 22px; }
.hcard h3 { color: #fff; font-size: 15px; line-height: 1.3; font-weight: var(--iig-wt-head); letter-spacing: 0; }

/* the hero now ends at the card row; nothing sits beneath it */
.hero { padding-bottom: var(--section-pad); }

/* ---------- sections ---------- */
/* One rhythm, no exceptions: the gaps used to run 152px after the hero, 90px
   after the spotlight and 176px before the news and the footer. */
.section { padding: var(--section-pad) 0; }
.section--panel { background: var(--iig-panel-warm); }
.section__head { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.section__head p { max-width: 52ch; }
.section__head > div:first-child h2 { margin-top: 12px; }

/* ---------- spotlight: the revolving fan ----------
   Seven cards share one ring of slots. The hovered card takes the centre slot and
   everything else rotates outward around it; a card pushed past the last slot
   wraps to the other end, fading through the turn. Position, drop and size are all
   one transform, so the whole move is GPU-composited.
   Slot geometry is computed in js/site.js — this file owns the look. */
.spotlight { text-align: center; overflow-x: clip; }
.spotlight .eyebrow { justify-content: center; }
.spotlight h2 { margin-top: 0; }
/* the other home sections open the same way as the spotlight: a large,
   centred heading, and any "see all" link centred under the content */
.home-h2 { text-align: center; margin: 28px 0 40px; }
.home-more { text-align: center; margin-top: 32px; }

/* the ring plus its two arrows, which sit against the shell edges */
.arc__wrap { position: relative; }
.arc__nav {
  position: absolute; top: 38%; z-index: 12;   /* over the outer cards, which the fan reaches to */
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center;
  background: #fff; border: 1px solid var(--iig-line); color: var(--iig-navy-800);
  box-shadow: 0 8px 22px rgba(0,26,59,.16);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.arc__nav svg { width: 20px; height: 20px; }
.arc__nav:hover { border-color: var(--iig-sky); color: var(--iig-blue-500); transform: scale(1.06); }
.arc__nav:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 3px; }
.arc__nav--prev { left: 0; }
.arc__nav--next { right: 0; }

.arc {
  /* The centre card; the rest are scaled from it. With the overlap above, the
     fan reaches 1.59 x the base either side of centre, and the shell stops
     growing at 1380px — so the cap is what keeps the widest fan (620px) clear
     of the 46px arrows sitting at the shell edges. */
  --base: clamp(210px, 25vw, 390px);
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw); margin-top: 26px;
  height: calc(var(--base) * 2 / 3);   /* 3 : 2 cards, the shape of a camera photo */
}
.arc__item {
  --x: 0px; --y: 0px; --s: 1;
  background: var(--iig-navy-800);   /* shows around a photo zoomed out below 100% */
  position: absolute; left: 50%; top: 0;
  width: var(--base); height: calc(var(--base) * 2 / 3);
  transform: translateX(calc(-50% + var(--x))) translateY(var(--y)) scale(var(--s));
  transform-origin: 50% 0;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,26,59,.18);
  transition: transform .58s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s ease, filter .35s ease;
  will-change: transform;
}
.arc__item:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 6px; }
.arc__item:not(.is-active) { cursor: pointer; }   /* click brings it to the centre */
/* the cards either side step back: dimmer, flatter, and under a softer shadow */
.arc__item:not(.is-active) { filter: saturate(.8) brightness(.86); }
.arc__item.is-active {
  box-shadow: 0 40px 80px -14px rgba(0,26,59,.52), 0 10px 26px rgba(0,26,59,.22);
}
/* a pool of shadow under the centre slot, which the centred card sits in */
.arc::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 6%;
  width: calc(var(--base) * 1.34); height: calc(var(--base) * 0.85);
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 55%, rgba(0,26,59,.26), rgba(0,26,59,0) 68%);
  filter: blur(14px);
}
/* a card that wraps from one end of the ring to the other crosses while invisible */
.arc__item.is-wrapping { animation: arc-wrap .58s ease both; }
@keyframes arc-wrap { 0%, 100% { opacity: 1; } 26%, 74% { opacity: 0; } }

/* both layouts can be dragged sideways; vertical gestures still scroll the page */
.arc { cursor: grab; touch-action: pan-y; }
.arc.is-dragging { cursor: grabbing; }
.arc.is-dragging .arc__item { cursor: grabbing; }

/* the looping copies exist only for the swipe row; the ring wraps by itself */
.arc__clone { display: none; }
.arc__img {
  position: absolute; inset: 0;
  background-color: var(--iig-navy-800);       /* shows while the photo loads */
  background-repeat: no-repeat;
  /* framing set per story in the CMS: focus point and size (see .news__photo) */
  background-position: var(--fx, 50%) var(--fy, 50%);
  background-size: cover;
}
/* "show the whole photo": letterboxed on the navy card, never cropped */
.arc__img--fit { background-size: contain; }
/* the photographs carry the brand's own circle motif, so no CSS ring on top */
.arc__img--2 { background-image: url("../assets/spot/hydropower.jpg"); }
.arc__img--3 { background-image: url("../assets/spot/trade-mission.jpg"); }
.arc__img--4 { background-image: url("../assets/spot/summit.jpg"); }
.arc__img--5 { background-image: url("../assets/spot/anaklia.jpg"); }
.arc__img--6 { background-image: url("../assets/spot/hospitals.jpg"); }

/* The card itself is no longer a link — a whole card that navigates collected
   accidental clicks. Only the centred card offers its CTA, which keeps the
   side cards inert and stops the label from shrinking with them. */
.arc__cta {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  /* sized to its words and centred between those two offsets */
  width: fit-content; margin-inline: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  /* the same metrics as .btn, so it reads as one of the site's buttons */
  padding: 14px 24px; border: 1px solid transparent; border-radius: var(--r-ctl);
  /* no blur, no outline: a flat tint that fills in on hover */
  background: rgba(0,15,34,.34);
  color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0,15,34,.45);
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .18s ease;
}
.arc__item.is-active .arc__cta { opacity: 1; transform: none; pointer-events: auto; }
.arc__cta:hover { background: rgba(0,15,34,.74); }
.arc__cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.arc__cta .arr { transition: transform .18s ease; }
.arc__cta:hover .arr { transform: translateX(4px); }


.arc__now { margin-top: 44px; min-height: 52px; }   /* room the old "Across Georgia" rule took */
.arc__now b {
  display: block; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700;
  color: var(--iig-navy-800); letter-spacing: -0.01em;
  transition: opacity .2s ease;
}
.arc__now span { font-size: 13px; color: var(--iig-grey-500); transition: opacity .2s ease; }
.arc__now.is-swapping b, .arc__now.is-swapping span { opacity: 0; }
/* the spotlighted card describes itself here — held to two lines so the
   button below never shifts as the ring turns */
.spotlight__text {
  max-width: 62ch; margin: 14px auto 26px;
  font-size: 14.5px; line-height: 1.6; color: #5a6b7e;
  min-height: 2.6em;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  transition: opacity .2s ease;
}
.arc__now.is-swapping ~ .spotlight__text { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .arc__item { transition-duration: .01ms; }
  .arc__item.is-wrapping { animation-duration: .01ms; }
}

/* The ring needs a hovering cursor and room to fan out, so at tablet width and
   below it becomes a row you swipe: the gesture is the whole control, and there
   is no scrollbar. Side padding is half a card, so the first and last card can
   still reach the centre snap point.
   Width, not (pointer: coarse): embedded and hybrid browsers report a coarse
   pointer with a mouse attached, and would lose the ring on a full desktop. */
@media (max-width: 1024px) {
  .arc {
    --card: clamp(240px, 62vw, 360px);   /* wider than tall, so a little wider than before */
    height: auto; width: auto; margin-left: 0; margin-top: 30px;
    display: flex; gap: 12px;
    padding: 4px max(18px, calc(50% - var(--card) / 2)) 18px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* legacy Edge */
  }
  .arc::-webkit-scrollbar { width: 0; height: 0; display: none; }  /* Chrome, Safari */
  .arc::before { display: none; }          /* no fixed centre slot on the row */
  .arc.is-dragging { scroll-snap-type: none; }
  .arc__clone { display: block; }
  .arc__item {
    position: relative; left: auto; top: auto; flex: 0 0 auto;
    width: var(--card); height: calc(var(--card) * 2 / 3);
    transform: none; scroll-snap-align: center;
    transition: opacity .3s ease, box-shadow .3s ease;
  }
  .arc__item:not(.is-active) { opacity: .6; }
  .arc__item.is-wrapping { animation: none; }
  .arc__now { margin-top: 12px; }
}

/* ---------- the three mandates ----------
   Built like the spotlight and news cards: a photo header with the mandate's
   name in white over a dark fade, the arrow badge in the corner, and the three routes as rows underneath. The photos are
   CMS image slots (content/media.json: mandate-invest / -export / -ppp). */
.mandates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mandate {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, .08);
  border-radius: var(--r-md);
  box-shadow: 0 2px 6px rgba(10, 28, 58, .05), 0 14px 32px rgba(10, 28, 58, .09);
  transition: transform .3s ease, box-shadow .3s ease;
}
.mandate:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(10, 28, 58, .06), 0 24px 48px rgba(10, 28, 58, .16); }
.mandate--invest { --c: #29ABE2; }
.mandate--export { --c: var(--orange-soft); }
.mandate--ppp    { --c: var(--iig-navy-600); }

/* the heading is a route too: it opens that mandate's own page */
.mandate__head {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; gap: 14px;
  height: 140px; padding: 16px 22px;
  /* the arrow's corner cut-out: a mask punches the shape out of the photo
     layers (not a white patch laid over them), so the card's own white shows
     through and no photo colour can bleed along its edges */
  --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M0,0 H64 V64 A14,14 0 0 0 50,50 H32 A18,18 0 0 1 14,32 V14 A14,14 0 0 0 0,0 Z'/%3E%3C/svg%3E");
}
.mandate__photo, .mandate__head::after {
  -webkit-mask-image: var(--notch), linear-gradient(#000 0 0);
  -webkit-mask-position: top right, 0 0;
  -webkit-mask-size: 64px 64px, 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-image: var(--notch), linear-gradient(#000 0 0);
  mask-position: top right, 0 0;
  mask-size: 64px 64px, 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: exclude;
}
/* the photo box stays put (so the cut-out does too); the picture inside it,
   inherited from the box, is what zooms on hover */
.mandate__photo {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--iig-navy-800) center / cover no-repeat;
}
.mandate__photo::before {
  content: ""; position: absolute; inset: 0;
  background: inherit;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.mandate--invest .mandate__photo { background-image: url("../assets/mandates/invest.jpg"); background-position: 50% 55%; }
.mandate--export .mandate__photo { background-image: url("../assets/mandates/export.jpg"); background-position: 50% 22%; }
.mandate--ppp    .mandate__photo { background-image: url("../assets/mandates/ppp.jpg"); background-position: 50% 55%; }
/* the same dark fade as the spotlight cards, so the name reads on any photo */
.mandate__head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,15,34,0) 30%, rgba(0,15,34,.78) 100%);
}
/* a wash of the mandate's colour over the photo, so it reads as that
   department and the picture stays in the background; it eases on hover */
.mandate__photo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--c); opacity: .5;
  transition: opacity .3s ease;
}
.mandate:hover .mandate__photo::before { transform: scale(1.05); }
.mandate:hover .mandate__photo::after { opacity: .38; }
.mandate__naming { position: relative; z-index: 2; display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mandate__name {
  font-family: var(--iig-font-head); font-weight: 700;
  font-size: 26px; line-height: 1.15; color: #fff;
}
/* the arrow, centred in the cut-out */
.mandate__badge {
  position: absolute; z-index: 2; top: 9px; right: 9px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--iig-navy-800);
  background: #eef2f7;
  transition: background .25s ease, color .25s ease;
}
.mandate__badge svg { width: 14px; height: 14px; transition: transform .25s ease; }
.mandate:hover .mandate__badge { background: var(--c); color: #fff; }
.mandate:hover .mandate__badge svg { transform: rotate(45deg); }

/* the three routes are the point of the card, so each is a full-width row:
   a faint tint of the mandate's colour, no border, bold, the arrow always
   showing; on hover it fills with the colour */
.mandate__links { display: grid; gap: 8px; padding: 16px 18px 18px; }
.mandate__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--c) 6%, #fff);
  font-size: 15px; font-weight: 600; color: var(--iig-navy-800);
  transition: background .15s ease, color .15s ease;
}
.mandate__link .arr { color: var(--c); font-size: 17px; transition: transform .15s ease; }
.mandate__link:hover {
  background: var(--c); color: #fff;
}
.mandate__link:hover .arr { color: #fff; transform: translateX(4px); }
.mandate__link:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }

/* the home cards: one line on what the agency does in this direction, then a
   button to that mandate's page (the link rows above stay for the CMS's
   mandates section template) */
.mandate__body {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 20px 22px 22px;
}
.mandate__text { flex: 1; margin: 0; font-size: 15px; line-height: 1.6; color: #4a5a6d; }
.mandate__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-ctl);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); color: var(--iig-navy-800);   /* a light hint of the colour */
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.mandate__cta .arr { color: var(--c); transition: transform .18s ease, color .18s ease; }
.mandate__cta:hover, .mandate:hover .mandate__cta { background: var(--c); color: #fff; }
.mandate__cta:hover .arr, .mandate:hover .mandate__cta .arr { color: #fff; transform: translateX(4px); }
.mandate__cta:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }

/* ---------- Agency page: areas of work ----------
   One row per department, alternating sides: a light card shaped like the
   spotlight cards (3 : 2, rounded, lifted) carrying the department's logo,
   name and a Learn more pill, with the department's heading and text beside it. */
.dirs__title { margin: 0 0 40px; text-align: center; }

/* About the Agency: the two paragraphs side by side, one column on phones */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.about .lede { max-width: none; margin: 0; text-align: justify; hyphens: auto; }
.about .lede + .lede { margin-top: 0; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 14px; }
}
.dirs { display: grid; gap: 72px; }
.dir {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: center;
}
.dir:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.dir:nth-child(even) .dir__card { order: 2; }       /* the checkerboard */
.dir--invest { --c: #29ABE2; }
.dir--export { --c: var(--orange-soft); }
.dir--ppp    { --c: var(--iig-navy-600); }
.dir__card {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 2; border-radius: 14px;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 32px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 16%, #fff) 0%, color-mix(in srgb, var(--c) 5%, #fff) 100%);
  border: 1px solid rgba(16, 42, 67, .06);
  box-shadow: 0 14px 30px rgba(0,26,59,.12);
  color: var(--iig-navy-800); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* a faint ring in the corner, the brand's orbit motif */
.dir__card::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c) 35%, transparent);
  pointer-events: none;
}
.dir__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,26,59,.18); }
.dir__logo { height: 30px; width: auto; display: block; }
.dir__name {
  margin-top: auto;
  font-family: var(--iig-font-head); font-weight: 700;
  font-size: clamp(22px, 2vw, 30px); line-height: 1.15;
}
.dir__cta {
  margin-top: 18px; position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-ctl);
  background: var(--iig-navy-800); color: #fff;
  font-size: 14px; font-weight: 600;
}
.dir__cta .arr { transition: transform .18s ease; }
.dir__card:hover .dir__cta .arr { transform: translateX(4px); }
.dir__card:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; }
.dir__text h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; color: var(--iig-navy-800); margin: 0 0 14px; }
.dir__text p { margin: 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; color: #4a5a6d; max-width: 62ch; }
@media (max-width: 860px) {
  .dirs { gap: 48px; }
  .dir, .dir:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  .dir:nth-child(even) .dir__card { order: 0; }   /* card first on every row */
  .dir__card { padding: 22px 24px; }
}

/* ---------- stats ---------- */
.stats { background: var(--iig-navy-800); border-radius: var(--r-lg); padding: 54px 40px; color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 34px; }
/* three figures share the row evenly instead of leaving a fourth slot empty */
@media (min-width: 1101px) { .stats__grid:has(> .stat:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
/* every circle is the same solid sky: the colour carried no meaning, so
   varying it only suggested one that was not there */
.stat__ring {
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--iig-sky); color: var(--iig-navy-800);
  display: grid; place-items: center;
  font-size: 27px; font-weight: 700; letter-spacing: -0.02em;
}
.stat p { font-size: 13px; color: rgba(255,255,255,.75); max-width: 22ch; }
.stats h2 { color: #fff; }
.stats .lede { color: rgba(255,255,255,.75); }

/* ---------- why grid ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (min-width: 1101px) { .why--five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.why__card {
  background: #fff; border: 1px solid var(--iig-line); border-radius: var(--r-md);
  padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.why__card:hover { border-color: var(--iig-sky); transform: translateY(-4px); }
.why__icon {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 1px solid var(--iig-line); display: grid; place-items: center; color: var(--iig-navy-600);
}
.why__card h3 { font-size: 17px; }
.why__card p { font-size: 13.5px; color: #5a6b7e; }

/* ---------- sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: 1fr; }  /* every box as tall as the tallest */
/* eight sectors: two even rows of four on desktop */
@media (min-width: 1101px) { .sectors--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sector {
  border-radius: var(--r-md); padding: 22px 20px;
  background: #fff; border: 1px solid var(--iig-line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-weight: 600; color: var(--iig-navy-800); font-size: 15px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.sector .arr { color: var(--iig-sky); font-size: 18px; }
.sector:hover { background: var(--iig-navy-800); color: #fff; border-color: var(--iig-navy-800); }
.sector:hover .arr { color: var(--orange-soft); }

/* ---------- process ---------- */
/* four steps by default; a fifth step widens the row to five */
.steps { --n: 4; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: 40px; border-radius: var(--r-md); overflow: hidden; }
.step { padding: 28px 24px; color: #fff; }
.step:nth-child(1) { background: #000F22; }
.step:nth-child(2) { background: #002D64; }
.step:nth-child(3) { background: #004CAC; }
.step:nth-child(4) { background: var(--iig-sky); color: var(--iig-navy-800); }
.steps:has(> .step:nth-child(5)) { --n: 5; }
.steps:has(> .step:nth-child(5)) .step:nth-child(4) { background: #1F74C4; color: #fff; }
.step:nth-child(5) { background: var(--iig-sky); color: var(--iig-navy-800); }
.step__no { font-size: 12px; letter-spacing: .16em; opacity: .7; }
.step h3 { color: inherit; font-size: 18px; margin: 10px 0 8px; }
.step p { font-size: 13px; opacity: .85; }

/* ---------- narrative section ----------
   Two cards of running text side by side: the one place on a page that
   reads as prose rather than short labels. */
.narrative { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.narrative__card {
  background: #fff; border: 1px solid var(--iig-line); border-radius: var(--r-md);
  border-top: 4px solid var(--iig-sky); padding: 26px 28px;
}
.narrative__card h3 { font-size: 19px; color: var(--iig-navy-800); margin-bottom: 10px; }
.narrative__card p { font-size: 15px; line-height: 1.7; color: #3d5068; }
@media (max-width: 860px) { .narrative { grid-template-columns: 1fr; } }

/* Lighter variants, for pages that would otherwise be a wall of boxes:
   no card, just a short sky rule above each title and plenty of air. */
.why--plain { gap: 36px; }
.why--plain .why__card {
  background: none; border: 0; border-radius: 0; padding: 0;
  gap: 8px; position: relative; padding-top: 18px;
}
.why--plain .why__card::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--iig-sky); }
.why--plain .why__card:hover { transform: none; }
.why--plain .why__card p { font-size: 14px; line-height: 1.6; }
.narrative--plain { gap: 48px; }
.narrative--plain .narrative__card { background: none; border: 0; border-radius: 0; padding: 0; }
.narrative--plain .narrative__card h3 { position: relative; padding-top: 18px; }
.narrative--plain .narrative__card h3::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 3px; border-radius: 2px; background: var(--iig-sky); }
.narrative--plain .narrative__card p { font-size: 15.5px; }

/* ---------- photo carousel ----------
   A row of photographs you scroll sideways (swipe, trackpad or the arrows);
   each stop snaps a photo to the left edge. Arrows match the spotlight's. */
.gallery { position: relative; }
.gallery__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--r-md);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 calc((100% - 32px) / 2.4); margin: 0; scroll-snap-align: start; }
.gallery__slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); display: block; }
.gallery__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center;
  background: #fff; border: 1px solid var(--iig-line); color: var(--iig-navy-800);
  box-shadow: 0 8px 22px rgba(0,26,59,.16); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, opacity .2s ease;
}
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav:hover { border-color: var(--iig-sky); color: var(--iig-blue-500); }
.gallery__nav:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 3px; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .gallery__slide { flex-basis: 82%; }
  .gallery__nav { display: none; }   /* swipe on phones */
}

/* ---------- card ring (agency highlights, invest phases) ---------- */
/* A rail you can swipe or step through with the arrows — deliberately not the
   home page's overlapping arc, since these cards are read, not glanced at. */
.hl-nav { display: flex; gap: 8px; }
.hl-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--iig-line); background: #fff;
  color: var(--iig-navy-800);
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hl-arrow svg { width: 18px; height: 18px; }
.hl-arrow:hover { background: var(--iig-navy-800); color: #fff; border-color: var(--iig-navy-800); }
.hl-arrow[disabled] { opacity: .35; cursor: default; }
.hl-arrow[disabled]:hover { background: #fff; color: var(--iig-navy-800); border-color: var(--iig-line); }

/* All five cards on screen at once in a fan, the centre one at full size and
   the rest tucked behind it — the same ring the home page spotlight uses, with
   a gentler spread because these cards are read rather than glanced at.
   js/agency.js sets --x, --y and --s per card; below 1025px the ring gives way
   to a plain swipe rail, where a fan would leave nothing legible. */
.hl-ring {
  --base: clamp(250px, 23vw, 340px);
  --turn: .52s;
  position: relative;
  height: calc(var(--base) * 1.06);
  margin-top: 6px;
}

.hl-card {
  --x: 0px; --y: 0px; --s: 1;
  position: absolute; left: 50%; top: 0;
  width: var(--base);
  height: calc(var(--base) * 0.94);
  transform: translateX(calc(-50% + var(--x))) translateY(var(--y)) scale(var(--s));
  transform-origin: 50% 0;
  display: flex; flex-direction: column;
  padding: 22px 22px 20px;
  background: #fff;
  border: 1px solid var(--iig-line);
  border-top: 3px solid var(--c, var(--iig-sky));
  border-radius: var(--r-md);
  color: inherit;
  transition: transform var(--turn) cubic-bezier(.22,.61,.36,1),
              opacity var(--turn) ease, box-shadow .25s ease;
}
/* the cards either side step back rather than competing for attention */
.hl-card:not(.is-active) { opacity: .62; cursor: pointer; }
.hl-card:not(.is-active):hover { opacity: .85; }
.hl-card.is-active { box-shadow: 0 30px 62px -20px rgba(0, 26, 59, .38); }
.hl-card:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 4px; }

.hl-card--project   { --c: var(--iig-sky); }
.hl-card--service   { --c: var(--iig-blue-500); }
.hl-card--milestone { --c: var(--orange-soft); }
.hl-card--event     { --c: var(--iig-navy-800); }

.hl-card__kind {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c, var(--iig-sky));
}
.hl-card__figure {
  font-family: var(--iig-font-head);
  font-weight: var(--iig-wt-head);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: var(--iig-track-head);
  color: var(--iig-navy-800);
  margin-top: 12px;
}
.hl-card__title { font-size: 15.5px; margin-top: 8px; }
/* fixed card height, so the blurb is clamped rather than allowed to overflow */
.hl-card__blurb {
  font-size: 13.5px; line-height: 1.6; color: #5a6b7e; margin-top: 9px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.hl-card__go { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--iig-blue-500); }
.hl-card__go .arr { transition: transform .15s ease; display: inline-block; }
.hl-card.is-active:hover .hl-card__go .arr { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .hl-card { transition: none; }
}

/* Under 1025px the fan cannot stay readable, so the ring flattens into the
   swipe rail the cards were built for. */
@media (max-width: 1024px) {
  .hl-ring {
    height: auto; --base: auto;
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 10px 0 14px; scrollbar-width: none;
  }
  .hl-ring::-webkit-scrollbar { display: none; }
  .hl-card {
    position: static; width: auto; height: auto; min-height: 250px;
    transform: none; opacity: 1; scroll-snap-align: start;
  }
  .hl-card:not(.is-active) { opacity: 1; cursor: default; }
  .hl-card__blurb { -webkit-line-clamp: 5; }
}
@media (max-width: 760px) {
  .hl-ring { grid-auto-columns: 86%; }
}

/* a ring of steps carries one colour: the colour would mean nothing here */
.hl-card--step { --c: var(--iig-sky); }
/* step cards have no link row, so they sit shorter than the agency highlights */
@media (min-width: 1025px) {
  .hl-ring--steps { height: calc(var(--base) * 0.92); }
  .hl-ring--steps .hl-card { height: calc(var(--base) * 0.8); }
}

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news__item {
  position: relative;            /* anchors the stretched link */
  display: flex; flex-direction: column; gap: 12px; cursor: pointer;
}
.news__thumb {
  height: 168px; border-radius: var(--r-md); position: relative; overflow: hidden;
  background: linear-gradient(140deg, #0A3F86, #4AA3E6);
  transition: transform .28s ease, box-shadow .28s ease;
}
.news__item:nth-child(3n+2) .news__thumb { background: linear-gradient(140deg, #E07C1E, #FAB136); }
.news__item:nth-child(3n) .news__thumb { background: linear-gradient(140deg, #192948, #0C4A8E); }
/* the story photo, framed in the CMS (cardFrame -> --fx/--fy/--fz); zoomed out
   below 100% it sits on navy rather than on the gradient placeholder */
.news__thumb:has(.news__photo),
.news-featured__thumb:has(.news__photo) { background: var(--iig-navy-800); }
.news__photo {
  position: absolute; inset: 0; pointer-events: none;
  background-repeat: no-repeat;
  background-position: var(--fx, 50%) var(--fy, 50%);
  background-size: cover;
}
.news__photo--fit { background-size: contain; }

/* Photo size, shared by spotlight and news cards. 100% is "cover": the photo
   just fills the card. Below that it zooms OUT inside the card — more of the
   photo shows, and navy appears only on the side where it no longer reaches;
   above 100% it zooms in. It never goes below "contain" (the whole photo just
   fits), so zooming out can't shrink the photo into a frame of navy on all
   sides. Both widths need the photo's own proportions (--r, width / height),
   which js/site.js measures once the photo has loaded; until then 1.5 stands
   in. Browsers without container units keep "cover". */
@supports (width: 1cqw) {
  .arc__item, .news__thumb, .news-featured__thumb { container-type: size; }
  .arc__img:not(.arc__img--fit), .news__photo:not(.news__photo--fit) {
    background-size: max(
      calc(var(--fz, 1) * max(100cqw, var(--r, 1.5) * 100cqh)),
      min(100cqw, var(--r, 1.5) * 100cqh)
    ) auto;
  }
}
.news__thumb::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 150px; height: 150px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), border-color .28s ease;
}
/* the sector carries its mandate's colour; the date stays neutral beside it */
.news__meta {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 12px; color: var(--iig-grey-500); letter-spacing: .04em; text-transform: uppercase;
}
.news__tag { font-weight: 700; }
.news__tag--invest { color: var(--iig-sky-strong); }
.news__tag--export { color: var(--orange); }
.news__tag--ppp    { color: var(--iig-navy-800); }
/* department logo in place of the word tag (news cards, featured story) */
.news__logo { height: 15px; width: auto; display: inline-block; align-self: center; }
.news__date::before { content: "\00B7"; margin-right: 6px; color: var(--iig-grey-500); }
.news__item h3 { font-size: 18px; transition: color .2s ease; }
.news__item .more { font-size: 13px; font-weight: 600; color: var(--iig-blue-500); display: inline-flex; gap: 7px; align-items: center; }
.news__item .more .arr { display: inline-block; transition: transform .2s ease; }
/* the whole card is the hit area */
.news__item .more::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-md); }

/* hover / keyboard feedback */
.news__item:hover .news__thumb,
.news__item:focus-within .news__thumb { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0,26,59,.22); }
.news__item:hover .news__thumb::after,
.news__item:focus-within .news__thumb::after { transform: translate(-16px, -16px) scale(1.12); border-color: rgba(255,255,255,.6); }
/* the ring belongs to the gradient placeholder; over a real photo it read as a
   stray crosshair, so cards with a photo don't draw it */
.news__thumb:has(.news__photo)::after { display: none; }
.news__item:hover h3,
.news__item:focus-within h3 { color: var(--iig-blue-500); }
.news__item:hover .more .arr,
.news__item:focus-within .more .arr { transform: translateX(5px); }
.news__item .more:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 4px; }

/* Home page: three stories, so they stay three across down to 860px instead
   of dropping to two columns with one left over; below that they stack. */
@media (min-width: 861px) {
  .news.news--home { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .news.news--home { grid-template-columns: 1fr; }
}
/* Department pages: the two latest stories for that department, side by side */
.news.news--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .news.news--pair { grid-template-columns: 1fr; }
}
/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-lg); background: linear-gradient(115deg, #000F22 0%, #003E8A 60%, #F08A24 160%);
  color: #fff; padding: 56px 48px; display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap;
}
.cta h2 { color: #fff; max-width: 18ch; }
.cta p { color: rgba(255,255,255,.8); margin-top: 14px; font-size: 15px; }


/* ---------- sign-up, at the head of the footer ----------
   One row: pick the mandates, leave an address. The fields stay light so they
   read as controls against the dark footer. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.footer__signup {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 34px; margin-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer__signup-copy { flex: 1 1 320px; max-width: 46ch; }
.footer__signup-copy h3 { color: #fff; font-size: 20px; }
.footer__signup-copy p { color: #8098b3; font-size: 13.5px; line-height: 1.6; margin-top: 7px; }
.footer__signup-copy a { color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.35); }
.footer__signup-copy a:hover { color: var(--iig-sky); border-bottom-color: var(--iig-sky); }

/* A grid, not a wrapping row: the three controls keep one line at any label
   length, the select and field share the space, and the button takes what its
   own words need — Georgian is a third longer than English and used to push
   the button onto a second row. */
.signup {
  flex: 1 1 460px; max-width: 620px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 10px; align-items: center;
}
.signup__picks { border: 0; padding: 0; margin: 0; position: relative; min-width: 0; }
.signup__email {
  min-width: 0; height: var(--ctl-h); padding: 0 16px;
  border-radius: var(--r-ctl);
  border: 1px solid var(--iig-line); background: #fff;
  color: var(--iig-ink-700); font: inherit; font-size: 14px;
}
.signup__email::placeholder { color: var(--iig-grey-500); }
.signup__email:focus { outline: 2px solid var(--iig-sky); outline-offset: 2px; border-color: transparent; }
.signup__email[aria-invalid="true"] { border-color: #FF8A80; }
.signup .btn { height: var(--ctl-h); padding: 0 22px; white-space: nowrap; }
.signup__msg { grid-column: 1 / -1; font-size: 13px; color: #FFB4AB; }
.signup__msg.is-ok { color: var(--iig-sky); }
@media (max-width: 760px) {
  .signup { grid-template-columns: 1fr; }   /* one control per row on a phone */
}

/* the multi-select: a field that opens a list of checkboxes */
.select__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: var(--ctl-h); padding: 0 16px; border-radius: var(--r-ctl);
  border: 1px solid var(--iig-line); background: #fff;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--iig-navy-800);
  text-align: left; cursor: pointer;
  transition: border-color .15s ease;
}
.select__btn:hover { border-color: var(--iig-sky); }
.select__btn:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 2px; }
.select__btn.is-empty { color: var(--iig-grey-500); font-weight: 400; }
.select__btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__chev { width: 18px; height: 18px; flex: 0 0 auto; color: var(--iig-grey-500); transition: transform .18s ease; }
.select__btn[aria-expanded="true"] { border-color: var(--iig-sky); }
.select__btn[aria-expanded="true"] .select__chev { transform: rotate(180deg); }

.select__menu {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(100% + 6px);
  background: #fff; border: 1px solid var(--iig-line); border-radius: var(--r-ctl);
  box-shadow: 0 16px 34px rgba(0,15,34,.4);
  padding: 6px; display: grid; gap: 2px;
}
.select__menu[hidden] { display: none; }   /* a class display beats the UA [hidden] rule */
.opt {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 12px; border-radius: 12px;
  font-size: 14px; color: var(--iig-ink-700);
  transition: background .12s ease;
}
.opt:hover { background: #F2F7FC; }
.opt input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: 0 0 auto;
  width: 16px; height: 16px; border-radius: 5px;
  border: 1px solid var(--iig-line); background: #fff;
  display: grid; place-content: center;
}
.opt input::after {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: #fff; transform: scale(0); transition: transform .12s ease;
}
.opt input:checked { background: var(--iig-blue-500); border-color: var(--iig-blue-500); }
.opt input:checked::after { transform: scale(1); }
.opt input:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 2px; }

/* ---------- footer ----------
   Brand block on the left, four link columns for the three mandates plus the
   agency itself, then a legal strip carrying the Ministry crest. */
.footer {
  background: var(--iig-ink); color: #fff;
  margin-top: var(--section-pad); padding: 40px 0 0; font-size: 14px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px; padding-bottom: 32px;
}
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { color: #8098b3; font-size: 13.5px; line-height: 1.7; margin-top: 14px; max-width: 34ch; }
/* ch is measured from the font's "0", so 34ch is far short of 34 Georgian
   letters and the agency name broke across two lines. */
html[lang="ka"] .footer__brand p { max-width: 46ch; }
.footer__brand .footer__addr { margin-top: 2px; }

.footer h4 {
  color: var(--iig-sky); font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px;
}
.footer h4:empty { display: none; }   /* plain columns of links, no heading */
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.88); font-size: 14px; transition: color .15s ease; }
.footer ul a:hover { color: var(--iig-sky); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.footer__legal { display: flex; align-items: center; gap: 18px; }
.footer__legal img { height: 38px; width: auto; opacity: .9; flex: 0 0 auto; }
.footer__legal p { color: #6d84a0; font-size: 12.5px; line-height: 1.6; max-width: 62ch; }
.footer__policies { display: flex; gap: 26px; font-size: 12.5px; }
.footer__policies a { color: #8098b3; }
.footer__policies a:hover { color: var(--iig-sky); }
/* comment markers only (no links enabled) count as empty, so this collapses
   away rather than leaving a gap in the footer row */
.footer__social:empty { display: none; }
.footer__social { display: flex; gap: 10px; align-items: center; }
.footer__social-link {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #8098b3;
  transition: background .15s ease, color .15s ease;
}
.footer__social-link:hover { background: var(--iig-sky); color: var(--iig-navy-800); }

/* ---------- subpage header ---------- */
.pagehead { background: var(--iig-navy-800); color: #fff; border-bottom: 3px solid var(--iig-blue-500); padding: 22px 0 40px; }
.pagehead h1 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); font-weight: var(--iig-wt-head); margin-top: 24px; }
.pagehead p { color: rgba(255,255,255,.78); max-width: 62ch; margin-top: 12px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
/* Below this width the notch geometry cannot hold the copy and the cards side by
   side, so the card row leaves the plate and tucks under it instead. */
@media (max-width: 1200px) {
  .hero__stage { --drop: 0px; --band: 0px; }
  .hero__frame { min-height: 510px; padding: 24px 30px 34px; }
  .hero__cards {
    position: static; width: 100%;
    margin-top: 16px; padding: 0;   /* below the frame, on the page, now that the cards are light */
    background: transparent; border-top-left-radius: 0;
  }
  .hero__cards::before, .hero__cards::after { display: none; }
  .hero__cta { position: static; align-self: flex-start; margin-top: 26px; }
  .hero__body { max-width: 100%; }
  .hero { padding-bottom: 34px; }
  /* held to three balanced lines once the copy is no longer beside the notch */
  .hero__sub { max-width: min(25rem, 100%); text-wrap: balance; }
  html[lang="ka"] .hero__sub { font-size: 15px; }
}
@media (max-width: 1100px) {
  .hero__notch::after { width: 80px; }   /* keeps the curve clear of the menu */
  .hero__frame .nav__links { gap: 14px; }
  .hero__frame .nav__links > a { font-size: 12.5px; letter-spacing: .08em; }
  html[lang="ka"] .hero .hero__title { max-width: 9em; }
  .why, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .mandates, .sectors, .news, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --section-pad: 18px; }
  :root { --gutter: 18px; }
  .hero__frame { min-height: 460px; padding: 20px 22px 30px; }
  .hero__notch { padding: 4px 18px 16px 0; }
  .hero__notch::after { width: 70px; }
  .hero .hero__title { font-size: 24px; }
  html[lang="ka"] .hero .hero__title { font-size: 18px; max-width: 9em; }
  /* the row becomes a dropdown column, language first with the rule beneath it */
  .nav__links { position: absolute; top: 60px; right: 22px; background: rgba(0,15,34,.94);
    padding: 16px 20px; border-radius: var(--r-md); gap: 12px; display: none; z-index: 20;
    flex-direction: column; align-items: flex-start; }
  .nav__links.is-open { display: flex; }
  .nav__lang { order: -1; align-self: flex-start;
    margin-bottom: 8px; padding: 0 0 9px; border-left: 0;
    border-bottom: 1px solid rgba(255,255,255,.22); }
  .nav__toggle { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--r-ctl); padding: 9px 16px; font-size: 13px; cursor: pointer; }
  .hero__cards { grid-template-columns: 1fr; margin-top: 14px; }
  .hero__badge { display: none; }
  .hero__cta { margin-top: 22px; }
  .stats { padding: 36px 22px; }
}
@media (max-width: 620px) {
  .mandates, .sectors, .news, .steps, .why, .stats__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .topbar__links { display: none; }
  .hero__sub { font-size: 16px; }
  html[lang="ka"] .hero__sub { font-size: 14px; }
  .cta { padding: 36px 24px; }
}

/* ---------- news page additions ---------- */
.news-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.news-filters {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
/* One flat control, the same one the pager below this grid uses: white on the
   page, navy when selected. These were the only elements on the site built
   from gradients, coloured glows, inner white rims and a hover lift — four
   different treatments in a row, on a site where navy leads and sky is the
   single accent. Category colour still reads on each card's own tag, which is
   where it identifies something rather than decorating a button. */
.news-filter {
  height: 42px; padding: 0 22px; border-radius: var(--r-ctl, 14px);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center;
  border: 1px solid var(--iig-line); background: #fff; color: var(--iig-navy-800);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.news-filter:hover { border-color: var(--iig-blue-500); color: var(--iig-blue-500); }
.news-filter.is-active {
  background: var(--iig-navy-800); border-color: var(--iig-navy-800); color: #fff;
}
.news-controls {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.news-search-box {
  position: relative; display: flex; align-items: center;
}
.news-search-box svg {
  position: absolute; left: 14px; width: 16px; height: 16px; color: #8898aa; pointer-events: none;
}
.news-search-input {
  height: 42px; border: 1px solid var(--iig-line); border-radius: 14px;
  padding: 0 16px 0 38px; font-family: inherit; font-size: 13.5px;
  background: #fff; color: var(--iig-ink-700); min-width: 240px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.news-search-input:focus {
  outline: none; border-color: var(--iig-blue-500); box-shadow: 0 0 0 3px rgba(10,63,134,.12);
}
.news-date-select {
  height: 42px; border: 1px solid var(--iig-line); border-radius: 14px;
  padding: 0 40px 0 16px; font-family: inherit; font-size: 13.5px;
  /* own chevron, inset 16px like the text, instead of the browser's edge arrow */
  -webkit-appearance: none; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23192948' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px 14px;
  color: var(--iig-ink-700); cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.news-date-select:focus {
  outline: none; border-color: var(--iig-blue-500); box-shadow: 0 0 0 3px rgba(10,63,134,.12);
}

.news-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
  background: #fff; border: 1px solid var(--iig-line); border-radius: 18px;
  padding: 24px; margin-bottom: 48px; align-items: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.news-featured:hover { border-color: var(--iig-sky); box-shadow: 0 16px 36px rgba(0,26,59,.08); }
.news-featured__thumb {
  height: 320px; border-radius: 14px;
  background: linear-gradient(135deg, #0A3F86, #192948) center/cover no-repeat;
  position: relative; overflow: hidden;
}
.news-featured__body { display: flex; flex-direction: column; gap: 14px; }
.news-featured__body h2 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; }

/* pagination */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 48px; flex-wrap: wrap;
}
/* the gap between windowed page numbers */
.page-gap {
  min-width: 20px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--iig-grey-500); font-weight: 600; user-select: none;
}
.page-btn {
  min-width: 42px; height: 42px; border: 1px solid var(--iig-line);
  border-radius: 14px; background: #fff; color: var(--iig-navy-800);
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all .18s ease; padding: 0 14px;
}
.page-btn:hover { border-color: var(--iig-blue-500); color: var(--iig-blue-500); }
.page-btn.is-active { background: var(--iig-navy-800); color: #fff; border-color: var(--iig-navy-800); }
.page-btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

.news-empty-msg {
  text-align: center; padding: 60px 20px; color: #5a6b7e; font-size: 16px;
  background: var(--iig-panel-warm); border-radius: 18px; border: 1px dashed var(--iig-line);
  grid-column: 1 / -1;
}

.news-press-banner {
  background: var(--iig-panel-warm); border-radius: 18px; border: 1px solid var(--iig-line);
  padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 56px;
}
.news-press-banner__copy h3 { font-size: 20px; margin-bottom: 8px; }
.news-press-banner__copy p { color: #5a6b7e; font-size: 14px; max-width: 50ch; }

@media (max-width: 860px) {
  .news-toolbar { flex-direction: column; align-items: stretch; }
  .news-controls { flex-direction: column; align-items: stretch; }
  .news-search-input { width: 100%; min-width: 0; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured__thumb { height: 220px; }
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: stretch;
}
.contact-form-card {
  background: #fff; border: 1px solid var(--iig-line); border-radius: var(--r-lg);
  padding: 36px; box-shadow: 0 4px 20px rgba(0,26,59,.04);
  display: flex; flex-direction: column;
}
.contact-form-card form {
  display: flex; flex-direction: column; flex: 1;
}
.contact-form-card h2 { font-size: 24px; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-group--msg {
  display: flex; flex-direction: column; flex: 1; margin-bottom: 0;
}
.form-group--msg .form-textarea {
  flex: 1; min-height: 180px; height: 100%;
}
.form-group label { font-size: 13px; font-weight: 600; color: var(--iig-navy-800); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input, .form-select, .form-textarea {
  width: 100%; height: var(--ctl-h); border: 1px solid var(--iig-line);
  border-radius: var(--r-ctl); padding: 0 16px; font-family: inherit; font-size: 14px;
  background: #fff; color: var(--iig-ink-700); transition: border-color .18s ease, box-shadow .18s ease;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--iig-blue-500); box-shadow: 0 0 0 3px rgba(10,63,134,.12);
}
.form-textarea { height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.form-msg {
  margin-top: 16px; font-size: 13.5px; padding: 12px 16px; border-radius: var(--r-md);
  background: #eef7ee; color: #236323; border: 1px solid #c2e2c2;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--iig-line); border-radius: var(--r-md);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.contact-card--map {
  background: #f4f5f7;
  border: 1px solid #e2e8f0;
  gap: 14px;
  flex: 1;   /* takes the column's spare height so both columns end level */
}
.contact-map-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-map-title {
  font-size: 18px;
  font-weight: 700;
  color: #0b1f3a;
  margin: 0;
  line-height: 1.3;
}
.contact-map-addr {
  font-size: 14px;
  color: #334155;
  margin: 2px 0 4px;
  line-height: 1.4;
}
.contact-map-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-map-link {
  font-size: 14px;
  color: #0066cc;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}
.contact-map-link:hover {
  color: #004999;
  text-decoration: underline;
}
.contact-map-frame {
  width: 100%;
  flex: 1; min-height: 270px;   /* the map grows with the card */
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-action {
  margin-top: 2px;
}
.contact-map-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  transition: color 0.15s ease;
}
.contact-map-directions:hover {
  color: #004999;
  text-decoration: underline;
}
.contact-map-directions .arr {
  display: inline-block;
  transition: transform 0.2s ease;
}
.contact-map-directions:hover .arr {
  transform: translateX(4px);
}
.contact-card h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.contact-card h3 svg { color: var(--iig-blue-500); }
.contact-item { display: flex; gap: 12px; font-size: 13.5px; color: #4a5a6d; line-height: 1.55; }
.contact-item svg { flex: 0 0 18px; height: 18px; margin-top: 3px; color: var(--iig-blue-500); }
.contact-item a { color: var(--iig-blue-500); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.dept-grid { display: grid; gap: 12px; font-size: 13px; }
.dept-row {
  display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,26,59,.06);
}
.dept-row:last-child { border-bottom: none; padding-bottom: 0; }
.dept-name { font-weight: 600; color: var(--iig-navy-800); }
.hours-badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(104,188,233,.14);
  color: var(--iig-navy-800); font-size: 12.5px; font-weight: 600; padding: 6px 12px;
  border-radius: var(--r-ctl);
}
.hours-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #28a745; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; }
}

/* ── Article Detail View ───────────────────────────────────────── */
.article-shell { max-width: 860px; margin: 0 auto; padding: 40px 24px 24px; }
/* The footer's own 88px top margin is set for pages that end on a full-bleed
   section. An article ends on the back/share row, which already carries 48px
   of its own space above it, so the two stacked up to 168px of blank page.
   (~ rather than +: the lightbox div sits between them in the markup.) */
.article-shell ~ .footer { margin-top: 32px; }
.article-breadcrumbs { margin-bottom: 24px; font-size: 13.5px; color: var(--iig-grey-500); }
.article-breadcrumbs a { color: var(--iig-blue-500); text-decoration: none; }
.article-breadcrumbs a:hover { text-decoration: underline; }

.article-header { margin-bottom: 32px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.article-tag {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px;
}
.article-tag--invest { background: #EBF3FA; color: #0C4A7A; }
.article-tag--export { background: #FBF0E4; color: #8A4B08; }
.article-tag--ppp { background: #E9F6F0; color: #10663C; }
.article-tag--agency { background: #F0EDF8; color: #4F378B; }

.article-date, .article-readtime { font-size: 13.5px; color: var(--iig-grey-500); }
/* the separator after the date is in the markup (article.html) */

.article-title {
  font-size: clamp(28px, 4vw, 42px); line-height: 1.2; font-weight: var(--iig-wt-head);
  color: var(--iig-navy-800); margin: 0 0 16px; letter-spacing: var(--iig-track-head);
}
.article-lede {
  font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: #3b4d61; margin: 0; font-weight: 400;
}

.article-hero { margin-bottom: 40px; }
.article-hero__img {
  width: 100%; max-height: 520px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,26,59,.08); display: block; background: #e2e8f0;
}
.article-hero__caption {
  font-size: 13px; color: var(--iig-grey-500); margin-top: 10px; font-style: italic;
}

.article-body {
  font-size: 17px; line-height: 1.75; color: #1e293b; margin-bottom: 48px;
}
.article-body p { margin: 0 0 20px; }
.article-body h2 { font-size: 26px; color: var(--iig-navy-800); margin: 36px 0 16px; font-weight: var(--iig-wt-head); }
.article-body h3 { font-size: 20px; color: var(--iig-navy-800); margin: 28px 0 12px; font-weight: var(--iig-wt-head); }
.article-body blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 4px solid var(--iig-sky, #68BCE9);
  background: #f8fafc; border-radius: 0 12px 12px 0; font-size: 18px; font-style: italic; color: #334155; line-height: 1.6;
}
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 28px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: #0066cc; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: #004999; }
.article-body strong { font-weight: 700; color: #0f172a; }

/* ── Gallery ───────────────────────────────────────────────────── */
.article-gallery-section { margin: 48px 0; }
.article-gallery-title { font-family: var(--iig-font-head); font-size: 20px; color: var(--iig-navy-800); margin-bottom: 16px; font-weight: var(--iig-wt-head); }
.article-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px;
}
.article-gallery__thumb {
  aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: #e2e8f0; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-gallery__thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.article-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-gallery__thumb .gallery-zoom-ic {
  position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; display: grid; place-items: center; opacity: 0;
  transition: opacity .2s ease;
}
.article-gallery__thumb:hover .gallery-zoom-ic { opacity: 1; }
.article-gallery__thumb .gallery-zoom-ic svg { width: 14px; height: 14px; }

/* Lightbox Modal */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,15,34,.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox__caption { color: #fff; margin-top: 14px; font-size: 14px; text-align: center; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.15);
  border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 20px; transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.3); }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: 0; color: #fff; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.3); }

/* ── Video Embed ───────────────────────────────────────────────── */
.article-video-wrap { margin: 40px 0; }
.article-video-title { font-family: var(--iig-font-head); font-size: 20px; color: var(--iig-navy-800); margin-bottom: 14px; font-weight: var(--iig-wt-head); }
.article-video {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.1); background: #000;
}
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Social Posts & Embeds ─────────────────────────────────────── */
/* The story's social links sit in the footer bar between "Back to all
   stories" and "Share story", so they need no section or heading of their own.
   Equal columns so "X" is the same width as "Facebook" — the row reads as a
   set rather than three differently sized buttons, however many there are. */
.article-social-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px;
}
.article-social-grid[hidden] { display: none; }
/* Three saturated platform colours side by side shouted over the page and
   broke the rule that navy leads and sky is the one accent. The button now
   sits in the site's own palette and only the glyph keeps its brand colour,
   which is all that is needed to recognise the platform. */
.article-social-btn {
  /* the site gives every control one radius and one height so a row of them
     lines up — a stadium pill here broke step with every other button */
  /* padding trimmed from 18px: all four platforms plus both end buttons have
     to share one row, and at 18px the fourth one wrapped */
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px;
  height: var(--ctl-h, 48px); border-radius: var(--r-ctl, 14px);
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: #fff; color: var(--iig-navy-800, #192948);
  border: 1px solid var(--iig-line, #DDD);
  transition: border-color .15s ease, background .15s ease;
}
.article-social-btn:hover { background: #F4F7FA; border-color: var(--iig-sky, #68BCE9); }
.article-social-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.article-social-btn--linkedin svg { fill: #0A66C2; }
.article-social-btn--facebook svg { fill: #1877F2; }
.article-social-btn--youtube svg { fill: #FF0000; }
.article-social-btn--twitter svg { fill: #0F1419; }
.article-social-btn--tiktok svg { fill: #000000; }

/* ── CTA Banner ────────────────────────────────────────────────── */
.article-cta {
  margin: 48px 0; padding: 32px 36px; border-radius: 16px; background: #001A3B; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
/* the copy takes the room that is left so the button can sit beside it
   rather than being pushed onto its own line while the row is half empty */
.article-cta__text { flex: 1 1 260px; min-width: 0; }
.article-cta__text h3 { color: #fff; font-size: 22px; margin: 0; font-weight: var(--iig-wt-head); }
.article-cta .btn { flex: 0 0 auto; white-space: nowrap; }
/* white on orange is about 2.3:1 — dark navy on the same orange is ~7.5:1 */
.article-cta .btn--orange { color: #0B1B33; }

/* ── Share / Back Bar ──────────────────────────────────────────── */
.article-footer-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--iig-line, #DDD);
}
/* the two end buttons run on trimmed padding for the same reason the platform
   buttons do — the row has to hold up to four of those between them */
.article-footer-nav > .btn { padding: 0 14px; height: var(--ctl-h, 48px); }
/* once the bar is too narrow to hold everything on one line the platform
   buttons drop to their own row and stack two-up, rather than each one
   squeezing its label */
@media (max-width: 620px) {
  .article-social-grid {
    grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%;
  }
  .article-footer-nav .article-social-grid { flex: 1 0 100%; }
}
/* the social links take the middle of the bar — space-between centres them
   between the two buttons. They must not grow, or they push Share story onto
   a second line. When a story has none, the element is hidden and the two
   buttons fall back to sitting at each end. */
.article-footer-nav .article-social-grid { flex: 0 1 auto; justify-content: center; }
/* .btn--ghost is drawn for the dark hero — white text on a transparent fill.
   On this white page both buttons were invisible, so the bar gets its own
   light-surface version. */
.article-footer-nav .btn--ghost {
  background: #fff; border-color: var(--iig-line, #DDD); color: var(--iig-navy-800);
}
.article-footer-nav .btn--ghost:hover { background: #F4F7FA; border-color: var(--iig-sky, #68BCE9); }

/* ==========================================================================
   DIGITAL CONTACT CARDS (Editorial Architectural Card Aesthetic)
   ========================================================================== */
/* This is a contact card: reaching the phone number should never take a
   scroll, at any width. The vertical rhythm below is tightened to that end —
   nothing is removed and no type is shrunk. */
.vcard-page {
  min-height: 100vh;
  margin: 0;
  padding: 14px 16px 14px;
  box-sizing: border-box;
  background-color: #060A10;
  background-image: radial-gradient(circle at 50% 0%, #0E1B2C 0%, #060A10 75%);
  background-attachment: fixed;
  font-family: var(--iig-font, 'FiraGO', 'Fira Sans', 'Noto Sans Georgian', sans-serif);
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-font-smoothing: antialiased;
}

/* ── Solid Signature Dark Blue Card Slab ────────────────────────────── */
.vcard-shell-outer {
  position: relative;
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.85)) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}

/* Corner QR Button in top-right flowing cradle cutout */
.vcard-cutoff-qr-btn {
  position: absolute;
  top: 11px;
  right: 11px;
  left: auto;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #FFFFFF;
  color: #00142D;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 20;
  transition: all .18s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0;
}
.vcard-cutoff-qr-btn:hover {
  transform: scale(1.06) translateY(-1px);
  background: #F0F4F8;
  color: #00142D;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.vcard-cutoff-qr-btn:active {
  transform: scale(0.95);
}
.vcard-cutoff-qr-btn svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

/* ── Solid Dark Blue Card Slab with Top-Right Flowing Cutout (No Light Blue Border) ── */
.vcard-shell {
  width: 100%;
  background-color: #00142D;
  padding: 16px 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #FFFFFF;
  clip-path: polygon(
    /* Top-Left smooth rounded corner (R=26px) */
    26px 0%,
    /* Top edge across to top-right flowing cradle cutout */
    calc(100% - 82px) 0%,
    /* Concave flow curve into right cradle */
    calc(100% - 73px) 2.4px,
    calc(100% - 66.4px) 9px,
    calc(100% - 64px) 18px,
    /* Cradle vertical edge alongside QR button */
    calc(100% - 64px) 44px,
    /* Soft rounded corner wrapping around QR button */
    calc(100% - 62.5px) 51.7px,
    calc(100% - 58.1px) 58.1px,
    calc(100% - 51.7px) 62.5px,
    calc(100% - 44px) 64px,
    /* Cradle shelf beneath QR button */
    calc(100% - 18px) 64px,
    /* Concave flow curve out to right edge */
    calc(100% - 9px) 66.4px,
    calc(100% - 2.4px) 73px,
    100% 82px,
    /* Right edge down to bottom-right rounded corner */
    100% calc(100% - 26px),
    calc(100% - 1.9px) calc(100% - 16px),
    calc(100% - 7.6px) calc(100% - 7.6px),
    calc(100% - 16px) calc(100% - 1.9px),
    calc(100% - 26px) 100%,
    /* Bottom edge to bottom-left rounded corner (R=26px) */
    26px 100%,
    16px calc(100% - 1.9px),
    7.6px calc(100% - 7.6px),
    1.9px calc(100% - 16px),
    0% calc(100% - 26px),
    /* Left edge up to top-left rounded corner */
    0% 26px,
    1.9px 16px,
    7.6px 7.6px,
    16px 1.9px
  );
}

.vcard-shell > * {
  position: relative;
  z-index: 2;
}

/* ── Top Brand & Controls Bar ───────────────────────────────────────── */
.vcard-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
  gap: 14px;
  padding-right: 56px;
}

.vcard-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vcard-brand {
  display: flex;
  align-items: center;
}
.vcard-brand img.vcard-brand__logo {
  height: 26px;
  width: auto;
  display: block;
}

/* Language Toggle Pill */
.vcard-lang-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2px;
  gap: 2px;
}
.vcard-lang-toggle button {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--iig-font);
}
.vcard-lang-toggle button:hover {
  background: rgba(255, 255, 255, 0.15);
}
/* the active pill turns white, so its label has to leave white with it —
   it was inheriting #FFFFFF from the rule above and rendering invisible */
.vcard-lang-toggle button.is-on {
  background: #FFFFFF;
  color: #00142D;
}
.vcard-lang-toggle button.is-on:hover {
  background: #FFFFFF;
}


/* ── Chamfered Hero Profile Space (Solid Dark Midnight Slab) ────── */
/* The shell's clip-path cuts a cradle out of the top-right for the QR button
   and does not reach full width again until 82px down. The frame starts below
   that, or its top-right corner is sliced off by the cutout. */
.vcard-hero-area {
  position: relative;
  margin: 26px 0 14px;
  width: 100%;
}

.vcard-hero-frame {
  position: relative;
  width: 100%;
  border-radius: 20px;
  background-color: #000B17;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px 16px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-sizing: border-box;
}
/* The photograph sits on the RIGHT of the panel; the scrim runs left to
   right rather than bottom up, so the name has a solid dark field of its own
   and the portrait is left uncovered. */
.vcard-hero-frame.has-photo {
  min-height: 210px;
  background-position: right center;
}
.vcard-hero-frame.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 11, 23, .97) 0%, rgba(0, 11, 23, .92) 38%, rgba(0, 11, 23, .55) 62%, rgba(0, 11, 23, 0) 88%);
  pointer-events: none;
}
.vcard-hero-frame > * { position: relative; z-index: 1; }

/* No photograph: the initials stand in for one, on the right where the
   portrait would be, so they never sit on top of the name. */
.vcard-hero-initials {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
}
.vcard-hero-frame:not(.has-photo) { min-height: 210px; }
/* with a photo there are no initials to place, and the text may use the width */
.vcard-hero-frame.has-photo .vcard-hero-initials { display: none; }
.vcard-hero-frame:not(.has-photo) .vcard-hero-identity { max-width: 62%; }
/* the text keeps to the dark half so it never runs over the face */
.vcard-hero-frame.has-photo .vcard-hero-identity { max-width: 62%; }

.vcard-hero-identity {
  margin-bottom: 2px;
  text-align: left;
}

.vcard-name {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin: 0 0 6px;
  word-break: break-word;
}

.vcard-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  margin: 0 0 5px;
}

/* Department sits between the job title and the organisation — it was being
   read from the record but had nowhere to go on the page. */
.vcard-dept {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  margin: 0 0 5px;
}

.vcard-org-beneath {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  margin: 0 0 4px;
}

/* ── 4 Quick Action Circles (Buttons in Solid White) ───────────────── */
/* The row holds whichever actions this person actually has — four when there
   is no LinkedIn, five when there is — so the columns are counted from the
   items present rather than fixed at four. */
.vcard-actions {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.vcard-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  /* Save is a <button> among <a>s, and a button does not inherit the page
     font — without this its label rendered in the browser default */
  font: inherit;
  transition: transform .15s ease;
}
.vcard-action-item:hover {
  transform: translateY(-2px);
}
.vcard-action-item:active {
  transform: scale(0.96);
}

.vcard-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00142D;
  transition: all .15s ease;
}
.vcard-action-item:hover .vcard-action-btn {
  background: #F0F4F8;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.vcard-action-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Meeting Action Accent Button */
.vcard-action-btn--meeting {
  border: none;
}

.vcard-action-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-align: center;
}

/* ── Solid Grouped Detail Cards (Segments in Solid White) ──────────── */
.vcard-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.vcard-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 4px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: none;
  transition: transform .15s ease;
  color: #00142D;
}

/* Collapsible Card */
.vcard-card--collapsible {
  padding: 0;
  overflow: hidden;
}

.vcard-collapse-toggle {
  width: 100%;
  background: none;
  border: none;
  color: #00142D;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background .15s ease;
  box-sizing: border-box;
}
.vcard-collapse-toggle:hover {
  background: rgba(0, 20, 45, 0.04);
}
.vcard-collapse-toggle__left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.vcard-collapse-icon {
  width: 16px;
  height: 16px;
  fill: #00142D;
  flex-shrink: 0;
}
.vcard-collapse-toggle__title {
  font-size: 13.5px;
  font-weight: 800;
  color: #00142D;
  letter-spacing: 0.01em;
}
.vcard-collapse-chevron {
  width: 18px;
  height: 18px;
  fill: #00142D;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.vcard-collapse-toggle.is-expanded .vcard-collapse-chevron {
  transform: rotate(180deg);
}

.vcard-collapse-content {
  padding: 2px 18px 8px;
  border-top: 1px solid rgba(0, 20, 45, 0.08);
}

.vcard-row {
  display: block;
  padding: 9px 6px;
  margin: 2px 0;
  border-radius: 10px;
  text-decoration: none;
  color: #00142D;
  border-bottom: 1px solid rgba(0, 20, 45, 0.08);
  transition: background .15s ease;
  position: relative;
}
.vcard-row:last-child {
  border-bottom: none;
}
.vcard-row[href]:hover {
  background: rgba(0, 20, 45, 0.04);
}

.vcard-row__label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #486581;
  margin-bottom: 2px;
}

.vcard-row__val {
  font-size: 14.5px;
  font-weight: 700;
  color: #00142D;
  word-break: break-word;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vcard-row__right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Solid Copy Button */
.vcard-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  background: #F0F4F8;
  border: 1px solid #D9E2EC;
  color: #00142D;
  cursor: pointer;
  transition: all .15s ease;
  outline: none;
  flex-shrink: 0;
}
.vcard-copy-btn:hover {
  background: #00142D;
  border-color: #00142D;
  color: #FFFFFF;
  transform: scale(1.1);
}
.vcard-copy-btn:active {
  transform: scale(0.94);
}
.vcard-copy-btn__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.vcard-copy-btn__icon--check {
  display: none;
  fill: #34D399;
}
.vcard-copy-btn.is-copied {
  background: #00142D;
  border-color: #00142D;
  color: #34D399;
}
.vcard-copy-btn.is-copied .vcard-copy-btn__icon--copy {
  display: none;
}
.vcard-copy-btn.is-copied .vcard-copy-btn__icon--check {
  display: block;
}

.vcard-row__chevron {
  width: 15px;
  height: 15px;
  fill: #00142D;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.vcard-row[href]:hover .vcard-row__chevron {
  transform: translateX(3px);
}

/* ── Social Card ───────────────────────────────────────────────────── */
.vcard-card-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #486581;
  padding: 12px 6px 6px;
}

.vcard-card--social {
  padding: 4px 18px 8px;
}

.vcard-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  padding: 4px 0 12px;
}

.vcard-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 10px;
  border-radius: 12px;
  background: #F0F4F8;
  border: 1px solid #D9E2EC;
  color: #00142D;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: all .15s ease;
}
.vcard-social-btn:hover {
  background: #00142D;
  color: #FFFFFF;
  border-color: #00142D;
  transform: translateY(-1px);
}
.vcard-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Primary Action CTAs ───────────────────────────────────────────── */
.vcard-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

/* Save to Contacts Button: Solid White */
.vcard-save-btn {
  background: #FFFFFF;
  color: #00142D;
  border: none;
  border-radius: 16px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all .15s ease;
  text-decoration: none;
  font-family: var(--iig-font);
}
.vcard-save-btn:hover {
  background: #F4F6F9;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.vcard-save-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Show QR & Share Button: Solid White */
.vcard-share-btn {
  background: #FFFFFF;
  color: #00142D;
  border: none;
  border-radius: 16px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all .15s ease;
  font-family: var(--iig-font);
}
.vcard-share-btn:hover {
  background: #F4F6F9;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.vcard-share-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ── Responsive Refinements ────────────────────────────────────────── */
@media (max-width: 480px) {
  .vcard-page {
    padding: 12px 10px 36px;
  }
  .vcard-shell-outer {
    max-width: 100%;
  }
  .vcard-shell {
    padding: 20px 16px 22px;
    clip-path: polygon(
      /* Top-Left smooth rounded corner (R=20px) */
      20px 0%,
      /* Top edge across to top-right flowing cradle cutout */
      calc(100% - 69px) 0%,
      /* Concave flow curve into right cradle */
      calc(100% - 61.5px) 2px,
      calc(100% - 56px) 7.5px,
      calc(100% - 54px) 15px,
      /* Cradle vertical edge alongside QR button */
      calc(100% - 54px) 38px,
      /* Soft rounded corner wrapping around QR button */
      calc(100% - 52.8px) 44.1px,
      calc(100% - 49.3px) 49.3px,
      calc(100% - 44.1px) 52.8px,
      calc(100% - 38px) 54px,
      /* Cradle shelf beneath QR button */
      calc(100% - 15px) 54px,
      /* Concave flow curve out to right edge */
      calc(100% - 7.5px) 56px,
      calc(100% - 2px) 61.5px,
      100% 69px,
      /* Right edge down to bottom-right rounded corner */
      100% calc(100% - 20px),
      calc(100% - 1.5px) calc(100% - 12.3px),
      calc(100% - 5.9px) calc(100% - 5.9px),
      calc(100% - 12.3px) calc(100% - 1.5px),
      calc(100% - 20px) 100%,
      /* Bottom edge to bottom-left rounded corner (R=20px) */
      20px 100%,
      12.3px calc(100% - 1.5px),
      5.9px calc(100% - 5.9px),
      1.5px calc(100% - 12.3px),
      0% calc(100% - 20px),
      /* Left edge up to top-left rounded corner */
      0% 20px,
      1.5px 12.3px,
      5.9px 5.9px,
      12.3px 1.5px
    );
  }
  .vcard-cutoff-qr-btn {
    top: 9px;
    right: 9px;
    left: auto;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #FFFFFF;
    color: #00142D;
  }
  .vcard-cutoff-qr-btn svg {
    width: 18px;
    height: 18px;
  }
  .vcard-top-bar {
    padding-left: 0;
    padding-right: 46px;
    gap: 8px;
  }
  .vcard-brand img.vcard-brand__logo {
    height: 22px;
  }
  .vcard-name {
    font-size: 23px;
  }
  .vcard-hero-frame {
    padding: 18px 16px 16px 16px;
    border-radius: 18px;
  }
  .vcard-action-btn {
    width: 48px;
    height: 48px;
  }

  /* ── Fit the whole card on one phone screen ──────────────────────
     This is a contact card: reaching the phone number should not take a
     scroll. At 375×812 the card ran 184px past the fold, so the vertical
     rhythm is tightened here — nothing is removed and no type drops below
     the sizes used elsewhere on the card. */
  .vcard-page { padding: 8px 10px 10px; }
  .vcard-shell { padding: 14px 14px 16px; }

  .vcard-top-bar { margin-bottom: 12px; }
  .vcard-hero-area { margin-bottom: 12px; }
  .vcard-actions { margin-bottom: 12px; gap: 8px; }
  .vcard-cards { margin-bottom: 0; gap: 8px; }

  .vcard-hero-frame { padding: 14px 14px 12px; }

  .vcard-action-item { gap: 5px; }
  .vcard-action-btn { width: 44px; height: 44px; }

  .vcard-card { padding: 2px 16px; }
  .vcard-row { padding: 8px 6px; margin: 1px 0; }

}

/* ── Modal (QR Code & Share) ───────────────────────────────────────── */
.vcard-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.vcard-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vcard-modal {
  background: #ffffff;
  color: #001A3B;
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
  transform: translateY(14px) scale(0.96);
  transition: transform .2s cubic-bezier(0.2,0.8,0.2,1);
}
.vcard-modal-backdrop.is-open .vcard-modal {
  transform: translateY(0) scale(1);
}

.vcard-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f0f2f5;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.vcard-modal__close:hover {
  background: #e2e5ea;
  color: #000;
}

.vcard-modal__qr-wrap {
  width: 220px;
  height: 220px;
  margin: 14px auto 18px;
  padding: 12px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e5e8ec;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vcard-modal__qr-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vcard-modal__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #001A3B;
}

.vcard-modal__desc {
  font-size: 13.5px;
  color: #556987;
  margin: 0 0 18px;
  line-height: 1.4;
}

.vcard-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.vcard-modal__action-btn {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
  font-family: inherit;
  box-sizing: border-box;
}
.vcard-modal__action-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.vcard-modal__action-btn--primary {
  background: #001A3B;
  color: #ffffff;
}
.vcard-modal__action-btn--primary:hover {
  background: #002d64;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 26, 59, 0.25);
}
.vcard-modal__action-btn--primary:active {
  transform: scale(0.98);
}
.vcard-modal__action-btn--secondary {
  background: #f0f2f7;
  color: #001A3B;
  border-color: #e0e4eb;
}
.vcard-modal__action-btn--secondary:hover {
  background: #e4e8f0;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.vcard-modal__action-btn--secondary:active {
  transform: scale(0.98);
}

/* ── In-Page Meeting / Cal Booking Modal ────────────────────────────── */
.vcard-modal--booking {
  max-width: 680px;
  width: min(680px, 94vw);
  max-height: 90vh;
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
}

.vcard-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e8ec;
  margin-bottom: 12px;
  gap: 12px;
}

.vcard-modal--booking .vcard-modal__title {
  margin: 0 0 3px;
  font-size: 17px;
  color: #001A3B;
  font-weight: 700;
}

.vcard-modal--booking .vcard-modal__desc {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.vcard-booking-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 520px;
  max-height: calc(88vh - 120px);
  overflow-y: auto;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e5e8ec;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.vcard-booking-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
  border-radius: 14px;
}

.vcard-booking-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 14px;
  z-index: 5;
  transition: opacity .2s ease;
}

.vcard-booking-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 45, 100, 0.12);
  border-top-color: #F08A24;
  border-radius: 50%;
  animation: vcardSpin .75s linear infinite;
}

@keyframes vcardSpin {
  to { transform: rotate(360deg); }
}

.vcard-booking-footer {
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.vcard-booking-external-link {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s ease;
}
.vcard-booking-external-link:hover {
  color: #001A3B;
  text-decoration: underline;
}

/* Georgian Text Optimization on Buttons */
html[lang="ka"] .vcard-save-btn,
html[lang="ka"] .vcard-share-btn,
html[lang="ka"] .vcard-modal__action-btn,
html[lang="ka"] .vcard-action-label {
  font-family: var(--iig-font);
  letter-spacing: 0.01em;
  font-feature-settings: normal;
}

.vcard-save-btn,
.vcard-share-btn,
.vcard-action-label {
  white-space: nowrap;
}

/* ==========================================================================
   TEAM DIRECTORY (team.html)
   ========================================================================== */
.team-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #001A3B 0%, #082852 100%);
  color: #ffffff;
  text-align: center;
}
.team-hero h1 {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.team-hero p {
  font-size: 16px;
  color: #9bb2ce;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.team-search-bar {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.team-search-bar input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px 14px 44px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: background .15s ease, border-color .15s ease;
}
.team-search-bar input:focus {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.45);
}
.team-search-bar input::placeholder {
  color: rgba(255,255,255,0.6);
}
.team-search-bar svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.6);
  pointer-events: none;
}

.team-dept-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.team-filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: all .15s ease;
}
.team-filter-pill:hover,
.team-filter-pill.is-active {
  background: #FF5A1F;
  border-color: #FF5A1F;
  color: #ffffff;
}

.team-grid-section {
  padding: 48px 0 80px;
  background: #f8fafc;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.team-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e6eaf0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,26,59,0.08);
}

/* takes the slack the bio used to, so the action rows stay level across a
   row of cards even when a job title wraps to two lines */
.team-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-grow: 1;
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #001A3B, #003366);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__header h3 {
  font-size: 17px;
  font-weight: var(--iig-wt-head);
  margin: 0 0 3px;
  color: #001A3B;
}
.team-card__header .team-card__role {
  font-size: 13.5px;
  color: #FF5A1F;
  font-weight: 600;
  margin: 0 0 2px;
}
.team-card__header .team-card__org {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.team-card__quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f4f8;
}

.team-card__icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #001A3B;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all .15s ease;
  border: none;
  cursor: pointer;
}
.team-card__icon-btn:hover {
  background: #001A3B;
  color: #fff;
}
.team-card__icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.team-card__view-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #001A3B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s ease;
}
.team-card__view-link:hover {
  color: #FF5A1F;
}

/* ---------- publication cards ----------
   Shared by the agency page and the newsroom's Publications filter, so they
   live here rather than in either page's own stylesheet. */
.pubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.pub {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--iig-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pub:hover {
  transform: translateY(-4px); border-color: var(--iig-sky);
  box-shadow: 0 18px 34px rgba(16, 42, 67, .10);
}

/* no cover uploaded: a tinted panel keyed off the document type, so the grid
   still reads as a set of documents rather than a row of holes */
.pub__cover {
  position: relative;
  /* A wide, short strip. The original 3/4 portrait made each card about
     450px tall and pushed the title below the fold; the square that followed
     still ate half the card. 2:1 leaves the title and summary in view. */
  aspect-ratio: 2 / 1;
  background: linear-gradient(150deg, var(--pc1, #0A3F86), var(--pc2, #4AA3E6));
  background-size: cover; background-position: center;
  display: grid; place-items: center;
}
.pub--report { --pc1: #0A3F86; --pc2: #4AA3E6; }
.pub--guide  { --pc1: #D98514; --pc2: #FAB136; }
.pub--legal  { --pc1: #0B1F3D; --pc2: #2C4A7C; }
.pub--brief  { --pc1: #12657F; --pc2: #4FB3C9; }
.pub__cover svg { width: 40px; height: 40px; color: rgba(255,255,255,.75); }
.pub__cover img { width: 100%; height: 100%; object-fit: cover; }

/* the type word (or a department's logo) sits straight on the coloured cover */
.pub__type {
  position: absolute; top: 14px; left: 14px;
  color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  line-height: 17px;   /* same height as the logos, so both sit on one line */
}
.pub__type--logo { display: inline-flex; align-items: center; }
.pub__cover .pub__logo { height: 17px; width: auto; display: block; object-fit: contain; }   /* not the cover-photo rule above */

.pub__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pub__title { font-size: 15.5px; line-height: 1.3; }
.pub__summary { font-size: 13px; line-height: 1.55; color: #5a6b7e; margin-top: 8px; }
.pub__meta {
  margin-top: 12px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--iig-grey-500);
}
.pub__dl {
  margin-top: auto; padding-top: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--iig-blue-500);
}
.pub__dl svg { width: 15px; height: 15px; }
.pub__dl[aria-disabled="true"] { color: var(--iig-grey-500); pointer-events: none; }

.pubs__empty { grid-column: 1 / -1; color: var(--iig-grey-500); font-size: 14px; }

@media (max-width: 1024px) { .pubs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pubs { grid-template-columns: 1fr; } .pub__cover { aspect-ratio: 2 / 1; } }

/* ==========================================================================
   Home page (index.html), 2026-11 redesign: a white header, the news as the
   hero (the story fills the photo, the next ones wait as cards that grow into
   it), the three sites as cards that widen on hover, the mandate as photo and
   text on alternating sides, and the latest news and publications. Everything is scoped to body.home; the light/dark choice is
   html[data-theme], set from localStorage before the page paints.
   ========================================================================== */
body.home, body.inner {
  --h-bg: #fff; --h-ink: var(--iig-navy-800); --h-muted: #4A5A6D; --h-accent: #004CAC;
  --h-line: rgba(25,41,72,.3); --h-track: rgba(25,41,72,.14); --h-tint: rgba(104,188,233,.14);
  background: var(--h-bg); color: var(--h-ink);
  transition: background .3s ease, color .3s ease;
}
html[data-theme="dark"] body.home, html[data-theme="dark"] body.inner {
  --h-bg: #0B1424; --h-ink: #fff; --h-muted: #A9B6C6; --h-accent: #68BCE9;
  --h-line: rgba(255,255,255,.3); --h-track: rgba(255,255,255,.18);
}
/* department logos come in two letterings: navy GEORGIA for light, white for dark */
.home .lg-dark, .inner .lg-dark { display: none; }
html[data-theme="dark"] .home .lg-light, html[data-theme="dark"] .inner .lg-light { display: none; }
html[data-theme="dark"] .home .lg-dark, html[data-theme="dark"] .inner .lg-dark { display: inline-block; }

/* square corners throughout, buttons included */
.home .btn, .inner .btn { border-radius: 0; }
.home .btn:hover, .inner .btn:hover { transform: none; }
.home .btn .arr, .inner .btn .arr { display: inline-block; transition: transform .2s ease; }
.home .btn:hover .arr, .inner .btn:hover .arr { transform: translateX(4px); }
.btn--line { border-color: var(--h-line, var(--iig-line)); color: var(--h-ink, var(--iig-navy-800)); background: transparent; }
.btn--line:hover, .btn--line:focus-visible { background: var(--h-tint, rgba(104,188,233,.14)); }

/* ---------- header: the page's own colour, wordmark and menu in ink ---------- */
.hx__bar { background: var(--h-bg); position: relative; z-index: 20; transition: background .3s ease; }
.hx__bar .nav { height: 64px; align-items: center; }
.hx__bar .pill.brand__pill { color: var(--h-ink); font-weight: 700; }
.hx__bar .nav__links { gap: 10px; }
.hx__bar .nav__links > a {
  padding: 9px 14px; color: var(--h-ink); font-size: 13px;
  transition: transform .2s ease, opacity .2s ease;
}
.hx__bar .nav__links > a:hover { color: var(--h-ink); font-weight: 600; transform: translateY(-1px); opacity: .88; }
.hx__bar .nav__links a.is-active::before { content: none; }
.hx__bar .nav__lang { margin-left: 10px; border-left-color: var(--h-line); }
.hx__bar .nav__lang a { color: var(--h-muted); }
.hx__bar .nav__lang a:hover { color: var(--h-ink); }
.hx__bar .nav__lang a.is-on { background: var(--iig-blue-500); color: #fff; }
.hx__bar a:focus { outline: none; }
.hx__bar a:focus-visible, .theme-btn:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 4px; }

.theme-btn {
  width: 36px; height: 36px; margin-left: 8px; padding: 0; border-radius: 50%;
  border: 1px solid var(--h-line); background: transparent; color: var(--h-ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s ease;
}
.theme-btn svg { width: 17px; height: 17px; transition: transform .4s ease; }
.theme-btn:hover { background: var(--h-tint); }
.theme-btn:hover svg { transform: rotate(20deg); }
.theme-btn__sun { display: none; }
html[data-theme="dark"] .theme-btn__sun { display: block; }
html[data-theme="dark"] .theme-btn__moon { display: none; }

/* ---------- section headings ---------- */
.hsec__h {
  margin: 0 0 40px; color: var(--h-ink);
  font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.015em;
}
.home .mx { padding: 104px 0 56px; }
.home .mz { padding: 56px 0 40px; }
.home .lp { padding: 64px 0 112px; }

/* ---------- hero: the news ----------
   The active story's photo fills the hero; the next four wait as small 3 : 2
   cards in its lower right corner. Picking one gives it the hero's slot and the
   transition grows it there. The stories are the CMS's .arc__item cards;
   positions are container units of .spot__side, which covers the hero. */
.home .spot {
  position: relative; padding: 0; overflow: hidden;
  /* header plus hero fit a laptop screen without scrolling */
  height: clamp(500px, min(48vw, calc(100vh - 64px)), 680px);
  height: clamp(500px, min(48vw, calc(100svh - 64px)), 680px);
  background: #0E1B33; color: #fff; text-align: left;
}
.spot > .shell { position: static; height: 100%; display: flex; }
.spot .hsec__h {   /* kept for screen readers; the photo says it */
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.spot__grid { display: flex; align-items: flex-end; width: 100%; padding-bottom: 48px; }   /* the copy ends level with the cards */
.spot__copy {
  position: relative; z-index: 4; width: min(540px, 100%);
  transition: opacity .3s ease, transform .45s ease;
}
.spot__copy.is-swapping { opacity: 0; transform: translateY(14px); }
.spot__meta {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85);
}
.spot__logo img { height: 20px; width: auto; display: block; }
/* white lettering on the photo, whatever the theme */
.spot .lg-light { display: none; }
.spot .lg-dark { display: inline-block; }
.spot #arcTitle {
  display: block; color: #fff;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; font-weight: 600; letter-spacing: -.015em;
}
.spot .spotlight__text {
  max-width: none; min-height: 0; margin: 22px 0 0;
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.85);
  -webkit-line-clamp: 3;
}
.spot__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.spot .btn--line { color: #fff; border-color: rgba(255,255,255,.5); }
.spot .btn--line:hover, .spot .btn--line:focus-visible { background: rgba(255,255,255,.12); color: #fff; }

.spot__side {
  --ngap: 14px;
  --nedge: max(var(--gutter), (100cqw - var(--shell)) / 2);
  /* the story's photo stops growing past the page width plus a margin; on
     wider screens the navy shows either side and the edges fade into it */
  --npw: min(100cqw, calc(var(--shell) + 160px));
  --npx: calc((100cqw - var(--npw)) / 2);
  --ncw: clamp(124px, 11.2cqw, 164px);
  --nph: calc(var(--ncw) * 2 / 3);     /* the card's photo */
  --nch: calc(var(--nph) + 68px);      /* photo, then the headline under it */
  --nx0: calc(100cqw - var(--nedge) - 3 * var(--ncw) - 2 * var(--ngap));
  --ny: calc(100cqh - 48px - var(--nch));
  position: absolute; inset: 0; z-index: 1; display: block;
  container-type: size;
}
.spot .arc {
  position: absolute; inset: 0; display: block; width: auto; height: auto;
  margin: 0; padding: 0; overflow: hidden;
  cursor: default; touch-action: auto; scroll-snap-type: none;
}
.spot .arc::before { display: none; }
.spot .arc__item {
  position: absolute; z-index: 2; flex: none; margin: 0;
  left: calc(var(--nx0) + var(--slot, 0) * (var(--ncw) + var(--ngap)));
  top: var(--ny);
  width: var(--ncw); height: var(--nch);
  transform: none; filter: none; opacity: 1; border-radius: 0;
  background: transparent; box-shadow: none;
  cursor: pointer; scroll-snap-align: none;
  transition: left .7s cubic-bezier(.65,0,.35,1), top .7s cubic-bezier(.65,0,.35,1),
              width .7s cubic-bezier(.65,0,.35,1), height .7s cubic-bezier(.65,0,.35,1),
              opacity .4s ease, box-shadow .4s ease;
}
.spot .arc__item.is-active,
.spot .arc:not(.is-ready) .arc__item--featured {
  left: var(--npx); top: 0; width: var(--npw); height: 100cqh; z-index: 1; cursor: default;
  box-shadow: none;
}
.spot .arc:not(.is-ready) .arc__item:not(.arc__item--featured) { opacity: 0; }
.spot .arc__item.is-growing { z-index: 3; }
.spot .arc__item.is-off { opacity: 0; pointer-events: none; }
.spot .arc__item:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 3px; }
.spot .arc__cta { display: none; }
/* a waiting card: its photo on top, the headline beneath it; growing into the
   hero, the photo takes the whole box */
.spot .arc__img {
  /* the card's photo, then its 68px caption; sized from the card itself (the
     --nph sum would resolve its cqw units against the card, not the hero) */
  bottom: auto; height: calc(100% - 68px);
  box-shadow: 0 10px 22px rgba(0,8,24,.4);
  transition: height .7s cubic-bezier(.65,0,.35,1), filter .3s ease, box-shadow .4s ease, transform .25s ease;
}
.spot .arc__item:not(.is-active) .arc__img { background-size: cover; }
.spot .arc__item.is-active .arc__img,
.spot .arc:not(.is-ready) .arc__item--featured .arc__img { height: 100%; box-shadow: none; }
/* the story in the hero drifts slowly closer; it starts again with each new story */
.spot .arc__item { overflow: visible; }
.spot .arc__item.is-active { overflow: hidden; }
.spot .arc__item.is-active .arc__img { animation: spotZoom 14s ease-out forwards; }
@keyframes spotZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .spot .arc__item.is-active .arc__img { animation: none; } }
/* hover: the photo lifts a little and brightens */
.spot .arc__item:not(.is-active):hover .arc__img,
.spot .arc__item:not(.is-active):focus-visible .arc__img { filter: brightness(1.1); transform: translateY(-3px); }
/* the shade that keeps the copy readable fades in as a card grows into the hero */
.spot .arc__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    linear-gradient(90deg, #0E1B33 0%, rgba(14,27,51,0) 14%, rgba(14,27,51,0) 80%, rgba(14,27,51,.6) 92%, #0E1B33 100%),
    linear-gradient(90deg, rgba(14,27,51,.95) 0%, rgba(14,27,51,.9) 30%, rgba(14,27,51,.72) 45%, rgba(14,27,51,.25) 68%, rgba(14,27,51,0) 90%),
    linear-gradient(180deg, rgba(14,27,51,0) 55%, rgba(14,27,51,.8) 100%);
  transition: opacity .7s ease;
}
.spot .arc__item.is-active::after,
.spot .arc:not(.is-ready) .arc__item--featured::after { opacity: 1; }
.arc__cap {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px;
  padding: 10px 12px; color: #fff; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,27,51,0) 15%, rgba(12,22,44,.92) 100%);
  transition: opacity .3s ease;
}
.arc__cap small { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.arc__cap b {
  font-size: 13px; line-height: 1.3; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spot .arc__cap {
  top: auto; bottom: 0; height: 68px; justify-content: flex-start;
  padding: 10px 0 0; background: none;
}
.spot .arc__cap > * { flex-shrink: 0; }   /* two full lines of headline, never squeezed */
.spot .arc__item.is-active .arc__cap { opacity: 0; }
@media (min-width: 1560px) {
  .spot .arc__item::after {
    background:
      linear-gradient(90deg, #0E1B33 0%, rgba(14,27,51,.95) 6%, rgba(14,27,51,.9) 30%, rgba(14,27,51,.72) 45%, rgba(14,27,51,.25) 68%, rgba(14,27,51,0) 78%, rgba(14,27,51,.55) 90%, #0E1B33 100%),
      linear-gradient(180deg, rgba(14,27,51,0) 55%, rgba(14,27,51,.8) 100%);
  }
}
/* the cards are the controls; the arrows stay in the markup for the CMS */
.spot .arc__nav { display: none; }
.spot__track {
  position: absolute; z-index: 4; left: var(--nx0); right: var(--nedge); top: calc(100cqh - 24px);
  height: 2px; background: rgba(255,255,255,.25);
}
.spot__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--iig-sky); transition: width .6s ease; }

/* ---------- where to go next: three cards; the one you point at widens ---------- */
.mx__row { display: flex; gap: 16px; height: 680px; }
.mx__card {
  position: relative; overflow: hidden; min-width: 0; flex: 1 1 0;
  background: #0E1B33; color: #fff;
  transition: flex-grow .6s cubic-bezier(.22,.61,.36,1);
}
.mx__row:hover .mx__card { flex-grow: .8; }
.mx__row .mx__card:hover, .mx__row .mx__card:focus-within { flex-grow: 2.4; }
.mx__card .mandate__photo {
  position: absolute; inset: 0; overflow: hidden;
  background-color: #0E1B33; background-size: cover; background-repeat: no-repeat;
  -webkit-mask: none; mask: none;
}
.mx__card .mandate__photo::before, .mx__card .mandate__photo::after { content: none; }
.mx__fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,51,.1) 20%, rgba(14,27,51,.55) 55%, rgba(14,27,51,.94) 100%);
}
.mx__body { position: absolute; left: 32px; right: 32px; bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.mx__logo { height: 22px; width: auto; align-self: flex-start; }
.mx__logo--export { height: 20px; }
.mx__name { margin: 0; color: #fff; font-size: 30px; line-height: 1.15; font-weight: 600; }
.mx__long { display: none; }
.mx__site { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
#sites .mx__row { height: 440px; }
#sites .mx__logo { height: 28px; }
#sites .mx__logo--export { height: 26px; }
.mx__more {
  display: flex; flex-direction: column; gap: 14px; width: 520px; max-width: 100%;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: opacity .4s ease, max-height .6s ease;
}
.mx__lead { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 600; color: #fff; }
.mx__text { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.86); }
.mx__cta { align-self: flex-start; margin-top: 6px; }
.mx__card:hover .mx__more, .mx__card:focus-within .mx__more { max-height: 320px; opacity: 1; }
.mx__card:hover .mx__short, .mx__card:focus-within .mx__short { display: none; }
.mx__card:hover .mx__long, .mx__card:focus-within .mx__long { display: inline; }

/* ---------- our mandate: a photo and its text, on alternating sides ---------- */
.mz__list { display: flex; flex-direction: column; gap: 64px; }
.mz__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mz__row:nth-child(even) .mz__pic { order: 2; }
.mz__pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0E1B33; }
.mz__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease, filter .3s ease;
}
.mz__row--export .mz__img { object-position: 50% 60%; }
.mz__row--ppp .mz__img { object-position: 50% 60%; }
.mz__row:hover .mz__img { transform: scale(1.03); filter: brightness(1.06); }
.mz__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,27,51,0) 50%, rgba(14,27,51,.85) 100%); }
.mz__logo { position: absolute; left: 28px; bottom: 28px; height: 28px; width: auto; }
.mz__logo--export { height: 26px; }
.mz__copy { display: flex; flex-direction: column; gap: 18px; }
.mz__kicker { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--h-accent); }
html[lang="ka"] .mz__kicker { text-transform: none; letter-spacing: .02em; }
.mz__row--export .mz__kicker { color: #C26A0E; }
html[data-theme="dark"] .mz__row--export .mz__kicker { color: #F2A65A; }
.mz__row--ppp .mz__kicker { color: var(--h-muted); }
.mz__h { margin: 0; color: var(--h-ink); font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; font-weight: 600; }
.mz__h a {
  color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease;
}
.mz__h a:hover { color: inherit; background-size: 100% 2px; }
.mz__text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--h-muted); }
.mz__more { position: relative; align-self: flex-start; display: inline-flex; gap: 8px; color: var(--h-accent); font-size: 15px; font-weight: 600; }
.mz__more:hover { color: var(--h-accent); }
.mz__more::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.mz__more:hover::after { transform: scaleX(1); }
.mz__more .arr { display: inline-block; transition: transform .2s ease; }
.mz__more:hover .arr { transform: translateX(4px); }

/* ---------- latest publications: news and documents together ---------- */
.lp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.lp__head .hsec__h { margin: 0; }
.lp__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.lp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lp__item { display: flex; flex-direction: column; gap: 16px; }
.lp__pic { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #0E1B33; container-type: size; }
.lp__pic .news__photo { transition: transform .5s ease, filter .3s ease; }
.lp__pic:hover .news__photo { transform: scale(1.04); filter: brightness(1.08); }
.lp__cover {
  position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, #0A3F86, #4AA3E6);
  transition: filter .3s ease;
}
.lp__cover:hover { filter: brightness(1.08); }
.lp__kind { position: absolute; left: 20px; top: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lp__doc { position: absolute; right: 24px; top: 50%; width: 56px; height: 56px; transform: translateY(-50%); color: rgba(255,255,255,.7); }
.lp__brand { position: absolute; left: 20px; bottom: 20px; }
.lp__brand img { height: 18px; width: auto; display: block; }
.lp__brand span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lp__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--h-muted); }
.lp__meta img { height: 17px; width: auto; }
.lp__type { letter-spacing: .1em; text-transform: uppercase; color: var(--h-accent); }
.lp__title {
  margin: 0; min-height: 2.6em; color: var(--h-ink);
  font-size: 19px; line-height: 1.3; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lp__title a {
  color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease;
}
.lp__title a:hover { background-size: 100% 2px; }
.lp__sum { margin: 0; font-size: 15px; line-height: 1.6; color: var(--h-muted); }
.lp__more { position: relative; margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; color: var(--h-accent); font-size: 14.5px; font-weight: 600; }
.lp__more::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.lp__more:hover::after { transform: scaleX(1); }
.lp__more .arr { display: inline-block; transition: transform .2s ease; }
.lp__more:hover .arr { transform: translateX(4px); }

/* ---------- back to top ---------- */
.totop {
  position: fixed; right: 28px; bottom: 28px; z-index: 50;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(25,41,72,.6); color: #fff; backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.totop.is-shown { opacity: .75; pointer-events: auto; transform: none; }
.totop:hover, .totop:focus-visible { opacity: 1; background: rgba(25,41,72,.92); color: #fff; }
.totop svg { width: 20px; height: 20px; transition: transform .2s ease; }
.totop:hover svg { transform: translateY(-2px); }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .lp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hx__bar .nav { height: 68px; }
  .hx__bar .pill.brand__pill { font-size: 12px; line-height: 1.3; max-width: 60vw; }
  .hx__bar .nav__toggle { background: transparent; color: var(--h-ink); border-color: var(--h-line); }
  .hx__bar .nav__links { gap: 12px; }
  .hx__bar .nav__links > a, .hx__bar .nav__lang a:not(.is-on) { color: #fff; }
  .hx__bar .nav__links .theme-btn { color: #fff; border-color: rgba(255,255,255,.4); margin-left: 0; }
  /* the story on top, the next four as a row of cards across the foot */
  .home .spot { height: 640px; }
  .spot__grid { align-items: flex-start; padding: 48px 0 0; }
  .spot #arcTitle { font-size: 30px; }
  .spot .spotlight__text { font-size: 16px; }
  .spot__side { --ncw: calc((100cqw - 2 * var(--nedge) - 2 * var(--ngap)) / 3); --ngap: 8px; --ny: calc(100cqh - 36px - var(--nch)); }
  .spot .arc__item::after { background: linear-gradient(180deg, rgba(14,27,51,.88) 0%, rgba(14,27,51,.7) 55%, rgba(14,27,51,.85) 100%); }
  .spot__track { top: calc(100cqh - 18px); }
  .home .mx { padding: 48px 0 24px; }
  .home .mz { padding: 24px 0; }
  .home .lp { padding: 40px 0 64px; }
  .hsec__h { margin-bottom: 24px; }
  .mz__list { gap: 48px; }
  .mz__row { gap: 32px; }
  #sites .mx__row { height: auto; }
  .mx__row { flex-direction: column; height: auto; }
  .mx__card { flex: none; height: 440px; }
  .mx__row:hover .mx__card, .mx__row .mx__card:hover, .mx__row .mx__card:focus-within { flex-grow: 0; }
}
/* stacked on narrow screens: show everything (wider touch screens open a card on tap) */
@media (max-width: 860px) {
  .mx__more { max-height: none; opacity: 1; }
  .mx__short { display: none; }
  .mx__long { display: inline; }
}
@media (max-width: 620px) {
  .mz__row { grid-template-columns: 1fr; gap: 24px; }
  .mz__row:nth-child(even) .mz__pic { order: 0; }
  .lp__grid { grid-template-columns: 1fr; }
  .totop { right: 16px; bottom: 16px; }
  .arc__cap { display: none; }   /* too small to read on a phone: the photo alone */
  .spot__side { --nch: var(--nph); }
}
@media (prefers-reduced-motion: reduce) {
  .spot .arc__item, .mx__card, .spot__copy, .mz__img { transition-duration: .01ms; }
}

/* body text set justified across the site, with hyphenation to keep the spacing even */
.mx__card:focus:not(:focus-visible) { outline: none; }
#sites .mandate--ppp .mandate__photo { background-image: url("../assets/mandates/ppp-enguri.jpg"); background-position: 50% 50%; }
/* latest cards: headline, summary and "Read more" start level across a row; the date drops below the logo when it can't fit beside it */
.lp__meta { flex-wrap: wrap; row-gap: 6px; }
.lp__meta > span { white-space: nowrap; }
.lp__meta img { flex-shrink: 0; }
@supports (grid-template-rows: subgrid) {
  .lp__grid { row-gap: 48px; }
  .lp__item { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 16px; align-content: start; }
  .lp__more { margin-top: 8px; align-self: end; }
}
/* hero, wider screens: the main story's photo fills the right of the hero,
   top to bottom, behind the three cards and reaching a little under the
   headline; its left side fades into the navy under the copy, and its foot
   darkens so the cards' captions read */
@media (min-width: 1101px) {
  /* the cards sit inside the photo, clear of its right edge */
  .spot__side { --nbl: calc(var(--nedge) + 420px); --nin: 32px; --ny: calc(100cqh - 28px - var(--nch)); --nx0: calc(100cqw - var(--nedge) - var(--nin) - 3 * var(--ncw) - 2 * var(--ngap)); }
  .spot .arc__item.is-active,
  .spot .arc:not(.is-ready) .arc__item--featured {
    left: var(--nbl); top: 0;
    width: calc(100cqw - var(--nedge) - var(--nbl)); height: 100cqh;
  }
  /* the photo itself fades out at both sides (a mask, not a painted shade),
     so it melts into whatever is behind it with no seam: wide and soft on
     the left under the copy, narrower on the right */
  .spot .arc__item.is-active,
  .spot .arc:not(.is-ready) .arc__item--featured {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 12%, rgba(0,0,0,.85) 26%, #000 36%, #000 80%, rgba(0,0,0,.6) 90%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 12%, rgba(0,0,0,.85) 26%, #000 36%, #000 80%, rgba(0,0,0,.6) 90%, transparent 100%);
  }
  .spot .arc__item::after,
  .spot .arc__item.is-active::after {
    background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--amb-b) 60%, transparent) 78%, color-mix(in srgb, var(--amb-b) 92%, transparent) 100%);
  }
  /* behind it, the photo's own colours glow into the navy */
  .home .spot::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(45% 75% at 100% 45%, color-mix(in srgb, var(--amb-r) 80%, transparent), transparent 75%),
      radial-gradient(35% 70% at 42% 50%, color-mix(in srgb, var(--amb-l) 55%, transparent), transparent 75%),
      radial-gradient(60% 45% at 70% 0%, color-mix(in srgb, var(--amb-t) 50%, transparent), transparent 75%),
      radial-gradient(70% 45% at 70% 100%, color-mix(in srgb, var(--amb-b) 60%, transparent), transparent 75%);
  }
  .spot .arc__item.is-active .arc__img { animation-name: spotZoomSoft; }
  /* the buttons end level with the cards' headlines */
  .spot__grid { padding-bottom: var(--spot-pb, 61px); }
}
@keyframes spotZoomSoft { from { transform: scale(1); } to { transform: scale(1.05); } }

/* ambient colours sampled from the hero photo (js); they ease from one story to the next */
@property --amb-l { syntax: "<color>"; inherits: true; initial-value: #0E1B33; }
@property --amb-r { syntax: "<color>"; inherits: true; initial-value: #0E1B33; }
@property --amb-b { syntax: "<color>"; inherits: true; initial-value: #0E1B33; }
@property --amb-t { syntax: "<color>"; inherits: true; initial-value: #0E1B33; }
.home .spot { --amb-l: #0E1B33; --amb-r: #0E1B33; --amb-b: #0E1B33; --amb-t: #0E1B33; transition: --amb-l .9s ease, --amb-r .9s ease, --amb-b .9s ease, --amb-t .9s ease; }
/* phones and tablets: small text links get a finger-sized tap area (about
   44px) from an invisible layer around them, so nothing moves; "Read more"
   only spans its own words */
.lp__more { justify-self: start; }
@media (max-width: 860px) {
  .lp__more, .mz__more, .in-more, .art__crumb a,
  .footer a, .footer__policies a { position: relative; }
  .lp__more::before, .mz__more::before, .in-more::before, .art__crumb a::before {
    content: ""; position: absolute; left: -4px; right: -4px; top: -11px; bottom: -11px;
  }
  .footer a::before, .footer__policies a::before {
    content: ""; position: absolute; left: -4px; right: -4px; top: -8px; bottom: -8px;
  }
}

/* in-between screens (861-1100px): the copy stops short of the cards */
@media (min-width: 861px) and (max-width: 1100px) {
  .spot__copy { width: min(540px, 50%); }
}
/* tablets and phones: one story at a time. Its photo fills the hero, the
   headline and buttons sit over the lower part with the top of the photo
   clear, and the arrows (or a swipe) move between the four stories; the
   three cards are not shown */
@media (max-width: 860px) {
  .home .spot { height: auto; }
  .spot__grid { align-items: flex-end; padding: min(62vw, 360px) 0 32px; }
  .spot .arc__item,
  .spot .arc__item.is-active,
  .spot .arc:not(.is-ready) .arc__item--featured {
    left: 0; top: 0; width: 100cqw; height: 100cqh; transition: opacity .45s ease;
  }
  .spot .arc__item:not(.is-active) { opacity: 0; pointer-events: none; }
  .spot .arc__item .arc__img { height: 100%; box-shadow: none; }
  .spot .arc__item .arc__cap { display: none; }
  .spot .arc__item::after,
  .spot .arc__item.is-active::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(14,27,51,.15) 0%, rgba(14,27,51,.2) 28%, rgba(14,27,51,.78) 52%, rgba(14,27,51,.95) 72%, #0E1B33 100%);
  }
  .spot .arc__nav {
    display: grid; top: 16px; bottom: auto; width: 40px; height: 40px; border-radius: 0;
    background: rgba(14,27,51,.55); border: 1px solid rgba(255,255,255,.45); color: #fff; box-shadow: none;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .spot .arc__nav:hover { transform: none; border-color: #fff; color: #fff; }
  .spot .arc__nav--prev { left: auto; right: calc(var(--gutter, 18px) + 48px); }
  .spot .arc__nav--next { right: var(--gutter, 18px); }
}
/* menu button: a square with three bars, an × while the menu is open; the
   word stays in the button for screen readers */
@media (max-width: 860px) {
  .hx__bar .nav__toggle {
    position: relative; width: 44px; height: 44px; padding: 0; gap: 0;
    border: 1px solid var(--h-line); border-radius: 0; background: transparent;
    font-size: 0; color: transparent; overflow: hidden; cursor: pointer;
  }
  .hx__bar .nav__toggle::before, .hx__bar .nav__toggle::after {
    content: ""; position: absolute; left: 12px; right: 12px; height: 2px;
    background: var(--h-ink); transition: transform .25s ease, box-shadow .25s ease, top .25s ease;
  }
  .hx__bar .nav__toggle::before { top: 14px; box-shadow: 0 7px 0 var(--h-ink); }
  .hx__bar .nav__toggle::after { top: 28px; }
  .hx__bar .nav__toggle[aria-expanded="true"]::before { top: 21px; box-shadow: none; transform: rotate(45deg); }
  .hx__bar .nav__toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }
  .hx__bar .nav__toggle:focus-visible { outline: 2px solid var(--iig-sky); outline-offset: 2px; }
}
/* header: the light/dark button sits outside the menu. On wide screens it
   follows the links; on phones and tablets it stands beside the menu button,
   and the menu opens as a full-width navy panel under the header */
.hx__bar .nav__links { margin-left: auto; }
.hx__bar .nav > .theme-btn { margin-left: -6px; }
@media (max-width: 860px) {
  .hx__bar .nav { gap: 8px; }
  .hx__bar .brand { margin-right: auto; }
  .hx__bar .nav > .theme-btn {
    order: 2; margin-left: 0; width: 44px; height: 44px; border-radius: 0;
    border: 1px solid var(--h-line); color: var(--h-ink);
  }
  .hx__bar .nav__toggle { order: 3; }
  .hx__bar .nav__links {
    position: absolute; top: 100%; left: 50%; right: auto; width: 100vw; transform: translateX(-50%);
    margin: 0; padding: 8px var(--gutter-m, 18px) 20px; gap: 0;
    background: #0E1B33; border-radius: 0; box-shadow: 0 18px 30px rgba(0,8,24,.28);
    flex-direction: column; align-items: stretch; z-index: 40;
  }
  .hx__bar .nav__links > a {
    display: block; padding: 15px 0; font-size: 15px; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .hx__bar .nav__links > a:hover { transform: none; opacity: 1; color: var(--iig-sky); }
  .hx__bar .nav__lang {
    order: -1; align-self: flex-start; display: flex; gap: 6px;
    margin: 8px 0 10px; padding: 0; border: 0;
  }
  .hx__bar .nav__lang a { padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 0; color: #fff; }
  .hx__bar .nav__lang a.is-on { border-color: var(--iig-blue-500); }
}
/* footer, tablets: the three link columns take their own width and share
   the space between them equally, so the gaps match */
@media (min-width: 621px) and (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 32px; }
}
/* footer, below 1100px: the policy links take their own full-width row,
   spread evenly across it */
@media (max-width: 1100px) {
  .footer__policies { flex: 1 0 100%; width: 100%; justify-content: space-between; gap: 16px; }
}
/* Our mandate, two columns: each photo is at least 16:10 and grows to the
   height of the text beside it when the text is taller (cropped to fit);
   stacked on phones it keeps its 16:10 shape */
@media (min-width: 621px) {
  .mz__row { align-items: stretch; container-type: inline-size; }
  .mz__pic { aspect-ratio: auto; min-height: calc((100cqw - 64px) / 2 * 10 / 16); }
  .mz__copy { align-self: center; }
}
@media (min-width: 621px) and (max-width: 860px) {
  .mz__pic { min-height: calc((100cqw - 32px) / 2 * 10 / 16); }
}
/* language and light/dark buttons: square corners, like every other control */
.theme-btn { border-radius: 0; }
.hx__bar .nav__lang a { border-radius: 0; }
@media (min-width: 861px) {
  .hx__bar .nav__lang { display: inline-flex; gap: 4px; }
  .hx__bar .nav__lang a { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; line-height: 1; border: 1px solid transparent; }
  /* the light/dark button is the same height as the language buttons */
  .hx__bar .nav > .theme-btn { width: 30px; height: 30px; }
  .hx__bar .nav > .theme-btn svg { width: 15px; height: 15px; }
  .hx__bar .nav__lang a:not(.is-on):hover { border-color: var(--h-line); }
}
/* the menu panel: a dropdown under the buttons, not the full width */
@media (max-width: 860px) {
  .hx__bar .nav__links { left: auto; right: 0; width: min(280px, calc(100vw - 36px)); transform: none; padding: 8px 20px 16px; }
}
/* logo pairs (navy GEORGIA for light pages, white for dark): only the one
   that suits the theme shows, on any page */
.lg-dark { display: none; }
html[data-theme="dark"] .lg-light { display: none; }
html[data-theme="dark"] .lg-dark { display: inline-block; }

/* Georgian hero title: Georgian words run long, so a smaller size */
html[lang="ka"] .spot #arcTitle { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.2; letter-spacing: -.01em; }
@media (max-width: 860px) {
  html[lang="ka"] .spot #arcTitle { font-size: 24px; }
}
/* hero titles may carry their own line breaks (&#10; in data-title-ka) */
.spot #arcTitle { white-space: pre-line; }

/* CTAs keep one size in English and Georgian: fixed minimums wide enough
   for the longer label, so switching language doesn't resize the buttons */
.btn { justify-content: center; min-width: 216px; min-height: 48px; max-width: 100%; }
.btn--wide { min-width: 330px; }
html[lang="ka"] .btn { line-height: 21.7px; }   /* Mtavruli's taller caps must not grow the button */
html[lang="ka"] .btn > * { line-height: inherit; vertical-align: baseline; }
button.btn, html[lang="ka"] button.btn { line-height: 18px; }   /* form buttons: 48px in both languages */
.btn--wline { min-width: 320px; }

/* Header on scroll (js/site.js): out of view it floats just above the top
   edge and slides in on hover near the top, or on scroll-up on touch */
.hx__bar.is-float {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transform: translateY(calc(-100% - 40px));   /* clear of its own shadow */
  transition: transform .25s ease;
  box-shadow: 0 8px 24px rgba(10, 20, 40, .14);
}
.hx__bar.is-float.is-shown { transform: none; }
@media (prefers-reduced-motion: reduce) { .hx__bar.is-float, .hx__bar.is-float.is-shown { transition: none; } }
/* Georgian hero title uses the heading face too (it is a <b>, not a heading) */
html[lang="ka"] .spot #arcTitle { font-family: var(--iig-font-head); }

/* Georgian UI labels in Mtavruli caps too: menu, hero cards, buttons,
   footer links and form labels/selects (see "Georgian capitals" below). */
html[lang="ka"] :is(
  .nav__links > a, .nav__toggle, .arc__cap b, .btn,
  .arc__cta, .more, .lp__more, .mz__more, .in-more, .cat__more,
  .footer a, .news-filter, .news-date-select, .news-search-input,
  label, .form-select, .select__btn, .select__menu .opt
) { font-family: var(--iig-font-head); }
html[lang="ka"] .news-search-input::placeholder { font-family: var(--iig-font-head); }

/* Article back/share buttons: same themed outline as .btn--line, so they
   are not white slabs in dark mode */
.article-footer-nav .btn--ghost {
  background: transparent; color: var(--h-ink, var(--iig-navy-800));
  border-color: var(--h-line, var(--iig-line));
}
.article-footer-nav .btn--ghost:hover, .article-footer-nav .btn--ghost:focus-visible {
  background: var(--h-tint, rgba(104,188,233,.14)); border-color: var(--iig-sky);
}

/* English headings in capitals, to match the Georgian Mtavruli headings
   (all letters one height). Caps need a touch of air, not tightening. */
html:not([lang="ka"]) :is(h1, h2, h3, h4, .spot #arcTitle, .arc__cap b) {
  text-transform: uppercase; letter-spacing: .01em;
}
/* buttons and text CTAs too, the same set that is Mtavruli in Georgian */
html:not([lang="ka"]) :is(.btn, .arc__cta, .more, .lp__more, .mz__more, .in-more, .cat__more) {
  text-transform: uppercase; letter-spacing: .04em;
}
/* outbound site buttons: long labels, wider minimum; full width on phones */
.btn--wline { min-width: 372px; }
@media (max-width: 600px) {
  .btn--wline { width: 100%; min-width: 0; min-height: 52px; font-size: 12.5px; padding-inline: 14px; }
  html:not([lang="ka"]) .btn--wline { letter-spacing: .02em; }
}
/* hero title in caps: the same size as the Georgian (also all capitals) */
html:not([lang="ka"]) .spot #arcTitle { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; }
@media (max-width: 860px) { html:not([lang="ka"]) .spot #arcTitle { font-size: 24px; } }
/* news filters (tabs) and their date/search controls: sentence case, and the
   site font (form controls don't inherit it by default) */
.news-filter, .news-date-select, .news-search-input { font-family: inherit; text-transform: none; }
/* org-chart titles are headings too: Mtavruli in Georgian, capitals in English */
html[lang="ka"] .node__t { font-family: var(--iig-font-head); }
html:not([lang="ka"]) .node__t { text-transform: uppercase; letter-spacing: .01em; }

/* Georgian capitals: headings, hero titles, buttons and UI labels in
   Mtavruli, the same Noto Sans Georgian as the lowercase text, so capitals
   and lowercase match. Everything else that used to be Mtavruli through the
   BPG face (font-family: var(--iig-font-head)). Browsers don't apply
   text-transform: uppercase to Georgian, so the capitals come from the
   font's own 'case' feature: the text stays ordinary Mkhedruli. */
html[lang="ka"] :is(
  h1, h2, h3, h4, .spot #arcTitle, .arc__cap b, .node__t,
  .mandate__name, .dir__name, .hl-card__figure,
  .article-gallery-title, .article-video-title,
  .nav__links > a, .nav__toggle, .btn,
  .arc__cta, .more, .lp__more, .mz__more, .in-more, .cat__more,
  .footer a, label, .form-select, .select__btn, .select__menu .opt
) { font-feature-settings: "case"; text-transform: uppercase; }   /* uppercase: Latin inside (ART, PPP) */
html[lang="ka"] :is(.news-filter, .news-date-select, .news-search-input) { font-feature-settings: normal; text-transform: none; }
/* article back/share: wide enough for the longer Georgian label */
.article-footer-nav .btn { min-width: 244px; }
/* Mtavruli runs wider than lowercase: long Georgian words in narrow tiles
   step down in size, and as a last resort break rather than overflow */
html[lang="ka"] :is(h1, h2, h3, h4, .arc__cap b, .node__t) { overflow-wrap: break-word; }
@media (min-width: 861px) { html[lang="ka"] .tile h3 { font-size: clamp(14.5px, 1.55vw, 20px); } }

/* Header wordmark: when space is short it wraps to two tight, balanced lines
   (never three tall ones), and between tablet and wide desktop the menu
   items tighten so menu and wordmark share one row */
.hx__bar .pill.brand__pill { line-height: 1.25; text-wrap: balance; max-width: 16em; }
@media (min-width: 861px) and (max-width: 1320px) {
  .hx__bar .nav { gap: 16px; }
  .hx__bar .nav__links { gap: 2px; }
  .hx__bar .nav__links > a { padding: 9px 8px; font-size: 12px; letter-spacing: .06em; }
  html[lang="ka"] .hx__bar .nav__links > a { letter-spacing: .01em; }
  .hx__bar .nav__lang { margin-left: 6px; }
  .hx__bar .pill.brand__pill { font-size: 12.5px; letter-spacing: .06em; max-width: 13em; }
  html[lang="ka"] .hx__bar .pill.brand__pill { letter-spacing: 0; }
}
@media (min-width: 861px) {
  .hx__bar .nav__links, .hx__bar .nav > .theme-btn { flex-shrink: 0; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .hx__bar .nav { gap: 12px; }
  .hx__bar .nav__links > a { padding: 9px 5px; font-size: 11.5px; letter-spacing: .04em; }
  html[lang="ka"] .hx__bar .nav__links > a { font-size: 11px; letter-spacing: 0; }
  .hx__bar .pill.brand__pill { font-size: 12px; }
}
@media (min-width: 861px) and (max-width: 1320px) {
  html[lang="ka"] .hx__bar .pill.brand__pill { max-width: 15.5em; }   /* two lines where the menu leaves room */
}

/* language toggle: the same accent as the text links ("Learn more"):
   blue on light, sky on dark, with the header colour as its text */
.hx__bar .nav__lang a.is-on { background: var(--h-accent, var(--iig-blue-500)); color: var(--h-bg, #fff); }
@media (max-width: 860px) {
  .hx__bar .nav__lang a.is-on { border-color: var(--h-accent, var(--iig-blue-500)); }
}

/* headlines: up to three lines (Georgian runs longer), cards stay level */
.lp__title { -webkit-line-clamp: 3; min-height: 3.9em; }
.arc__cap b { -webkit-line-clamp: 3; }
/* title size follows the card width (narrow columns at tablet widths), and
   Georgian capitals run wider, so long titles still fit in three lines */
/* (not a container query: the cards' subgrid rows break inside a container) */
html[lang="ka"] .lp__title { font-size: 17px; }
@media (min-width: 901px) {   /* four columns: a card is about a quarter of the viewport */
  .lp__title { font-size: clamp(14px, calc(1.6vw - 2.2px), 19px); }
  html[lang="ka"] .lp__title { font-size: clamp(13px, calc(1.425vw - 1.9px), 17px); }
}
@media (min-width: 621px) and (max-width: 900px) {   /* two columns on tablets */
  .lp__title { font-size: 17px; }
  html[lang="ka"] .lp__title { font-size: 15.5px; }
}

/* Hero thumbnails: headline only (no department or date) */
.arc__cap small { display: none; }

/* Hero meta: badge and date centred on one line */
.spot__logo { display: flex; align-items: center; }

/* Footer policy links wrap instead of overflowing on phones (long Georgian labels) */
.footer__policies { flex-wrap: wrap; row-gap: 10px; }
