/* chibani.com — dark editorial theme tokens + overrides */

:root {
  --bg: #0f0e0c;
  --surface: #181612;
  --surface-2: #211e19;
  --line: #2a2620;
  --text: #efeae0;
  --text-muted: #b8b1a2;
  --text-dim: #8a8478;
  --accent: #b8964f;
  --accent-hover: #d2b06a;
  --accent-ink: #0f0e0c;
  --focus: #d2b06a;
  --cert-tile: rgba(239, 234, 224, 0.92);
  --accent-rgb: 184, 150, 79;
  --text-rgb: 239, 234, 224;
  --ink-rgb: 15, 14, 12;
  --surface-rgb: 24, 22, 18;

  /* Legacy bundle (rgb(var(--*))) */
  --primary: var(--ink-rgb);
  --black: var(--text-rgb);
  --white: var(--surface-rgb);

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text-muted);
  --bs-heading-color: var(--text);
  --bs-border-color: var(--line);
  --bs-link-color: var(--accent);
  --bs-link-hover-color: var(--accent-hover);

  --radius-lg: 20px;
  --radius-sm: 12px;

  --section-pad: clamp(64px, 10vh, 120px);
  --chapter-gap: clamp(40px, 6vh, 72px);
}

@media (max-width: 767.98px) {
  :root {
    --section-pad: clamp(56px, 12vw, 80px);
    --chapter-gap: clamp(32px, 5vh, 56px);
  }
}

html {
  background-color: var(--bg);
}

body {
  background-color: var(--bg) !important;
  color: var(--text-muted) !important;
  font-weight: 400;
}

p,
.desc,
li,
label,
.bio-modal-body,
.bio-list,
.service-list,
.experience-content p,
.experience-content li,
.project-info p,
.amp-desc,
.amp-features,
.testimonial-card .desc,
.region-milestone p,
.contact-form input,
.contact-form textarea {
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.name-title,
.section-title h2,
.section-title-sm h2,
.project-info h2,
.stat-number,
.number-main,
.region-name,
.amp-title,
.language-name,
.cert-title,
.modal-body h2,
.modal-body h3 {
  color: var(--text) !important;
}

.section-title h4,
.section-title-sm h4,
.freelancer,
.consultation-label,
.blog-label,
.read-more-text,
.amplification-intro strong {
  color: var(--accent) !important;
}

.text-muted,
.stat-label,
.cert-meta,
.cert-issuer,
.study-institution,
.proficiency,
.region-card .stat-label,
.amp-features,
.modal-body .meta-label {
  color: var(--text-dim) !important;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

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

/* —— Grain —— */
.grain::before {
  opacity: 0.05 !important;
  mix-blend-mode: soft-light;
}

/* —— Header / logo —— */
.header {
  background-color: var(--bg) !important;
  border-bottom: none !important;
}

.header a img {
  filter: brightness(0) invert(0.94);
}

/* —— Section rhythm (vertical spacing) —— */
main .section,
main section.section {
  min-height: auto !important;
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  padding-top: var(--section-pad) !important;
  scroll-margin-top: 5.5rem;
}

#contact.section,
section#contact {
  padding-bottom: var(--section-pad) !important;
}

/* Beat legacy per-section padding/margin from main.3b695e4b.css */
main .section.about,
main .section.services,
main .section.attainments {
  overflow-x: visible !important;
}

main .section.attainments,
main .section.fun_facts,
main .section.projects,
main .section.experience,
main .section.how-i-work,
main .section.footprint,
main .section.amplification,
main .section.ecom-invest,
main .section.testimonials,
main .section.contact-editorial {
  margin-top: 0 !important;
  padding-bottom: 0 !important;
  padding-top: var(--section-pad) !important;
}

main .section .section-title,
main .section.services .section-title {
  padding-top: 0 !important;
}

.services.section,
#services.services {
  margin-top: 0 !important;
}

.section .section-title {
  padding-top: 0 !important;
}

/* Hero: viewport for copy + portrait; chapter link follows content (not pinned to vh bottom) */
#top.hero {
  align-items: flex-start !important;
  display: block !important;
  justify-content: flex-start !important;
  min-height: auto !important;
  padding-bottom: 0 !important;
  padding-top: var(--section-pad) !important;
}

#top.hero > .row {
  align-content: flex-start !important;
  height: auto !important;
  min-height: auto !important;
}

#top.hero > .row > .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto !important;
  padding-bottom: 1.25rem !important;
}

@media (max-width: 767.98px) {
  #top.hero > .row {
    align-items: flex-start !important;
  }

  #top.hero > .row > .col-md-5,
  #top.hero > .row > .col-xl-4 {
    margin-top: 0 !important;
  }

  #top.hero .row .img-wrapper {
    margin: 0.25rem auto 0 !important;
  }
}

