/* ===== Riy — shared styles ===== */
:root {
  --charcoal: #1A1A1A;
  --charcoal-2: #111111;
  --panel: #1F1F1E;
  --panel-2: #242422;
  --line: rgba(242, 239, 233, 0.10);
  --line-strong: rgba(242, 239, 233, 0.18);
  --honey: #F5A623;
  --honey-soft: rgba(245, 166, 35, 0.14);
  --mint: #3DDC97;
  --mint-soft: rgba(61, 220, 151, 0.14);
  --ink: #F2EFE9;
  --ink-dim: rgba(242, 239, 233, 0.62);
  --ink-faint: rgba(242, 239, 233, 0.40);
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--charcoal); color-scheme: dark; overscroll-behavior: none; }

body {
  background: var(--charcoal);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--honey); color: #1A1A1A; }

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

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.03; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--honey);
  opacity: 0.7;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display);
  font-size: 15px; font-weight: 500;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  letter-spacing: -0.01em;
}
.btn-primary { background: var(--honey); color: #1A1A1A; font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); background: #ffb53d; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-dim); background: rgba(242,239,233,0.04); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20,20,20,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark { width: 26px; height: 26px; }
.brand .cy { color: var(--ink-faint); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--ink-dim); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- section frame ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 18px 0 0; }
.section-head p { color: var(--ink-dim); font-size: 18px; margin-top: 18px; max-width: 560px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--charcoal-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--ink-dim); font-size: 14.5px; transition: color .2s; }
.foot-grid a:hover { color: var(--honey); }
.foot-legal { color: var(--ink-faint); font-size: 13px; line-height: 1.7; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bottom .mono { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .foot-about { grid-column: 1 / -1; } }
