/* ============================================================
   INTERNATIONAL CAPITAL CIRCLE — website
   Variant I  "Bone"    — ICC brand palette (default)
   Variant II "Gallery" — white, 1:1 with rh-45.com
   ============================================================ */

:root {
  --bg: #F4F1EA;
  --bg-alt: #EDE8DE;
  --ink: #1A1A18;
  --stone: #8A857B;
  --muted: #6E6A61;
  --accent: #6B2433;
  --accent-ink: #F4F1EA;
  --hair: rgba(26, 26, 24, 0.16);
  --band-bg: #1A1A18;
  --band-ink: #F4F1EA;
  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

html[data-variant="2"] {
  --bg: #FFFFFF;
  --bg-alt: #F6F6F5;
  --ink: #171717;
  --stone: #8C8C8C;
  --muted: #5C5C5C;
  --accent: #171717;
  --accent-ink: #FFFFFF;
  --hair: rgba(0, 0, 0, 0.12);
  --band-bg: #111111;
  --band-ink: #F5F5F3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  overflow-x: clip;
}

/* guard against grid/flex min-content blowout on narrow screens */
.pillar, .col, .def > *, .step > div, .split > *, .insight-row > *, .footer-grid > * { min-width: 0; }

/* ---- language switching ---- */
html[data-lang="en"] .bg { display: none !important; }
html[data-lang="bg"] .en { display: none !important; }

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

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 6vw; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 6vw; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  padding: 2.6rem 0 0;
  background: var(--bg);
  position: relative;
  z-index: 20;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 3vw;
}

.header-side { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; }
.header-side.right { text-align: right; }

.lang-switch button {
  background: none; border: none; cursor: pointer;
  font: 300 0.68rem var(--sans);
  letter-spacing: 0.22em;
  color: var(--stone);
  padding: 0.75rem 0.5rem;
  text-transform: uppercase;
}
.lang-switch button.active { color: var(--ink); }
.lang-switch .sep { color: var(--hair); margin: 0 0.35rem; }

.members-link {
  color: var(--stone);
  transition: color 0.3s;
  white-space: nowrap;
}
.members-link:hover { color: var(--accent); }

.logo {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.4vw, 1.65rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em; /* optically re-centre tracked text */
  color: var(--ink);
  white-space: nowrap;
}
.logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.52em;
  text-indent: 0.52em;
  color: var(--stone);
  margin-top: 0.55rem;
  text-transform: uppercase;
}

.site-nav {
  margin-top: 2.1rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2.6rem;
  padding: 1.05rem 2vw;
}
.site-nav a {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s;
}
.site-nav a:hover, .site-nav li.current a { color: var(--accent); }
html[data-variant="2"] .site-nav a:hover,
html[data-variant="2"] .site-nav li.current a { opacity: 0.45; }

.nav-toggle { display: none; }

/* Discover Sofia sits in the main menu on every size, in garnet */
.site-nav .nav-discover a { color: var(--accent); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  margin: 1.6rem 3vw 0;
  height: min(78vh, 720px);
  overflow: hidden;
  background: var(--band-bg);
}
.hero.short { height: min(56vh, 480px); }

.hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) sepia(0.10) contrast(1.02) brightness(0.82);
}
.hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* lighter grade than stills - the dusk footage is already muted */
  filter: grayscale(0.2) contrast(1.02) brightness(0.9);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,24,0.18), rgba(26,26,24,0.05) 40%, rgba(26,26,24,0.55));
}

.hero-inner {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #F6F3EC;
  padding: 0 8vw;
}

.hero-line1 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}
/* All three hero lines share the size of "PRIVATE CAPITAL" (line 1) — client request July 2026 */
.hero-line2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  letter-spacing: 0.04em;
  margin: 0.3rem 0;
}
.hero-line3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.15;
}

.hero-sub {
  max-width: 620px;
  margin-top: 1.4rem;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(246, 243, 236, 0.92);
}

.hero-caption {
  position: absolute;
  left: 1.4rem; bottom: 1.1rem;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.65);
}

