/* Self-hosted Plus Jakarta Sans (variable 400–800): no third-party font requests */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #3459a6;
  --blue-600: #2a4a8c;
  --blue-50: #eef2fa;
  --blue-300: #8ea8dc;
  --surface: #f6f8fc;
  --ink: #0b0d12;
  --ink-2: #505766;
  --line: rgba(11, 13, 18, 0.08);
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html.menu-open {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

h1, h2, h3, p {
  margin: 0;
}

/* Safety net: a word longer than its box may break instead of widening the page */
h1, h2, h3, h4, p, li, blockquote, strong, small, label, legend {
  overflow-wrap: break-word;
}

/* German and Croatian have long compound words: hyphenate large headings the way print typography does */
html:not([lang='en']) :is(h1, h2, h3, h4, .split-word) {
  hyphens: auto;
  -webkit-hyphens: auto;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0;
  transition: padding 0.5s var(--ease);
}

.header-shell {
  max-width: 1280px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0);
  transition:
    max-width 0.5s var(--ease),
    height 0.5s var(--ease),
    padding 0.5s var(--ease),
    border-radius 0.5s var(--ease),
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  padding: 12px 16px 0;
}

.site-header.is-scrolled .header-shell {
  max-width: 1140px;
  height: 64px;
  padding: 0 10px 0 24px;
  border-radius: 999px;
  border-color: var(--line);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 12px 32px -14px rgba(16, 24, 40, 0.22);
}

.header-logo img {
  height: 30px;
  width: auto;
  transition: height 0.5s var(--ease);
}

.site-header.is-scrolled .header-logo img {
  height: 26px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Desktop nav */

.header-nav {
  position: relative;
  display: none;
}

.nav-list {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 2px;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.25s ease;
}

.nav-item:hover,
.nav-item.is-active,
.nav-item[aria-expanded='true'] {
  color: var(--ink);
}

.nav-item.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--blue-50);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s ease;
}

/* Dropdown */

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 380px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease),
    visibility 0s linear 0.35s;
}

.dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: 0s;
}

.dropdown-inner {
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(16, 24, 40, 0.28);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  transition: background-color 0.2s ease;
}

.dropdown-link:hover {
  background-color: var(--blue-50);
}

.dropdown-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.dropdown-link:hover .dropdown-icon,
.dropdown-link.is-active .dropdown-icon {
  background: var(--blue);
  color: var(--white);
}

.dropdown-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.dropdown-desc {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.dropdown-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--blue-50);
  font-size: 13.5px;
  color: var(--ink-2);
}

.dropdown-foot strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
}

.dropdown-foot svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.dropdown-foot:hover svg {
  transform: translateX(3px);
}

/* CTA */

.btn-cta {
  display: none;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 7px 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background: var(--blue);
}

.btn-cta-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.btn-cta-icon svg {
  width: 15px;
  height: 15px;
  transform: rotate(-45deg);
  transition: transform 0.4s var(--ease);
}

.btn-cta:hover .btn-cta-icon svg,
.m-cta:hover .btn-cta-icon svg {
  transform: rotate(0);
}

/* Language switcher */

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.lang-btn:hover,
.lang.is-open .lang-btn {
  border-color: rgba(11, 13, 18, 0.2);
  background: var(--white);
}

.lang-btn svg {
  flex: none;
}

.lang-code {
  min-width: 2ch;
  letter-spacing: 0.02em;
}

.lang-chevron {
  display: grid;
  color: var(--ink-2);
  transition: transform 0.35s var(--ease);
}

.lang.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 2;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px -20px rgba(16, 24, 40, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.lang.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.lang-title {
  padding: 8px 10px 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: var(--blue-50);
}

.lang-short {
  width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.lang-check {
  margin-left: auto;
  color: var(--blue);
  opacity: 0;
}

.lang-option.is-current {
  font-weight: 700;
}

.lang-option.is-current .lang-short {
  background: var(--blue);
  color: var(--white);
}

.lang-option.is-current .lang-check {
  opacity: 1;
}

@media (max-width: 380px) {
  .header-logo img {
    height: 24px;
  }

  .lang-btn {
    padding: 0 10px;
  }

  .lang-chevron {
    display: none;
  }
}

/* Menu toggle */

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: background-color 0.3s ease;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  top: 21px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease), width 0.3s var(--ease);
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-4px);
}

