:root {
  --ghost-accent-color: #f2b44a;
  --color-primary-text: #0a0f18;
  --color-secondary-text: #1b2532;
  --color-lighter-gray: #efe6dc;
  --color-light-gray: #dccdbb;
  --color-mid-gray: #c7b7a3;
  --color-dark-gray: #2c3440;
  --color-darker-gray: #121822;
  --color-white: #fffaf2;
  --spp-cream: #fbf7f1;
  --spp-amber: #f2b44a;
  --spp-coral: #d4653f;
  --spp-sage: #5f7f70;
  --spp-navy: #0a0f18;
  --spp-ink: #0a0f18;
  --spp-ink-soft: #1a2532;
  --spp-stone: #d2c2ad;
  --spp-mist: #f1e8dc;
  --spp-shadow: 0 24px 60px rgba(15, 20, 28, 0.16);
  --spp-shadow-soft: 0 12px 32px rgba(15, 20, 28, 0.12);
  --gh-font-heading: "Lora", serif;
  --gh-font-body: "Mulish", sans-serif;
}

body {
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(217, 164, 65, 0.24), transparent 55%),
    radial-gradient(900px 500px at 88% 6%, rgba(201, 105, 75, 0.22), transparent 55%),
    linear-gradient(180deg, #fffdf7 0%, #f0d6b8 100%);
  color: var(--color-primary-text);
  letter-spacing: 0.005em;
}

::selection {
  background: rgba(242, 180, 74, 0.35);
}

.gh-outer {
  padding-left: clamp(2.4rem, 4vw, 5rem);
  padding-right: clamp(2.4rem, 4vw, 5rem);
}

.gh-head {
  background-color: rgba(252, 248, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 183, 163, 0.55);
  position: sticky;
  top: 0;
  z-index: 200;
}

.gh-head-inner {
  height: 92px;
}

.gh-head-logo {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--spp-ink);
}

.gh-head-logo img {
  max-height: 58px;
}

.gh-head .nav a {
  color: var(--spp-ink);
  font-weight: 700;
  position: relative;
  padding-bottom: 6px;
}

.gh-head .nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--ghost-accent-color);
  transition: width 0.3s ease;
}

.gh-head .nav a:hover:after {
  width: 100%;
}

.gh-head-actions .gh-head-link {
  color: var(--spp-ink);
  font-weight: 700;
}

.gh-btn.gh-primary-btn,
.button,
.form-button {
  background-color: var(--ghost-accent-color);
  color: #0f141c;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(176, 140, 79, 0.35);
}

.gh-btn.gh-primary-btn:hover,
.button:hover,
.form-button:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: var(--spp-shadow-soft);
}

.gh-content {
  font-size: 1.9rem;
  line-height: 1.85;
  color: var(--spp-ink);
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 {
  color: var(--spp-ink);
  font-weight: 800;
}

.gh-content p {
  color: var(--spp-ink-soft);
  font-weight: 650;
}

.gh-content strong {
  color: var(--spp-ink);
}

.gh-content a {
  color: #b85a12;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  font-weight: 850;
}

.gh-content blockquote {
  background: #0a0f18;
  border-left: 5px solid var(--ghost-accent-color);
  padding: 2rem 2.4rem;
  border-radius: 14px;
  color: #fffaf2;
}

.gh-content blockquote strong {
  color: #fffaf2;
}

.gh-content blockquote a {
  color: #f2b44a;
}

.gh-content hr {
  background-color: rgba(199, 183, 163, 0.65);
}

.spp-hero {
  margin-top: 0;
  margin-bottom: 5.2rem;
  max-width: 820px;
  position: relative;
}

.spp-hero h1 {
  font-size: clamp(3.4rem, 4.6vw, 5.1rem);
  letter-spacing: -0.025em;
  color: var(--spp-ink);
}

.spp-hero .spp-hero-sub {
  font-size: 2.3rem;
  color: var(--color-secondary-text);
  line-height: 1.6;
  font-weight: 600;
}

.spp-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f1 100%);
  border: 1px solid rgba(199, 183, 163, 0.7);
  border-radius: 18px;
  padding: clamp(2.2rem, 3.2vw, 3.4rem);
  box-shadow: var(--spp-shadow);
}