/* ============================================================
   Sections
   ============================================================ */

section { padding: 4.2rem 0; }
section.tight { padding: 2.8rem 0; }

.eyebrow {
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 2.2rem;
  text-align: center;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 1px; height: 2.4rem;
  background: var(--hair);
  margin: 1.4rem auto 0;
}

.mixed {
  font-family: var(--serif);
  font-weight: 400;
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0.05em;
}
.mixed em {
  display: block;
  font-style: italic;
  font-size: 0.62em;
  letter-spacing: 0.03em;
  text-transform: none;
}
.mixed span { text-transform: uppercase; }
/* three straight uppercase lines, same size as the hero's "BUILT IN SOFIA" */
.mixed-flat { letter-spacing: 0.05em; line-height: 1.25; }
.mixed-flat .inline-em { display: inline; font-size: 0.75em; }

.lede {
  max-width: 720px;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 1.02rem;
  line-height: 2;
  color: var(--muted);
}
.lede strong { font-weight: 400; color: var(--ink); }

.read-more {
  display: inline-block;
  margin-top: 2.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding: 0.4rem 0 0.5rem;
  transition: color 0.3s, border-color 0.3s;
}
.read-more:hover { color: var(--accent); }
.center { text-align: center; }

/* ---- split rows (image + text) ---- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split + .split { margin-top: 4rem; }
.split.flip .split-media { order: 2; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.35) sepia(0.10) contrast(1.02);
}
.split-media figcaption {
  margin-top: 0.7rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.split-body .mixed { text-align: left; }
.split-body .mixed em { display: block; }
.split-body p {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.95;
  max-width: 44ch;
}
.split-body .read-more { margin-top: 2rem; }

/* ---- pillars ---- */

.pillars {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--bg);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* three pillars since July 2026 (Discretion removed) */
}
.pillar {
  padding: 2.4rem 2rem;
  text-align: center;
}
.pillar + .pillar { border-left: 1px solid var(--hair); }
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.pillar p {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--stone);
  line-height: 1.8;
}

/* ---- statement band ---- */

.band {
  background: var(--band-bg);
  color: var(--band-ink);
  text-align: center;
  padding: 3.5rem 0;
}
html[data-variant="1"] .band.garnet { background: var(--accent); color: var(--accent-ink); }
/* All site quotes share the hero-headline size (client request July 2026) */
.band .statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.9vw, 2.2rem);
  line-height: 1.6;
  letter-spacing: 0.03em;
  max-width: 26em;
  margin: 0 auto;
}
.band .statement em { font-style: italic; }
.band .attribution {
  margin-top: 2rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---- three columns ---- */

.cols3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  margin-top: 2.4rem;
}
.col {
  border-top: 1px solid var(--ink);
  padding-top: 1.8rem;
}
.col .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--stone);
}
.col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
}
.col .col-kicker {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.5rem;
}
html[data-variant="2"] .col .col-kicker { color: var(--stone); }
.col p {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ---- elegant numbered steps ---- */

.steps { margin-top: 2.2rem; }
.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--hair);
}
.step:last-child { border-bottom: 1px solid var(--hair); }
.step .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--stone);
  line-height: 1.2;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
.step p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ---- definition rows (what we are not / exclusions) ---- */

.defs { margin-top: 2rem; }
.def {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--hair);
}
.def:last-child { border-bottom: 1px solid var(--hair); }
.def h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
}
.def p { font-size: 0.88rem; color: var(--muted); }

/* ---- insights list ---- */

.insights-list { margin-top: 2.2rem; border-top: 1px solid var(--hair); }
.insight-row {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--hair);
  transition: opacity 0.3s;
}
a.insight-row:hover { opacity: 0.55; }
.insight-row .src {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.insight-row h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.insight-row .date {
  font-size: 0.72rem;
  color: var(--stone);
  white-space: nowrap;
}
.insight-row .lock {
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--hair);
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}
html[data-variant="2"] .insight-row .lock { color: var(--stone); }

/* ---- soft close ---- */