.menu-toggle span:nth-child(2) {
  width: 11px;
  transform: translateY(4px);
}

.menu-toggle[aria-expanded='true'] {
  background: var(--blue);
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  width: 18px;
  transform: translateY(0) rotate(-45deg);
}

/* ---------- Mobile nav ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.6s;
}

.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-nav-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 28px) 24px 32px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 100%, rgba(52, 89, 166, 0.14), transparent 55%),
    var(--white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}

.mobile-nav.is-open .mobile-nav-panel {
  clip-path: inset(0 0 0 0);
}

.m-list {
  border-top: 1px solid var(--line);
}

.m-item,
.m-footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
}

.m-item {
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open .m-item,
.mobile-nav.is-open .m-footer {
  opacity: 1;
  transform: none;
}

.mobile-nav.is-open .m-item {
  transition-delay: calc(0.07s * var(--i) + 0.18s);
}

.mobile-nav.is-open .m-footer {
  transition-delay: 0.5s;
}

.m-link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--ink);
}

.m-link.is-active {
  color: var(--blue);
}

.m-num {
  width: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
}

.m-arrow,
.m-plus {
  position: relative;
  flex: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.m-arrow svg {
  width: 15px;
  height: 15px;
  transform: rotate(-45deg);
  transition: transform 0.4s var(--ease);
}

.m-link:hover .m-arrow svg,
.m-link:active .m-arrow svg {
  transform: rotate(0);
}

.m-plus::before,
.m-plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}

.m-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.m-item.is-expanded .m-plus {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.m-item.is-expanded .m-plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.m-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.m-item.is-expanded .m-sub {
  grid-template-rows: 1fr;
}

.m-sub-inner {
  overflow: hidden;
}

.m-sub-list {
  padding: 0 0 18px 38px;
}

.m-sub-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.m-sub-link:hover,
.m-sub-link.is-active {
  color: var(--ink);
}

.m-sub-link .dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.m-sub-link .dropdown-icon svg {
  width: 18px;
  height: 18px;
}

.m-footer {
  margin-top: auto;
  padding-top: 36px;
}

.m-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 9px 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.m-cta:hover {
  background: var(--blue);
}

.m-cta .btn-cta-icon {
  width: 40px;
  height: 40px;
}

.m-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
}

.m-meta-label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 0 12px 12px;
}

.footer-card {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 0;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(52, 89, 166, 0.4), transparent 65%),
    radial-gradient(40% 50% at 0% 100%, rgba(52, 89, 166, 0.18), transparent 70%),
    var(--ink);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-title {
  max-width: 720px;
  margin-top: 8px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.footer-cta-title span {
  color: var(--blue-300);
}

.footer-cta-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 9px 0 26px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-cta-btn .btn-cta-icon {
  width: 40px;
  height: 40px;
  background: rgba(11, 13, 18, 0.07);
  transition: background-color 0.3s ease;
}

.footer-cta-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-cta-btn:hover .btn-cta-icon {
  background: rgba(255, 255, 255, 0.16);
}

.footer-cta-btn .btn-cta-icon svg {
  transform: rotate(-45deg);
  transition: transform 0.4s var(--ease);
}

.footer-cta-btn:hover .btn-cta-icon svg {
  transform: rotate(0);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 24px;
  padding: 56px 0;
}

.footer-brand,
.footer-contact {
  grid-column: span 2;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 320px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-offices {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 500;
}

.footer-partner {
  margin-top: 28px;
}

.footer-partner .footer-label {
  margin-bottom: 14px;
}

.footer-partner-logo {
  width: auto;
  height: 54px;
  opacity: 0.88;
  transition: opacity 0.3s ease;
}

.footer-partner-logo:hover {
  opacity: 1;
}

.footer-col .footer-label {
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-link {
  justify-self: start;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.25s ease, background-size 0.4s var(--ease);
}

.footer-link:hover {
  color: var(--white);
  background-size: 100% 1px;
}

.footer-contact {
  display: grid;
  gap: 22px;
  align-content: start;
}

.footer-contact .footer-label {
  margin-bottom: -4px;
}

.footer-person {
  display: grid;
  gap: 6px;
}

.footer-person strong {
  font-size: 15px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  flex-direction: column-reverse;
  gap: 14px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.footer-legal-links .footer-link {
  font-size: 14px;
}

.footer-legal-links .footer-link[aria-current='page'] {
  color: var(--white);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.footer-top-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}

.footer-top:hover {
  color: var(--white);
}

.footer-top:hover .footer-top-icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
}

.footer-wordmark {
  margin: 8px 0 -0.14em;
  font-size: clamp(88px, 22vw, 320px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-align: center;
  user-select: none;
  pointer-events: none;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
}

.f-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease);
  transition-delay: calc(0.08s * var(--d));
}

.site-footer.is-visible .f-reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Shared page components ---------- */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-title {
  text-wrap: balance;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.section-title .accent {
  color: var(--blue);
}

.section-lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.eyebrow-pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.eyebrow-pill .dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 8px 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn .btn-cta-icon {
  width: 40px;
  height: 40px;
}

.btn:hover .btn-cta-icon svg {
  transform: rotate(0);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue);
}

