/* ═══════════════════════════════════════════════════════════════
   LOOKBOOK MAGAZINE — MODERN CHIC EDITORIAL DESIGN
   Aesthetic: High-end Interior Lookbook / Design Digest
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --mag-bg: #faf9f6;
  --mag-surface: #ffffff;
  --mag-surface-soft: #f4f1ea;
  --mag-surface-dark: #121316;
  
  --mag-primary: #1a1a1c;
  --mag-secondary: #5e5d63;
  --mag-muted: #8e8d94;
  --mag-border: rgba(26, 26, 28, 0.08);
  --mag-border-strong: rgba(26, 26, 28, 0.16);
  
  --mag-accent: #9e6d42;
  --mag-accent-soft: #ebdacf;
  --mag-accent-glow: rgba(158, 109, 66, 0.12);
  
  --mag-font-head: 'Cormorant Garamond', Georgia, serif;
  --mag-font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  --mag-radius-sm: 4px;
  --mag-radius-md: 10px;
  --mag-radius-pill: 999px;
  
  --mag-shadow: 0 4px 24px rgba(18, 19, 22, 0.05);
  --mag-shadow-hover: 0 16px 40px rgba(18, 19, 22, 0.10);
  
  --mag-container: 1220px;
  --mag-narrow: 820px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--mag-font-body);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--mag-primary);
  background: var(--mag-bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all 0.25s ease; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.mag-shell { max-width: var(--mag-container); margin: 0 auto; padding: 0 28px; }
.mag-shell-narrow { max-width: var(--mag-narrow); margin: 0 auto; padding: 0 28px; }

/* ── Top Header ────────────────────────────────────────────── */
.mag-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mag-border);
  height: 72px;
}
.mag-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.mag-brand-cluster {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.mag-brand-title {
  font-family: var(--mag-font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--mag-primary);
}
.mag-edition-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--mag-surface-soft);
  color: var(--mag-accent);
  padding: 4px 10px;
  border-radius: var(--mag-radius-pill);
}
.mag-nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mag-nav-link {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--mag-secondary);
  padding: 8px 16px;
  border-radius: var(--mag-radius-pill);
}
.mag-nav-link:hover, .mag-nav-link.active {
  color: var(--mag-primary);
  background: var(--mag-surface-soft);
}
.mag-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.mag-burger span {
  width: 24px;
  height: 2px;
  background: var(--mag-primary);
  transition: all 0.3s;
}

/* ── Split Hero ────────────────────────────────────────────── */
.mag-hero-section {
  padding: 56px 0 40px;
}
.mag-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.mag-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mag-accent);
  margin-bottom: 14px;
}
.mag-hero-title {
  font-family: var(--mag-font-head);
  font-size: 48px;
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.mag-hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mag-secondary);
  margin-bottom: 28px;
}
.mag-hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--mag-muted);
  font-weight: 500;
}
.mag-spotlight-frame {
  position: relative;
  border-radius: var(--mag-radius-md);
  overflow: hidden;
  box-shadow: var(--mag-shadow-hover);
  background: var(--mag-surface);
}
.mag-spotlight-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mag-spotlight-frame:hover .mag-spotlight-img {
  transform: scale(1.03);
}
.mag-spotlight-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--mag-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mag-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ── Curator Statement ─────────────────────────────────────── */
.mag-curator-note {
  background: var(--mag-surface-soft);
  border-radius: var(--mag-radius-md);
  padding: 36px 40px;
  margin: 30px 0 50px;
  position: relative;
}
.mag-curator-quote {
  font-family: var(--mag-font-head);
  font-size: 24px;
  line-height: 1.45;
  font-style: italic;
  color: var(--mag-primary);
  margin-bottom: 16px;
}
.mag-curator-text {
  font-size: 15px;
  color: var(--mag-secondary);
  line-height: 1.75;
}

/* ── Lookbook Grid ─────────────────────────────────────────── */
.mag-lookbook-section {
  padding: 40px 0 60px;
}
.mag-section-header {
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--mag-border);
  padding-bottom: 20px;
}
.mag-section-title {
  font-family: var(--mag-font-head);
  font-size: 34px;
  font-weight: 600;
}
.mag-section-desc {
  color: var(--mag-secondary);
  font-size: 14.5px;
}
.mag-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mag-card {
  background: var(--mag-surface);
  border-radius: var(--mag-radius-md);
  overflow: hidden;
  box-shadow: var(--mag-shadow);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mag-border);
}
.mag-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mag-shadow-hover);
  border-color: var(--mag-border-strong);
}
.mag-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mag-surface-soft);
}
.mag-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mag-card:hover .mag-card-img {
  transform: scale(1.05);
}
.mag-card-index {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mag-primary);
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 9px;
  border-radius: var(--mag-radius-pill);
}
.mag-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mag-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mag-accent);
  margin-bottom: 8px;
}
.mag-card-heading {
  font-family: var(--mag-font-head);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--mag-primary);
}
.mag-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mag-secondary);
  margin-bottom: 20px;
  flex: 1;
}
.mag-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--mag-border);
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
}
.mag-read-link {
  color: var(--mag-accent);
}
.mag-card:hover .mag-read-link {
  text-decoration: underline;
}