.soft-close {
  text-align: center;
  padding: 4rem 0;
}
.soft-close .statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.9vw, 2.2rem);
  line-height: 1.55;
  max-width: 24em;
  margin: 0 auto;
}
.soft-close .statement em { font-style: italic; }
/* Discover Sofia keeps its original type scale (client 6 Aug 2026) */
.page-discover .soft-close .statement,
.page-discover .band .statement { font-size: clamp(1.4rem, 3.4vw, 2.6rem); }
.soft-close p.note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--stone);
}

/* ---- page hero (inner pages) ---- */

.page-title {
  text-align: center;
  padding: 3.2rem 0 0;
}
.page-title .eyebrow { margin-bottom: 1.2rem; }
.page-title h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.page-title h1 em { font-style: italic; letter-spacing: 0.02em; }
.page-title .lede { margin-top: 2rem; }

/* ---- enquire form ---- */

.form-wrap { max-width: 560px; margin: 2.4rem auto 0; }
.field { margin-bottom: 2.2rem; }
.field label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.7rem;
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hair);
  font: 300 1rem var(--sans);
  color: var(--ink);
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }

.phone-row { display: flex; gap: 1.4rem; align-items: flex-end; }
.phone-row input { flex: 1; min-width: 0; }

/* Discover Sofia: venue names - garnet, map pin, external link */
.venue {
  color: var(--accent);
  font-weight: 400;
  white-space: nowrap;
  border-bottom: 1px solid rgba(107, 36, 51, 0.35);
  transition: border-color 0.3s;
}
.venue:hover { border-color: var(--accent); }
.venue .ico {
  width: 0.8em; height: 0.8em;
  display: inline-block;
  vertical-align: -0.06em;
  margin-right: 0.28em;
}

/* ---- dial-code combobox: flag + code closed, searchable list open ---- */
.dial-box { position: relative; width: 8.6rem; flex: 0 0 auto; }
.dial-btn {
  display: flex; align-items: center; gap: 0.55rem; width: 100%;
  /* Safari keeps the system button font unless appearance is stripped */
  appearance: none; -webkit-appearance: none; border-radius: 0;
  background: transparent; border: none; border-bottom: 1px solid var(--hair);
  font: 300 1rem var(--sans); color: var(--stone);
  letter-spacing: normal; text-align: left;
  padding: 0.5rem 0; cursor: pointer; outline: none;
  transition: border-color 0.3s;
}
.dial-btn:focus { border-color: var(--accent); }
.dial-btn .df { font-size: 1.05rem; line-height: 1; }
.dial-chev {
  margin-left: auto; width: 10px; height: 6px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238A857B' stroke-width='1'/%3E%3C/svg%3E") no-repeat center / 10px 6px;
}
.dial-pop {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0;
  width: min(21rem, 86vw);
  background: var(--bg); border: 1px solid var(--hair);
  box-shadow: 0 18px 44px rgba(26, 26, 24, 0.14);
  padding: 0.7rem 0.9rem 0.5rem;
}
.dial-search {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--hair);
  font: 300 16px var(--sans); color: var(--ink);
  padding: 0.4rem 0 0.5rem; outline: none;
}
.dial-search::placeholder { color: var(--stone); }
.dial-search:focus { border-color: var(--accent); }
.dial-list {
  list-style: none; margin: 0.4rem 0 0; padding: 0;
  max-height: 15.5rem; overflow-y: auto;
}
.dial-list li {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem 0.35rem; cursor: pointer;
  font: 300 0.9rem var(--sans); color: var(--ink);
}
.dial-list .df { font-size: 1rem; line-height: 1; }
.dial-list .dn { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dial-list .dc { margin-left: auto; color: var(--stone); font-size: 0.8rem; }
.dial-list li:hover, .dial-list li.on { background: var(--bg-alt); }

.btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font: 300 0.66rem var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.1rem 3.2rem;
  cursor: pointer;
  transition: all 0.35s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.form-note {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--stone);
  line-height: 1.9;
}

