/* =================================================================
   Quale Capital — Main stylesheet
   Design system: navy + cream, Playfair Display + Be Vietnam Pro
   ================================================================= */

@font-face { font-family: 'Cygre'; src: url('../fonts/Cygre-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cygre'; src: url('../fonts/Cygre-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cygre'; src: url('../fonts/Cygre-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ============== Reset ============== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Cygre', sans-serif; color: var(--text); font-size: 16px; line-height: 1.7; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============== Variables ============== */
:root {
  --navy: #1E3252;
  --navy-d: #151f35;
  --accent: #4a6fa5;
  --teal: #3a6b7e;
  --blue-l: #C8E6F3;
  --bg: #f8f8f6;
  --bg2: #eef0ec;
  --white: #fff;
  --text: #282828;
  --muted: #6b7280;
  --border: rgba(30,50,82,.12);
  --header-h: 88px;
}

/* ============== Typography ============== */
h1, h2, h3, h4, h5 { font-family: 'Cygre', sans-serif; color: var(--navy); line-height: 1.1; font-weight: 400; }
p { color: var(--muted); line-height: 1.75; }

.q-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.q-wrap--narrow { max-width: 980px; }
.q-wrap--wide { max-width: 1400px; }

/* ============== Header ============== */
.q-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.q-header.is-scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(30,50,82,.06);
}
.q-header-inner { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.q-header-actions { display: flex; align-items: center; gap: 16px; justify-content: flex-end; }
.q-logo { display: inline-flex; align-items: center; }
.q-logo svg, .q-logo img { height: 56px; width: auto; }
.q-nav { display: flex; gap: 36px; justify-content: center; align-items: center; }
.q-nav > a, .q-nav-item > a {
  position: relative;
  font-size: 14px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--navy); padding: 8px 0;
  transition: color .3s;
  display: inline-flex; align-items: center; gap: 6px;
}
.q-nav > a::after, .q-nav-item > a::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px;
  background: var(--navy);
  transition: all .4s cubic-bezier(.16,1,.3,1);
  transform: translateX(-50%);
}
.q-nav > a:hover, .q-nav-item > a:hover { color: var(--accent); }
.q-nav > a:hover::after, .q-nav > a.is-active::after,
.q-nav-item > a:hover::after, .q-nav-item > a.is-active::after { width: 100%; background: var(--accent); }

/* Dropdown */
.q-nav-item { position: relative; }
.q-nav-item > a > svg { width: 10px; height: 10px; transition: transform .3s; }
.q-nav-item:hover > a > svg { transform: rotate(180deg); }
.q-nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; padding: 12px 0;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(30,50,82,.10);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  z-index: 10;
}
.q-nav-item:hover .q-nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.q-nav-dropdown::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.q-nav-dropdown a {
  display: block; padding: 10px 22px;
  font-size: 14px; font-weight: 500; color: var(--navy);
  transition: background .2s, color .2s; white-space: nowrap;
}
.q-nav-dropdown a:hover { background: var(--bg); color: var(--accent); }

.q-lang {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.q-lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 26px; border-radius: 999px;
  color: var(--muted);
  transition: all .3s;
}
.q-lang a:hover { color: var(--navy); }
.q-lang a.is-active { background: var(--navy); color: var(--white); }

.q-burger { display: none; }
.q-mobile-menu { display: none; }

/* Header overlays the hero — no body padding so hero starts at top */
body.has-fixed-header { padding-top: 0; }

/* ============== Hero ============== */
.q-hero {
  min-height: 100vh;
  display: flex; align-items: flex-start;
  background: rgba(0,0,0,.02);
  background-image: url('../images/glows-bg.png');
  background-size: cover; background-position: center;
  color: var(--navy); position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 60px;
}
.q-hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.q-hero-vline { position: absolute; top: 0; bottom: 0; right: 38%; width: 1px; background: rgba(30,50,82,.06); pointer-events: none; z-index: 1; }
.q-hero-orb {
  position: absolute; top: 10%; right: 5%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(30,50,82,.03) 0%, transparent 70%);
  border-radius: 50%; filter: blur(60px);
  animation: q-float 12s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
@keyframes q-float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-30px, 30px); } }
.q-hero .q-wrap { position: relative; z-index: 2; width: 100%; }
.q-hero-label { font-size: 12px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(30,50,82,.45); margin-bottom: 24px; }
.q-hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  color: var(--navy); letter-spacing: -2px;
  max-width: 980px; line-height: 1.05; margin-bottom: 28px;
}
.q-hero-sub { font-size: 18px; color: rgba(30,50,82,.6); max-width: 480px; line-height: 1.7; margin-bottom: 40px; }

