/* oionx.com — House of Oionx brand (v1.0, 2026).
   Three colours. One family, light weights. No bold. Orange once per surface. */
@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;
  --font: 'Eloquia Display', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --gutter: clamp(16px, 5vw, 96px);
  --pad: clamp(88px, 12vw, 184px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--black); font-family: var(--font); font-weight: 200; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ol { margin: 0; font-weight: inherit; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }

.label { font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; }
.eyebrow { margin-bottom: clamp(32px, 5vw, 72px); }
.mark { fill: currentColor; }
.mark--orange { fill: var(--orange); }
.orange { color: var(--orange); }

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

.u-line { position: relative; display: inline-block; padding-bottom: 6px; }
.u-line::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.u-line:hover::after, .u-line:focus-visible::after, .card:hover .u-line::after { transform: scaleX(1); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup .mark { width: 28px; height: 28px; }
.lockup__text { display: flex; flex-direction: column; line-height: 1; }
.lockup__house { font-size: 10px; font-weight: 300; letter-spacing: .34em; text-transform: uppercase; }
.lockup__name { font-size: 20px; font-weight: 200; letter-spacing: .04em; margin-top: 4px; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 40px); }

/* surfaces */
.surface { padding: var(--pad) 0; }
.paper { background: var(--paper); color: var(--black); }
.black { background: var(--black); color: var(--paper); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(76px + 48px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
.display { font-size: clamp(48px, 8.4vw, 128px); line-height: .98; font-weight: 100; letter-spacing: -.02em; }
.lede { margin-top: clamp(28px, 4vw, 48px); max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); }
.hero__mark { width: 100%; max-width: 420px; justify-self: end; animation: assemble 1.2s var(--ease) both; }
@keyframes assemble { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 1px solid currentColor; font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease); }
.btn:hover { background: var(--black); color: var(--paper); }
.black .btn:hover { background: var(--paper); color: var(--black); }
.btn--solid { background: var(--black); color: var(--paper); border-color: var(--black); }
.btn--solid:hover { background: transparent; color: var(--black); }

.title { font-size: clamp(36px, 5.2vw, 76px); line-height: 1.05; font-weight: 100; letter-spacing: -.015em; max-width: 16em; margin-bottom: clamp(48px, 7vw, 104px); }
h3 { font-size: 22px; line-height: 1.25; font-weight: 200; margin: 14px 0 10px; }
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.cols p:not(.label) { opacity: .78; }
.n { opacity: .6; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.body { max-width: 32em; margin-bottom: 20px; }
.split .btn { margin-top: 16px; }
.flow { border-top: 1px solid currentColor; }
.flow li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.score { font-size: clamp(56px, 9vw, 140px); font-weight: 100; line-height: 1; letter-spacing: -.02em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--black); min-height: 280px; transition: background .3s var(--ease), color .3s var(--ease); }
.card p { flex: 1; opacity: .8; }
a.card:hover { background: var(--black); color: var(--paper); }
.card--quiet { border-style: dashed; }
.note { margin-top: 40px; max-width: 46em; font-size: 14px; opacity: .7; }

.footer { padding: 72px 0; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer__mark { width: 44px; height: 44px; }
.small { font-size: 14px; opacity: .7; margin-top: 6px; }

@media (max-width: 960px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero__mark { max-width: 220px; justify-self: start; order: -1; }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-nav { display: none; }
  .cols { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