/* the Enquire confirmation deserves a voice of its own */
.form-sent {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.7;
  padding: 2.4rem 0 1.2rem;
}
.form-fail {
  font-size: 0.85rem;
  color: var(--accent);
}

/* ---- members gate ---- */

.gate {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0 1rem;
}
.gate .field { text-align: left; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--hair);
  margin-top: 2.5rem;
  padding: 3rem 0 2.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.8fr;
  gap: 3rem;
}
.footer-col a[href^="mailto:"] { white-space: nowrap; }
.footer-brand .logo {
  text-align: left;
  font-size: 1rem;
  letter-spacing: 0.32em;
  text-indent: 0;
}
.footer-brand p {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--stone);
  max-width: 34ch;
  line-height: 1.9;
  /* centred under the logo — ragged left-aligned lines made the centred logo read as off-axis */
  text-align: center;
}
.footer-col h4 {
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.4rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a, .footer-col span {
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.82rem;
  color: var(--ink);
  transition: color 0.3s;
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--accent); }

.footer-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.1em;
  row-gap: 0.7em;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-pillars span { white-space: nowrap; }

/* Partner wordmarks (Website UPDATE 2) — text placeholders until logo use is cleared */
.footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 1.1em;
  row-gap: 0.5em;
  margin-top: 4.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-partners span { white-space: nowrap; }
.footer-partners .partners-label {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.08em;
  font-family: var(--serif);
}

/* Plain body note — matches the standard paragraph type of the page (client request) */
.plain-note {
  max-width: 720px;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink);
}
.plain-note strong { font-weight: 400; }

/* DISCOVER button as link */
.btn-link {
  display: inline-block;
  margin-top: 1.6rem;
  text-decoration: none;
}

/* Partnership note (About ICC) — justified block with centered last line + signature */
.partner-note {
  text-align: justify;
  text-align-last: center;
  hyphens: none;
}
.partner-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.partner-note a:hover { color: var(--accent); }
.partner-sig {
  margin-top: 2.4rem;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}
.partner-sig a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 133, 123, 0.45);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.partner-sig a:hover {
  color: var(--garnet);
  border-color: var(--garnet);
}

/* About ICC: the team list under the founder line */
.team-heading { margin-top: 3.2rem; margin-bottom: 0.4rem; }
.team-heading em, .team-heading em span { font-size: 1em; text-transform: none; }
.partner-sig.team-sig { margin-top: 1.6rem; }
/* About ICC: tighter vertical rhythm (client 6 Aug 2026) */
.page-network section { padding: 2rem 0; }
.page-network section.tight { padding: 1.2rem 0; }
.page-network .page-title { margin-bottom: 0; }
.page-network .uni-note { margin-top: 1rem; }
.page-network .partner-note { margin-top: 1.2rem; }
.page-network .partner-sig { margin-top: 1.4rem; }
.page-network .team-heading { margin-top: 1.4rem; margin-bottom: 0.2rem; }
.page-network .eyebrow { margin-bottom: 1.1rem; }
.page-network .eyebrow::after { height: 1.2rem; margin-top: 0.8rem; }

.team-note {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.founder-monogram {
  margin-top: 1.1rem;
  text-align: center;
  color: var(--garnet);
  user-select: none;
}
.founder-monogram .mono-m {
  display: block;
  font-family: 'Herr Von Muellerhoff', cursive;
  font-size: 4.6rem;
  line-height: 0.9;
}
.founder-monogram .mono-flourish {
  width: 150px;
  height: 17px;
  margin-top: -0.35rem;
}

/* Chart figures — market report (July 2026) */
.figure {
  margin: 2.2rem auto;
  max-width: 640px;
}
.figure .fig-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1.4rem;
  text-align: center;
}
.figure svg { display: block; width: 100%; height: auto; }
/* Charts placed inside a split column (Technology) — same figure voice, no photo treatment */
.chart-media svg { display: block; width: 100%; height: auto; }
.chart-media .fig-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.chart-media .fig-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--stone);
}
.figure--wide { max-width: 900px; margin: 2rem auto 0; }
section.flush-top { padding-top: 1.2rem; }
.figure .fig-note {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--stone);
  text-align: center;
}

