/* StarLion replica — tuned to live firstscribe theme measurements */
:root {
  --red: #ff4135;
  --text: #1f1f1f;
  --black: #000;
  --offblack: #222;
  --white: #fff;
  --gray: #d9d9d9;
  --muted: #767676;
  --offgray: #bbb;
  --header-bg: rgba(0, 0, 0, 0.6);
  --header-h: 108px;
  --banner-h: 50px;
  --font: "Open Sans", sans-serif;
  --ease: 0.3s ease;
  --h1: clamp(4rem, 1.237vw + 3.05rem, 5.4rem);
  --h1-big: clamp(4rem, 5.903vw - 0.533rem, 10.8rem);
  --h2: clamp(3rem, 0.53vw + 2.593rem, 3.6rem);
  --h3: clamp(2rem, 0.353vw + 1.729rem, 2.4rem);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}

body.include-banner-message {
  padding-top: var(--banner-h);
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 2rem;
  clear: both;
}

h1 {
  font-size: var(--h1);
  line-height: 1.18;
}

h2 {
  font-size: var(--h2);
  line-height: 1.16;
}

h3 {
  font-size: var(--h3);
  line-height: 1.33;
  font-weight: 400;
}

.caps {
  text-transform: uppercase;
  letter-spacing: 3px;
}

.weight-semi {
  font-weight: 600;
}
.weight-bold {
  font-weight: 700;
}
.weight-extra {
  font-weight: 800;
}

.red {
  color: var(--red);
}
.white {
  color: var(--white);
}
.offgray {
  color: var(--offgray);
}
.no-margin {
  margin: 0 !important;
}

.preheading {
  font-size: 1.6rem;
  color: var(--red);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.big-h1 {
  font-size: var(--h1-big);
  line-height: 1.1;
  font-weight: 800;
}

.content {
  max-width: 500px;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}

.content p {
  margin: 0;
}

.p14 {
  font-size: 1.4rem;
}

.column-wrapper {
  width: 100%;
  margin: 0 auto;
}

.sw-10 {
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
}

.sw-20 {
  width: 100%;
  padding-left: 20%;
  padding-right: 20%;
}

.panel-padding {
  padding-top: 6vw;
  padding-bottom: 6vw;
}

/* —— Banner (fixed) —— */
.banner-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: var(--red);
  height: var(--banner-h);
  overflow: hidden;
}

.banner-message-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  opacity: 0.45;
}

.banner-message:hover .banner-message-bg {
  transform: scale(1.1);
}

.banner-message-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 2rem;
}

.banner-message-inner:hover {
  color: var(--white);
  text-decoration: none;
}

.banner-message-inner span:last-child {
  font-weight: 800;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  transition: top 0.3s ease-in-out, background 0.25s ease;
  overflow: visible;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: saturate(120%) blur(6px);
}

body.include-banner-message .site-header {
  top: var(--banner-h);
}

.header-main {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 10%;
  padding-right: 0;
  overflow: visible;
}

.header-right {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.site-logo a {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #0a0612 url("/assets/images/logo-header.png") center / 82% no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  transition: var(--ease);
}

.header-search {
  padding-right: 70px;
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--white);
  line-height: 1;
  transition: var(--ease);
}

.header-search-btn svg {
  display: block;
}

.header-search-btn:hover {
  color: var(--red);
}

.header-lang {
  position: relative;
  padding-right: 40px;
  z-index: 1400;
}

.header-lang-btn {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 2px;
  transition: var(--ease);
}

.header-lang-btn::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.45em;
  margin-bottom: 0.15em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.header-lang.open .header-lang-btn::after {
  transform: rotate(-135deg);
  margin-bottom: -0.05em;
}

.header-lang-btn:hover {
  color: var(--red);
}

.header-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 250px;
  z-index: 1500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.header-lang-dropdown::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 18px;
  border: 10px solid transparent;
  border-bottom-color: var(--white);
}

.header-lang.open .header-lang-dropdown {
  display: block;
}

.header-lang-dropdown a {
  display: block;
  padding: 10px 20px;
  background: var(--white);
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  transition: var(--ease);
}

.header-lang-dropdown a:hover,
.header-lang-dropdown a.active {
  background: var(--gray);
}

