/* Awwwards-Level Design System */

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

:root {
  --color-bg: #0a0a0a;
  --color-text: #ffffff;
  --color-text-secondary: #cccccc;
  --color-accent: #FF3B30;
  --color-surface: #141414;
  
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', monospace;
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
}

html {
  overflow-x: hidden;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  width: 100%;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ========================================
   WEBGL CANVAS
   ======================================== */

#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

/* ========================================
   SMOOTH SCROLL CONTAINER
   ======================================== */

#smooth-scroll {
  position: relative;
  z-index: 1;
  width: 100%;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}

.nav__logo-text {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-decoration: none;
}

.nav__logo-text:hover,
.nav__logo-text:visited,
.nav__logo-text:active {
  color: var(--color-text);
  text-decoration: none;
}

.nav__menu {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav__link:hover {
  opacity: 0.6;
}

.nav__link--cta {
  padding: 12px 24px;
  background: var(--color-accent);
  border-radius: 50px;
  color: var(--color-bg);
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}

.lang-switch {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.lang-switch.active {
  color: var(--color-text);
  font-weight: 600;
}

.lang-switch:hover {
  color: var(--color-accent);
}

.lang-divider {
  color: var(--color-text-secondary);
  font-size: 14px;
}

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

.hero {
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 60px;
  position: relative;
  overflow: hidden;
}

.hero__container {
  max-width: 1600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__content {
  overflow: hidden;
  max-width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  overflow: hidden;
  word-wrap: break-word;
  max-width: 100%;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  opacity: 0;
}

.hero__subtitle p {
  margin-bottom: 12px;
}

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

.hero__cta {
  opacity: 0;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: 0 10px 40px rgba(255, 59, 48, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 60px rgba(255, 59, 48, 0.5);
}

.btn-primary__icon {
  font-size: 24px;
  transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover .btn-primary__icon {
  transform: translateX(5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
}

.btn-secondary--button {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}

[data-buy-trigger] {
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   BOOK SHOWCASE
   ======================================== */

.book-showcase {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.book-showcase__cover {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease-out);
}

.book-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-showcase__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 20px;
  z-index: 10;
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */

.hero__scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    transform: translateY(20px);
    opacity: 1;
  }
}

/* ========================================
   FEATURED SECTION
   ======================================== */

.featured {
  min-height: 100vh;
  padding: 80px 60px 60px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
}

.featured__container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.featured__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
}

.featured__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.featured__title .line {
  display: block;
  overflow: hidden;
}

.featured__title .word {
  display: inline-block;
}

.featured__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
}

.image-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 2/3;
}

.image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.2);
  transition: transform 1.5s var(--ease-out);
}

.featured__description {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
}

.featured__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.meta-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.meta-value--link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.3s var(--ease-out);
}

.meta-value--link:hover {
  opacity: 0.7;
}

.meta-value__arrow {
  font-size: 20px;
  line-height: 1;
}

.featured__contents {
  margin-bottom: 25px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.featured__contents p {
  margin-bottom: 12px;
}

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

.featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================
   PHILOSOPHY SECTION
   ======================================== */

.philosophy {
  min-height: 100vh;
  padding: 80px 60px 60px;
  display: flex;
  align-items: center;
}

.philosophy__container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 50px;
}

.philosophy__title .line {
  display: block;
  overflow: hidden;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.philosophy__card {
  padding: 40px 30px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease-out);
  opacity: 1;
  visibility: visible;
}

.philosophy__card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.philosophy__card-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.philosophy__card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.philosophy__card-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   MOTTO SECTION
   ======================================== */

.motto {
  padding: 90px 60px;
}

.motto__container {
  max-width: 1100px;
  margin: 0 auto;
}

.motto__quote {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
  opacity: 1;
  transform: translateY(0);
  animation: motto-reveal 1.4s var(--ease-out) 0.35s forwards;
}

.motto__glitch {
  display: inline;
  white-space: normal;
}

