/*
Theme Name: GrandLuxe
Theme URI: https://grandluxe.space
Author: GrandLuxe Editorial
Description: Opulent. Curated. Bespoke. A stone-gray editorial theme for luxury hotels and bespoke lifestyle, inspired by Gear Patrol's typographic logic. Style ID b824d9.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: grandluxe
*/

:root {
  --b824d9-bg: #f5f5f4;
  --b824d9-text: #1c1c1b;
  --b824d9-accent: #b45309;
  --b824d9-bg-dark: #1c1c1b;
  --b824d9-text-light: #f5f5f4;
  --b824d9-muted: #6b6b68;
  --b824d9-border: #d6d3d1;
  --b824d9-card: #ffffff;
  --b824d9-display: Georgia, 'Times New Roman', serif;
  --b824d9-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --b824d9-maxw: 1240px;
  --b824d9-gap: 32px;
}

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--b824d9-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.b824d9-wrap { max-width: var(--b824d9-maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.b824d9-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,245,244,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--b824d9-border);
}
.b824d9-header-inner {
  max-width: var(--b824d9-maxw); margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.b824d9-logo {
  font-family: var(--b824d9-display);
  font-size: 1.6rem; font-weight: 900;
  letter-spacing: 0.02em;
}
.b824d9-logo span { color: var(--b824d9-accent); }
.b824d9-nav { display: flex; gap: 28px; align-items: center; }
.b824d9-nav a {
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 500;
  color: var(--b824d9-muted); transition: color 0.2s;
}
.b824d9-nav a:hover { color: var(--b824d9-accent); }
.b824d9-nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.5rem; color: var(--b824d9-text);
}

/* ---------- Footer ---------- */
.b824d9-footer {
  background: var(--b824d9-bg-dark);
  color: var(--b824d9-text-light);
  margin-top: 80px; padding: 60px 24px 36px;
}
.b824d9-footer-inner {
  max-width: var(--b824d9-maxw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.b824d9-footer h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--b824d9-accent); margin-bottom: 18px; font-family: var(--b824d9-body); font-weight: 700;
}
.b824d9-footer-logo { font-family: var(--b824d9-display); font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; }
.b824d9-footer p { color: #a8a29e; font-size: 0.9rem; max-width: 380px; }
.b824d9-footer ul { list-style: none; }
.b824d9-footer ul li { margin-bottom: 10px; }
.b824d9-footer ul a { color: #d6d3d1; font-size: 0.9rem; transition: color 0.2s; }
.b824d9-footer ul a:hover { color: var(--b824d9-accent); }
.b824d9-footer-bottom {
  max-width: var(--b824d9-maxw); margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid #44403c; color: #78716c; font-size: 0.82rem;
}

/* ---------- Generic article cards (index/archive) ---------- */
.b824d9-archive-head { padding: 60px 0 28px; }
.b824d9-archive-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.b824d9-archive-head p { color: var(--b824d9-muted); margin-top: 10px; }
.b824d9-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--b824d9-gap);
  padding-bottom: 40px;
}
.b824d9-card { background: var(--b824d9-card); border: 1px solid var(--b824d9-border); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.b824d9-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.b824d9-card-thumb { aspect-ratio: 16/10; overflow: hidden; background: #e7e5e4; }
.b824d9-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.b824d9-card:hover .b824d9-card-thumb img { transform: scale(1.05); }
.b824d9-card-body { padding: 22px; }
.b824d9-cat-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--b824d9-accent); font-weight: 700; }
.b824d9-card-body h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.b824d9-card-body p { color: var(--b824d9-muted); font-size: 0.92rem; }
.b824d9-card-meta { margin-top: 14px; font-size: 0.78rem; color: var(--b824d9-muted); display: flex; gap: 8px; align-items: center; }
.b824d9-dot { opacity: 0.5; }

/* ---------- Single ---------- */
.b824d9-single { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.b824d9-single-cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--b824d9-accent); font-weight: 700; }
.b824d9-single h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 14px 0 18px; }
.b824d9-single-meta { color: var(--b824d9-muted); font-size: 0.9rem; margin-bottom: 28px; display: flex; gap: 8px; align-items: center; }
.b824d9-single-hero { margin: 0 -24px 36px; }
.b824d9-single-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.b824d9-content { font-size: 1.08rem; }
.b824d9-content p { margin-bottom: 1.4em; }
.b824d9-content h2 { font-size: 1.7rem; margin: 1.6em 0 0.6em; }
.b824d9-content h3 { font-size: 1.3rem; margin: 1.4em 0 0.5em; }
.b824d9-content img { margin: 1.6em 0; }
.b824d9-content blockquote { border-left: 3px solid var(--b824d9-accent); padding-left: 20px; margin: 1.6em 0; font-family: var(--b824d9-display); font-style: italic; font-size: 1.3rem; color: var(--b824d9-text); }
.b824d9-content a { color: var(--b824d9-accent); text-decoration: underline; }

/* ---------- Page ---------- */
.b824d9-page { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.b824d9-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 28px; }
.b824d9-page-hero { margin-bottom: 32px; }
.b824d9-page-hero img { width: 100%; max-height: 420px; object-fit: cover; }

/* ---------- Related ---------- */
.b824d9-related { max-width: var(--b824d9-maxw); margin: 0 auto; padding: 0 24px 40px; }
.b824d9-related h3 { font-size: 1.5rem; margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .b824d9-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .b824d9-grid { grid-template-columns: 1fr; }
  .b824d9-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .b824d9-nav { display: none; }
  .b824d9-nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--b824d9-bg);
    padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--b824d9-border);
  }
  .b824d9-nav-toggle { display: block; }
}
