/* Self-hosted, subset fonts (generated). Archivo: wdth 100-118, wght 400-700. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 700; font-stretch: 100% 118%; font-display: swap;
  src: url(../fonts/archivo-a.woff2) format('woff2'); unicode-range: U+0020-007E, U+00A0, U+00A3, U+00A9, U+00AB, U+00B0-00B1, U+00B3, U+00B5, U+00B7, U+00BB, U+00C7, U+00D6-00D7, U+00DC, U+00E2, U+00E7, U+00F6, U+00FC, U+0131, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+20AC, U+2193; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 700; font-stretch: 100% 118%; font-display: swap;
  src: url(../fonts/archivo-b.woff2) format('woff2'); unicode-range: U+0020, U+0041, U+00A0, U+011F, U+0130, U+015E-015F, U+018F, U+0259; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-mono-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2080-2089, U+2190-2193; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/plex-mono-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2080-2089, U+2190-2193; }

/* KHN Minerals
   Brand: navy #0D3055, copper #B26A28, barite white. */

:root {
  --navy: #0D3055;
  --navy-deep: #08213B;
  --copper: #B26A28;
  --copper-dark: #94551C;
  --copper-light: #E2A86E;
  --paper: #F4F1EB;
  --paper-deep: #E9E3D8;
  --white: #FFFFFF;
  --ink: #142233;
  --muted: #5A6675;
  --line: rgba(13, 48, 85, 0.14);
  --line-strong: rgba(13, 48, 85, 0.3);
  --line-light: rgba(255, 255, 255, 0.2);

  --font: "Archivo", "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 136px);
  --radius: 3px;
  --header: 80px;
}

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

