/* ==========================================================================
   CIRCLE C STORAGE — Stylesheet
   --------------------------------------------------------------------------
   REBRANDING FOR ANOTHER STORAGE BUSINESS?
   Change the CSS variables in :root below. That's it.
   ========================================================================== */

:root {
  /* ── Brand colors ──────────────────────────────────────────────────── */
  --color-cream:        #F8F1E5;   /* page background */
  --color-warm-white:   #FDF8EE;   /* card surfaces  */
  --color-terracotta:   #C85B3E;   /* primary brand  */
  --color-terracotta-dk:#A4452D;
  --color-amber:        #E8A33D;   /* accent / highlight */
  --color-deep-brown:   #2E1F12;   /* headings */
  --color-text:         #4A3C2E;   /* body text */
  --color-text-muted:   #7A6B58;
  --color-sage:         #6B7E5A;   /* secondary accent */
  --color-border:       #E6D9C0;
  --color-shadow:       rgba(61, 40, 23, 0.08);
  --color-shadow-strong:rgba(61, 40, 23, 0.16);

  /* ── Typography ────────────────────────────────────────────────────── */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Spacing scale ─────────────────────────────────────────────────── */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* ── Radius & motion ───────────────────────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-cream);
  /* Subtle paper texture */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232, 163, 61, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 91, 62, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--color-terracotta-dk); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-deep-brown);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
  /* Fraunces optical sizing for warmth */
  font-variation-settings: "opsz" 144, "SOFT" 80;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-md);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: var(--space-sm);
}

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) 0;
}

.section-tight {
  padding: var(--space-xl) 0;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-deep-brown);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.nav-brand span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 0.25rem 0;
}
.nav-menu a:hover { color: var(--color-terracotta); }
.nav-menu a.active {
  color: var(--color-terracotta);
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-amber);
  border-radius: 1px;
}

.nav-cta {
  background: var(--color-terracotta);
  color: var(--color-warm-white) !important;
  padding: 0.6rem 1.1rem !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--color-terracotta-dk);
  color: white !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-deep-brown);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-warm-white);
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav-menu.open { max-height: 500px; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    padding: 0.75rem var(--space-md);
    width: 100%;
  }
  .nav-cta {
    margin: var(--space-sm) var(--space-md) 0;
    text-align: center;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.hero-home {
  background:
    linear-gradient(135deg, rgba(248, 241, 229, 0.7) 0%, rgba(248, 241, 229, 0.95) 100%),
    radial-gradient(circle at 70% 30%, var(--color-amber) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, var(--color-terracotta) 0%, transparent 50%);
  padding: var(--space-2xl) 0 calc(var(--space-2xl) + 2rem);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.hero h1 {
  margin-bottom: var(--space-md);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero-phone {
  display: inline-flex;
  flex-direction: column;
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-amber);
  box-shadow: 0 6px 16px var(--color-shadow);
}
.hero-phone span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero-phone a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-deep-brown);
}

/* Hero photo card */
.hero-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--color-amber) 0%, var(--color-terracotta) 100%);
  box-shadow: 0 20px 60px var(--color-shadow-strong);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(46, 31, 18, 0.4) 100%);
  pointer-events: none;
}
.hero-photo-caption {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  color: var(--color-warm-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Generic page hero (non-home) */
.page-hero {
  background: linear-gradient(180deg, var(--color-warm-white) 0%, var(--color-cream) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-lg);
}
.page-hero h1 { margin-bottom: var(--space-sm); }
.page-hero .lead { max-width: 640px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-warm-white);
}
.btn-primary:hover {
  background: var(--color-terracotta-dk);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 91, 62, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-deep-brown);
  border-color: var(--color-deep-brown);
}
.btn-secondary:hover {
  background: var(--color-deep-brown);
  color: var(--color-warm-white);
}

.btn-amber {
  background: var(--color-amber);
  color: var(--color-deep-brown);
}
.btn-amber:hover {
  background: #d99230;
  color: var(--color-deep-brown);
  transform: translateY(-2px);
}

/* ==========================================================================
   FEATURE CARDS / GRIDS
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header .lead { margin: 0 auto; max-width: 640px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-shadow);
  border-color: var(--color-amber);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}
.card h3 { margin-bottom: var(--space-xs); }
.card p { color: var(--color-text-muted); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--color-terracotta);
}
.card-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.card-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   FEATURE LIST
   ========================================================================== */

.feature-list {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
}
.feature-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-sm) 0;
}
.feature-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   ALTERNATING IMAGE/TEXT SECTIONS
   ========================================================================== */

.alt-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-xl);
}
.alt-section:last-child { margin-bottom: 0; }
.alt-section.reverse .alt-text { order: 2; }

@media (max-width: 880px) {
  .alt-section,
  .alt-section.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .alt-section.reverse .alt-text { order: 0; }
}

.alt-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-amber), var(--color-terracotta));
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px var(--color-shadow);
}
.alt-image.portrait { aspect-ratio: 3/4; }
.alt-image.sage { background: linear-gradient(135deg, var(--color-sage), var(--color-deep-brown)); }
.alt-image.brown { background: linear-gradient(135deg, var(--color-deep-brown), var(--color-terracotta)); }
.alt-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.alt-image-label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: rgba(46, 31, 18, 0.85);
  color: var(--color-warm-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CTA BANDS
   ========================================================================== */

.cta-band {
  background: var(--color-deep-brown);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--color-terracotta) 0%, transparent 60%);
  opacity: 0.25;
}
.cta-band-inner {
  position: relative;
  text-align: center;
}
.cta-band h2 {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}
.cta-band p {
  color: rgba(248, 241, 229, 0.85);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
}
.cta-band .btn-primary {
  background: var(--color-amber);
  color: var(--color-deep-brown);
}
.cta-band .btn-primary:hover {
  background: #f0b04a;
}