/* Brand mark on the home page (Website UPDATE 2: "лого на главна страница") */
.brand-mark {
  display: block;
  margin: 0 auto 2.4rem;
  width: 172px;
  max-width: 48vw;
}

/* Animated ring logo (client request 26 Jul 2026): gold flows continuously
   through the upper and lower semicircles around the name */
.brand-mark-anim {
  width: min(320px, 70vw);
  margin: 0 auto 2.4rem;
}
.brand-mark-anim svg { display: block; width: 100%; height: auto; }
.brand-mark-anim .ring-name {
  font-family: var(--serif);
  fill: var(--ink);
}
.brand-mark-anim .ring-l1 { font-size: 42px; letter-spacing: 7px; }
.brand-mark-anim .ring-l2 { font-size: 40px; letter-spacing: 12px; }
.brand-mark-anim .ring-l3 { font-size: 40px; letter-spacing: 14px; }
.brand-mark-anim .ring-flow {
  stroke-dasharray: 200 800;
  animation: goldstream 6s linear infinite;
}
@keyframes goldstream {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1000; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark-anim .ring-flow { animation: none; stroke-dasharray: none; }
}

.footer-legal {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.68rem;
  color: var(--stone);
  line-height: 2;
}

/* ============================================================
   Prototype variant switcher (review aid — not part of design)
   ============================================================ */

.proto-switch {
  position: fixed;
  bottom: 1.2rem; right: 1.2rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  opacity: 0.85;
}
.proto-switch span { padding: 0 0.4rem; opacity: 0.55; text-transform: uppercase; }
.proto-switch button {
  background: none; border: 1px solid transparent;
  color: inherit; cursor: pointer;
  font: 400 0.62rem var(--sans);
  border-radius: 1rem;
  padding: 0.45rem 0.8rem;
  opacity: 0.6;
}
.proto-switch button.active {
  border-color: currentColor;
  opacity: 1;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: none; grid-column: 1 / -1; }
  .pillar { border-top: 1px solid var(--hair); }
  .pillar:nth-child(-n+2) { border-top: none; }
  .cols3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .insight-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .def { grid-template-columns: 1fr; gap: 0.5rem; }

  .header-top { grid-template-columns: auto 1fr auto; }
  .logo { letter-spacing: 0.22em; text-indent: 0.22em; }
  .lang-switch { display: flex; align-items: center; white-space: nowrap; }

  .nav-toggle {
    display: block;
    background: none; border: none; cursor: pointer;
    font: 300 0.68rem var(--sans);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--hair);
    margin-top: 2rem;
  }
  .site-nav { margin-top: 0; display: none; border-top: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 0; padding: 0.6rem 0 1.2rem; }
  .site-nav li { padding: 0.55rem 0; }

  .hero { margin: 1.6rem 3vw 0; height: 66vh; }
  section { padding: 3rem 0; }
}

@media (max-width: 600px) {
  .site-header { padding-top: 1.8rem; }
  .header-top { grid-template-columns: 1fr; justify-items: center; row-gap: 0.9rem; }
  .header-side.right { display: none; }
  .logo { font-size: 0.82rem; letter-spacing: 0.2em; text-indent: 0.2em; }
  .logo small { font-size: 0.5rem; letter-spacing: 0.34em; text-indent: 0.34em; }
  .hero-sub { font-size: 0.78rem; line-height: 1.7; margin-top: 1rem; padding: 0 1.2rem; }
  .hero { height: 66vh; }
  .nav-toggle { margin-top: 1.4rem; }
  /* phone: the footer brand block (gold logo + line beneath) is hidden on
     ALL pages - client request 6 Aug 2026 */
  .footer-brand { display: none; }
  /* home, phone: the three pillars stay only in the footer line - client 6 Aug */
  .page-home .pillars { display: none; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 2.4rem 1.5rem; }
  .pillars-grid .pillar + .pillar { border-left: none; border-top: 1px solid var(--hair); }
  .pillars-grid .pillar:first-child { border-top: none; }

  .step { grid-template-columns: 3rem 1fr; gap: 1.2rem; }
  .band .statement { font-size: 1.25rem; }
}

