/* ============================================================
   GLoFT Consulting — modern financial-platform aesthetic
   Crisp white · slate-navy ink · azure→cyan→mint gradient accents
   Type: Schibsted Grotesk (display) + Hanken Grotesk (body)
   ============================================================ */

:root {
  --bg:        #ffffff;
  --tint:      #f6f9fc;
  --ink:       #0a2540;
  --body-c:    #425466;
  --soft:      #697386;
  --line:      #e6ebf1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --azure:     #2f6fed;
  --cyan:      #00d4ff;
  --mint:      #3ddc97;
  --navy:      #1e3264;
  --grad:      linear-gradient(90deg, #2f6fed, #00b9e6);
  --grad-warm: linear-gradient(90deg, #00b9e6, #3ddc97);
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-sm: 0 2px 5px -1px rgba(10, 37, 64, 0.08), 0 1px 1px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 13px 27px -5px rgba(10, 37, 64, 0.14), 0 8px 16px -8px rgba(10, 37, 64, 0.12);
  --shadow-lg: 0 50px 100px -20px rgba(10, 37, 64, 0.22), 0 30px 60px -30px rgba(10, 37, 64, 0.24);
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--body-c);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--azure); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* gradient text helper (used by em accents) */
.sec-title em, .hero-title em, .vision-quote em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Preloader ============ */

.preloader {
  position: fixed; inset: 0;
  z-index: 900;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease-swift), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.preloader-line { width: 170px; overflow: visible; }
.pl-path, .pl-arrow {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pl-draw 0.9s var(--ease-swift) 0.1s forwards;
}
.pl-arrow { animation-delay: 0.85s; animation-duration: 0.25s; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }

.preloader-word {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft);
  animation: pl-fade 0.6s ease 0.3s both;
}
@keyframes pl-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============ Chips / labels ============ */

.sec-chip, .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azure);
  background: rgba(47, 111, 237, 0.08);
  border-radius: 999px;
  padding: 8px 18px;
}
.sec-chip.on-dark {
  color: #6fe3ff;
  background: rgba(0, 212, 255, 0.12);
}
.hp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  margin-top: 26px;
}

.sec-head { display: flex; }

/* ============ Reveal choreography ============ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }

.values-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.values-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.values-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.pillars .reveal:nth-child(2) { transition-delay: 0.08s; }
.pillars .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ============ Navigation ============ */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 -1px 0 var(--line), 0 4px 20px rgba(10, 37, 64, 0.05);
}
.nav-inner {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--body-c);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(10, 37, 64, 0.05); }
.nav-link.active { color: var(--azure); }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 13px 26px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-solid {
  background: var(--ink);
  color: #fff;
}
.btn-solid:hover {
  background: var(--azure);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(47, 111, 237, 0.6);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  color: var(--azure);
  border-color: rgba(47, 111, 237, 0.4);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-nav { padding: 10px 20px; font-size: 14px; }

/* burger (mobile) */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}
.nav-burger span {
  display: block; height: 2px; width: 24px;
  border-radius: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.35s var(--ease-swift);
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 400;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 6px; text-align: center; }
.mm-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 8px 20px;
  transition: color 0.3s;
}
.mm-link:hover { color: var(--azure); }

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 30px) 0 120px;
  overflow: hidden;
  background: var(--bg);
}

.hero-ribbon {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 42%);
}
#mesh-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

#globe-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
}

.hero-content { position: relative; z-index: 3; }

.hero-pill {
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.8vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.ht-line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.ht-word {
  display: inline-block;
  transform: translateY(115%);
  animation: ht-rise 1s var(--ease-out) forwards;
}
.ht-line:nth-child(1) .ht-word { animation-delay: 0.12s; }
.ht-line:nth-child(2) .ht-word { animation-delay: 0.24s; }
.ht-line:nth-child(3) .ht-word { animation-delay: 0.36s; }
@keyframes ht-rise { to { transform: translateY(0); } }

.hero-sub {
  max-width: 560px;
  margin-top: 32px;
  font-size: clamp(1.02rem, 1.25vw, 1.17rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--body-c);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: 24px 0;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}
.hf-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}
.hf-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hf-dot.d1 { background: var(--azure); }
.hf-dot.d2 { background: var(--cyan); }
.hf-dot.d3 { background: var(--mint); }

/* ============ Ticker ============ */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-run 60s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-run { to { transform: translateX(-50%); } }