.spp-section + .spp-section {
  margin-top: 2.6rem;
}

.spp-section h2 {
  margin-bottom: 1.4rem;
}

.spp-callout {
  border-left: 5px solid var(--ghost-accent-color);
  background: #f4eadd;
  padding: 1.8rem 2.2rem;
  border-radius: 12px;
}

.spp-pill {
  display: inline-block;
  background: rgba(176, 140, 79, 0.2);
  color: #4b3a22;
  border-radius: 999px;
  padding: 0.5rem 1.6rem;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.spp-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.spp-list {
  padding-left: 2rem;
}

.spp-footer-note {
  font-size: 1.45rem;
  color: var(--color-secondary-text);
  font-weight: 600;
}

.feed {
  border-radius: 18px;
  padding: 1.8rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(10, 15, 24, 0.08);
}

.post-feed.expanded .feed {
  border-bottom: 1px solid rgba(199, 183, 163, 0.55);
}

.feed-title {
  color: var(--spp-ink);
  font-weight: 700;
}

.feed-excerpt {
  color: #1a2532;
  font-weight: 750;
}

.gh-foot {
  border-top: 1px solid rgba(242, 180, 74, 0.45);
  background: linear-gradient(120deg, #0a0f18 0%, #131c2b 100%);
  color: #fffaf2;
}

.gh-foot .gh-foot-menu a {
  color: #fffaf2;
  font-weight: 800;
}

@media (max-width: 767px) {
  .gh-head-inner {
    height: 72px;
  }

  .spp-section {
    padding: 2rem;
  }

  .spp-hero h1 {
    font-size: clamp(2.9rem, 7vw, 4rem);
  }
}

/* Bold cover */
.cover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 247, 236, 0.92), rgba(242, 216, 190, 0.92));
  border-bottom: 1px solid rgba(217, 164, 65, 0.35);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 15% 30%, rgba(217, 164, 65, 0.25), transparent 60%);
  pointer-events: none;
}

.cover-image {
  z-index: 0;
  filter: saturate(1.15) contrast(1.05);
  opacity: 0.95;
}

.cover-content {
  max-width: 700px;
  text-align: left;
}

.cover-title {
  font-size: clamp(3.6rem, 5vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--spp-navy);
  margin-bottom: 1.2rem;
}

.cover-tagline {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--spp-coral);
  margin-bottom: 1.4rem;
}

.cover-description {
  font-size: 1.95rem;
  color: #1b2532;
  font-weight: 700;
}

.single-title {
  font-size: clamp(3.2rem, 4vw, 4.6rem);
  letter-spacing: -0.02em;
}

.single-media img {
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 27, 45, 0.18);
}

.feed-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 27, 45, 0.18);
}

.gh-head-logo {
  font-size: 2rem;
}

.gh-head .nav a {
  font-weight: 800;
}

.gh-content {
  font-size: 1.95rem;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 {
  font-weight: 900;
}

.spp-section {
  background: #ffffff;
  border: 1px solid rgba(10, 15, 24, 0.12);
  box-shadow: 0 24px 60px rgba(10, 15, 24, 0.18);
}

@media (max-width: 767px) {
  .cover-content {
    text-align: left;
  }
  .cover-title {
    font-size: clamp(3rem, 9vw, 4.4rem);
  }
}

.single-excerpt {
  color: var(--spp-ink);
  font-weight: 700;
}

.single-meta-item, .feed-date, .feed-length, .feed-comments {
  color: #1f2a36;
  font-weight: 700;
}

.cover-brand {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1rem;
}

.cover-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(10, 15, 24, 0.25);
}

.cover-title {
  font-size: clamp(3.9rem, 5.3vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--spp-navy);
  text-transform: none;
}

