/* ============================================================
   PRIME INTERACT — ONE-PAGER FOUNDATION
   Design: Editorial Swiss × Bold Expressive
   ============================================================ */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand palette — blues only */
  --hero-blue:   #2261FE;
  --deep-blue:   #0249FE;
  --anchor-blue: #033E97;
  --cobalt:      #4075FE;
  --mid-blue:    #5D88FF;
  --periwinkle:  #77B8FF;
  --sky-tint:    #ABDCFF;
  --ice-blue:    #D5F2FF;
  --white:       #FFFFFF;

  /* Typography */
  --font-head: "Inter", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;

  /* Spacing */
  --pad-x:  clamp(24px, 5vw, 80px);
  --pad-y:  clamp(64px, 8vw, 140px);
  --max-w:  1440px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      700ms;
  --dur-slow: 900ms;
}

/* ─── RESET ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--anchor-blue);
  background: var(--white);
  min-width: 320px;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

ul,
ol {
  list-style: none;
}

/* ─── ACCESSIBILITY ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────── */
.t-display {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.93;
  letter-spacing: -0.03em;
}

.t-h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.t-h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.t-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.t-body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  max-width: 65ch;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: min(100%, var(--max-w));
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

@media (max-width: 767px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
}

/* ─── LINE-MASK REVEAL ───────────────────────────────────── */
.line-mask {
  overflow: hidden;
  display: block;
}

.line-mask > span {
  display: block;
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease-out);
}

.line-mask.is-revealed > span {
  transform: translateY(0);
}

/* ─── FADE REVEAL ────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

.fade-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.slide-in {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

.slide-in.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: color var(--dur) var(--ease-out);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 3vw, 40px) var(--pad-x);
  transition: background var(--dur) var(--ease-out),
              padding var(--dur) var(--ease-out);
}

.site-header.is-scrolled .header-inner {
  background: rgba(3, 62, 151, 0.97);
  padding-top: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(14px, 2vw, 22px);
}

.header-left,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

/* Logo */
.brand {
  width: clamp(80px, 7vw, 120px);
  display: inline-flex;
  flex-shrink: 0;
}

.brand img {
  width: 100%;
}

/* Language selector */
.language {
  display: flex;
  align-items: center;
}

.language select {
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding: 4px 0;
}

.language select:hover {
  opacity: 1;
}

/* Email link in header */
.header-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  opacity: 0.75;
  transition: opacity 300ms;
}

.header-email:hover {
  opacity: 1;
}

.header-email svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.header-email span {
  display: none;
}

@media (min-width: 900px) {
  .header-email span {
    display: inline;
  }
}

/* ─── MENU TOGGLE ────────────────────────────────────────── */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 8px 0;
  min-height: 44px;
}

.menu-toggle__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  align-items: flex-end;
}

.menu-toggle__lines span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out),
              opacity 250ms;
}

.menu-toggle__lines span:nth-child(1) {
  width: 26px;
}

.menu-toggle__lines span:nth-child(2) {
  width: 18px;
}

.menu-toggle__lines span:nth-child(3) {
  width: 23px;
}

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

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── SLIDE-OUT MENU ─────────────────────────────────────── */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  overflow: hidden;
}

.menu-panel.is-open {
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 73, 254, 0.12);
  opacity: 0;
  cursor: default;
  transition: opacity var(--dur) var(--ease-out);
}

.menu-panel.is-open .menu-backdrop {
  opacity: 1;
}

.menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100vw);
  height: 100%;
  background: var(--anchor-blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 52px) clamp(28px, 5vw, 64px);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
}

.menu-panel.is-open .menu-drawer {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(28px, 5vw, 64px);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  padding: 10px;
  opacity: 0.5;
  transition: opacity 250ms;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-close:hover {
  opacity: 1;
}

.menu-nav {
  margin-top: clamp(46px, 7vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.menu-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--white);
  opacity: 0.4;
  transition: opacity 300ms;
  display: inline-flex;
  gap: 14px;
  width: fit-content;
  position: relative;
  min-height: 44px;
  align-items: center;
  padding-left: 42px;
  padding-right: 0.08em;
}

.menu-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 28px;
  transform: translateY(-50%);
  opacity: 0.9;
  background:
    linear-gradient(var(--anchor-blue), var(--anchor-blue)) 50% 6px / 3px 20px no-repeat,
    linear-gradient(var(--anchor-blue), var(--anchor-blue)) 50% 6px / 18px 3px no-repeat,
    linear-gradient(135deg, transparent 50%, var(--anchor-blue) 52%) 9px 7px / 9px 9px no-repeat,
    linear-gradient(45deg, transparent 50%, var(--anchor-blue) 52%) 8px 7px / 9px 9px no-repeat;
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}

