/* ─── LeeNor Dikel | Queen of AI ─────────────────────────────────────────── */

:root {
  --ink: oklch(0.16 0.012 300);
  --ink-2: oklch(0.22 0.015 300);
  --ink-3: oklch(0.30 0.018 300);
  --cream: oklch(0.96 0.015 80);
  --cream-2: oklch(0.92 0.018 80);
  --cream-dim: oklch(0.78 0.02 80);
  --champagne: oklch(0.82 0.07 75);
  --rose: oklch(0.74 0.10 15);
  --iris: oklch(0.68 0.13 320);
  --line: color-mix(in oklch, var(--cream) 14%, transparent);
  --line-strong: color-mix(in oklch, var(--cream) 28%, transparent);
  --serif: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  --sans: "Manrope", "Söhne", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtle film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--champagne); color: var(--ink); }

/* ─── Type scale ─────────────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
  font-weight: 400;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
}

.italic { font-style: italic; font-weight: 300; }

.h-section {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 0;
}

.body-lg {
  font-size: 19px;
  line-height: 1.5;
  color: var(--cream-2);
  font-weight: 300;
  letter-spacing: 0.005em;
  max-width: 62ch;
  text-wrap: pretty;
}

.body-md {
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-2);
  font-weight: 300;
  text-wrap: pretty;
}

/* ─── Layout primitives ──────────────────────────────────────────────────── */

.shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 56px;
}

@media (max-width: 720px) {
  .shell { padding: 0 24px; }
}

section {
  position: relative;
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

section:first-of-type { border-top: 0; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 220ms cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.btn:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn .arrow {
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn.solid {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn.solid:hover {
  background: var(--champagne);
  border-color: var(--champagne);
}

.btn.small {
  padding: 11px 18px;
  font-size: 11px;
}

/* ─── Image placeholders (when user hasn't dropped images) ───────────────── */

.placeholder {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklch, var(--cream) 6%, transparent) 0 8px,
      transparent 8px 18px
    ),
    linear-gradient(180deg,
      color-mix(in oklch, var(--cream) 4%, transparent),
      color-mix(in oklch, var(--champagne) 8%, transparent));
  border: 1px solid var(--line);
}
.placeholder .ph-label {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  padding: 4px 8px;
  background: color-mix(in oklch, var(--ink) 60%, transparent);
  backdrop-filter: blur(6px);
  border-radius: 2px;
}

/* ─── Marquee ────────────────────────────────────────────────────────────── */

.marquee {
  display: flex;
  overflow: hidden;
  gap: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 88px;
  animation: marquee 38s linear infinite;
  padding-right: 88px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */

.divider-line {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--champagne);
  display: inline-block;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* hi-fi underline on inline links */
.link-u {
  position: relative;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 200ms;
}
.link-u:hover { color: var(--champagne); }

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  outline: none;
  resize: none;
  transition: border-color 200ms;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--champagne);
}
.field select option { background: var(--ink); color: var(--cream); }
.field textarea { min-height: 88px; }

/* light theme */
body.theme-light {
  background: var(--cream);
  color: var(--ink);
  --line: color-mix(in oklch, var(--ink) 12%, transparent);
  --line-strong: color-mix(in oklch, var(--ink) 26%, transparent);
  --cream-2: var(--ink-2);
  --cream-dim: var(--ink-3);
}
body.theme-light .btn { color: var(--ink); border-color: var(--line-strong); }
body.theme-light .btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
body.theme-light .btn.solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
body.theme-light .btn.solid:hover { background: var(--rose); border-color: var(--rose); color: var(--cream);}
body.theme-light ::selection { background: var(--ink); color: var(--cream); }
body.theme-light .placeholder .ph-label {
  background: color-mix(in oklch, var(--cream) 65%, transparent);
}
body.theme-light .field input,
body.theme-light .field textarea,
body.theme-light .field select { color: var(--ink); }
body.theme-light .field select option { background: var(--cream); color: var(--ink); }