.cover-tagline {
  font-size: clamp(2.2rem, 3.1vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.4rem;
  color: #f2b44a;
  background-image: linear-gradient(120deg, #f2b44a 0%, #ffffff 30%, #d4653f 60%, #f2b44a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sppShimmer 3.2s ease-in-out infinite;
}

.gh-foot .gh-copyright, .gh-foot .gh-powered-by a {
  color: rgba(255, 250, 242, 0.85);
}

/* Contrast Overrides */
.cover-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(10, 15, 24, 0.14);
  box-shadow: 0 22px 55px rgba(10, 15, 24, 0.2);
  padding: 2.2rem 2.4rem;
  border-radius: 20px;
}

.cover-description {
  color: #142032;
  font-weight: 750;
}

.feed-calendar {
  background: #0a0f18;
  border: 1px solid rgba(242, 180, 74, 0.5);
  color: #fffaf2;
  border-radius: 14px;
}

.feed-calendar-day,
.feed-calendar-month {
  color: #fffaf2;
  font-weight: 800;
}

.feed-title {
  color: #0a0f18;
  font-weight: 800;
}

.feed-excerpt {
  color: #1b2532;
  font-weight: 750;
}

.single-meta-item,
.feed-date,
.feed-length,
.feed-comments {
  color: #1b2532;
  font-weight: 800;
}

.gh-head {
  background-color: rgba(255, 253, 247, 0.98);
  border-bottom: 1px solid rgba(10, 15, 24, 0.08);
}

.gh-btn.gh-primary-btn,
.button,
.form-button {
  color: #0a0f18;
  box-shadow: 0 12px 26px rgba(10, 15, 24, 0.2);
}

.form-wrapper input.auth-email {
  border: 1px solid rgba(10, 15, 24, 0.18);
  color: #0a0f18;
  font-weight: 600;
}

.spp-band {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(120deg, #0a0f18 0%, #141d2b 100%);
  border: 1px solid rgba(242, 180, 74, 0.3);
  border-left: none;
  border-right: none;
  color: #fffaf2;
  padding: clamp(2.8rem, 4vw, 4.4rem) clamp(2.4rem, 4vw, 5rem);
}

.spp-band > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.spp-band h2,
.spp-band h3 {
  color: #fffaf2;
}

.spp-band p,
.spp-band li {
  color: rgba(255, 250, 242, 0.9);
}

.spp-band .spp-callout {
  background: rgba(255, 250, 242, 0.08);
  border-left: 5px solid var(--ghost-accent-color);
}

.spp-band a {
  color: #f2b44a;
}

@keyframes sppHeroZoomOut {
  0% {
    opacity: 0;
    transform: scale(1.6);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.home-template .cover:not(.image-loading) .cover-title {
  transform-origin: left center;
  animation: sppHeroZoomOut 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home-template .cover:not(.image-loading) .cover-tagline {
  transform-origin: left center;
  animation: sppHeroZoomOut 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.08s;
}

.home-template .cover:not(.image-loading) .cover-description {
  transform-origin: left center;
  animation: sppHeroZoomOut 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.12s;
}

@keyframes sppShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Shimmer Hero */
.home-template .spp-hero h1 {
  color: #f2b44a;
  background-image: linear-gradient(120deg, #f2b44a 0%, #ffffff 28%, #d4653f 58%, #f2b44a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sppShimmer 3.4s ease-in-out infinite;
}

/* Hero Transition */
.home-template .spp-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3.2rem;
  height: 3.2rem;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0) 0%, rgba(255, 253, 247, 0.7) 55%, rgba(255, 253, 247, 1) 100%);
}

.home-template .spp-hero + .spp-section {
  margin-top: -2.6rem;
  padding-top: 3.8rem;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  position: relative;
  z-index: 2;
}

.home-template .spp-hero + .spp-section::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -24px;
  height: 24px;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0) 0%, rgba(255, 253, 247, 0.9) 100%);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.spp-bridge {
  max-width: 820px;
  margin: -1.6rem auto 2.4rem;
  text-align: left;
  color: #1b2532;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 1.1rem;
  position: relative;
  padding-left: 70px;
}

.spp-bridge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, #f2b44a, #d4653f);
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(10, 15, 24, 0.12);
}
