/* ─────────────────────────────────────────────────────────────
   Style Firefly — coming-soon landing
   Parisian editorial: ivory, charcoal, saffron firefly accent.
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
  --ivory:      #f4efe6;
  --ivory-2:    #ebe4d6;
  --ink:        #1a1814;
  --ink-soft:   #3a362f;
  --ink-faint:  #8a857b;
  --line:       #d8cfbd;
  --accent:     #c89b3c;  /* firefly saffron */
  --accent-dim: #b08531;

  --serif: 'Cormorant Garamond', 'Didot', 'Bodoni MT', Georgia, serif;
  --sans:  'Inter', -apple-system, system-ui, sans-serif;

  --gutter: clamp(24px, 5vw, 72px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ivory); color: var(--ink); }
body {
  font-family: var(--sans); font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
button { font: inherit; cursor: pointer; }

/* ── Top bar ────────────────────────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  mix-blend-mode: difference; color: #fff;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar__mark {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  letter-spacing: 0; text-transform: none; font-weight: 400;
}
.topbar__mark em { font-style: normal; color: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 28px; font-weight: 400; }
.topbar__dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 8px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.45; } 50% { opacity: 1; } }

/* ── Palette picker ─────────────────────────────────────────── */
.palette {
  position: fixed; top: 80px; right: var(--gutter); z-index: 40;
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-faint);
}
.palette__label { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 4px; }
.palette__swatches { display: flex; flex-direction: column; gap: 6px; }
.palette__sw {
  width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer; padding: 0; transition: transform 0.2s;
  position: relative;
}
.palette__sw:hover { transform: scale(1.15); }
.palette__sw[aria-pressed="true"]::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--ink); pointer-events: none;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px var(--gutter) 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }

.hero__eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ''; height: 1px; background: var(--line); flex: 1; max-width: 80px;
}
.hero__eyebrow::before { max-width: 0; }

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin-top: 28px;
  max-width: 14ch;
}
.hero__headline em {
  font-style: italic; font-weight: 300; color: var(--accent);
}
.hero__headline .soft { color: var(--ink-soft); }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 48px; flex-wrap: wrap; margin-top: 80px;
}
.hero__tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px);
  color: var(--ink-soft); max-width: 36ch; line-height: 1.4; font-weight: 300;
}
.hero__meta {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint); text-align: right;
}
.hero__meta div + div { margin-top: 6px; }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .line {
  width: 1px; height: 40px; background: var(--ink-faint);
  transform-origin: top; animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ── Marquee ────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0; overflow: hidden; position: relative;
  background: var(--ivory);
}
.marquee__track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: slide 40s linear infinite;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(28px, 4.5vw, 52px); font-weight: 300;
  color: var(--ink);
}
.marquee__track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee__track .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section scaffolding ────────────────────────────────────── */
.section { padding: 120px var(--gutter); position: relative; }
.section__head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 72px;
  align-items: baseline;
}
.section__num {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-faint);
}
.section__title {
  font-family: var(--serif); font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95; letter-spacing: -0.015em; font-weight: 300;
}
.section__title em { font-style: italic; color: var(--accent); }
.section__sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px); color: var(--ink-soft); margin-top: 20px;
  max-width: 48ch; line-height: 1.5; font-weight: 300;
}

@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Lookbook ───────────────────────────────────────────────── */
.lookbook { padding-left: 0; padding-right: 0; }
.lookbook__head { padding: 0 var(--gutter); margin-bottom: 48px; }
.lookbook__hint {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-faint);
  display: flex; align-items: center; gap: 10px;
}
.lookbook__hint svg { opacity: 0.6; }

.lookbook__track {
  display: flex; gap: 24px;
  padding: 0 var(--gutter) 60px;
  cursor: grab;
  user-select: none;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.lookbook__track::-webkit-scrollbar { display: none; }
.lookbook__track.--dragging { cursor: grabbing; }
.lookbook__track.--dragging * { pointer-events: none; }

.look {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 420px);
  display: flex; flex-direction: column; gap: 14px;
}
.look:nth-child(even) { margin-top: 48px; }
.look__frame {
  aspect-ratio: 3 / 4;
  overflow: hidden; position: relative;
  background: var(--ivory-2);
}
.look__img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.look:hover .look__img { transform: scale(1.04); }
.look__num {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em;
  color: #fff; mix-blend-mode: difference; z-index: 2;
}
.look__meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
}
.look__title {
  font-family: var(--serif); font-size: 18px; font-style: italic; font-weight: 400;
}
.look__sub {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* ── Pieces (featured products) ─────────────────────────────── */
.pieces__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width: 1100px) { .pieces__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .pieces__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .pieces__grid { grid-template-columns: 1fr 1fr; } }

