:root {
  --background: 0 0% 4%;
  --foreground: 0 0% 93%;
  --card: 0 0% 7%;
  --card-foreground: 0 0% 93%;
  --primary: 200 100% 50%;
  --primary-foreground: 0 0% 4%;
  --secondary: 350 100% 55%;
  --secondary-foreground: 0 0% 98%;
  --accent: 270 100% 60%;
  --accent-foreground: 0 0% 98%;
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 56%;
  --border: 0 0% 14%;
  --glass-bg: 0 0% 8%;
  --glass-border: 0 0% 16%;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-soft: 0 20px 50px hsl(0 0% 0% / 0.38);
  --shadow-blue: 0 0 24px hsl(var(--primary) / 0.35), 0 0 80px hsl(var(--primary) / 0.1);
  --shadow-crimson: 0 0 24px hsl(var(--secondary) / 0.35), 0 0 80px hsl(var(--secondary) / 0.1);
  --shadow-purple: 0 0 24px hsl(var(--accent) / 0.35), 0 0 80px hsl(var(--accent) / 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: hsl(var(--foreground));
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background:
    radial-gradient(circle at top right, hsl(var(--accent) / 0.2), transparent 28%),
    radial-gradient(circle at top left, hsl(var(--primary) / 0.16), transparent 24%),
    linear-gradient(180deg, hsl(0 0% 7%), hsl(var(--background)) 22%, hsl(var(--background)) 100%);
}

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

a:hover {
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-main {
  min-height: 60vh;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: hsl(var(--background) / 0.84);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border) / 0.9);
  box-shadow: 0 10px 40px hsl(0 0% 0% / 0.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: hsl(var(--secondary));
  background: hsl(var(--secondary) / 0.08);
  border: 1px solid hsl(var(--secondary) / 0.26);
  box-shadow: var(--shadow-crimson);
}

.brand-word {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-word__accent {
  color: hsl(var(--primary));
}

.main-nav {
  margin-left: auto;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.45rem;
  align-items: center;
}

.menu-item a {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 0.25s ease;
}

.menu-item.current-menu-item a,
.menu-item a:hover {
  color: hsl(var(--primary));
}

.header-cta {
  margin-left: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-blue);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  box-shadow: var(--shadow-crimson);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.35);
}

.btn-outline:hover {
  background: hsl(var(--primary) / 0.08);
}

.btn-full {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.78);
  padding: 0.7rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
}

.mobile-nav-toggle__line {
  width: 100%;
  height: 2px;
  background: hsl(var(--foreground));
  border-radius: 999px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-open .mobile-nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  padding: 0 1rem 1rem;
  background: hsl(var(--card) / 0.96);
  border-top: 1px solid hsl(var(--border));
  backdrop-filter: blur(20px);
}

.mobile-panel .menu {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.mobile-panel .menu-item a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.55);
}

.mobile-panel__cta {
  margin-top: 1rem;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-slide__media,
.hero-slide__image,
.hero-slide__overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-slide__overlay {
  background:
    linear-gradient(0deg, hsl(var(--background)) 0%, hsl(var(--background) / 0.88) 36%, transparent 100%),
    linear-gradient(90deg, hsl(var(--background) / 0.92) 0%, hsl(var(--background) / 0.38) 44%, transparent 76%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: 7rem;
  padding-bottom: 6rem;
}

.hero-copy {
  max-width: 44rem;
}

.hero-meta-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.section-chip--primary {
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.25);
}

.section-chip--secondary {
  background: hsl(var(--secondary) / 0.12);
  color: hsl(var(--secondary));
  border-color: hsl(var(--secondary) / 0.25);
}

.section-chip--accent {
  background: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
  border-color: hsl(var(--accent) / 0.25);
}

.hero-title,
.section-title,
.cta-title {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  max-width: 12ch;
}

.kinetic-title {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: kineticGradient 6s ease infinite;
}

.hero-description,
.section-copy,
.cta-copy,
.footer-copy,
.story-card__meta,
.blog-card__copy,
.service-card__copy,
.contact-list a,
.entry-content,
.single-story-excerpt,
.chapter-meta,
.post-meta-line {
  color: hsl(var(--muted-foreground));
}

.hero-description {
  margin: 1.2rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-views {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.7);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.7);
  color: hsl(var(--foreground));
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
}

