/* --------------------------------------------------------------------------
   Site-wide additions on top of main.css:
   partner logo wall, blog directory, single post.
   Depends on main.css for tokens (:root), .container, .editorial,
   .gold-shimmer, .eyebrow, .btn, .gala-section, .filter-chip, .gala-frame.
   -------------------------------------------------------------------------- */

/* ==========================================================================
   0. Gold shimmer — descender fix

   .gold-shimmer paints its gradient with `background-clip: text`, so a glyph is
   only visible where the element's background box reaches. The display headings
   run at line-height 1, which cuts the box off at the baseline-ish and swallows
   the tails of g, y, p, q and j ("Ten years, eight countries."). Padding extends
   the painted box downward; no margin is touched, so nothing shifts sideways or
   loses its own spacing.
   ========================================================================== */

.gold-shimmer { padding-bottom: 0.2em; }

/* Stat figures are digits only — nothing to rescue, and the card rhythm is tight. */
.gala-stat-card__num.gold-shimmer,
.gala-hero__stats .gala-stat__num.gold-shimmer { padding-bottom: 0; }

/* ==========================================================================
   0b. Homepage calculator promo

   The card is a link, not a tool - the working calculator lives on
   /calculator/ - so it reads as a preview and behaves as one big target.
   ========================================================================== */

.calc-promo {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.calc-promo:hover {
  border-color: var(--gold-mid);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(7, 18, 12, 0.1);
}

.calc-promo__rows {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
}

.calc-promo__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}
.calc-promo__row + .calc-promo__row { border-top: 1px solid var(--rule); }

.calc-promo__row-name {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.calc-promo__row-value {
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.calc-promo__cta {
  margin-top: 26px;
  width: 100%;
  justify-content: center;
  pointer-events: none;
}

/* ==========================================================================
   1. Partner logo wall
   ========================================================================== */

.partner-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.partner-tile {
  background: var(--bg);
  min-height: 148px;
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  transition: background 0.22s ease;
}
.partner-tile:hover { background: var(--bg-alt); }

.partner-tile__logo {
  max-width: 130px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.partner-tile:hover .partner-tile__logo { filter: grayscale(0); opacity: 1; }

.partner-tile__name {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ==========================================================================
   2. Blog directory
   ========================================================================== */

/* The filter bar chips are links here rather than buttons. */
a.filter-chip { text-decoration: none; display: inline-flex; align-items: center; }

.blog-pagination {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.blog-pagination .page-numbers {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.18s ease;
}
.blog-pagination .page-numbers:hover { border-color: var(--gold-mid); color: var(--ink); }
.blog-pagination .page-numbers.current {
  border-color: var(--gold-mid);
  background: linear-gradient(180deg, #f6d97a 0%, #d4a830 50%, #b58320 100%);
  color: #0a1d13;
}

.blog-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
}

/* ==========================================================================
   3. Single post
   ========================================================================== */

.post-hero {
  position: relative;
  overflow: hidden;
  background: var(--gala-bg-1);
  color: #f3ebd9;
}

.post-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.62) saturate(0.95);
}
.post-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 29, 19, 0.5) 0%,
    rgba(10, 29, 19, 0.3) 30%,
    rgba(10, 29, 19, 0.95) 100%
  );
}
.post-hero .gala-particles-layer { position: absolute; inset: 0; }

.post-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 96px 0 64px;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 235, 217, 0.62);
  margin-bottom: 18px;
}
.post-hero__date { color: var(--gold-bright); }
.post-hero__dot { color: rgba(212, 168, 48, 0.7); }

.post-hero__h1 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 18ch;
}

.post-hero__lead {
  margin: 22px 0 0;
  max-width: 700px;
  font-size: clamp(17px, 1.6vw, 22px);
  font-style: italic;
  line-height: 1.4;
  color: rgba(243, 235, 217, 0.85);
}

/* ---------- Reading column ---------- */

.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.post-body > * + * { margin-top: 24px; }
.post-body p { margin: 0; }

.post-body h2,
.post-body h3,
.post-body h4 {
  font-family: var(--font-editorial);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 48px;
}
.post-body h2 { font-size: clamp(26px, 2.8vw, 36px); }
.post-body h3 { font-size: clamp(21px, 2.1vw, 27px); }
.post-body h4 { font-size: 19px; }

.post-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--gold-deep); }

.post-body ul,
.post-body ol { padding-left: 22px; }
.post-body li + li { margin-top: 8px; }

.post-body blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--gold-mid);
  font-family: var(--font-editorial);
  font-size: clamp(20px, 2.1vw, 26px);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}

.post-body img,
.post-body figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.post-body figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-editorial);
  color: var(--ink-soft);
  text-align: center;
}