.menu-toggle-container {
  position: relative;
  width: 180px;
  height: var(--header-h);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
}

.menu-toggle-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 250px;
  background: var(--black);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
}

.menu-toggle span {
  position: absolute;
  right: 0;
  height: 4px;
  background: var(--white);
  transition: var(--ease);
}

.menu-toggle span:first-child {
  width: 28px;
  top: 23px;
}

.menu-toggle span:last-child {
  width: 20px;
  top: 35px;
}

.menu-toggle:hover span:first-child {
  width: 34px;
}
.menu-toggle:hover span:last-child {
  width: 26px;
}

.menu-toggle.is-open span:first-child {
  width: 34px;
  top: 30px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  width: 34px;
  top: 30px;
  transform: rotate(-45deg);
}

/* —— Menu dropdown —— */
.site-nav {
  position: absolute;
  top: calc(100% - 4px);
  right: 0;
  z-index: 1200;
  width: min(380px, calc(100vw - 20px));
  max-height: min(80vh, 680px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #0a0a0a;
  color: var(--white);
  padding: 2rem 2rem 2.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav.open,
.menu-toggle-container.open .site-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 52px;
  border: 8px solid transparent;
  border-bottom-color: #0a0a0a;
  border-top: 0;
}

.nav-inner {
  margin: 0;
  padding: 0;
}

.top-menu > li {
  margin-bottom: 0.15rem;
}

.top-menu > li > a,
.top-menu .menu-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  padding: 0.85rem 0.4rem;
  color: var(--white);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--ease);
}

.top-menu > li > a:hover,
.top-menu .menu-parent:hover,
.top-menu > li > a.is-active,
.top-menu .sub-menu a.is-active {
  color: var(--red);
}

.menu-caret {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.8rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.85;
}

.has-children.open .menu-caret {
  transform: rotate(-135deg);
  margin-top: 0.2em;
}

.top-menu .sub-menu {
  display: none;
  margin: 0 0 0.4rem;
  padding: 0.15rem 0 0.5rem 1rem;
  border-left: 2px solid rgba(255, 65, 53, 0.45);
}

.has-children.open > .sub-menu {
  display: block;
  animation: submenuIn 0.18s ease;
}

@keyframes submenuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top-menu .sub-menu a {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.45rem 0.4rem;
  color: var(--offgray);
  border-radius: 4px;
  transition: var(--ease);
}

.top-menu .sub-menu a:hover {
  color: var(--red);
}

.bottom-menu {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-menu a {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--offgray);
}

.bottom-menu a:hover {
  color: var(--red);
}

/* —— Buttons —— */
.btn {
  display: inline-block;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  line-height: 1;
  border: none;
  border-radius: 0;
  padding: 13px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(51, 51, 51, 0.75);
  color: var(--white);
  transition: var(--ease);
  white-space: nowrap;
}

.btn:hover,
.btn-black-red:hover {
  color: var(--white);
  background: var(--red);
}

.btn-black-red {
  background: rgba(0, 0, 0, 0.5);
}