/* Hero CTA buttons (3 buttons row) */
.q-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.q-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  border: 1px solid transparent;
}
.q-btn--primary { background: var(--navy); color: var(--white); }
.q-btn--primary:hover { background: var(--navy-d); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(30,50,82,.18); }
.q-btn--ghost { background: transparent; color: var(--navy); border-color: rgba(30,50,82,.2); }
.q-btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.q-btn svg { width: 14px; height: 14px; transition: transform .3s; }
.q-btn:hover svg { transform: translateX(3px); }

.q-hero-hline { position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: rgba(30,50,82,.08); transition: width 2s cubic-bezier(.16,1,.3,1) .5s; z-index: 1; }
.q-hero.q-loaded .q-hero-hline { width: 100%; }

/* ============== Page hero (subpages) ============== */
.q-pagehero {
  position: relative; padding: calc(var(--header-h) + 64px) 0 80px;
  background: rgba(0,0,0,.02);
  background-image: url('../images/glows-bg.png');
  background-size: cover; background-position: center;
  color: var(--navy); overflow: hidden;
}
.q-pagehero h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -2px; margin-bottom: 24px; max-width: 760px; }
.q-pagehero .q-hero-label { margin-bottom: 24px; }
.q-pagehero .q-hero-sub { max-width: 560px; }

/* ============== Footer (default — navy) ============== */
.q-footer {
  background: var(--navy); color: rgba(255,255,255,.7);
  padding: 80px 0 32px; position: relative; overflow: hidden;
}
.q-footer::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(91,123,251,.06), transparent 70%); pointer-events: none;
}

/* Light footer — used on pages where the previous section is also navy (process),
   to provide visual contrast */
.q-footer--light {
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.q-footer--light::before { display: none; }
.q-footer--light .q-footer-logo svg, .q-footer--light .q-footer-logo img { filter: none; }
.q-footer--light .q-footer-tag { color: var(--muted); }
.q-footer--light .q-footer-col h4 { color: var(--navy); }
.q-footer--light .q-footer-col a { color: var(--muted); }
.q-footer--light .q-footer-col a:hover { color: var(--navy); }
.q-footer--light .q-footer-bottom { color: var(--muted); border-top-color: var(--border); }
.q-footer--light .q-footer-bottom a:hover { color: var(--navy); }
.q-footer--light .q-footer-social a { color: var(--muted); border-color: var(--border); }
.q-footer--light .q-footer-social a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.q-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.q-footer-logo svg, .q-footer-logo img { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 24px; }
.q-footer-tag { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; }
.q-footer-col h4 { font-family: 'Cygre', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--white); margin-bottom: 24px; }
.q-footer-col ul li { margin-bottom: 12px; }
.q-footer-col a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .3s; }
.q-footer-col a:hover { color: var(--blue-l); }
.q-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: rgba(255,255,255,.45); }
.q-footer-bottom a:hover { color: var(--blue-l); }
.q-footer-social { display: flex; gap: 16px; }
.q-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  transition: all .3s;
}
.q-footer-social a:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.q-footer-social svg { width: 16px; height: 16px; }

/* ============== Reveal animations ============== */
.q-r { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.q-r.q-v { opacity: 1; transform: translateY(0); }
.q-r-d1 { transition-delay: .1s; }
.q-r-d2 { transition-delay: .2s; }
.q-r-d3 { transition-delay: .3s; }
.q-r-d4 { transition-delay: .4s; }
.q-r-d5 { transition-delay: .5s; }
.q-r-d6 { transition-delay: .6s; }

/* ============== Generic section ============== */
.q-section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.q-section--bg { background: var(--bg); }
.q-section--navy { background: var(--navy); color: var(--white); }
.q-section--navy h2, .q-section--navy h3 { color: var(--white); }
.q-section--navy p { color: rgba(255,255,255,.6); }

.q-section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.q-section-head--center { text-align: center; }
.q-section-head--center .q-section-sub { margin-left: auto; margin-right: auto; }
.q-section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(30,50,82,.55); margin-bottom: 20px; }
.q-section-label::before { content: ''; width: 28px; height: 1px; background: rgba(30,50,82,.5); }
.q-section--navy .q-section-label { color: rgba(200,230,243,.55); }
.q-section--navy .q-section-label::before { background: rgba(200,230,243,.5); }
.q-section-title { font-size: clamp(32px, 4vw, 56px); line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 20px; }
.q-section-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.q-section-sub { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 640px; }
.q-section--navy .q-section-sub { color: rgba(255,255,255,.6); }

