/*
Theme Name: Curing Chamber
Theme URI: https://curingchamber.com/
Author: Curing Chamber
Author URI: https://curingchamber.com/
Description: A long-form magazine theme for the patient craft of preserved meats. Converted from the original React/Vite design with serif headings (Cormorant Garamond), a burgundy/brass/cream/smoke palette, and editorial layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: curingchamber
Tags: blog, magazine, editorial, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --font-serif-heading: "Cormorant Garamond", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-serif-body:    "Lora", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans:          "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono:          "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --color-burgundy:    #5C1A1B;
  --color-smoke:       #2B2422;
  --color-brass:       #B8862B;
  --color-cream:       #F5EFE4;
  --color-surface:     #FFFFFF;
  --color-muted-gray:  #8A7B68;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--color-cream);
  color: var(--color-smoke);
  font-family: var(--font-serif-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}
body::selection,
body ::selection { background: var(--color-burgundy); color: var(--color-cream); }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-burgundy); }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-serif-heading); font-weight: 600; line-height: 1.1; }
p  { margin: 0 0 1em; }
input, textarea, select { font: inherit; color: inherit; }

/* ==========================================================================
   3. UTILITY CLASSES (Tailwind-equivalent subset used by the components)
   ========================================================================== */

/* Layout containers */
.container-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px)  { .container-7xl { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-7xl { padding-left: 2rem;   padding-right: 2rem;   } }

.min-h-screen { min-height: 100vh; }
.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.flex-col     { flex-direction: column; }
.flex-row     { flex-direction: row; }
.flex-grow    { flex-grow: 1; }
.flex-shrink-0,
.shrink-0     { flex-shrink: 0; }
.items-center { align-items: center; }
.items-end    { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1   { gap: 0.25rem; }
.gap-2   { gap: 0.5rem; }
.gap-4   { gap: 1rem; }
.gap-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }
.gap-12  { gap: 3rem; }
.gap-16  { gap: 4rem; }

/* Typography */
.font-serif-heading { font-family: var(--font-serif-heading); }
.font-serif-body    { font-family: var(--font-serif-body); }
.font-sans          { font-family: var(--font-sans); }
.font-mono          { font-family: var(--font-mono); }
.italic             { font-style: italic; }
.uppercase          { text-transform: uppercase; }
.font-medium        { font-weight: 500; }
.text-balance       { text-wrap: balance; }
.tracking-wide      { letter-spacing: 0.025em; }
.tracking-wider     { letter-spacing: 0.05em; }
.tracking-widest    { letter-spacing: 0.1em; }
.tracking-15        { letter-spacing: 0.15em; }
.tracking-2         { letter-spacing: 0.2em; }

.text-xs   { font-size: 0.75rem;  line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;     line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }
.text-7xl  { font-size: 4.5rem;   line-height: 1; }
.text-8xl  { font-size: 6rem;     line-height: 1; }
.text-10px { font-size: 10px; }
.leading-none     { line-height: 1; }
.leading-tight    { line-height: 1.15; }
.leading-relaxed  { line-height: 1.625; }
.text-center      { text-align: center; }
.text-left        { text-align: left; }
.whitespace-nowrap{ white-space: nowrap; }

/* Colors */
.bg-cream      { background-color: var(--color-cream); }
.bg-surface    { background-color: var(--color-surface); }
.bg-burgundy   { background-color: var(--color-burgundy); }
.bg-brass      { background-color: var(--color-brass); }
.bg-smoke      { background-color: var(--color-smoke); }
.bg-cream-95   { background-color: rgba(245, 239, 228, 0.95); }
.bg-burgundy-10{ background-color: rgba(92, 26, 27, 0.10); }
.bg-brass-5    { background-color: rgba(184, 134, 43, 0.05); }
.bg-brass-50   { background-color: rgba(184, 134, 43, 0.50); }
.bg-smoke-40   { background-color: rgba(43, 36, 34, 0.40); }
.text-cream      { color: var(--color-cream); }
.text-cream-70   { color: rgba(245, 239, 228, 0.70); }
.text-cream-90   { color: rgba(245, 239, 228, 0.90); }
.text-cream-50   { color: rgba(245, 239, 228, 0.50); }
.text-smoke      { color: var(--color-smoke); }
.text-smoke-50   { color: rgba(43, 36, 34, 0.50); }
.text-smoke-80   { color: rgba(43, 36, 34, 0.80); }
.text-burgundy   { color: var(--color-burgundy); }
.text-brass      { color: var(--color-brass); }
.text-brass-90   { color: rgba(184, 134, 43, 0.90); }
.text-muted-gray { color: var(--color-muted-gray); }

/* Borders */
.border          { border: 1px solid currentColor; }
.border-t        { border-top: 1px solid currentColor; }
.border-b        { border-bottom: 1px solid currentColor; }
.border-smoke-10 { border-color: rgba(43, 36, 34, 0.10); }
.border-smoke-20 { border-color: rgba(43, 36, 34, 0.20); }
.border-cream-10 { border-color: rgba(245, 239, 228, 0.10); }
.border-burgundy { border-color: var(--color-burgundy); }
.border-brass    { border-color: var(--color-brass); }
.border-brass-30 { border-color: rgba(184, 134, 43, 0.30); }
.border-brass-50 { border-color: rgba(184, 134, 43, 0.50); }
.border-burgundy-thick-top { border-top: 6px solid var(--color-burgundy); }
.rounded-full { border-radius: 9999px; }

/* Spacing */
.p-2  { padding: 0.5rem; }
.p-4  { padding: 1rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-4 { padding-left: 1rem;   padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem;   padding-right: 2rem; }
.px-10{ padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem;    padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem;    padding-bottom: 2rem; }
.py-12{ padding-top: 3rem;    padding-bottom: 3rem; }
.py-16{ padding-top: 4rem;    padding-bottom: 4rem; }
.py-24{ padding-top: 6rem;    padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16{ padding-top: 4rem; }
.pt-88{ padding-top: 88px; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-8 { padding-bottom: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10{ margin-bottom: 2.5rem; }
.mb-12{ margin-bottom: 3rem; }
.mb-16{ margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-16{ margin-top: 4rem; }
.mt-auto { margin-top: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-6 { margin-left: 1.5rem; }
.ml-8 { margin-left: 2rem; }
.mr-6 { margin-right: 1.5rem; }

/* Sizing */
.w-full   { width: 100%; }
.h-full   { height: 100%; }
.w-px     { width: 1px; }
.h-px     { height: 1px; }
.w-2      { width: 0.5rem; }
.h-2      { height: 0.5rem; }
.w-12     { width: 3rem; }
.h-12     { height: 3rem; }
.w-16     { width: 4rem; }
.h-16     { height: 4rem; }
.h-64     { height: 16rem; }
.h-96     { height: 24rem; }
.h-85vh   { height: 85vh; }
.min-h-600{ min-height: 600px; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl{ max-width: 42rem; }
.max-w-3xl{ max-width: 48rem; }
.aspect-3-4   { aspect-ratio: 3 / 4; }
.aspect-4-3   { aspect-ratio: 4 / 3; }
.aspect-16-9  { aspect-ratio: 16 / 9; }

/* Position */
.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.inset-0   { inset: 0; }
.inset-4   { inset: 1rem; }
.top-0     { top: 0; }
.left-0    { left: 0; }
.right-0   { right: 0; }
.bottom-0  { bottom: 0; }
.bottom-10 { bottom: 2.5rem; }
.left-half { left: 50%; }
.translate-x-neg-half { transform: translateX(-50%); }
.z-10  { z-index: 10; }
.z-20  { z-index: 20; }
.z-40  { z-index: 40; }
.z-50  { z-index: 50; }

/* Display */
.block        { display: block; }
.hidden       { display: none; }
.overflow-hidden { overflow: hidden; }
@media (min-width: 768px) {
  .md\:flex            { display: flex; }
  .md\:hidden          { display: none; }
  .md\:block           { display: block; }
  .md\:grid-cols-2     { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3     { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:grid-cols-5     { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .md\:col-span-1      { grid-column: span 1 / span 1; }
  .md\:col-span-2      { grid-column: span 2 / span 2; }
  .md\:p-10            { padding: 2.5rem; }
  .md\:text-2xl        { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-5xl        { font-size: 3rem;   line-height: 1; }
  .md\:text-8xl        { font-size: 6rem;   line-height: 1; }
  .md\:flex-row        { flex-direction: row; }
  .md\:text-left       { text-align: left; }
  .md\:h-96            { height: 24rem; }
  .md\:mt-0            { margin-top: 0; }
}
@media (min-width: 640px) {
  .sm\:grid-cols-2     { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:flex-row        { flex-direction: row; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3     { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }

/* Effects / animation */
.transition-all      { transition: all 300ms ease; }
.transition-colors   { transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease; }
.transition-transform{ transition: transform 300ms ease; }
.transition-opacity  { transition: opacity 300ms ease; }
.duration-300        { transition-duration: 300ms; }
.duration-500        { transition-duration: 500ms; }
.duration-700        { transition-duration: 700ms; }
.ease-out            { transition-timing-function: cubic-bezier(0,0,0.2,1); }
.backdrop-blur-sm    { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drop-shadow         { filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.10)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06)); }
.drop-shadow-sm      { filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05)); }
.drop-shadow-lg      { filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.10)); }
.shadow-xl           { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10); }
.opacity-0           { opacity: 0; }
.opacity-90          { opacity: 0.9; }
.grayscale           { filter: grayscale(100%); }

@keyframes ccBounce { 0%,100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1);} 50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1);} }
@keyframes ccPulse  { 0%,100% { opacity: 1;} 50% { opacity: 0.5; } }
.animate-bounce { animation: ccBounce 1s infinite; }
.animate-pulse  { animation: ccPulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ==========================================================================
   4. SITE HEADER (Navbar)
   ========================================================================== */
.cc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background-color: var(--color-cream);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(43, 36, 34, 0.10);
  transition: padding 300ms ease, background-color 300ms ease, backdrop-filter 300ms ease;
}
.cc-header.is-scrolled {
  background-color: rgba(245, 239, 228, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.75rem 0;
}
.cc-header__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1rem; padding-right: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 640px)  { .cc-header__inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .cc-header__inner { padding-left: 2rem;   padding-right: 2rem; } }
.cc-header__brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-serif-heading);
  font-size: 1.5rem;
  letter-spacing: 0.025em;
  color: var(--color-burgundy);
  z-index: 50;
}
.cc-header__nav { display: none; gap: 2rem; }
@media (min-width: 768px) { .cc-header__nav { display: flex; } }
.cc-header__link {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-smoke);
  padding: 0.25rem 0;
  transition: color 300ms ease;
}
.cc-header__link:hover,
.cc-header__link.is-active { color: var(--color-burgundy); }
.cc-header__link::after {
  content: "";
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background-color: var(--color-brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.cc-header__link:hover::after,
.cc-header__link.is-active::after { transform: scaleX(1); }

.cc-header__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem;
  color: var(--color-smoke);
  z-index: 50;
}
@media (min-width: 768px) { .cc-header__toggle { display: none; } }
.cc-header__toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }

.cc-header__mobile {
  position: fixed; inset: 0;
  background-color: var(--color-cream);
  z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%);
  transition: transform 300ms ease-in-out;
}
.cc-header__mobile.is-open { transform: translateX(0); }
@media (min-width: 768px) { .cc-header__mobile { display: none; } }
.cc-header__mobile a {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-smoke);
}
.cc-header__mobile a.is-active {
  color: var(--color-burgundy);
  border-bottom: 1px solid var(--color-brass);
}

