/* ÖTIVO — Coming soon */
:root {
  --cream: #fbf8f2;
  --cream-2: #f3eee4;
  --ink: #121212;
  --ink-soft: #5c5853;
  --orange: #f26a0c;
  --orange-soft: #ff9a52;
  --line: rgba(18, 18, 18, 0.12);
  --gutter: clamp(16px, 4vw, 56px);
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }

/* ---------- Wordmark (Ö with orange dots) ---------- */
.wm-o { position: relative; display: inline-block; }
.wm-o::before, .wm-o::after {
  content: "";
  position: absolute;
  top: -0.28em;
  width: 0.2em; height: 0.2em;
  border-radius: 50%;
  background: var(--orange);
}
.wm-o::before { left: 0.16em; }
.wm-o::after  { right: 0.16em; }

.wordmark {
  display: inline-flex;
  gap: 0.55em;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  padding-top: 6px;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 28px;
}
.loader__mark {
  display: flex;
  gap: 0.6em;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 300;
}
.loader__mark > span { display: inline-block; }
.loader__bar {
  width: min(220px, 50vw);
  height: 2px;
  background: rgba(251, 248, 242, 0.15);
  overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Background layers ---------- */
.glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40vmax 40vmax at 50% 32%, rgba(242, 106, 12, 0.16), transparent 60%),
    radial-gradient(60vmax 50vmax at 100% 100%, rgba(242, 106, 12, 0.08), transparent 60%),
    linear-gradient(var(--cream), var(--cream-2));
}
.grain {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
#scene {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Custom cursor ---------- */
.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: 90;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--orange); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid var(--ink);
  transition: width .3s, height .3s, margin .3s, background-color .3s, border-color .3s;
}
.cursor-ring.is-hover {
  width: 72px; height: 72px; margin: -36px 0 0 -36px;
  background: rgba(242, 106, 12, 0.12);
  border-color: var(--orange);
}
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  body.has-cursor input { cursor: text; }
}

/* ---------- Header ---------- */
.top {
  position: relative; z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter) 0;
}
.top__right { display: flex; align-items: center; gap: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.6);
  backdrop-filter: blur(8px);
}
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { to { transform: scale(3); opacity: 0; } }

