/* Orkiestrator AI — "Conductor's Podium"
   Charcoal stage, warm gold accent, a single baton line. No card grids. */

@import url('https://fonts.googleapis.com/css2?family=Prata&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #15161c;
  --bg-alt: #1b1c24;
  --ink: #f2ede0;
  --ink-soft: #b9b3a4;
  --ink-faint: rgba(242, 237, 224, 0.52);
  --gold: #c9a227;
  --gold-deep: #a5811a;
  --gold-soft: #e0c060;
  --line: rgba(242, 237, 224, 0.14);
  --rail: rgba(201, 162, 39, 0.55);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* staff-line texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 63px,
    rgba(201,162,39,0.05) 64px,
    rgba(201,162,39,0.05) 65px
  );
}

h1, h2, h3 {
  font-family: 'Prata', serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

a { color: var(--gold); }
a:hover { color: var(--gold-soft); }

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.mark {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
}
.lang-switch {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  touch-action: manipulation;
  transition: border-color .15s, color .15s;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 60px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); max-width: 13.5ch; }
.hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 26px 0 34px;
}
.hero-art { position: relative; height: 380px; }
.hero-art svg { width: 100%; height: 100%; }
.hub-box { fill: var(--bg-alt); stroke: var(--ink-soft); stroke-width: 1.4; opacity: 0.85; }
.hub-box.center { fill: var(--gold); stroke: var(--gold-deep); stroke-width: 2; }
.hub-label { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 500; fill: var(--ink); }
.hub-label.on-gold { fill: var(--bg); font-weight: 600; }
.hub-conn { stroke: var(--gold); stroke-width: 1.8; }

@media (prefers-reduced-motion: no-preference) {
  .hub-box, .hub-conn { opacity: 0; animation: rise .5s ease-out forwards; transform-box: fill-box; transform-origin: center; }
  .hub-box { transform: scale(0.92); }
  .hub-box.center { animation-delay: .1s; }
  .hub-conn:nth-of-type(1) { animation-delay: .5s; }
  .hub-conn:nth-of-type(2) { animation-delay: .7s; }
  .hub-conn:nth-of-type(3) { animation-delay: .9s; }
  .hub-box:nth-of-type(2) { animation-delay: .9s; }
  .hub-box:nth-of-type(3) { animation-delay: 1.1s; }
  .hub-box:nth-of-type(4) { animation-delay: 1.3s; }
  @keyframes rise { to { opacity: 1; transform: scale(1); } }
}

/* ---------- CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--gold);
  border: none;
  border-radius: 2px;
  padding: 16px 26px;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--gold-soft); }
.btn:active { transform: translateY(1px); }
.btn-arrow { transition: transform .15s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.hero-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 16px;
}

/* ---------- baton rail (connects sections) ---------- */
.rail { position: relative; padding-left: 46px; border-left: 2px solid var(--rail); margin-left: 40px; }
@media (max-width: 720px) { .rail { padding-left: 26px; margin-left: 14px; } }

.section { position: relative; padding: 66px 0 66px 40px; }
.section .kicker { position: relative; }
.section .kicker::before {
  content: '';
  position: absolute;
  left: -55px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold-deep);
}
@media (max-width: 720px) {
  .section { padding-left: 24px; }
  .section .kicker::before { left: -33px; width: 10px; height: 10px; }
}

.section.alt::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--bg-alt);
  z-index: -1;
}

.section h2 { font-size: clamp(1.65rem, 2.6vw, 2.2rem); max-width: 22ch; margin-bottom: 26px; }
.section .body p { max-width: 62ch; margin: 0 0 16px; color: var(--ink-soft); }
.section .body p:last-child { margin-bottom: 0; }

.pull {
  font-family: 'Prata', serif;
  font-style: normal;
  font-size: 24px;
  color: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 30px 0;
  max-width: 44ch;
  line-height: 1.35;
}

/* ---------- process steps ---------- */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease;
  border-radius: 4px;
}
.step:first-child { border-top: none; padding-top: 4px; }
.step:hover { transform: translateX(6px); background: rgba(201,162,39,0.05); }
.step-n {
  font-family: 'Prata', serif;
  font-size: 34px;
  color: var(--gold);
  padding-top: 2px;
}
.step h3 { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 19px; margin-bottom: 8px; color: var(--ink); }
.step p { max-width: 58ch; margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; max-width: 68ch; margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--gold);
  flex: 0 0 auto;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { margin: 14px 0 0; color: var(--ink-soft); max-width: 60ch; }

/* ---------- contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; max-width: 460px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input, .field textarea {
  width: 100%;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  background: var(--bg-alt);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.contact-form .btn { align-self: flex-start; }
.form-fine { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease-out, transform .7s ease-out; }
  html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; margin-top: 40px; }
.footer-row {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--ink-faint);
}
.footer-row a { color: var(--ink-faint); }
.footer-row a:hover { color: var(--gold-soft); }
.legal-note {
  max-width: 60ch; font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: var(--ink-faint); line-height: 1.6; margin-top: 18px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 220px; order: -1; }
}

/* ---------- cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: -260px; z-index: 50;
  max-width: 520px; margin: 0 auto;
  background: var(--bg-alt); color: var(--ink);
  border: 1px solid var(--gold); border-radius: 4px; padding: 20px 22px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.4);
  font-family: 'Manrope', sans-serif; font-size: 15px; line-height: 1.55;
  transition: bottom .4s ease-out;
}
.cookie-banner.is-visible { bottom: 20px; }
.cookie-banner p { margin: 0 0 14px; color: var(--ink-soft); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
  font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; padding: 10px 18px;
  border-radius: 2px; cursor: pointer; min-height: 40px;
}
#cookie-accept { background: var(--gold); color: var(--bg); border: none; }
#cookie-accept:hover { background: var(--gold-soft); }
#cookie-decline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
#cookie-decline:hover { border-color: var(--ink-soft); }
@media (max-width: 640px) { .cookie-banner { left: 12px; right: 12px; padding: 16px 18px; bottom: -300px; } .cookie-banner.is-visible { bottom: 12px; } }

/* --- Accessibility: visible keyboard focus --- */
a:focus-visible, button:focus-visible, .lang-switch:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --- Legal page (privacy policy) --- */
.legal-page { min-height: 100vh; }
.legal-wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-back { display: inline-block; margin-bottom: 32px; font-size: 14px; text-decoration: none; }
.legal-content h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.legal-content .legal-updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 40px; }
.legal-content h2 { font-size: 19px; margin: 36px 0 12px; }
.legal-content p { line-height: 1.65; margin: 0 0 14px; max-width: 68ch; }
.legal-content code { font-size: 0.9em; padding: 1px 5px; border-radius: 3px; background: rgba(128,128,128,0.15); }