.corp-details {
  margin-top: 1rem;
  text-align: center;
  color: var(--stone);
  font-size: 0.78rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.corp-details .eyebrow { margin-bottom: 1.2rem; }
.corp-details p + p { margin-top: 1.1rem; }

.with-ico { display: inline-flex; align-items: center; gap: 0.45em; }
.with-ico .ico {
  width: 0.85em;
  height: 0.85em;
  flex: none;
  opacity: 0.75;
}
.with-ico:hover .ico { opacity: 1; }

.uni-note {
  max-width: 720px;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.uni-note strong { font-weight: 400; }

.access-list {
  margin-top: 2.6rem;
  text-align: center;
}
.access-lead {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.1rem;
}
.access-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.access-list li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 2.2;
  color: var(--ink);
}
.access-list li::before {
  content: "·";
  color: var(--garnet);
  margin-right: 0.6em;
}

/* Investments: tight, centred rhythm (client 18 Aug 2026) */
.page-invest .page-title { margin-bottom: 0; }
.page-invest .page-title .lede { margin-top: 1.4rem; }
.page-invest section.flush-top { padding-top: 0.6rem; padding-bottom: 1.6rem; }
.page-invest section.flush-top .lede { margin-top: 0; }
.page-invest .access-list { margin-top: 1.6rem; }
.page-invest .plain-note { margin-top: 1.4rem; }
.page-invest section { padding: 2.2rem 0; }
.page-invest .eyebrow { margin-bottom: 1.4rem; }
.page-invest .eyebrow::after { height: 1.4rem; margin-top: 0.9rem; }

.band-sub {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* Membership: one paragraph voice — same size, weight and colour everywhere */
.page-membership .lede,
.page-membership .def p,
.page-membership .col p,
.page-membership .step p,
.page-membership .plain-note,
.page-membership .access-list li {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink);
}


.footer-logo-link {
  /* the legal line below is capped at 34ch - centre the logo over that block, not the column */
  display: flex;
  justify-content: center;
  font-size: 0.78rem;
  width: 34ch;
  max-width: 100%;
  margin: 0 0 1.1rem;
}
.footer-logo {
  display: block;
  width: 92px;
  height: auto;
  transition: opacity 0.25s ease;
}
.footer-logo-link:hover .footer-logo { opacity: 0.8; }

/* ============================================================
   Arabic (ar) - third language, 21 Aug 2026. RTL + Arabic fonts.
   Self-hosted Amiri (display) + Noto Sans Arabic (text); Latin glyphs
   inside Arabic spans still come from the Latin subsets of these fonts.
   ============================================================ */
html[data-lang="ar"] .en:not(.ar-keep),
html[data-lang="ar"] .bg { display: none !important; }
html[data-lang="en"] .ar,
html[data-lang="bg"] .ar { display: none !important; }
html[data-lang="ar"] .ar-keep { display: block !important; }

html[data-lang="ar"] {
  --serif: "Amiri", "Playfair Display", "Times New Roman", serif;
  --sans: "Noto Sans Arabic", "Inter", "Helvetica Neue", Arial, sans-serif;
}
html[data-lang="ar"] body { font-size: 17px; line-height: 1.95; }
/* Arabic script must never be letter-spaced (breaks the joined letterforms)
   and italics are not idiomatic - keep the weight contrast, drop the slant. */
html[data-lang="ar"] .ar { letter-spacing: 0 !important; text-indent: 0; font-style: normal; }
html[data-lang="ar"] em .ar, html[data-lang="ar"] .ar em { font-style: normal; }
html[data-lang="ar"] .lang-switch button[data-lang="ar"] { letter-spacing: 0; font-size: 0.8rem; font-family: var(--sans); }
.lang-switch button[data-lang="ar"] { text-transform: none; letter-spacing: 0; font-family: "Noto Sans Arabic", "Inter", sans-serif; font-size: 0.78rem; }
/* the Latin wordmark stays Latin, tracked, centred - unaffected by dir */
html[data-lang="ar"] .logo { direction: ltr; }
/* mirrored alignments */
html[data-lang="ar"] .split-body .mixed { text-align: right; }
html[data-lang="ar"] .split-body { text-align: right; }
html[data-lang="ar"] .header-side.right { text-align: left; }
html[data-lang="ar"] .hero-caption { left: auto; right: 1.4rem; }
/* headings: a touch larger line-height for Arabic ascenders/descenders */
html[data-lang="ar"] .mixed, html[data-lang="ar"] h1, html[data-lang="ar"] h2, html[data-lang="ar"] h3 { line-height: 1.45; }
html[data-lang="ar"] .hero-line1, html[data-lang="ar"] .hero-line2, html[data-lang="ar"] .hero-line3 { line-height: 1.4; }
/* Arabic: the menu, header and footer follow the standard Arabic (RTL) order -
   first item on the right, as on Saudi/Gulf sites. Client decision, 21 Aug 2026
   (revised the same day from an LTR menu). */
html[data-lang="ar"] .site-nav a, html[data-lang="ar"] .header-side { unicode-bidi: plaintext; }
/* Arabic: Latin-only strings inside the Arabic layer (addresses, names,
   dial codes, e-mails) keep their own left-to-right reading order. */
html[data-lang="ar"] .ar { unicode-bidi: plaintext; }
html[data-lang="ar"] .dial-box, html[data-lang="ar"] .dial-btn, html[data-lang="ar"] .phone-row input { direction: ltr; }
html[data-lang="ar"] .phone-row { flex-direction: row-reverse; }

/* founder's handwritten signature under the name (About ICC) */
/* the signature is a CSS background, not an <img>: no "Save image", no drag, no selection */
.founder-sig { display: block; width: 240px; aspect-ratio: 1502 / 463; margin: 0.6rem auto 0; opacity: 0.95;
  background: url("../img/sig-michaela.png") center / contain no-repeat;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }

/* ============================== "Intelligence, at work" campaign (membership) */
.camp-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  /* centre the active slide; the neighbours peek, dimmed, on both sides */
  padding: 8px calc(50% - min(440px, 82vw) / 2); }
