/* Yncisive — draft site styles */
:root {
  --navy-950: #050f1c;
  --navy-900: #061a2e;
  --navy-800: #0b1e32;
  --navy-700: #12283f;
  --line: rgba(221, 232, 240, 0.14);
  --text: #e8eef3;
  --muted: #9fb0c0;
  --orange: #f26a2e;
  --orange-soft: rgba(242, 106, 46, 0.12);
  --light-bg: #ffffff;
  --light-text: #0b1e32;
  --light-muted: #536271;
  --light-line: #dde8f0;
  --nav-h: 72px;
  --wrap: 1200px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 400; text-transform: uppercase; }
p { margin: 0 0 1em; }
.accent { color: var(--orange); font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(5, 15, 28, 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(5, 15, 28, 0.94); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { text-decoration: none; color: #fff; }
.nav-links a.active { border-bottom-color: var(--orange); }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--text);
  width: 44px; height: 44px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
.section-alt { background: var(--navy-900); }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--orange); }
.title { font-size: clamp(36px, 5vw, 60px); letter-spacing: .01em; }
.title strong { color: var(--orange); font-weight: 700; }
.lead { font-size: 19px; font-weight: 600; color: #fff; max-width: 34ch; }
.two-col { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.prose { color: var(--muted); }
.prose p:first-child { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background: var(--navy-950) url("../img/hero.jpg") center right / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,15,28,.85) 0%, rgba(5,15,28,.35) 60%, rgba(5,15,28,0) 100%);
}
.hero .wrap { position: relative; width: 100%; }
.hero-logo { width: min(340px, 70vw); margin-bottom: 56px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); font-weight: 700; line-height: 1.04; letter-spacing: .01em; }
.hero h1 span { color: var(--orange); }
.hero .tagline {
  margin-top: 36px; font-size: 13px; letter-spacing: .42em; text-transform: uppercase; color: var(--text); max-width: 46ch;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--orange); border-radius: 2px; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Context ---------- */
