/* ==========================================================================
   Kredo Hüquq — design system
   ========================================================================== */
:root {
  --ink: #0f1412;
  --ink-2: #161d1a;
  --ink-3: #1f2824;
  --paper: #f2ede3;
  --paper-2: #e9e2d4;
  --paper-3: #ddd4c2;
  --brass: #c9a063;
  --brass-deep: #9c7537;
  --green: #1e3b33;
  --green-2: #27493f;

  --text: #15191a;
  --text-muted: #5e5f58;
  --text-inv: #f2ede3;
  --text-inv-muted: #a3aaa4;
  --line: rgba(21, 25, 26, .14);
  --line-inv: rgba(242, 237, 227, .14);

  --f-serif: "Fraunces", "Times New Roman", serif;
  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--ink); }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

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

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: var(--text-muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.on-dark .eyebrow { color: var(--text-inv-muted); }

.h-display, .h-1, .h-2, .h-3 { font-family: var(--f-serif); font-weight: 350; margin: 0; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
.h-display { font-size: clamp(48px, 8.4vw, 136px); line-height: .96; letter-spacing: -.035em; }
.h-1 { font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -.03em; }
.h-2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; }
.h-3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
em, .it { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.accent { color: var(--brass); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--text-muted); max-width: 56ch; }
.on-dark .lead { color: var(--text-inv-muted); }

/* split helpers */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 16px; border: 0; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brass); border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px) rotate(-45deg); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--brass { --bg: var(--brass); --fg: var(--ink); }
.btn--brass::before { background: var(--paper); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--brass); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ==========================================================================
   Preloader + page transition
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 150;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
}
html:not(.js) .loader { display: none; }
.loader__mark { width: 96px; height: 112px; }
.loader__mark path, .loader__mark circle { stroke-dasharray: 130; stroke-dashoffset: 130; }
.loader__row { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 14px; color: var(--text-inv-muted); }
.loader__count { font-family: var(--f-serif); font-size: clamp(56px, 10vw, 140px); line-height: .8; color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -.04em; }

.curtain { position: fixed; inset: 0; z-index: 140; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain span { background: var(--ink); transform: scaleY(0); transform-origin: bottom; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  padding: 0 var(--gutter);
  transition: transform .6s var(--ease);
}
.header.is-hidden { transform: translateY(-140%); }
.header__bar {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 68px; padding: 0 10px 0 18px;
  background: rgba(15, 20, 18, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  color: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 42px; height: 49px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-family: var(--f-serif); font-weight: 450; font-size: 19px; letter-spacing: -.01em; }
.brand__name small { font-size: 11.5px; color: var(--text-inv-muted); letter-spacing: .04em; }

.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 8px 14px; font-size: 15px; color: var(--text-inv-muted); border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); background: rgba(242, 237, 227, .07); }

.header__right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 4px; border-radius: 999px; background: rgba(242, 237, 227, .06); font-size: 13px; font-weight: 500; }
.lang a { padding: 6px 10px; border-radius: 999px; color: var(--text-inv-muted); }
.lang a.is-active { background: var(--paper); color: var(--ink); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.6px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: var(--paper);
  padding: 120px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.mmenu__links { display: flex; flex-direction: column; }
.mmenu__links a { font-family: var(--f-serif); font-size: clamp(36px, 9vw, 56px); line-height: 1.2; letter-spacing: -.02em; padding: 4px 0; border-bottom: 1px solid var(--line-inv); display: flex; justify-content: space-between; align-items: baseline; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.mmenu__links a small { font-family: var(--f-sans); font-size: 13px; color: var(--text-inv-muted); }
.menu-open .mmenu__links a { opacity: 1; transform: none; }
.menu-open .mmenu__links a:nth-child(1) { transition-delay: .25s; }
.menu-open .mmenu__links a:nth-child(2) { transition-delay: .3s; }
.menu-open .mmenu__links a:nth-child(3) { transition-delay: .35s; }
.menu-open .mmenu__links a:nth-child(4) { transition-delay: .4s; }
.menu-open .mmenu__links a:nth-child(5) { transition-delay: .45s; }
.menu-open .mmenu__links a:nth-child(6) { transition-delay: .5s; }
.menu-open .mmenu__links a:nth-child(7) { transition-delay: .55s; }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; color: var(--text-inv-muted); font-size: 15px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 680px; background: var(--paper); }
.hero__stage {
  position: absolute; inset: 0;
  background: var(--ink); color: var(--paper);
  overflow: hidden; transform-origin: 50% 0;
}
.hero__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 45% at 78% 40%, rgba(201, 160, 99, .22), transparent 70%),
    radial-gradient(45% 50% at 10% 100%, rgba(39, 73, 63, .7), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-inv) 1px, transparent 1px), linear-gradient(90deg, var(--line-inv) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%);
}
.hero__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px;
  padding-top: 110px; padding-bottom: 96px;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero__title { margin-bottom: 32px; }
