/* Organikkart — Coming Soon */
:root {
  --bg-0: #020906;
  --bg-1: #04110b;
  --ivory: #f3eee0;
  --ivory-soft: rgba(243, 238, 224, 0.7);
  --ivory-faint: rgba(243, 238, 224, 0.46);
  --champagne: #dcc792;
  --champagne-line: rgba(220, 199, 146, 0.32);
  --lime: #a8cf69;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --edge-x: clamp(24px, 4.4vw, 64px);
  --edge-y: clamp(20px, 3.4vw, 42px);
  --emblem: min(48vh, 80vw, 510px);
  --screen: 100vh;
  --eyebrow-ls: 0.46em;
}
@supports (height: 1svh) {
  :root {
    --emblem: min(48svh, 80vw, 510px);
    --screen: 100svh;
  }
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg-1);
}
body {
  margin: 0;
  min-height: var(--screen);
  overflow-x: hidden;
  color: var(--ivory);
  font-family: var(--sans);
  background:
    radial-gradient(ellipse 60% 48% at 50% 36%, rgba(31, 92, 56, 0.5), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 105%, rgba(12, 44, 29, 0.85), transparent 70%),
    linear-gradient(180deg, #06170f 0%, #030c08 100%) fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: rgba(220, 199, 146, 0.35);
  color: #fff;
}

/* ---------- Atmosphere layers ---------- */
.scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.no-webgl .scene {
  display: none;
}
.vignette,
.grain,
.frame,
.drift {
  position: fixed;
  pointer-events: none;
}
.vignette {
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 78% 72% at 50% 44%, transparent 52%, rgba(1, 5, 3, 0.7) 100%);
}
.grain {
  inset: 0;
  z-index: 2;
  overflow: hidden;
}
.grain::before {
  content: "";
  position: absolute;
  inset: -60px;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.frame {
  inset: clamp(10px, 1.6vw, 22px);
  z-index: 3;
}
.frame i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(220, 199, 146, 0.42);
}
.frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}
.frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}
.frame i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}
.frame i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}
.drift {
  display: none;
  inset: 0;
  z-index: 9;
  overflow: hidden;
}
.drift-leaf {
  position: absolute;
  top: -22vh;
  width: clamp(90px, 11vw, 170px);
  opacity: 0;
  filter: blur(8px);
}
.drift-leaf--one {
  left: 6%;
}
.drift-leaf--two {
  right: 8%;
  width: clamp(56px, 6vw, 96px);
  filter: blur(5px);
}

/* ---------- Top bar & footer ---------- */
.topbar,
.footer {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: var(--edge-y) var(--edge-x);
  text-transform: uppercase;
}
.topbar {
  top: 0;
  justify-content: space-between;
  font: 500 0.66rem/1 var(--sans);
  letter-spacing: 0.4em;
  color: var(--ivory-soft);
}
.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(168, 207, 105, 0.7);
}
.footer {
  bottom: 0;
  font: 400 0.62rem/1 var(--sans);
  letter-spacing: 0.32em;
  color: var(--ivory-faint);
}
.footer-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne-line), transparent);
}
.footer b {
  color: var(--lime);
  font-weight: 400;
}