/* ==========================================================================
   5. SITE FOOTER
   ========================================================================== */
.cc-footer {
  background-color: var(--color-smoke);
  color: var(--color-cream);
  padding: 4rem 0 2rem;
  border-top: 6px solid var(--color-burgundy);
}
.cc-footer__inner {
  max-width: 80rem; margin: 0 auto;
  padding-left: 1rem; padding-right: 1rem;
}
@media (min-width: 640px)  { .cc-footer__inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .cc-footer__inner { padding-left: 2rem;   padding-right: 2rem; } }
.cc-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .cc-footer__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.cc-footer__brand {
  font-family: var(--font-serif-heading);
  font-size: 1.5rem;
  letter-spacing: 0.025em;
  color: var(--color-cream);
  margin-bottom: 1rem;
}
.cc-footer__tagline {
  font-family: var(--font-serif-body);
  color: rgba(245, 239, 228, 0.70);
  font-style: italic;
  max-width: 24rem;
}
.cc-footer__copyright {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-gray);
  margin-top: 1.5rem;
}
.cc-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted-gray);
  margin-bottom: 1.5rem;
}
.cc-footer__links { display: flex; flex-direction: column; gap: 1rem; font-family: var(--font-sans); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cc-footer__links a { transition: color 300ms ease; }
.cc-footer__links a:hover { color: var(--color-brass); }
.cc-footer__disclaimer {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 239, 228, 0.10);
  text-align: center;
}
.cc-footer__disclaimer p {
  font-family: var(--font-serif-body);
  font-style: italic;
  color: var(--color-muted-gray);
  font-size: 0.875rem;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.625;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.cc-hero { position: relative; width: 100%; height: 85vh; min-height: 600px; overflow: hidden; }
.cc-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-hero__overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(43,36,34,0.90), rgba(43,36,34,0.50), transparent);
}
.cc-hero__content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.cc-hero__content-inner {
  max-width: 80rem; width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .cc-hero__content-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .cc-hero__content-inner { padding: 0 2rem; } }
