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

:root {
  --black: #080808;
  --white: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #e8d08a;
  --gold-dark: #8a6a1f;
  --grey: #1a1a1a;
  --text-muted: #888;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9997;
}

a {
  color: inherit;
  text-decoration: none;
}

/* CURSOR */

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 20000;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 19999;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}

/* NAV */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
}

nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 4rem;
  right: 4rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-dark),
    transparent
  );
  opacity: 0.4;
}

.nav-logo img {
  width: 220px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-cta {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  padding: 0.6rem 1.6rem;
  margin-right: 9rem;
  transition: 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

/* HERO */

.blog-hero {
  min-height: 80vh;
  padding: 13rem 4rem 7rem;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 60% at 70% 50%,
      rgba(201, 168, 76, 0.08),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 80%,
      rgba(201, 168, 76, 0.04),
      transparent 60%
    );
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--gold-dark),
    transparent
  );
  opacity: 0.25;
}

.eyebrow {
  position: relative;
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.blog-hero h1 {
  position: relative;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.blog-hero h1 em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero-description {
  position: relative;
  margin-top: 3rem;
  max-width: 520px;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* MARQUEE */

.marquee-wrap {
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1.2rem 0;
  overflow: hidden;
  background: rgba(201, 168, 76, 0.03);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
  align-items: center;
}

.marquee-track span {
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 0 3rem;
}

.marquee-track b {
  color: var(--gold);
}

/* BLOG */

.blog-section {
  padding: 0rem 4rem 8rem 4rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  margin-top: -5rem;
}

.section-label {
  font-size: 1rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 300;
}

.section-title em {
  color: var(--gold);
}

/* GRID */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--grey);
  border: 1px solid rgba(201, 168, 76, 0.08);
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.blog-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #111, #1e1a10);
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blog-category,
.blog-date {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-date {
  color: var(--text-muted);
}

.blog-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
}

.blog-excerpt {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.read-more {
  display: inline-flex;
  margin-top: 1.5rem;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.loading,
.empty,
.error {
  grid-column: 1 / -1;
  color: var(--text-muted);
  padding: 4rem 0;
}

/* FOOTER */

footer {
  padding: 5rem 4rem 3rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.25em;
}

.footer-brand p {
  margin-top: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--text-muted);
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: span 4;
  padding-top: 3rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ANIMATION */

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ARTICLE PAGE */

.article-page {
  padding-top: 110px;
}

.article-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 4rem 5rem;
  text-align: center;
}

.article-hero h1 {
  margin-top: 2rem;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.article-meta {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-content-wrap {
  width: min(920px, 88%);
  margin: 0 auto;
  padding-bottom: 8rem;
}

.article-image {
  display: block;
  width: min(920px, 100%);
  max-height: 520px;
  margin: 0 auto 5rem;
  object-fit: contain;
  background: #111;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.9);
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  font-family: "DM Sans", sans-serif;
  color: var(--white);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.article-content h1 {
  font-size: 2.8rem;
  margin: 4rem 0 1.5rem;
}

.article-content h2 {
  font-size: 2.2rem;
  margin: 3.5rem 0 1.25rem;
}

.article-content h3 {
  font-size: 1.7rem;
  margin: 3rem 0 1rem;
}

.article-content h4 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
}

.article-content p {
  margin: 0 0 1.5rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.8rem;
  padding-left: 2rem;
}

.article-content li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}

.article-content strong {
  font-weight: 600;
  color: var(--white);
}

.article-content em {
  font-style: italic;
}

.article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 76, 0.4);
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 2.5rem 0;
  padding: 1rem 0 1rem 1.5rem;
  border-left: 2px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.3rem;
  font-style: italic;
}

.article-content img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  margin: 2.5rem auto;
  object-fit: contain;
}

.article-content hr {
  border: 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  margin: 3rem 0;
}

.article-content code {
  font-family: monospace;
  font-size: 0.9em;
  color: var(--gold-light);
}

.article-content pre {
  overflow-x: auto;
  padding: 1.5rem;
  margin: 2rem 0;
  background: #111;
  border: 1px solid rgba(201, 168, 76, 0.12);
}

@media (max-width: 700px) {
  .article-hero {
    padding: 6rem 2rem 4rem;
  }

  .article-content-wrap {
    width: 90%;
  }

  .article-image {
    max-height: 360px;
    margin-bottom: 3rem;
  }

  .article-content {
    font-size: 1.08rem;
    line-height: 1.75;
  }

  .article-content h1 {
    font-size: 2.2rem;
  }

  .article-content h2 {
    font-size: 1.9rem;
  }

  .article-content h3 {
    font-size: 1.45rem;
  }
}

/* MOBILE */

@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-ring {
    display: none;
  }

  nav {
    padding: 1.5rem 2rem;
  }

  nav::after {
    left: 2rem;
    right: 2rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .blog-hero {
    padding: 10rem 2rem 5rem;
  }

  .blog-section {
    padding: 6rem 2rem;
  }

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

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 2rem 2rem;
    gap: 3rem;
  }

  .footer-bottom {
    grid-column: span 2;
    flex-direction: column;
    gap: 1rem;
  }

  
}