.ticker-set {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-set span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  padding: 0 34px;
  position: relative;
}
.ticker-set span::after {
  content: "";
  position: absolute; right: -2px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translateY(-50%);
  opacity: 0.7;
}

/* ============ Sections base ============ */

.section { padding: clamp(90px, 11vw, 140px) 0; position: relative; }

/* ============ Vision ============ */

.vision-stage {
  position: relative;
  margin-top: clamp(36px, 5vw, 66px);
  min-height: 300px;
  display: grid;
  place-items: center;
}

.vision-line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.vl-path {
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}
.vl-node { fill: var(--cyan); opacity: 0; transition: opacity 0.5s ease; }
.vl-node.lit { opacity: 1; }

.vision-quote {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  padding: 20px;
}
.vision-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.vision-quote cite {
  display: block;
  margin-top: 26px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
}
.vision-quote cite::before {
  content: "";
  display: block;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
  margin: 0 auto 14px;
}

.mission-panel {
  margin-top: clamp(46px, 6vw, 80px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: clamp(32px, 4.6vw, 60px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mission-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2f6fed, #00d4ff, #3ddc97);
}
.mission-panel::after {
  content: "";
  position: absolute; top: -40%; right: -15%;
  width: 60%; height: 130%;
  background: radial-gradient(ellipse closest-side, rgba(0, 212, 255, 0.14), transparent);
  pointer-events: none;
}
.mp-label { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.mp-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6fe3ff;
}
.mp-rule { flex: 1; height: 1px; background: var(--line-dark); }
.mp-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  max-width: 60ch;
  position: relative;
  z-index: 1;
}
.mp-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  position: relative;
  z-index: 1;
}
.mp-points span {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.mp-points span:hover {
  border-color: rgba(0, 212, 255, 0.5);
  color: #6fe3ff;
  background: rgba(0, 212, 255, 0.06);
}

/* ============ Services / Pillars ============ */

.services {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.pillars {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  gap: 16px;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}
.pillar:hover { box-shadow: var(--shadow-md); }
.pillar[data-open="true"] {
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 111, 237, 0.25);
}

.pillar-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(22px, 2.8vw, 32px) clamp(22px, 3.2vw, 40px);
  text-align: left;
}
.pillar-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar-index.i2 { background: linear-gradient(90deg, #00b9e6, #3ddc97); -webkit-background-clip: text; background-clip: text; }
.pillar-index.i3 { background: linear-gradient(90deg, #1e3264, #2f6fed); -webkit-background-clip: text; background-clip: text; }

.pillar-titles { display: grid; gap: 5px; flex: 1; min-width: 0; }
.pillar-kicker {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s ease;
}
.pillar-head:hover .pillar-title { color: var(--azure); }

.pillar-toggle {
  position: relative;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.3s ease, transform 0.5s var(--ease-swift), background 0.3s ease;
}
.pillar-toggle span {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease-swift), background 0.3s ease;
}
.pillar-toggle span:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.pillar[data-open="true"] .pillar-toggle {
  border-color: transparent;
  background: var(--ink);
  transform: rotate(180deg);
}
.pillar[data-open="true"] .pillar-toggle span { background: #fff; }
.pillar[data-open="true"] .pillar-toggle span:last-child { transform: translate(-50%, -50%) rotate(0deg); }

.pillar-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-swift);
}
.pillar[data-open="true"] .pillar-body { grid-template-rows: 1fr; }
.pillar-body > .offerings { overflow: hidden; }

.offerings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.offerings li {
  padding: clamp(22px, 2.4vw, 30px) clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
}
.offerings li:nth-child(3n) { border-right: 0; }
.offerings li::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 3px; height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--grad);
  transition: height 0.35s var(--ease-swift);
}
.offerings li:hover { background: var(--tint); }
.offerings li:hover::before { height: 100%; }
.offerings h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}
.offerings p {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--soft);
}

/* ============ Interlude (services → values) ============ */

.interlude {
  position: relative;
  height: 340vh;              /* scroll runway for the pinned scene */
  background:
    radial-gradient(ellipse 60% 50% at 50% 10%, rgba(47, 111, 237, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 90%, rgba(0, 212, 255, 0.08), transparent 70%),
    #071930;
}
.interlude-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.interlude-stage::after {
  /* vignette keeps the scene cinematic at the edges */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 60%, rgba(4, 16, 32, 0.55));
}
#interlude-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