html { -webkit-text-size-adjust: 100%; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; color: var(--navy); text-wrap: balance; }
sub { font-size: 0.62em; vertical-align: baseline; position: relative; top: 0.22em; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(44px, 7vw, 96px);
  font-variation-settings: "wdth" 112;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-variation-settings: "wdth" 110;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.h3 {
  font-size: clamp(21px, 2vw, 26px);
  font-variation-settings: "wdth" 106;
  letter-spacing: -0.01em;
  line-height: 1.18;
}
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--muted); max-width: 38em; }
.statement {
  font-size: clamp(26px, 3.1vw, 42px);
  font-variation-settings: "wdth" 106;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--navy);
  max-width: 24em;
  margin: 0;
}
.statement .soft { color: #8A94A1; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: var(--white);
  font: 500 15px/1 var(--font); letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--copper { background: var(--copper); border-color: var(--copper); }
.btn--copper:hover { background: var(--copper-dark); border-color: var(--copper-dark); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.link:hover { border-color: var(--copper); color: var(--copper-dark); }
.link--light { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.link--light:hover { color: var(--copper-light); border-color: var(--copper-light); }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.brand { position: relative; display: block; flex: none; }
.brand img { height: 44px; width: auto; transition: opacity .3s; }
.brand .logo-light { position: absolute; left: 0; top: 0; opacity: 0; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 6px 0; transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14.5px; color: var(--white); }

/* Transparent header over a photo hero */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.has-hero .site-header .logo-light { opacity: 1; }
.has-hero .site-header .logo-dark { opacity: 0; }
.has-hero .site-header .nav a:not(.btn) { color: var(--white); }
.has-hero .site-header.is-solid { background: var(--white); border-color: var(--line); }
.has-hero .site-header.is-solid .logo-light { opacity: 0; }
.has-hero .site-header.is-solid .logo-dark { opacity: 1; }
.has-hero .site-header.is-solid .nav a:not(.btn) { color: var(--ink); }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--navy);
}
.has-hero .site-header:not(.is-solid) .menu-toggle { color: var(--white); }
.menu-toggle span { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header: 68px; }
  .brand img { height: 38px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header); left: 0; right: 0; bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; background: var(--white);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn), .has-hero .site-header .nav a:not(.btn) {
    padding: 18px 0; font-size: 22px; color: var(--ink); border-bottom: 1px solid var(--line); font-variation-settings: "wdth" 108;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; min-height: 54px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Photo heroes ---------- */

.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: max(640px, 100svh);
  color: var(--white); background: var(--navy-deep); overflow: hidden;
}
.hero--page { min-height: max(520px, 72svh); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 33, 59, 0.55) 0%, rgba(8, 33, 59, 0) 22%),
    linear-gradient(90deg, rgba(8, 33, 59, 0.82) 0%, rgba(8, 33, 59, 0.45) 55%, rgba(8, 33, 59, 0.15) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 1;
  background: linear-gradient(0deg, rgba(8, 33, 59, 0.75), rgba(8, 33, 59, 0));
}
.hero .wrap { position: relative; z-index: 2; padding-top: calc(var(--header) + 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { color: var(--white); max-width: 11em; }
.hero .lead { color: rgba(255, 255, 255, 0.86); margin-top: 28px; max-width: 34em; }
.hero--page .display { font-size: clamp(42px, 6vw, 80px); max-width: 12em; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line-light);
}
.hero-stats div { padding: 22px 20px 0 0; }
.hero-stats div + div { padding-left: 22px; border-left: 1px solid var(--line-light); }
.hero-stats strong {
  display: block; font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1;
  font-variation-settings: "wdth" 112; letter-spacing: -0.02em; color: var(--white);
}
.hero-stats small { font-size: 0.5em; margin-left: 3px; letter-spacing: 0; }
.hero-stats span { display: block; margin-top: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.74); }
@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div, .hero-stats div + div { padding: 18px 12px 18px 0; border-left: 0; }
  .hero-stats div:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line-light); }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.78); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .lead, .section--navy .muted { color: rgba(255, 255, 255, 0.7); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lead { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split h2 + .lead, .split h2 + p { margin-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px 80px; align-items: end; }
.intro .lead { margin: 0; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

/* Copper band with the ore-to-powder visual */
.ore-band { background: #B26A28; color: var(--white); overflow: hidden; }
.ore-band .wrap { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(32px, 4vw, 48px); }
.ore-band figure { margin: 0 auto; max-width: 980px; }
.ore-band img { width: 100%; }
.ore-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 4px auto 0; text-align: center;
}
.ore-steps li { font-size: 16px; font-weight: 500; color: var(--white); }
.ore-steps li span { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 600px) { .ore-steps li { font-size: 13px; } .ore-steps li span { display: none; } }

/* ---------- Product cards ---------- */

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.product > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product .body { display: flex; flex-direction: column; flex: 1; padding: clamp(28px, 3.5vw, 44px); }
.product .for { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.product h3 { margin-bottom: 14px; }
.product p { color: var(--muted); }
.product ul { margin: 26px 0 34px; border-top: 1px solid var(--line); }
.product li { position: relative; padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.product li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--copper); }
.product .link { margin-top: auto; align-self: flex-start; }
.product--navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.product--navy h3 { color: var(--white); }
.product--navy p, .product--navy .for { color: rgba(255, 255, 255, 0.68); }
.product--navy ul, .product--navy li { border-color: var(--line-light); }
.product--navy .link { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.product--navy .link:hover { color: var(--copper-light); border-color: var(--copper-light); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* ---------- Photo split ---------- */

.photo-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.photo-split > img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.photo-split .text { padding: var(--section) clamp(24px, 6vw, 96px); align-self: center; max-width: 700px; }
.photo-split .map { margin-top: 48px; }
.photo-split--reverse > img { order: 2; }
@media (max-width: 900px) {
  .photo-split { grid-template-columns: 1fr; }
  .photo-split > img { min-height: 0; aspect-ratio: 4 / 3; }
  .photo-split--reverse > img { order: 0; }
  .photo-split .text { padding: 56px var(--gutter) 72px; }
}

/* ---------- Photo tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 540px; border-radius: var(--radius); overflow: hidden; color: var(--white); background: var(--navy-deep); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tile:hover > img { transform: scale(1.03); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 33, 59, 0.94) 0%, rgba(8, 33, 59, 0.5) 42%, rgba(8, 33, 59, 0.05) 72%); }
.tile .body { position: relative; z-index: 2; padding: 32px; }
.tile h3 { color: var(--white); margin-bottom: 12px; }
.tile p { font-size: 15.5px; color: rgba(255, 255, 255, 0.84); }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 440px; } }

/* ---------- Big formula ---------- */

.formula { background: var(--white); overflow: hidden; }
.formula .wrap { padding-top: var(--section); padding-bottom: var(--section); }
.formula-mark {
  margin: 0; font-size: clamp(72px, 23vw, 330px); line-height: 0.8; font-weight: 600;
  font-variation-settings: "wdth" 115; letter-spacing: -0.045em; color: var(--navy);
}
.formula-mark sub { font-size: 0.4em; top: 0.06em; margin-left: 0.04em; color: var(--copper); letter-spacing: 0; }
.formula-row { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.formula-row div { padding: 20px 16px 0 0; }
.formula-row div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.formula-row b { display: block; font: 500 clamp(20px, 2vw, 28px) var(--mono); color: var(--navy); letter-spacing: -0.02em; }
.formula-row span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.formula-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; margin-top: 44px; }
.formula-foot p { margin: 0; color: var(--muted); max-width: 40em; }
@media (max-width: 760px) {
  .formula-row { grid-template-columns: repeat(3, 1fr); }
  .formula-row div, .formula-row div + div { padding: 16px 10px 16px 0; border-left: 0; }
  .formula-row div:nth-child(3n+2), .formula-row div:nth-child(3n) { padding-left: 12px; border-left: 1px solid var(--line); }
  .formula-row div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

/* ---------- Map ---------- */

.map { position: relative; width: 100%; aspect-ratio: 1000 / 427; }
.map > img { width: 100%; height: 100%; }
.pin { position: absolute; left: var(--x); top: var(--y); }
.pin i {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(13, 48, 85, 0.16);
}
.pin--copper i { background: var(--copper); box-shadow: 0 0 0 4px rgba(178, 106, 40, 0.22); }
.pin span {
  position: absolute; top: -9px; white-space: nowrap; line-height: 1.25;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.pin span small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.pin--r span { left: 16px; }
.pin--l span { right: 16px; text-align: right; }
.pin--b span { left: 16px; top: 4px; }
@media (max-width: 640px) {
  .pin i { width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 0 3px rgba(13, 48, 85, 0.16); }
  .pin span { font-size: 11.5px; top: -7px; }
  .pin span small { display: none; }
}

.map-legend { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.map-legend li { padding: 22px 22px 0 0; }
.map-legend li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.map-legend b { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; font-variation-settings: "wdth" 112; letter-spacing: -0.015em; color: var(--navy); margin-bottom: 6px; }
.map-legend span { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) {
  .map-legend { grid-template-columns: 1fr 1fr; }
  .map-legend li, .map-legend li + li { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Lists & data ---------- */

.checks { border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.checks .num { font-size: 15px; font-weight: 500; color: var(--navy); opacity: 0.45; padding-top: 2px; font-variant-numeric: tabular-nums; }
.checks h3 { font-size: 19px; margin-bottom: 6px; font-variation-settings: "wdth" 104; }
.checks p { color: var(--muted); font-size: 16px; }
.section--navy .checks, .section--navy .checks li { border-color: var(--line-light); }
.section--navy .checks p { color: rgba(255, 255, 255, 0.7); }
.section--navy .checks .num { color: var(--white); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 100px; font-size: 14.5px; color: var(--navy); }

.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec caption { text-align: left; padding-top: 16px; font-size: 14px; color: var(--muted); caption-side: bottom; }
.spec th, .spec td { padding: 15px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.spec thead th { font-size: 13px; color: var(--muted); border-bottom-color: var(--line-strong); }
.spec td:last-child, .spec th:last-child { text-align: right; font-family: var(--mono); }
.spec tbody th { color: var(--navy); font-weight: 500; }
.spec--facts tbody th { font-weight: 400; color: var(--muted); }
.spec--facts td:last-child { font-family: var(--font); color: var(--navy); font-weight: 500; }

/* Composition bar */
.compbar { display: flex; height: 64px; border-radius: var(--radius); overflow: hidden; background: var(--paper-deep); }
.compbar span { display: block; height: 100%; }
.compbar .ba { width: 97%; background: var(--navy); position: relative; }
.cb-label { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font: 500 15px var(--mono); font-style: normal; color: var(--white); }
.cb-label b { font-weight: 500; margin-left: 6px; }
.compbar .sr { width: 2%; background: var(--copper); }
.compbar .rest { width: 1%; background: #D9B48C; }
.compbar-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.compbar-key span { display: inline-flex; align-items: center; gap: 8px; }
.compbar-key b { font-weight: 400; }
.compbar-key i { width: 10px; height: 10px; border-radius: 2px; background: var(--navy); }
.compbar-key .k-sr { background: var(--copper); }
.compbar-key .k-rest { background: #D9B48C; }

.callouts { display: grid; gap: 20px; }
.callout { padding: 28px 30px; border-radius: var(--radius); background: var(--paper); }
.callout .val { font: 500 14px var(--mono); color: var(--navy); }
.callout h3 { margin: 12px 0 8px; font-size: 20px; font-variation-settings: "wdth" 106; }
.callout p { color: var(--muted); font-size: 16px; }

/* Process */
.flow {
  display: grid; grid-template-columns: repeat(8, minmax(118px, 1fr));
  overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; border-top: 1px solid var(--line);
}
.flow li { padding: 22px 16px 0 0; }
.flow li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.flow b { display: block; font-size: 14px; font-weight: 500; color: var(--navy); opacity: 0.4; margin-bottom: 22px; }
.flow span { display: block; font-size: 15.5px; font-weight: 500; color: var(--navy); line-height: 1.3; }

.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method { padding: 36px 32px; background: var(--white); border-radius: var(--radius); }
.section--white .method { background: var(--paper); }
.method .num { font-size: 15px; font-weight: 500; color: var(--navy); opacity: 0.45; }
.method h3 { margin: 22px 0 14px; }
.method p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .methods { grid-template-columns: 1fr; } }

/* Site cards */
.sites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.site { padding: clamp(28px, 3.5vw, 44px); background: var(--white); border-radius: var(--radius); }
.site .kind { font-size: 14px; color: var(--muted); }
.site h3 { margin: 10px 0 4px; }
.site .where { color: var(--copper-dark); font-size: 15px; font-weight: 500; }
.site p { margin-top: 18px; color: var(--muted); font-size: 16px; }
.site dl { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; margin: 26px 0 0; border-top: 1px solid var(--line); }
.site dt, .site dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.site dt { color: var(--muted); }
.site dd { color: var(--navy); font-weight: 500; text-align: right; }
@media (max-width: 860px) { .sites { grid-template-columns: 1fr; } }

/* Documents */
.docs { border-top: 1px solid var(--line); }
.doc {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.doc b { display: block; font-weight: 500; color: var(--navy); }
.doc small { color: var(--muted); font-size: 14px; }
.doc .dl { font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; }
a.doc:hover b, a.doc:hover .dl { color: var(--copper-dark); }

/* Events */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.event { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.event img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.event div { padding: 26px 28px 30px; }
.event .when { font-size: 14px; color: var(--muted); }
.event h3 { margin: 10px 0 8px; }
.event p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .events { grid-template-columns: 1fr; } }

.media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Plain page hero (contact) ---------- */

.page-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(42px, 6vw, 80px); max-width: 13em; }
.page-hero .lead { margin-top: 26px; }

/* ---------- CTA ---------- */

.cta { position: relative; background: var(--navy); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 33, 59, 0.94) 0%, rgba(8, 33, 59, 0.72) 60%, rgba(8, 33, 59, 0.5) 100%); }
.cta .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px 64px; align-items: center; padding-top: clamp(88px, 11vw, 150px); padding-bottom: clamp(88px, 11vw, 150px); }
.cta h2 { color: var(--white); }
.cta p { margin-top: 20px; max-width: 34em; }
.cta .actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { border-top: 1px solid var(--line); }
.contact-list div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 18px; color: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--copper-dark); }

.form { padding: clamp(28px, 4vw, 48px); background: var(--paper); border-radius: var(--radius); }
.form h2 { margin-bottom: 10px; }
.form > p { color: var(--muted); margin-bottom: 30px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px var(--font); color: var(--ink);
  background: var(--white); border: 1px solid transparent; border-radius: var(--radius);
  transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.form .btn { margin-top: 26px; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

.map-embed { margin-top: 40px; border-radius: var(--radius); overflow: hidden; background: var(--paper-deep); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(0.85) contrast(1.05); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.66); font-size: 15px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 56px; }
.site-footer .logo { width: 150px; }
.site-footer .about { margin-top: 22px; max-width: 22em; }
.site-footer h4 { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.45); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--copper-light); }
.site-footer address { font-style: normal; }
.site-footer .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding: 24px 0 32px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile > img { transition: none; }
}

/* ---------- Utilities ---------- */

.mt-s { margin-top: 20px; }
.mt-m { margin-top: 40px; }
.mt-l { margin-top: 72px; }

.photo-split h2 + .lead, .photo-split h2 + p { margin-top: 26px; }

/* =========================================================
   Brand components: cleaved corner + orbit ring
   ========================================================= */

:root {
  --cut: 14px;
  --cut-card: 26px;
  --ring: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cellipse cx='10' cy='10' rx='8.6' ry='4.1' transform='rotate(-35 10 10)' fill='none' stroke='%23B26A28' stroke-width='2.2'/%3E%3C/svg%3E");
}

/* Buttons: one cleaved corner and a separate arrow block */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  border: 0; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  padding: 0 28px; min-height: 54px; gap: 0;
  font-weight: 500; letter-spacing: 0.015em;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-deep); transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { background: var(--navy); }
.btn--copper::before { background: var(--copper-dark); }
.btn--copper:hover { background: var(--copper); }
.btn:has(.arrow) { padding-right: 0; }
.btn .arrow {
  align-self: stretch; display: grid; place-items: center;
  width: 54px; margin-left: 24px; background: rgba(0, 0, 0, 0.16);
  transition: background-color .3s;
}
.btn .arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.btn:hover .arrow { transform: none; background: rgba(0, 0, 0, 0.24); }
.btn:hover .arrow svg { transform: translateX(3px); }

/* Outline buttons: border plus a drawn diagonal on the cut corner */
.btn--ghost, .btn--outline-light { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost { color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--outline-light { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55); }
.btn--ghost::after, .btn--outline-light::after {
  content: ""; position: absolute; top: 0; right: 0; width: calc(var(--cut) * 1.4142); height: 1px;
  background: var(--line-strong); transform-origin: top right; transform: rotate(45deg) translateX(0);
}
.btn--outline-light::after { background: rgba(255, 255, 255, 0.55); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { background: transparent; color: var(--white); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover { background: transparent; color: var(--navy); border-color: transparent; }
.btn--light::before { background: var(--paper-deep); }
.btn--light:hover { background: var(--white); }
.nav .btn { min-height: 44px; padding: 0 20px; }

/* Text links: copper line sweeps in on hover */
.link {
  border-bottom: 0; padding-bottom: 4px;
  background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 1.5px no-repeat,
              linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat;
  transition: background-size .45s cubic-bezier(.6, 0, .2, 1), color .2s;
}
.link:hover { background-size: 100% 1.5px, 100% 1px; color: var(--navy); }
.link .arrow svg { width: 14px; height: 14px; display: block; transition: transform .3s; }
.link:hover .arrow svg { transform: translateX(3px); }
.link--light, .product--navy .link {
  background: linear-gradient(var(--copper-light), var(--copper-light)) left bottom / 0 1.5px no-repeat,
              linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) left bottom / 100% 1px no-repeat;
}
.product--navy .link:hover { color: var(--white); background-size: 100% 1.5px, 100% 1px; }

/* Cleaved corner on cards and framed images */
.product, .tile, .event, .method, .site, .callout, .form, .post-card, .gallery figure, .media {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut-card)) 0, 100% var(--cut-card), 100% 100%, 0 100%);
}

/* Orbit ring bullets */
.product li::before {
  border: 0; border-radius: 0; width: 14px; height: 14px; top: 17px; left: -2px;
  background: var(--ring) center / contain no-repeat;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px;
  background: var(--ring) center / contain no-repeat;
}

/* Nav: active page gets the ring */
.nav a[aria-current="page"]:not(.btn)::before {
  content: ""; position: absolute; left: -18px; top: 50%; width: 13px; height: 13px; margin-top: -7px;
  background: var(--ring) center / contain no-repeat;
}
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(0); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav a[aria-current="page"]:not(.btn)::before { left: auto; right: 0; } }

/* ---------- Language switcher ---------- */

.header-end { display: flex; align-items: center; gap: 28px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font: 500 14px var(--font); letter-spacing: 0.06em; color: var(--ink); transition: color .3s;
}

.lang-btn svg { width: 10px; height: 10px; transition: transform .25s; }
.lang.is-open .lang-btn svg { transform: rotate(180deg); }
.has-hero .site-header:not(.is-solid) .lang-btn { color: var(--white); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 200px; padding: 8px;
  background: var(--white); box-shadow: 0 18px 40px rgba(8, 33, 59, 0.16);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lang.is-open .lang-menu { visibility: visible; opacity: 1; transform: none; }
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 11px 12px; text-decoration: none; font-size: 15px; color: var(--ink);
}
.lang-menu a .code { font-size: 12.5px; letter-spacing: 0.08em; color: var(--muted); }
.lang-menu a:hover { background: var(--paper); }
.lang-menu a[aria-current="true"] { color: var(--navy); font-weight: 600; }
.lang-menu a[aria-current="true"] .code { color: var(--copper); }
@media (max-width: 900px) {
  .header-end { gap: 14px; }
  .nav { order: 3; }
}

/* ---------- Gallery of KHN photos ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; background: var(--navy-deep); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 14px 16px 16px; font-size: 14px; color: rgba(255, 255, 255, 0.8); background: var(--navy-deep); position: relative; }
.gallery--wide { grid-template-columns: 2fr 1fr 1fr; }
.gallery--wide figure:first-child img { aspect-ratio: auto; height: 100%; min-height: 100%; }
@media (max-width: 900px) { .gallery, .gallery--wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery, .gallery--wide { grid-template-columns: 1fr; } .gallery img { aspect-ratio: 4 / 3; } }

.photo-split > img.pos-left { object-position: 28% center; }
.real-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.real-badge::before { content: ""; width: 14px; height: 14px; background: var(--ring) center / contain no-repeat; }

/* ---------- Blog ---------- */

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts--two { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.post-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s ease; }
.post-card:hover img { transform: scale(1.03); }
.post-card .body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 32px; }
.post-card .cat, .post-head .cat { font-size: 14px; color: var(--copper-dark); font-weight: 500; margin-bottom: 10px; }
.post-card h2, .post-card h3 { margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: 16px; }
.post-card .link { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.post-card:hover .link { background-size: 100% 1.5px, 100% 1px; }
.post-card--empty { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); min-height: 280px; justify-content: flex-end; }
.post-card--empty .cat { color: var(--muted); }
@media (max-width: 960px) { .posts, .posts--two { grid-template-columns: 1fr; } }

.wrap--narrow { max-width: 820px; }
.post-head { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 4vw, 56px); background: var(--white); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--navy); }
.back .arrow svg { width: 14px; height: 14px; display: block; }
.display--post { font-size: clamp(38px, 5vw, 64px); }
.post-head .lead { margin-top: 22px; }
.post-image { margin: 0; background: var(--white); }
.post-image img { width: 100%; max-height: 620px; object-fit: cover; }
.prose { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); font-variation-settings: "wdth" 108; margin: 48px 0 16px; }
.prose p { color: #33404F; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #33404F; }
.prose .spec { margin: 8px 0 12px; font-size: 16px; }
.post-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding: 28px 30px; background: var(--white);
  clip-path: polygon(0 0, calc(100% - var(--cut-card)) 0, 100% var(--cut-card), 100% 100%, 0 100%);
}
.post-cta p { margin: 0; font-weight: 500; color: var(--navy); }
.more-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.site-header .nav { margin-left: auto; margin-right: 32px; }
@media (max-width: 1100px) { .nav { gap: 26px; } .site-header .nav { margin-right: 22px; } }
@media (max-width: 900px) { .site-header .nav { margin: 0; } }