@keyframes motto-reveal {
  from {
    opacity: 0.35;
    transform: translateY(18px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  min-height: 100vh;
  padding: 80px 60px 60px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
}

.about__container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 50px;
}

.about__title .line {
  display: block;
  overflow: hidden;
}

.about__text {
  max-width: 100%;
}

.about__text p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

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

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  padding: 200px 60px;
  background: var(--color-surface);
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.contact__title .line {
  display: block;
  overflow: hidden;
}

.contact__description {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.contact__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.contact__email::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.contact__email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact__email:hover {
  color: var(--color-text);
  text-shadow: 0 0 10px rgba(255, 59, 48, 0.5) !important;
  animation: glitch-skew 0.3s;
  filter: blur(0.5px);
}

/* ========================================
   CATALOG SECTION
   ======================================== */

.catalog {
  min-height: 100vh;
  padding: 60px 60px 40px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
}

.catalog__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.catalog__header {
  margin-bottom: 40px;
  text-align: center;
}

.catalog__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.catalog__title .line {
  display: block;
  overflow: hidden;
}

.catalog__subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.catalog__more-link,
.catalog__back-link {
  margin-top: 20px;
}

.catalog__back-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--color-text);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.catalog__back-control:hover {
  opacity: 1;
  transform: translateX(-4px);
}

.catalog__back-icon {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.catalog__back-text {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.catalog__grid--page {
  max-width: 1400px;
}

.catalog--page {
  padding-top: 140px;
}

.catalog__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s var(--ease-out);
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
  margin: 0 auto;
  min-width: 0;
}

.catalog__item-body {
  width: 100%;
}

.catalog__item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.catalog__item:hover {
  transform: translateY(-8px);
}

.catalog__item-cover {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.catalog__item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog__item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--color-text-secondary);
}

.catalog__item-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}

.catalog__item-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
  text-align: center;
}

.catalog__item-action {
  margin-top: 16px;
}

