/* Solr Consulting — black, warm white and the logo's gold. Dark by brand. */

:root {
  --black: #000000;
  --surface: #0b0b0a;
  --surface-raised: #121210;
  --line: rgba(242, 238, 230, 0.1);
  --line-strong: rgba(242, 238, 230, 0.18);
  --text: #f2eee6;
  --muted: #a7a196;
  --gold: #ba9646;
  --gold-bright: #d2b26a;
  --gold-faint: rgba(186, 150, 70, 0.14);

  --font-sans: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --radius: 2px;
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 0.25em; }
a:hover { color: var(--gold-bright); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: var(--radius); }

h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--gold); color: var(--black); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type */

.eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 20px;
  max-width: 20ch;
  text-wrap: balance;
}

.section-intro {
  color: var(--muted);
  font-size: 1.125rem;
  margin-top: 24px;
  max-width: 58ch;
}

/* Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  background: var(--gold); color: var(--black);
  border: 1px solid var(--gold); border-radius: var(--radius);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.button:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--black); }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.button-ghost:hover { background: transparent; color: var(--gold-bright); border-color: var(--gold); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 0.75rem; }
.button-large { min-height: 56px; padding: 0 40px; }

/* Header */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: block; width: 112px; flex: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a, .lang {
  font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav ul a:hover, .lang:hover { color: var(--text); }
.lang { padding: 8px 0; border-bottom: 1px solid var(--line-strong); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 1px; margin: 0 auto; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(72px, 14vw, 180px)) 0 clamp(72px, 10vw, 120px);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  /* The gold "O" of the logo, as a quiet light source. */
  content: ""; position: absolute; z-index: -1;
  right: -12vw; top: 8vh; width: 62vw; height: 62vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, rgba(186, 150, 70, 0.16), rgba(186, 150, 70, 0.04) 55%, transparent 72%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.375rem, 6.4vw, 5.25rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 28px;
  max-width: 17ch;
  text-wrap: balance;
}

.hero-lead { color: var(--muted); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); margin-top: 32px; max-width: 60ch; }

.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 200; line-height: 1; color: var(--gold); }
.stat-label { color: var(--muted); font-size: 0.875rem; line-height: 1.5; max-width: 22ch; }

/* Sections */

.section { padding: var(--section) 0; border-top: 1px solid var(--line); }
.section-band { background: var(--surface); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }

/* Offers */

.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.offer {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(32px, 4vw, 52px);
  background: var(--black);
  transition: background 0.5s var(--ease);
}
.offer::after {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0;
  background: var(--gold); transition: width 0.6s var(--ease);
}
.offer:hover { background: var(--surface-raised); }
.offer:hover::after { width: 100%; }

.offer-head { display: grid; gap: 10px; }
.offer-index { color: var(--gold); font-size: 0.8125rem; letter-spacing: 0.2em; }
.offer-audience { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.offer-title { font-family: var(--font-display); font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 400; line-height: 1.15; }
.offer-pitch { font-size: 1.0625rem; }
.offer-label { display: block; color: var(--gold); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.offer-list { display: grid; gap: 10px; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.offer-list li { position: relative; padding-left: 22px; }
.offer-list li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 1px; background: var(--gold); }
.offer-proof {
  display: grid; gap: 8px; margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; line-height: 1.55;
}

/* Method */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { display: grid; gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--gold); }
.step-index { color: var(--gold); font-size: 0.8125rem; letter-spacing: 0.2em; }
.step-title { font-size: 1.25rem; font-weight: 500; }
.step p { color: var(--muted); font-size: 0.9375rem; }

.quote {
  margin-top: clamp(64px, 9vw, 112px);
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--gold);
}
.quote p { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.3; max-width: 26ch; text-wrap: balance; }

/* Career */

.timeline { border-top: 1px solid var(--line); }
.role {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.role-years { color: var(--gold); font-size: 0.875rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; padding-top: 3px; }
.role-body { display: grid; gap: 4px; max-width: 70ch; }
.role-org { font-size: 1.1875rem; font-weight: 500; }
.role-title { color: var(--text); font-size: 0.9375rem; }
.role-text { color: var(--muted); font-size: 0.9375rem; }

/* Credentials */

.creds { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); }
.cred-group { display: grid; gap: 16px; align-content: start; }
.cred-title {
  color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
.cred-title:not(:first-child) { margin-top: 24px; }
.cred-list { border-top: 1px solid var(--line); }
.cred-list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cred-name { font-size: 1rem; }
.cred-meta, .cred-text { color: var(--muted); font-size: 0.875rem; }
.cred-text { font-size: 1rem; }

/* Booking */

.booking { text-align: center; background: radial-gradient(60% 80% at 50% 100%, var(--gold-faint), transparent 70%); }
.booking-inner { display: flex; flex-direction: column; align-items: center; }
.booking .section-title, .booking .section-intro { margin-left: auto; margin-right: auto; }
.booking-steps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  margin: 44px 0 48px; counter-reset: booking; color: var(--muted); font-size: 0.9375rem;
}
.booking-steps li { counter-increment: booking; }
.booking-steps li::before { content: counter(booking, decimal-leading-zero) "  "; color: var(--gold); letter-spacing: 0.12em; white-space: pre; }
.booking-alt { margin-top: 28px; color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }

/* Footer */

.site-footer { padding: 64px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.footer-inner { display: grid; gap: 10px; justify-items: start; }
.footer-logo { width: 96px; margin-bottom: 14px; }
.footer-small { font-size: 0.8125rem; }

/* Reveal on scroll (only when JS confirms motion is welcome) */

.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.motion .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Responsive */

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 28px; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-height) 0 auto; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--black); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a, .nav .lang { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
  .nav .button { margin-top: 24px; }
  .offers { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat + .stat { padding-left: 0; padding-right: 12px; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .actions .button { flex: 1 1 100%; }
  .booking-steps { flex-direction: column; align-items: center; }
}

/* 404 */

.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; border-top: 0; }
.notfound img { width: 140px; margin: 0 auto 48px; }
.notfound .section-title, .notfound .section-intro { margin-left: auto; margin-right: auto; }
.notfound .actions { justify-content: center; }

.cred-lead { font-size: 1.0625rem; }