.socials { display: flex; gap: 6px; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s, color .3s;
}
.socials a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.socials svg .fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.layout {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 62px - 54px);
}
.stage {
  position: relative;
  flex: 1 1 auto;
  min-height: max(300px, 40vh);
}
.fallback {
  display: none;
  position: absolute;
  left: 50%; top: 50%;
  width: min(300px, 60vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.no-webgl .fallback { display: block; }

.stage__label {
  position: absolute;
  top: 50%;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.stage__label--l { left: var(--gutter); }
.stage__label--r { right: var(--gutter); transform: translateY(-50%); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  padding: 0 var(--gutter) clamp(20px, 3vw, 36px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.headline {
  margin: 0;
  font-weight: 300;
  font-size: clamp(60px, 10vw, 164px);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.headline .line { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.12em; }
.headline .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--orange);
  padding-left: 0.08em;
}
.char { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.char > span { display: inline-block; will-change: transform; }

.lede {
  max-width: 44ch;
  margin: 18px 0 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Notify form */
.notify__label {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  margin-bottom: 12px;
}
.notify__row {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(18, 18, 18, 0.35);
}
.notify__row:focus-within { border-color: var(--orange); }
.notify input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  background: transparent;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .3s;
  white-space: nowrap;
}
.btn:hover { background: var(--orange); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s; }
.btn:hover svg { transform: translateX(3px); }
.notify__hint { margin: 10px 0 0 18px; font-size: 13px; color: var(--ink-soft); }

/* Info cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(251, 248, 242, 0.7);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .5s cubic-bezier(.7,0,.2,1);
  z-index: -1;
}
.card:hover { transform: translateY(-4px); border-color: var(--ink); color: var(--cream); }
.card:hover::before { transform: translateY(0); }
.card--wa::before { background: var(--orange); }
.card--wa:hover { border-color: var(--orange); }
.card__k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); transition: color .3s; }
.card:hover .card__k { color: inherit; opacity: .8; }
.card__v { font-size: 14px; line-height: 1.45; }
.card__v--big { font-size: 24px; font-weight: 500; letter-spacing: 0.01em; }
.card__go { margin-top: auto; font-size: 13px; font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 3;
  overflow: hidden;
  background: var(--orange);
  color: var(--cream);
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  gap: 28px;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .stage { min-height: 42svh; }
  .stage__label { display: none; }
  .badge { display: none; }
}
@media (max-width: 520px) {
  .top { padding-top: 18px; }
  .socials a { width: 36px; height: 36px; }
  .cards { grid-template-columns: 1fr; }
  .btn span { display: none; }
  .btn { padding: 14px 16px; }
  .notify__label { font-size: 22px; }
  .marquee span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 120s; }
  .pulse::after { animation: none; }
}

/* ---------- Vision intro: blurry world + contact lens ---------- */
.blurveil {
  position: fixed; inset: 0;
  z-index: 40;
  pointer-events: none;
  background: rgba(251, 248, 242, 0.1);
  -webkit-backdrop-filter: blur(var(--vblur, 22px)) saturate(0.85);
  backdrop-filter: blur(var(--vblur, 22px)) saturate(0.85);
  /* a hole where the lens is: everything inside is sharp */
  -webkit-mask-image: radial-gradient(circle at var(--lx, -999px) var(--ly, -999px), transparent calc(var(--lr, 0px) - 3px), #000 var(--lr, 0px));
  mask-image: radial-gradient(circle at var(--lx, -999px) var(--ly, -999px), transparent calc(var(--lr, 0px) - 3px), #000 var(--lr, 0px));
}

.lens-fx {
  position: fixed; left: 0; top: 0;
  z-index: 41;
  pointer-events: none;
  width: calc(var(--lr, 0px) * 2);
  height: calc(var(--lr, 0px) * 2);
  translate: calc(var(--lx, -999px) - var(--lr, 0px)) calc(var(--ly, -999px) - var(--lr, 0px));
  border-radius: 50%;
  opacity: 0;
  /* the glass itself: clear centre, tinted edge, crisp rim */
  background: radial-gradient(circle, transparent 64%, rgba(140, 200, 255, 0.08) 80%, rgba(255, 255, 255, 0.28) 95%, rgba(18, 18, 18, 0.22) 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.85),
    inset 0 0 0 3px rgba(18, 18, 18, 0.06),
    inset 0 0 60px rgba(242, 106, 12, 0.12),
    0 40px 80px -40px rgba(18, 18, 18, 0.45);
}
.lens-fx span { position: absolute; border-radius: 50%; }
/* faint blue contact-lens tint ring */
.lens-fx__tint {
  inset: 6%;
  border: 1px solid rgba(120, 180, 255, 0.25);
  box-shadow: 0 0 0 6px rgba(120, 180, 255, 0.05);
}
/* soft specular highlight */
.lens-fx__shine {
  inset: 0;
  background: radial-gradient(ellipse 38% 20% at 30% 20%, rgba(255, 255, 255, 0.7), transparent 70%);
  mix-blend-mode: screen;
}
/* bright curved reflection on the rim */
.lens-fx__arc {
  inset: 3.5%;
  border: 2px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.9);
  border-left-color: rgba(255, 255, 255, 0.35);
  transform: rotate(-25deg);
  filter: blur(0.6px);
}

.vision {
  position: fixed;
  left: 50%; bottom: 13vh;
  z-index: 45;
  translate: -50% 0;
  pointer-events: none;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(92vw, 720px);
  text-align: center;
}
.vision__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.vision__lines { display: grid; }
.vision__line {
  grid-area: 1 / 1;
  margin: 0;
  font-size: clamp(26px, 4.2vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.vision__line em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--orange);
}
