/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  background: #faf9f7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TYPOGRAPHY === */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* === UTILITY === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 520px;
  line-height: 1.7;
}
.divider {
  width: 60px;
  height: 2px;
  background: #1a1a1a;
  margin: 40px 0;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}
.nav-logo .logo-cool {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.12em;
  color: #1a1a1a;
}
.nav-logo .logo-slash {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: #c44d3f;
  margin: 0 1px;
}
.nav-logo .logo-curated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  align-self: center;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #c44d3f;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #1a1a1a; }
.nav-links a:hover::after { width: 100%; }
.nav-subscribe {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.3s;
}
.nav-subscribe:hover { background: #c44d3f; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: #1a1a1a; transition: 0.3s; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #faf9f7 0%, #f0ebe4 40%, #e8e0d6 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 77, 63, 0.06) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.hero-content {}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c44d3f;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid rgba(196, 77, 63, 0.2);
  border-radius: 2px;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c44d3f;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: #c44d3f;
}
.hero-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 32px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-primary:hover { background: #c44d3f; transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  padding: 16px 8px;
  transition: color 0.3s;
}
.btn-ghost:hover { color: #c44d3f; }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}
.hero-card {
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #e5e0d8;
  transition: transform 0.4s ease;
}
.hero-card:hover { transform: scale(1.02); }
.hero-card:first-child { grid-row: 1 / 3; }
.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}
.hero-card-overlay .card-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}
.hero-card-overlay .card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

/* === FEATURED PRODUCTS === */
.featured { padding: 120px 0; }
.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f0ebe4;
}
.product-body { padding: 20px; }
.product-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c44d3f;
  margin-bottom: 8px;
}
.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 16px;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-price {
  font-weight: 600;
  font-size: 1rem;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #999;
}
.product-rating .stars { color: #e8a849; letter-spacing: 1px; }

/* === COLLECTIONS === */
.collections {
  padding: 100px 0;
  background: #1a1a1a;
  color: #fff;
}
.collections .section-label { color: #777; }
.collections .section-subtitle { color: #999; }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.collection-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #2a2a2a;
  cursor: pointer;
}
.collection-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  transition: background 0.4s;
}
.collection-card:hover::after {
  background: linear-gradient(to top, rgba(196,77,63,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.collection-card:hover .collection-img { transform: scale(1.05); }
.collection-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 1;
}
.collection-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.collection-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}
.collection-desc {
  font-size: 0.82rem;
  opacity: 0.7;
  line-height: 1.5;
}

/* === EDITORIAL === */
.editorial { padding: 120px 0; }
.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
.article-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.article-card-large .article-img {
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #e5e0d8;
}
.article-card-large .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.article-card-large:hover .article-img img { transform: scale(1.03); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.article-meta-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c44d3f;
  padding: 4px 10px;
  background: rgba(196, 77, 63, 0.08);
  border-radius: 2px;
}
.article-meta-date {
  font-size: 0.78rem;
  color: #999;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.article-card:hover .article-title { color: #c44d3f; }
.article-card-large .article-title { font-size: 1.8rem; }
.article-excerpt {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.7;
}
.article-sidebar { display: flex; flex-direction: column; gap: 32px; }
.article-card-small {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  cursor: pointer;
}
.article-card-small .article-thumb {
  width: 120px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  background: #e5e0d8;
  flex-shrink: 0;
}
.article-card-small .article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card-small:hover .article-thumb img { transform: scale(1.05); }
.article-card-small .article-title { font-size: 1rem; }
.article-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  margin-bottom: 6px;
}

/* === NEWSLETTER === */
.newsletter {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f0ea 0%, #ebe4db 100%);
}
.newsletter-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.newsletter .section-title { margin-bottom: 12px; }
.newsletter .section-subtitle {
  margin: 0 auto 40px;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 2px;
  background: #fff;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-input:focus { border-color: #c44d3f; }
.newsletter-input::placeholder { color: #bbb; }
.newsletter-btn {
  background: #1a1a1a;
  color: #fff;
  padding: 16px 32px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: #c44d3f; }
.newsletter-note {
  font-size: 0.75rem;
  color: #999;
  margin-top: 16px;
}

/* === FOOTER === */
.footer {
  padding: 80px 0 40px;
  background: #111;
  color: #999;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 0.85rem;
  color: #777;
  transition: color 0.3s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: #555;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: #c44d3f;
  color: #c44d3f;
}

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(250,249,247,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .collections-grid { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .newsletter-form { flex-direction: column; }
  .featured-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .article-card-small { grid-template-columns: 1fr; }
}