.menu-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 42px;
  width: 0;
  height: 1.5px;
  background: var(--white);
  transition: width 400ms var(--ease-out);
}

.menu-nav a:hover {
  opacity: 1;
}

.menu-nav a:hover::before {
  opacity: 1;
  transform: translateY(-56%);
}

.menu-nav a:hover::after {
  width: calc(100% - 42px);
}

.menu-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-socials {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.menu-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  transition: opacity 250ms;
}

.menu-socials a:hover {
  opacity: 1;
}

.menu-socials svg {
  width: 18px;
  height: 18px;
}

.menu-email,
.menu-meta > span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  opacity: 0.55;
  transition: opacity 250ms;
}

.menu-email:hover {
  opacity: 1;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
.cursor {
  display: none;
}

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
  }

  .cursor__dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--hero-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: background 200ms;
    will-change: left, top;
  }

  .cursor__ring {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--hero-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: left, top, width, height;
    transition: width 300ms var(--ease-out),
                height 300ms var(--ease-out),
                border-color 200ms;
  }

  .cursor.is-hovering .cursor__ring {
    width: 52px;
    height: 52px;
    border-color: var(--cobalt);
  }
}

/* ─── SECTION BASE ───────────────────────────────────────── */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--contact {
  min-height: 100vh;
  background: #f7f7f4;
  color: #111111;
  padding: clamp(82px, 8vw, 126px) 0;
  align-items: flex-start;
}

.contact-shell {
  width: 100%;
  max-width: 1120px;
}

.contact-kicker {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1;
  color: rgba(17, 17, 17, 0.68);
  margin-bottom: clamp(22px, 2vw, 30px);
}

.contact-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 48px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.32);
  padding-bottom: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(34px, 4vw, 52px);
}

.contact-tab {
  border: 0;
  background: transparent;
  color: rgba(17, 17, 17, 0.16);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(24px, 2.55vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: color 220ms var(--ease-out);
}

.contact-tab:hover,
.contact-tab.is-active {
  color: #111111;
}

.contact-panels {
  width: min(100%, 760px);
}

.contact-panel {
  width: 100%;
}

.contact-panel[hidden] {
  display: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 54px);
  row-gap: clamp(30px, 4vw, 44px);
  margin-bottom: clamp(30px, 4vw, 48px);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  color: rgba(17, 17, 17, 0.52);
}

.contact-field--wide {
  width: 100%;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 0;
  background: transparent;
  color: #111111;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.35;
  letter-spacing: 0;
  outline: 0;
  padding: 8px 4px 13px 0;
  transition: border-color 180ms var(--ease-out);
}

.contact-field textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-bottom-color: #111111;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(17, 17, 17, 0.28);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 12px;
  border: 0;
  margin: 0 0 clamp(36px, 4vw, 54px);
  padding: 0;
}

.contact-options legend {
  flex: 0 0 100%;
  margin-bottom: 4px;
  color: rgba(17, 17, 17, 0.72);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(15px, 1.2vw, 18px);
}

.contact-options label {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.contact-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-options span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 17, 17, 0.72);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1;
  padding: 0 24px;
  transition: background 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out);
}

.contact-options label:hover span,
.contact-options input:focus-visible + span {
  border-color: #111111;
  color: #111111;
}

.contact-options input:checked + span {
  border-color: #10a986;
  background: #10a986;
  color: #ffffff;
}

.contact-consent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px, 3vw, 40px);
  color: rgba(17, 17, 17, 0.68);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

.contact-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: #111111;
}

.contact-status {
  min-height: 1.4em;
  margin: -12px 0 18px;
  color: rgba(17, 17, 17, 0.68);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-status.is-error {
  color: #b42318;
}

.contact-status.is-success {
  color: #0f7a5f;
}

.contact-submit {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--anchor-blue);
  border-radius: 999px;
  background: var(--anchor-blue);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1;
  padding: 0 28px;
  cursor: pointer;
  transition: background 220ms var(--ease-out),
              color 220ms var(--ease-out),
              transform 220ms var(--ease-out);
}

.contact-submit:hover {
  background: transparent;
  color: var(--anchor-blue);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

@media (max-width: 767px) {
  .section--contact {
    min-height: auto;
    padding: 78px 0 96px;
  }

  .contact-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 40px;
  }

  .contact-tab {
    font-size: clamp(15px, 4.6vw, 20px);
    line-height: 1.12;
  }

  .contact-panels {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-options span {
    min-height: 42px;
    padding: 0 18px;
  }
}

/* ─── HERO ───────────────────────────────────────────────── */
.section--hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  overflow: clip;
  display: block;
  background: var(--anchor-blue);
  color: var(--white);
  contain: paint;
}