.btn-light {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 26px;
}

.btn-light:hover {
  border-color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Scroll reveal (only when JS is running) */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 1.1s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal='scale'] {
  transform: scale(0.94);
}

.js [data-reveal='fade'] {
  transform: none;
}

.js [data-reveal='clip'] {
  opacity: 1;
  transform: none;
  clip-path: inset(14% 14% 14% 14% round 28px);
  transition: clip-path 1.3s var(--ease);
}

.js [data-reveal='clip'].is-in {
  clip-path: inset(0 0 0 0 round 28px);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Word-by-word headline reveal */

.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  vertical-align: top;
}

.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(0.07s * var(--w) + var(--split-delay, 0s));
}

.is-split.is-in .split-word > span {
  transform: none;
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

/* ---------- Client logos ---------- */

.clients {
  padding: 32px 0 16px;
}

.clients-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.marquee {
  margin-top: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 80s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
}

.marquee-group img {
  max-width: none;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.marquee-group img:hover {
  opacity: 1;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Section heads ---------- */

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
}

.section-head .section-title {
  margin-top: 4px;
}

.section-head.center {
  justify-items: center;
  text-align: center;
}


.spot-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spot-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(52, 89, 166, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.spot-card:hover::before {
  opacity: 1;
}


/* Unlit words stay readable (≥3:1 contrast for large text) */
.hl-word {
  color: rgba(11, 13, 18, 0.45);
  transition: color 0.35s ease;
}

.hl-word.is-lit {
  color: var(--ink);
}

.hl-word.hl-strong.is-lit {
  color: var(--blue);
}


@media (min-width: 1024px) {
  .section-head:not(.center) {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    gap: 64px;
  }

  .section-head:not(.center) .section-lead {
    justify-self: end;
  }

}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .btn-cta {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding: 0 16px 16px;
  }

  .footer-card {
    padding: 88px 48px 0;
    border-radius: 36px;
  }

  .footer-cta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 72px;
  }

  .footer-grid {
    padding: 64px 0;
  }

  .footer-contact {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-contact .footer-label {
    grid-column: span 2;
  }

  .footer-legal {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .footer-legal-links {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-contact {
    grid-template-columns: 1fr;
  }

  .footer-contact .footer-label {
    grid-column: auto;
  }

  .header-shell {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .header-nav {
    display: block;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Page placeholder (temporary) ---------- */

.page-placeholder {
  max-width: 1140px;
  min-height: 200vh;
  margin: 0 auto;
  padding: calc(var(--header-h) + 96px) 24px 96px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.placeholder-title {
  max-width: 780px;
  margin-top: 16px;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.placeholder-note {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-2);
}

.placeholder-block {
  height: 320px;
  margin-top: 64px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blue-50), #dfe6f4 60%, var(--blue) 180%);
}
