/* citus.studio/camera - v5 "void" language.
   Near-black ground, visible grain, one giant Nohemi Black title in an empty center,
   prints drifting around it, glass pills for every control, one accent. */

@font-face { font-family: "Nohemi"; src: url("fonts/Nohemi-Black.woff2") format("woff2"), url("fonts/Nohemi-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Nohemi"; src: url("fonts/Nohemi-Regular.woff2") format("woff2"), url("fonts/Nohemi-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nohemi"; src: url("fonts/Nohemi-Light.woff2") format("woff2"), url("fonts/Nohemi-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }

:root {
  --bg: #050506;
  --accent: #f6c23b;
  --text: rgba(242,237,228,.92);
  --bright: #f2ede4;
  --dim: #8f8a82;
  --faint: #55514b;
  --glass: rgba(255,255,255,.055);
  --glass-hi: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.10);
  --pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Nohemi", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 300; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; min-height: 100vh;
}
/* Thin weights disappear on dark; a hair of letter-spacing and slightly brighter ink keeps them legible */
body, input, button, a { text-transform: uppercase; letter-spacing: .08em; }
.waitlist input { text-transform: none; letter-spacing: .02em; }
.waitlist input::placeholder { text-transform: uppercase; letter-spacing: .08em; }
.cookie, .cookie a, .cookie button { text-transform: none; letter-spacing: .01em; }

/* Vignette: the void is darkest at the edges, a breath lighter in the middle */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 30% at 50% 50%, rgba(120,140,170,.075), transparent 70%),
    radial-gradient(70% 60% at 50% 50%, rgba(255,255,255,.02), transparent 70%),
    radial-gradient(130% 110% at 50% 50%, transparent 30%, rgba(0,0,0,.72) 100%);
}
/* stars: two layers of faint points, drifting with the sphere, so the dark reads as distance */
.stars { position: fixed; inset: -10%; z-index: 0; pointer-events: none; will-change: transform; }
.stars i { position: absolute; left: 0; top: 0; width: 1px; height: 1px; border-radius: 50%; background: #fff; }
.stars.far { opacity: .28; }
.stars.near { opacity: .5; }
.stars.near i { width: 1.5px; height: 1.5px; }
/* Grain: static by default, a slow shimmer on pointer devices */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 80; pointer-events: none;
  width: 200%; height: 200%;
  opacity: .14; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
}
@media (hover:hover) and (prefers-reduced-motion: no-preference) {
  body::after { animation: grain 1.2s steps(8) infinite; }
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  12%  { transform: translate(-3%, 2%); }
  25%  { transform: translate(2%, -4%); }
  37%  { transform: translate(-5%, -1%); }
  50%  { transform: translate(4%, 3%); }
  62%  { transform: translate(-2%, 5%); }
  75%  { transform: translate(5%, -3%); }
  87%  { transform: translate(-4%, -5%); }
  100% { transform: translate(0,0); }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }

/* ---------- Glass pills ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: var(--pill);
}
.pill-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px 0 20px;
  font-weight: 400; font-size: 14px; color: var(--bright);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.pill-btn:hover { background: var(--glass-hi); }
.pill-btn:active { transform: scale(.97); }
.pill-btn svg { width: 14px; height: 14px; opacity: .7; }
.btn-accent {
  height: 44px; padding: 0 20px; border-radius: var(--pill);
  background: var(--accent); color: #141210;
  font-weight: 400; font-size: 14px; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(246,194,59,.25), 0 0 30px rgba(246,194,59,.22), 0 10px 30px rgba(0,0,0,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn-accent:hover { filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(246,194,59,.35), 0 0 40px rgba(246,194,59,.32), 0 10px 30px rgba(0,0,0,.4); }
.btn-accent:active { transform: scale(.97); }

/* white CTA with a yellow glow that orbits the button now and then */
@property --orb { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.btn-white {
  position: relative; height: 44px; padding: 0 20px; border-radius: var(--pill);
  background: #f2ede4; color: #141210; font-weight: 400; font-size: 14px; white-space: nowrap;
  /* steady outer glow, always on */
  box-shadow: 0 0 0 1px rgba(246,194,59,.35), 0 0 18px rgba(246,194,59,.45), 0 0 46px rgba(246,194,59,.28), 0 10px 30px rgba(0,0,0,.4);
  transition: transform .25s var(--ease), filter .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-white:hover { filter: brightness(1.04); box-shadow: 0 0 0 1px rgba(246,194,59,.5), 0 0 24px rgba(246,194,59,.6), 0 0 60px rgba(246,194,59,.35), 0 10px 30px rgba(0,0,0,.4); }
.btn-white:active { transform: scale(.97); }
.btn-white::before {
  /* halation: a soft bloom that travels around the steady glow now and then */
  content: ""; position: absolute; inset: -16px; border-radius: inherit; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--orb), transparent 0 48%, rgba(255,211,94,.5) 66%, #ffd35e 78%, rgba(255,211,94,.5) 90%, transparent 100%);
  filter: blur(12px); opacity: 0;
  animation: orbit 7.5s ease-in-out infinite; animation-delay: 1.2s;
}
@keyframes orbit {
  0%   { --orb: 0deg;   opacity: 0; }
  8%   { opacity: .9; }
  44%  { --orb: 360deg; opacity: .9; }
  52%  { --orb: 360deg; opacity: 0; }
  100% { --orb: 360deg; opacity: 0; }
}
.waitlist { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .btn-white::before { animation: none; } }

/* ---------- Top: waitlist pill ---------- */
.topbar {
  position: fixed; top: 22px; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.waitlist {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 8px; height: 58px;
  width: min(560px, 100%);
}
.waitlist .logo { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: none; opacity: .95; }
.waitlist .logo img { width: 100%; height: 100%; object-fit: cover; }
.waitlist input {
  flex: 1; min-width: 0; height: 44px; padding: 0 18px;
  border-radius: var(--pill); background: rgba(0,0,0,.35);
  border: 1px solid transparent; color: var(--bright); font-weight: 400; font-size: 14px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.waitlist input::placeholder { color: var(--dim); font-weight: 300; letter-spacing: .02em; }
.waitlist input:focus { outline: none; border-color: rgba(255,255,255,.18); background: rgba(0,0,0,.5); }
.waitlist.done { justify-content: center; gap: 0; padding: 0 22px; font-weight: 400; font-size: 14px; color: var(--bright); }
.waitlist.done .ok { color: var(--accent); margin-right: 8px; }

/* Corner chrome */
.corner { position: fixed; z-index: 90; }
.corner.tl { top: 30px; left: 28px; font-size: 13px; font-weight: 400; color: var(--dim); }
.corner.tl b { font-weight: 900; color: var(--bright); letter-spacing: .14em; font-size: 12px; }
.corner.bl { bottom: 26px; left: 24px; font-size: 13px; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.corner.bl .note { margin-right: 6px; }
.legal { display: inline-flex; gap: 6px; }
.legal a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; font-size: 11px; color: var(--dim); font-weight: 400; transition: color .25s var(--ease), background .25s var(--ease); }
.legal a:hover { color: var(--bright); background: var(--glass-hi); }
.corner.bl span { color: var(--faint); margin: 0 8px; }
.corner.br { bottom: 22px; right: 22px; }

/* Cookie bubble */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 95;
  display: flex; align-items: center; gap: 22px;
  height: 52px; padding: 0 10px 0 22px; font-size: 14px; color: var(--dim);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cookie a { color: var(--text); border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 1px; }
.cookie button { font-weight: 400; color: var(--bright); height: 36px; padding: 0 14px; border-radius: var(--pill); }
.cookie button:hover { background: var(--glass-hi); }
.cookie.hide { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }

/* ---------- Stage ---------- */
.stage { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; z-index: 1; }

.center {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center;
  padding: 0 20px; pointer-events: none; z-index: 5; width: 100%;
}
.center > * { pointer-events: auto; }
h1.title {
  font-weight: 900; font-size: clamp(38px, 6vw, 96px); line-height: .96; max-width: 100%; overflow-wrap: anywhere; text-transform: uppercase;
  letter-spacing: .05em; color: var(--bright);
  text-shadow: 0 0 80px rgba(0,0,0,.8);
}
.sub {
  margin-top: 26px; font-weight: 300; font-size: clamp(17px, 1.6vw, 22px); color: var(--dim);
  display: inline-flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.discover { margin-top: 34px; pointer-events: auto; }
.discover .btn-accent { height: 46px; padding: 0 24px; font-size: 13px; }
.sub .tag {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px 0 18px;
  border: 1px solid var(--line); border-radius: var(--pill); color: var(--bright); font-weight: 400; font-size: .9em;
  background: rgba(255,255,255,.03);
}

/* ---------- Prints: a sphere around the viewer ----------
   Prints are scattered at random through a thick spherical shell all the way around the
   viewer. The whole sphere spins with the mouse (momentum, so a fast flick turns it right
   round), bringing prints from behind to the front. JS sets, per frame: position, focus
   (only the ring at the title's depth is sharp; the far core is soft, anything very close
   is blurred almost away), presence (prints crossing the title fade out, prints passing the
   viewer fade out) and light-painting trails: copies stamped along each print's real path,
   fading in the order they were drawn. */
.field { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
  perspective: 1100px; perspective-origin: 50% 50%; }
.world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.print {
  position: absolute; left: 50%; top: 50%; width: var(--wpx, 180px);
  transform-origin: 0 0; transform-style: preserve-3d; will-change: transform, opacity;
  opacity: 0;
}
.print .anchor { transform: translate(-50%, -50%); }
.print .mb { filter: blur(var(--blur, 0px)) brightness(var(--bright, 1)); }
.field.pre .print .mb { filter: blur(22px) brightness(.2); }
.print.far .badge { display: none; }
.print.far .inner { border-radius: 2px; box-shadow: 0 0 12px rgba(255,255,255,.25), 0 0 2px rgba(255,255,255,.35); }
.print .inner {
  position: relative; border-radius: 3px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.print img { width: 100%; height: auto; aspect-ratio: var(--ar, 4/5); object-fit: cover; }
.print .badge {
  position: absolute; right: 8px; bottom: 8px; height: 22px; padding: 0 8px;
  display: inline-flex; align-items: center; border-radius: 6px;
  background: rgba(0,0,0,.7); color: #f2ede4; font-weight: 400; font-size: 10px; letter-spacing: .14em;
}

/* ---------- What is Citus Camera page ---------- */
.stage.tall { min-height: 100svh; }
.stage.tall .center { position: relative; inset: auto; min-height: 100svh; padding: 130px 20px 100px; }
.stage.tall .field { position: fixed; }
.about .sec { margin-top: 30px; text-align: center; }
.about .eyebrow { font-weight: 900; font-size: 11px; letter-spacing: .22em; color: var(--accent); margin-bottom: 10px; }
.about .sec p { margin: 0 auto; }
.about .sec p + p { margin-top: 12px; }
.about .facts { list-style: none; margin: 0 auto; max-width: 820px; text-align: left; display: grid; gap: 10px; }
.about .facts li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; font-weight: 300; font-size: 13px; line-height: 1.6; color: rgba(242,237,228,.72); }
.about .facts li b { font-weight: 400; color: var(--bright); font-size: 12px; letter-spacing: .14em; padding-top: 2px; }
.about .facts li span { letter-spacing: .06em; }
.about .facts.plain li { grid-template-columns: 14px 1fr; gap: 12px; }
.about .facts.plain li::before { content: ""; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

.about { max-width: 820px; margin: 0 auto; }
.about h1 { text-transform: uppercase; font-weight: 900; font-size: clamp(30px, 4.4vw, 62px); line-height: .98; letter-spacing: .05em; color: var(--bright); }
.about p { margin: 18px auto 0; font-weight: 300; font-size: 14.5px; line-height: 1.7; color: rgba(242,237,228,.78); }
.about p + p { margin-top: 14px; }
.about .btn-accent { margin-top: 30px; }
.about p strong { font-weight: 400; color: var(--text); }

.more { position: relative; z-index: 2; padding: 90px 24px 140px; max-width: 1240px; margin: 0 auto; }
.more h2 { font-weight: 900; font-size: 13px; letter-spacing: .16em; color: var(--faint); text-transform: uppercase; margin-bottom: 28px; }
.masonry { columns: 3; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin-bottom: 18px; position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.masonry figure img { width: 100%; filter: brightness(.92); transition: filter .4s var(--ease), transform .8s var(--ease); }
.masonry figure:hover img { filter: brightness(1); transform: scale(1.02); }
.masonry figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .12em; font-weight: 400; color: rgba(242,237,228,.85); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.more .end { text-align: center; margin-top: 60px; }

@media (max-height: 900px) { .about p { font-size: 13.5px; line-height: 1.6; } .about p + p { margin-top: 10px; } .about .btn-accent { margin-top: 22px; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 640px) {
  .waitlist { height: 54px; }
  .waitlist input { padding: 0 14px; font-size: 13px; }
  .btn-accent { padding: 0 14px; font-size: 13px; height: 40px; }
  .corner.tl, .corner.bl .note, .corner.bl span { display: none; }
  /* legal + press: one centred row at the very bottom; the cookie bubble sits above it */
  .corner.bl { left: 0; right: 0; bottom: 18px; justify-content: center; }
  .corner.bl .legal { gap: 8px; }
  .corner.br { bottom: 72px; right: 16px; }
  .cookie { bottom: 72px; }
  /* waitlist collapses to one button; the field lives in a pop-up (see app.js) */
  .waitlist { width: auto; margin: 0 auto; }
  .waitlist input { display: none; }
  .waitlist.done { padding: 0 18px; }
  .cookie { width: calc(100% - 32px); justify-content: space-between; padding-left: 16px; gap: 10px; font-size: 13px; }
  .topbar { padding: 0 12px; top: 14px; }
  .waitlist { padding: 5px; gap: 6px; }
  .waitlist .logo { width: 34px; height: 34px; }
  h1.title { font-size: clamp(34px, 10.2vw, 54px); }
  .sub { font-size: clamp(10.5px, 2.9vw, 13px); font-weight: 400; letter-spacing: .06em; white-space: nowrap; margin-top: 16px; color: var(--text); }   /* the tagline, one line, Nohemi Regular */
  .masonry { columns: 1; }
}


/* Waitlist pop-up (phones). Same glass language as the legal pop-up. */
.wl-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,5,6,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wl-modal.open { display: flex; }
.wl-modal .panel { position: relative; width: min(420px, 100%); background: rgba(12,12,14,.94); border: 1px solid var(--line); border-radius: 28px; padding: 30px 22px 26px; box-shadow: 0 40px 120px rgba(0,0,0,.7); text-align: center; }
.wl-modal .eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .22em; font-weight: 400; margin-bottom: 10px; }
.wl-modal h2 { font-weight: 900; font-size: 24px; letter-spacing: .05em; color: var(--bright); margin-bottom: 18px; }
.wl-modal form { display: flex; flex-direction: column; gap: 10px; }
.wl-modal input { height: 48px; padding: 0 18px; border-radius: var(--pill); background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); color: var(--bright); font-weight: 400; font-size: 15px; text-transform: none; letter-spacing: .02em; text-align: center; }
.wl-modal input::placeholder { color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.wl-modal input:focus { outline: none; border-color: rgba(255,255,255,.22); }
.wl-modal .btn-white { height: 48px; justify-content: center; }
.wl-modal .close { position: absolute; top: 12px; right: 12px; height: 32px; padding: 0 14px; font-size: 11px; font-weight: 400; color: var(--dim); background: var(--glass); border: 1px solid var(--line); border-radius: var(--pill); }
.wl-modal .done { font-weight: 400; font-size: 14px; color: var(--bright); padding: 8px 0; }
.wl-modal .done .ok { color: var(--accent); margin-right: 8px; }