/* Fixes */
.site dl { column-gap: 0; }
.site dd { padding-left: 16px; }
.section + .section--tight { padding-top: 0; }
.section--tight + .section--white, .section--tight + .section--navy { margin-top: 0; }
.post-card--empty { clip-path: none; }

/* Photo split with the image framed at its own proportions (for smaller source photos) */
.photo-split--framed { background: var(--paper); align-items: center; }
.photo-split--framed > img {
  height: auto; min-height: 0; width: calc(100% - clamp(24px, 5vw, 72px)); margin: var(--section) 0;
  clip-path: polygon(0 0, calc(100% - var(--cut-card)) 0, 100% var(--cut-card), 100% 100%, 0 100%);
}
.photo-split--framed.photo-split--reverse > img { justify-self: end; margin-right: clamp(24px, 5vw, 72px); }
@media (max-width: 900px) {
  .photo-split--framed > img, .photo-split--framed.photo-split--reverse > img { width: auto; margin: 40px var(--gutter) 0; aspect-ratio: auto; }
}

/* Long words in Turkish, Azerbaijani and Russian headings */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 480px) { html:not([lang="en"]) h1, html:not([lang="en"]) h2, html:not([lang="en"]) h3 { hyphens: auto; -webkit-hyphens: auto; } }
@media (max-width: 480px) {
  .display, .hero--page .display, .page-hero .display { font-size: clamp(30px, 9.2vw, 44px); }
  .h2 { font-size: clamp(28px, 8vw, 34px); }
}

