/* Gybe Consulting dark theme. Extracted verbatim from the design system
   handoff (Supplied/gybe-design-system.md section 10). Do not edit: it is a
   1:1 copy of the live site's stylesheet. Page-specific additions belong in
   their own file. */

/* Gybe Consulting - dark theme (homepage / full-dark pages) global stylesheet, extracted verbatim from the live site. */
:root {
  --bg: #080b14;
  --bg-2: #0d1322;
  --surface: #121a2c;
  --surface-2: #16203a;
  --ink: #f3f6fc;
  --muted: #98a2ba;
  --muted-2: #6c7791;
  --blue: #2f6bff;
  --blue-bright: #4d82ff;
  --blue-deep: #063fa9;
  --blue-tint: rgba(47, 107, 255, 0.12);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --display: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--body); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright);
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--blue-bright); display: inline-block; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 600; font-size: 0.97rem;
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 30px -10px rgba(47,107,255,.6); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--blue-bright); }
.link-arrow .arr { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
/* logo art is dark-blue on transparent - render it white on the dark UI */
.brand img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav-links > a { font-weight: 500; font-size: 0.96rem; color: var(--muted); transition: color .2s; }
.nav-links > a:hover { color: var(--ink); }
.nav-dd { position: relative; }
.nav-dd-btn { font-family: var(--body); font-weight: 500; font-size: 0.96rem; color: var(--muted); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0; transition: color .2s; }
.nav-dd-btn:hover { color: var(--ink); }
.nav-dd-btn svg { transition: transform .25s ease; }
.nav-dd:hover .nav-dd-btn svg, .nav-dd:focus-within .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 0.9rem); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.8); padding: 0.6rem; opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease; z-index: 60;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu::before { content: ''; position: absolute; top: -0.9rem; left: 0; right: 0; height: 0.9rem; }
.nav-dd-menu > a { display: block; padding: 0.7rem 0.9rem; border-radius: 10px; transition: background .18s; }
.nav-dd-menu > a:hover { background: var(--surface-2); }
.nav-dd-menu > a strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink); letter-spacing: -0.02em; }
.nav-dd-menu > a span { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.1rem; }
.nav-dd-foot { margin-top: 0.3rem; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.9rem !important; color: var(--blue-bright) !important; }
.nav-dd-foot .arr { transition: transform .3s cubic-bezier(.2,.8,.2,1); display: inline-block; }
.nav-dd-foot:hover .arr { transform: translateX(4px); }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-cta .ghost-link { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nav-cta .ghost-link:hover { color: var(--blue-bright); }
/* hamburger */
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; margin-left: 0.25rem; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { background: var(--bg); border-top: 1px solid var(--line); padding: 0.25rem var(--pad) 1.5rem; }
.mobile-nav > a { display: block; padding: 0.9rem 0; font-size: 1.05rem; font-weight: 500; color: #e6ebf5; border-bottom: 1px solid var(--line); }
.mobile-nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1.1rem; }
.mobile-nav-cta .btn { justify-content: center; }
.mobile-nav-cta .btn-ghost { color: var(--ink); border-color: var(--line-2); }
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 1041px) { .mobile-nav { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 78% -8%, rgba(47,107,255,.22), transparent 60%),
    radial-gradient(700px 420px at 6% 110%, rgba(47,107,255,.10), transparent 55%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }

.hero h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 600; line-height: 1.05; max-width: 18ch; letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 .accent { color: var(--blue-bright); }
.hero-sub { margin-top: 1.4rem; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.hero-actions { margin-top: 2.4rem; display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }

.guide-card {
  display: block; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.9);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.guide-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 50px 90px -50px rgba(0,0,0,.95); }
.guide-media { background: #fff; padding: 1rem; }
.guide-media img { width: 100%; height: auto; border-radius: 12px; display: block; }
.guide-body { padding: 1.6rem 1.8rem 1.8rem; }
.guide-card .guide-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); background: var(--blue-tint); border: 1px solid var(--line-2); padding: 0.3rem 0.7rem; border-radius: 999px; }
.guide-card .guide-title { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.03em; margin: 1rem 0 0.5rem; }
.guide-card p { color: var(--muted); font-size: 0.97rem; }
.guide-card .guide-cta { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--blue-bright); }
.guide-card .guide-cta .arr { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.guide-card:hover .guide-cta .arr { transform: translateX(4px); }

/* reports section */
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 820px) { .reports-grid { grid-template-columns: 1fr; } }
.report-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.report-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 34px 70px -40px rgba(0,0,0,.9); }
.report-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.report-art picture { position: absolute; inset: 0; display: block; }
.report-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* AI infographic: fill the box, locked to the top (crops the bottom) */
.report-card.is-infographic .report-art img { object-fit: cover; object-position: top; }
.report-body { padding: 1.6rem 1.8rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.report-tag { align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); background: var(--blue-tint); border: 1px solid var(--line-2); padding: 0.3rem 0.7rem; border-radius: 999px; }
.report-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.03em; margin: 1rem 0 0.5rem; }
.report-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.report-body .link-arrow { margin-top: 1.3rem; }