.statements { list-style: none; padding: 0; margin: 0 0 28px; }
.statements li { font-size: 22px; color: #fff; padding: 10px 0; border-bottom: 1px solid var(--line); }
.signals { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.signals li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.story { margin-top: 110px; }

/* ---------- Incisive definition ---------- */
.definition {
  padding: 140px 0;
  background: var(--navy-800) url("../img/hero.jpg") center / cover no-repeat;
  background-blend-mode: soft-light;
}
.definition .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.definition h2 { font-size: 44px; font-weight: 700; }
.definition .pos { font-style: italic; color: var(--muted); font-size: 14px; text-transform: none; margin: 4px 0 36px; }
.definition .def { font-size: 22px; letter-spacing: .14em; color: var(--orange); text-transform: uppercase; margin: 0 0 6px; }
.definition .def-body { font-size: 20px; color: #fff; }
.definition .mindset { font-style: italic; color: var(--muted); margin-top: 36px; }
.definition .big-logo { width: 100%; max-width: 520px; justify-self: end; opacity: .95; }

/* ---------- Stats & pillars ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.stat { border-top: 2px solid var(--orange); padding-top: 16px; }
.stat b { display: block; font-size: 15px; letter-spacing: .08em; color: #fff; text-transform: uppercase; }
.stat span { color: var(--muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 48px; }
.pillar .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 16px; }
.pillar .icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--orange); margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 0; }
.why { margin-top: 120px; }

/* ---------- Approach ---------- */
.approach-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.approach-intro .title { line-height: 1.08; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--navy-800); border: 1px solid var(--line); display: flex; flex-direction: column; }
.step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.step-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.step-num { color: var(--orange); font-weight: 700; letter-spacing: .1em; font-size: 14px; }
.step h3 { font-size: 22px; font-weight: 700; margin: 8px 0 12px; text-transform: none; }
.step p { color: var(--muted); font-size: 15px; }
.step .result { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.phase { margin-top: 110px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.phase .num { font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-bottom: 14px; }
.phase .quote { color: var(--orange); font-weight: 600; font-size: 19px; margin: 28px 0 16px; max-width: 30ch; }
.phase .desc { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip { border: 1px solid var(--line); padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.caps h4 { font-size: 12px; letter-spacing: .3em; color: var(--orange); font-weight: 600; margin-bottom: 14px; }
.caps ol { list-style: none; padding: 0; margin: 0 0 36px; counter-reset: cap; }
.caps ol li { counter-increment: cap; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.caps ol li::before { content: "0" counter(cap) ". "; color: var(--orange); }

/* ---------- Solutions ---------- */
.sol-note { color: var(--muted); max-width: 60ch; margin-top: 20px; }
.sol-tabs { display: flex; gap: 8px; margin: 48px 0 32px; flex-wrap: wrap; }
.sol-tabs button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text); background: transparent; border: 1px solid var(--line); padding: 12px 22px; cursor: pointer;
}
.sol-tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.sol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sol {
  background: var(--navy-800); border: 1px solid var(--line); padding: 30px;
  display: flex; flex-direction: column;
}
.sol[hidden] { display: none; }
.sol .tag { font-size: 10px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
.sol h3 { font-size: 21px; font-weight: 700; margin: 10px 0 6px; color: #fff; }
.sol .sub { color: var(--orange); font-size: 15px; font-weight: 600; }
.sol dl { margin: 18px 0 0; }
.sol dt { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--orange); margin-top: 16px; }
.sol dd { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.sol ul { margin: 6px 0 0; padding-left: 18px; }
.sol ul li::marker { color: var(--orange); }

/* ---------- Team ---------- */
/* auto-fit: works for 2, 3 or 4 members without changes */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 56px; }
.member { background: var(--navy-800); border: 1px solid var(--line); display: flex; flex-direction: column; }
.member .photo {
  background: radial-gradient(circle at 50% 80%, #1d3550 0%, var(--navy-800) 70%);
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.member .photo img { height: 92%; width: auto; object-fit: contain; }
.member-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.member .role { color: var(--orange); font-size: 13px; font-weight: 600; margin: 6px 0 14px; }
.member .focus { color: var(--muted); font-size: 14px; }
.member .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.member .meta b { color: #fff; }
.member details { margin-top: 16px; font-size: 14px; }
.member summary { cursor: pointer; color: var(--orange); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; list-style: none; }
.member summary::-webkit-details-marker { display: none; }
.member summary::after { content: " +"; }
.member details[open] summary::after { content: " –"; }
.member details h4 { font-size: 10px; letter-spacing: .28em; color: var(--orange); margin: 18px 0 8px; font-weight: 600; }
.member details ul { margin: 0; padding-left: 18px; color: var(--muted); }
.member details li { margin-bottom: 6px; }
.member details li::marker { color: var(--orange); }
.team-banner {
  margin-top: 48px; padding: 18px 24px; text-align: center; border: 1px solid var(--line);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; background: var(--navy-800);
}

/* ---------- Experience ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.model { border-left: 1px solid var(--line); padding: 4px 0 4px 24px; }
.model .n { color: var(--orange); font-weight: 700; font-size: 14px; }
.model h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; margin: 8px 0 12px; }
.model p { color: var(--muted); font-size: 15px; margin: 0; }
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.sector h3 { font-size: 13px; letter-spacing: .2em; color: var(--orange); font-weight: 600; margin-bottom: 10px; line-height: 1.5; }
.sector p { color: var(--muted); font-size: 15px; margin: 0; }
.block { margin-top: 120px; }

/* ---------- Light sections (white accents) ---------- */
.section-light { background: var(--light-bg); color: var(--light-text); }
.section-light .title { color: var(--light-text); }
.section-light .eyebrow { color: var(--light-muted); }
.section-light .lead { color: var(--light-text); }
.section-light .prose, .section-light .sol-note { color: var(--light-muted); }
.section-light .statements li { color: var(--light-text); border-bottom-color: var(--light-line); }
.section-light .signals li { color: var(--light-muted); border-top-color: var(--light-line); }
.context-light { overflow: hidden; }
.context-light::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38%;
  background: url("../img/motion-light.jpg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
  opacity: .55; pointer-events: none;
}
.context-light .wrap { position: relative; }

/* ---------- Contact ---------- */
.contact {
  background: var(--navy-900) url("../img/hero.jpg") center / cover no-repeat;
  background-blend-mode: soft-light;
}
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact .title { font-size: clamp(40px, 6vw, 72px); }
.contact .sub { color: var(--muted); font-size: 19px; margin-top: 24px; max-width: 30ch; }
.contact h3 { color: var(--orange); font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.people { list-style: none; padding: 0; margin: 0; }
.people li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.people svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.people b { display: block; color: #fff; font-size: 16px; }

footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 36px 0; font-size: 12px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer img { height: 16px; width: auto; }
footer .tag { letter-spacing: .3em; text-transform: uppercase; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 900px) {
  section { padding: 88px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 24px;
    background: rgba(5, 15, 28, 0.98); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--line); color: var(--orange); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .two-col, .phase, .definition .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .definition .big-logo { justify-self: start; max-width: 320px; }
  .steps, .models { grid-template-columns: 1fr; }
  .story, .why, .phase, .block { margin-top: 80px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .stats, .pillars, .sectors, .signals { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .hero .tagline { letter-spacing: .25em; }
  .statements li { font-size: 19px; }
}