/* ---------- Stage ---------- */
.stage {
  position: relative;
  z-index: 5;
  min-height: var(--screen);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(78px, 11vh, 118px) 22px clamp(74px, 10vh, 110px);
  text-align: center;
}
.copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Emblem: the logo inside a 3D medallion of rings */
.emblem {
  position: relative;
  width: var(--emblem);
  aspect-ratio: 1;
  margin-bottom: clamp(4px, 1.2vh, 16px);
  perspective: 1100px;
  overflow: hidden; /* spinning square layers must not widen the page on phones */
}
.emblem-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.emblem-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.emblem-layer svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Depths are relative to the logo, which sits at z = 0 so it renders at 1:1 and stays crisp */
.emblem-glow {
  transform: translateZ(-230px) scale(1.24);
}
.emblem-glow::before {
  content: "";
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 195, 74, 0.3), rgba(31, 92, 56, 0.24) 46%, transparent 70%);
  filter: blur(20px);
}
.emblem-ticks {
  transform: translateZ(-90px);
}
.emblem-ring {
  transform: translateZ(-72px);
}
.emblem-dial {
  transform: translateZ(-45px);
}
.emblem-halo {
  transform: translateZ(-43px);
}
.tick {
  fill: none;
  stroke: var(--champagne);
}
.tick--minor {
  stroke-width: 4;
  opacity: 0.28;
}
.tick--major {
  stroke-width: 10;
  opacity: 0.5;
}
/* White porcelain dial, so the logo shows in its original colours */
.dial-face {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #fff 66%, #f8f6ef 86%, #ebe6d6 100%);
  box-shadow:
    inset 0 -16px 30px rgba(16, 61, 43, 0.1),
    0 0 0 1px rgba(220, 199, 146, 0.8),
    0 0 0 6px rgba(220, 199, 146, 0.07),
    0 0 48px rgba(168, 207, 105, 0.24),
    0 30px 60px rgba(0, 0, 0, 0.45);
}
/* A spark of light travelling around the dial's gold rim */
.halo-orbit,
.halo-comet {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.halo-comet {
  background: conic-gradient(from 90deg, transparent 0deg, rgba(232, 214, 166, 0) 240deg, rgba(240, 225, 182, 0.95) 359deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(72.4% - 1.4px), #000 calc(72.4% - 0.7px), #000 calc(72.4% + 0.7px), transparent calc(72.4% + 1.4px));
  mask: radial-gradient(closest-side, transparent calc(72.4% - 1.4px), #000 calc(72.4% - 0.7px), #000 calc(72.4% + 0.7px), transparent calc(72.4% + 1.4px));
}
.halo-spark {
  position: absolute;
  top: 50%;
  left: 86.2%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff8e2;
  box-shadow:
    0 0 8px 2px rgba(240, 225, 182, 0.85),
    0 0 22px 6px rgba(168, 207, 105, 0.35);
}
.ring-text {
  font: 500 12.5px var(--sans);
  text-transform: uppercase;
  fill: rgba(243, 238, 224, 0.6);
}
.logo-float {
  position: relative;
  width: 54%;
  aspect-ratio: 960 / 688;
  filter: drop-shadow(0 10px 14px rgba(16, 61, 43, 0.18));
}
.logo-float img {
  display: block;
  width: 100%;
  height: 100%;
}
.logo-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 252, 240, 0.6) 50%, transparent 60%) no-repeat;
  background-size: 260% 100%;
  background-position: 160% 0;
  -webkit-mask: url("assets/organikkart-logo.png") center / 100% 100% no-repeat;
  mask: url("assets/organikkart-logo.png") center / 100% 100% no-repeat;
}

/* Copy */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  margin: 0 0 clamp(12px, 2vh, 22px);
  padding-left: var(--eyebrow-ls);
  font: 400 clamp(0.6rem, 0.85vw, 0.72rem)/1 var(--sans);
  letter-spacing: var(--eyebrow-ls);
  text-transform: uppercase;
  color: var(--champagne);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(22px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 199, 146, 0.75));
}
.eyebrow::after {
  transform: scaleX(-1);
}
.eyebrow span {
  color: var(--lime);
}
.headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.2em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.1rem, min(11.5vw, 13.5vh), 9rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: var(--ivory);
  perspective: 900px;
}
.headline-word {
  display: inline-block;
  padding: 0.06em 0.14em 0.16em;
  margin: -0.06em -0.14em -0.16em;
  transform-origin: 50% 100%;
}
.headline-word--accent {
  font-style: italic;
  font-weight: 400;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .headline-word {
    background: linear-gradient(100deg, var(--ivory) 0%, var(--ivory) 40%, #fffaf0 47%, var(--champagne) 53%, var(--ivory) 60%, var(--ivory) 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .headline-word--accent {
    background-image: linear-gradient(100deg, var(--champagne) 0%, #efe2bb 25%, var(--lime) 50%, #efe2bb 75%, var(--champagne) 100%);
  }
}
.tagline {
  max-width: 44ch;
  text-wrap: balance;
  margin: clamp(14px, 2.4vh, 26px) 0 0;
  font: italic 300 clamp(1.05rem, 1.65vw, 1.4rem)/1.5 var(--serif);
  color: var(--ivory-soft);
}

/* ---------- Pointer extras ---------- */
.cursor {
  display: none;
}
.has-cursor,
.has-cursor * {
  cursor: none;
}
.has-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cursor.is-out {
  opacity: 0;
}
.cursor-ring,
.cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
}
.cursor-ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid rgba(220, 199, 146, 0.55);
}
.cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(168, 207, 105, 0.9);
}
.ripple {
  position: fixed;
  z-index: 7;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1px solid rgba(232, 214, 166, 0.75);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple 1.2s var(--ease-out) forwards;
}

/* ---------- Intro ---------- */
.intro {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
}
.intro-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: var(--bg-0);
}
.intro-half--top {
  top: 0;
  --to: -100%;
}
.intro-half--bottom {
  bottom: 0;
  --to: 100%;
}
.intro-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(340px, 64vw);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  transform: scaleX(0);
}

