/* ============================================================
   Bijou & Beau Monde — Editorial Luxe Stylesheet v2
   By Anastasia Sterling-Crane
   A refined, magazine-editorial design: dramatic whitespace,
   gold accents, elegant serif typography, and the quiet
   confidence of old money.
   ============================================================ */

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

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:         #fcfaf8;
  --color-surface:    #ffffff;
  --color-text:       #141414;
  --color-text-muted: #7a7a7a;
  --color-accent:     #c9a94e;
  --color-accent-hov: #a88c3a;
  --color-accent-light: #f7f2e4;
  --color-border:     #e8e3da;
  --color-tag-bg:     #f5f2ec;
  --color-dark:       #1a1a1a;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Montserrat', 'Helvetica Neue', 'Arial', sans-serif;
  --font-meta:    'Montserrat', 'Helvetica Neue', 'Arial', sans-serif;

  --max-width: 1140px;
  --radius: 2px;
  --shadow-card: 0 2px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.25s;
}
.logo:hover {
  color: var(--color-accent);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}
.main-nav a {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.main-nav a:hover {
  color: var(--color-text);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-text);
}

/* ---------- Hero Image ---------- */
.hero-image {
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  position: relative;
}

.hero-image-placeholder {
  width: 100%;
  min-height: 60vh;
  max-height: 80vh;
  background: linear-gradient(160deg, #f5f2ec 0%, #ede6db 30%, #f9f6f0 60%, #f0ebe2 100%);
  border-bottom: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(ellipse at 75% 30%, rgba(201, 169, 78, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 25% 70%, rgba(201, 169, 78, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-image-placeholder .img-id {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-meta);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.9);
  padding: 0.3rem 0.8rem;
  z-index: 2;
}

.hero-image-inner {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.hero-image-icon {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.hero-image-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-image-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 6rem 0 5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--color-text);
}
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: 1.5rem auto 0;
}
.hero p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.7;
}

/* ---------- Section Titles ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  display: inline-block;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Page Headers ---------- */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.page-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hov);
  border-color: var(--color-accent-hov);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ---------- Placeholder Image ---------- */
.placeholder-image {
  background: #f9f6f0 !important;
  border: 1px solid var(--color-accent) !important;
  padding: 3.5rem 2rem !important;
  text-align: center !important;
  margin: 3rem 0 !important;
  font-family: var(--font-body) !important;
  color: var(--color-text-muted) !important;
  position: relative;
}
.placeholder-image .img-id {
  position: absolute;
  top: 0.7rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- Article Grid (cards) ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.article-card {
  background: var(--color-surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s;
}
.article-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.article-card-link {
  color: inherit;
  display: block;
}
.article-card-link:hover {
  color: inherit;
}

.article-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f2ec;
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.article-card:hover .article-card-image img {
  transform: scale(1.04);
}

.article-card-content {
  padding: 1.6rem;
}

.article-card-meta {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 0.6rem;
  align-items: center;
}

.article-category {
  font-family: var(--font-meta);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
}

.article-date {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
  line-height: 1.65;
}

/* ---------- Article List ---------- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 0;
  font-family: var(--font-meta);
}

.page-info {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Single Article ---------- */
.single-article {
  max-width: 720px;
  margin: 0 auto;
}

.article-header {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.article-hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-author {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.article-header h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--color-accent);
  margin: 1.25rem auto 0;
}

.article-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  font-family: var(--font-meta);
  font-size: 0.62rem;
  font-weight: 500;
  background: var(--color-tag-bg);
  padding: 0.35rem 1rem;
  border-radius: 1px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 300;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 3rem 0 1rem;
  font-weight: 600;
  text-align: center;
}
.article-body h2::before,
.article-body h2::after {
  content: ' — ';
  color: var(--color-accent);
  font-size: 1rem;
}
.article-body p {
  margin-bottom: 1.4rem;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.2rem;
  float: left;
  line-height: 0.75;
  padding-right: 0.6rem;
  padding-top: 0.08rem;
  color: var(--color-accent);
  font-weight: 700;
}

.related-articles {
  max-width: 720px;
  margin: 4rem auto 0;
}

/* ---------- About Page ---------- */
.about-content {
  max-width: 750px;
  margin: 0 auto;
}

.about-intro {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.about-image-placeholder {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #f5f2ec;
  border: 2px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-meta);
  font-size: 0.68rem;
  color: var(--color-text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04);
  position: relative;
}
.about-image-placeholder .img-id {
  position: absolute;
  bottom: 0.6rem;
  right: 0.8rem;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 1.5px;
}
.about-image-placeholder span {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.about-text p {
  margin-bottom: 1.1rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.75;
}

.about-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.mission-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mission-box:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}
.mission-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}
.mission-box p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 3.5rem 0;
  margin-top: 6rem;
}
.site-footer p {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.site-footer p.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  text-transform: none;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}
.footer-nav a {
  font-family: var(--font-meta);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: var(--color-accent);
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  color: var(--color-text-muted);
  padding: 4rem 0;
  font-style: italic;
  font-weight: 300;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-image-placeholder {
    min-height: 40vh;
    max-height: 55vh;
  }
  .hero-image-inner {
    padding: 2rem 1.5rem;
  }
  .hero-image-desc {
    font-size: 0.78rem;
  }
  .hero h1 { font-size: 2.4rem; }
  .hero { padding: 4rem 0 3rem; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 2rem;
  }
  .main-nav li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav li:last-child { border-bottom: none; }

  .article-grid { grid-template-columns: 1fr; }

  .about-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-image-placeholder { width: 170px; height: 170px; }

  .article-header h1 { font-size: 2rem; }
  .article-meta { gap: 0.75rem; }
  .article-body p:first-of-type::first-letter { font-size: 3.2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .page-header { padding: 3rem 0 2rem; }
  .page-header h1 { font-size: 1.7rem; }
}