/* Flags in the language switcher: flat, matte, thin edge */
.flag { display: inline-block; flex: none; width: 21px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(8, 33, 59, 0.14); line-height: 0; }
.flag svg { display: block; width: 100%; height: 100%; }
.has-hero .site-header:not(.is-solid) .lang-btn .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.lang-btn { gap: 9px; }
.lang-menu a { justify-content: flex-start; gap: 12px; }
.lang-menu a .code { margin-left: auto; }

/* =========================================================
   Orbit buttons: the logo ring around the arrow
   The cut-corner shape lives on ::before so the ring can
   break out of the button, like the ring around the K.
   ========================================================= */

:root {
  --orbit: url("../img/orbit.png");
}

.btn:not(.btn--ghost):not(.btn--outline-light) {
  --btn-bg: var(--navy); --btn-hover: var(--navy-deep); --btn-ring: #C46F2C;
  background: transparent; clip-path: none; overflow: visible;
}
.btn.btn--copper:not(.btn--ghost):not(.btn--outline-light) { --btn-bg: var(--copper); --btn-hover: var(--copper-dark); --btn-ring: #fff; }
.btn.btn--light:not(.btn--ghost):not(.btn--outline-light) { --btn-bg: var(--white); --btn-hover: var(--paper-deep); --btn-ring: var(--copper); }

.btn:not(.btn--ghost):not(.btn--outline-light)::before,
.btn:not(.btn--ghost):not(.btn--outline-light)::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.btn:not(.btn--ghost):not(.btn--outline-light)::before { z-index: -2; background: var(--btn-bg); transform: none; }
.btn:not(.btn--ghost):not(.btn--outline-light)::after {
  z-index: -1; background: var(--btn-hover);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}
.btn:not(.btn--ghost):not(.btn--outline-light):hover { background: transparent; }
.btn:not(.btn--ghost):not(.btn--outline-light):hover::after { transform: scaleX(1); }

/* Arrow cell with the orbit ring */
.btn .arrow { position: relative; background: none; margin-left: 12px; width: 56px; }
.btn:hover .arrow { background: none; }
.btn .arrow::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 48px; margin: -25px 0 0 -27px;
  background: var(--btn-ring, var(--copper));
  -webkit-mask: var(--orbit) center / contain no-repeat; mask: var(--orbit) center / contain no-repeat;
  transform: rotate(0deg); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1);
  pointer-events: none;
}
.btn:hover .arrow::before { transform: rotate(-10deg) scale(1.04); }
.btn .arrow svg { position: relative; width: 17px; height: 17px; }
.btn:hover .arrow svg { transform: translateX(4px); }
.nav .btn .arrow { display: none; }

@media (prefers-reduced-motion: reduce) {
  .btn .arrow::before, .btn .arrow svg { transition: none; }
}