/* ── Guide / SEO Section ───────────────────────────────────── */
.mag-guide-section {
  padding: 50px 0;
  border-top: 1px solid var(--mag-border);
}
.mag-guide-box {
  background: var(--mag-surface);
  border-radius: var(--mag-radius-md);
  padding: 40px;
  box-shadow: var(--mag-shadow);
  border: 1px solid var(--mag-border);
}
.mag-guide-title {
  font-family: var(--mag-font-head);
  font-size: 28px;
  margin-bottom: 18px;
}
.mag-guide-text {
  font-size: 15px;
  color: var(--mag-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.mag-tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.mag-tag-chip {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--mag-radius-pill);
  background: var(--mag-surface-soft);
  color: var(--mag-secondary);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.mag-tag-chip:hover {
  border-color: var(--mag-accent);
  color: var(--mag-primary);
  background: var(--mag-surface);
}

/* ── Product Page ──────────────────────────────────────────── */
.mag-article-hero {
  padding: 40px 0 24px;
}
.mag-article-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mag-accent);
}
.mag-article-title {
  font-family: var(--mag-font-head);
  font-size: 44px;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 24px;
}
.mag-main-frame {
  border-radius: var(--mag-radius-md);
  overflow: hidden;
  box-shadow: var(--mag-shadow-hover);
  margin-bottom: 36px;
  background: var(--mag-surface-soft);
}
.mag-main-frame img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}
.mag-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mag-muted);
  margin-bottom: 24px;
}
.mag-crumb a:hover { color: var(--mag-primary); }

.mag-article-prose {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--mag-primary);
}
.mag-article-prose p { margin-bottom: 24px; }
.mag-lead-para {
  font-size: 18px;
  font-weight: 500;
  color: var(--mag-primary);
  line-height: 1.8;
}

/* Photo Mosaics */
.mag-mosaic-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}
.mag-mosaic-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.mag-mosaic-thumb {
  border-radius: var(--mag-radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mag-surface-soft);
  cursor: zoom-in;
}
.mag-mosaic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.mag-mosaic-thumb:hover img {
  transform: scale(1.04);
}

.mag-pullquote {
  font-family: var(--mag-font-head);
  font-size: 26px;
  line-height: 1.4;
  font-style: italic;
  padding: 28px 36px;
  border-left: 3px solid var(--mag-accent);
  background: var(--mag-surface-soft);
  border-radius: 0 var(--mag-radius-md) var(--mag-radius-md) 0;
  margin: 32px 0;
  color: var(--mag-primary);
}

/* Curator Product Box */
.mag-curator-box {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  background: var(--mag-surface);
  border: 1px solid var(--mag-border-strong);
  border-radius: var(--mag-radius-md);
  padding: 24px;
  margin: 40px 0;
  align-items: center;
  box-shadow: var(--mag-shadow);
}
.mag-curator-box-img {
  border-radius: var(--mag-radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.mag-curator-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mag-curator-box-name {
  font-family: var(--mag-font-head);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.mag-curator-box-desc {
  font-size: 13.5px;
  color: var(--mag-secondary);
  margin-bottom: 16px;
}
.mag-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mag-surface-dark);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: var(--mag-radius-pill);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: all 0.25s;
}
.mag-cta-btn:hover {
  background: var(--mag-accent);
  transform: translateY(-2px);
}

/* Related Lookbook Items */
.mag-more-section {
  padding: 60px 0 40px;
  border-top: 1px solid var(--mag-border);
  margin-top: 50px;
}

/* ── Footer ────────────────────────────────────────────────── */
.mag-footer {
  border-top: 1px solid var(--mag-border);
  background: var(--mag-surface);
  padding: 48px 0 32px;
  margin-top: 60px;
  font-size: 13.5px;
  color: var(--mag-secondary);
}
.mag-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mag-footer-brand {
  font-family: var(--mag-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--mag-primary);
}
.mag-footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.mag-footer-links a:hover { color: var(--mag-primary); }
.mag-footer-copy {
  font-size: 12px;
  color: var(--mag-muted);
  text-align: center;
  border-top: 1px solid var(--mag-border);
  padding-top: 20px;
}

/* ── Modal Lightbox ────────────────────────────────────────── */
.mag-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mag-modal.open { display: flex; }
.mag-modal-img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.mag-modal-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

.mag-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--mag-radius-pill);
  background: var(--mag-surface);
  border: 1px solid var(--mag-border-strong);
  box-shadow: var(--mag-shadow-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 90;
}
.mag-to-top.visible { opacity: 1; pointer-events: auto; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .mag-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .mag-card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mag-curator-box { grid-template-columns: 1fr; text-align: center; }
  .mag-curator-box-img { width: 140px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .mag-card-grid { grid-template-columns: 1fr; }
  .mag-mosaic-2, .mag-mosaic-3 { grid-template-columns: 1fr; }
  .mag-hero-title { font-size: 34px; }
  .mag-article-title { font-size: 30px; }
  .mag-nav-menu { display: none; }
  .mag-nav-menu.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--mag-surface);
    padding: 20px;
    border-bottom: 1px solid var(--mag-border);
  }
  .mag-burger { display: flex; }
  .mag-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
