/*
Theme Name: Canary Bridge
Theme URI: https://canarybridge.nl
Author: Canary Bridge B.V.
Description: Custom landing page theme for Canary Bridge B.V. — built on the Meridian template aesthetic.
Version: 3.9.0
Text Domain: canarybridge
*/

/* ===== Fonts ===== */
@font-face{
  font-family:"Swansea";
  src:url("fonts/Swansea.ttf") format("truetype");
  font-weight:100 500;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Swansea";
  src:url("fonts/SwanseaBold.ttf") format("truetype");
  font-weight:600 900;
  font-style:normal;
  font-display:swap;
}

/* Canary Bridge B.V. — built on the Meridian template aesthetic */
:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #1a1a1a;
  --blue: #006cd2;
  --blue-dark: #0053a3;
  --headline-muted: #6b7378;
  --glass: rgba(0, 0, 0, 0.13);
  --glass-blur: 18px;
  --glass-light: rgba(255, 255, 255, 0.28);
  --radius: 0;
  --font: "Swansea", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Swansea", "Courier New", monospace;
  --pad-x: clamp(20px, 3.52vw, 64px);
  --nav-top: clamp(16px, 2.05vw, 28px);
  --btn-icon: 36px;
  --btn-pad-y: 12px;
  --btn-pad-x: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: var(--font) !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: pointer; background: none; color: inherit; }
img, svg { display: block; }