/* ---------- Footer: five columns ---------- */
.site-footer .top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
.site-footer .bottom a { color: rgba(255, 255, 255, 0.6); }
@media (max-width: 1100px) { .site-footer .top { grid-template-columns: 1fr 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0;
  font-size: 18px; font-weight: 500; color: var(--navy); font-variation-settings: "wdth" 104;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background: var(--ring) center / contain no-repeat; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.faq-item[open] summary::after { transform: rotate(90deg); }
.faq-item > div { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- Glossary ---------- */
.glossary-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glossary-list a {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 26px 26px;
  background: var(--white); text-decoration: none; color: inherit;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: background-color .2s;
}
.glossary-list a:hover { background: var(--paper-deep); }
.glossary-list b { font-size: 18px; font-weight: 600; color: var(--navy); font-variation-settings: "wdth" 106; }
.glossary-list span { font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .glossary-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .glossary-list { grid-template-columns: 1fr; } }
.term-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.prose .term-links li { padding: 0; margin: 0; }
.prose .term-links li::before { display: none; }
.term-links a {
  display: inline-block; padding: 8px 14px; font-size: 15px; text-decoration: none; color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s, color .2s;
}
.term-links a:hover { box-shadow: inset 0 0 0 1px var(--copper); color: var(--copper-dark); }
.prose a:not(.btn):not(.term-links a) { color: var(--navy); text-decoration-color: var(--copper); text-underline-offset: 3px; }

.resource-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; }

/* ---------- Tools ---------- */
.tool { padding: clamp(24px, 3.5vw, 40px); background: var(--paper); clip-path: polygon(0 0, calc(100% - var(--cut-card)) 0, 100% var(--cut-card), 100% 100%, 0 100%); }
.section:not(.section--white) .tool { background: var(--white); }
.tool--small { max-width: 460px; }
.tool-units { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tool-units label { cursor: pointer; }
.tool-units input { position: absolute; opacity: 0; pointer-events: none; }
.tool-units span { display: inline-block; padding: 9px 14px; font-size: 14.5px; font-weight: 500; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); transition: all .2s; }
.tool-units input:checked + span { background: var(--navy); color: var(--white); box-shadow: none; }
.tool-units input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.field .u { font-weight: 400; color: var(--muted); }
.tool-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 26px; background: var(--line); }
.tool-out div { padding: 18px 18px 16px; background: var(--white); }
.section--white .tool-out div { background: var(--white); }
.tool-out span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.tool-out b { font: 500 clamp(22px, 2.4vw, 30px) var(--mono); color: var(--navy); letter-spacing: -0.02em; }
.tool-out small { margin-left: 6px; font-size: 14px; color: var(--muted); }
.tool-error { margin-top: 14px; font-size: 14.5px; color: #A33A1B; }
.mesh-table tr.is-hit th, .mesh-table tr.is-hit td { color: var(--copper-dark); font-weight: 600; }
.mesh-table tr.is-hit { background: rgba(178, 106, 40, 0.08); }

/* ---------- Facts ---------- */
.facts td { text-align: left !important; }
.facts th { width: 34%; vertical-align: top; }

/* ---------- Map click-to-load ---------- */
.map-embed { position: relative; min-height: 320px; display: grid; place-items: center; }
.map-load {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 26px; border: 0; cursor: pointer;
  background: var(--white); color: var(--navy); font: 500 16px var(--font);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.map-load small { font-size: 13px; font-weight: 400; color: var(--muted); }
.map-embed iframe { position: absolute; inset: 0; height: 100%; }

/* ---------- 404 ---------- */
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.formula-mark--small { font-size: clamp(90px, 16vw, 200px); color: var(--paper-deep); margin-bottom: 8px; }
.section:not(.section--white) .tool .field input,
.section:not(.section--white) .tool .field select { background: var(--paper); }
.prose .spec--facts td:not(:last-child) { color: var(--navy); font-weight: 500; }
.prose .spec th[scope="col"]:not(:first-child) { text-align: left; }
.prose .spec td { text-align: left; }
.prose .spec:not(.spec--facts) td:last-child, .prose .spec:not(.spec--facts) th[scope="col"]:last-child { text-align: right; }
.spec--facts thead th, .spec thead th { font-family: var(--font); }
@media (max-width: 480px) {
  .btn { max-width: 100%; text-align: left; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
}
.more-head .link { white-space: nowrap; flex: none; }

/* =========================================================
   Articles
   ========================================================= */

.read-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--copper); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Author row */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.author-chip { display: flex; align-items: center; gap: 14px; }
.author-chip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--copper); }
.author-chip b { display: block; font-size: 15.5px; color: var(--navy); font-weight: 600; }
.author-chip span { font-size: 14px; color: var(--muted); }
.byline-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14.5px; color: var(--muted); }
.byline-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.byline-meta > span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); margin-right: 12px; }

/* Layout with sticky contents */
.post-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 64px; justify-content: center; }
.post-layout > .prose { padding-left: 0; padding-right: 0; }
.post-aside { padding-top: clamp(48px, 6vw, 80px); }
.post-aside-inner { position: sticky; top: calc(var(--header) + 32px); }
.toc p { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.02em; }
.toc ol { counter-reset: toc; border-left: 1px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a {
  position: relative; display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--navy); }
.toc a.is-active { color: var(--navy); font-weight: 600; border-left-color: var(--copper); }
.share { margin-top: 36px; }
.share p { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.share-row { display: flex; gap: 8px; }
.share-row a, .share-row button {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; cursor: pointer;
  background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .2s, color .2s, box-shadow .2s;
}
.share-row a:hover, .share-row button:hover { background: var(--navy); color: var(--white); box-shadow: none; }
.share-row svg { width: 17px; height: 17px; }
.share-row button.is-copied { background: var(--copper); color: var(--white); box-shadow: none; }
@media (max-width: 1060px) {
  .post-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
  .post-aside { order: 2; padding-top: 0; padding-bottom: 32px; }
  .post-aside .toc { display: none; }
  .post-aside-inner { position: static; }
}

/* Quick answer and key takeaways */
.quick-answer, .takeaways { margin: 0 0 40px; padding: 26px 28px; background: var(--white); clip-path: polygon(0 0, calc(100% - var(--cut-card)) 0, 100% var(--cut-card), 100% 100%, 0 100%); }
.quick-answer { border-left: 3px solid var(--copper); }
.quick-answer > p:first-child, .takeaways > p:first-child { font-size: 13px; font-weight: 600; color: var(--copper-dark); margin-bottom: 10px; letter-spacing: 0.02em; }
.quick-answer p { color: var(--ink); }
.prose .takeaways ul { margin: 0; }
.prose .takeaways li { margin-bottom: 8px; }

/* Big numbers */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 36px 0; background: var(--line); }
.stat-row div { padding: 22px 20px; background: var(--paper); }
.stat-row b { display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--navy); font-variation-settings: "wdth" 112; }
.stat-row span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.stat-row sup a { text-decoration: none; }

/* Bar chart */
.chart { margin: 36px 0; padding: 26px 28px 22px; background: var(--white); }
.chart figcaption { margin-bottom: 18px; }
.chart figcaption b { display: block; font-size: 17px; color: var(--navy); font-variation-settings: "wdth" 104; }
.chart figcaption span { font-size: 14px; color: var(--muted); }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 12px; font-size: 14.5px; }
.bar > span:first-child { color: var(--ink); }
.bar i { display: block; height: 14px; background: var(--paper-deep); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.bar.is-hl i::after { background: var(--copper); }
.chart.is-in .bar i::after { transform: scaleX(1); }
.bar b { font: 500 14px var(--mono); color: var(--navy); text-align: right; }
.chart .note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 520px) { .bar { grid-template-columns: 92px 1fr 54px; font-size: 13.5px; } .chart { padding: 22px 18px; } }