.il-cap {
  position: absolute;
  left: 50%;
  top: 13%;
  transform: translate(-50%, 0);
  text-align: center;
  opacity: 0;
  width: min(90%, 900px);
  pointer-events: none;
  z-index: 2;
  will-change: opacity, transform;
}
.il-cap h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}
.il-cap h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #6fb2ff, #00d4ff, #3ddc97);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.il-cap p {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.il-vals {
  position: absolute;
  left: 0; right: 0;
  top: calc(55% + min(13vw, 15vh) + 28px);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: opacity, transform;
}
.il-val {
  position: absolute;
  left: var(--x);
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 820px) {
  .interlude { height: 280vh; }
  .il-val { font-size: 10px; letter-spacing: 0.1em; }
}
@media (max-width: 620px) {
  .il-vals { display: none; }  /* ring labels collide on small screens */
}

/* ============ Values ============ */

.values-grid {
  margin-top: clamp(44px, 5.4vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 2.4vw, 34px);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, background 0.35s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.vc-num {
  display: inline-grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 6px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 22px;
}
.vc-num.n1 { background: linear-gradient(135deg, #2f6fed, #00b9e6); }
.vc-num.n2 { background: linear-gradient(135deg, #00b9e6, #00d4ff); }
.vc-num.n3 { background: linear-gradient(135deg, #00c9c0, #3ddc97); }
.vc-num.n4 { background: linear-gradient(135deg, #1e3264, #2f6fed); }

.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--soft);
}

/* ============ Contact ============ */

.contact {
  background:
    radial-gradient(ellipse 50% 55% at 88% 0%, rgba(0, 212, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 50% at 5% 100%, rgba(47, 111, 237, 0.14), transparent 70%),
    var(--ink);
  color: rgba(255, 255, 255, 0.9);
}
.contact .sec-title { color: #fff; }
.contact .sec-title em {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
}

.contact-grid {
  margin-top: clamp(36px, 4.6vw, 60px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
}

.contact-details {
  margin-top: 44px;
  display: grid;
  gap: 22px;
}
.contact-details li {
  display: grid;
  gap: 7px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.cd-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6fe3ff;
}
.cd-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.3s;
  width: fit-content;
}
a.cd-value:hover { color: #6fe3ff; }

.contact-form {
  background: #fff;
  color: var(--body-c);
  border-radius: 20px;
  padding: clamp(26px, 3.4vw, 44px);
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: 8px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dde5;
  border-radius: 10px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b1; }
.field input:focus, .field textarea:focus {
  border-color: var(--azure);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.14);
}
.btn-submit { width: 100%; }
.btn-submit:hover { background: var(--azure); }
.form-note {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--azure);
  min-height: 1em;
  text-align: center;
}

/* ============ Footer ============ */

.footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.footer-logo { width: 150px; }
.footer-tag {
  margin-top: 18px;
  max-width: 30ch;
  font-size: 0.9rem;
  color: var(--soft);
}
.footer-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  padding-top: 10px;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--body-c);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--azure); }
.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--soft);
  padding-top: 10px;
}
.fm-dim { color: #9aa5b1; font-size: 12px; }

/* ============ Responsive ============ */

@media (max-width: 1024px) {
  .offerings { grid-template-columns: repeat(2, 1fr); }
  .offerings li:nth-child(3n) { border-right: 1px solid var(--line); }
  .offerings li:nth-child(2n) { border-right: 0; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-foot { justify-content: flex-start; gap: 36px; }
  .hero-ribbon { clip-path: polygon(0 0, 100% 0, 100% 58%, 0 34%); }
}

@media (max-width: 820px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; padding-top: 0; }
  .footer-meta { justify-items: start; text-align: left; }
}

@media (max-width: 620px) {
  :root { --nav-h: 72px; }
  .brand-logo { height: 38px; }
  .offerings { grid-template-columns: 1fr; }
  .offerings li { border-right: 0 !important; }
  .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .pillar-head { flex-wrap: wrap; }
  .hero { padding-bottom: 150px; }
  .hero-foot { flex-direction: column; gap: 12px; }
  .hero-ribbon { clip-path: polygon(0 0, 100% 0, 100% 26%, 0 17%); }
}

/* ============ Reduced motion ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .interlude { height: auto; }
  .interlude-stage { position: static; height: 100svh; }
  .ticker-track { animation: none; }
  .ht-word { animation: none; transform: none; }
  .pl-path, .pl-arrow { animation: none; stroke-dashoffset: 0; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .pillar-body { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; }
}