/* Video background */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
}

.hero__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  border: none;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 14, 58, 0.65);
}

/* Scattered letters — sized by viewport HEIGHT like reference */
.hero__letters {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.hero__letter {
  position: absolute;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--white);
  line-height: 0.85;
  letter-spacing: -0.045em;
  opacity: 0;
}

/* G — top left, full-height anchor */
.hero__letter--g {
  font-size: clamp(240px, 50vh, 540px);
  top: 11%;
  left: 10%;
}

/* R — top right */
.hero__letter--r {
  font-size: clamp(240px, 50vh, 540px);
  top: 10%;
  right: 29%;
}

/* O — after R in GROWTH */
.hero__letter--o {
  font-size: clamp(240px, 50vh, 540px);
  top: 10%;
  right: 8%;
}

/* W — bottom left */
.hero__letter--w {
  font-size: clamp(240px, 50vh, 540px);
  bottom: -10%;
  left: 10%;
}

/* T — bottom center, tablet+ */
.hero__letter--t {
  font-size: clamp(240px, 50vh, 540px);
  bottom: -10%;
  left: 52%;
  display: none;
}

/* H — bottom right */
.hero__letter--h {
  font-size: clamp(240px, 50vh, 540px);
  bottom: -10%;
  right: 5%;
}

@media (min-width: 768px) {
  .hero__letter--t { display: block; }
}

/* Blue circle — frames content, sits between letters and text */
.hero__circle {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 34vw, 540px);
  height: clamp(280px, 34vw, 540px);
  border-radius: 50%;
  background: rgba(3, 62, 151, 0.88);
  z-index: 3;
}

/* Content — absolutely centered, smaller than circle */
.hero__content {
  position: absolute;
  top: 47%;
  left: 44%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: clamp(220px, 24vw, 360px);
}

@media (max-width: 767px) {
  .section--hero {
    width: 100%;
    width: 100dvw;
    max-width: 100%;
    max-width: 100dvw;
    min-height: 100svh;
  }

  .hero__iframe {
    width: max(120vw, calc(100vh * 16 / 9));
  }

  .header-inner {
    gap: 14px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    width: 78px;
  }

  .language {
    display: none;
  }

  .header-email {
    display: none;
  }

  .menu-toggle__text {
    font-size: 0.68rem;
  }

  .hero__letter--g {
    font-size: clamp(126px, 24vh, 210px);
    top: 11%;
    left: -2%;
  }

  .hero__letter--r {
    font-size: clamp(126px, 24vh, 210px);
    top: 11%;
    left: 41%;
    right: auto;
  }

  .hero__letter--o {
    font-size: clamp(126px, 24vh, 210px);
    top: 22%;
    right: -7%;
  }

  .hero__letter--w {
    font-size: clamp(126px, 24vh, 210px);
    bottom: 4%;
    left: -6%;
  }

  .hero__letter--t {
    display: block;
    font-size: clamp(126px, 24vh, 210px);
    bottom: 4%;
    left: 37%;
  }

  .hero__letter--h {
    font-size: clamp(126px, 24vh, 210px);
    bottom: 4%;
    right: -8%;
  }

  .hero__content {
    left: 50%;
    width: min(68vw, 268px);
  }

  .hero__circle {
    width: min(84vw, 330px);
    height: min(84vw, 330px);
    left: 50%;
  }
}

/* Headline — small against giant letters, this is the tension */
.hero__headline {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(14px, 1.8vw, 24px);
}

.hero__line {
  overflow: hidden;
  display: block;
}

.hero__line > span {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
}

/* Sub text */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: clamp(18px, 2vw, 28px);
}

@media (max-width: 767px) {
  .hero__sub {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
  }

  .hero__cta {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .hero__sub br { display: none; }
}

/* CTA */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 0.85vw, 14px);
  color: var(--white);
  position: relative;
  transition: gap 300ms var(--ease-out);
}

.hero__cta::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 420ms var(--ease-out);
}

.hero__cta:hover { gap: 14px; }
.hero__cta:hover::after { width: 100%; }

.hero__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 300ms var(--ease-out);
}

.hero__cta:hover svg { transform: translateX(3px); }

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: clamp(24px, 5vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.hero__scroll-cue span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  opacity: 0.45;
}

