/* Saqya Partners: fictional advisory firm, a We Elevo concept. Editorial, warm paper, water-green accent. */
:root {
  --paper: #f5f1e9; --paper-2: #ece6da; --ink: #141311; --ink-2: #4c4842; --muted: #8a857b;
  --line: rgba(20, 19, 17, .12); --line-dark: rgba(255, 255, 255, .16);
  --accent: #2f5d50; --accent-soft: #dfe8e2; --sand: #d6c7a9; --night: #12110f;
  --gutter: clamp(20px, 4vw, 56px); --wrap: min(1320px, 100% - var(--gutter) * 2);
  --sec: clamp(96px, 12vw, 176px); --ease: cubic-bezier(.22, 1, .36, 1); --hdr: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: var(--hdr); }
html.lenis, html.lenis body { height: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.6 "Inter Tight", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(40px, 5.6vw, 84px); text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: .02em; color: var(--muted); margin-bottom: 28px; }
.label span { color: var(--accent); font-weight: 500; }
.label-light { color: rgba(255,255,255,.7); } .label-light span { color: var(--sand); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link i { font-style: normal; transition: transform .4s var(--ease); }
.link:hover i { transform: translateX(4px); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; border: 0; cursor: pointer; transition: background-color .3s, color .3s; }
.btn-ink { background: var(--ink); color: var(--paper); } .btn-ink:hover { background: var(--accent); }
.btn-light { background: var(--paper); color: var(--ink); } .btn-light:hover { background: #fff; }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); } .btn-line:hover { background: rgba(255,255,255,.12); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: flex; align-items: flex-end; justify-content: space-between; padding: var(--gutter); pointer-events: none; }
.loader-word { font-size: clamp(64px, 16vw, 240px); font-weight: 300; letter-spacing: -0.06em; line-height: .8; }
.loader-count { font-size: 20px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; transition: color .4s, background-color .4s, transform .5s var(--ease); }
.hdr.solid { background: rgba(245, 241, 233, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.brand svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.brand b { font-weight: 600; letter-spacing: .14em; }
.nav { display: flex; gap: 34px; font-size: 15px; }
.nav a { opacity: .82; transition: opacity .3s; } .nav a:hover { opacity: 1; }
.hdr-end { display: flex; align-items: center; gap: 20px; }
.lang { font-size: 14px; opacity: .7; } .lang b { font-weight: 600; }
.hdr:not(.solid) .btn-ink { background: var(--paper); color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); position: relative; cursor: pointer; }
.hdr.solid .burger { background: var(--paper-2); }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease); }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav[hidden] { display: none; }
.mnav { position: absolute; top: var(--hdr); left: 0; right: 0; background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 28px; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.mnav a { padding: 16px 0; font-size: 26px; font-weight: 300; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; background: var(--paper); }
.aperture { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; clip-path: inset(0 round 0); }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,10,.45) 0%, rgba(10,12,10,.05) 32%, rgba(10,12,10,.25) 62%, rgba(10,12,10,.78) 100%); }
.hero-in { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 6vw, 72px); }
.meta { font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 22px; }
.meta span { color: var(--sand); margin-right: 6px; }
.hero h1 { font-size: clamp(46px, 7.6vw, 128px); line-height: .96; letter-spacing: -0.05em; max-width: 13ch; }
.hero-row { margin-top: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-sub { max-width: 44ch; font-size: clamp(16px, 1.3vw, 18.5px); color: rgba(255,255,255,.86); }
.hero-btns { display: flex; gap: 12px; }
.hero-card { position: absolute; right: var(--gutter); top: calc(var(--hdr) + 32px); width: 340px; display: flex; gap: 14px; padding: 12px; border-radius: 18px; background: rgba(20,19,17,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: background-color .3s; }
.hero-card:hover { background: rgba(20,19,17,.6); }
.hc-img { flex: 0 0 96px; height: 96px; border-radius: 12px; overflow: hidden; } .hc-img img { width: 100%; height: 100%; object-fit: cover; }
.hc-txt { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.hc-txt small { font-size: 12px; color: var(--sand); } .hc-txt b { font-weight: 500; line-height: 1.3; } .hc-txt em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.7); margin-top: auto; }

/* intro */
.intro { width: var(--wrap); margin: 0 auto; padding: var(--sec) 0; }
.statement { font-size: clamp(30px, 3.6vw, 56px); font-weight: 300; line-height: 1.16; letter-spacing: -0.03em; max-width: 24ch; }
.statement .sw { opacity: .16; }
.intro-foot { margin-top: clamp(48px, 6vw, 80px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.intro-foot p { max-width: 52ch; color: var(--ink-2); }

/* expertise */
.expertise { width: var(--wrap); margin: 0 auto; padding: 0 0 var(--sec); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.exp-media { position: sticky; top: calc(var(--hdr) + 24px); height: calc(100svh - var(--hdr) - 48px); max-height: 820px; border-radius: 20px; overflow: hidden; background: var(--paper-2); }
.exp-img { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); }
.exp-img.is-on { clip-path: inset(0 0 0 0); }
.exp-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.exp-count { position: absolute; left: 20px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(245,241,233,.9); font-size: 13px; color: var(--ink-2); }
.exp-count b { color: var(--ink); font-weight: 600; }
.exp-list h2 { margin-bottom: 56px; }
.exp-item { padding: 40px 0 48px; border-top: 1px solid var(--line); min-height: 40vh; }
.exp-item small { color: var(--accent); font-weight: 500; }
.exp-item h3 { margin-top: 14px; font-size: clamp(30px, 3vw, 44px); }
.exp-item p { margin-top: 18px; color: var(--ink-2); max-width: 46ch; font-size: 17px; }
.exp-item ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exp-item li { padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; }

/* band */
.band { position: relative; height: clamp(420px, 70vh, 760px); overflow: hidden; display: flex; align-items: flex-end; }
.band-img { position: absolute; inset: -12% 0; } .band-img img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,10,0) 40%, rgba(10,12,10,.6)); }
.band-quote { position: relative; z-index: 1; width: var(--wrap); margin: 0 auto 56px; color: #fff; font-size: clamp(28px, 3.4vw, 52px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.12; max-width: 22ch; }

/* section heads */
.sec-head { width: var(--wrap); margin: 0 auto 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-note { font-size: 14px; color: var(--muted); } .sec-note i { font-style: normal; }

/* sectors rail */
.sectors { padding: var(--sec) 0; }
.rail { display: flex; gap: 20px; padding: 0 var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.card { flex: 0 0 min(420px, 78vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; user-select: none; }
.card-img { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; margin-bottom: 14px; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); pointer-events: none; }
.card:hover .card-img img { transform: scale(1.05); }
.card small { color: var(--accent); font-weight: 500; }
.card b { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.card em { font-style: normal; color: var(--ink-2); font-size: 15px; }

/* why */
.why { position: relative; padding: var(--sec) 0; color: #fff; background: var(--night); overflow: hidden; }
.why-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.why-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,15,.85), rgba(18,17,15,.55) 50%, rgba(18,17,15,.9)); }
.why-in { position: relative; width: var(--wrap); margin: 0 auto; }
.why h2 { max-width: 16ch; }
.stats { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 30px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat b { display: block; font-size: clamp(56px, 6.4vw, 104px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.stat p { margin-top: 14px; color: rgba(255,255,255,.7); max-width: 22ch; }

/* mandates */
.mandates { position: relative; padding: var(--sec) 0; }
.m-list { list-style: none; width: var(--wrap); margin: 0 auto; padding: 0; border-top: 1px solid var(--line); }
.m-list li { display: grid; grid-template-columns: 90px 1fr auto 40px; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .5s var(--ease), color .3s; }
.m-list li:hover { padding-left: 14px; color: var(--accent); }
.m-list span { color: var(--muted); font-size: 15px; }
.m-list b { font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; letter-spacing: -0.025em; }
.m-list em { font-style: normal; color: var(--ink-2); font-size: 15px; }
.m-list i { font-style: normal; font-size: 22px; text-align: right; }
.m-cursor { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.m-cursor img { width: 100%; height: 100%; object-fit: cover; }

/* approach */
.approach { width: var(--wrap); margin: 0 auto; padding: 0 0 var(--sec); }
.steps { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 44px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -50px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--accent); }
.step small { color: var(--accent); font-weight: 500; }
.step b { display: block; margin-top: 10px; font-size: 30px; font-weight: 300; letter-spacing: -0.025em; }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 30ch; }

/* insights */
.insights { padding: 0 0 var(--sec); }
.ins-grid { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ins a { display: flex; flex-direction: column; gap: 8px; }
.ins-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; margin-bottom: 10px; background: var(--paper-2); }
.ins-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ins a:hover .ins-img img { transform: scale(1.05); }
.ins small { color: var(--accent); font-weight: 500; }
.ins b { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25; }

/* contact */
.contact { width: var(--wrap); margin: 0 auto; padding: var(--sec) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); border-top: 1px solid var(--line); }
.contact h2 { max-width: 13ch; }
.c-note { margin-top: 26px; color: var(--ink-2); max-width: 40ch; }
.c-info { margin: 36px 0 0; display: grid; grid-template-columns: 90px 1fr; gap: 10px 20px; font-size: 15px; }
.c-info dt { color: var(--muted); } .c-info dd { margin: 0; }
.c-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; align-content: start; }
.c-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--muted); }
.c-form .full { grid-column: 1 / -1; }
.c-form input, .c-form select, .c-form textarea { border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; font-size: 17px; color: var(--ink); border-radius: 0; outline: none; transition: border-color .3s; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { border-color: var(--accent); }
.c-form textarea { resize: vertical; }
.c-form .btn { height: 54px; margin-top: 8px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note.ok { color: var(--accent); }

/* footer */
.ftr { background: var(--night); color: #fff; padding: 72px var(--gutter) 32px; overflow: hidden; }
.ftr-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ftr-top p { font-size: clamp(22px, 2.4vw, 34px); font-weight: 300; letter-spacing: -0.02em; max-width: 20ch; }
.ftr-top nav { display: flex; flex-wrap: wrap; gap: 10px 32px; color: rgba(255,255,255,.7); }
.ftr-top nav a:hover { color: #fff; }
.ftr-word { margin: 56px 0 28px; font-size: clamp(90px, 25vw, 400px); font-weight: 300; letter-spacing: -0.07em; line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(214,199,169,.4); user-select: none; }
.ftr-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.ftr-bot a { color: var(--sand); }
.concept { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 7px 13px; border-radius: 999px; font-size: 12px; background: rgba(20,19,17,.82); color: #f5f1e9; backdrop-filter: blur(10px); }

/* animation start states (only when JS runs) */
.js [data-fade] { opacity: 0; transform: translateY(26px); }
.js [data-lines] .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-lines] .li { display: block; transform: translateY(105%); }
.static [data-fade] { opacity: 1 !important; transform: none !important; }
.static [data-lines] .li { transform: none !important; }
.static .statement .sw { opacity: 1 !important; }
.static .loader { display: none; }

/* responsive */
@media (max-width: 1100px) {
  .nav, .lang { display: none; }
  .hero-card { display: none; }
  .expertise, .contact { grid-template-columns: 1fr; }
  .exp-media { position: relative; top: 0; height: 56vw; max-height: 520px; }
  .exp-item { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 30px; border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .ins-grid { grid-template-columns: 1fr 1fr; }
  .ins:last-child { display: none; }
}
@media (max-width: 700px) {
  :root { --hdr: 66px; }
  body { font-size: 16px; }
  .hdr-end .btn { display: none; }
  .burger { display: block; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-btns { width: 100%; } .hero-btns .btn { flex: 1; }
  .m-list li { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 0; }
  .m-list span { grid-column: 1 / -1; } .m-list em { grid-column: 1; } .m-list i { grid-row: 2; grid-column: 2; }
  .m-cursor { display: none; }
  .steps { grid-template-columns: 1fr; }
  .ins-grid { grid-template-columns: 1fr; } .ins:last-child { display: block; }
  .c-form { grid-template-columns: 1fr; }
  .ftr-bot { flex-direction: column; padding-bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }

/* steps stack below desktop: dot above each step, no shared line */
@media (max-width: 1100px) {
  .steps { padding-top: 0; }
  .steps-line { display: none; }
  .step { padding-top: 26px; }
  .step::before { top: 0; }
}
@media (max-width: 700px) { .hero-in { bottom: 72px; } }