/* Citations and sources */
.prose sup { font-size: 0.68em; top: -0.5em; position: relative; vertical-align: baseline; }
.prose sup a { color: var(--copper-dark); text-decoration: none; font-weight: 600; padding: 0 1px; }
.sources { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.prose .sources h2 { font-size: 20px; margin-top: 0; }
.sources ol { counter-reset: src; margin: 0; }
.prose .sources li { counter-increment: src; position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 10px; }
.prose .sources li::before { content: counter(src); position: absolute; left: 0; top: 1px; font: 600 13px var(--mono); color: var(--copper-dark); background: none; width: auto; height: auto; }
.sources li:target { background: rgba(178, 106, 40, 0.1); }
.prose .sources a { word-break: break-word; }

/* Article FAQ */
.prose .faq { margin-top: 12px; }
.prose .faq-item summary { font-size: 17px; }

/* Author bio */
.author-card { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; margin-top: 56px; padding: 26px 28px; background: var(--white); clip-path: polygon(0 0, calc(100% - var(--cut-card)) 0, 100% var(--cut-card), 100% 100%, 0 100%); }
.author-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-card p { margin: 0; font-size: 15.5px; color: var(--muted); }
.author-card .who { font-size: 13px; font-weight: 600; color: var(--copper-dark); margin-bottom: 4px; }
.author-card b { display: block; font-size: 19px; color: var(--navy); font-variation-settings: "wdth" 106; margin-bottom: 6px; }
@media (max-width: 520px) { .author-card { grid-template-columns: 64px 1fr; } .author-card img { width: 64px; height: 64px; } }

/* Closing call to action */
.closing-cta { position: relative; margin-top: 40px; padding: clamp(28px, 4vw, 44px); background: var(--navy); color: rgba(255, 255, 255, 0.8); overflow: hidden; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.closing-cta::before { content: ""; position: absolute; right: -60px; bottom: -70px; width: 300px; height: 260px; background: var(--copper); opacity: 0.16; -webkit-mask: var(--orbit) center / contain no-repeat; mask: var(--orbit) center / contain no-repeat; }
.prose .closing-cta h2 { margin: 0 0 12px; color: var(--white); font-size: clamp(24px, 2.6vw, 32px); }
.prose .closing-cta p { color: rgba(255, 255, 255, 0.78); }
.closing-cta ul.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 30px; }
.prose .closing-cta ul.trust li { padding: 14px 14px 14px 16px; margin: 0; background: rgba(255, 255, 255, 0.06); font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.prose .closing-cta ul.trust li::before { display: none; }
.closing-cta ul.trust b { display: block; font-size: 22px; color: var(--white); font-weight: 500; font-variation-settings: "wdth" 110; }
.closing-cta .actions { margin-top: 0; position: relative; }
.closing-cta .btn--outline-light { min-height: 54px; }
@media (max-width: 640px) { .closing-cta ul.trust { grid-template-columns: 1fr; } }

/* Blog index: featured post and filters */
.post-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); text-decoration: none; color: inherit; margin-bottom: 36px; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
.post-feature img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.post-feature .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.post-feature .cat { font-size: 14px; color: var(--copper-dark); font-weight: 500; margin-bottom: 12px; }
.post-feature h2 { font-size: clamp(28px, 3vw, 40px); font-variation-settings: "wdth" 110; letter-spacing: -0.015em; margin-bottom: 16px; }
.post-feature p { color: var(--muted); }
.post-feature .link { margin-top: 26px; align-self: flex-start; }
.post-feature:hover .link { background-size: 100% 1.5px, 100% 1px; }
.post-feature .mini-author { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.post-feature .mini-author img { width: 32px; height: 32px; min-height: 0; border-radius: 50%; }
@media (max-width: 900px) { .post-feature { grid-template-columns: 1fr; } .post-feature img { min-height: 0; aspect-ratio: 16 / 9; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  padding: 9px 16px; border: 0; cursor: pointer; font: 500 14.5px var(--font); color: var(--navy);
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); transition: all .2s;
}
.filters button:hover { box-shadow: inset 0 0 0 1px var(--navy); }
.filters button.is-on { background: var(--navy); color: var(--white); box-shadow: none; }
.post-card[hidden] { display: none; }
.post-card .mini-meta { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.byline-meta i { font-style: normal; }
@media (min-width: 1061px) {
  .post .post-head .wrap--narrow { max-width: calc(1014px + 2 * var(--gutter)); padding-left: calc(var(--gutter) + 294px); }
  .post .post-head .wrap--narrow > * { max-width: 720px; }
}
.post-card .mini-meta i { font-style: normal; }

/* Buttons: the logo ring stands on its own, no arrow inside it */
.btn .arrow svg { display: none; }
.btn .arrow { width: 52px; margin-left: 10px; }

/* =========================================================
   Pebble shapes: opposite corners rounded, like a tumbled stone.
   Replaces the cleaved-corner clip paths everywhere.
   ========================================================= */

:root {
  --peb: 20px 6px 20px 6px;         /* buttons */
  --peb-s: 12px 4px 12px 4px;       /* chips, inputs, small controls */
  --peb-card: 40px 10px 40px 10px;  /* cards and framed images */
  --peb-xl: 64px 14px 64px 14px;    /* large feature panels */
}

.btn, .btn::before, .btn::after,
.product, .tile, .event, .method, .site, .callout, .form, .post-card, .gallery figure, .media,
.post-cta, .lang-menu, .glossary-list a, .tool, .map-load, .quick-answer, .takeaways,
.author-card, .closing-cta, .post-feature, .photo-split--framed > img, .chart, .stat-row {
  clip-path: none !important;
}

/* Buttons */
.btn { border-radius: var(--peb); }
.btn:not(.btn--ghost):not(.btn--outline-light)::before,
.btn:not(.btn--ghost):not(.btn--outline-light)::after { border-radius: var(--peb); }
.btn--ghost, .btn--outline-light { overflow: hidden; }
.btn--ghost::after, .btn--outline-light::after { display: none; }
.btn--ghost::before, .btn--outline-light::before { border-radius: inherit; }
.nav .btn { border-radius: 16px 5px 16px 5px; }

/* Cards and panels */
.product, .tile, .event, .method, .site, .callout, .form, .post-card, .gallery figure, .media,
.post-cta, .glossary-list a, .tool, .quick-answer, .takeaways, .author-card, .chart {
  border-radius: var(--peb-card); overflow: hidden;
}
.closing-cta, .post-feature { border-radius: var(--peb-xl); overflow: hidden; }
.photo-split--framed > img { border-radius: var(--peb-xl); }
.quick-answer { border-left: 0; box-shadow: inset 4px 0 0 var(--copper); }
.stat-row { border-radius: var(--peb-card); overflow: hidden; }
.lang-menu { border-radius: 22px 6px 22px 6px; }
.map-load { border-radius: var(--peb); }
.map-embed { border-radius: var(--peb-card); }
.post-image img { border-radius: 0; }

/* Small controls */
.field input, .field select, .field textarea { border-radius: var(--peb-s); }
.chips li, .filters button, .tool-units span, .term-links a, .share-row a, .share-row button { border-radius: var(--peb-s); }
.compbar { border-radius: var(--peb-s); }
.closing-cta ul.trust li { border-radius: var(--peb-s); }
.flag { border-radius: 3px; }
.prose ol.checklist { counter-reset: none; margin: 0 0 1.2em; padding: 0; list-style: none; }
.prose ol.checklist li { position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--line); margin: 0; }
.prose ol.checklist li::before {
  content: counter(list-item); position: absolute; left: 0; top: 14px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 12px 4px 12px 4px; background: var(--navy); color: var(--white);
  font: 600 14px var(--font);
}
.prose ol.checklist li strong { display: block; color: var(--navy); margin-bottom: 4px; }

/* =========================================================
   Blog front page: news layout
   ========================================================= */

.news-masthead { background: var(--white); padding: clamp(36px, 5vw, 56px) 0 0; border-bottom: 1px solid var(--line); }
.news-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.news-top p { margin: 0; }
.news-date { font-weight: 600; color: var(--navy); }
.news-title {
  margin: clamp(22px, 3vw, 34px) 0 clamp(18px, 2.4vw, 28px); font-size: clamp(46px, 8vw, 112px); line-height: 0.9;
  font-variation-settings: "wdth" 118; letter-spacing: -0.035em; color: var(--navy);
}
.news-sections { display: flex; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; border-top: 3px solid var(--navy); }
.news-sections::-webkit-scrollbar { display: none; }
.news-sections a { flex: none; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.news-sections a:hover { border-color: var(--copper); }

.news-front { background: var(--white); padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 72px); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); }
.news-lead { text-decoration: none; color: inherit; display: block; }
.news-lead > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--peb-xl); transition: opacity .3s; }
.news-lead:hover > img { opacity: 0.92; }
.news-lead .body { padding-top: 22px; }
.news-lead h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; margin: 12px 0 14px; }
.news-lead:hover h2 { text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.news-lead p { color: var(--muted); font-size: 18px; max-width: 40em; }
.news-lead .mini-author { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.news-lead .mini-author img { width: 32px; height: 32px; aspect-ratio: 1; border-radius: 50%; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; font-size: 13.5px; color: var(--muted); }
.news-meta .cat { color: var(--copper-dark); font-weight: 600; margin: 0; }
.news-meta i { font-style: normal; }
.news-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); margin-right: 14px; vertical-align: middle; }