.cc-hero__text { max-width: 42rem; }
.cc-hero__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brass);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .cc-hero__eyebrow { font-size: 0.875rem; } }
.cc-hero__title {
  font-family: var(--font-serif-heading);
  font-size: 3.75rem;
  color: var(--color-cream);
  line-height: 1;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .cc-hero__title { font-size: 6rem; } }
.cc-hero__title em { font-style: italic; color: rgba(184, 134, 43, 0.9); }
.cc-hero__lede {
  font-family: var(--font-serif-body);
  font-size: 1.25rem;
  color: rgba(245, 239, 228, 0.90);
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1.625;
  max-width: 36rem;
  text-wrap: balance;
}
@media (min-width: 768px) { .cc-hero__lede { font-size: 1.5rem; } }
.cc-btn-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--color-burgundy);
  background-color: rgba(92, 26, 27, 0.10);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: var(--color-cream);
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  transition: background-color 300ms ease, border-color 300ms ease, transform 300ms ease;
}
.cc-btn-hero:hover { background-color: var(--color-brass); border-color: var(--color-brass); color: var(--color-cream); }
.cc-btn-hero:hover svg { transform: translateX(0.25rem); }
.cc-btn-hero svg { transition: transform 300ms ease; }
.cc-hero__scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: ccBounce 1.6s infinite;
}
.cc-hero__scroll-cue span.line {
  width: 1px; height: 3rem;
  background-color: rgba(245, 239, 228, 0.50);
  display: block; overflow: hidden;
}
.cc-hero__scroll-cue span.line span {
  display: block; width: 100%; height: 100%;
  background-color: var(--color-cream);
  animation: ccPulse 2s ease-in-out infinite;
}