/* ==========================================================================
   NEWS / BLOG STYLES
   ========================================================================== */

.news-list {
  display: grid;
  gap: var(--space-md);
}
.news-item {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-amber);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all 0.2s var(--ease);
}
.news-item:hover {
  border-left-color: var(--color-terracotta);
  transform: translateX(4px);
}
.news-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.news-item h3 { margin-bottom: var(--space-xs); }
.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--color-cream);
  color: var(--color-sage);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-xs);
}
.news-tag.press { color: var(--color-terracotta); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info-block {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.contact-info-block h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}
.contact-info-block + .contact-info-block { margin-top: var(--space-sm); }

form { display: grid; gap: var(--space-sm); }
label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-deep-brown);
  display: block;
  margin-bottom: 0.35rem;
}
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-warm-white);
  color: var(--color-text);
  transition: border-color 0.2s var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(200, 91, 62, 0.15);
}
textarea { min-height: 140px; resize: vertical; }

/* ==========================================================================
   MAP EMBED
   ========================================================================== */

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16/10;
  background: var(--color-cream);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-deep-brown);
  color: rgba(248, 241, 229, 0.8);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: var(--space-xs);
}
.footer-tagline {
  font-size: 0.95rem;
  color: rgba(248, 241, 229, 0.7);
  margin-bottom: var(--space-md);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-sm);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a {
  color: rgba(248, 241, 229, 0.8);
  font-size: 0.95rem;
}
.footer-grid a:hover { color: var(--color-amber); }
.footer-grid p { font-size: 0.95rem; color: rgba(248, 241, 229, 0.7); }

.footer-bottom {
  border-top: 1px solid rgba(248, 241, 229, 0.15);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(248, 241, 229, 0.5);
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

.text-center { text-align: center; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }

/* ==========================================================================
   BRAND BAND — featured logo / brand artwork section
   ========================================================================== */

.brand-band {
  background: var(--color-deep-brown);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}
.brand-band-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}
.brand-band img {
  width: 100%;
  height: auto;
  max-width: 380px;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.brand-band-caption {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  color: var(--color-amber);
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   APPOINTMENT BADGE — used to draw attention to "by appointment only"
   ========================================================================== */

.appointment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-amber);
  color: var(--color-deep-brown);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(232, 163, 61, 0.3);
}
.appointment-badge::before {
  content: "📅";
  font-size: 1rem;
}

.appointment-callout {
  background: linear-gradient(135deg, var(--color-warm-white), var(--color-cream));
  border: 2px solid var(--color-amber);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: var(--space-lg) 0;
}
.appointment-callout-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.appointment-callout-text {
  flex: 1;
  min-width: 220px;
}
.appointment-callout-text strong {
  display: block;
  color: var(--color-deep-brown);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}
.appointment-callout-text span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   LAYOUT DIAGRAM — for the facility map on the storage page
   ========================================================================== */

.layout-diagram {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 8px 24px var(--color-shadow);
}
.layout-diagram img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.layout-diagram-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xs) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.layout-diagram-caption strong {
  color: var(--color-deep-brown);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

/* ==========================================================================
   ILLUSTRATION CARD — for the cat illustration / branded artwork
   ========================================================================== */

.illustration-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px var(--color-shadow-strong);
  background: var(--color-warm-white);
  aspect-ratio: 3 / 2;
}
.illustration-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.illustration-card.tilt {
  transform: rotate(-1.5deg);
}

/* When used inside hero — full bleed feel */
.hero-illustration {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px var(--color-shadow-strong);
}
.hero-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   CAT SANCTUARY SECTION — special accent
   ========================================================================== */

.cat-section {
  background:
    linear-gradient(135deg, rgba(253, 248, 238, 0.95), rgba(248, 241, 229, 0.95));
  position: relative;
  overflow: hidden;
}
.cat-section::before {
  content: "🐾";
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 4rem;
  opacity: 0.08;
  transform: rotate(-15deg);
}
.cat-section::after {
  content: "🐾";
  position: absolute;
  bottom: 40px;
  left: 30px;
  font-size: 3rem;
  opacity: 0.08;
  transform: rotate(20deg);
}

/* Subtle entry animation for hero content */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.7s var(--ease) backwards;
}
.fade-up:nth-child(1) { animation-delay: 0.05s; }
.fade-up:nth-child(2) { animation-delay: 0.15s; }
.fade-up:nth-child(3) { animation-delay: 0.25s; }
.fade-up:nth-child(4) { animation-delay: 0.35s; }

/* ==========================================================================
   DONATION BLOCK — for the Cat Habitat page
   ========================================================================== */

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (max-width: 760px) {
  .donate-grid { grid-template-columns: 1fr; }
}

.donate-card {
  position: relative;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-top: 6px solid var(--color-terracotta);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--color-shadow-strong);
}
.donate-card-amazon { border-top-color: var(--color-amber); }

.donate-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 16px var(--color-shadow);
}
.donate-card-amazon .donate-icon { color: var(--color-amber); }

.donate-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.donate-card h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.donate-card p {
  color: var(--color-text-muted);
  max-width: 360px;
  margin-bottom: var(--space-md);
}

.donate-btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1rem 1.5rem;
}

.donate-handle {
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.donate-note {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-warm-white);
  border-left: 4px solid var(--color-sage);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 6px 16px var(--color-shadow);
}
.donate-note p {
  font-style: italic;
  color: var(--color-text);
  margin: 0;
}
.donate-note strong {
  font-style: normal;
  color: var(--color-deep-brown);
}