@media (min-width: 768px) {
  #top.hero > .row {
    align-items: center !important;
  }

  #top.hero > .row > .hero-content {
    justify-content: center;
    min-height: calc(
      100svh - var(--section-pad) * 2 - var(--chapter-gap) - 3.5rem
    ) !important;
    padding-bottom: 2rem !important;
  }

  #top.hero > .row > .col-md-5,
  #top.hero > .row > .col-xl-4 {
    align-items: center !important;
    align-self: center !important;
    display: flex !important;
    justify-content: center !important;
    min-height: calc(
      100svh - var(--section-pad) * 2 - var(--chapter-gap) - 3.5rem
    ) !important;
  }

  #top.hero .row .img-wrapper {
    margin-top: 0 !important;
  }
}

/* —— Hero —— */
#top.hero .description {
  color: var(--text-muted) !important;
}

.hero .freelancer::before,
.hero-text-wrapper .freelancer::before {
  background-color: var(--accent) !important;
}

.hero .row .hero-consultation-box {
  background: var(--surface) !important;
  border: 1px solid var(--accent) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero .row .hero-consultation-box .hero-consultation-video {
  display: none !important;
}

.hero .row .hero-consultation-box .consultation-label {
  color: var(--text) !important;
  font-family: var(--font-title, "Marcellus", serif) !important;
}

.hero .row .hero-consultation-box .consultation-btn {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--accent-ink) !important;
}

.hero .row .hero-consultation-box .consultation-btn i {
  color: var(--accent-ink) !important;
}