.hero__title .line { display: block; }
.hero__copy .lead { margin: 0 0 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; justify-self: end; width: min(100%, 440px); aspect-ratio: 4 / 5.4; }
.arch {
  position: absolute; inset: 0;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, var(--green-2) 0%, var(--green) 55%, #15291f 100%);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(242, 237, 227, .1);
}
.arch::before {
  content: ""; position: absolute; inset: 14px;
  border-radius: 999px 999px 14px 14px;
  border: 1px solid rgba(201, 160, 99, .35);
}
.justice { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-beam { transform-box: view-box; transform-origin: 296px 223.6px; animation: j-sway 6s ease-in-out infinite; }
.j-pan--l { transform-box: view-box; transform-origin: 264px 223.6px; animation: j-sway-c 6s ease-in-out infinite; }
.j-pan--r { transform-box: view-box; transform-origin: 328px 223.6px; animation: j-sway-c 6s ease-in-out infinite; }
@keyframes j-sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes j-sway-c { 0%, 100% { transform: rotate(2.5deg); } 50% { transform: rotate(-2.5deg); } }
.j-halo { animation: j-glow 5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes j-glow { from { opacity: .7; transform: scale(.96); } to { opacity: 1; transform: scale(1.04); } }

.seal { position: absolute; left: -64px; bottom: 10%; width: 148px; height: 148px; z-index: 3; }
.seal__ring { width: 100%; height: 100%; }
.seal__ring text { font-size: 10.6px; letter-spacing: .24em; fill: var(--paper); font-family: var(--f-sans); font-weight: 500; text-transform: uppercase; }
.seal__core { position: absolute; inset: 30%; border-radius: 50%; background: var(--brass); display: grid; place-items: center; color: var(--ink); }
.seal__core svg { width: 40%; }


.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 14px; color: var(--text-inv-muted);
}
.hero__tags { display: flex; gap: 22px; flex-wrap: wrap; }
.hero__tags span::before { content: "✦"; color: var(--brass); margin-right: 8px; font-size: 11px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 1px; height: 40px; background: var(--line-inv); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--brass); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }
.on-dark { background: var(--ink); color: var(--text-inv); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head .lead { justify-self: end; margin: 0; }

/* manifesto */
.manifesto { z-index: 2; background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; margin-top: -1px; }
.manifesto__text { font-family: var(--f-serif); font-weight: 350; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.12; letter-spacing: -.025em; max-width: 22ch; margin: 0; font-variation-settings: "opsz" 144, "SOFT" 30; }
.manifesto__text .mw { opacity: .14; transition: none; }
html:not(.js) .manifesto__text .mw { opacity: 1; }
.manifesto__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(64px, 9vw, 128px); border-top: 1px solid var(--line); }
.stat { padding: 28px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__n { font-family: var(--f-serif); font-weight: 300; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -.04em; }
.stat__n sup { font-size: .4em; color: var(--brass-deep); margin-left: 4px; vertical-align: top; position: relative; top: .3em; }
.stat p { margin: 10px 0 0; color: var(--text-muted); font-size: 15.5px; max-width: 28ch; }

/* marquee */
.marquee { position: relative; z-index: 2; background: var(--brass); color: var(--ink); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--f-serif); font-size: clamp(26px, 3.4vw, 46px); font-weight: 350; letter-spacing: -.02em; white-space: nowrap; }
.marquee__group i { font-style: normal; font-size: .5em; }
html:not(.js) .marquee__track, .no-gsap .marquee__track { animation: mq 40s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }

/* services horizontal */
.services { z-index: 2; padding: 0; }
.services__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 40px; overflow: hidden; }
.services .sec-head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.services__track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; }
.services__aside { justify-self: end; max-width: 460px; }
.services__aside .lead { margin: 0 0 24px; }
.services__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line-inv); font-size: 14px; color: var(--text-inv-muted); }
.services__count { font-family: var(--f-serif); font-size: 18px; letter-spacing: .02em; }
.services__count b { font-weight: 400; color: var(--brass); font-size: 28px; }
.services__hint { display: inline-flex; align-items: center; gap: 10px; }
.services__hint svg { width: 18px; height: 18px; color: var(--brass); animation: hint 1.8s var(--ease-io) infinite; }
@keyframes hint { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.svc {
  position: relative; display: flex; flex-direction: column;
  width: clamp(340px, 30vw, 450px); height: clamp(400px, calc(100svh - 400px), 580px);
  padding: 28px 28px 24px;
  background: linear-gradient(180deg, rgba(242,237,227,.045), rgba(242,237,227,.015));
  border: 1px solid var(--line-inv); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: border-color .6s var(--ease), background .6s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 60% at 0% 0%, rgba(201,160,99,.2), transparent 65%);
  opacity: 0; transition: opacity .7s var(--ease);
}
.svc::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.svc:hover, .svc.is-active { border-color: rgba(201,160,99,.45); }
.svc:hover::before, .svc.is-active::before { opacity: 1; }
.svc:hover::after, .svc.is-active::after { transform: scaleX(1); }
.svc__ghost {
  position: absolute; right: -8px; bottom: -34px; z-index: -1;
  font-family: var(--f-serif); font-weight: 300; font-size: 210px; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(242,237,227,.08);
  transition: -webkit-text-stroke-color .7s var(--ease), transform 1s var(--ease);
  pointer-events: none;
}
.svc:hover .svc__ghost, .svc.is-active .svc__ghost { -webkit-text-stroke-color: rgba(201,160,99,.32); transform: translateY(-10px); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.svc__icon { width: 60px; height: 60px; border-radius: 18px; background: rgba(201,160,99,.12); border: 1px solid rgba(201,160,99,.25); display: grid; place-items: center; color: var(--brass); transition: background .5s var(--ease), color .5s var(--ease), transform .7s var(--ease); }
.svc__icon svg { width: 26px; height: 26px; }
.svc:hover .svc__icon, .svc.is-active .svc__icon { background: var(--brass); color: var(--ink); transform: rotate(-8deg); }
.svc__tag { display: inline-block; font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(201,160,99,.14); color: var(--brass); white-space: nowrap; }
.svc__tag--muted { background: rgba(242,237,227,.06); color: var(--text-inv-muted); }
.svc__body { margin-top: auto; padding-top: 24px; }
.svc__n { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--brass); margin-bottom: 12px; }
.svc h3 { margin-bottom: 12px; font-size: clamp(22px, 1.9vw, 28px); }
.svc p { color: var(--text-inv-muted); margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc__list li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.4; color: rgba(242,237,227,.82); }
.svc__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 1px; background: var(--brass); }
.svc__more { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-inv); font-weight: 500; color: var(--paper); }
.svc__more i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-inv); display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s, color .5s, transform .6s var(--ease); }
.svc__more svg { width: 16px; height: 16px; }
.svc__more:hover i, .svc:hover .svc__more i { background: var(--brass); border-color: var(--brass); color: var(--ink); transform: rotate(-45deg); }
.svc--cta { background: var(--brass); color: var(--ink); border-color: transparent; justify-content: space-between; }
.svc--cta::before, .svc--cta::after { display: none; }
.svc--cta .svc__ghost { -webkit-text-stroke-color: rgba(15,20,18,.15); }
.svc--cta:hover .svc__ghost { -webkit-text-stroke-color: rgba(15,20,18,.3); }
.svc--cta p { color: rgba(15,20,18,.72); margin: 12px 0 28px; }
.svc--cta .big-arrow { width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .6s var(--ease); }
.svc--cta .big-arrow svg { width: 34px; height: 34px; }
.svc--cta:hover .big-arrow { transform: rotate(-45deg) scale(1.06); }
.services__progress { margin: 32px var(--gutter) 0; height: 1px; background: var(--line-inv); position: relative; max-width: var(--max); }
.services__progress i { position: absolute; inset: 0; background: var(--brass); transform-origin: left; transform: scaleX(0); }