.camp-rail::-webkit-scrollbar { display: none; }
.camp-slide { position: relative; flex: 0 0 min(440px, 82vw); aspect-ratio: 1 / 1;
  background: #161412; color: #F4F1EA; overflow: hidden; scroll-snap-align: center;
  display: flex; flex-direction: column; justify-content: flex-end; }
.camp-rail::after { content: ""; flex: 0 0 1px; } /* breathing room at the end */
.camp-slide { transition: opacity 0.4s, transform 0.4s; }
.camp-slide:not(.is-mid) { opacity: 0.55; transform: scale(0.94); }
.camp-tag { position: absolute; top: 20px; inset-inline-start: 24px; z-index: 3; margin: 0;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,241,234,0.85); }
.camp-photo { position: absolute; inset: 0; z-index: 0;
  background: center / cover no-repeat; }
.camp-i1 .camp-photo { background-image: url("../img/camp-1.jpg"); }
.camp-i2 .camp-photo { background-image: url("../img/camp-2.jpg"); }
.camp-i3 .camp-photo { background-image: url("../img/camp-3.jpg"); }
.camp-i4 .camp-photo { background-image: url("../img/camp-4.jpg"); }
.camp-s1 .camp-photo { background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 96%); }
.camp-s1 .camp-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,20,18,0.30), rgba(22,20,18,0.55)); }
.camp-split .camp-photo { inset-inline-end: 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 97%); }
.camp-split .camp-photo::after { content: ""; position: absolute; inset: 0;
  background: rgba(22,20,18,0.34); }