.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-100%);
  animation: scroll-drop 1.9s var(--ease-out) 1.8s infinite;
}

@keyframes scroll-drop {
  0%   { transform: translateY(-100%); opacity: 1; }
  100% { transform: translateY(200%);  opacity: 0.2; }
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.section--about {
  min-height: 100vh;
  background: var(--white);
  color: #2b2b2b;
  align-items: flex-start;
  padding: clamp(80px, 10vh, 130px) 0 clamp(60px, 8vh, 100px);
}

.about__inner {
  display: grid;
  grid-template-columns: clamp(200px, 26vw, 380px) 1fr;
  align-items: start;
  gap: clamp(40px, 5vw, 80px);
}

.about__content {
  min-width: 0;
  max-width: 1180px;
}

.about__mark {
  width: 100%;
}

.about__mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about__title {
  font-family: var(--font-body);
  color: #2b2b2b;
  font-weight: 400;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.about__copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  max-width: 680px;
  margin-bottom: 0;
}

.about__copy + .about__copy {
  margin-top: 8px;
}

.about__copy:last-of-type {
  margin-bottom: clamp(42px, 5vw, 70px);
}

.about__link {
  display: inline-flex;
  align-items: center;
  color: #303b91;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.4vw, 28px);
  line-height: 1.2;
  border-bottom: 1px solid currentColor;
  transition: color 240ms var(--ease-out);
}

.about__link:hover {
  color: var(--hero-blue);
}

.about__cta-row {
  display: grid;
  grid-template-columns: max-content minmax(340px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 120px);
  width: 100%;
}

.about__logo-marquee {
  min-width: 0;
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.about__logo-track {
  --logo-gap: clamp(34px, 4vw, 72px);
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--logo-gap);
  animation: about-logo-scroll 24s linear infinite;
}

.about__logo {
  flex: 0 0 clamp(112px, 9vw, 150px);
  height: 58px;
  display: grid;
  place-items: center;
}

.about__logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

@keyframes about-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about__big-on {
  margin-top: clamp(64px, 10vh, 100px);
  width: min(100%, 1120px);
}

.about__big-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.about__big-title {
  color: #2b2b2b;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.about__control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 62, 151, 0.22);
  color: var(--anchor-blue);
  background: var(--white);
  transition: background 240ms var(--ease-out),
              color 240ms var(--ease-out),
              border-color 240ms var(--ease-out),
              opacity 240ms var(--ease-out);
}

.about__control:hover:not(:disabled) {
  background: var(--anchor-blue);
  border-color: var(--anchor-blue);
  color: var(--white);
}

.about__control:disabled {
  opacity: 0.35;
  cursor: default;
}

.about__control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__cards {
  overflow: hidden;
}

.about__cards-track {
  --card-gap: clamp(16px, 2vw, 24px);
  display: flex;
  gap: var(--card-gap);
  transition: transform var(--dur) var(--ease-out);
}

.about__card {
  flex: 0 0 calc((100% - var(--card-gap)) / 2);
  min-width: 0;
  min-height: 152px;
  padding: clamp(18px, 1.5vw, 22px);
  background: var(--white);
  color: #2b2b2b;
  border: 1px solid rgba(3, 62, 151, 0.12);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(3, 62, 151, 0.06);
}

.about__card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ice-blue);
  color: var(--anchor-blue);
  margin-bottom: 18px;
}

.about__card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__card h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(19px, 1.25vw, 23px);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.about__card p {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.58;
  color: rgba(43, 43, 43, 0.72);
}

@media (max-width: 767px) {
  .section--about {
    min-height: auto;
    padding-top: 80px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__mark {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
  }

  .about__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about__copy {
    font-size: 15px;
    line-height: 1.5;
  }

  .about__copy:last-of-type {
    margin-bottom: 44px;
  }

  .about__cta-row {
    display: block;
  }

  .about__logo-marquee {
    margin-top: 24px;
    padding: 12px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    scrollbar-width: none;
  }

  .about__logo-marquee::-webkit-scrollbar {
    display: none;
  }

  .about__logo-track {
    --logo-gap: 24px;
    animation: about-logo-scroll 24s linear infinite;
  }

  .about__logo-track .about__logo:nth-child(n + 6) {
    display: grid;
  }

  .about__logo {
    flex-basis: 116px;
    height: 52px;
  }

  .about__logo img {
    max-height: 40px;
  }

  .about__big-on {
    margin-top: 110px;
  }

  .about__big-head {
    align-items: flex-end;
  }

  .about__card {
    flex-basis: 100%;
    min-height: 240px;
  }

  .about__cards-track {
    width: 100%;
  }
}

/* ─── SERVICES ───────────────────────────────────────────── */
.section--services {
  display: block;
  background: #f7f7f5;
  color: #1f2430;
  padding: clamp(74px, 8vw, 118px) 0;
}

.services__shell {
  position: relative;
}

.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.services__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31, 36, 48, 0.52);
  margin-bottom: 14px;
}