/* why */
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.why__aside { position: sticky; top: 130px; }
.why__aside .eyebrow { margin-bottom: 22px; }
.why__aside .h-2 { margin-bottom: 28px; }
.why__aside .lead { margin: 0 0 36px; }
.why__list { list-style: none; margin: 0; padding: 0; }
.why__item { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__ic { width: 72px; height: 72px; border-radius: 20px; background: var(--paper-2); display: grid; place-items: center; color: var(--green); transition: background .5s var(--ease), color .5s var(--ease); }
.why__ic svg { width: 30px; height: 30px; }
.why__item:hover .why__ic { background: var(--green); color: var(--paper); }
.why__item h3 { margin: 4px 0 10px; }
.why__item p { margin: 0; color: var(--text-muted); }
.why__k { font-size: 13px; color: var(--brass-deep); font-weight: 500; letter-spacing: .04em; margin-bottom: 6px; }

/* process (debt) */
.process { background: var(--green); color: var(--paper); overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 100% 0%, rgba(201,160,99,.18), transparent 70%); pointer-events: none; }
.process__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.process__head { position: sticky; top: 130px; align-self: start; }
.process__head .h-2 { margin: 0 0 28px; }
.process__head .lead { color: rgba(242,237,227,.72); margin: 0 0 36px; }
.portfolio-card { border-radius: var(--radius-sm); background: rgba(15,20,18,.35); border: 1px solid var(--line-inv); padding: 26px; }
.portfolio-card .svc__tag { margin-bottom: 12px; }
.portfolio-card h3 { font-family: var(--f-serif); font-weight: 400; font-size: 24px; margin: 0 0 10px; line-height: 1.2; }
.portfolio-card ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 15px; color: rgba(242,237,227,.8); }
.portfolio-card li { display: flex; gap: 10px; }
.portfolio-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--brass); }
.steps { position: relative; padding-left: 56px; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__line { position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line-inv); }
.steps__line i { position: absolute; inset: 0; background: var(--brass); transform-origin: top; transform: scaleY(0); }
.step { position: relative; padding: 0 0 clamp(56px, 8vw, 110px); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: -56px; top: 2px; width: 31px; height: 31px; border-radius: 50%; background: var(--green); border: 1px solid rgba(242,237,227,.3); display: grid; place-items: center; font-size: 12px; font-weight: 600; transition: background .5s, color .5s, border-color .5s; }
.step.is-active .step__dot { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.step__k { font-size: 13px; letter-spacing: .06em; color: var(--brass); margin-bottom: 10px; }
.step h3 { margin-bottom: 14px; }
.step p { margin: 0; color: rgba(242,237,227,.72); max-width: 44ch; }

/* values — pinned index */
.values { position: relative; overflow: hidden; }
.values::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 85% 60%, rgba(201,160,99,.14), transparent 70%); }
.values__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: center; padding: 96px 0 32px; }
.values__pin > .container { width: 100%; }
.values__head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-bottom: clamp(14px, 2.4vh, 28px); margin-bottom: 4px; border-bottom: 1px solid var(--line-inv); }
.values__head .eyebrow { margin-bottom: 18px; }
.values__head .h-2 { max-width: 22ch; font-size: clamp(30px, min(3.6vw, 5.6vh), 56px); }
.values__head .lead { margin: 0; max-width: 30ch; }
.values__body { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.values__list { list-style: none; margin: 0; padding: 0; }
.vitem { border-bottom: 1px solid var(--line-inv); }
.vitem__btn { position: relative; display: flex; align-items: baseline; gap: 22px; width: 100%; padding: clamp(6px, 1.3vh, 16px) 0; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; }
.vitem__btn::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.vitem__n { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--text-inv-muted); min-width: 24px; transition: color .5s; }
.vitem__word { font-family: var(--f-serif); font-weight: 300; font-size: clamp(30px, min(4.4vw, 7vh), 68px); line-height: 1.05; letter-spacing: -.035em; color: rgba(242,237,227,.2); transition: color .6s var(--ease), transform .8s var(--ease); font-variation-settings: "opsz" 144, "SOFT" 50; }
.vitem__btn:hover .vitem__word { color: rgba(242,237,227,.5); }
.vitem.is-active .vitem__btn::before { transform: scaleX(1); }
.vitem.is-active .vitem__n { color: var(--brass); }
.vitem.is-active .vitem__word { color: var(--paper); transform: translateX(12px); font-style: italic; }
.vitem__desc { display: none; }

