/* ============================================
   Cave Aged Compliance
   Editorial corporate with warm materiality
   ============================================ */

:root {
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  --display-font: 'Instrument Serif', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--stone-700);
  background: var(--stone-50);
}

/* ---- Header ---- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--stone-900);
  border-bottom: 1px solid var(--stone-800);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.875rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-img {
  height: 28px;
  width: auto;
}

.logo-icon {
  color: var(--amber-600);
  font-size: 0.75rem;
}

.logo-text {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--stone-200);
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--stone-500);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--stone-200);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  background: var(--stone-900);
  background-size: cover;
  background-position: center 40%;
  padding: 7rem 2.5rem 5.5rem;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 10, 9, 0.3) 0%,
    rgba(12, 10, 9, 0.45) 100%
  );
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(12, 10, 9, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 2.5rem 3rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone-800);
}

.hero h1 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  color: #fff;
  max-width: 720px;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--stone-300);
  max-width: 560px;
}

.hero-meta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone-500);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--stone-700);
}

/* ---- Article Body ---- */

.article-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.article-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 3.5rem 0;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-400);
  padding-top: 0.15rem;
}

.section-label span {
  display: block;
  font-family: var(--display-font);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--stone-300);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section-content h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.25;
  color: var(--stone-900);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section-content p {
  margin-bottom: 1rem;
  color: var(--stone-700);
  font-size: 0.938rem;
  line-height: 1.8;
}

.section-content p:last-child {
  margin-bottom: 0;
}

.section-content strong {
  font-weight: 600;
  color: var(--stone-900);
}

.lede {
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  color: var(--stone-800) !important;
}

/* ---- Callout ---- */

.callout {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--stone-100);
  border-left: 3px solid var(--amber-600);
  border-radius: 0 6px 6px 0;
}

.callout-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-700);
  margin-bottom: 0.5rem;
}

.callout p {
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  color: var(--stone-700) !important;
  margin-bottom: 0 !important;
}

/* ---- CTA Block ---- */

.cta-block {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--stone-900);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-600), var(--amber-500), transparent);
}

.cta-block p {
  color: var(--stone-300) !important;
  font-size: 0.9rem !important;
  margin-bottom: 0 !important;
}

.cta-block strong {
  color: var(--amber-500) !important;
}

/* ---- About Card ---- */

.about-card {
  background: var(--stone-100);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  padding: 2rem 2.25rem;
}

.about-card h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--stone-900);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 0.875rem !important;
  line-height: 1.75 !important;
  color: var(--stone-700) !important;
  margin-bottom: 0.75rem !important;
}

.about-card p:last-child {
  margin-bottom: 0 !important;
}

.about-card .about-contact {
  margin-top: 1.25rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-200);
  font-size: 0.8rem !important;
  color: var(--stone-500) !important;
}

.about-card .about-contact strong {
  color: var(--stone-700);
}

/* ---- Article Photos ---- */

.article-photo {
  max-width: 1080px;
  margin: 1rem auto 1rem;
  padding: 0 2.5rem;
}

.article-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.article-photo figcaption {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--stone-400);
  max-width: 640px;
  font-style: italic;
}

/* ---- Section Rules ---- */

.section-rule {
  border: none;
  border-top: 1px solid var(--stone-200);
  max-width: 1080px;
  margin: 0 auto;
}

/* ---- Footer ---- */

footer {
  margin-top: 3rem;
  background: var(--stone-900);
  border-top: 1px solid var(--stone-800);
  padding: 2.5rem 2.5rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--stone-400);
}

.footer-text {
  text-align: right;
}

.footer-text p {
  font-size: 0.75rem;
  color: var(--stone-500);
  line-height: 1.6;
}

.footer-text p:first-child {
  color: var(--stone-400);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .header-inner {
    padding: 0.75rem 1.25rem;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 3.5rem 1.25rem 2rem;
  }

  .hero-content {
    padding: 1.5rem 1.5rem;
  }

  .article-body {
    padding: 0 1.25rem;
  }

  .article-photo {
    padding: 0 1.25rem;
  }

  .article-section {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2.5rem 0;
  }

  .section-label {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .section-label span {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-text {
    text-align: left;
  }
}