.services__headline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.1vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 820px;
  color: #20242e;
}

.services__headline span {
  display: block;
  color: rgba(31, 36, 48, 0.32);
}

.services__summary {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.55;
  color: rgba(31, 36, 48, 0.68);
  max-width: 540px;
  margin-top: 22px;
}

.services__contact {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 0;
  background: #111a3a;
  border: 1px solid #111a3a;
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  white-space: nowrap;
  transition: background 220ms var(--ease-out),
              color 220ms var(--ease-out),
              transform 220ms var(--ease-out);
}

.services__contact:hover {
  background: transparent;
  color: #111a3a;
  transform: translateY(-2px);
}

.services__grid {
  display: grid;
  gap: clamp(26px, 3vw, 44px);
  align-items: start;
}

.services__service {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.86fr);
  gap: clamp(14px, 1.5vw, 22px);
  align-items: stretch;
}

.services__service--reverse {
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.34fr);
}

.services__card,
.services__visual {
  min-height: clamp(330px, 30vw, 430px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 36, 48, 0.09);
  border-radius: 28px;
  padding: clamp(28px, 3vw, 46px);
  background: #f1e5fb;
}

.services__card {
  display: flex;
  flex-direction: column;
}

.services__visual {
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 42px);
  background: #f5f2fb;
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(70%, 300px) auto;
}

.services__card--strategy { background: #f3e1fb; }
.services__visual--strategy {
  background-color: #f8effc;
  background-image: url("../img/services/strategy.png");
}
.services__card--development { background: #ebe7ff; }
.services__visual--development {
  background-color: #f0eff8;
  background-image: url("../img/services/fullstack.png");
}
.services__card--sales { background: #e6f1ff; }
.services__visual--sales {
  background-color: #f1f6fc;
  background-image: url("../img/services/sales.png");
}
.services__card--innovation { background: #eff3f8; }
.services__visual--innovation {
  background-color: #f7f8fb;
  background-image: url("../img/services/innovation.png");
}

.services__card-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.services__card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(26px, 2.55vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
  color: #20242e;
  margin-bottom: 16px;
}

.services__card p {
  max-width: 500px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.62;
  color: rgba(31, 36, 48, 0.7);
}

.services__list {
  position: relative;
  z-index: 2;
  margin-top: auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  border-top: 1px solid rgba(31, 36, 48, 0.09);
  padding-top: clamp(24px, 2.5vw, 34px);
}

.services__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(13px, 0.88vw, 15px);
  line-height: 1.25;
  color: rgba(24, 28, 38, 0.88);
}

.services__list li::before {
  content: "\2713";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(3, 62, 151, 0.9);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(3, 62, 151, 0.12);
}

@media (max-width: 900px) {
  .services__intro,
  .services__service,
  .services__service--reverse {
    grid-template-columns: 1fr;
  }

  .services__intro {
    align-items: start;
  }

  .services__contact {
    justify-self: start;
  }

  .services__card,
  .services__visual {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .section--services {
    padding: 64px 0 76px;
  }

  .services__shell {
    overflow: hidden;
  }

  .services__intro {
    margin-bottom: 30px;
  }

  .services__headline {
    font-size: clamp(32px, 10vw, 48px);
  }

  .services__summary {
    margin-top: 16px;
  }

  .services__contact {
    min-height: 48px;
    padding: 0 22px;
  }

  .services__card,
  .services__visual {
    min-height: 360px;
    border-radius: 22px;
    padding: 26px 24px 28px;
  }

  .services__visual {
    min-height: 240px;
  }

  .services__card h3 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .services__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services__list li {
    font-size: 0.9rem;
  }

}

/* ─── APPROACH ───────────────────────────────────────────── */
.section--approach {
  min-height: auto;
  display: block;
  background: var(--white);
  padding: clamp(80px, 10vw, 140px) 0;
}

.approach__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.approach__label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(13px, 0.9vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--anchor-blue);
  margin-bottom: clamp(18px, 2vw, 26px);
}

.approach__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(32px, 3.35vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
  color: #111a3a;
  margin-bottom: clamp(18px, 2.2vw, 30px);
  max-width: 620px;
}

.approach__copy {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(17, 26, 58, 0.62);
  max-width: 380px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.approach__ctas {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.approach__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 0 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--anchor-blue);
  border-bottom: 1px solid currentColor;
  transition: color 240ms var(--ease-out),
              gap 240ms var(--ease-out);
}

.approach__btn:hover {
  color: var(--hero-blue);
  gap: 12px;
}

.approach__btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.approach__step {
  border-radius: 18px;
  overflow: hidden;
  min-height: 76px;
}

.approach__step--1 { background: #abdcff; color: #071229; }
.approach__step--2 { background: #f9ffc1; color: #071229; }
.approach__step--3 { background: #ffe6ca; color: #071229; }
.approach__step--4 { background: #eed5ff; color: #071229; }

.approach__step-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  min-height: 76px;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.approach__step-num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0;
  opacity: 0.56;
  flex: 0 0 auto;
}

.approach__step-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(17px, 1.45vw, 24px);
  line-height: 1.14;
  flex: 1 1 auto;
}

.approach__step-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #071229;
  opacity: 1;
  position: relative;
}

.approach__step-icon svg {
  display: none;
}

.approach__step-icon::before,
.approach__step-icon::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 300ms var(--ease-out),
              opacity 300ms var(--ease-out);
}

.approach__step-icon::after {
  transform: rotate(90deg);
}

.approach__step.is-open .approach__step-icon::after {
  opacity: 0;
  transform: rotate(90deg) scaleX(0);
}

.approach__step-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms var(--ease-out);
}

.approach__step-body-inner {
  overflow: hidden;
}

.approach__step.is-open .approach__step-body {
  grid-template-rows: 1fr;
}

.approach__step-body-inner p {
  padding: clamp(16px, 2vw, 24px) clamp(20px, 2.4vw, 32px) clamp(22px, 2.6vw, 34px);
  padding-left: clamp(20px, 2.4vw, 32px);
  max-width: 780px;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 500;
  line-height: 1.58;
  opacity: 0.88;
}

@media (max-width: 767px) {
  .section--approach {
    padding: 72px 0 80px;
  }

  .approach__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .approach__title {
    font-size: clamp(30px, 9vw, 44px);
  }

  .approach__step-body-inner p {
    padding-left: clamp(20px, 5vw, 28px);
  }
}

/* ─── TEAM ───────────────────────────────────────────────── */
.section--work {
  min-height: auto;
  display: block;
  background: var(--white);
  color: #242424;
  padding: clamp(60px, 7vw, 100px) 0;
  overflow: hidden;
}

.team__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(36, 36, 36, 0.36);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(36, 36, 36, 0.6);
  margin-bottom: 24px;
}

.team__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  color: #242424;
  max-width: 560px;
}

