/* aeuix.com — dark, loud, fast. No framework: one stylesheet, one small script. */
:root { --bg: #0c0d0e; --bg2: #141516; --fg: #fbfbfb; --muted: #9b9ca0; --line: #232426; --accent: #fa4213; --ease: cubic-bezier(.2, .8, .2, 1); --wrap: min(1320px, 100% - 48px); color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font: 400 17px/1.55 Satoshi, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
.wrap { width: var(--wrap); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
.eyebrow { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow a:hover { color: var(--fg); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3dff7a; margin-right: 8px; box-shadow: 0 0 0 0 rgba(61,255,122,.6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(61,255,122,0); } }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(32px, 4.6vw, 64px); max-width: 18ch; }
h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.display { font-size: clamp(44px, 9.2vw, 148px); font-weight: 700; letter-spacing: -.055em; line-height: .92; max-width: 13ch; }
.display--md { font-size: clamp(38px, 6.4vw, 96px); max-width: 18ch; }
.lede { font-size: clamp(18px, 1.6vw, 23px); color: #d5d6d8; max-width: 52ch; margin: 0; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; background: none; border-top: 0; border-inline: 0; color: inherit; font: inherit; cursor: pointer; transition: color .2s, gap .3s var(--ease); }
.link:hover { color: var(--accent); gap: 14px; }
.chip { display: inline-block; font: 500 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 99px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 16px; border: 0; cursor: pointer; transition: background .25s, color .25s, transform .4s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.pill { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); font-size: 13px; font-weight: 500; backdrop-filter: blur(12px); background: rgba(12,13,14,.35); transition: background .2s, border-color .2s; }
.pill:hover, .pill.is-in { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 90; opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s; }
.cursor.on { opacity: 1; } .cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@media (hover: none), (max-width: 800px) { .cursor { display: none; } }

/* header + menu */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; mix-blend-mode: normal; transition: transform .45s var(--ease); }
.top.hide { transform: translateY(-110%); }
.top__logo img { height: 19px; width: auto; }
.top__right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--fg); font: 500 13px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 10px 4px 10px 10px; }
.menu-btn i { width: 22px; height: 10px; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 8px; }
.menu-open .menu-btn i::before { top: 4px; transform: rotate(45deg); } .menu-open .menu-btn i::after { top: 4px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 50; background: var(--accent); color: #0c0d0e; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu-open .top { color: #0c0d0e; } .menu-open .top img { filter: invert(1); } .menu-open .menu-btn { color: #0c0d0e; } .menu-open .pill { border-color: rgba(0,0,0,.3); background: transparent; color: #0c0d0e; }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px 24px 28px; max-width: 1320px; margin: 0 auto; }
.menu .eyebrow { color: rgba(12,13,14,.6); }
.menu ul { list-style: none; margin: 0 0 auto; padding: 0; }
.menu li { overflow: hidden; }
.menu li a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(44px, 9vw, 120px); font-weight: 700; letter-spacing: -.05em; line-height: 1; padding: 4px 0; transform: translateY(110%); transition: transform .8s var(--ease) calc(var(--i) * 60ms + 120ms), opacity .2s; }
.menu li a small { font: 500 13px ui-monospace, Menlo, monospace; letter-spacing: .1em; opacity: .55; }
.menu-open .menu li a { transform: none; }
.menu ul:hover a { opacity: .35; } .menu ul a:hover { opacity: 1; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 500; padding-top: 24px; border-top: 1px solid rgba(12,13,14,.25); }
.menu__foot a { display: inline-flex; gap: 8px; align-items: center; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 0; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: saturate(.85) contrast(1.05); }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(120% 80% at 20% 10%, transparent 0, rgba(12,13,14,.55) 55%, var(--bg) 100%), linear-gradient(180deg, rgba(12,13,14,.2), var(--bg) 96%); }
.hero__inner { position: relative; z-index: 2; padding-bottom: 28px; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.fan { position: relative; z-index: 2; display: flex; justify-content: center; gap: 0; padding: 24px 0 0; height: clamp(190px, 30vw, 420px); margin-bottom: -6%; }
.fan img { width: clamp(120px, 17vw, 250px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin: 0 -2.4%; box-shadow: 0 30px 60px rgba(0,0,0,.55); transform: translateY(calc(var(--lift, 0) * 1px)) rotate(calc((var(--i) - 2) * 7deg)) translateY(calc((var(--i) - 2) * (var(--i) - 2) * 9px)); transform-origin: 50% 120%; transition: transform .7s var(--ease), margin .7s var(--ease); will-change: transform; }
.fan:hover img { margin: 0 .6%; transform: rotate(0) translateY(0); }
.fan img:hover { transform: translateY(-18px) scale(1.04); z-index: 2; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: var(--bg); position: relative; z-index: 3; }
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-size: clamp(20px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; padding-right: 28px; white-space: nowrap; }
.marquee em { font-style: normal; color: var(--accent); padding: 0 8px; }
.marquee--xl { border: 0; padding: 0; background: transparent; }
.marquee--xl span { font-size: clamp(64px, 14vw, 220px); letter-spacing: -.06em; line-height: 1; padding-right: .3em; }
.marquee--xl .marquee__track { animation-duration: 30s; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { position: relative; }
.sec-head { display: grid; gap: 0; margin: 0 0 56px; }
.sec-head .link { justify-self: start; margin-top: 28px; }
.services, .works, .journal, .principles, .about-grid, .contact-grid { padding-block: clamp(72px, 10vw, 150px); }
.quotes { padding-block: clamp(72px, 10vw, 150px); background: var(--bg2); border-block: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; cursor: default; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc > div { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.4fr) auto; gap: 32px; align-items: start; }
.svc h3 { font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -.045em; line-height: .98; }
.svc p { margin: 0; max-width: 54ch; }
.svc ul { list-style: none; margin: 0; padding: 0; font: 500 12px/2 ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.svc__key { font: 500 13px ui-monospace, Menlo, monospace; color: var(--accent); letter-spacing: .1em; padding-top: 10px; }
.svc:hover { padding-left: 18px; } .svc:hover h3 { color: var(--accent); }
.svc-float { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .3s, transform .5s var(--ease); }
.svc-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(3deg); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .svc-float { display: none; } }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 44px); }
.work-card { display: block; }
.work-card:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.work-grid--index .work-card:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.work-card__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--bg2); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.work-card:hover img { transform: scale(1.06); }
.work-card__meta { padding: 22px 4px 0; display: grid; gap: 12px; justify-items: start; }
.work-card__meta p { margin: 0; max-width: 46ch; }

