/* fullucuz · coming soon
 * tone: utilitarian deal · paper: warm-stone · accent: price-tag orange
 */

:root {
  --color-paper: oklch(0.97 0.012 75);
  --color-paper-2: oklch(0.94 0.02 60);
  --color-ink: oklch(0.22 0.025 50);
  --color-ink-soft: oklch(0.42 0.02 50);
  --color-accent: oklch(0.62 0.19 42);
  --color-accent-deep: oklch(0.48 0.16 38);
  --color-wash: oklch(0.9 0.05 55);
  --color-focus: oklch(0.55 0.17 42);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-display: clamp(2.4rem, 7vw, 4.75rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;

  --radius: 4px;
  --rule: 1.5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--color-accent);
}

.atmosphere__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 85% 15%, var(--color-wash), transparent 55%),
    radial-gradient(70% 60% at 10% 90%, oklch(0.92 0.03 42), transparent 50%),
    linear-gradient(160deg, var(--color-paper) 0%, var(--color-paper-2) 100%);
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.atmosphere__tags {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tag {
  transform-origin: center;
  animation: tag-drift 18s var(--ease-in-out) infinite alternate;
}

.tag--b {
  animation-duration: 22s;
  animation-delay: -4s;
}

.tag--c {
  animation-duration: 26s;
  animation-delay: -8s;
}

@keyframes tag-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-18px, 22px, 0) rotate(-3deg);
  }
}

/* —— Masthead —— */
.masthead {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) clamp(var(--space-md), 4vw, var(--space-2xl));
  animation: rise var(--dur-slow) var(--ease-out) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.brand__word span {
  color: var(--color-accent);
}

.masthead__status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: var(--rule) solid color-mix(in oklch, var(--color-ink) 14%, transparent);
  background: color-mix(in oklch, var(--color-paper) 78%, transparent);
  backdrop-filter: blur(8px);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--color-accent);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(var(--space-xl), 5vw, var(--space-3xl));
  width: min(1120px, 100%);
  margin-inline: auto;
  padding:
    clamp(var(--space-xl), 6vh, var(--space-3xl))
    clamp(var(--space-lg), 5vw, var(--space-2xl));
  min-height: 0;
}

.hero__copy {
  min-width: 0;
  width: 100%;
  max-width: 34rem;
  animation: rise var(--dur-slow) var(--ease-out) 120ms both;
}

.hero__title {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: var(--text-display);
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  min-width: 0;
}

.hero__title-line {
  display: block;
  color: var(--color-accent);
}

.hero__lead {
  margin: 0 0 var(--space-xl);
  max-width: 34ch;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: none;
  border-radius: var(--radius);
  background: var(--color-ink);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  background: var(--color-accent-deep);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.hero__note {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
}

/* —— Etiket (dominant visual) —— */
.hero__stage {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  animation: rise var(--dur-slow) var(--ease-out) 220ms both;
}

.etiket {
  width: min(100%, 420px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 28px 40px color-mix(in oklch, var(--color-accent-deep) 28%, transparent));
}

.etiket text {
  font-family: var(--font-body);
}

.etiket text.etiket__display {
  font-family: var(--font-display);
}

.etiket__shape {
  transform-origin: 210px 230px;
  animation: etiket-sway 7s var(--ease-in-out) infinite alternate;
}

@keyframes etiket-sway {
  from {
    transform: rotate(-8deg) translate3d(0, 0, 0);
  }
  to {
    transform: rotate(-5deg) translate3d(6px, -10px, 0);
  }
}

/* —— Footer —— */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) clamp(var(--space-md), 4vw, var(--space-2xl));
  border-top: var(--rule) solid color-mix(in oklch, var(--color-ink) 10%, transparent);
  font-size: var(--text-xs);
  color: var(--color-ink-soft);
  animation: rise var(--dur-slow) var(--ease-out) 320ms both;
}

.foot__brand,
.foot__copy {
  margin: 0;
}

.foot__brand {
  font-weight: 600;
  color: var(--color-ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tag,
  .status-dot,
  .etiket__shape,
  .masthead,
  .hero__copy,
  .hero__stage,
  .foot {
    animation: none;
  }

  .masthead,
  .hero__copy,
  .hero__stage,
  .foot {
    opacity: 1;
    transform: none;
  }

  .etiket__shape {
    transform: rotate(-8deg);
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
  }

  .hero__copy {
    max-width: 28rem;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__cta {
    align-items: center;
  }

  .etiket {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero__stage {
    justify-content: center;
  }

  .masthead__status {
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 414px) {
  .hero__title {
    font-size: clamp(2.1rem, 11vw, 2.75rem);
  }

  .brand__word {
    font-size: 1.05rem;
  }
}