.team__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(34px, 4vw, 58px);
}

.team__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
}

.team__control {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--anchor-blue);
  color: var(--white);
  cursor: pointer;
  transition: transform 220ms var(--ease-out),
              opacity 220ms var(--ease-out),
              background 220ms var(--ease-out);
}

.team__control:hover:not(:disabled) {
  transform: translateY(-2px);
  background: var(--hero-blue);
}

.team__control:disabled {
  opacity: 0.35;
  cursor: default;
}

.team__control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team__carousel {
  overflow: hidden;
  width: 100%;
}

.team__track {
  --team-gap: clamp(16px, 1.8vw, 24px);
  display: flex;
  gap: var(--team-gap);
  transition: transform var(--dur) var(--ease-out);
}

.team__join {
  flex: 0 0 clamp(260px, 21vw, 340px);
  min-height: clamp(340px, 32vw, 460px);
  background: var(--hero-blue);
  color: var(--white);
  border-radius: 18px;
  padding: clamp(24px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.team__join p {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.team__join h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 18px;
}

.team__join span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
}

.team__socials {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.team__socials a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
}

.team__socials svg {
  width: 22px;
  height: 22px;
}

.team__member {
  position: relative;
  flex: 0 0 clamp(260px, 21vw, 340px);
  min-width: 0;
  min-height: clamp(340px, 32vw, 460px);
  border-radius: 18px;
  overflow: hidden;
  background: #eef1f2;
}

.team__member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team__meta {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: end;
  gap: 14px;
  min-height: 38%;
  padding: 72px 22px 22px;
  text-align: left;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 5, 9, 0.82));
  color: var(--white);
}

.team__meta h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 4px;
}

.team__meta span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.72);
}

.team__linkedin {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  transition: background 220ms var(--ease-out),
              color 220ms var(--ease-out),
              border-color 220ms var(--ease-out);
}

