/* FemQuity — editorial soft-futurist */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0608;
  --bg-soft: #120a0e;
  --ivory: #fbf4f0;
  --ivory-dim: #f0e6e0;
  --ink: #0a0608;
  --ink-dim: rgba(10,6,8,.62);
  --text-dim: rgba(251,244,240,.64);
  --text-faint: rgba(251,244,240,.36);
  --rule: rgba(251,244,240,.12);
  --rule-ink: rgba(10,6,8,.14);

  --pink: #f06b8f;
  --rose: #e85a5a;
  --peach: #f0b87a;
  --blush: #f4a8b8;

  --gradient: linear-gradient(100deg, #f06b8f 0%, #ee7c7c 38%, #f0a07a 72%, #f0c48a 100%);
  --gradient-soft: linear-gradient(100deg, rgba(240,107,143,.22) 0%, rgba(238,124,124,.18) 50%, rgba(240,196,138,.18) 100%);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Geist Mono', 'SF Mono', Menlo, monospace;

  --density: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(240,107,143,.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(240,184,122,.05), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.section {
  padding: calc(120px * var(--density)) 0;
  position: relative;
}
.section-tight { padding: calc(80px * var(--density)) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow.on-ivory { color: var(--ink-dim); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }

.display {
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 300;
}
.display em {
  font-style: italic;
  font-weight: 400;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  font-weight: 300;
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.body-lg {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 62ch;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #1a0810;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(251,244,240,.22);
  color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-ghost.on-ivory {
  border-color: rgba(10,6,8,.22); color: var(--ink);
}
.btn-ghost.on-ivory:hover { border-color: var(--rose); color: var(--rose); }

.btn .arrow {
  display: inline-block;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Section on ivory */
.on-ivory-bg {
  background: var(--ivory);
  color: var(--ink);
}
.on-ivory-bg h1, .on-ivory-bg h2, .on-ivory-bg h3 { color: var(--ink); }

/* Image placeholder */
.img-ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(240,107,143,.18) 0 1px,
      transparent 1px 9px),
    linear-gradient(160deg, rgba(240,107,143,.22), rgba(240,184,122,.18));
  color: var(--ivory);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,244,240,.7);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.img-ph.on-ivory {
  background:
    repeating-linear-gradient(135deg,
      rgba(10,6,8,.12) 0 1px,
      transparent 1px 9px),
    linear-gradient(160deg, rgba(240,107,143,.15), rgba(240,184,122,.12));
  color: rgba(10,6,8,.5);
}
.img-ph:hover { transform: scale(1.03); }

/* Divider */
.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
}
.rule.on-ivory { background: var(--rule-ink); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Word-rise */
.word-rise { display: inline-block; overflow: hidden; vertical-align: baseline; line-height: 1.02; }
.word-rise > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.word-rise.in > span { transform: translateY(0) !important; }

/* Marquee */
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee {
  display: flex;
  gap: 64px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

/* Orbit animations */
@keyframes orbit-a {
  0%   { transform: translate(-8%, 4%) scale(1); }
  33%  { transform: translate(6%, -6%) scale(1.04); }
  66%  { transform: translate(-4%, 8%) scale(.97); }
  100% { transform: translate(-8%, 4%) scale(1); }
}
@keyframes orbit-b {
  0%   { transform: translate(8%, -4%) scale(1); }
  33%  { transform: translate(-4%, 6%) scale(1.03); }
  66%  { transform: translate(6%, -8%) scale(.98); }
  100% { transform: translate(8%, -4%) scale(1); }
}
@keyframes orbit-c {
  0%   { transform: translate(0%, 8%) scale(1); }
  50%  { transform: translate(-6%, -4%) scale(1.05); }
  100% { transform: translate(0%, 8%) scale(1); }
}

/* Tweaks panel */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 300px;
  background: rgba(10,6,8,.92);
  border: 1px solid rgba(251,244,240,.14);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(20px);
  z-index: 1000;
  font-family: var(--sans);
  color: var(--ivory);
  display: none;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.tweaks.open { display: block; }
.tweaks h4 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.tweaks label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; font-family: var(--mono); letter-spacing: .05em; }
.tweaks .row { margin-bottom: 16px; }
.tweaks .swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweaks .swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.tweaks .swatch.active { border-color: var(--ivory); }
.tweaks select, .tweaks input[type=range] {
  width: 100%; background: rgba(251,244,240,.05); color: var(--ivory);
  border: 1px solid var(--rule); border-radius: 8px; padding: 8px; font-family: var(--mono); font-size: 12px;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,6,8,.8), rgba(10,6,8,0));
  backdrop-filter: blur(8px);
  transition: background .3s;
}
.nav.scrolled {
  background: rgba(10,6,8,.82);
  border-bottom: 1px solid var(--rule);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.nav-logo img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo .q { font-family: var(--sans); font-style: normal; font-weight: 600; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-dim); transition: color .25s; }
.nav-links a:hover { color: var(--ivory); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: inline-flex; gap: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em;
  border: 1px solid var(--rule); border-radius: 999px; overflow: hidden;
}
.lang-toggle button { padding: 6px 12px; color: var(--text-dim); }
.lang-toggle button.active { background: var(--ivory); color: var(--ink); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* Focus */
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

/* Selection */
::selection { background: var(--pink); color: var(--bg); }