.hero-arrow--prev {
  left: 1rem;
}

.hero-arrow--next {
  right: 1rem;
}

.hero-dots-wrap {
  position: absolute;
  inset: auto 0 2.1rem;
  z-index: 5;
}

.hero-dots {
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 1rem;
  height: 0.3rem;
  border-radius: 999px;
  border: 0;
  background: hsl(var(--foreground) / 0.25);
  transition: width 0.28s ease, background 0.28s ease;
}

.hero-dot.is-active {
  width: 2.5rem;
  background: hsl(var(--primary));
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section--tight-top {
  padding-top: 1rem;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-intro.align-center {
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 0.9rem;
}

.section-copy {
  max-width: 40rem;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
}

.story-grid,
.blog-grid,
.service-grid,
.footer-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.story-grid--featured {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.story-grid--compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.story-card,
.blog-card,
.service-card,
.contact-form,
.cta-panel,
.single-story-card,
.post-detail,
.chapter-card {
  background: hsl(var(--glass-bg) / 0.55);
  border: 1px solid hsl(var(--glass-border));
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.story-card,
.blog-card,
.service-card,
.chapter-card {
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, opacity 0.45s ease, translate 0.45s ease;
}

.story-card:hover,
.blog-card:hover,
.service-card:hover,
.chapter-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.32);
  box-shadow: var(--shadow-blue), var(--shadow-soft);
}

.story-card__link,
.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card__media,
.blog-card__media {
  position: relative;
  overflow: hidden;
}

.story-card__media {
  aspect-ratio: 3 / 4;
}

.blog-card__media {
  aspect-ratio: 16 / 10;
}

.story-card__media img,
.blog-card__media img,
.single-story-cover img,
.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card__media img,
.blog-card:hover .blog-card__media img {
  transform: scale(1.06);
}

.story-card__badge,
.story-card__status,
.blog-card__badge {
  position: absolute;
  inset: 0.85rem auto auto 0.85rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-card__badge {
  background: hsl(var(--secondary) / 0.9);
  color: hsl(var(--secondary-foreground));
}

.story-card__status {
  inset: 0.85rem 0.85rem auto auto;
}

.story-card__status.is-completed {
  background: hsl(var(--primary) / 0.92);
  color: hsl(var(--primary-foreground));
}

.story-card__status.is-ongoing {
  background: hsl(var(--secondary) / 0.92);
  color: hsl(var(--secondary-foreground));
}

.blog-card__badge {
  inset: 0.85rem 0.85rem auto auto;
  background: hsl(var(--accent) / 0.9);
  color: hsl(var(--accent-foreground));
}

.story-card__content,
.blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
}

.story-card__title,
.blog-card__title,
.service-card__title,
.contact-title,
.chapter-heading,
.chapter-title {
  margin: 0;
  color: hsl(var(--foreground));
}

.story-card__title,
.blog-card__title,
.service-card__title,
.contact-title,
.chapter-heading,
.chapter-title,
.footer-heading {
  font-family: 'Orbitron', sans-serif;
}

.story-card__title {
  font-size: 0.88rem;
  line-height: 1.35;
}

.story-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.72rem;
}

.story-card__meta--split {
  justify-content: space-between;
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-blue);
}

.is-hidden {
  display: none !important;
}

.centered-action {
  margin-top: 2rem;
  text-align: center;
}

.cta-panel {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  border-color: hsl(var(--secondary) / 0.35);
  box-shadow: var(--shadow-crimson), var(--shadow-soft);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-copy {
  max-width: 32rem;
  margin: 1rem auto 1.8rem;
  line-height: 1.7;
}

.page-shell {
  padding: 8rem 0 4rem;
}

.page-shell--post {
  padding-top: 8.5rem;
}

.narrow-center {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow-post {
  width: min(860px, calc(100% - 2rem));
  margin-inline: auto;
}

.page-builder-content,
.entry-content {
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.9);
}

.page-builder-content > *:first-child,
.entry-content > *:first-child {
  margin-top: 0;
}

.page-builder-content a,
.entry-content a,
.text-link {
  color: hsl(var(--primary));
}

.text-link--back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  padding: 2rem;
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  background: hsl(var(--muted));
  font-size: 1.5rem;
}