.team__linkedin:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--anchor-blue);
}

@media (max-width: 767px) {
  .section--work {
    padding: 60px 0;
  }

  .team__head {
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .team__title {
    font-size: clamp(36px, 11vw, 50px);
  }

  .team__controls {
    flex-shrink: 0;
    padding-top: 6px;
  }

  .team__control {
    width: 42px;
    height: 42px;
  }

  .team__track {
    --team-gap: 14px;
  }

  .team__join,
  .team__member {
    flex-basis: 76vw;
    min-height: 360px;
  }

  .team__member img {
    object-position: center top;
  }
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.section--insights {
  min-height: auto;
  display: block;
  background: var(--white);
  color: #111a3a;
  padding: clamp(60px, 7vw, 100px) 0;
}

.testimonials {
  max-width: 1280px;
}

.testimonial-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 42vw, 600px);
}

.testimonial-feature__panel {
  background: #e9e8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(42px, 6vw, 88px);
}

.testimonial-feature__mark {
  color: #ff7b3d;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1;
  margin-bottom: clamp(20px, 2vw, 32px);
}

.testimonial-feature__slides {
  position: relative;
  width: min(100%, 520px);
  min-height: 300px;
}

.testimonial-feature__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}

.testimonial-feature__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-feature__slide p {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(18px, 1.45vw, 25px);
  line-height: 1.35;
  letter-spacing: 0;
  color: #1d2749;
  margin-bottom: clamp(22px, 2.5vw, 34px);
}

.testimonial-feature__slide h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.2;
  color: #1d2749;
  margin-bottom: 4px;
}

.testimonial-feature__slide span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(12px, 0.85vw, 14px);
  color: rgba(29, 39, 73, 0.58);
}

.testimonial-feature__controls {
  display: flex;
  gap: 12px;
  margin-top: clamp(14px, 2vw, 26px);
}

.testimonial-feature__controls button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0d5e67;
  color: var(--white);
}

.testimonial-feature__controls svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testimonial-feature__image {
  min-height: inherit;
  overflow: hidden;
}

.testimonial-feature__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.faq {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 118px);
  margin-top: clamp(82px, 10vw, 150px);
  color: #111a3a;
}

.faq__intro {
  align-self: start;
  max-width: 430px;
}

.faq__label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  color: var(--hero-blue);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 20px;
}

.faq__intro h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #111a3a;
  margin-bottom: clamp(22px, 2.5vw, 34px);
}

.faq__intro p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.65;
  color: rgba(17, 26, 58, 0.68);
  margin-bottom: 28px;
}

.faq__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--anchor-blue);
}

.faq__link::after {
  content: "";
  width: 22px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 45%, 72% 45%, 72% 0, 100% 50%, 72% 100%, 72% 55%, 0 55%);
  transition: transform 240ms var(--ease-out);
}

.faq__link:hover::after {
  transform: translateX(4px);
}

.faq__list {
  border-top: 1px solid rgba(17, 26, 58, 0.3);
}

.faq__item {
  border-bottom: 1px solid rgba(17, 26, 58, 0.3);
}

.faq__item h3 {
  font-family: var(--font-body);
}

.faq__item button {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 24px;
  text-align: left;
  color: #111a3a;
}

.faq__item button span:first-child {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.35;
}

.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease-out);
}

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

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  display: none;
  max-width: 640px;
  padding: 0 64px 28px 0;
}

.faq__item.is-open .faq__answer {
  display: block;
}

.faq__answer p {
  font-family: var(--font-body);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.65;
  color: rgba(17, 26, 58, 0.7);
}

@media (max-width: 767px) {
  .section--insights {
    padding: 88px 0 96px;
  }

  .testimonial-feature {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .testimonial-feature__panel {
    min-height: 430px;
    padding: 42px 28px;
  }

  .testimonial-feature__slides {
    min-height: 330px;
  }

  .testimonial-feature__slide p {
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.38;
  }

  .testimonial-feature__image {
    min-height: 280px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 76px;
  }

  .faq__intro {
    max-width: 100%;
  }

  .faq__intro h2 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .faq__item button {
    min-height: 72px;
    grid-template-columns: 1fr 24px;
    gap: 18px;
  }

  .faq__answer {
    padding: 0 0 26px;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--anchor-blue);
  padding: 0;
  color: var(--white);
}

.footer-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(620px, 50vw, 780px);
  background-color: var(--anchor-blue);
  padding: clamp(58px, 6vw, 96px) clamp(24px, 5vw, 112px) clamp(210px, 16vw, 290px);
}