/* ============== Service cards (Key Directions) ============== */
.q-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.q-service-card {
  position: relative; padding: 40px;
  background: var(--white); border-radius: 16px; border: 1px solid var(--border);
  transition: all .5s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}
.q-service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 0%, rgba(74,111,165,.06), transparent 60%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.q-service-card:hover { transform: translateY(-6px); border-color: rgba(74,111,165,.3); box-shadow: 0 24px 64px rgba(30,50,82,.08); }
.q-service-card:hover::before { opacity: 1; }
.q-service-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(30,50,82,.04); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: all .5s; }
.q-service-icon svg { width: 28px; height: 28px; color: var(--navy); }
.q-service-card:hover .q-service-icon { background: var(--navy); }
.q-service-card:hover .q-service-icon svg { color: var(--white); }
.q-service-card h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; letter-spacing: -0.3px; }
.q-service-card p { font-size: 14px; line-height: 1.75; }
.q-service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); transition: gap .3s; }
.q-service-link svg { width: 12px; height: 12px; transition: transform .3s; }
.q-service-card:hover .q-service-link { gap: 12px; }

/* ============== Stat / metric (numbers) ============== */
.q-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.q-metric { padding: 0 8px; position: relative; padding-top: 32px; }
.q-metric::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 1px; background: rgba(200,230,243,.4); transition: width .8s cubic-bezier(.16,1,.3,1); }
.q-metric:hover::before { width: 72px; }
.q-metric-num { font-family: 'Cygre', sans-serif; font-size: clamp(56px, 7vw, 100px); font-weight: 400; line-height: .95; color: var(--white); letter-spacing: -3px; margin-bottom: 14px; white-space: nowrap; }
.q-metric h3 { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue-l); margin-bottom: 10px; font-family: 'Cygre', sans-serif; }
.q-metric p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.55); max-width: 240px; }

/* ============== Image break (parallax) ============== */
.q-imgbreak { height: 60vh; min-height: 420px; position: relative; overflow: hidden; }
.q-imgbreak-bg { position: absolute; top: -40px; left: 0; right: 0; bottom: -40px; background-size: cover; background-position: center; transition: transform .1s linear; }
.q-imgbreak-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,27,49,.05) 0%, rgba(24,27,49,.3) 100%); pointer-events: none; }

/* ============== Big statement (scroll fill) ============== */
.q-statement { padding: clamp(80px, 10vw, 140px) 0; background: var(--white); }
.q-statement-text {
  font-family: 'Cygre', sans-serif;
  font-size: clamp(28px, 4.2vw, 56px); line-height: 1.3;
  font-weight: 400; letter-spacing: -0.6px;
  color: rgba(30,50,82,.15);
}
.q-char { display: inline; color: rgba(30,50,82,.15); transition: color .15s ease; }
.q-char.q-filled { color: var(--navy); }

/* ============== Sail symbol section ============== */
.q-sail-section { padding: clamp(80px, 10vw, 140px) 0; background: var(--white); position: relative; overflow: hidden; }
.q-sail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.q-sail-text h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 24px; letter-spacing: -1.5px; }
.q-sail-text p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; max-width: 480px; }
.q-sail-stage {
  position: relative; aspect-ratio: 1; max-width: 460px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.q-sail-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 1.2s cubic-bezier(.16,1,.3,1);
}
.q-sail-stage img.is-active { opacity: 1; }
.q-sail-dots { display: flex; gap: 12px; margin-top: 32px; justify-content: center; }
.q-sail-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(30,50,82,.15); cursor: pointer;
  transition: all .4s;
}
.q-sail-dot.is-active { background: var(--navy); transform: scale(1.4); }

