/* ============================================
   BAREly — Luxury Swimwear Landing Page
   Color: Obsidian / Sand / Gold / Ocean Blue
   ============================================ */

:root {
  --obsidian: #0A0A0A;
  --obsidian-light: #141414;
  --obsidian-mid: #1E1E1E;
  --sand: #E8D5B7;
  --sand-muted: #B8A48A;
  --gold: #C8A96E;
  --gold-bright: #D4B87A;
  --ocean: #4A90A4;
  --white: #F5F0EB;
  --cream: #FAF7F2;
  --text-muted: rgba(232, 213, 183, 0.55);
  --border: rgba(200, 169, 110, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--obsidian);
  color: var(--sand);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 100%);
  backdrop-filter: blur(0px);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--white);
}

.nav-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand-muted);
}

.nav-season {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 4px 10px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(74, 144, 164, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 30% 20%, rgba(200, 169, 110, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-word { display: block; }
.hero-word--italic { font-style: italic; color: var(--sand); }

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--sand-muted);
  max-width: 340px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--obsidian-light);
}

.frame-inner {
  position: relative;
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.frame-label-top, .frame-label-right, .frame-label-bottom {
  position: absolute;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.frame-label-top { top: -20px; left: 0; }
.frame-label-right { right: -60px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.frame-label-bottom { bottom: -20px; right: 0; }

.frame-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.silhouette-svg { width: 120px; height: 180px; }

.frame-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand-muted);
}
.frame-text-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* Decorative elements */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.deco-circle--1 { width: 300px; height: 300px; top: -50px; right: -80px; }
.deco-circle--2 { width: 150px; height: 150px; bottom: -40px; left: -40px; border-color: rgba(200,169,110,0.1); }
.deco-line--v, .deco-line--h {
  position: absolute;
  background: var(--border);
}
.deco-line--v { width: 1px; height: 100%; top: 0; right: -30px; }
.deco-line--h { width: 100%; height: 1px; left: 0; bottom: -30px; }

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 120px 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(200,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto-label {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}

.manifesto-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  max-width: 860px;
  margin: 0 auto 56px;
}

.manifesto-origin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.manifesto-places {
  color: var(--sand-muted);
  font-style: normal;
}

/* ---- COLLECTIONS ---- */
.collections {
  padding: 120px 80px;
}

.collections-header {
  margin-bottom: 72px;
}

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.collection-card {
  background: var(--obsidian);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
  cursor: default;
}
.collection-card:hover { background: var(--obsidian-light); }

.card-visual {
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-bottom: 1px solid var(--border);
}

.card-silhouette svg { width: 80px; height: auto; }

.card-info {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}

.card-desc {
  font-size: 0.8rem;
  color: var(--sand-muted);
  line-height: 1.6;
  flex: 1;
}

.card-meta {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---- EDITORIAL ---- */
.editorial {
  padding: 120px 80px;
  border-top: 1px solid var(--border);
}

.editorial-label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 60px;
}

.label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.editorial-pieces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 2px;
}

.editorial-piece {
  background: var(--obsidian-mid);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.editorial-piece:hover { background: var(--obsidian-light); }

.editorial-piece::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  pointer-events: none;
}

/* Alternating patterns */
.editorial-piece:nth-child(1) { background: #111318; }
.editorial-piece:nth-child(2) { background: #13111a; }
.editorial-piece:nth-child(3) { background: #0d1315; }
.editorial-piece:nth-child(4) { background: #151210; }

.piece-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.piece-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.editorial-note {
  margin-top: 40px;
  text-align: center;
}
.editorial-note p {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- SILHOUETTE SECTION ---- */
.silhouette-section {
  padding: 120px 80px;
  border-top: 1px solid var(--border);
  position: relative;
}

.silhouette-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(74,144,164,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.silhouette-inner {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.silh-label {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.silh-headline {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
}

.silh-body {
  font-size: 0.82rem;
  color: var(--sand-muted);
  line-height: 1.7;
}

.big-silhouette { width: 100%; height: auto; }

.silh-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--border);
  padding-left: 40px;
}

.silh-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

.detail-value {
  font-size: 0.85rem;
  color: var(--sand);
}

/* ---- CLOSING ---- */
.closing {
  padding: 140px 80px 120px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 0 auto 60px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 1rem;
  color: var(--sand-muted);
  max-width: 500px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.closing-cta {
  margin-bottom: 48px;
}

.cta-label {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.cta-note {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.closing-destination {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 80px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer-info {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 2;
}

.footer-season {
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.footer-note {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 2;
}

.footer-copy {
  font-size: 0.65rem;
  color: rgba(200,169,110,0.3);
  letter-spacing: 0.1em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .silhouette-inner { grid-template-columns: 1fr; gap: 48px; }
  .big-silhouette { max-width: 300px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-info, .footer-note { text-align: left; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-inner { padding: 100px 48px 80px; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .hero-inner { padding: 100px 32px 60px; }
  .hero-headline { font-size: 3.8rem; }
  .manifesto, .collections, .editorial, .silhouette-section, .closing, .footer { padding: 80px 32px; }
  .collections-grid { grid-template-columns: 1fr; }
  .editorial-pieces { grid-template-columns: 1fr; grid-template-rows: repeat(4, 180px); }
  .silh-detail { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 32px; flex-direction: row; flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 3rem; }
  .manifesto-quote { font-size: 1.5rem; }
  .silh-headline { font-size: 1.6rem; }
  .closing-headline { font-size: 1.8rem; }
}