.footer-card::before {
  content: "";
  position: absolute;
  left: clamp(24px, 5vw, 112px);
  right: clamp(24px, 5vw, 112px);
  height: 1px;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.footer-card::before {
  top: clamp(34px, 4vw, 58px);
}

.footer-card__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(132px, 0.48fr) minmax(0, 0.92fr);
  column-gap: clamp(22px, 4vw, 84px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.footer-card__about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
  padding: clamp(18px, 2vw, 34px) 0 0;
}

.footer-card__logo {
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(112px, 10vw, 148px);
  max-width: 148px;
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

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

.footer-card__about p {
  max-width: 360px;
  margin: 0 0 clamp(24px, 2.7vw, 38px);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 700;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.footer-card__about h2 {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(20px, 1.6vw, 30px);
  font-weight: 800;
  line-height: 1.1;
}

.footer-card__subscribe {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 42px;
  align-items: center;
  width: min(100%, 380px);
  min-height: 46px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: clamp(22px, 2.4vw, 32px);
}

.footer-card__subscribe-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--white);
}

.footer-card__subscribe-icon svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-card__subscribe input[type="email"] {
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 800;
  padding: 0 10px;
  outline: 0;
}

.footer-card__subscribe input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.footer-card__subscribe input[type="email"]:focus {
  background: transparent;
}

.footer-card__subscribe button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 13px;
  background: var(--white);
  color: var(--anchor-blue);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: transform 180ms var(--ease-out),
              box-shadow 180ms var(--ease-out),
              opacity 180ms var(--ease-out);
}

.footer-card__subscribe button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-card__subscribe button:hover {
  opacity: 0.92;
  transform: translateX(2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.footer-card__subscribe button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.footer-card__subscribe-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 10px 0 0 4px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.footer-card__subscribe-status.is-error {
  color: #ffd5d5;
}

.footer-card__subscribe-status.is-success {
  color: #d8ffe5;
}

.footer-card__socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 28px);
  margin-bottom: 0;
}

.footer-card__socials a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
}

.footer-card__socials svg {
  width: 22px;
  height: 22px;
}

.footer-card__solutions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-top: clamp(18px, 2vw, 34px);
}

.footer-card__solutions h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.1vw, 20px);
  font-weight: 800;
  line-height: 1.2;
}

.footer-card__solutions ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-card__solutions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-body);
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 750;
  line-height: 1.25;
  transition: color 220ms var(--ease-out);
}

.footer-card__solution-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  opacity: 0.9;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.footer-card__solution-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-card__solutions a:hover .footer-card__solution-icon {
  opacity: 1;
  transform: translateX(2px);
}

.footer-card__contact {
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-card__contact-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 122px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  padding: 22px 0 22px clamp(24px, 3vw, 46px);
}

.footer-card__contact-row:first-child {
  border-top: 0;
}

.footer-card__contact-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
}

.footer-card__contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-card__contact-row strong,
.footer-card__contact-row em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  line-height: 1.3;
}

.footer-card__contact-row strong {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 800;
}

.footer-card__contact-row em {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-card__copyright {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: clamp(28px, 3vw, 42px) auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-body);
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.footer-card__background {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  max-width: none;
  height: clamp(190px, 19vw, 320px);
  background-image: url("/assets/img/footer/footer-bg.jpg"), url("../img/footer/footer-bg.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  pointer-events: none;
  user-select: none;
}

.footer-card a {
  transition: opacity 220ms var(--ease-out);
}

.footer-card a:hover {
  opacity: 0.72;
}

.site-footer svg {
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .site-footer {
    padding: 0;
  }

  .footer-card {
    min-height: 820px;
    padding: 58px 24px 168px;
  }

  .footer-card::before {
    left: 24px;
    right: 24px;
  }

  .footer-card__content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-card__about {
    padding-right: 0;
  }

  .footer-card__contact {
    width: min(100%, 640px);
    justify-self: start;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .footer-card__contact-row {
    padding-left: 0;
  }

  .footer-card__about p {
    font-size: 14px;
  }

  .footer-card__subscribe {
    width: 100%;
  }

  .footer-card__contact-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    min-height: 98px;
    text-align: left;
  }

  .footer-card__contact-icon,
  .footer-card__contact-icon svg {
    width: 22px;
    height: 22px;
  }

  .footer-card__copyright {
    margin-top: 34px;
  }

  .footer-card__background {
    left: 50%;
    right: auto;
    width: 1040px;
    height: 138px;
    transform: translateX(-50%);
    background-position: left bottom;
  }
}