.news-latest h2, .wire h2 { font-size: 13px; letter-spacing: 0.04em; font-weight: 700; color: var(--copper-dark); padding-bottom: 12px; border-bottom: 3px solid var(--navy); margin-bottom: 4px; }
.news-latest ol { counter-reset: lt; }
.news-latest li { border-bottom: 1px solid var(--line); }
.news-latest a { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 16px 0; text-decoration: none; color: inherit; }
.news-latest img { width: 92px; height: 72px; object-fit: cover; border-radius: 16px 4px 16px 4px; }
.news-latest h3 { font-size: 16.5px; line-height: 1.3; margin-top: 6px; font-variation-settings: "wdth" 104; }
.news-latest a:hover h3 { color: var(--copper-dark); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-data { background: var(--navy); color: rgba(255, 255, 255, 0.78); padding: clamp(36px, 5vw, 56px) 0; }
.news-data-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.news-data-head h2 { color: var(--white); font-size: clamp(22px, 2.4vw, 30px); font-variation-settings: "wdth" 110; }
.news-data-head p { margin: 0; font-size: 14.5px; }
.data-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.data-tile {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; text-decoration: none;
  background: rgba(255, 255, 255, 0.06); border-radius: var(--peb-card); transition: background-color .2s;
}
.data-tile:hover { background: rgba(255, 255, 255, 0.12); }
.data-tile span { font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.data-tile b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.05; color: var(--white); font-variation-settings: "wdth" 112; letter-spacing: -0.015em; }
.data-tile small { margin-top: auto; font-size: 12.5px; color: #E2A86E; }
@media (max-width: 960px) { .data-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .data-tiles { grid-template-columns: 1fr; } }

.news-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.news-section + .news-section { margin-top: clamp(48px, 6vw, 72px); }
.news-section-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 22px; border-bottom: 3px solid var(--navy); }
.news-section-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-variation-settings: "wdth" 110; }
.news-section-head span { font-size: 14px; color: var(--muted); }
.news-section-head i { font-style: normal; }
.news-main .posts { grid-template-columns: repeat(2, 1fr); }
.news-main .post-card .news-meta { margin-bottom: 10px; }
.news-rail { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 20px; }
.wire ol { position: relative; }
.wire > p { font-size: 14px; color: var(--muted); margin: 10px 0 6px; }
.wire li { position: relative; padding: 14px 0 14px 20px; border-bottom: 1px solid var(--line); }
.wire li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.wire li:first-child::before { box-shadow: 0 0 0 4px rgba(178, 106, 40, 0.22); animation: wirePulse 2.4s ease-in-out infinite; }
@keyframes wirePulse { 50% { box-shadow: 0 0 0 7px rgba(178, 106, 40, 0.06); } }
.wire time { display: block; font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.wire a { display: block; font-size: 15px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.wire a:hover { color: var(--copper-dark); }
.wire small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.rail-box { padding: 22px 24px 24px; background: var(--white); border-radius: var(--peb-card); }
.rail-box h3 { font-size: 18px; margin-bottom: 6px; font-variation-settings: "wdth" 106; }
.rail-box p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.rail-box--navy { background: var(--navy); }
.rail-box--navy h3 { color: var(--white); }
.rail-box--navy p { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 1060px) { .news-columns { grid-template-columns: 1fr; } .news-rail { position: static; } }
@media (max-width: 680px) { .news-main .posts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wire li:first-child::before { animation: none; } }

/* Galleries inside articles */
.inline-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 36px; }
.inline-gallery figure { margin: 0; border-radius: var(--peb-card); overflow: hidden; background: var(--navy-deep); }
.inline-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inline-gallery figcaption { padding: 10px 14px 12px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 520px) { .inline-gallery { grid-template-columns: 1fr; } }

/* =========================================================
   WhatsApp, mobile action bar, consent, breadcrumbs, team
   ========================================================= */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: flex; align-items: center; gap: 0; text-decoration: none;
  filter: drop-shadow(0 10px 22px rgba(8, 33, 59, 0.22));
}
.wa-icon {
  display: grid; place-items: center; width: 62px; height: 62px; color: #fff; background: #25D366;
  border-radius: 24px 8px 24px 8px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background-color .2s;
}
.wa-icon svg { width: 32px; height: 32px; }
.wa-label {
  display: flex; flex-direction: column; justify-content: center; height: 52px; padding: 0 18px 0 18px; margin-right: -10px;
  background: var(--white); color: var(--navy); border-radius: 18px 0 0 18px; white-space: nowrap;
  max-width: 0; padding-left: 0; padding-right: 0; opacity: 0; overflow: hidden;
  transition: max-width .4s ease, opacity .3s ease, padding .4s ease;
}
.wa-label b { font-size: 14.5px; font-weight: 600; }
.wa-label small { font-size: 12.5px; color: var(--muted); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label, .wa-float.is-peek .wa-label { max-width: 260px; opacity: 1; padding: 0 24px 0 18px; }
.wa-float:hover .wa-icon { transform: rotate(-6deg) scale(1.05); background: #1ebe5b; }
.wa-icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 28px 10px 28px 10px; border: 2px solid #25D366; opacity: 0;
  animation: waRing 3.2s ease-out 2s 3;
}
.wa-icon { position: relative; }
@keyframes waRing { 0% { opacity: .7; transform: scale(.9); } 70%, 100% { opacity: 0; transform: scale(1.25); } }

.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
    display: grid; grid-template-columns: 1fr 52px 52px; gap: 8px; padding: 8px;
    background: rgba(255, 255, 255, 0.97); border-radius: 24px 8px 24px 8px;
    box-shadow: 0 12px 30px rgba(8, 33, 59, 0.22);
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobile-bar.is-on { transform: none; }
  .mb-quote {
    display: grid; place-items: center; min-height: 48px; border-radius: 18px 6px 18px 6px;
    background: var(--copper); color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: none;
  }
  .mb-icon { display: grid; place-items: center; border-radius: 18px 6px 18px 6px; background: var(--navy); color: #fff; }
  .mb-icon svg { width: 22px; height: 22px; }
  .mb-wa { background: #25D366; }
  .mb-wa svg { width: 26px; height: 26px; }
  .site-footer { padding-bottom: 84px; }
  body.menu-open .mobile-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-icon::after { animation: none; } .mobile-bar { transition: none; } }

.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 420px; padding: 20px 22px;
  background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); font-size: 14.5px; border-radius: var(--peb-card);
  box-shadow: 0 16px 40px rgba(8, 33, 59, 0.3);
}
.consent a { color: #E2A86E; }
.consent-actions { display: flex; gap: 10px; margin-top: 14px; }
.consent .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 760px) { .consent { right: 16px; bottom: 90px; max-width: none; } }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: 0.5; }
.hero .crumbs, .hero .crumbs a { color: rgba(255, 255, 255, 0.75); }
.hero .crumbs a:hover { color: #fff; }
.news-masthead .crumbs { margin-bottom: 14px; }

.dir-link { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--copper-dark) !important; text-decoration: underline !important; text-underline-offset: 3px; }

