/* QRAC LLC — one light grotesk, warm near-black, cream text; layout values taken from seed.com */
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }
:root {
  --bg: #0e0c0a;
  --ink: #f6f3ec;
  --ink-2: rgba(246, 243, 236, 0.72);
  --ink-3: rgba(246, 243, 236, 0.5);
  --line: rgba(246, 243, 236, 0.12);
  --glass: rgba(52, 45, 39, 0.42);
  --edge: 56px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body { color: var(--ink); font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 350; font-size: 16px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
p, dd { text-wrap: pretty; }  /* no lone last word */
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
h1, h2 { font-weight: 350; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: 48px; line-height: 1.1; }
h2 { font-size: 40px; line-height: 1.1; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }

/* floating pill nav */
.nav {
  position: fixed; top: 16px; left: 16px; z-index: 20; height: 56px; padding: 0 12px 0 32px;
  display: flex; align-items: center; gap: 24px; border-radius: 1000px;
  background: rgba(30, 26, 22, 0.72); backdrop-filter: blur(37.5px); -webkit-backdrop-filter: blur(37.5px);
  border: 1px solid rgba(246, 243, 236, 0.08);
}
.mark { font-size: 20px; font-weight: 400; letter-spacing: 0.08em; }
.nav ul { display: flex; list-style: none; }
.nav ul a { display: block; padding: 8px 12px; font-size: 15px; font-weight: 400; color: var(--ink-2); border-radius: 1000px; transition: color 160ms ease, background-color 160ms ease; }
.nav ul a:hover { color: var(--ink); background: rgba(246, 243, 236, 0.08); }

.pill { display: inline-flex; align-items: center; height: 51px; padding: 0 24px; border-radius: 1000px; background: var(--ink); color: var(--bg); font-weight: 400; transition: background-color 160ms ease, transform 160ms ease; }
.pill:hover { background: rgba(246, 243, 236, 0.86); }
.pill:active { transform: scale(0.98); }

/* rounded photo blocks, like seed.com's hero */
.frame { position: relative; margin: 8px; border-radius: 32px; overflow: hidden; background: #000; }
.frame img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.ready .flight { height: 340vh; height: 340svh; }
.ready .flight.still { height: auto; }
.flight .hero { position: sticky; top: 8px; }
.hero .copy.end { opacity: 0; pointer-events: none; }
.hero .copy.end h2 { font-size: 48px; line-height: 1.1; }
.still .copy.end { display: none; }
.hero { height: calc(100vh - 16px); height: calc(100svh - 16px); min-height: 560px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 10, 0.82), rgba(14, 12, 10, 0.35) 45%, rgba(14, 12, 10, 0) 70%); pointer-events: none; opacity: var(--scrim, 1); }

/* the capsule scene */
#art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; --home-x: 69.5%; --home-y: 42%; --capsule-width: 54.5%;
  background: radial-gradient(ellipse at 68% 34%, #58372550 0%, #3b231845 35%, transparent 73%), radial-gradient(ellipse at 76% 76%, #35221998, transparent 62%), linear-gradient(160deg, #1d1510, #0e0c0a 78%); }
.capsule-floor { position: absolute; left: var(--home-x); top: calc(var(--home-y) + 22%); width: 67%; height: 24%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 56% 44%, #0c0806a0 0%, #0c080600 48%), radial-gradient(ellipse at 65% 49%, #a962353f 0%, #66361923 29%, transparent 67%); }
.capsule-rig { position: absolute; left: var(--home-x); top: var(--home-y); width: var(--capsule-width); aspect-ratio: 1233 / 389; transform: translate(-50%, -50%) rotate(-14deg); will-change: transform; }
.capsule-rig img { display: block; position: absolute; top: 0; height: 100%; }
.capsule-body { left: 0; width: 70.965126%; transform-origin: 96.228571% 50%; }
.capsule-cap { left: 61.638281%; width: 38.361719%; transform-origin: 8.245243% 50%; }
.capsule-beads { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 656px) {
  #art { --home-x: 50%; --home-y: 36%; --capsule-width: 92%;
    background: radial-gradient(ellipse 96% 43% at 60% 32%, #603e2b70, #34221960 53%, transparent 100%), linear-gradient(169deg, #201610, #0e0c0a 75%); }
  .capsule-floor { top: calc(var(--home-y) + 13%); width: 108%; height: 15%; }
}

.hero .copy { position: absolute; left: var(--edge); bottom: 64px; z-index: 2; max-width: 560px; }
.hero p { margin-top: 24px; max-width: 420px; color: var(--ink-2); }
.hero .pill { margin-top: 32px; }
@media (min-width: 641px) {
  .hero .copy { bottom: 104px; max-width: 620px; }
  .hero h1, .hero .copy.end h2 { font-size: clamp(48px, 3.9vw, 60px); }
  .hero p { margin-top: 18px; max-width: 460px; font-size: 18px; color: rgba(246, 243, 236, 0.82); }
  .hero .pill { margin-top: 36px; }
}

section.block { padding: 128px var(--edge); }
.head { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.head p { color: var(--ink-2); max-width: 520px; padding-top: 8px; }
.cols { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.cols li { list-style: none; padding-top: 24px; border-top: 1px solid var(--line); }
.cols .n { display: block; margin-bottom: 40px; font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cols p { margin-top: 8px; color: var(--ink-2); max-width: 340px; }

.work { min-height: 760px; display: flex; align-items: center; padding: 80px 24px; }
.work img.bg { object-position: 80% 50%; }
.panel { position: relative; z-index: 2; margin-left: max(0px, calc(var(--edge) - 24px)); max-width: 760px; padding: 80px; border-radius: 32px; background: var(--glass); backdrop-filter: blur(37.5px); -webkit-backdrop-filter: blur(37.5px); border: 1px solid rgba(246, 243, 236, 0.08); }
.panel dl { margin-top: 48px; }
.panel .row { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.panel dt { font-weight: 500; }
.panel dd { color: var(--ink-2); }

.facts { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts div { padding: 32px; border-radius: 16px; background: rgba(246, 243, 236, 0.04); border: 1px solid var(--line); }
.facts span { display: block; font-size: 14px; color: var(--ink-3); }
.facts b { display: block; margin-top: 40px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }

footer { margin: 0 var(--edge); padding: 32px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
footer nav { display: flex; gap: 24px; }
footer a:hover { color: var(--ink); }

/* legal pages */
.doc { max-width: 720px; padding: 160px var(--edge) 96px; margin: 0 auto; box-sizing: content-box; }
.doc .date { margin-top: 16px; color: var(--ink-3); font-size: 14px; }
.doc h2 { margin-top: 56px; font-size: 22px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.doc p, .doc li { margin-top: 16px; color: var(--ink-2); }
.doc ul { padding-left: 20px; }

/* one quiet fade and rise as things come into view */
.ready .rise { opacity: 0; transform: translateY(16px); } /* hidden only once the script runs */
.rise { transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.ready .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ready .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .head { grid-template-columns: 1fr; gap: 24px; }
  .cols { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .cols .n { margin-bottom: 16px; }
  .cols p { max-width: 520px; }
  .facts { grid-template-columns: 1fr; }
  .facts b { margin-top: 16px; }
  .panel .row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  :root { --edge: 20px; }
  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  .nav { left: 8px; right: 8px; justify-content: center; padding: 0 24px; }
  .nav ul { display: none; }
  .hero .copy { bottom: 40px; right: var(--edge); }
  .hero .copy.end h2 { font-size: 36px; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 12, 10, 0.94), rgba(14, 12, 10, 0.6) 36%, rgba(14, 12, 10, 0) 62%); }
  section.block { padding: 96px var(--edge); }
  .work { padding: 8px; min-height: 0; }
  .panel { margin: 200px 0 0; padding: 32px 24px; }
  .doc { padding-top: 120px; }
}
/* a phone on its side: the pinned hero has to fit the screen */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero .copy { bottom: 24px; }
  .hero h1, .hero .copy.end h2 { font-size: 32px; }
  .hero .copy { left: 32px; max-width: 330px; }
  .hero p { margin-top: 12px; }
  .hero .pill { margin-top: 16px; height: 44px; }
}
@media (max-height: 340px) and (orientation: landscape) { .hero h1, .hero .copy.end h2 { font-size: 26px; } }
@media (max-width: 360px) { .hero h1, .hero .copy.end h2 { font-size: 30px; } .hero p { margin-top: 16px; } .hero .pill { margin-top: 20px; } }