.catalog__item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.catalog__contents {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.catalog__contents p {
  margin-bottom: 10px;
}

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

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

.footer {
  padding: 100px 60px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__container {
  max-width: 1600px;
  margin: 0 auto;
}

.footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer__links a {
  font-size: 16px;
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer__links a:hover {
  opacity: 0.6;
}

.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__socials-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.footer__socials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__socials-list a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 15px;
}

.footer__bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ========================================
   EXCERPT PAGE
   ======================================== */

.excerpt-page {
  min-height: 100vh;
  padding: 140px 60px 80px;
}

.excerpt-page__container {
  max-width: 1400px;
  margin: 0 auto;
}

.excerpt-page__back {
  margin-bottom: 40px;
}

.excerpt-page__header {
  max-width: 1100px;
  margin: 0 auto 32px;
}

.excerpt-page__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.excerpt-page__meta {
  margin-bottom: 32px;
}

.excerpt-page__pdf-frame {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  min-height: 75vh;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.excerpt-page__pdf {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #111111;
}

.excerpt-page__pdf-link {
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: right;
}

.excerpt-page__pdf-link a {
  color: var(--color-accent);
  text-decoration: none;
}

.excerpt-page__body {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin: 0 auto;
}

/* ========================================
   CONTENTS PAGE
   ======================================== */

.contents-page {
  min-height: 100vh;
  padding: 140px 60px 100px;
}

.contents-page__container {
  max-width: 980px;
  margin: 0 auto;
}

.contents-page__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  text-align: center;
}

.contents-page__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.contents-page__body {
  display: flex;
  justify-content: center;
}

.contents-page__content {
  width: 100%;
  max-width: 680px;
  text-align: center;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.contents-page__content p {
  margin-bottom: 16px;
}

.contents-page__content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   NEWS
   ======================================== */

.news-preview,
.news-page,
.news-detail {
  padding: 100px 60px;
}

.news-preview__container,
.news-page__container,
.news-detail__container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-preview__header,
.news-page__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.news-preview__grid,
.news-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.news-card__cover {
  display: block;
  aspect-ratio: 16 / 10;
}

.news-card__cover img,
.news-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.news-card__title,
.news-page__title,
.news-detail__title {
  font-family: var(--font-display);
  line-height: 1;
}

.news-card__title {
  font-size: 24px;
}

.news-card__title a,
.news-card__link {
  color: var(--color-text);
  text-decoration: none;
}

.news-card__summary,
.news-detail__summary,
.news-detail__body {
  color: rgba(255, 255, 255, 0.82);
}

.news-card__summary p,
.news-detail__summary p,
.news-detail__body p {
  margin-bottom: 12px;
}

.news-card__summary p:last-child,
.news-detail__summary p:last-child,
.news-detail__body p:last-child {
  margin-bottom: 0;
}

.news-card__link {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-page__title {
  font-size: clamp(36px, 5vw, 72px);
}

.news-page__subtitle {
  max-width: 520px;
  color: var(--color-text-secondary);
}

.news-card__empty {
  color: var(--color-text-secondary);
}

.news-detail__container {
  max-width: 900px;
}

.news-detail__back {
  margin-bottom: 32px;
}

.news-detail__article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-detail__cover {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
}

.news-detail__title {
  font-size: clamp(36px, 5vw, 72px);
}

.contact__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.contact__social-link {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
}

/* ========================================
   DONATE
   ======================================== */

.donate-teaser,
.donate-page {
  padding: 100px 60px;
  background: var(--color-surface);
}

.donate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 140px;
}

.donate-teaser__container,
.donate-page__container {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.donate-teaser__container {
  text-align: center;
}

.donate-teaser__title,
.donate-page__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 70px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.donate-teaser__body,
.donate-page__body {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.donate-teaser__body p,
.donate-page__body p {
  margin-bottom: 14px;
}

.donate-teaser__body p:last-child,
.donate-page__body p:last-child {
  margin-bottom: 0;
}

.donate-teaser .btn-secondary,
.donate-page__actions {
  margin-top: 32px;
}

.donate-page__header {
  text-align: center;
}

.donate-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ========================================
   MODAL
   ======================================== */

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  margin: min(18vh, 140px) auto 0;
  padding: 36px 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 18px;
}

.modal__body {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.7;
}

.modal__body p {
  margin-bottom: 14px;
}

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

.modal__actions {
  margin-top: 28px;
}

body.modal-open {
  overflow: hidden;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .featured__grid,
  .philosophy__grid,
  .footer__content,
  .news-preview__grid,
  .news-page__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .catalog__grid {
    justify-content: center;
  }
  
  .nav {
    padding: 30px;
  }
  
  .hero,
  .featured,
  .philosophy,
  .catalog,
  .footer,
  .motto,
  .donate-teaser,
  .donate-page,
  .news-preview,
  .news-page,
  .news-detail,
  .contents-page,
  .about,
  .contact {
    padding: 100px 30px;
  }

  .news-preview__header,
  .news-page__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal__dialog {
    margin-top: 10vh;
  }

  .donate-page {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 100px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: relative;
    padding: 24px 20px 0;
    mix-blend-mode: normal;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav__menu {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .hero {
    min-height: auto;
    max-height: none;
    padding-top: 80px;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .featured__grid {
    grid-template-columns: 1fr;
  }

  .featured__image {
    max-width: 360px;
  }

  .featured__meta {
    grid-template-columns: 1fr;
  }

  .contact {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .contents-page {
    padding-top: 100px;
  }
}

@media (max-width: 640px) {
  .catalog__item {
    flex-basis: min(320px, 100%);
    width: min(320px, 100%);
  }

  .catalog__back-control {
    margin-bottom: 20px;
  }

  .catalog__back-text {
    font-size: 11px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .featured__actions .btn-secondary,
  .catalog__item-actions .btn-secondary {
    width: 100%;
  }

  .contact__email {
    font-size: clamp(20px, 7vw, 32px);
    word-break: break-word;
  }

  .footer {
    padding: 80px 20px 40px;
  }

  .footer__bottom {
    text-align: left;
  }

  .donate-page__actions,
  .modal__actions {
    width: 100%;
  }

  .modal__dialog {
    width: min(92vw, 560px);
    padding: 32px 20px 24px;
  }
}

/* ========================================
   VHS GLITCH EFFECTS
   ======================================== */

/* Glitch animation keyframes */
@keyframes glitch-anim {
  0% {
    clip-path: inset(40% 0 61% 0);
    transform: translate(0);
  }
  20% {
    clip-path: inset(92% 0 1% 0);
    transform: translate(-2px, 2px);
  }
  40% {
    clip-path: inset(43% 0 1% 0);
    transform: translate(2px, -2px);
  }
  60% {
    clip-path: inset(25% 0 58% 0);
    transform: translate(-2px, 0);
  }
  80% {
    clip-path: inset(54% 0 7% 0);
    transform: translate(2px, 2px);
  }
  100% {
    clip-path: inset(58% 0 43% 0);
    transform: translate(0);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip-path: inset(65% 0 15% 0);
    transform: translate(0);
  }
  20% {
    clip-path: inset(12% 0 78% 0);
    transform: translate(2px, -2px);
  }
  40% {
    clip-path: inset(78% 0 12% 0);
    transform: translate(-2px, 2px);
  }
  60% {
    clip-path: inset(32% 0 53% 0);
    transform: translate(2px, 0);
  }
  80% {
    clip-path: inset(2% 0 88% 0);
    transform: translate(-2px, -2px);
  }
  100% {
    clip-path: inset(84% 0 8% 0);
    transform: translate(0);
  }
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg);
  }
  10% {
    transform: skew(-2deg);
  }
  20% {
    transform: skew(2deg);
  }
  30% {
    transform: skew(-1deg);
  }
  40% {
    transform: skew(1deg);
  }
  50% {
    transform: skew(0deg);
  }
  100% {
    transform: skew(0deg);
  }
}

/* Glitch text effect */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 rgba(0, 0, 0, 0.5);
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: 2px 0 rgba(0, 0, 0, 0.3);
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

/* VHS Scanlines overlay */
.vhs-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  opacity: 0.3;
}

/* VHS Noise overlay */
.vhs-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: noise 0.2s infinite;
}

@keyframes noise {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 10%); }
  80% { transform: translate(-15%, 0); }
  90% { transform: translate(10%, 5%); }
}

/* RGB Split effect */
.rgb-split {
  position: relative;
  animation: glitch-skew 5s infinite;
}

.rgb-split::before,
.rgb-split::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.rgb-split::before {
  text-shadow: -2px 0 rgba(0, 0, 0, 0.5);
  z-index: -1;
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.rgb-split::after {
  text-shadow: 2px 0 rgba(0, 0, 0, 0.3);
  z-index: -2;
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

/* Distortion effect for sections */
.distortion {
  animation: distortion 8s infinite;
}

@keyframes distortion {
  0%, 100% {
    transform: translateX(0) scaleX(1);
  }
  10% {
    transform: translateX(-2px) scaleX(1.01);
  }
  20% {
    transform: translateX(2px) scaleX(0.99);
  }
  30% {
    transform: translateX(-1px) scaleX(1.005);
  }
  40% {
    transform: translateX(1px) scaleX(0.995);
  }
  50% {
    transform: translateX(0) scaleX(1);
  }
}

/* Chromatic aberration on hover */
.chromatic-hover {
  position: relative;
  transition: all 0.3s ease;
}

.chromatic-hover:hover {
  text-shadow: 
    -2px -2px 0 rgba(0, 0, 0, 0.5),
    2px 2px 0 rgba(0, 0, 0, 0.3);
}