/* ============== About — philosophy (typographic editorial) ============== */
.q-philo {
  position: relative; overflow: hidden;
  padding: clamp(100px, 12vw, 180px) 0;
  background: var(--bg);
  background-image: linear-gradient(180deg, var(--white) 0%, var(--bg) 30%, var(--bg) 70%, var(--white) 100%);
}
.q-philo-bg-mark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cygre', sans-serif; font-weight: 600;
  font-size: clamp(220px, 38vw, 600px);
  letter-spacing: -0.06em; line-height: 1;
  color: rgba(30, 50, 82, 0.04);
  pointer-events: none; user-select: none;
  white-space: nowrap;
  z-index: 0;
}
.q-philo .q-wrap { position: relative; z-index: 1; }
.q-philo-head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.q-philo-head .q-section-label { display: inline-flex; }
.q-philo-title { font-size: clamp(36px, 5vw, 68px); letter-spacing: -1.5px; margin-top: 18px; }
.q-philo-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.q-philo-equation {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: stretch; gap: 24px;
  max-width: 1080px; margin: 0 auto clamp(48px, 6vw, 88px);
}
.q-philo-word {
  position: relative;
  padding: 48px 40px 56px;
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--border);
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
.q-philo-word:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(30,50,82,.06); }
.q-philo-word-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  padding: 6px 14px; border-radius: 999px;
  background: rgba(74,111,165,.1);
  margin-bottom: 28px;
}
.q-philo-word-name {
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -3px; line-height: 1;
  color: var(--navy); font-weight: 500;
  margin-bottom: 24px;
}
.q-philo-word p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 380px; }
.q-philo-plus {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cygre', sans-serif; font-weight: 300;
  font-size: clamp(60px, 8vw, 100px);
  color: var(--navy); opacity: 0.4; padding: 0 12px;
}
.q-philo-narrative { text-align: center; max-width: 720px; margin: 0 auto; }
.q-philo-narrative p {
  font-size: clamp(18px, 2.2vw, 24px); line-height: 1.6;
  color: var(--text); font-weight: 400;
}
.q-philo-quote {
  margin: clamp(56px, 7vw, 96px) auto 0;
  max-width: 720px; text-align: center;
  padding-top: 56px; position: relative;
}
.q-philo-quote::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 1px; background: rgba(30,50,82,.25);
}
.q-philo-quote blockquote {
  font-family: 'Cygre', sans-serif; font-style: italic;
  font-size: clamp(22px, 3vw, 36px); line-height: 1.4;
  color: var(--navy); letter-spacing: -0.5px;
  font-weight: 400;
}
.q-philo-quote figcaption {
  margin-top: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted);
}
@media (max-width: 900px) {
  .q-philo-equation { grid-template-columns: 1fr; gap: 12px; }
  .q-philo-plus { padding: 4px 0; }
}

/* ============== About — principles (4 icons) ============== */
.q-principles { padding: clamp(80px, 10vw, 140px) 0; background: var(--white); }
.q-principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
.q-principle { display: flex; gap: 24px; align-items: flex-start; }
.q-principle-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.q-principle-icon svg { width: 28px; height: 28px; }
.q-principle h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 12px; letter-spacing: -0.3px; }
.q-principle p { font-size: 14px; line-height: 1.7; }

/* ============== Universe section ============== */
.q-universe { position: relative; background: var(--white); height: 70vh; min-height: 500px; max-height: 800px; overflow: hidden; }
.q-universe-canvas { position: absolute; inset: 0; }
.q-universe-label { position: absolute; top: 32px; left: 32px; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: rgba(30,50,82,.5); z-index: 2; }
.q-universe-label::before { content: ''; width: 28px; height: 1px; background: rgba(30,50,82,.5); }
.q-universe-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(30,50,82,.35); z-index: 2; }