.team { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.person { display: grid; grid-template-columns: 200px 1fr; background: var(--paper); border-radius: var(--peb-card); overflow: hidden; }
.person img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.person .body { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; }
.person .role { color: var(--copper-dark); font-weight: 600; font-size: 15px; margin: 6px 0 12px; }
.person p { color: var(--muted); font-size: 16px; }
.person .link { align-self: flex-start; margin-top: 8px; }
.person--team { grid-template-columns: 1fr; background: var(--navy); }
.person--team h3 { color: var(--white); }
.person--team p { color: rgba(255, 255, 255, 0.72); }
.person--team .link { color: var(--white); background: linear-gradient(#E2A86E, #E2A86E) left bottom / 0 1.5px no-repeat, linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) left bottom / 100% 1px no-repeat; }
.person-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } .person img { aspect-ratio: 4 / 3; } }
.section--flush { padding-top: 0; }

.page-hero--thanks { min-height: 70vh; }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; max-width: 980px; }
.thanks-steps div { padding: 22px 22px 20px; background: var(--paper); border-radius: var(--peb-card); }
.thanks-steps b { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 12px 4px 12px 4px; background: var(--navy); color: #fff; }
.thanks-steps p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .thanks-steps { grid-template-columns: 1fr; } }
.product:not(:has(> .body)) { padding: clamp(28px, 3.5vw, 44px); }
.product .tag { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.product--navy .tag { color: rgba(255, 255, 255, 0.68); }
.bar { grid-template-columns: 120px 1fr auto; }
.bar b { min-width: 52px; }
@media (max-width: 520px) { .bar { grid-template-columns: 84px 1fr auto; gap: 10px; } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } }

/* =========================================================
   Article header v2: compact, aligned, contained image
   ========================================================= */
.post .post-head { background: var(--paper); padding: clamp(32px, 4.5vw, 56px) 0 clamp(24px, 3vw, 36px); }
.post .post-head .wrap--narrow,
.post .post-image { max-width: calc(1014px + 2 * var(--gutter)); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 1061px) {
  .post .post-head .wrap--narrow { padding-left: var(--gutter); }
  .post .post-head .wrap--narrow > * { max-width: 860px; }
}
.post .back { margin-bottom: 24px; }
.post .display--post { font-size: clamp(34px, 4.4vw, 56px); }
.post .post-head .lead { margin-top: 18px; max-width: 760px; }
.post .byline { margin-top: 26px; padding-top: 0; border-top: 0; }
.post .post-image { background: transparent; }
.post .post-image img { width: 100%; height: auto; aspect-ratio: 21 / 9; max-height: 460px; object-fit: cover; border-radius: var(--peb-xl); }
.post .post-aside { padding-top: clamp(40px, 5vw, 64px); }
.post .post-layout > .prose { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .post .post-image img { aspect-ratio: 16 / 10; border-radius: var(--peb-card); } }
.news-masthead { padding-top: clamp(20px, 3vw, 32px); }
.news-title { margin-top: 0; }

/* Key figures (company page) */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.figure { padding: 28px 26px 26px; background: var(--paper); border-radius: var(--peb-card); }
.figure strong {
  display: block; font-size: clamp(40px, 4.6vw, 60px); font-weight: 500; line-height: 1;
  font-variation-settings: "wdth" 112; letter-spacing: -0.025em; color: var(--navy);
}
.figure:first-child { background: var(--navy); }
.figure:first-child strong { color: var(--white); }
.figure:first-child span { color: rgba(255, 255, 255, 0.72); }
.figure span { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); max-width: 16em; }
@media (max-width: 860px) { .figures { grid-template-columns: 1fr 1fr; } }
.section--flush-top { padding-top: 0; }
.section--white + .section--flush-top { padding-top: var(--section); }

/* Contact tiles in the closing call to action */
.contact-tiles { display: grid; gap: 10px; width: 100%; max-width: 420px; justify-self: end; }
.contact-tile {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  border-radius: 22px 6px 22px 6px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color .25s, transform .25s, box-shadow .25s;
}
.contact-tile:hover { background: rgba(255, 255, 255, 0.16); transform: translateX(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.ct-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px 5px 16px 5px; background: var(--copper); color: #fff; }
.ct-icon svg { width: 22px; height: 22px; }
.contact-tile--wa .ct-icon { background: #25D366; }
.contact-tile--wa .ct-icon svg { width: 26px; height: 26px; }
.ct-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-text small { font-size: 12.5px; color: rgba(255, 255, 255, 0.65); }
.ct-text b { font-size: 16.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .contact-tiles { justify-self: start; } }
.site-footer .bottom a { display: inline-block; padding: 12px 0; margin: -12px 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { hyphens: manual; -webkit-hyphens: manual; }
html:not([lang="ru"]) .lang-menu a[lang="ru"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

/* Designer credit: same size and colour as the copyright line */
.site-footer .bottom a.credit { color: inherit; font-size: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; white-space: nowrap; }
.site-footer .bottom a.credit:hover { color: #fff; text-decoration-color: currentColor; }
@media (max-width: 760px) { .site-footer .credit-line { flex-basis: 100%; } }
@media (min-width: 761px) { .site-footer .bottom { padding-right: 84px; } }