.tile { position: relative; cursor: pointer; }
.tile__frame {
  aspect-ratio: 4 / 5; overflow: hidden; position: relative;
  background: var(--ivory-2);
}
.tile__img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s;
}
.tile__img--alt {
  position: absolute; inset: 0; opacity: 0;
  transform: scale(1.06);
}
.tile:hover .tile__img { opacity: 0; transform: scale(1.06); }
.tile:hover .tile__img--alt { opacity: 1; transform: scale(1); }

.tile__tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; background: var(--ivory); padding: 4px 8px;
  color: var(--ink-soft);
}
.tile__meta { margin-top: 14px; }
.tile__name {
  font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 400;
}
.tile__desc {
  font-family: var(--sans); font-size: 12px; color: var(--ink-faint);
  letter-spacing: 0.08em; margin-top: 3px;
}
.tile__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink);
  transform: translateY(4px); opacity: 0; transition: all 0.4s;
}
.tile:hover .tile__cta { transform: translateY(0); opacity: 1; }
.tile__cta svg { transition: transform 0.3s; }
.tile:hover .tile__cta svg { transform: translateX(4px); }

/* ── Editor picks ───────────────────────────────────────────── */
.picks {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
}
@media (max-width: 900px) { .picks { grid-template-columns: 1fr; gap: 60px; } }
.pick__frame {
  aspect-ratio: 4 / 5; margin-bottom: 24px; overflow: hidden;
  background: var(--ivory-2);
}
.pick__frame svg, .pick__frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pick__kicker {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.pick__title {
  font-family: var(--serif); font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1; font-weight: 400; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pick__title em { font-style: italic; }
.pick__excerpt {
  font-family: var(--serif); font-style: italic; font-size: 16px;
  color: var(--ink-soft); line-height: 1.55; font-weight: 300;
}
.pick__by {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 20px;
}

/* ── Press ──────────────────────────────────────────────────── */
.press {
  padding: 80px var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.press__label {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 36px;
}
.press__logos {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(28px, 5vw, 72px); flex-wrap: wrap;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  color: var(--ink-soft);
}
.press__logo {
  font-size: clamp(18px, 2vw, 26px); opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: -0.01em;
}
.press__logo:hover { opacity: 1; color: var(--ink); }
.press__logo--bold { font-family: var(--sans); font-style: normal; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; font-size: clamp(13px, 1.3vw, 15px); }
.press__logo--script { font-family: var(--serif); font-style: italic; }

/* ── Newsletter ─────────────────────────────────────────────── */
.newsletter {
  padding: 140px var(--gutter);
  background: var(--ink); color: var(--ivory);
  text-align: center;
  position: relative; overflow: hidden;
}
.newsletter__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.7;
}
.newsletter__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.newsletter__kicker {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.newsletter__title {
  font-family: var(--serif); font-size: clamp(40px, 6vw, 80px);
  line-height: 1; letter-spacing: -0.02em; font-weight: 300;
  margin-bottom: 24px;
}
.newsletter__title em { font-style: italic; color: var(--accent); }
.newsletter__body {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--ivory); opacity: 0.7;
  margin-bottom: 48px; line-height: 1.5; font-weight: 300;
}
.newsletter__form {
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid color-mix(in oklch, var(--ivory) 30%, transparent);
  max-width: 500px; margin: 0 auto;
  transition: border-color 0.3s;
}
.newsletter__form:focus-within { border-color: var(--accent); }
.newsletter__input {
  flex: 1; background: none; border: none; outline: none;
  padding: 18px 4px; color: var(--ivory);
  font-family: var(--sans); font-size: 15px; letter-spacing: 0.02em;
}
.newsletter__input::placeholder { color: color-mix(in oklch, var(--ivory) 40%, transparent); }
.newsletter__button {
  background: none; border: none; color: var(--ivory);
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; padding: 18px 0 18px 20px;
  transition: color 0.3s; display: flex; align-items: center; gap: 10px;
}
.newsletter__button:hover { color: var(--accent); }
.newsletter__button svg { transition: transform 0.3s; }
.newsletter__button:hover svg { transform: translateX(4px); }

.newsletter__small {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ivory); opacity: 0.45;
  margin-top: 32px;
}
.newsletter__success {
  display: none; font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--accent); margin-top: 24px;
  padding: 20px 0; border-top: 1px solid color-mix(in oklch, var(--accent) 35%, transparent);
}
.newsletter.--sent .newsletter__form { display: none; }
.newsletter.--sent .newsletter__success { display: block; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 60px var(--gutter) 40px;
  background: var(--ink); color: color-mix(in oklch, var(--ivory) 55%, transparent);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--ivory); }
.footer__mark { font-family: var(--serif); font-style: italic;
  font-size: 18px; text-transform: none; letter-spacing: 0;
  color: var(--ivory); font-weight: 400; }

/* ── Placeholder SVGs ───────────────────────────────────────── */
.placeholder { width: 100%; height: 100%; display: block; }
