:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --text: #f5f1e8;
  --muted: #c8bfae;
  --line: rgba(212, 175, 55, 0.35);
  --gold: #d4af37;
  --gold-soft: #b9912f;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(212,175,55,.09), transparent 32%),
    linear-gradient(180deg, #070707 0%, #0d0d0d 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: .04em;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .98rem;
}

.main-nav a {
  color: var(--muted);
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--gold);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--gold);
  font-size: .88rem;
}

.page-hero,
.hero-copy,
.hero-panels,
.about-box,
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border: 1px solid rgba(212,175,55,.16);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: stretch;
}

.hero-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--line);
}

.hero h2,
.page-hero h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.4vw, 3.8rem);
  line-height: 1.16;
  font-weight: 500;
}

.hero p,
.page-hero p {
  margin: 22px 0 0;
  max-width: 55ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions,
.contact-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-size: .96rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: #111;
}

.button-secondary,
.button-small {
  background: transparent;
  color: var(--gold);
}

.hero-panels {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-height: 460px;
}

.panel-link {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(212,175,55,.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.15)),
    linear-gradient(135deg, #171717, #0c0c0c);
  padding: 28px;
  display: flex;
  align-items: flex-start;
}

.panel-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  pointer-events: none;
}

.panel-content {
  position: relative;
  z-index: 1;
}

.panel-title {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  margin: 0;
}

.panel-title2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0;
}

.panel-text {
  margin: 8px 0 16px;
  color: var(--muted);
}

.page-hero {
  padding: 52px 36px;
  margin: 42px 0 24px;
}

.section {
  padding: 28px 0 60px;
}

.section-header {
  display: grid;
  gap: 10px;
  text-align: center;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.section-header p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 70ch;
}

.subsection {
  margin-top: 36px;
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .88rem;
}

.subsection-title::before,
.subsection-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.book-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}

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

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

.book-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.18);
}

.book-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  background:
    linear-gradient(135deg, #1c1c1c, #070707 65%),
    radial-gradient(circle at top, rgba(212,175,55,.12), transparent 34%);
  border-bottom: 1px solid rgba(212,175,55,.16);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
  pointer-events: none;
}

.book-cover-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.04);
}

.book-cover-image {
  background-size: cover;
  background-position: center;
}

.book-badge {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}

.book-cover h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  font-weight: 500;
  max-width: 14ch;
}

.book-meta {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.book-text {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
  flex: 1;
}

.book-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.book-actions .button,
.book-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.book-actions .button {
  min-height: 42px;
  padding: 0 18px;
  font-size: .9rem;
  position: relative;
  z-index: 5;
}

.book-actions .button:hover,
.book-actions a:hover {
  background-color: #d4af37;
  color: #000;
}

.coming-soon .book-cover {
  background: linear-gradient(135deg, #141414, #0b0b0b);
}

.page-romans .book-card {
  display: flex;
  flex-direction: column;
}

.page-romans .book-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.page-romans .book-badge {
  margin: 0;
  font-size: 12px;
  letter-spacing: 2px;
}

.page-romans .book-meta h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.page-romans .book-text {
  margin: 0;
  opacity: 0.8;
}

.page-romans .book-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.contact-form-section {
  margin-top: 60px;
  max-width: 760px;
}

.contact-form-section h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #f5f1e8;
}

.contact-form-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #ddd6c8;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  color: #d4af37;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  color: #f5f1e8;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.12);
}

.gold-button {
  margin-top: 10px;
  align-self: flex-start;
  background: linear-gradient(135deg, #d4af37, #f1d57a);
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gold-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.form-message {
  margin-top: 18px;
  font-size: 1rem;
}

.form-message.success {
  color: #d4af37;
}

.form-message.error {
  color: #e07a7a;
}

.about-box,
.contact-box {
  padding: 36px;
}

.about-box p,
.contact-box p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.cards-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid rgba(212,175,55,.14);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-weight: 500;
}

.info-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 48px;
  padding: 24px 0 38px;
  color: var(--muted);
  font-size: .92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.note {
  color: var(--muted);
  font-size: .92rem;
}

/* ===== PAGE CONVENTIONS UNIQUEMENT ===== */

.conventions-grid {
  gap: 28px;
  align-items: start;
}

.conventions-grid .convention-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.conventions-grid .convention-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 14px 34px rgba(0,0,0,0.30);
}

.conventions-grid .convention-cover {
  position: relative;
  aspect-ratio: auto;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, #151515, #080808 70%),
    radial-gradient(circle at top, rgba(212,175,55,.10), transparent 38%);
  border-bottom: 1px solid rgba(212,175,55,.14);
}

.conventions-grid .convention-cover::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 14px;
  pointer-events: none;
}

.conventions-grid .book-cover-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.conventions-grid .book-meta {
  flex:0
}

.conventions-grid .convention-cover img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.35s ease;
}

.conventions-grid .convention-card:hover .convention-cover img {
  transform: scale(1.03);
}

..conventions-grid .convention-meta {
  flex: unset !important;
  flex-grow: 0 !important;
}

.conventions-grid .book-actions {
  margin-top: 10px;
}

.conventions-grid .convention-meta .book-text {
  margin: 0 0 18px;
  text-align: center;
  line-height: 1.6;
}

.conventions-grid .button {
  display: inline-flex;
  position: relative;
  z-index: 5;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.conventions-grid .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(212,175,55,0.18);
}

@media (max-width: 1100px) {
  .hero-grid,
  .hero-panels,
  .book-grid.cols-4,
  .cards-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-grid,
  .hero-panels,
  .book-grid.cols-4,
  .book-grid.cols-2,
  .cards-links {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panels,
  .page-hero,
  .about-box,
  .contact-box,
  .info-card {
    padding: 28px;
  }

  .panel-link {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero h2,
  .page-hero h2 {
    font-size: 2.1rem;
  }

  .button,
  .book-actions .button {
    width: 100%;
  }
}

.page-ooak h2 {
  font-size: 48px !important;
}


/* ===== FINITION PREMIUM CONVENTIONS ===== */

.conventions-grid .convention-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)),
    linear-gradient(135deg, rgba(212,175,55,0.03), transparent 45%);
  border: 1px solid rgba(212,175,55,0.18);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.conventions-grid .convention-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,0.42);
  box-shadow:
    0 18px 42px rgba(0,0,0,0.34),
    0 0 24px rgba(212,175,55,0.08);
}

.conventions-grid .convention-cover {
  background:
    radial-gradient(circle at top, rgba(212,175,55,.08), transparent 35%),
    linear-gradient(145deg, #151515, #080808 70%);
}

.conventions-grid .convention-cover::before {
  border: 1px solid rgba(212,175,55,0.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.conventions-grid .convention-cover img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.conventions-grid .button {
  background: rgba(212,175,55,0.04);
  border: 1px solid rgba(212,175,55,0.9);
  color: var(--gold);
  min-width: 190px;
  letter-spacing: 0.02em;
}

.conventions-grid .button:hover {
  background: rgba(212,175,55,0.12);
  color: #111;
  box-shadow:
    0 8px 18px rgba(212,175,55,0.16),
    0 0 18px rgba(212,175,55,0.10);
}

.page-conventions .subsection-title {
  font-size: .95rem;
  letter-spacing: .24em;
}