/* ==========================================================================
   7. SECTION HEADERS
   ========================================================================== */
.cc-section { padding: 6rem 0; border-bottom: 1px solid rgba(43, 36, 34, 0.10); }
.cc-section:last-child { border-bottom: 0; }
.cc-section__heading-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4rem;
}
.cc-section__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-smoke);
}
.cc-section__rule { flex-grow: 1; height: 1px; background-color: rgba(43, 36, 34, 0.20); margin-left: 2rem; }
.cc-section__center-row {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4rem;
}
.cc-section__center-rule {
  width: 3rem; height: 1px;
  background-color: rgba(43, 36, 34, 0.20);
}
.cc-section__center-rule.left  { margin-right: 1.5rem; }
.cc-section__center-rule.right { margin-left: 1.5rem; }
.cc-section__center-title {
  font-family: var(--font-serif-heading);
  font-size: 2.25rem;
  color: var(--color-smoke);
  font-style: italic;
  text-align: center;
}

/* ==========================================================================
   8. ARTICLE CARD
   ========================================================================== */
.cc-card { display: flex; flex-direction: column; height: 100%; background-color: var(--color-surface); border: 1px solid rgba(43, 36, 34, 0.05); overflow: hidden; transition: transform 500ms ease, box-shadow 500ms ease; }
.cc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10); }
.cc-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.cc-card.is-featured .cc-card__media { aspect-ratio: 16 / 9; }
.cc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0,0,0.2,1); }
.cc-card:hover .cc-card__media img { transform: scale(1.03); }
.cc-card__media::after {
  content: ""; position: absolute; inset: 0;
  background-color: rgba(92, 26, 27, 0);
  transition: background-color 500ms ease;
}
.cc-card:hover .cc-card__media::after { background-color: rgba(92, 26, 27, 0.10); }
.cc-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 1.5rem; }
.cc-card.is-featured .cc-card__body { padding: 1.5rem; }
@media (min-width: 768px) { .cc-card.is-featured .cc-card__body { padding: 2.5rem; } }
.cc-card__cat {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
  border-bottom: 1px solid rgba(184, 134, 43, 0.30);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}