.values__panel { position: relative; aspect-ratio: 4 / 4.6; height: min(540px, calc(100svh - 330px)); max-width: 100%; justify-self: center; border-radius: 999px 999px 28px 28px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line-inv); overflow: hidden; }
.values__ring { position: absolute; inset: 14px; border-radius: 999px 999px 18px 18px; border: 1px solid rgba(201,160,99,.3); pointer-events: none; }
.vpanel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22% 12% 22%; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.vpanel.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.vpanel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.vpanel__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; transform: scale(.6) rotate(-30deg); transition: transform .9s var(--ease); }
.vpanel__icon svg { width: 32px; height: 32px; }
.vpanel__num { font-family: var(--f-serif); font-weight: 300; font-size: clamp(70px, min(9vw, 14vh), 150px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(201,160,99,.55); transform: translateY(30px); transition: transform 1s var(--ease); }
.vpanel__body { transform: translateY(24px); transition: transform 1s var(--ease); }
.vpanel__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--brass); margin-bottom: 12px; }
.vpanel__body p { margin: 0; font-family: var(--f-serif); font-weight: 350; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; letter-spacing: -.015em; }
.vpanel.is-active .vpanel__icon { transform: none; }
.vpanel.is-active .vpanel__num, .vpanel.is-active .vpanel__body { transform: none; }
.values__meter { position: absolute; left: 12%; right: 12%; bottom: 8%; display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-inv-muted); }
.values__count b { color: var(--paper); font-weight: 600; }
.values__bar { flex: 1; height: 1px; background: var(--line-inv); position: relative; }
.values__bar i { position: absolute; inset: 0; background: var(--brass); transform-origin: left; transform: scaleX(.2); }

/* partners */
.partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner {
  position: relative; display: flex; flex-direction: column;
  background: #fbf9f4; border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; isolation: isolate;
  transition: translate .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.partner::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.partner:hover { translate: 0 -6px; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(15, 20, 18, .35); }
.partner:hover::after { transform: scaleX(1); }
.partner__logo {
  flex: 1; display: grid; place-items: center;
  min-height: 210px; padding: 40px 32px;
  background-image: radial-gradient(circle at 50% 50%, rgba(201,160,99,.10), transparent 60%);
  background-size: 0 0; background-repeat: no-repeat; background-position: center;
  transition: background-size .8s var(--ease);
}
.partner:hover .partner__logo { background-size: 100% 100%; }
.partner__logo img {
  width: auto; height: auto; max-width: min(78%, 260px); max-height: 64px;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.1); opacity: .62;
  transition: filter .6s var(--ease), opacity .6s var(--ease), transform .8s var(--ease);
}
.partner:hover .partner__logo img { filter: none; opacity: 1; transform: scale(1.05); }
.partner__logo img[src*="global-finance"] { max-height: 84px; }
.partner__logo img[src*="azpulmat"] { max-height: 40px; }
.partner__logo img[src*="webmarket"] { max-height: 36px; }
.partner__word { display: inline-flex; align-items: baseline; gap: 10px; color: var(--ink); opacity: .62; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.partner__word b { font-family: var(--f-serif); font-weight: 450; font-size: 36px; letter-spacing: -.02em; }
.partner__word i { font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-deep); }
.partner:hover .partner__word { opacity: 1; transform: scale(1.05); }
.partner__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 24px 22px; border-top: 1px solid var(--line); }
.partner__meta small { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
.partner__meta b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.partner__go { width: 22px; height: 22px; flex: none; color: var(--text-muted); transition: transform .5s var(--ease), color .3s; }
.partner:hover .partner__go { transform: translate(3px, -3px); color: var(--brass-deep); }

/* careers strip */
.careers { padding: 0 0 clamp(96px, 12vw, 160px); }
.careers__box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius); background: var(--paper-2); }
.careers__pts { display: grid; gap: 14px; }
.careers__pts div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--paper); font-weight: 500; }
.careers__pts span { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; }
.careers__box .lead { margin: 20px 0 32px; }