/* ============== Sticky stacking services (subpages) ============== */
.q-acc { background: var(--white); }
.q-acc-wrap { position: relative; }
.q-acc-item {
  position: sticky;
  display: grid; grid-template-columns: 56px 1fr 45%; gap: 0 32px;
  padding: 48px 40px; background: var(--white);
  border-top: 1px solid var(--border);
  align-items: start; width: 100%;
}
.q-acc-item:nth-child(1) { top: calc(var(--header-h) + 20px); z-index: 1; }
.q-acc-item:nth-child(2) { top: calc(var(--header-h) + 80px); z-index: 2; }
.q-acc-item:nth-child(3) { top: calc(var(--header-h) + 200px); z-index: 3; }
.q-acc-item:nth-child(4) { top: calc(var(--header-h) + 280px); z-index: 4; }
.q-acc-item:nth-child(5) { top: calc(var(--header-h) + 400px); z-index: 5; }
.q-acc-item:nth-child(6) { top: calc(var(--header-h) + 540px); z-index: 6; }
.q-acc-num { font-family: 'Cygre', sans-serif; font-size: 13px; color: var(--muted); padding-top: 6px; }
.q-acc-title { font-family: 'Cygre', sans-serif; font-size: clamp(24px, 3vw, 38px); color: var(--navy); line-height: 1.15; letter-spacing: -0.3px; margin-bottom: 20px; }
.q-acc-desc { grid-column: 2; grid-row: 2; }
.q-acc-desc p { font-size: 15px; line-height: 1.8; max-width: 460px; }
.q-acc-img { grid-column: 3; grid-row: 1/4; border-radius: 8px; overflow: hidden; height: 380px; background-size: cover; background-position: center; }

/* ============== Process steps (4 cols on navy) ============== */
.q-process { background: var(--navy); color: var(--white); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.q-process::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; }
.q-process .q-wrap { position: relative; z-index: 1; }
.q-process h2 { color: var(--white); }
.q-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.q-step { border-left: 1px solid rgba(255,255,255,.1); padding-left: 24px; transition: all .5s cubic-bezier(.16,1,.3,1); }
.q-step:hover { border-left-color: var(--accent); padding-left: 32px; }
.q-step-num { font-family: 'Cygre', sans-serif; font-size: 48px; font-weight: 700; color: rgba(200,230,243,.15); line-height: 1; margin-bottom: 20px; transition: color .4s; }
.q-step:hover .q-step-num { color: rgba(200,230,243,.4); }
.q-step h3 { color: var(--white); font-size: 18px; font-weight: 500; margin-bottom: 12px; font-family: 'Cygre', sans-serif; letter-spacing: 0; }
.q-step p { color: rgba(240,246,252,.45); font-size: 14px; line-height: 1.7; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .q-nav { gap: 24px; }
  .q-nav a { font-size: 13px; }
}

@media (max-width: 900px) {
  .q-nav { display: none; }
  .q-burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; }
  .q-burger span { display: block; width: 22px; height: 1px; background: var(--navy); position: relative; transition: all .3s; }
  .q-burger span::before, .q-burger span::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: var(--navy); transition: all .3s; }
  .q-burger span::before { top: -7px; }
  .q-burger span::after { top: 7px; }
  .q-burger.is-open span { background: transparent; }
  .q-burger.is-open span::before { top: 0; transform: rotate(45deg); }
  .q-burger.is-open span::after { top: 0; transform: rotate(-45deg); }

  .q-mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 99; padding: 32px; flex-direction: column; gap: 8px; overflow-y: auto; }
  .q-mobile-menu.is-open { display: flex; }
  .q-mobile-menu a { padding: 16px 0; border-bottom: 1px solid var(--border); font-family: 'Cygre', sans-serif; font-size: 24px; color: var(--navy); }

  .q-hero h1 { max-width: 100%; }
  .q-hero-vline { display: none; }
  .q-services-grid { grid-template-columns: 1fr; }
  .q-metrics-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .q-process-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .q-sail-grid { grid-template-columns: 1fr; gap: 48px; }
  .q-sail-stage { max-width: 360px; }
  .q-principles-grid { grid-template-columns: 1fr; gap: 40px; }
  .q-acc-item { grid-template-columns: 40px 1fr; gap: 0 16px; padding: 32px 16px; margin-bottom: 6rem; }
  .q-acc-img { grid-column: 1/-1; grid-row: 3; height: 220px; margin-top: 16px; }
  .q-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
}

@media (max-width: 600px) {
  .q-wrap { padding: 0 20px; }
  .q-metrics-grid { grid-template-columns: 1fr; }
  .q-process-grid { grid-template-columns: 1fr; gap: 24px; }
  .q-footer-grid { grid-template-columns: 1fr; }
  .q-footer-bottom { flex-direction: column; align-items: flex-start; }
  .q-hero-cta { flex-direction: column; }
  .q-hero-cta .q-btn { width: 100%; justify-content: center; }
  .q-logo svg, .q-logo img { height: 44px; }
  .q-footer-logo svg, .q-footer-logo img { height: 44px; }
}