.quote-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(24px, calc((100vw - 1320px) / 2)) 12px; scrollbar-width: none; cursor: grab; }
.quote-rail::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(560px, 84vw); scroll-snap-align: start; margin: 0; padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 320px; }
.quote blockquote { margin: 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.3; letter-spacing: -.02em; }
.quote figcaption { display: grid; gap: 2px; } .quote figcaption span { color: var(--muted); font-size: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card__img { aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: var(--bg2); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover img { transform: scale(1.05); } .post-card:hover h3 { color: var(--accent); }
.post-card__body { display: grid; gap: 10px; justify-items: start; } .post-card__body .eyebrow { margin: 0; } .post-card__body p { margin: 0; }
.post-card h3 { transition: color .25s; }
.post-card--big { grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); margin-bottom: clamp(48px, 6vw, 90px); }
.post-card--big h3 { font-size: clamp(30px, 3.8vw, 56px); letter-spacing: -.04em; line-height: 1; }

.cta { padding-block: clamp(90px, 12vw, 190px); display: grid; gap: 28px; justify-items: start; }
.cta h2 { font-size: clamp(36px, 6vw, 92px); letter-spacing: -.05em; max-width: 16ch; }
.page-head { padding: clamp(150px, 20vw, 260px) 0 clamp(40px, 6vw, 80px); display: grid; gap: 28px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-top: 0; }
.about-grid figure { margin: 0; border-radius: 22px; overflow: hidden; } .about-grid h2 { margin-bottom: 20px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 56px; }
.principles h3 { margin: 14px 0 10px; } .principles p { margin: 0; }

/* article */
.article__head { padding: clamp(150px, 18vw, 230px) 0 40px; display: grid; gap: 22px; }
.article__cover { margin-block: 0 clamp(40px, 6vw, 80px); } .article__cover img { width: 100%; border-radius: 22px; max-height: 80vh; object-fit: cover; }
.prose { width: min(760px, 100% - 48px); margin-inline: auto; font-size: 19px; line-height: 1.7; color: #e4e5e7; }
.prose h1, .prose h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.03em; margin: 2.2em 0 .6em; max-width: none; line-height: 1.1; color: var(--fg); }
.prose h3, .prose h4 { font-size: clamp(22px, 2.2vw, 28px); margin: 2em 0 .5em; color: var(--fg); }
.prose p { margin: 0 0 1.25em; } .prose a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.4em; } .prose li { margin-bottom: .5em; } .prose li::marker { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding-left: 24px; border-left: 3px solid var(--accent); font-size: 1.25em; line-height: 1.4; color: var(--fg); }
.prose figure, .prose .embed { margin: 2.4em calc(50% - min(50vw - 24px, 520px)); }
.prose img { width: 100%; height: auto !important; border-radius: 16px; } .prose figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }
.prose--work figure { margin-block: 1.2em; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; } .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose input[type=checkbox] { accent-color: var(--accent); margin-right: 8px; }
.article__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 90px); padding: 24px 0 clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 110px); padding-top: 0; }
.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lead label { display: grid; gap: 8px; font: 500 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead__wide, .lead button, .lead__note, .lead__legal { grid-column: 1 / -1; } .lead button { justify-self: start; }
.lead input, .lead select, .lead textarea { font: 400 18px/1.4 Satoshi, sans-serif; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid #3a3b3e; padding: 12px 0; border-radius: 0; outline: none; text-transform: none; letter-spacing: 0; transition: border-color .2s; }
.lead select option { color: #000; }
.lead input:focus, .lead select:focus, .lead textarea:focus { border-color: var(--accent); }
.lead__hp { position: absolute; left: -9999px; } .lead__note { margin: 0; min-height: 1.5em; } .lead__legal { font-size: 13px; margin: 0; } .lead__legal a { text-decoration: underline; }
.big-link { font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.03em; } .big-link:hover { color: var(--accent); }
.contact-grid aside .eyebrow { margin: 28px 0 8px; } .contact-grid aside .eyebrow:first-child { margin-top: 0; } .contact-grid aside p { margin: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 0; }
.foot__cta { display: block; padding: clamp(28px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); transition: color .3s; } .foot__cta:hover { color: var(--accent); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px; }
.foot__grid a { display: block; padding: 3px 0; color: #d5d6d8; } .foot__grid a:hover { color: var(--accent); } .foot__grid p { margin: 0 0 12px; } .foot__grid img { margin-bottom: 18px; }
.foot__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; } .foot__legal a { margin-left: 18px; } .foot__legal a:hover { color: var(--fg); }

/* motion */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease) calc(var(--i, 0) * 80ms), transform 1.1s var(--ease) calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease) calc(var(--n) * 55ms); }
.split.in .w > span { transform: none; }
.no-js .reveal, .no-js .split .w > span { opacity: 1; transform: none; }

@media (max-width: 900px) {
  :root { --wrap: calc(100% - 36px); } body { font-size: 16px; }
  .svc { grid-template-columns: 1fr; gap: 8px; } .svc > div { grid-template-columns: 1fr; gap: 16px; } .svc ul { white-space: normal; }
  .work-grid, .post-grid, .about-grid, .contact-grid, .post-card--big, .lead { grid-template-columns: 1fr; } .work-card:nth-child(even) { margin-top: 0; }
  .principles, .foot__grid { grid-template-columns: 1fr 1fr; } .prose { font-size: 17px; } .prose figure, .prose .embed { margin-inline: 0; }
  .top { padding: 16px 18px; } .hero__row .btn { width: 100%; justify-content: center; } .quote { padding: 26px; min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } .reveal, .split .w > span { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