/* contact */
.contact { border-radius: var(--radius) var(--radius) 0 0; }
.contact__title { margin: 0 0 56px; max-width: 14ch; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line-inv); }
.cinfo a, .cinfo div { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-inv); }
.cinfo .ci { width: 44px; height: 44px; border-radius: 50%; background: rgba(242,237,227,.07); display: grid; place-items: center; color: var(--brass); transition: background .4s, color .4s; }
.cinfo .ci svg { width: 19px; height: 19px; }
.cinfo small { display: block; font-size: 13px; color: var(--text-inv-muted); }
.cinfo strong { font-weight: 500; font-size: 18px; }
.cinfo a .go { width: 18px; height: 18px; color: var(--text-inv-muted); transition: transform .45s var(--ease), color .3s; }
.cinfo a:hover .ci { background: var(--brass); color: var(--ink); }
.cinfo a:hover .go { transform: translate(3px, -3px); color: var(--brass); }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.form { background: var(--ink-2); border: 1px solid var(--line-inv); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }
.form h3 { margin-bottom: 8px; }
.form > p { margin: 0 0 28px; color: var(--text-inv-muted); font-size: 15.5px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--text-inv-muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; height: 54px; padding: 0 18px;
  background: rgba(242,237,227,.04); border: 1px solid var(--line-inv); border-radius: 14px;
  color: var(--paper); font-size: 16px; outline: none;
  transition: border-color .3s, background .3s;
}
.field textarea { height: 120px; padding: 14px 18px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23a3aaa4' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field select option { background: var(--ink); color: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); background: rgba(242,237,227,.07); }
.field input::placeholder, .field textarea::placeholder { color: rgba(163,170,164,.6); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__foot small { color: var(--text-inv-muted); font-size: 13px; max-width: 34ch; }
.form__foot small a { color: var(--paper); }

/* footer */
.footer { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 120px) 0 28px; border-top: 1px solid var(--line-inv); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 40px; }
.footer p { color: var(--text-inv-muted); font-size: 15px; max-width: 36ch; margin: 20px 0 24px; }
.footer h4 { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--text-inv-muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.footer ul a { color: rgba(242,237,227,.86); }
.footer ul a:hover { color: var(--brass); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-inv); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer__word { margin: clamp(64px, 9vw, 120px) 0 20px; font-family: var(--f-serif); font-weight: 300; font-size: clamp(64px, 16.5vw, 270px); line-height: .82; letter-spacing: -.055em; white-space: nowrap; color: var(--paper); font-variation-settings: "opsz" 144, "SOFT" 50; }
.footer__word span { display: inline-block; }
.footer__word em { color: var(--brass); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-inv); font-size: 13.5px; color: var(--text-inv-muted); }
.footer__bottom a:hover { color: var(--paper); }

/* reveal defaults (JS sets them) */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.no-gsap [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__right .btn { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__stage { position: relative; min-height: 100svh; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 130px; padding-bottom: 120px; gap: 56px; }
  .hero__visual { justify-self: center; width: min(78%, 360px); }
  .seal { left: -40px; width: 116px; height: 116px; }
  .sec-head, .why__grid, .process__grid, .contact__grid, .careers__box { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .why__aside, .process__head { position: relative; top: 0; }
  .services__pin { min-height: 0; padding: clamp(96px, 13vw, 140px) 0; }
  .services__track { flex-direction: column; width: auto; }
  .svc { width: 100%; height: auto; min-height: 0; }
  .services__aside { justify-self: start; }
  .services__hint { display: none; }
  .services__progress { display: none; }
  .values__pin { height: auto; min-height: 0; padding: clamp(96px, 13vw, 140px) 0; }
  .values__head { grid-template-columns: 1fr; }
  .values__body { grid-template-columns: 1fr; }
  .values__panel { display: none; }
  .vitem__btn { cursor: default; padding-bottom: 6px; }
  .vitem__btn::before { display: none; }
  .vitem .vitem__word, .vitem.is-active .vitem__word { color: var(--paper); transform: none; font-style: normal; }
  .vitem .vitem__n { color: var(--brass); }
  .vitem__desc { display: block; margin: 0 0 22px 46px; color: var(--text-inv-muted); max-width: 44ch; }
  .partners__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header { top: 10px; }
  .header__bar { height: 60px; padding: 0 6px 0 12px; }
  .brand__mark { width: 36px; height: 42px; }
  .lang { display: none; }
  .burger { width: 46px; height: 46px; }
  .burger span { left: 14px; right: 14px; }
  .burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
  .menu-open .burger span:nth-child(1), .menu-open .burger span:nth-child(2) { top: 22px; }
  .hero__foot .scroll-cue { display: none; }
  .hero__tags { gap: 8px 16px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .manifesto__row { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .partners__grid { gap: 12px; }
  .partner__logo { min-height: 150px; padding: 28px 20px; }
  .partner__logo img { max-width: 82%; }
  .partner__meta { padding: 14px 18px 16px; }
  .partner__meta b { font-size: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .why__item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .vitem__desc { margin-left: 0; }
  .vitem__btn { gap: 14px; }
  .svc { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .manifesto__text .mw { opacity: 1; }
}
