/*
 * OTLY 869 — GLOBAL STYLES
 * Auto-loaded by otly-elementor plugin
 * Style: Minimal Dark Luxury / Editorial Streetwear
 */

/* Fonts loaded via otly-google-fonts handle (no @import — avoids Elementor panel hang). */

/* ── DESIGN TOKENS (from design-system.md) ── */
:root {
  --otly-bg:          #fbf9f2;
  --otly-surface:     #fbf9f2;
  --otly-surface-2:   #ffffff;
  --otly-surface-3:   #f6f4ec;
  --otly-surface-4:   #f0eee7;
  --otly-surface-5:   #eae8e1;

  --otly-primary:     #000000;
  --otly-on-primary:  #ffffff;
  --otly-secondary:   #5f5e5e;

  --otly-text:        #1b1c18;
  --otly-text-2:      #5f5e5e;
  --otly-text-3:      #888E95;
  --otly-text-variant:#4c4546;

  --otly-border:      rgba(207,196,197,0.50);
  --otly-border-2:    #cfc4c5;

  --otly-shadow-sm:   0 2px 8px rgba(27,28,24,0.05);
  --otly-shadow-md:   0 8px 32px rgba(27,28,24,0.09);
  --otly-shadow-lg:   0 24px 64px rgba(27,28,24,0.13);

  /* Spacing — 4px grid */
  --otly-sp-4:   4px;
  --otly-sp-8:   8px;
  --otly-sp-12:  12px;
  --otly-sp-16:  16px;
  --otly-sp-24:  24px;
  --otly-sp-32:  32px;
  --otly-sp-48:  48px;
  --otly-sp-64:  64px;
  --otly-sp-96:  96px;
  --otly-sp-128: 128px;

  /* Archive / premium ecommerce */
  --otly-archive-beige: #f5f5f0;
  --otly-charcoal:      #2d2d2d;
  --otly-olive:         #5b634b;
  --otly-font-serif:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* ── SCOPED RESET (only inside .otly elements) ── */
.otly *, .otly *::before, .otly *::after { box-sizing: border-box; }
.otly img { display: block; max-width: 100%; }
.otly a   { text-decoration: none; color: inherit; }
.otly ul  { list-style: none; padding: 0; margin: 0; }
.otly button { font-family: inherit; cursor: pointer; border: none; background: none; }
.otly .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

/* ── OTLY SECTION BASE ── */
.otly {
  font-family: 'Inter', sans-serif;
  color: var(--otly-text);
  background: var(--otly-surface);
  -webkit-font-smoothing: antialiased;
}
.otly-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--otly-sp-32);
}
.otly-container--wide {
  max-width: 1440px;
}
@media (max-width: 768px) {
  .otly-container { padding: 0 var(--otly-sp-24); }
}
@media (max-width: 480px) {
  .otly-container { padding: 0 var(--otly-sp-16); }
}

.otly-headline { font-family: 'Space Grotesk', sans-serif; }

/* ── BUTTONS ── */
.otly-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--otly-sp-8);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fff;
  background: var(--otly-primary);
  padding: 16px 28px;
  transition: transform .2s ease, background .2s ease;
  cursor: pointer;
  border: 1px solid var(--otly-primary);
}
.otly-btn-primary:hover { transform: translateY(-1px); background: var(--otly-text); }

.otly-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--otly-sp-8);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--otly-primary);
  background: transparent;
  padding: 16px 28px;
  border: 1px solid var(--otly-primary);
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
}
.otly-btn-ghost:hover { background: var(--otly-primary); color: #fff; }

/* ── ICONS / EYEBROW ── */
.otly-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--otly-secondary);
  margin-bottom: var(--otly-sp-16);
}

/* ── SECTION TITLES ── */
.otly-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--otly-text);
}
.otly-title-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--otly-text);
}

/* ── REVEAL ── */
.otly-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.otly-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Elementor editor: always show content (reveal disabled in canvas) */
.elementor-editor-active .otly-reveal,
.elementor-editor-preview .otly-reveal {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .otly-reveal { opacity: 1; transform: none; transition: none; }
  .otly-marquee-track { animation: none !important; }
}