.page { position: relative; width: 100%; min-height: 100vh; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: var(--nav-top);
  left: var(--pad-x);
  right: var(--pad-x);
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__links {
  justify-self: start;
  display: flex;
  gap: clamp(22px, 2.6vw, 32px);
  padding: 22px 32px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 0;
}
.nav__links a {
  font-size: clamp(13px, 1.37vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0a0a0a;
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 2px;
  position: relative;
  display: inline-block;
  animation: link-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 3px;
  background: #006cd2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__links a:hover { color: #006cd2; transform: translateY(-2px); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a:nth-child(1) { animation-delay: 0.02s; }
.nav__links a:nth-child(2) { animation-delay: 0.08s; }

/* logo */
.logo {
  justify-self: center;
  display: inline-flex;
  color: #0a0a0a;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.logo .logo__mark { width: clamp(30px, 3.2vw, 38px); }
.logo:hover { transform: scale(1.1); }
.logo polygon {
  transform-box: fill-box;
  transform-origin: left center;
  animation: mark-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.logo polygon:nth-child(1) { animation-delay: 0.04s; }
.logo polygon:nth-child(2) { animation-delay: 0.09s; }
.logo polygon:nth-child(3) { animation-delay: 0.14s; }
.logo polygon:nth-child(4) { animation-delay: 0.19s; }
.logo polygon:nth-child(5) { animation-delay: 0.24s; }
.logo polygon:nth-child(6) { animation-delay: 0.29s; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  border-radius: 0;
  padding: var(--btn-pad-y) 10px var(--btn-pad-y) var(--btn-pad-x);
  gap: 18px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.btn:hover::before { transform: scaleX(1); }
.btn > * { position: relative; z-index: 1; }
.btn__icon {
  width: var(--btn-icon);
  height: var(--btn-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn__icon svg { width: 14px; height: 14px; }

.btn--nav { background: #006cd2; color: #fff; }
.btn--nav .btn__icon { background: #0053a3; color: #fff; }
.btn--nav::before { background: #004a96; }
.btn--nav:hover .btn__icon { background: #fff; color: #006cd2; }
.nav .btn--nav { animation: wipe-right 0.65s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.16s; }

.btn--light { background: #fff; color: #006cd2; }
.btn--light .btn__icon { background: #006cd2; color: #fff; }
.btn--light::before { background: #e8f2fb; }

.btn--ghost {
  padding: 12px 26px;
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.btn--ghost::before { background: rgba(255, 255, 255, 0.78); z-index: 0; }

.btn--outline {
  padding: 12px 26px;
  color: #0a0a0a;
  border: 1px solid rgba(10, 10, 10, 0.25);
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--outline::before { background: #0a0a0a; }
.btn--outline:hover { color: #fff; }
.nav .btn--outline { animation: wipe-right 0.65s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: 0.2s; }

/* burger */
.nav__burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  justify-self: end;
  animation: link-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: 0.16s;
  transition: transform 0.3s ease;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #0a0a0a;
  transition: background 0.3s ease, width 0.3s ease;
}
.nav__burger:hover { transform: scale(1.08); }
.nav__burger:hover span { background: #006cd2; }
.nav__burger:hover span:nth-child(1),
.nav__burger:hover span:nth-child(3) { width: 14px; }

.mobile-menu { display: none; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 16px 20px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.mobile-menu__links a, .mobile-menu__links button {
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  color: #0a0a0a;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: calc(var(--nav-top) + 72px) var(--pad-x) clamp(28px, 4.9vw, 48px);
}
.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 32%, #ffffff 0%, #fbeaea 16%, #e25555 52%, #8e1414 82%, #3a0606 100%);
}
.bg img {
  animation: bg-drift 11.3s ease-in-out infinite, bg-fade 11.3s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes bg-drift {
  0%   { transform: scale(1.1) translate3d(-1.6%, -1.2%, 0); }
  50%  { transform: scale(1.16) translate3d(1.6%, 1.2%, 0); }
  100% { transform: scale(1.1) translate3d(-1.6%, -1.2%, 0); }
}
@keyframes bg-fade {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.67; }
}
.hero__content { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: clamp(34px, 3.6vw, 42px);
  padding: 0 18px 0 14px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 108, 210, 0.2);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #1a1a1a;
  font-size: clamp(13px, 1.35vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.badge__square { width: 14px; height: 14px; background: #fff; border: 2px solid #006cd2; }

.headline {
  margin-top: clamp(22px, 2.8vw, 36px);
  font-size: calc(clamp(2.9rem, 5.9vw, 5rem) + 3px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.038em;
}
.headline__mask { display: block; overflow: hidden; }
.headline__rise {
  display: block;
  animation: type-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: var(--d);
}
.headline__line { white-space: nowrap; }
.headline__muted { color: #6b7378; font-weight: 600; }
.headline__accent { position: relative; color: #6b7378; }
.headline__accent::before,
.headline__accent::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
  animation: accent-fill 1.05s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.headline__accent::before { color: #7eb6ee; animation-delay: 0.7s; }
.headline__accent::after { color: #006cd2; animation-delay: 1.08s; }

.actions {
  display: flex;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 42px);
  flex-wrap: wrap;
}

.lede {
  position: relative;
  z-index: 1;
  margin-top: auto;
  max-width: 700px;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.lede__rise {
  display: block;
  animation: type-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: var(--d);
}
.lede strong { font-weight: 800; }

.wipe { animation: wipe-left 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: var(--d); }

/* ---------- company section ---------- */
.company {
  background: #ffffff;
  color: #0a0a0a;
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  scroll-margin-top: 90px;
  text-align: center;
}
.company__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #006cd2;
}
.company__eyebrow::before,
.company__eyebrow::after { content: ""; width: 28px; height: 1px; background: #006cd2; }
.company__title {
  margin: 18px auto 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.1;
  max-width: 900px;
}
.company__intro {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #4a4f54;
  line-height: 1.6;
}
.svc-list { margin-top: 56px; border-top: 1px solid #e6e8eb; }
.svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid #e6e8eb;
  transition: background 0.25s ease;
}
.svc:hover { background: #f6f8fb; }
.svc__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #9aa0a6;
}
.svc__body { display: flex; flex-direction: column; gap: 8px; }
.svc:not(.svc--feature) .svc__body { align-items: center; }
.svc__title {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}
.svc__desc { color: #5a6066; font-size: 15px; font-weight: 300; line-height: 1.55; max-width: 620px; }
.svc__tag {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #006cd2;
}
@media (min-width: 900px) {
  .svc { grid-template-columns: 60px 1.6fr 2fr; }
  .svc__body { grid-column: 2; }
  .svc__meta { grid-column: 3; align-self: center; }
}

/* feature service (07) */
.svc--feature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px 24px;
  align-items: start;
  text-align: left;
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid #d6dde3;
}
.svc--feature > *:not(.svc__bg) { position: relative; z-index: 1; }
.svc__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background: linear-gradient(110deg, #ffffff 0%, #d8dde3 25%, #ffffff 50%, #c9cfd6 75%, #ffffff 100%);
  background-size: 300% 100%;
  animation: svc-wave 8.5s ease-in-out infinite, svc-breathe 10s ease-in-out infinite;
  will-change: transform, opacity, background-position;
}
@keyframes svc-wave {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes svc-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.28; }
  50%      { transform: scale(1.05); opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .svc__bg { animation: none !important; opacity: 0.32; }
}
.svc--feature .svc__title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.svc--feature .svc__desc { max-width: 560px; }
.svc__chart { display: none; }
@media (min-width: 900px) {
  .svc--feature { grid-template-columns: 60px 1fr 1fr; }
  .svc--feature .svc__body { grid-column: 2; }
  .svc--feature .svc__chart { grid-column: 3; align-self: start; display: flex; flex-direction: column; gap: 8px; }
  .svc__chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}

/* growth chart */
.growth-chart {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  background: transparent;
  padding: 0;
}
.growth-chart__svg { width: 100%; height: auto; display: block; }
.growth-chart__label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.route-anim__label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.growth-chart__bar { transform-box: fill-box; transform-origin: bottom center; transform: scaleY(0); opacity: 0; }
.growth-chart__bar-val { opacity: 0; }
.growth-chart__peak-glow { opacity: 0; transform-box: fill-box; transform-origin: center; }
.growth-chart__shimmer { opacity: 0; transform-box: fill-box; transform-origin: left center; }

.growth-chart.is-visible .growth-chart__bar {
  animation: bar-grow 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: calc(var(--i) * 0.12s);
}
.growth-chart.is-visible .growth-chart__bar-val {
  animation: bar-val-in 4.8s ease infinite;
  animation-delay: calc(var(--i) * 0.12s + 0.3s);
}
.growth-chart.is-visible .growth-chart__peak-glow {
  animation: peak-pulse 2.2s ease-in-out infinite;
  animation-delay: 2.4s;
}
.growth-chart.is-visible .growth-chart__shimmer {
  animation: shimmer-sweep 4.8s ease-in-out infinite;
}
.growth-chart__delta { color: #0a0a0a; }

@keyframes bar-grow {
  0%   { transform: scaleY(0); opacity: 0; }
  10%  { opacity: 1; }
  38%  { transform: scaleY(1); }
  82%  { transform: scaleY(1); opacity: 1; }
  92%  { opacity: 0; transform: scaleY(1); }
  100% { transform: scaleY(0); opacity: 0; }
}
@keyframes bar-val-in {
  0%, 30% { opacity: 0; transform: translateY(4px); }
  42% { opacity: 1; transform: translateY(0); }
  82% { opacity: 1; }
  92% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes peak-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}
@keyframes shimmer-sweep {
  0%   { opacity: 0; transform: translateX(0); }
  20%  { opacity: 0.7; }
  60%  { opacity: 0.7; transform: translateX(230px); }
  80%  { opacity: 0; transform: translateX(230px); }
  100% { opacity: 0; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .growth-chart__bar { transform: scaleY(1) !important; opacity: 1 !important; animation: none !important; }
  .growth-chart__bar-val, .growth-chart__peak-glow, .growth-chart__shimmer { opacity: 1 !important; animation: none !important; }
}

/* route animation (07) */
.route-anim {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-top: 0;
}
.svc__chart-route { display: flex; flex-direction: column; gap: 4px; }
.route-anim__svg { width: 100%; height: auto; display: block; }
.route-anim__truck { animation: truck-move 4.5s linear infinite; }
@keyframes truck-move {
  0%   { transform: translateX(40px);  opacity: 1; }
  82%  { transform: translateX(300px); opacity: 1; }
  88%  { transform: translateX(300px); opacity: 0; }
  94%  { transform: translateX(40px);  opacity: 0; }
  100% { transform: translateX(40px);  opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .route-anim__truck { animation: none !important; transform: translateX(40px); }
}

.svc__note {
  margin-top: 10px;
  max-width: 100%;
  margin-left: 0;
  font-size: 13px;
  color: #5a6066;
  line-height: 1.5;
}
.svc__note-accent { color: #f97316; font-weight: 700; }

/* ---------- contact footer ---------- */
.contact {
  position: relative;
  background: #0a0a0a;
  color: #ffffff;
  padding: clamp(64px, 10vh, 110px) var(--pad-x) 48px;
  scroll-margin-top: 90px;
}
.contact__top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .contact__top { grid-template-columns: 1.4fr 1fr; }
}
.contact__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7378;
}
.contact__title {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.contact__blocks { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.contact__block { display: flex; flex-direction: column; gap: 4px; }
.contact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7378;
}
.contact__value { font-size: 15px; line-height: 1.6; color: #e6e8eb; }
.contact__value a { color: #e6e8eb; }
.contact__value a:hover { color: #fff; }
.contact__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 18px; }
.contact__row { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 18px; }
.contact__emails { display: flex; flex-direction: column; gap: 6px; text-align: right; margin-top: auto; }
.contact__email-line { font-size: 15px; line-height: 1.6; color: #ffffff; }
.contact__email-label { color: #6b7378; }
.contact__email-line a { color: #ffffff; }
.contact__email-line a:hover { color: #7eb6ee; }
.contact__email-link { color: #ffffff; }
.contact__email-link:hover { color: #7eb6ee; }
.contact__cards { display: flex; align-items: center; gap: 28px; margin-top: 8px; }
.contact__cards-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7378;
  margin-bottom: 14px;
}
.card-logo { height: 30px; width: auto; opacity: 0.85; filter: grayscale(1); }
.contact__reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s);
}
.contact.is-revealed .contact__reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .contact__reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.cb-policy-line a {
  color: #c0c4c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cb-policy-line a:hover { color: #ffffff; }
.cb-trustpilot {
  display: inline-block;
  margin-top: 28px;
  margin-left: -20px;
}
.contact__bottom {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7378;
}
.contact__brand { font-weight: 600; color: #c0c4c9; letter-spacing: -0.01em; }
.contact__social { display: flex; align-items: center; gap: 14px; }
.contact__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  color: #c0c4c9;
  border: none;
  background: transparent;
  border-radius: 12px;
  transition: color 0.22s ease, background 0.22s ease;
}
.contact__linkedin svg { width: 27px; height: 27px; }
.contact__linkedin:hover { color: #fff; background: rgba(10, 102, 194, 0.18); }

/* handwriting typing effect */
.contact__handwriting {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0;
  color: #ffffff;
  opacity: 0.15;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  width: 13ch;
  text-align: right;
  animation: cb-type 5s steps(13, end) infinite, cb-caret 0.75s step-end infinite;
}
@keyframes cb-type {
  0%   { clip-path: inset(0 0 0 100%); }
  45%  { clip-path: inset(0 0 0 0%); }
  55%  { clip-path: inset(0 0 0 0%); }
  100% { clip-path: inset(0 0 0 100%); }
}
@keyframes cb-caret {
  0%, 100% { border-color: transparent; }
  50%      { border-color: #ffffff; }
}
@media (prefers-reduced-motion: reduce) {
  .contact__handwriting { width: 13ch; animation: none; border-right-color: transparent; }
}

/* ---------- news ---------- */
.news__nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 7vh;
  min-height: 64px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.06);
}
.news__nav .logo { justify-self: start; color: #0a0a0a; }
.news__back {
  font-size: clamp(13px, 1.37vw, 15px);
  font-weight: 500;
  color: #0a0a0a;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease, border-color 0.22s ease;
}
.news__back:hover { color: #006cd2; border-color: #006cd2; }
.news-page {
  background: #ffffff;
  color: #0a0a0a;
  min-height: 100vh;
  padding: 7vh var(--pad-x) clamp(60px, 8vh, 100px);
}
.news__head { max-width: 900px; }
.cb-ethics-body {
  max-width: 760px;
  margin-top: 20px;
}
.cb-ethics-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1e5be0;
  margin: 36px 0 10px;
}
.cb-ethics-body h2:first-child { margin-top: 0; }
.cb-ethics-body p {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  color: #3a3f44;
  margin: 0 0 4px;
}
.cb-ethics-body a { color: #1e5be0; text-decoration: underline; }
.news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #006cd2;
}
.news__eyebrow::before { content: ""; width: 28px; height: 1px; background: #006cd2; }
.news__title {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.1;
}
.news__sub {
  margin-top: 16px;
  max-width: 640px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #4a4f54;
  line-height: 1.6;
}
.news__actions { margin-top: 28px; }
.news__grid {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: #e6e8eb;
  border-top: 1px solid #e6e8eb;
  border-bottom: 1px solid #e6e8eb;
}
@media (min-width: 860px) { .news__grid { grid-template-columns: 1fr 1fr; } }
.news__card {
  background: #ffffff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease;
}
.news__card:hover { background: #f6f8fb; }
.news__card-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa0a6;
}
.news__card-title {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}
.news__card-summary { color: #5a6066; font-size: 15px; line-height: 1.55; }
.news__card-author { font-size: 12px; color: #006cd2; font-weight: 600; letter-spacing: 0.04em; }
.news__empty { padding: 48px 0; color: #9aa0a6; font-size: 15px; }

/* ---------- modal / forms ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 10, 14, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade-in 0.3s ease both;
}
.modal-overlay.is-open {
  display: flex;
}
.modal {
  width: min(460px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: rgba(18, 20, 26, 0.55);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 34px 30px 30px;
  color: #ffffff;
  position: relative;
  animation: modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0;
  transition: color 0.2s ease;
}
.modal__close:hover { color: #fff; }
.modal__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7eb6ee;
}
.modal__title {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.modal__sub {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255, 255, 255, 0.4); font-size: 11px; margin-left: 4px; }
.field input, .field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  color: #ffffff;
  padding: 13px 14px;
  font-size: 16px;
  outline: none;
  font-family: var(--font);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.field input:focus, .field select:focus {
  border-color: #006cd2;
  background: rgba(255, 255, 255, 0.1);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { color: #0a0a0a; background: #ffffff; }
.form__submit {
  width: 100%;
  margin-top: 6px;
  height: 52px;
  background: #006cd2;
  color: #ffffff;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s ease;
}
.form__submit:hover:not(:disabled) { background: #0053a3; }
.form__submit:disabled { opacity: 0.6; cursor: progress; }
.form__error {
  margin-top: 4px;
  font-size: 13px;
  color: #ff8a8a;
}
.form__success { text-align: center; padding: 8px 0 4px; }
.form__success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 0;
  background: #006cd2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form__success-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.form__success-text { margin-top: 10px; color: rgba(255, 255, 255, 0.65); font-size: 14px; line-height: 1.55; }
.form__success-btn {
  margin-top: 22px;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.form__success-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- keyframes ---------- */
@keyframes mark-in { from { opacity: 0; transform: translate3d(-12px, 8px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes link-in { from { opacity: 0; transform: translate3d(-16px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes type-rise { from { transform: translate3d(0, 118%, 0); } to { transform: none; } }
@keyframes wipe-left { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipe-right { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes accent-fill { from { -webkit-mask-size: 0% 100%; mask-size: 0% 100%; } to { -webkit-mask-size: calc(100% + 72px) 100%; mask-size: calc(100% + 72px) 100%; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .headline__rise, .lede__rise, .wipe, .nav__links a, .nav__burger, .logo polygon, .nav .btn--nav, .nav .btn--outline { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .headline__accent { color: #006cd2; }
  .headline__accent::before, .headline__accent::after { content: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav .btn--nav, .nav .btn--outline { display: none; }
  .nav {
    grid-template-columns: auto 1fr auto;
    background: rgba(255, 255, 255, 0.20);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 10px 16px;
  }
  .logo { justify-self: start; grid-column: 1; }
  .nav__logo-wrap { justify-self: start; grid-column: 1; }
  .nav__burger { display: flex; grid-column: 3; }

  /* Dropdown panel positioned BELOW the fixed nav bar, so it never
     overlaps the logo or burger icon regardless of scroll position. */
  .mobile-menu {
    display: block;
    position: fixed;
    top: calc(var(--nav-top) + 56px);
    left: var(--pad-x);
    right: var(--pad-x);
    z-index: 49;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(10, 10, 10, 0.18);
    padding: 4px 0;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu__links { background: transparent; padding: 16px 20px; }
  .mobile-menu__links a, .mobile-menu__links button {
    display: block;
    width: 100%;
    text-align: left;
  }

  .hero { padding-top: calc(var(--nav-top) + 56px); }
  .headline { font-size: calc(clamp(2.4rem, 10vw, 3.4rem) + 3px); }
  .headline__line { white-space: normal; }
  .actions { flex-wrap: wrap; }
  .lede { width: 100%; max-width: 700px; margin-top: 48px; }
  .nav__burger { width: 44px; height: 44px; }
  .modal__close { width: 44px; height: 44px; top: 6px; right: 6px; }
  .contact__right { align-items: flex-start; }
  .contact__emails { text-align: left; }

  /* Footer: everything reads left-to-right, sized for a phone screen */
  .contact { padding-left: 20px; padding-right: 20px; }
  .contact__blocks { gap: 22px; }
  .contact__value, .contact__email-line { font-size: 14px; }
  .contact__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .contact__social {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .contact__handwriting { text-align: left; font-size: 1.3rem; }
  .contact__linkedin { width: 44px; height: 44px; }
  .contact__linkedin svg { width: 22px; height: 22px; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .hero { padding-top: calc(var(--nav-top) + 40px); }
  .headline { font-size: calc(clamp(2.4rem, 7.2vh, 3.8rem) + 3px); }
}
/* ===== Addition on top of the Meridian file: the .bg img itself needs an
   explicit fill/cover rule, which wasn't present in the supplied CSS. ===== */
.bg img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ===== Addition: header logo fades down on scroll, fades back up at top ===== */
.nav__logo-wrap{
  justify-self:center;
  transition:opacity 0.4s ease, transform 0.4s ease;
}
.nav__logo-wrap.cb-logo-faded{
  opacity:0;
  transform:translateY(16px);
  pointer-events:none;
}

/* ===== v3.8.6: Trustami Flip badge — static, in footer under "Trade Terms & Compliance" =====
 * Trustami's script gives the badge iframe an inline position:fixed (floating);
 * these !important rules put it back in the normal page flow. */
.cb-trustami-line { margin-top: 10px; }
.cb-trustami-line .widget_container_flip { display: flex; justify-content: flex-end; }
.cb-trustami-line .widget_container_flip iframe {
  position: static !important;
  top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
  margin: 0 !important;
}
/* Never show Trustami's separate floating mobile bar */
#trustami-mobile-view, .widget_container_overlay_mobile { display: none !important; }
@media (max-width: 820px) {
  .cb-trustami-line .widget_container_flip { justify-content: flex-start; }
}