/* —— Hero —— */
.hero-section {
  position: relative;
  background: var(--black);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 1080px;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.hero-slide-bg.has-video {
  z-index: 0;
}

.hero-slide-bg.has-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.slide-actions {
  position: absolute;
  bottom: 110px;
  left: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
  pointer-events: none;
}

.slide-actions .btn {
  pointer-events: auto;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 0;
}

.hero-dots button {
  width: 45px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-dots button::after {
  content: "";
  width: 35px;
  height: 7px;
  background: var(--muted);
  transition: var(--ease);
}

.hero-dots button.active::after {
  background: var(--red);
}

/* —— Welcome (home) —— */
.hero-section-text {
  background: var(--white);
  color: var(--text);
}

.hero-section-text .content {
  max-width: 500px;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-section-text .content p {
  margin: 0;
}

.bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 50px;
  align-items: center;
}

.bottom-actions .btn {
  white-space: nowrap;
}

.bottom-actions .btn-black-red:hover {
  background: var(--red);
  color: var(--white);
}

/* —— Case study insight grid —— */
.home-cases {
  background: var(--black);
  color: var(--white);
}

.case-study-insight-grid .heading {
  margin-bottom: 50px;
  letter-spacing: 3px;
}

.csig-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 25px;
}

.csig-col-image {
  aspect-ratio: 1.55;
  margin-bottom: 20px;
  overflow: hidden;
}

.csig-col-image-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.csig-col-image:hover .csig-col-image-inner {
  transform: scale(1.1);
}

.csig-col-category {
  margin-bottom: 7px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.csig-col-title {
  color: var(--white);
  transition: var(--ease);
  display: block;
}

.csig-col-title:hover {
  color: var(--red);
}

.csig-col-title h2,
.csig-col-title .h3 {
  font-size: var(--h3);
  line-height: 1.33;
  font-weight: 400;
  margin: 0;
}

/* Reuse case cards on other pages */
.case-grid-dark {
  background: var(--black);
  padding: 6vw 10%;
}

.case-grid-dark .csig-inner {
  gap: 80px 25px;
}

/* —— Inner page heroes —— */
.page-hero {
  position: relative;
  min-height: 100vh;
  max-height: 1080px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: calc(var(--header-h) + var(--banner-h) + 4rem) 10% 8rem;
  background: var(--black);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: var(--hero);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero h1 {
  font-size: var(--h1-big);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.page-hero .tagline {
  font-size: var(--h2);
  line-height: 1.16;
  font-weight: 600;
  margin: 0;
}

.page-hero.simple {
  min-height: 45vh;
  max-height: none;
  align-items: center;
  background: var(--black);
}

.page-hero.simple::before,
.page-hero.simple::after {
  display: none;
}

.work-intro {
  background: var(--black);
  color: var(--white);
  padding: calc(var(--header-h) + var(--banner-h) + 6rem) 10% 6rem;
}

.work-intro h1 {
  font-size: var(--h1-big);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.work-intro p {
  font-size: var(--h2);
  font-weight: 600;
  max-width: 700px;
  margin: 0;
  line-height: 1.16;
}

/* —— Capabilities (live: white bg, 3 cols with lists) —— */
.capabilities {
  padding: 4rem 10% 8rem;
  background: var(--white);
  color: var(--text);
}

.capabilities > .preheading {
  text-align: left;
  color: var(--red);
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 4rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cap-item h3 {
  font-size: var(--h3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 2rem;
  line-height: 1.2;
  color: var(--text);
}

.cap-item ul {
  margin: 0;
  padding: 0;
}

.cap-item li {
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 1rem;
}

.cap-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1.5rem;
}

.content-band {
  padding: 0 20% 2rem;
  background: var(--white);
}

.content-band.with-top {
  padding-top: 6vw;
}

.content-band p {
  margin: 0 0 1.6rem;
  max-width: 500px;
}

/* Expertise: full-bleed media then white copy */
.expertise-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 1080px;
  min-height: 600px;
  background: var(--black);
  overflow: hidden;
}

.expertise-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.expertise-copy {
  background: var(--white);
}

.expertise-copy .big-h1 {
  margin: 0 0 2.5rem;
  color: var(--text);
}

/* Case study live structure */
.case-study-hero {
  background: var(--black);
}

.case-study-hero-media {
  width: 100%;
  height: 100vh;
  max-height: 1080px;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.case-study-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-hero-text {
  background: var(--white);
}

.case-study-hero-text .big-h1 {
  margin: 0 0 2.5rem;
}

.text-panel {
  background: var(--white);
  padding: 2rem 20% 6rem;
}

.text-panel .preheading {
  margin-bottom: 10px;
}

.text-panel p {
  max-width: 500px;
  margin: 0 0 4rem;
  font-size: 1.6rem;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.gallery-grid {
  padding: 0 0 4rem;
  background: var(--white);
}

.gallery-grid-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, 1fr);
  padding: 0 10%;
}

.gallery-grid .grid-col {
  overflow: hidden;
  position: relative;
  min-height: 240px;
  background: #eee;
}

.gallery-grid .grid-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid .span-12 {
  grid-column: auto / span 12;
  min-height: 420px;
}

.gallery-grid .span-6 {
  grid-column: auto / span 6;
  min-height: 300px;
}

.gallery-grid .span-4 {
  grid-column: auto / span 4;
}

/* Legacy aliases */
.case-hero {
  padding: calc(var(--header-h) + var(--banner-h) + 6rem) 10% 4rem;
  background: var(--black);
  color: var(--white);
}

.case-hero h1 {
  font-size: var(--h1-big);
  font-weight: 800;
  line-height: 0.95;
  margin: 0 0 2rem;
  text-transform: uppercase;
}

.case-hero .headline {
  font-size: var(--h2);
  font-weight: 600;
  max-width: 800px;
  margin: 0;
  line-height: 1.16;
}

.case-gallery {
  background: var(--black);
}

.case-gallery img {
  width: 100%;
}

.case-body {
  background: var(--white);
  padding: 8rem 20%;
}

.case-body .preheading {
  margin-top: 3rem;
}

.case-body .preheading:first-child {
  margin-top: 0;
}

/* Simple hero + contact professionals */
.simple-hero {
  background: var(--black);
  color: var(--white);
  padding: calc(var(--header-h) + var(--banner-h) + 5rem) 0 6rem;
}

.simple-hero .big-h1 {
  color: var(--white);
  margin: 0 0 2rem;
  text-transform: uppercase;
}

.simple-hero .content {
  max-width: 500px;
  color: var(--offgray);
}

/* Insight article */
.insight-header {
  padding-top: calc(var(--header-h) + var(--banner-h) + 5rem);
  padding-bottom: 4rem;
}

.insight-title {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.insight-author {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0;
}

.insight-hero {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--black);
}

.insight-body {
  padding-top: 5rem;
  padding-bottom: 6rem;
  max-width: 72rem;
}

.insight-body p {
  font-size: 1.6rem;
  line-height: 1.65;
  margin: 0 0 2.4rem;
  color: var(--text);
}

.culture-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.culture-links a {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  transition: var(--ease);
}

.culture-links a:hover {
  color: var(--black);
}

.professionals-tabs {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2rem 10% 8rem;
}

.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-evenly;
  margin: 50px 0 3vw;
}

.regions button {
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  transition: var(--ease);
}

.regions button:hover,
.regions button.active {
  color: var(--red);
}

.professionals {
  display: grid;
  gap: 4rem;
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
  padding-top: 3vw;
}

.professional .avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #2a2a2a 0%, #111 100%);
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
}

.professional .avatar::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.professional-countries {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.professional-name {
  font-weight: 700;
  margin-top: 0.5rem;
  font-size: 1.8rem;
}

.professional-phone a {
  font-weight: 700;
  color: var(--white);
  margin-top: 0.25rem;
  font-size: 1.4rem;
  display: inline-block;
}

.professional-phone a:hover {
  color: var(--red);
}

.professional.hidden {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4rem 3rem;
  padding: 4rem 10% 8rem;
}

.contact-card {
  text-align: center;
}

.contact-card .avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--gray);
}

/* —— Footer —— */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 4rem;
  padding: 0 10%;
  margin-bottom: 40px;
}

.footer-logo {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  background: #0a0612 url("/assets/images/logo-header.png") center / 82% no-repeat;
  margin-bottom: 30px;
}

.footer-cta {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
}

.footer-cta::after {
  content: ">";
  color: var(--red);
  margin-left: 6px;
}

.footer-cta:hover {
  color: var(--red);
}

.footer-contact {
  font-size: 1.2rem;
  color: var(--offgray);
  line-height: 1.8;
  max-width: 400px;
}

.footer-contact a:hover {
  color: var(--red);
}

.footer-menu a {
  display: block;
  color: var(--white);
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  transition: var(--ease);
}

.footer-menu a:hover {
  color: var(--red);
}

.footer-menu .muted-links a {
  font-weight: 300;
}

.footer-bottom {
  padding: 25px 10% 0;
  border-top: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  font-size: 1rem;
  color: var(--offgray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-blurb {
  max-width: 400px;
  font-size: 1rem;
  color: var(--offgray);
  margin: 5px 0 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a:hover {
  color: var(--red);
}

/* —— Newsletter —— */
.newsletter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.newsletter-overlay.open {
  display: flex;
}

.newsletter-box {
  background: var(--white);
  max-width: 520px;
  width: 100%;
  padding: 60px 40px;
  position: relative;
}

.newsletter-box h2 {
  font-size: var(--h2);
  margin: 0 0 1rem;
}

.newsletter-box p {
  margin: 0 0 2rem;
  color: var(--muted);
}

.newsletter-box input[type="email"] {
  width: 100%;
  padding: 1.4rem;
  border: 1px solid var(--gray);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  outline: none;
}

.newsletter-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--text);
}

.newsletter-close:hover {
  color: var(--red);
}

/* —— Search overlay —— */
.header-search-box {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1400;
  background: rgba(0, 0, 0, 0.96);
  padding: 28px 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.include-banner-message .header-search-box.open {
  top: var(--banner-h);
}

.header-search-box.open {
  display: block;
  animation: searchIn 0.2s ease;
}

@keyframes searchIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-search-box-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-search-box input {
  flex: 1;
  height: 50px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 3rem;
  font-weight: 300;
  padding-left: 1rem;
}

.header-search-box input::placeholder {
  color: #666;
  font-weight: 300;
}

.header-search-results {
  max-width: 960px;
  margin: 1.6rem auto 0;
  display: grid;
  gap: 0.4rem;
}

.header-search-results[hidden] {
  display: none;
}

.search-hit {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.2rem 1.4rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.search-hit:hover,
.search-hit:focus-visible {
  background: rgba(255, 65, 53, 0.12);
  border-color: rgba(255, 65, 53, 0.45);
}

.search-hit span {
  font-size: 1.7rem;
  font-weight: 600;
}

.search-hit small {
  font-size: 1.2rem;
  color: #888;
  letter-spacing: 0.02em;
}

.search-empty {
  margin: 0;
  padding: 1.2rem 0;
  color: #888;
  font-size: 1.5rem;
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.header-search-close {
  font-size: 4rem;
  color: var(--white);
  line-height: 1;
}

.header-search-close:hover {
  color: var(--red);
}

/* —— Responsive —— */
@media (max-width: 1200px) {
  .sw-20 {
    padding-left: 15%;
    padding-right: 15%;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 66px;
    --banner-h: 70px;
  }

  body.include-banner-message .site-header {
    top: var(--banner-h);
  }

  .header-main {
    padding-left: 16px;
  }

  .site-logo a {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .header-search {
    padding-right: 25px;
  }

  .header-lang {
    padding-right: 0;
  }

  .menu-toggle-container {
    width: auto;
    height: var(--header-h);
    margin-left: 30px;
    overflow: visible;
  }

  .menu-toggle-container::before {
    display: none;
  }

  .menu-toggle {
    width: 25px;
    height: 25px;
    background: #232323;
    border-radius: 50%;
  }

  .menu-toggle span {
    height: 1px;
  }

  .menu-toggle span:first-child {
    top: 10px;
    width: 12px;
    right: 7px;
  }

  .menu-toggle span:last-child {
    top: auto;
    bottom: 10px;
    width: 8px;
    right: 7px;
  }

  .menu-toggle.is-open span:first-child,
  .menu-toggle.is-open span:last-child {
    top: 12px;
    width: 12px;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateX(50%) rotate(-45deg);
  }

  .site-nav {
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, calc(100vw - 16px));
  }

  .site-nav::before {
    right: 10px;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .professionals {
    grid-template-columns: 1fr;
  }

  .gallery-grid .span-6,
  .gallery-grid .span-4 {
    grid-column: auto / span 12;
  }

  .expertise-hero,
  .case-study-hero-media {
    height: 450px;
    max-height: 450px;
    min-height: 450px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sw-10,
  .sw-20 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-band,
  .case-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero,
  .work-intro,
  .case-hero,
  .capabilities {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .slide-actions {
    bottom: 55px;
  }

  .hero-dots {
    bottom: 10px;
  }

  .hero-slides {
    height: 450px;
    max-height: 450px;
    min-height: 450px;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .banner-message-inner {
    gap: 0;
    flex-direction: column;
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .insight-title {
    max-width: none;
  }

  .insight-hero {
    aspect-ratio: 16 / 10;
  }

  .csig-inner {
    grid-template-columns: 1fr;
    gap: 64px 0;
  }

  .header-lang {
    display: block;
    padding-right: 16px;
  }

  .bottom-actions .btn {
    width: 100%;
  }

  .contact-grid {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.privacy-page{padding-top:calc(var(--header-h) + var(--banner-h) + 4rem);padding-bottom:6rem}
.privacy-page .content{max-width:72rem;margin-bottom:1.6rem}