.post-body hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 48px 0;
}

.post-tags {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   4. Header — Services dropdown
   ========================================================================== */

.site-nav__group { position: relative; }

.site-nav__parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.site-nav__parent svg { opacity: 0.55; transition: transform 0.2s ease; }
.site-nav__group:hover .site-nav__parent svg,
.site-nav__group:focus-within .site-nav__parent svg { transform: rotate(180deg); }

.site-nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 250px;
  padding: 10px;
  margin-top: 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(7, 18, 12, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}
/* Bridge the gap so the pointer can travel from the label to the panel. */
.site-nav__submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.site-nav__group:hover .site-nav__submenu,
.site-nav__group:focus-within .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav__submenu a {
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.site-nav__submenu a:hover { background: var(--bg-alt); color: var(--ink); }

.mobile-nav__child {
  padding-left: 16px !important;
  font-size: 14px !important;
  color: var(--ink-soft) !important;
}

@media (max-width: 980px) {
  .site-nav__submenu { display: none; }
}

/* ==========================================================================
   5. Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 96px;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px;
}

.contact-line {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.contact-line:first-of-type { border-top: none; padding-top: 0; }

.contact-line__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.contact-line__value {
  display: block;
  font-family: var(--font-editorial);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
a.contact-line:hover .contact-line__value { color: var(--gold-deep); }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.contact-note {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* ---------- Form ---------- */

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label,
.contact-form__full {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form label > span {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.contact-form textarea { resize: vertical; min-height: 110px; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(212, 168, 48, 0.14);
}

.contact-form__submit { align-self: flex-start; margin-top: 6px; }

.contact-form__msg {
  margin: 0;
  font-size: 14px;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.contact-form__msg.is-visible { opacity: 1; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.tasha-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form__note {
  margin: 0;
  font-size: 12px;
  font-style: italic;
  font-family: var(--font-editorial);
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-details { position: static; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   6. Business landing
   ========================================================================== */

.biz-section { padding: var(--section-pad) 0; }

.biz-h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.028em;
  font-weight: 400;
}

.biz-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.biz-head__note {
  max-width: 400px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Hero ---------- */

.biz-hero { position: relative; overflow: hidden; color: #f3ebd9; }

.biz-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 28%;
  opacity: 0.22;
}
.biz-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(33, 108, 74, 0.5) 0%, transparent 65%),
    linear-gradient(180deg, rgba(7, 18, 12, 0.85) 0%, rgba(7, 18, 12, 0.96) 100%);
}
.biz-hero .gala-particles-layer { position: absolute; inset: 0; }

.biz-hero__inner { position: relative; z-index: 1; padding: 104px 0 96px; }

.biz-hero__kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

.biz-hero__h1 {
  margin: 0 0 24px;
  max-width: 16ch;
  font-size: clamp(44px, 6.8vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.biz-hero__lead {
  margin: 0 0 36px;
  max-width: 680px;
  font-size: clamp(17px, 1.7vw, 22px);
  font-style: italic;
  line-height: 1.4;
  color: rgba(243, 235, 217, 0.85);
}

.biz-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Seven formats ---------- */

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

.biz-format {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.biz-format:hover { border-color: var(--gold-mid); transform: translateY(-3px); }

.biz-format__photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center 25%;
}

.biz-format__body { padding: 24px; }

.biz-format__num {
  display: block;
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.biz-format__name {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.biz-format__copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Cases ---------- */

.biz-cases { display: flex; flex-direction: column; gap: 20px; }

.biz-case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.biz-case--flip { grid-template-columns: 1fr 1.1fr; }
.biz-case--flip .biz-case__photo { order: 2; }

.biz-case__photo {
  min-height: 360px;
  background-size: cover;
  background-position: center 25%;
}

.biz-case__body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biz-case__index {
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.biz-case__client {
  margin: 0 0 18px;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 500;
}

.biz-case__block + .biz-case__block { margin-top: 14px; }
.biz-case__block--result { padding-top: 14px; border-top: 1px solid var(--rule); }

.biz-case__label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.biz-case__label--result { color: var(--green-deep); }

.biz-case__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.biz-case__text--result { font-weight: 500; }

/* ---------- Video testimonials ---------- */

.biz-testimonials__head { text-align: center; margin-bottom: 56px; }
.biz-testimonials__kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 217, 122, 0.85);
  margin-bottom: 16px;
}

.biz-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.biz-testimonial { overflow: hidden; background: rgba(7, 18, 12, 0.5); }

.biz-testimonial__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center 25%;
}
.biz-testimonial__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 18, 12, 0.8) 100%);
}

.biz-testimonial__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f6d97a, #d4a830);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(212, 168, 48, 0.35);
}

.biz-testimonial__body { padding: 18px 20px 20px; }
.biz-testimonial__who {
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 500;
  color: #f3ebd9;
}
.biz-testimonial__role {
  margin-top: 3px;
  font-size: 12.5px;
  color: rgba(243, 235, 217, 0.62);
}

.biz-testimonials__note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12.5px;
  font-style: italic;
  font-family: var(--font-editorial);
  color: rgba(243, 235, 217, 0.5);
}

/* ---------- Proposal ---------- */

.biz-proposal {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.biz-proposal__copy {
  margin: 20px 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.biz-proposal__list { margin: 0; padding: 0; list-style: none; }
.biz-proposal__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.biz-proposal__list li + li { margin-top: 12px; }
.biz-proposal__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-size: 12px;
}

@media (max-width: 900px) {
  .biz-hero__inner { padding: 80px 0 64px; }
  .biz-case,
  .biz-case--flip { grid-template-columns: 1fr; }
  .biz-case--flip .biz-case__photo { order: 0; }
  .biz-case__photo { min-height: 220px; }
  .biz-case__body { padding: 26px; }
  .biz-proposal { grid-template-columns: 1fr; gap: 40px; }
  .biz-section { padding: var(--section-pad-m) 0; }
}

/* ==========================================================================
   7. GTranslate popup switcher

   GTranslate prints its own <style> with the shortcode, i.e. later in the
   document than this file. Every rule below is therefore scoped through the
   .gt-switcher wrapper to out-specify it; `display` is left alone because the
   plugin's script toggles it inline.
   ========================================================================== */

.gt-switcher { line-height: 0; }

/* ---------- Trigger ---------- */

.gt-switcher .gt_switcher-popup {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.gt-switcher .gt_switcher-popup:hover {
  border-color: var(--gold-mid);
  background: var(--gold-soft);
}

.gt-switcher .gt_switcher-popup img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50%;
  opacity: 1 !important;
  flex: none;
}

/* The caret carries an inline colour from the plugin. */
.gt-switcher .gt_switcher-popup span:last-of-type {
  color: var(--gold-deep) !important;
  font-size: 9px !important;
  line-height: 1;
}

/* Dark footer variant */
.gt-switcher--footer { margin-top: 18px; }
.gt-switcher--footer .gt_switcher-popup {
  border-color: rgba(246, 217, 122, 0.3);
  color: #f3ebd9;
}
.gt-switcher--footer .gt_switcher-popup:hover {
  border-color: var(--gold-bright);
  background: rgba(246, 217, 122, 0.08);
}
.gt-switcher--footer .gt_switcher-popup span:last-of-type { color: var(--gold-bright) !important; }

/* ---------- Backdrop ---------- */

.gt-switcher .gt_black_overlay {
  background-color: rgba(7, 18, 12, 0.88) !important;
  opacity: 1 !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ---------- Panel ---------- */

.gt-switcher .gt_white_content {
  width: min(600px, calc(100vw - 40px)) !important;
  height: auto !important;
  max-height: min(74vh, 560px) !important;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  padding: 30px 30px 26px !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 1px solid var(--rule);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(7, 18, 12, 0.45);
  text-align: left !important;
}

/* Section label above the list. */
.gt-switcher .gt_white_content::before {
  content: "Select language";
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.gt-switcher .gt_white_content .gt_languages {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 2px;
  max-height: none !important;
  overflow: visible !important;
}

/* ---------- Language rows ---------- */

.gt-switcher .gt_white_content .gt_languages a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  border-bottom: none !important;
  border-radius: 4px;
  line-height: 1.2 !important;
  flex-basis: auto !important;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.gt-switcher .gt_white_content .gt_languages a:hover { background: var(--bg-alt); }

.gt-switcher .gt_white_content .gt_languages a img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50%;
  opacity: 1 !important;
  flex: none;
}

.gt-switcher .gt_white_content .gt_languages a span {
  margin-right: 0 !important;
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 500;
  color: var(--ink-soft);
  vertical-align: baseline !important;
}
.gt-switcher .gt_white_content .gt_languages a:hover span { color: var(--ink); }

.gt-switcher .gt_white_content .gt_languages a.gt-current-lang {
  background: var(--gold-soft);
  font-weight: 500 !important;
}
.gt-switcher .gt_white_content .gt_languages a.gt-current-lang span {
  color: var(--gold-deep);
  font-weight: 700;
}

/* Scrollbar in the site's palette. */
.gt-switcher .gt_white_content::-webkit-scrollbar { width: 6px; }
.gt-switcher .gt_white_content::-webkit-scrollbar-track { background: var(--bg-alt); }
.gt-switcher .gt_white_content::-webkit-scrollbar-thumb {
  background: var(--rule);
  border-radius: 3px;
}

@media (max-width: 600px) {
  .gt-switcher .gt_white_content { padding: 22px 20px 20px !important; }
  .gt-switcher .gt_white_content .gt_languages { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   8. Face-safe cropping

   Every photo frame in the theme is `cover` + `background-position: center`.
   On desktop those frames are wide and short, so a centred crop lands on the
   torso and cuts the heads off. Event photography puts faces in the upper
   third, so the crop is biased upward — and in the tiles where a caption sits
   along the bottom edge, that also moves faces clear of the overlay.
   ========================================================================== */

.service-card__photo,
.service-detail__photo,
.featured-event__photo,
.page-hero--gala .page-hero__photo,
.event-detail-hero__bg,
.event-video-poster__img {
  background-position: center 28%;
}

/* Small cards and tiles crop harder, so they need a stronger bias. */
.event-card__photo,
.past-event-tile__img,
.founder-photo {
  background-position: center 22%;
}

.event-gallery__item img,
.choice-block__img,
.portal-hero__slide {
  object-position: center 28%;
}

.post-hero__photo { background-position: center 25%; }

/* Portrait sources are already head-first; centring them is correct. */
.host-about__portrait,
.partner-tile__logo {
  background-position: center;
  object-position: center;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */

@media (max-width: 720px) {
  .partner-wall { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .partner-tile { min-height: 124px; padding: 20px 14px 16px; }
  .partner-tile__logo { max-width: 104px; max-height: 44px; }

  .post-hero__inner { min-height: 380px; padding: 72px 0 44px; }
  .post-body { font-size: 16.5px; }
  .blog-empty { padding: 32px 24px; }
}

/* ==========================================================================
   10. Client revision - hero lines, founder proof, stats note, cases
   ========================================================================== */

/* ---------- Hero: the brand thought and the positioning line ---------- */

.portal-hero__strapline {
  margin: 22px auto 0;
  max-width: 22ch;
  font-size: clamp(20px, 2.2vw, 30px);
  font-style: italic;
  line-height: 1.25;
  font-weight: 400;
  color: var(--gold-bright);
}

.portal-hero__positioning {
  margin: 18px auto 0;
  max-width: 640px;
  font-family: var(--font-ui);
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(243, 235, 217, 0.8);
}

/* ---------- Founder: concrete proof beside the brand quote ---------- */

.founder-proof {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.founder-proof li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.founder-proof li + li { margin-top: 10px; }
.founder-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1px;
  background: var(--gold-mid);
}

/* ---------- Stats: whose decade this is ---------- */

.gala-stats__note {
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243, 235, 217, 0.68);
}

/* ---------- Calculator: prices are indicative, said twice ---------- */

.bcalc__banner {
  margin: 18px auto 0;
  max-width: 620px;
  padding: 10px 18px;
  border: 1px solid rgba(246, 217, 122, 0.35);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(246, 217, 122, 0.07);
}

.bcalc__notice {
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

/* ---------- Homepage cases ---------- */

.home-cases { padding: var(--section-pad) 0; background: var(--bg-alt); }

.home-cases__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.home-cases__h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.028em;
  font-weight: 400;
}
.home-cases__note {
  max-width: 400px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

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

.home-case {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-case:hover { border-color: var(--gold-mid); transform: translateY(-3px); }

.home-case__photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center 25%;
}

.home-case__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }

.home-case__kind {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.home-case__city {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.home-case__facts {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-case__facts li {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink);
}

.home-case__scope {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .home-cases { padding: var(--section-pad-m) 0; }
}

/* Six nav items plus logo, language switcher and CTA get tight before the
   mobile breakpoint - tighten the spacing rather than let the row overflow. */
@media (max-width: 1200px) {
  .site-nav { gap: 20px; font-size: 13px; }
  .site-header__btn { padding: 12px 16px; font-size: 12px; }
}
@media (max-width: 1040px) {
  .site-nav { gap: 14px; font-size: 12.5px; }
}

/* The byline sits straight under the proof list - give the name room to breathe. */
.founder-byline { margin-top: 30px; }

/* ==========================================================================
   11. Testimonials - three across

   main.css fixes the grid at two columns, so a third review was orphaned on
   its own row and read as "there are only two". Let the row fit what it has.
   ========================================================================== */

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  gap: 36px;
}

/* Narrower columns need a smaller quote than the two-up layout assumed. */
.testimonials-grid .testimonial blockquote {
  font-size: clamp(16.5px, 1.35vw, 20px);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Footer columns: main.css assumes four. With the Attend column gone the row
   should fit what is actually there instead of leaving a hole on the right. */
.gala-footer__cols {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
