/* tryorbs.com — Renvel's approved onyx editorial style (BRANDING.md):
   white and pale onyx, near-black ink, regular-weight Helvetica at large
   sizes with tight tracking, flat cropped interface, quiet borders. The only
   colour on the page is the orbs. */

:root {
  --ink: #111111;
  --ink-2: #171717;
  --black: #050505;
  --muted: #5c5a58;
  --faint: #8d8a87;
  --stone: #e5e3e2;
  --paper: #ffffff;
  --line: #e7e5e3;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--sans); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-weight: 400; margin: 0; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(48px, 8vw, 116px); }
h2 { font-size: clamp(38px, 5.4vw, 76px); }
p { margin: 0; }

/* ---- nav ---- */
.nav {
  position: absolute; z-index: 5; inset: 0 0 auto 0; height: 76px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
}
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup img { width: 92px; height: auto; }
.product { font-size: 15px; color: var(--muted); padding-left: 12px; border-left: 1px solid #c9c6c3; line-height: 18px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px;
  border-radius: 6px; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms var(--ease), border-color 160ms ease;
}
.btn:active { transform: scale(0.98); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; }
.btn.pale { background: #eeecea; color: var(--ink); }
.btn.pale:hover { background: var(--stone); }
.btn.light { background: #fff; color: var(--black); }
.btn.light:hover { background: var(--stone); }
.btn.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.is-windows .actions { flex-direction: row-reverse; justify-content: flex-end; }
.fine { font-size: 13px; color: var(--faint); margin-top: 18px; }
.fine a { color: inherit; text-underline-offset: 3px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 30em; margin-top: 30px; }
kbd {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; margin-right: 6px;
  font: 400 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 1px 0 var(--line);
}

/* ---- hero ---- */
.hero { position: relative; }
.hero-stone {
  height: min(58vh, 600px); min-height: 420px;
  background: #f1efed url("/img/onyx.jpg") center 40% / cover no-repeat;
}
.hero-orb {
  position: absolute; left: 50%; top: calc(min(58vh, 600px) / 2 + 20px); transform: translate(-50%, -50%);
  width: clamp(220px, 30vw, 360px); aspect-ratio: 1;
  background: url("/img/orb.png") center / contain no-repeat;
}
.has-orbs .hero-orb { background: none; }
.hero-orb::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -9%; height: 10%; border-radius: 50%;
  background: rgba(40, 30, 25, 0.16); filter: blur(14px); z-index: -1;
}
.hero-copy { padding: clamp(56px, 8vw, 104px) var(--gutter) clamp(72px, 10vw, 140px); }

/* ---- the orbs ---- */
.orb-frame { position: relative; }
.orb-swap { width: 100%; height: 100%; animation: orb-in 900ms var(--ease) both; }
@keyframes orb-in { from { opacity: 0; transform: scale(0.94); filter: blur(8px); } }
.block { display: block; } .size-full { width: 100%; height: 100%; }
.relative { position: relative; } .overflow-hidden { overflow: hidden; } .rounded-full { border-radius: 9999px; }
.pointer-events-none { pointer-events: none; } .fixed { position: fixed; }
.-top-\[999px\] { top: -999px; } .-left-\[999px\] { left: -999px; } .opacity-0 { opacity: 0; }

/* ---- product ---- */
.shot { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.band { padding: clamp(72px, 10vw, 140px) var(--gutter); }
.band.stone { background: #f6f5f4; }
.band-text { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.band-text p { color: var(--muted); max-width: 28em; }
.shot.wide { max-width: 1240px; margin: 0 auto; }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center;
  padding: clamp(80px, 11vw, 160px) var(--gutter); max-width: 1440px; margin: 0 auto;
}
.split-text p { color: var(--muted); max-width: 26em; margin-top: 22px; }
.split-text p.kicker { margin: 0 0 26px; }
.shot.panel { max-width: 420px; justify-self: center; width: 100%; }
.split.reverse .shot { order: 2; }

/* ---- the call ---- */
.call {
  background: var(--black); color: #fff; text-align: center;
  padding: clamp(88px, 12vw, 170px) var(--gutter); display: flex; flex-direction: column; align-items: center;
}
.call-orb { width: clamp(200px, 26vw, 300px); aspect-ratio: 1; margin-bottom: clamp(44px, 6vw, 72px); background: url("/img/orb.png") center / contain no-repeat; }
.has-orbs .call-orb { background: none; }
.call-caption {
  min-height: 3em; max-width: 30em; margin-top: 34px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: #fff;
  transition: color 300ms ease;
}
.call-caption[data-who="you"] { color: #9b9895; }
.call-note { margin-top: 26px; color: #8d8a87; font-size: 15px; max-width: 30em; }

/* ---- close ---- */
.close { position: relative; background: #000; color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 640px; }
.cube { width: 100%; max-width: 720px; justify-self: center; }
.close-copy { padding: 80px var(--gutter); }
.close .fine { color: #8d8a87; }

/* ---- footer ---- */
.foot {
  display: flex; align-items: center; gap: 28px; padding: 32px var(--gutter); font-size: 13px; color: var(--faint);
  border-top: 1px solid var(--line);
}
.foot img { width: 74px; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .band-text, .split, .close { grid-template-columns: 1fr; }
  .split.reverse .shot { order: 0; }
  .close { min-height: 0; }
  .cube { max-width: 420px; margin-top: 40px; }
  .close-copy { padding-top: 20px; padding-bottom: 80px; }
  .foot { flex-wrap: wrap; gap: 16px; }
  .foot nav { margin-left: 0; order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