.cc-card__title {
  font-family: var(--font-serif-heading);
  color: var(--color-smoke);
  font-size: 1.25rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  transition: color 300ms ease;
}
@media (min-width: 768px) { .cc-card__title { font-size: 1.5rem; } }
.cc-card.is-featured .cc-card__title { font-size: 1.875rem; }
@media (min-width: 768px) { .cc-card.is-featured .cc-card__title { font-size: 3rem; } }
.cc-card:hover .cc-card__title { color: var(--color-burgundy); }
.cc-card__excerpt {
  font-family: var(--font-serif-body);
  font-style: italic;
  color: var(--color-muted-gray);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.cc-card__meta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem;
}
.cc-card__read {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brass);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: gap 300ms ease;
}
.cc-card:hover .cc-card__read { gap: 0.5rem; }
.cc-card__read .arrow { opacity: 0; transition: opacity 300ms ease; }
.cc-card:hover .cc-card__read .arrow { opacity: 1; }
.cc-card__time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(43, 36, 34, 0.50);
}

/* ==========================================================================
   9. CALCULATIONS NOTE
   ========================================================================== */
.cc-calc-note {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(43, 36, 34, 0.10);
}
@media (min-width: 768px) {
  .cc-calc-note { flex-direction: row; text-align: left; }
}
.cc-calc-note__icon {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  border: 1px solid var(--color-brass);
  background: var(--color-surface);
  color: var(--color-brass);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-calc-note__body { max-width: 42rem; }
.cc-calc-note__title { font-family: var(--font-serif-heading); font-size: 1.5rem; color: var(--color-smoke); margin-bottom: 0.5rem; }
.cc-calc-note__text  { font-family: var(--font-serif-body); color: var(--color-muted-gray); font-style: italic; line-height: 1.625; }
.cc-calc-note__cta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-burgundy);
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: color 300ms ease;
  flex-shrink: 0;
  margin-top: 1rem;
}
@media (min-width: 768px) { .cc-calc-note__cta { margin-top: 0; } }
.cc-calc-note__cta:hover { color: var(--color-brass); }

/* ==========================================================================
   10. CATEGORY TILES
   ========================================================================== */