/* ---------- Motion (only when the visitor hasn't asked for less) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .intro {
    display: block;
    animation: intro-done 0s linear 2.7s forwards;
  }
  .intro-half {
    animation: intro-open 1.3s var(--ease-in-out) 1.3s forwards;
  }
  .intro-line {
    animation: intro-line 2s var(--ease-out) 0.15s forwards;
  }
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal 1.5s var(--ease-out) var(--delay, 0s) forwards;
  }
  .emblem.reveal {
    transform: scale(0.84);
    filter: blur(12px);
    animation: emblem-in 2.2s var(--ease-out) var(--delay) forwards;
  }
  .eyebrow.reveal {
    letter-spacing: 0.12em;
    animation: eyebrow-in 2s var(--ease-out) var(--delay) forwards;
  }
  .frame.reveal {
    transform: scale(1.03);
  }
  .headline-word {
    opacity: 0;
    transform: translateY(0.4em) rotateX(-80deg);
    filter: blur(14px);
    animation:
      word-in 1.7s var(--ease-out) var(--delay) forwards,
      shimmer 8s ease-in-out calc(var(--delay) + 1.6s) infinite;
  }
  .drift {
    display: block;
  }
  .drift-leaf--one {
    animation: drift-one 28s linear 4s infinite;
  }
  .drift-leaf--two {
    animation: drift-two 36s linear 15s infinite;
  }
  .grain::before {
    animation: grain 1.4s steps(5) infinite;
  }
  .pulse {
    animation: pulse 2.6s ease-out infinite;
  }
  .spin {
    animation: spin 90s linear infinite;
  }
  .spin--ticks {
    animation-duration: 150s;
    animation-direction: reverse;
  }
  .spin--ring {
    animation-duration: 64s;
  }
  .spin--comet {
    animation-duration: 11s;
  }
  .logo-float {
    animation: float 8s ease-in-out infinite;
  }
  .logo-sheen {
    animation: sheen 7.5s ease-in-out 3.8s infinite;
  }
  .emblem-glow::before {
    animation: breathe 8s ease-in-out infinite;
  }
}

/* ---------- Keyframes ---------- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
@keyframes sheen {
  0% {
    background-position: 160% 0;
  }
  40%,
  100% {
    background-position: -60% 0;
  }
}
@keyframes shimmer {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}
@keyframes word-in {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes emblem-in {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes eyebrow-in {
  to {
    opacity: 1;
    transform: none;
    letter-spacing: var(--eyebrow-ls);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 207, 105, 0.6);
  }
  70%,
  100% {
    box-shadow: 0 0 0 11px rgba(168, 207, 105, 0);
  }
}
@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-22px, 14px);
  }
  40% {
    transform: translate(18px, -26px);
  }
  60% {
    transform: translate(-30px, -8px);
  }
  80% {
    transform: translate(12px, 28px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes drift-one {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-25deg) rotateX(0deg);
  }
  12% {
    opacity: 0.32;
  }
  50% {
    transform: translate3d(14vw, 72vh, 0) rotate(40deg) rotateX(160deg);
  }
  88% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translate3d(2vw, 145vh, 0) rotate(130deg) rotateX(320deg);
  }
}
@keyframes drift-two {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(30deg) rotateY(0deg);
  }
  15% {
    opacity: 0.4;
  }
  50% {
    transform: translate3d(-18vw, 70vh, 0) rotate(-35deg) rotateY(180deg);
  }
  85% {
    opacity: 0.32;
  }
  100% {
    opacity: 0;
    transform: translate3d(-6vw, 145vh, 0) rotate(-110deg) rotateY(340deg);
  }
}
@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(12);
  }
}
@keyframes intro-line {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  55% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1.7);
    opacity: 0;
  }
}
@keyframes intro-open {
  to {
    transform: translateY(var(--to));
  }
}
@keyframes intro-done {
  to {
    visibility: hidden;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  :root {
    --emblem: min(40vh, 84vw, 360px);
    --eyebrow-ls: 0.3em;
  }
  @supports (height: 1svh) {
    :root {
      --emblem: min(40svh, 84vw, 360px);
    }
  }
  .topbar {
    font-size: 0.6rem;
    letter-spacing: 0.32em;
  }
  .footer {
    justify-content: space-between;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }
  .footer-rule {
    display: none;
  }
  .headline {
    font-size: clamp(3rem, 16.5vw, 5.4rem);
  }
  .eyebrow {
    gap: 0.8em;
    font-size: 0.58rem;
    white-space: nowrap;
  }
  .eyebrow::before,
  .eyebrow::after {
    width: 18px;
  }
  .ring-text {
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  :root {
    --eyebrow-ls: 0.22em;
  }
  .eyebrow::before,
  .eyebrow::after {
    display: none;
  }
  .footer {
    flex-direction: column;
    gap: 9px;
  }
}
@media (max-height: 560px) and (orientation: landscape) {
  :root {
    --emblem: min(62vh, 40vw, 380px);
  }
  @supports (height: 1svh) {
    :root {
      --emblem: min(62svh, 40vw, 380px);
    }
  }
  .stage {
    flex-direction: row;
    gap: 5vw;
    padding: 64px 7vw 58px;
  }
  .emblem {
    margin: 0;
    flex-shrink: 0;
  }
  .copy {
    align-items: flex-start;
    text-align: left;
  }
  .headline {
    justify-content: flex-start;
    font-size: clamp(2.8rem, 9vw, 5.5rem);
  }
}