/* ---------- logo strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.2rem 0; }
.strip p { text-align: center; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 1.4rem; }
.logo-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; justify-content: center; }
.logo-row span { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: #4a5570; letter-spacing: -0.03em; transition: color .3s; }
.logo-row span:hover { color: var(--ink); }

/* ---------- sections ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-2); }
.sec-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-top: 0.9rem; letter-spacing: -0.03em; text-wrap: balance; }
.sec-head p { margin-top: 0.9rem; color: var(--muted); font-size: 1.0625rem; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s, background .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); box-shadow: 0 30px 60px -36px rgba(0,0,0,.9); }
.card h3 { font-size: 1.25rem; }
.card > p { color: var(--muted); margin: 0.7rem 0 1.3rem; }
.card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.card li { font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.28rem 0.7rem; }
.card .link-arrow { margin-top: auto; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--blue); padding-top: 1.3rem; position: relative; }
.step .no { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--blue-bright); letter-spacing: 0.04em; }
.step h3 { font-size: 1.125rem; margin: 0.5rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.98rem; }
.steps-cta { margin-top: 2.6rem; display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }

/* stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat .l { margin-top: 0.7rem; color: var(--muted); font-size: 0.96rem; max-width: 22ch; }

/* why - split */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { display: flex; flex-direction: column; gap: 1.3rem; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: none; }
.why-item .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--blue-bright); font-size: 0.9rem; }
.why-item h3 { font-size: 1.125rem; margin-bottom: 0.35rem; }
.why-item p { color: var(--muted); font-size: 0.99rem; }
.sectors { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.sectors span { font-size: 0.84rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.32rem 0.8rem; }

/* testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.quote .stars { color: #ffc14d; letter-spacing: 2px; font-size: 0.95rem; }
.quote blockquote { font-family: var(--display); font-weight: 500; font-size: 1.125rem; line-height: 1.5; letter-spacing: -0.02em; margin: 0.9rem 0 1.4rem; }
.quote .who { font-weight: 600; }
.quote .who span { color: var(--muted); font-weight: 500; }

/* insights */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr; } }
.ins { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.85rem; min-height: 215px; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.ins:hover { transform: translateY(-5px); border-color: var(--line-2); }
.ins .tag { align-self: flex-start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-bright); background: var(--blue-tint); padding: 0.3rem 0.7rem; border-radius: 999px; }
.ins h3 { font-size: 1.125rem; line-height: 1.3; flex: 1; }
.ins .date { color: var(--muted-2); font-size: 0.88rem; }

/* CTA */
.cta-inner {
  position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  box-shadow: 0 50px 90px -50px rgba(47,107,255,.7);
}
.cta-inner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 120%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.cta-inner .eyebrow { color: #cfe0ff; justify-content: center; }
.cta-inner .eyebrow::before { background: #cfe0ff; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); max-width: 20ch; margin: 1rem auto 0; color: #fff; }
.cta-inner p { color: rgba(255,255,255,.86); margin: 1.2rem auto 0; max-width: 48ch; }
.cta-inner .hero-actions { justify-content: center; }
.cta-inner .btn-primary { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.cta-inner .btn-primary:hover { background: #eef3ff; }
.cta-inner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-inner .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(3rem,6vw,4.5rem) 0 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand img { height: 46px; }
.foot-brand p { color: var(--muted); margin-top: 1rem; max-width: 32ch; font-size: 0.97rem; }
.foot-grid h4 { font-family: var(--body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; font-weight: 600; }
.foot-grid a { display: block; color: var(--muted); padding: 0.32rem 0; transition: color .2s; }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted-2); font-size: 0.9rem; }
.foot-bottom-right { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-bottom-right a { color: var(--muted); font-weight: 500; }
.foot-bottom-right a:hover { color: var(--blue-bright); }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
.stagger > *:nth-child(1){animation-delay:.05s}.stagger > *:nth-child(2){animation-delay:.15s}
.stagger > *:nth-child(3){animation-delay:.25s}.stagger > *:nth-child(4){animation-delay:.35s}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; } }
