/* oionx.com — House of Oionx brand, all black (Master Waleed, 28 Nov 2026: "All black please - no white on website").
   A hero, then three panels on a horizontal scroll. Paper text, orange once per surface, Eloquia Display, no bold. */
@font-face { font-family: 'Eloquia Display'; font-weight: 100; font-display: swap; src: url('/fonts/EloquiaDisplay-Hairline.otf') format('opentype'); }
@font-face { font-family: 'Eloquia Display'; font-weight: 200; font-display: swap; src: url('/fonts/EloquiaDisplay-Thin.otf') format('opentype'); }
@font-face { font-family: 'Eloquia Display'; font-weight: 300; font-display: swap; src: url('/fonts/EloquiaDisplay-Light.otf') format('opentype'); }

:root { --black: #0E0E0E; --paper: #F2EFE9; --orange: #F44E1C; --line: color-mix(in srgb, #F2EFE9 14%, transparent);
  --font: 'Eloquia Display', system-ui, -apple-system, 'Helvetica Neue', sans-serif; --g: clamp(16px, 5vw, 96px); --ease: cubic-bezier(.2,.7,.2,1); --hdr: 72px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--paper); font-family: var(--font); font-weight: 200; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, p { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
b { font-weight: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.label { font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; }

/* header */
.hdr { position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--g); background: color-mix(in srgb, var(--black) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lockup { display: flex; align-items: center; gap: 12px; }
.lockup .mark { width: 26px; height: 26px; fill: var(--paper); }
.lockup__name { font-size: 21px; letter-spacing: .04em; }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.tab { font-size: 12px; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; transition: background .3s var(--ease); }
.tab:hover { background: color-mix(in srgb, var(--paper) 12%, transparent); }

/* type */
.display { font-size: clamp(52px, 9.5vw, 156px); line-height: .95; font-weight: 100; letter-spacing: -.025em; max-width: 7.4em; }
.title { font-size: clamp(40px, 5.8vw, 92px); line-height: 1.02; font-weight: 100; letter-spacing: -.02em; max-width: 9em; margin-top: 28px; }
.lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 22px); opacity: .8; }
.note { margin-top: 18px; font-size: 13px; opacity: .55; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 80ms + 150ms); }
.ready [data-split] .w > span { transform: none; }
.rise { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
.ready .rise { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; height: 50px; margin-top: 40px; padding: 0 26px; border: 1px solid color-mix(in srgb, var(--paper) 55%, transparent); font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; align-self: flex-start; transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); border-color: var(--paper); transform: translateY(-2px); }

/* hero. Orange: the mark. */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: var(--hdr) var(--g) 0; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; }
.hero__x { position: absolute; right: var(--g); top: 50%; width: min(28vw, 420px); fill: var(--orange); transform: translateY(calc(-50% + var(--hy, 0px))); }
.hero__x path { transition: transform 1.5s var(--ease), opacity 1.3s var(--ease); transform-box: fill-box; transform-origin: center; }
.js .hero__x .x-tl { transform: translate(-70%, -70%); opacity: 0; }
.js .hero__x .x-br { transform: translate(70%, 70%); opacity: 0; }
.js .hero__x .x-core { transform: scale(.6) rotate(-8deg); opacity: 0; }
.js.ready .hero__x path { transform: none; opacity: 1; }
.cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); opacity: .5; }
.cue::after { content: ''; display: block; width: 1px; height: 36px; margin: 10px auto 0; background: currentColor; animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* horizontal scroll: tall section, sticky viewport, track moves sideways */
.h { position: relative; height: 300svh; border-top: 1px solid var(--line); }
.h__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.h__track { display: flex; height: 100%; width: 300vw; transform: translateX(calc(var(--x, 0) * -200vw)); will-change: transform; }
.panel { position: relative; width: 100vw; height: 100%; flex: none; padding: calc(var(--hdr) + 8vh) var(--g) 10vh; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.panel > :not(.art) { position: relative; z-index: 2; max-width: 46vw; }
.dots { position: absolute; left: var(--g); bottom: 32px; display: flex; gap: 8px; }
.dots i { width: 28px; height: 2px; background: var(--line); transition: background .4s var(--ease); }
.dots i.on { background: var(--paper); }

/* panel art */
.art { position: absolute; right: var(--g); top: 50%; transform: translateY(-50%) translateX(calc(var(--px, 0) * 1px)); }
.art--phone { width: min(26vw, 320px); aspect-ratio: 9 / 19; border: 1px solid var(--line); border-radius: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.art--phone b { font-size: clamp(56px, 6vw, 96px); font-weight: 100; font-variant-numeric: tabular-nums; }
.art--phone span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.art--agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.art--agents i { width: clamp(64px, 7vw, 112px); aspect-ratio: 1; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, var(--c), color-mix(in srgb, var(--c) 70%, #000)); box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 35%, transparent); transform: scale(.4); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.art--agents i::after { content: ''; position: absolute; inset: 32%; border-radius: 50%; border: 2px solid rgba(0,0,0,.55); }
.art--agents.in i { transform: none; opacity: 1; }
.a1 { --c: #5ED6A0; } .a2 { --c: #E5534B; transition-delay: .08s !important; } .a3 { --c: #F2A541; transition-delay: .16s !important; } .a4 { --c: #D94FB0; transition-delay: .24s !important; } .a5 { --c: #7B5CF0; transition-delay: .32s !important; }
.art--x { width: min(28vw, 380px); fill: var(--orange); }

.ftr { padding: 40px var(--g); border-top: 1px solid var(--line); opacity: .6; }

/* phones: swipe the panels instead */
@media (max-width: 800px) {
  .lockup__name { display: none; }
  .tab { padding: 9px 12px; letter-spacing: .1em; }
  .hero { flex-direction: column; justify-content: center; align-items: flex-start; }
  .hero__x { position: relative; right: auto; top: auto; transform: none !important; width: min(40vw, 200px); margin-bottom: 36px; order: -1; }
  .h { height: auto; }
  .h__pin { position: relative; height: auto; overflow: visible; }
  .h__track { width: auto; transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .h__track::-webkit-scrollbar { display: none; }
  .panel { scroll-snap-align: start; min-height: 88svh; padding: 64px var(--g) 96px; justify-content: flex-start; }
  .panel > :not(.art) { max-width: none; }
  .art { position: relative; right: auto; top: auto; transform: none !important; margin-top: 48px; align-self: flex-start; }
  .art--phone { width: 150px; }
  .art--x { width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-split] .w > span, .rise, .js .hero__x path, .art--agents i { transform: none !important; opacity: 1 !important; }
}