.service-card__icon--blue {
  color: hsl(var(--primary));
  box-shadow: var(--shadow-blue);
}

.service-card__icon--purple {
  color: hsl(var(--accent));
  box-shadow: var(--shadow-purple);
}

.service-card__icon--crimson {
  color: hsl(var(--secondary));
  box-shadow: var(--shadow-crimson);
}

.service-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.service-card__copy {
  margin: 0;
  line-height: 1.75;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card__title {
  font-size: 1.05rem;
  line-height: 1.4;
}

.blog-card__copy {
  margin: 0;
  line-height: 1.7;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-list a,
.footer-contact-list a,
.footer-links a,
.footer-socials a,
.contact-socials a {
  transition: color 0.25s ease;
}

.contact-list a:hover,
.footer-contact-list a:hover,
.footer-links a:hover,
.footer-socials a:hover,
.contact-socials a:hover {
  color: hsl(var(--primary));
}

.contact-socials,
.footer-socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-socials a,
.footer-socials a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.7);
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 2rem);
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-blue), var(--shadow-soft);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.34);
  color: hsl(var(--foreground));
  padding: 0.95rem 1rem;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-blue);
  background: hsl(var(--muted) / 0.52);
}

.notice-banner {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--primary) / 0.28);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--foreground));
}

.single-story-hero {
  position: relative;
  height: min(58vh, 38rem);
  overflow: hidden;
}

.single-story-hero__image,
.single-story-hero__overlay {
  position: absolute;
  inset: 0;
}

.single-story-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-story-hero__overlay {
  background:
    linear-gradient(0deg, hsl(var(--background)) 0%, hsl(var(--background) / 0.72) 45%, transparent 100%),
    linear-gradient(90deg, hsl(var(--background) / 0.92) 0%, transparent 70%);
}

.single-story-shell {
  position: relative;
  z-index: 2;
  margin-top: -8rem;
  padding-bottom: 4rem;
}

.single-story-card {
  padding: clamp(1.4rem, 4vw, 2rem);
}

.single-story-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.single-story-cover {
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid hsl(var(--primary) / 0.34);
  box-shadow: var(--shadow-blue);
}

.single-story-title {
  max-width: 14ch;
}

.single-story-excerpt {
  margin: 1rem 0 1.5rem;
  max-width: 38rem;
  line-height: 1.8;
}

.single-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
  color: hsl(var(--muted-foreground));
  font-family: 'Orbitron', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-body {
  margin-top: 2rem;
}

.chapter-shell {
  max-width: 46rem;
  margin: 3rem auto 0;
}

.chapter-heading {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.chapter-list {
  display: grid;
  gap: 0.8rem;
}

.chapter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.chapter-card > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chapter-number {
  min-width: 2.2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
}

.chapter-title {
  margin: 0;
  font-size: 1rem;
}

.chapter-meta {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
}

.post-detail {
  padding: clamp(1.4rem, 4vw, 2rem);
}

.post-featured-image {
  overflow: hidden;
  border-radius: 1.25rem;
  margin: 1.5rem 0;
}

.post-meta-line {
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.4);
}

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 1fr;
  align-items: start;
  padding-bottom: 2rem;
}

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

.footer-brand {
  width: fit-content;
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--secondary));
}

.footer-copy {
  margin: 0;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-bottom {
  padding: 1.2rem 0 2rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1180px) {
  .story-grid--compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .story-grid--featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-nav-toggle,
  .mobile-panel {
    display: flex;
  }

  .footer-grid,
  .contact-grid,
  .single-story-layout,
  .service-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .story-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-arrow {
    display: none;
  }

  .single-story-shell {
    margin-top: -4rem;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.2rem, 100%);
  }

  .hero-content {
    padding-bottom: 5rem;
  }

  .hero-title {
    max-width: 11ch;
  }

  .story-grid--featured,
  .story-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions,
  .single-story-meta,
  .chapter-card {
    align-items: flex-start;
  }

  .chapter-card {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