.hero .row .hero-consultation-box:hover .consultation-btn {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

.hero .img-wrapper {
  border: none;
  box-shadow: none;
}

.hero .img-wrapper .hero-img {
  border: 1px solid rgba(239, 234, 224, 0.18) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
}

.hero .img-wrapper::before,
.hero .img-wrapper::after {
  background: transparent !important;
  border: 1px solid rgba(var(--accent-rgb), 0.35) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
}

/* —— About (Know Me More) —— */

/* Big editorial headline */
.about .about-editorial .about-headline {
  color: var(--text);
  font-family: var(--font-title) !important;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

/* Stat pills row */
.about .about-editorial .about-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}
.about .about-editorial .about-stat {
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 100px;
  display: inline-flex;
  gap: 0.3em;
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
}
.about .about-editorial .about-stat__value {
  color: var(--text);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.about .about-editorial .about-stat__label {
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Prose block */
.about .about-editorial .about-prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 38em;
}

.about .about-editorial .about-prose p {
  color: var(--text-muted) !important;
  font-family: var(--font-body, "Manrope", sans-serif) !important;
  font-size: 1rem;
  line-height: 1.72;
  margin: 0;
}

@media (min-width: 1200px) {
  .about .about-editorial .about-prose p {
    font-size: 1.0625rem;
  }
}

.about .about-editorial .about-lead {
  color: var(--text) !important;
  font-size: 1.0625rem !important;
  line-height: 1.65;
}

.about .about-editorial .about-more p {
  margin-top: 0.75rem;
}

.about .about-editorial .about-prose strong {
  color: var(--text);
  font-weight: 600;
}

/* Expand / collapse toggle */
.about .about-editorial .about-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .about .about-editorial .about-actions {
    justify-content: center;
  }
}

.about .about-editorial .about-actions__sep {
  color: var(--line);
  font-size: 0.75rem;
  user-select: none;
}

.about .about-editorial .about-toggle {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body, "Manrope", sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.45em;
  letter-spacing: 0.03em;
  margin-top: 0;
  outline: none;
  padding: 0;
  transition: color 0.2s;
}
.about .about-editorial .about-toggle:hover {
  color: var(--text);
}

.about .about-editorial .about-fullbio-link {
  -webkit-appearance: none;
  appearance: none;
  align-items: center;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body, "Manrope", sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.45em;
  letter-spacing: 0.03em;
  outline: none;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s;
}

.about .about-editorial .about-fullbio-link__icon {
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.about .about-editorial .about-fullbio-link__icon i {
  font-size: 0.9rem;
}

.about .about-editorial .about-fullbio-link:hover {
  color: var(--text);
}

.about .about-editorial .about-fullbio-link:hover .about-fullbio-link__icon {
  transform: rotate(45deg);
}
.about .about-editorial .about-toggle__icon {
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.about .about-editorial .about-toggle__icon i {
  font-size: 0.9rem;
}

.about .about-editorial .about-geo {
  color: var(--text-dim) !important;
  font-size: 0.9375rem !important;
  padding-top: 0.35rem;
}

.about .about-editorial .read-more-text {
  color: var(--text-muted) !important;
  font-family: var(--font-body, "Manrope", sans-serif) !important;
  font-size: 0.9375rem !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.about .about-desc .bio-btn {
  flex-shrink: 0;
  height: 40px !important;
  width: 40px !important;
}

.about .about-desc .bio-btn i {
  font-size: 1rem !important;
}

/* —— Next chapter —— */
.next-chapter,
.about .next-chapter,
.services .next-chapter,
.attainments .next-chapter,
.fun_facts .next-chapter,
.projects .next-chapter,
.experience .next-chapter,
.how-i-work .next-chapter,
.footprint .next-chapter,
.amplification .next-chapter,
.ecom-invest .next-chapter,
.testimonials .next-chapter {
  color: var(--text) !important;
  font-family: var(--font-body, "Manrope", sans-serif) !important;
  font-weight: 500 !important;
  margin-top: var(--chapter-gap) !important;
  padding-top: 0 !important;
}

.next-chapter .page {
  color: var(--text-dim) !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  opacity: 1 !important;
}

.next-chapter .next {
  color: var(--text) !important;
  font-family: inherit !important;
  font-size: 1.0625rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

@media (min-width: 768px) {
  .hero .next-chapter .next {
    font-size: 0.95625rem !important;
  }
}

.next-chapter .icon,
.next-chapter i {
  color: var(--accent) !important;
}

.hero .next-chapter {
  justify-content: flex-start !important;
  margin-inline: 0 !important;
  max-width: none;
  width: 100%;
}

@media (min-width: 768px) {
  .hero .row > .col-12 > .next-chapter {
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }
}

/* —— Navigation (desktop overrides; see navigation.css) —— */
/* main.js animates --height on .navigation; hide legacy ::before line (scroll pop-in) */
.navigation {
  --height: 0 !important;
}

.navigation::before {
  content: none !important;
  display: none !important;
}

.navigation ul li > a,
.navigation ul li > a:hover,
.navigation ul li > a.active {
  border-right: none !important;
}

.navigation ul li > a {
  border-left: 2px solid transparent !important;
}

.navigation ul li > a::after {
  display: none !important;
}

.navigation ul li > a {
  color: var(--text-dim) !important;
}

.navigation ul li > a:hover {
  background: transparent !important;
  color: var(--text) !important;
}

.navigation ul li > a.active {
  background: var(--surface) !important;
  border-left-color: var(--accent) !important;
  color: var(--text) !important;
}

.navigation ul li > a > span:not(.text) {
  color: var(--text-dim) !important;
}

.navigation ul li > a:hover > span:not(.text) {
  color: var(--text) !important;
}

.navigation ul li > a.active > span:not(.text) {
  color: var(--text) !important;
}

.section-title-sm .serial,
.attainments .section-title-sm .serial {
  color: var(--accent) !important;
}

.attainments .section-title-sm .top > span {
  color: var(--text-muted) !important;
  font-family: var(--font-title, "Marcellus", serif) !important;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

@media (min-width: 1400px) {
  .attainments .section-title-sm .top > span {
    font-size: 1.125rem;
  }
}

.attainments .linkedin-cert-card .cert-overlay .cert-meta {
  color: var(--accent) !important;
  opacity: 1 !important;
}

.attainments .linkedin-cert-card:hover .cert-overlay .cert-meta {
  color: var(--text) !important;
  opacity: 1 !important;
}

.navigation .contact .nav-social-icon {
  background: transparent !important;
  border: 1px solid var(--text-dim) !important;
  border-radius: var(--radius-sm) !important;
}

.navigation .contact .nav-social-icon i {
  color: var(--text-muted) !important;
}

.navigation .contact .nav-social-icon:hover {
  border-color: var(--accent) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}

.navigation .contact .nav-social-icon:hover i {
  color: var(--accent) !important;
}

.navigation .contact .nav-social-icon[aria-current="page"] {
  border-color: var(--accent) !important;
}

.navigation .contact .nav-social-icon[aria-current="page"] i {
  color: var(--accent) !important;
}

.navigation.opened {
  background-color: var(--bg) !important;
}

.nav-overlay {
  background: rgba(15, 14, 12, 0.72) !important;
}

/* —— Cards & surfaces —— */
.service-card,
.experience-card,
.language-card,
.study-card,
.cert-card,
.linkedin-cert-card,
.process,
.region-card,
.amplification-card,
.amplification-intro-box,
.testimonial-card .content,
.ecom-invest-banner,
.cookie-banner,
.modal-content,
.bio-modal-content,
.project-modal .modal-content {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  color: var(--text-muted);
}

.service-card:hover {
  border-color: var(--accent) !important;
}

.service-card h4,
.service-card .number-circle h2 {
  color: var(--text) !important;
}

.service-card .number-circle h2 {
  color: var(--accent) !important;
}

/* Track record — typography only, no stat cards */
.fun_facts .fun-fact {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.fun_facts .fun-fact .numbers {
  border-bottom: none !important;
  margin-bottom: 0.5rem;
  padding-bottom: 0 !important;
}

.fun_facts .fun-fact .numbers .number-main {
  color: var(--text) !important;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.15rem;
}

.fun_facts .fun-fact .numbers .number-outline-one,
.fun_facts .fun-fact .numbers .number-outline-two {
  -webkit-text-stroke: 1px var(--line) !important;
  opacity: 0.35;
}

.fun_facts .fun-fact p {
  color: var(--text-dim) !important;
  font-family: var(--font-title, "Marcellus", serif) !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  margin-top: 0.75rem;
}

/* Language skills — squircle flags */
.attainments .language-card .flag-wrapper {
  align-items: center;
  background: var(--surface-2, #1f1c17) !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  flex-shrink: 0;
  height: 72px !important;
  justify-content: center;
  -webkit-mask-image: var(--lang-flag-squircle-fill);
  mask-image: var(--lang-flag-squircle-fill);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative;
  transform: none !important;
  width: 72px !important;
}

@media (min-width: 576px) {
  .attainments .language-card .flag-wrapper {
    height: 92px !important;
    width: 92px !important;
  }
}

.attainments .language-card .flag-wrapper .flag-img {
  display: block;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  width: 100% !important;
}

.attainments .language-card .flag-wrapper::after {
  display: none !important;
}

.language-card .flag-wrapper,
.attainments .cert-card .cert-icon {
  --lang-flag-squircle-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 289 289'%3E%3Cpath d='M 244.5 144.5 C 244.5 216.41200454293292 216.41759445292126 244.5 144.50558990998832 244.5 C 72.59358536705538 244.5 44.5 216.41870899827154 44.5 144.5067044553386 C 44.5 72.59469991240564 72.58053867632563 44.5 144.49254321925858 44.5 C 216.40454776219153 44.5 244.5 72.58799545706708 244.5 144.5 Z' fill='%23fff'/%3E%3C/svg%3E");
  --lang-flag-squircle-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 289 289' fill='none'%3E%3Cpath d='M 244.5 144.5 C 244.5 216.41200454293292 216.41759445292126 244.5 144.50558990998832 244.5 C 72.59358536705538 244.5 44.5 216.41870899827154 44.5 144.5067044553386 C 44.5 72.59469991240564 72.58053867632563 44.5 144.49254321925858 44.5 C 216.40454776219153 44.5 244.5 72.58799545706708 244.5 144.5 Z' stroke='%23ffffff' stroke-width='5'/%3E%3C/svg%3E");
  border: none !important;
  border-radius: 0 !important;
}

.language-card .flag-wrapper::before,
.attainments .cert-card .cert-icon::before {
  background: var(--lang-flag-squircle-stroke) center / 100% 100% no-repeat;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.language-card .flag-wrapper::after,
.attainments .cert-card .cert-icon::after,
.attainments .cert-card .cert-icon .cert-logo {
  -webkit-mask-image: var(--lang-flag-squircle-fill);
  mask-image: var(--lang-flag-squircle-fill);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Cert tile background inside squircle */
.attainments .cert-card .cert-icon {
  background: transparent !important;
  border-radius: 0 !important;
  height: 68px !important;
  padding: 0 !important;
  position: relative;
  width: 68px !important;
}

@media (min-width: 576px) {
  .attainments .cert-card .cert-icon {
    height: 72px !important;
    width: 72px !important;
  }
}

.attainments .cert-card .cert-icon::after {
  background: var(--cert-tile) !important;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.attainments .cert-card .cert-icon .cert-logo {
  position: relative;
  z-index: 1;
}

/* Hide legacy tilted hover frames on certification cards */
.attainments .cert-card::before,
.attainments .cert-card::after,
.attainments .cert-card:hover::before,
.attainments .cert-card:hover::after {
  border: none !important;
  box-shadow: none !important;
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  transform: none !important;
  visibility: hidden !important;
}

.attainments .cert-card:hover .cert-icon {
  transform: none !important;
}

.attainments .language-card .language-info .proficiency,
.attainments .language-card .language-info .proficiency.native,
.attainments .language-card .language-info .proficiency.professional {
  background: none !important;
  border: none !important;
  color: var(--text-dim) !important;
}

/* Experience logos */
.experience-item .company-logo-box .logo-wrapper,
.experience-item .logo-wrapper {
  background: var(--cert-tile) !important;
  border-radius: 10px;
  padding: 8px;
}

/* Cert / study tiles (attainments cert icons use squircle — overrides above) */
.cert-card .cert-icon,
.study-card .study-logo-wrapper {
  background: var(--cert-tile) !important;
  border-radius: 10px;
  padding: 8px;
}

.attainments .cert-card .cert-icon {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.cert-card .cert-logo,
.study-card .study-logo {
  object-fit: contain;
}

/* Experience — role in gold, company in ivory */
.experience .experience-wrapper .experience-item h3,
.experience .experience-wrapper .experience-item .h3 {
  color: var(--accent) !important;
  font-size: 1.125rem !important;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .experience .experience-wrapper .experience-item h3,
  .experience .experience-wrapper .experience-item .h3 {
    font-size: 1.3125rem !important;
  }
}

@media (min-width: 1400px) {
  .experience .experience-wrapper .experience-item h3,
  .experience .experience-wrapper .experience-item .h3 {
    font-size: 1.4375rem !important;
  }
}

.experience .experience-content h3 .company-name {
  color: var(--text) !important;
  display: block;
  font-size: 1.05em;
  margin-top: 0.2rem;
}

@media (max-width: 767.98px) {
  .experience .experience-wrapper .experience-item .company-logo-box {
    align-self: flex-start !important;
    height: 100px !important;
    margin-top: 0 !important;
    max-width: 100px !important;
    width: 100px !important;
  }
}

/* Projects — no extra frame on logo tiles (logos unchanged) */
.project-card {
  border: none !important;
}

/* Recent analyses strip */
@media (prefers-reduced-motion: no-preference) {
  #projects .projects-analyses-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.55s ease,
      transform 0.55s ease;
  }

  #projects .projects-analyses-reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #projects .projects-analyses-reveal {
    opacity: 1;
    transform: none;
  }
}

.projects-analyses {
  margin-top: clamp(48px, 8vh, 96px);
}

.projects-analyses-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.projects-analyses-heading {
  flex: 1 1 16rem;
  min-width: 0;
}

.projects-analyses-eyebrow {
  color: var(--accent) !important;
  font-family: var(--font-title, "Marcellus", serif) !important;
  font-size: clamp(1.0625rem, 2.1vw, 1.5rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  text-transform: capitalize;
}

.projects-analyses-lead {
  color: var(--text-muted) !important;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
  max-width: 36em;
}

.projects-analyses-all {
  align-items: center;
  color: var(--text-muted) !important;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.875rem;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.projects-analyses-all:hover {
  color: var(--accent) !important;
}

.projects-analyses-all i {
  color: inherit;
  font-size: 1rem;
}

.projects-analyses-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
  .projects-analyses-grid {
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.projects-analysis-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  min-height: 100%;
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  text-decoration: none !important;
  transition: border-color 0.15s ease;
}

.projects-analysis-card:hover {
  border-color: var(--accent) !important;
}

.projects-analysis-card:focus {
  outline: none;
}

.projects-analysis-card:focus-visible {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.projects-analysis-card__corner {
  color: var(--accent) !important;
  font-size: 1.125rem;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: clamp(16px, 2.5vw, 24px);
  top: clamp(16px, 2.5vw, 24px);
}

.projects-analysis-card__category-row {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
  padding-right: 1.75rem;
}

.projects-analysis-card__brand {
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
  height: 18px;
  object-fit: contain;
  opacity: 0.82;
  width: 18px;
}

.projects-analysis-card__category {
  color: var(--accent) !important;
  font-family: var(--font-body, "Manrope", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  margin: 0;
  padding-right: 0;
  text-transform: uppercase;
}

.projects-analysis-card__title {
  color: var(--text) !important;
  font-family: var(--font-title, "Marcellus", serif) !important;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
  padding-right: 0.5rem;
}

.projects-analysis-card__summary {
  color: var(--text-muted) !important;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.projects-analysis-card__meta {
  align-items: center;
  color: var(--text-dim) !important;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 0.5rem 0.65rem;
  justify-content: space-between;
  line-height: 1.4;
  margin-top: auto;
  padding-top: 0.75rem;
}

.projects-analysis-card__lang {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  padding: 2px 6px;
}

.project-info h2 {
  color: var(--text) !important;
}

.tag-in-progress {
  background: rgba(196, 165, 116, 0.1);
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 100px;
  color: var(--accent) !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.65rem;
  text-transform: uppercase;
}

/* Amplification */
.amplification .amplification-card .amp-card-header .amp-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.amplification .amplification-card .amp-card-header .amp-icon i {
  color: var(--accent) !important;
}

.amplification .amplification-card {
  cursor: default !important;
}

.amplification .amplification-card:hover,
.amplification .amplification-card.featured:hover {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  transform: none !important;
}

.amplification-card.featured .featured-badge {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
}

.amplification .stat-number {
  color: var(--text) !important;
}

.amplification .amplification-cta-box {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.amplification .amplification-cta-box::before,
.amplification .amplification-cta-box::after {
  content: none !important;
  display: none !important;
}

.amplification .amplification-cta-box .cta-pattern-overlay,
.amplification .amplification-cta-box .cta-pattern-overlay::before,
.amplification .amplification-cta-box .cta-pattern-overlay::after {
  animation: none !important;
  background: none !important;
  display: none !important;
}

.amplification .amplification-cta-box .cta-text {
  color: var(--text) !important;
  margin-bottom: 1.25rem;
}

.amplification .amplification-cta-box .cta-button {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  gap: 0.4rem !important;
  letter-spacing: 0.02em !important;
  padding: 0.5rem 1.15rem !important;
  transform: none !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.amplification .amplification-cta-box .cta-button span,
.amplification .amplification-cta-box .cta-button i {
  color: var(--accent-ink) !important;
}

.amplification .amplification-cta-box .cta-button i {
  font-size: 0.95rem !important;
  transition: none !important;
}

.amplification .amplification-cta-box .cta-button:hover,
.amplification .amplification-cta-box .cta-button:active {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  box-shadow: none !important;
  transform: none !important;
}

.amplification .amplification-cta-box .cta-button:hover span,
.amplification .amplification-cta-box .cta-button:hover i,
.amplification .amplification-cta-box .cta-button:active span,
.amplification .amplification-cta-box .cta-button:active i {
  color: var(--accent-ink) !important;
  transform: none !important;
}

/* eCom Founders card */
.ecom-invest .ecom-invest-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.ecom-invest .ecom-invest-image {
  background: var(--surface) !important;
  overflow: hidden;
}

.ecom-invest .ecom-invest-image img {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%);
  mask-image: linear-gradient(to right, transparent 0%, #000 35%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.ecom-invest .ecom-invest-caption {
  color: rgba(242, 238, 230, 0.94);
  font-family: var(--font-body, "Manrope", sans-serif);
  font-size: clamp(0.625rem, 1.6vw, 0.75rem);
  font-weight: 500;
  left: clamp(0.5rem, 3.5vw, 1.25rem);
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0;
  max-height: 78%;
  pointer-events: none;
  position: absolute;
  text-shadow:
    0 0 20px rgba(15, 14, 12, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  z-index: 3;
}

@media (min-width: 992px) {
  .ecom-invest .ecom-invest-image::before {
    background: linear-gradient(
      90deg,
      rgba(15, 14, 12, 0.35) 0%,
      transparent 30%
    ) !important;
  }
}

.ecom-invest .ecom-invest-btn {
  align-self: flex-start;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  gap: 0.5rem !important;
  padding: 0.6rem 1.25rem !important;
  transform: none !important;
}

.ecom-invest .ecom-invest-btn:hover,
.ecom-invest .ecom-invest-btn:active {
  box-shadow: none !important;
  transform: none !important;
}

.ecom-invest .ecom-invest-btn i {
  color: var(--text) !important;
}

.ecom-invest .ecom-invest-btn:hover i,
.ecom-invest .ecom-invest-btn:active i {
  color: var(--text) !important;
}

.ecom-invest .ecom-invest-btn:hover i {
  transform: translateX(3px) !important;
}

/* eCom invest CTA */
.ecom-invest .ecom-invest-btn,
.ecom-invest-banner .ecom-invest-btn,
.amplification-cta-box .cta-button,
#submit-btn,
.cookie-banner button,
.nav-consultation-link {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent-ink) !important;
}

.ecom-invest .ecom-invest-btn:hover,
.ecom-invest-banner .ecom-invest-btn:hover,
.amplification-cta-box .cta-button:hover,
#submit-btn:hover,
.cookie-banner button:hover,
.nav-consultation-link:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  color: var(--accent-ink) !important;
}

.navigation .nav-consultation-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0.5rem !important;
  padding: 0 !important;
}

.navigation .nav-consultation-box .nav-consultation-link {
  border-radius: var(--radius-sm) !important;
  width: 100%;
}

.navigation .nav-consultation-box .nav-consultation-link span,
.navigation .nav-consultation-box .nav-consultation-link i {
  color: var(--accent-ink) !important;
}

.navigation .nav-consultation-box .nav-consultation-link:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
}

.navigation .nav-consultation-box .nav-consultation-link:hover span,
.navigation .nav-consultation-box .nav-consultation-link:hover i {
  color: var(--accent-ink) !important;
}

@media (max-width: 1199.98px) {
  .navigation .nav-consultation-box {
    margin-left: 1.25rem !important;
    margin-right: 1.25rem !important;
  }
}

/* Forms */
.contact-form input,
.contact-form textarea,
.contact-form select,
.modal-body input,
.modal-body textarea {
  background: var(--surface-2) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim) !important;
  opacity: 1;
}

.contact-form label {
  color: var(--text-muted) !important;
}

/* Modals / project overlays */
.modal-backdrop.show {
  opacity: 0.85 !important;
}

.modal-content,
.bio-modal-content {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  color: var(--text-muted) !important;
}

.modal-header .btn-close,
.cert-modal-close,
.bio-modal-close {
  filter: invert(0.9);
  opacity: 0.85;
}

.project-details-meta .label,
.modal-body .label {
  color: var(--text-dim) !important;
}

.project-details-meta .value,
.modal-body .value {
  color: var(--text) !important;
}

/* Cookie */
.cookie-banner {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  color: var(--text-muted) !important;
}

.cookie-banner a {
  color: var(--accent) !important;
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.45);
  text-underline-offset: 0.15em;
}

.cookie-banner a:hover {
  color: var(--accent-hover) !important;
  text-decoration-color: var(--accent-hover);
}

/* Testimonial meta */
.testimonial-surname:empty,
.testimonial-company:empty {
  display: none !important;
}

.testimonial-meta .testimonial-role,
.testimonial-meta .testimonial-location {
  color: var(--text-dim) !important;
}

.testimonial-meta .testimonial-surname,
.testimonial-meta .testimonial-company {
  color: var(--text-muted) !important;
}

/* Region cards — single stat column balance */
.region-stats .stat:only-child,
.region-stats-single .stat {
  width: 100%;
}

/* Markets Worldwide — static region cards (no hover lift) */
.footprint .region-card .region-name {
  font-family: var(--font-title, "Marcellus", serif) !important;
  font-size: clamp(1.3125rem, 2.35vw, 1.5625rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin: 0;
}

.footprint .region-card {
  cursor: default !important;
}

.footprint .region-card:hover,
.footprint .region-card.featured:hover {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Dark fills that used legacy black background */
.hero .row .hero-consultation-box .consultation-btn:active,
.services .service-prev,
.services .service-next {
  background: var(--accent) !important;
  color: var(--accent-ink) !important;
  border-color: var(--accent) !important;
}

.footer {
  background-color: var(--bg) !important;
  border: none !important;
  color: var(--text-dim) !important;
}

.footer .footer-links {
  color: var(--text-dim) !important;
}

.footer .footer-links a {
  color: var(--text-muted) !important;
}

.footer .footer-links a:hover {
  color: var(--accent) !important;
}

.footer p {
  color: var(--text-dim) !important;
}

main.container-fluid,
main.container-fluid > .row > .col {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Swiper / scrollbars on dark */
.swiper-pagination-bullet {
  background: var(--text-dim) !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

.s-scrollbar,
.testi-scrollbar {
  background: var(--line) !important;
}

.swiper-scrollbar-drag,
.testi-scrollbar .swiper-scrollbar-drag {
  background: var(--accent) !important;
}

.section-title::before {
  background-color: rgba(var(--accent-rgb), 0.5) !important;
  width: 2px !important;
}

.section-title-overlay-text {
  color: var(--text) !important;
  opacity: 0.03 !important;
  top: clamp(7rem, 16vh, 11rem) !important;
}

.attainments .section-title-sm .top:dir(ltr) {
  border-left-color: rgba(var(--accent-rgb), 0.5) !important;
}

.attainments .section-title-sm .top:dir(rtl) {
  border-right-color: rgba(var(--accent-rgb), 0.5) !important;
}

.modal-fullscreen .modal-content,
.modal-fullscreen .modal-body {
  background: var(--bg) !important;
  color: var(--text-muted) !important;
}

.project-details-img {
  border: 1px solid var(--line);
}

.experience-card .card-inner,
.service-card .card-inner,
.project-card .card-inner {
  background: transparent !important;
}

.bio-btn,
.submit-btn {
  color: var(--accent-ink) !important;
}

@media (max-width: 1199.98px) {
  .navigation.opened {
    background-color: var(--bg) !important;
  }
}

/* —— Testimonials (Client Feedback) —— */
.testimonials .testimonial-swiper {
  -webkit-mask-image: linear-gradient(
    to right,
    #000 calc(100% - 64px),
    transparent
  );
  mask-image: linear-gradient(to right, #000 calc(100% - 64px), transparent);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.testimonials .testimonial-swiper.testimonial-swiper--at-end {
  -webkit-mask-image: none;
  mask-image: none;
}

.testimonials .testimonial-card .waves-top-sm,
.testimonials .testimonial-card .waves-bottom-sm {
  display: none !important;
}

.testimonials .testimonial .testimonial-card {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  gap: 1.5rem !important;
  min-height: unset !important;
  padding: 1.5rem !important;
}

@media (min-width: 768px) {
  .testimonials .testimonial .testimonial-card {
    padding: 2rem 1.75rem !important;
  }
}

.testimonials .testimonial .testimonial-card .img-wrapper {
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
}

.testimonials .testimonial .testimonial-card .img-wrapper .inner {
  height: 82px !important;
  width: 82px !important;
}

.testimonials .testimonial .testimonial-card .img-wrapper img {
  border: 1px solid var(--line) !important;
  border-radius: 50% !important;
  display: block;
  height: 82px !important;
  width: 82px !important;
  object-fit: cover;
}

.testimonials .testimonial-card .content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.testimonials .testimonial-card .content h3 {
  color: var(--text) !important;
  margin-bottom: 0.25rem;
}

.testimonials .testimonial .testi-prev,
.testimonials .testimonial .testi-next {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  color: var(--text-muted) !important;
  height: 44px !important;
  width: 44px !important;
  padding: 0 !important;
}

.testimonials .testimonial .testi-prev:hover,
.testimonials .testimonial .testi-next:hover {
  background: var(--surface-2) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.testimonials .testimonial .testi-prev svg,
.testimonials .testimonial .testi-next svg {
  display: block;
  fill: currentColor !important;
  height: 18px !important;
  width: 18px !important;
}

.testimonials .testimonial .testi-scrollbar.swiper-scrollbar-horizontal {
  background: var(--line) !important;
  border-radius: 2px !important;
  height: 2px !important;
  opacity: 1 !important;
}

.testimonials .testimonial .swiper-scrollbar-drag {
  background: var(--accent) !important;
  border-radius: 2px !important;
  top: 0 !important;
}

/* —— Contact (editorial, compact) —— */
.contact-editorial {
  padding-bottom: 4rem !important;
}

.contact-editorial .contact-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: none;
  width: 100%;
}

.contact-editorial .contact-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
}

.contact-editorial .contact-header-title {
  margin-bottom: 0 !important;
}

.contact-editorial .contact-header-title h2 {
  margin-bottom: 0;
}

.contact-editorial .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 767.98px) {
  .contact-editorial .contact-header {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .contact-editorial .contact-header-title {
    text-align: center;
    width: 100%;
  }

  .contact-editorial .contact-actions {
    justify-content: center;
    width: 100%;
  }
}

.contact-editorial .contact-link {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  display: inline-flex;
  font-size: 0.875rem;
  gap: 0.5rem;
  line-height: 1.3;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.contact-editorial a.contact-link:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--text);
}

.contact-editorial .contact-link i {
  color: var(--accent);
  font-size: 1.05rem;
}

.contact-editorial .contact-flag {
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}

.contact-editorial .contact-link--static {
  cursor: default;
}

.contact-editorial .contact-form.contact-panel {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px;
  margin: 0;
  max-width: none !important;
  width: 100%;
  padding: 1.25rem 1.25rem 1.1rem;
}

@media (min-width: 768px) {
  .contact-editorial .contact-panel {
    padding: 1.35rem 1.5rem 1.25rem;
  }
}

.contact-editorial .contact-form-grid {
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .contact-editorial .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-editorial .contact-input--full {
  grid-column: 1 / -1;
}

.contact-editorial .contact-input label {
  color: var(--text-dim) !important;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.contact-editorial .contact-form input,
.contact-editorial .contact-form textarea {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px;
  font-size: 0.9375rem;
  padding: 0.65rem 0.85rem;
}

.contact-editorial .contact-form textarea {
  min-height: 108px;
  resize: vertical;
}

.contact-editorial .contact-form input:focus,
.contact-editorial .contact-form textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.25);
  outline: none;
}

.contact-editorial .contact-form-footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  grid-column: 1 / -1;
  padding-top: 0.15rem;
}

.contact-editorial .contact-form-note {
  color: var(--text-dim);
  font-size: 0.8125rem;
  margin: 0;
}

.contact-editorial .contact-input .field-error {
  color: #e8a87c;
  font-size: 0.8125rem;
  line-height: 1.4;
  margin: 0.35rem 0 0;
  min-height: 0;
}

.contact-editorial .contact-input.is-invalid input,
.contact-editorial .contact-input.is-invalid textarea {
  border-color: #c97b5a !important;
  box-shadow: 0 0 0 1px rgba(201, 123, 90, 0.35);
}

.contact-editorial .submit-btn {
  align-items: center;
  appearance: none;
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  border-radius: 10px;
  box-shadow: none !important;
  color: var(--accent-ink) !important;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  justify-content: center;
  letter-spacing: 0.02em;
  max-width: none;
  min-height: 44px;
  padding: 0.6rem 1.35rem;
  text-transform: none;
  transform: none !important;
}

.contact-editorial .submit-btn::before,
.contact-editorial .submit-btn .waves-top-md,
.contact-editorial .submit-btn .waves-bottom-md {
  display: none !important;
}

.contact-editorial .submit-btn:hover {
  background: var(--accent-hover) !important;
  border-color: var(--accent-hover) !important;
  box-shadow: none !important;
  color: var(--accent-ink) !important;
  transform: none !important;
}

.contact-editorial .contact-chapter {
  margin-top: 2rem;
  padding-top: 0;
}

/* eCom Founders — mobile/tablet: text on image, no gray band below */
@media (max-width: 991.98px) {
  .ecom-invest .ecom-invest-caption {
    display: none !important;
  }

  .ecom-invest .ecom-invest-content {
    display: grid !important;
    grid-template-columns: 1fr;
    min-height: 0 !important;
  }

  .ecom-invest .ecom-invest-text,
  .ecom-invest .ecom-invest-image {
    grid-column: 1;
    grid-row: 1;
  }

  .ecom-invest .ecom-invest-text {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: 2;
    align-self: start;
    padding: 1.75rem 1.25rem 1.5rem !important;
    background: transparent !important;
  }

  .ecom-invest .ecom-invest-image {
    position: relative;
    z-index: 0;
    align-self: stretch;
    flex: none !important;
    min-height: 100% !important;
    width: 100%;
  }

  .ecom-invest .ecom-invest-image img {
    display: block;
    height: 100%;
    min-height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center right;
  }

  .ecom-invest .ecom-invest-image::before {
    background: linear-gradient(
      180deg,
      rgba(15, 14, 12, 0.92) 0%,
      rgba(15, 14, 12, 0.55) 42%,
      rgba(15, 14, 12, 0.4) 100%
    ) !important;
    z-index: 1;
  }
}

/* Legal pages (privacy, terms) */
@media (min-width: 1200px) {
  main .legal-content.section {
    margin-left: clamp(3rem, 8vw, 7.5rem);
    max-width: 44rem;
  }
}

@media (max-width: 1199.98px) {
  main .legal-content.section {
    padding-top: calc(5.5rem + 1.25rem) !important;
  }

  main .legal-content .section-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

.legal-content .section-title h2 {
  color: var(--accent) !important;
}

.legal-content .legal-text,
.legal-content .legal-text p,
.legal-content .legal-text li,
.legal-content .legal-text strong {
  color: var(--text) !important;
}

.legal-content .legal-text .lead {
  color: var(--text-muted) !important;
}

.legal-content .legal-text h3 {
  color: var(--accent) !important;
}

.legal-content .legal-text a {
  color: var(--accent) !important;
}

.legal-content .legal-text a:hover {
  color: var(--accent-hover) !important;
}

.legal-content .btn.btn-secondary {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}

.legal-content .btn.btn-secondary:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