.camp-body { position: relative; z-index: 2; padding: 0 24px 4px; }
.camp-h { font-family: "Playfair Display", serif; font-weight: 500; margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 1.85rem); line-height: 1.16; letter-spacing: 0.01em; }
.camp-h em { font-style: italic; }
.camp-up { text-transform: uppercase; font-style: normal; letter-spacing: 0.04em; }
.camp-q { font-family: "Playfair Display", serif; font-style: italic; margin: 0;
  font-size: clamp(1.02rem, 2.2vw, 1.22rem); line-height: 1.34; }
.camp-q::after { content: ""; display: block; width: 44px; height: 2px; background: #6B2433; margin: 12px 0 14px; }
.camp-p { margin: 0; font-size: 0.74rem; line-height: 1.65; color: rgba(244,241,234,0.82); max-width: 52ch; }
.camp-foot { position: relative; z-index: 2; display: flex; justify-content: space-between;
  margin: 0; padding: 13px 24px 16px; font-size: 0.55rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(244,241,234,0.5); }
/* slide 2: the memoranda stack */
.camp-memos { position: absolute; z-index: 2; top: 13%; inset-inline-end: 6%;
  width: 42%; height: 46%; pointer-events: none; }
.memo { position: absolute; width: 58%; height: 72%; border: 1px solid rgba(244,241,234,0.32);
  background: rgba(22,20,18,0.62); padding: 9px 10px; }
.memo span { display: block; font-size: 0.48rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244,241,234,0.62); border-bottom: 1px solid rgba(244,241,234,0.25); padding-bottom: 7px; }
.memo i { position: absolute; bottom: 12%; inset-inline-start: 13%; width: 9px; height: 9px;
  border-radius: 50%; background: #6B2433; }
.memo:nth-child(1) { top: 0; inset-inline-start: 0; }
.memo:nth-child(2) { top: 13%; inset-inline-start: 20%; }
.memo:nth-child(3) { top: 26%; inset-inline-start: 40%; }
.memo-iii { position: absolute; bottom: -4%; inset-inline-end: 0; font-family: "Playfair Display", serif;
  font-weight: 400; font-size: 1.5rem; color: rgba(244,241,234,0.35); }
/* slide 3: the benchmark chart */
.camp-chart { position: absolute; z-index: 2; top: 15%; inset-inline-end: 26px; width: 46%; }
.camp-ct { margin: 0 0 12px; font-size: 0.53rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244,241,234,0.6); }
.crow { display: grid; grid-template-columns: 30% 1fr auto; align-items: center; gap: 8px;
  margin: 7px 0; font-size: 0.6rem; color: rgba(244,241,234,0.66); }
.crow .cl { text-align: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crow i { display: block; height: 15px; background: #3B3733; width: var(--w); }
.crow.hl i { background: #6B2433; }
.crow.hl { color: rgba(244,241,234,0.92); }
.crow .cv { font-size: 0.58rem; white-space: nowrap; }
.camp-cn { margin: 10px 0 0; font-size: 0.53rem; color: rgba(244,241,234,0.4); }
/* rail controls */
.camp-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.camp-btn { all: unset; cursor: pointer; color: #6B2433; font-size: 0.95rem; line-height: 1;
  padding: 7px 13px; border: 1px solid rgba(107,36,51,0.4); transition: background 0.2s, color 0.2s; }
.camp-btn:hover { background: #6B2433; color: #F4F1EA; }
.camp-dots { display: flex; gap: 8px; }
.camp-dots i { width: 6px; height: 6px; border-radius: 50%; background: #CFC9BC; }
.camp-dots i.on { background: #6B2433; }
@media (max-width: 560px) {
  .camp-slide { aspect-ratio: 4 / 5; }
  .camp-body { padding: 0 20px 4px; }
  .camp-tag { top: 18px; inset-inline-start: 20px; }
  .camp-foot { padding: 12px 20px 16px; letter-spacing: 0.2em; }
  .camp-chart { width: 52%; inset-inline-end: 14px; top: 12%; }
  .camp-memos { inset-inline-end: 4%; }
}
/* Arabic: Amiri carries no italics worth keeping - straighten the serif lines */
html[data-lang="ar"] .camp-q, html[data-lang="ar"] .camp-h em { font-style: normal; }