.cc-cat-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cc-cat-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.cc-cat-tile { position: relative; height: 16rem; overflow: hidden; display: flex; align-items: flex-end; padding: 1.5rem; }
@media (min-width: 768px) { .cc-cat-tile { height: 24rem; } }
.cc-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.cc-cat-tile:hover img { transform: scale(1.10); }
.cc-cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background-color: rgba(43,36,34,0.40);
  transition: background-color 500ms ease;
}
.cc-cat-tile:hover::after { background-color: rgba(92, 26, 27, 0.60); }
.cc-cat-tile__inner { position: relative; z-index: 10; width: 100%; }
.cc-cat-tile__kicker { display: block; font-family: var(--font-sans); font-size: 10px; text-transform: uppercase; color: rgba(245,239,228,0.70); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.cc-cat-tile__title { font-family: var(--font-serif-heading); color: var(--color-cream); font-size: 1.5rem; line-height: 1.15; }

/* ==========================================================================
   11. ABOUT TEASER
   ========================================================================== */
.cc-about-teaser {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center;
  padding: 6rem 0;
}
@media (min-width: 768px) { .cc-about-teaser { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.cc-about-teaser__media {
  position: relative; aspect-ratio: 3/4; max-width: 28rem; margin: 0 auto; width: 100%;
}
.cc-about-teaser__media .frame {
  position: absolute; inset: 1rem;
  border: 1px solid rgba(184,134,43,0.50);
  z-index: 10;
  transform: translate(1rem, 1rem);
  transition: transform 300ms ease;
}
.cc-about-teaser__media:hover .frame { transform: translate(0.5rem, 0.5rem); }
.cc-about-teaser__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 20;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter 700ms ease, opacity 700ms ease;
}
.cc-about-teaser__media:hover img { filter: grayscale(0%); opacity: 1; }
.cc-about-teaser__body { max-width: 32rem; }
.cc-about-teaser__eyebrow { display: block; font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-brass); margin-bottom: 1.5rem; }
.cc-about-teaser__title  { font-family: var(--font-serif-heading); color: var(--color-smoke); font-size: 2.25rem; line-height: 1.15; margin-bottom: 2rem; }
@media (min-width: 768px) { .cc-about-teaser__title { font-size: 3rem; } }
.cc-about-teaser__copy   { font-family: var(--font-serif-body); color: rgba(43,36,34,0.80); font-size: 1.125rem; line-height: 1.625; margin-bottom: 2.5rem; }
.cc-about-teaser__copy p + p { margin-top: 1rem; }
.cc-about-teaser__cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-burgundy);
  border-bottom: 1px solid var(--color-burgundy);
  padding-bottom: 0.25rem;
  transition: color 300ms ease, border-color 300ms ease;
}
.cc-about-teaser__cta:hover { color: var(--color-brass); border-color: var(--color-brass); }

/* ==========================================================================
   12. NEWSLETTER
   ========================================================================== */
.cc-newsletter {
  background-color: var(--color-cream);
  padding: 6rem 1rem;
  border-top: 1px solid rgba(43,36,34,0.10);
  position: relative; overflow: hidden;
}
.cc-newsletter__rule {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 4rem;
  background-color: var(--color-brass);
}
.cc-newsletter__inner { max-width: 42rem; margin: 0 auto; text-align: center; position: relative; z-index: 10; }
.cc-newsletter__eyebrow { display: block; font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-gray); margin-bottom: 1rem; }
.cc-newsletter__title   { font-family: var(--font-serif-heading); font-size: 2.25rem; color: var(--color-smoke); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cc-newsletter__title { font-size: 3rem; } }
.cc-newsletter__lede    { font-family: var(--font-serif-body); color: rgba(43,36,34,0.80); font-size: 1.125rem; margin: 0 auto 2.5rem; max-width: 32rem; }
.cc-newsletter__form    { display: flex; flex-direction: column; gap: 1rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 640px) { .cc-newsletter__form { flex-direction: row; } }
.cc-newsletter__input {
  flex-grow: 1;
  background-color: var(--color-surface);
  border: 1px solid rgba(43,36,34,0.20);
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  color: var(--color-smoke);
  transition: border-color 300ms ease, box-shadow 300ms ease;
  width: 100%;
}
.cc-newsletter__input::placeholder { color: var(--color-muted-gray); }
.cc-newsletter__input:focus { outline: 0; border-color: var(--color-brass); box-shadow: 0 0 0 1px var(--color-brass); }
.cc-newsletter__btn {
  background-color: var(--color-brass);
  color: var(--color-surface);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  padding: 1rem 2rem;
  white-space: nowrap;
  transition: background-color 300ms ease;
  border: 0;
  cursor: pointer;
}
.cc-newsletter__btn:hover { background-color: var(--color-smoke); }
.cc-newsletter__success {
  padding: 2rem;
  border: 1px solid rgba(184,134,43,0.50);
  background-color: rgba(184,134,43,0.05);
}
.cc-newsletter__success p {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-smoke);
  margin: 0;
}
.cc-newsletter__fineprint { font-family: var(--font-serif-body); font-style: italic; color: var(--color-muted-gray); margin-top: 1.5rem; font-size: 0.875rem; }

/* ==========================================================================
   13. SITE LAYOUT WRAPPER
   ========================================================================== */
.cc-site { min-height: 100vh; display: flex; flex-direction: column; }
.cc-main { flex-grow: 1; padding-top: 88px; position: relative; }

/* ==========================================================================
   14. WORDPRESS COMPATIBILITY (admin bar, alignments, screen-reader text)
   ========================================================================== */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.alignleft   { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .cc-header { top: 46px; }
}
