/* =========================================================
   VARIABLES
========================================================= */
:root {
  --navy: #0b1a33;
  --navy-deep: #071224;
  --blue: #14355e;
  --blue-mid: #1c3f6e;
  --gold: #c9a24b;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --off-white: #f7f3ea;
  --text-dark: #0b1a33;
  --text-light: #f5f3ec;
  --text-muted: #5b6472;

  --container: 1500px;
  --section-padding: 100px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', Arial, sans-serif;
  --font-script: 'Caveat', cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================================
   SHARED ELEMENTS
========================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-left: 26px;
  position: relative;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--gold);
}
.eyebrow-dark { color: var(--gold); }
.eyebrow-light { color: var(--gold-light); }
.eyebrow-gold { color: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-title-light { color: var(--white); }

.section-body {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 28px;
}
.section-body-light { color: #c7cfdc; }

.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 3px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--blue-mid); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.li-icon { margin-right: 16px; color: var(--gold); display: inline-flex; flex-shrink: 0; }
.li-icon .line-icon { width: 32px; height: 32px; stroke-width: 1.4; }
.line-icon { display: block; }

/* =========================================================
   01. HEADER
========================================================= */
.site-header { background: var(--navy); position: relative; z-index: 50; }

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: auto; height: 96px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
}
.brand-sub {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-top: 3px;
}

.header-right { display: flex; align-items: center; gap: 26px; }
.tagline {
  font-family: var(--font-script);
  font-size: 19px;
  color: var(--gold-light);
}
.header-icons { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.header-icons a { color: var(--gold); }
.header-icons a:hover { color: var(--gold-light); }
.search-btn { background: none; border: none; color: var(--gold); cursor: pointer; font-size: 14px; }

.main-nav { border-top: 1px solid rgba(255,255,255,0.1); background: var(--navy-deep); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  display: block;
  padding: 15px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #cdd4e0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
}
.hamburger span { width: 24px; height: 2px; background: var(--white); }

.mobile-nav {
  display: none;
  background: var(--navy-deep);
  flex-direction: column;
}
.mobile-nav a { display: block; padding: 14px 40px; color: var(--white); border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
.mobile-nav.open { display: flex; }

/* =========================================================
   02. HERO
========================================================= */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 25%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,12,24,0.65) 0%, rgba(6,12,24,0.28) 40%, rgba(6,12,24,0.05) 62%, rgba(6,12,24,0.25) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 230px;
  align-items: start;
  gap: 20px;
  padding-top: 56px;
}
.hero-left { grid-column: 1; }
.hero-right { grid-column: 2; }
.hero-left { padding-bottom: 0; }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-subtitle { font-size: 15px; font-weight: 600; color: var(--gold-light); margin-bottom: 16px; }
.hero-body { font-size: 15px; color: #d7dce6; max-width: 380px; margin-bottom: 26px; }

.hero-right { padding-top: 62px; padding-left: 10px; text-align: left; }
.quote-mark { font-family: var(--font-serif); font-size: 44px; color: var(--gold); line-height: 1; display: block; margin-bottom: 4px; }
.hero-quote { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.35; margin: 0 0 18px; }
.quote-close { color: var(--gold); font-style: normal; font-size: 15px; vertical-align: super; }
.quote-divider { width: 44px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.quote-name { font-weight: 700; font-size: 14px; }
.quote-role { font-size: 12px; color: #b9c1cf; margin-top: 4px; }

/* =========================================================
   03. WHAT WE DO / PLATFORM CARDS
========================================================= */
.platforms { background: var(--off-white); padding: var(--section-padding) 0; }
.platforms-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 50px;
  align-items: center;
}
.platforms-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.platforms-cards-4 { grid-template-columns: repeat(4, 1fr); }
.platform-card {
  background: var(--white);
  border: 1px solid #e7e1d3;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(11,26,51,0.05);
  padding: 40px 20px 32px;
  text-align: center;
}
.card-icon { color: var(--gold); margin-bottom: 24px; display: flex; justify-content: center; }
.card-icon .line-icon { width: 48px; height: 48px; stroke-width: 1.3; }
.platform-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.platform-card p { font-size: 12.5px; color: var(--text-muted); margin-bottom: 20px; min-height: 52px; }
.platform-card a { font-size: 11.5px; font-weight: 700; color: var(--blue); letter-spacing: 0.02em; }

/* =========================================================
   04. FEATURED BOOKS
========================================================= */
.featured-books {
  background: var(--navy-deep);
  padding: var(--section-padding) 0 60px;
  position: relative;
  overflow: hidden;
}
.featured-books-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.featured-books-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,18,36,0.75) 0%, rgba(7,18,36,0.92) 100%);
}
.books-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 50px;
  align-items: center;
}
.books-right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.books-left { min-width: 0; }
.books-viewport { flex: 1; overflow: hidden; }
.books-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.books-track::-webkit-scrollbar { display: none; }
.book-item {
  flex: 0 0 calc(25% - 14px);
  scroll-snap-align: start;
}
.book-item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; margin-bottom: 12px; }
.book-title { font-size: 13px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 4px; }
.book-cat { font-size: 11px; color: var(--gold-light); }
.carousel-arrow {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.18); }
.carousel-dots { position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.dot { width: 8px; height: 8px; padding: 0; border: none; cursor: pointer; border-radius: 50%; background: rgba(255,255,255,0.25); }
.dot.active { background: var(--gold); }

/* =========================================================
   05. SHOP & EXPLORE
========================================================= */
.shop { background: var(--off-white); display: flex; align-items: stretch; }
.shop-image-wrap { position: relative; flex: 0 0 38%; width: 38%; height: 420px; overflow: hidden; align-self: center; }
.shop-image-full { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-image-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}
.shop-image-grid img:first-child { grid-row: 1 / span 2; }
.shop-image-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-image-fade {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 140px;
  background: linear-gradient(90deg, rgba(247,243,234,0) 0%, var(--off-white) 100%);
  pointer-events: none;
}
.shop-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr auto 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 70px 60px;
}
.shop-divider { width: 1px; height: 140px; background: #d9d2c0; justify-self: center; }
.shop-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 0;
}

/* =========================================================
   06. OUR SERVICES
========================================================= */
.services { background: var(--navy); display: flex; align-items: stretch; }
.services-image-wrap { position: relative; flex: 0 0 38%; width: 38%; }
.services-image-full { width: 100%; height: 100%; object-fit: cover; display: block; }
.services-image-fade {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 140px;
  background: linear-gradient(90deg, rgba(11,26,51,0) 0%, var(--navy) 100%);
  pointer-events: none;
}
.services-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr auto 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 70px 60px;
}
.services-divider { width: 1px; height: 160px; background: rgba(255,255,255,0.15); justify-self: center; }
.services-list li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  padding: 18px 0;
}
.btn-blue {
  background: var(--blue-mid);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue); }

/* =========================================================
   07. MEDIA & ENTERTAINMENT
========================================================= */
.media-section { background: var(--white); padding: var(--section-padding) 0; }
.media-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 50px;
  align-items: center;
}
.media-collage {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.4fr;
  gap: 0;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 100%);
  border-radius: 6px;
  overflow: hidden;
}
.media-collage img { width: 100%; height: 320px; object-fit: cover; display: block; }
.media-collage img:nth-child(3) { object-position: 100% center; }

/* =========================================================
   08. INTERACTIVE APP
========================================================= */
.app-section { position: relative; overflow: hidden; color: var(--white); min-height: 640px; display: flex; align-items: center; }
.app-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; }
.app-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,34,0.25) 0%, rgba(6,16,34,0.55) 100%); }
.app-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr auto 0.7fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.app-spacer { pointer-events: none; }
.app-divider { width: 1px; height: 160px; background: rgba(255,255,255,0.15); justify-self: center; }
.app-center { text-align: center; }
.app-center .section-body { margin-left: auto; margin-right: auto; }
.app-features li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 18px 0;
  color: var(--text-light);
}

/* =========================================================
   09. CTA LANDSCAPE
========================================================= */
.cta-landscape {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(8,16,30,0.4); }
.cta-content { position: relative; z-index: 2; }
.cta-script { font-family: var(--font-script); font-size: 44px; margin-bottom: 10px; }
.cta-sub { font-size: 14px; color: #e9e4d8; margin-bottom: 26px; }

/* =========================================================
   10. FOOTER
========================================================= */
.site-footer { background: var(--navy-deep); color: var(--text-light); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 30px;
  padding-bottom: 50px;
}
.footer-divider { width: 1px; background: rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: auto; height: 190px; object-fit: contain; flex-shrink: 0; }
.footer-brand span { font-family: var(--font-serif); font-weight: 700; font-size: 14px; }
.footer-links h4, .footer-connect h4 {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: #cdd4e0; }
.footer-links a:hover { color: var(--white); }
.footer-icons { display: flex; gap: 14px; margin-bottom: 20px; font-size: 14px; }
.footer-icons a { color: var(--gold); }
.newsletter-form { display: flex; max-width: 240px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 12.5px;
  border-radius: 3px 0 0 3px;
}
.newsletter-form button {
  padding: 0 16px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  font-weight: 700;
}
.footer-quote p { font-family: var(--font-script); font-size: 22px; color: var(--gold-light); line-height: 1.3; margin-bottom: 8px; }
.footer-quote span { font-size: 12px; color: #9aa4b5; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 12px; color: #9aa4b5; }
.footer-legal a { color: #9aa4b5; }
.footer-legal a:hover { color: var(--white); }

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-left, .hero-right { grid-column: 1; padding-top: 0; padding-bottom: 20px; text-align: center; }
  .hero-right { padding-left: 0; }
  .hero-body { margin-left: auto; margin-right: auto; }

  .platforms-grid { grid-template-columns: 1fr; }
  .platforms-cards { grid-template-columns: repeat(3, 1fr); }

  .books-grid { grid-template-columns: 1fr; }
  .book-item { flex-basis: calc(50% - 9px); }

  .app-grid { grid-template-columns: 1fr; text-align: center; }
  .shop-divider, .services-divider, .app-divider { display: none; }
  .section-body { margin-left: auto; margin-right: auto; }

  .shop { flex-direction: column; }
  .shop-image-wrap { width: 100%; flex-basis: auto; height: 320px; }
  .shop-image-fade { width: 100%; height: 80px; top: auto; bottom: 0; background: linear-gradient(180deg, rgba(247,243,234,0) 0%, var(--off-white) 100%); }
  .shop-content { grid-template-columns: 1fr; text-align: center; padding: 50px 30px; }

  .services { flex-direction: column; }
  .services-image-wrap { width: 100%; flex-basis: auto; height: 320px; }
  .services-image-fade { width: 100%; height: 80px; top: auto; bottom: 0; background: linear-gradient(180deg, rgba(11,26,51,0) 0%, var(--navy) 100%); }
  .services-content { grid-template-columns: 1fr; text-align: center; padding: 50px 30px; }

  .media-grid { grid-template-columns: 1fr; }
  .media-collage img { height: 220px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-divider { display: none; }
}

/* =========================================================
   RESPONSIVE — NAV (switches to hamburger before the main
   nav's 9 links run out of room, independent of the general
   mobile breakpoint below)
========================================================= */
@media (max-width: 820px) {
  .header-right .tagline { display: none; }
  .main-nav ul { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
}

@media (max-width: 560px) {
  .brand { gap: 10px; }
  .brand-logo { height: 48px; }
  .brand-name { font-size: 12.5px; }
  .brand-sub { display: none; }
  .header-icons { gap: 12px; font-size: 13px; }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 720px) {
  .container { padding: 0 22px; }

  .hero-title { font-size: 30px; }

  .platforms-cards { grid-template-columns: repeat(2, 1fr); }
  .book-item { flex-basis: 78%; }
  .media-collage { grid-template-columns: 1fr; clip-path: none; }
  .media-collage img { height: 220px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 360px) {
  .platforms-cards { grid-template-columns: 1fr; }
}

@media (max-width: 300px) {
  .header-icons { gap: 8px; }
  .brand-name { font-size: 12px; }
}

/* =========================================================
   INNER PAGES — shared components
========================================================= */
.page-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: var(--white);
  padding: 70px 0;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,34,0.78) 0%, rgba(6,16,34,0.6) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 1500px; }
.page-hero-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin-bottom: 14px; }
.page-hero-sub { font-size: 16px; color: #d7dce6; max-width: 480px; }
.breadcrumb { font-size: 12.5px; color: #b9c1cf; margin-top: 18px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { margin: 0 6px; }

.page-section { padding: var(--section-padding) 0; }
.page-section-alt { background: var(--off-white); }
.page-section-navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-section-navy > .container { position: relative; z-index: 2; }

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.split-section.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split-section.reverse .split-image { order: 2; }
.split-image img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 6px; }
.split-image-book img {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: var(--off-white);
  padding: 20px;
  box-shadow: 0 20px 40px rgba(11,26,51,0.15);
}
.split-content ul { margin-top: 20px; }
.split-content ul li {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11,26,51,0.08);
}
.page-section-navy .split-content ul li { border-bottom-color: rgba(255,255,255,0.1); color: var(--text-light); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.catalog-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 14px; box-shadow: 0 14px 28px rgba(11,26,51,0.15); }
.catalog-card .book-title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.catalog-card .book-cat { font-size: 11.5px; color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}
.contact-info-item { margin-bottom: 28px; }
.contact-info-item h4 { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--text-light); }
.contact-form-panel { background: var(--white); border-radius: 8px; padding: 44px; }
.contact-form-panel .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.contact-form-panel label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.contact-form-panel input, .contact-form-panel textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ddd6c6;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--off-white);
}
.contact-form-panel textarea { resize: vertical; min-height: 130px; }
.contact-form-panel .form-full { margin-bottom: 18px; }
.contact-form-panel button { border: none; cursor: pointer; width: 100%; }
.form-success { display: none; color: var(--blue); font-weight: 600; margin-top: 14px; font-size: 14px; }
.form-success.visible { display: block; }

@media (max-width: 1080px) {
  .split-section, .split-section.reverse { grid-template-columns: 1fr; }
  .split-section.reverse .split-image { order: 0; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-panel { padding: 28px; }
  .contact-form-panel .form-row { grid-template-columns: 1fr; }
  .page-hero { min-height: 280px; text-align: left; }
  .map-section iframe { height: 300px; }
}

/* =========================================================
   MAP (contact page)
========================================================= */
.map-section { width: 100%; background: var(--off-white); }
.map-section iframe { width: 100%; height: 420px; border: 0; display: block; }

/* =========================================================
   STOREFRONT — cart, product cards, checkout
========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: rgba(11,26,51,0.35); }
.btn-outline-dark:hover { background: rgba(11,26,51,0.06); }
button.btn { cursor: pointer; font-family: inherit; }

.cart-btn { position: relative; background: none; border: none; color: var(--gold); cursor: pointer; padding: 2px 4px; display: inline-flex; }
.cart-btn:hover { color: var(--gold-light); }
.cart-count {
  position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--gold); color: var(--navy);
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
}

.cart-overlay { position: fixed; inset: 0; background: rgba(6,12,24,0.55); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 200; }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--white); color: var(--navy); z-index: 210;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
}
.cart-drawer.open { transform: translateX(0); box-shadow: -18px 0 40px rgba(6,12,24,0.25); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid #e7e1d3; }
.cart-drawer-head h3 { font-family: var(--font-serif); font-size: 22px; }
.cart-close { background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--navy); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-drawer-foot { padding: 20px 24px 24px; border-top: 1px solid #e7e1d3; display: grid; gap: 10px; background: var(--off-white); }
.cart-empty { padding: 40px 0; text-align: center; color: var(--text-muted); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 16px; }
.cart-note { font-size: 12.5px; color: var(--text-muted); }

.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid #efe9db; align-items: start; }
.cart-line img { width: 64px; height: 88px; object-fit: cover; border-radius: 3px; }
.cart-line-info { display: grid; gap: 4px; }
.cart-line-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.cart-line-price { font-size: 13px; color: var(--text-muted); }
.cart-line-total { display: grid; gap: 6px; justify-items: end; font-weight: 700; font-size: 14px; }
.link-btn { background: none; border: none; padding: 0; font-size: 12px; color: var(--text-muted); text-decoration: underline; cursor: pointer; font-family: inherit; }
.link-btn:hover { color: var(--navy); }
.qty { display: inline-flex; align-items: center; border: 1px solid #d9d2c0; border-radius: 4px; width: max-content; margin-top: 4px; }
.qty button { width: 30px; height: 30px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--navy); }
.qty button:hover { background: var(--off-white); }
.qty span { min-width: 30px; text-align: center; font-size: 13px; font-weight: 700; }

.product-price { font-size: 14px; font-weight: 700; color: var(--gold-light); margin: 2px 0 10px; }
.product-price.soon { font-weight: 500; opacity: .8; }
.add-btn {
  display: inline-block; padding: 9px 16px; border-radius: 3px; cursor: pointer;
  background: var(--gold); color: var(--navy); border: 1px solid var(--gold);
  font: 700 11.5px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  transition: filter .15s ease;
}
.add-btn:hover:not(:disabled) { filter: brightness(1.08); }
.add-btn:disabled { background: transparent; color: inherit; border-color: currentColor; opacity: .55; cursor: not-allowed; }
.book-title a, .book-item a { color: inherit; }
.catalog-card .product-price { color: var(--navy); }
.catalog-card .add-btn:disabled { color: var(--text-muted); }
.catalog-card .book-title a { color: var(--navy); }
.catalog-card .book-title a:hover { color: var(--gold); }

.shop-list li { gap: 0; }
.shop-list .li-text { flex: 1; line-height: 1.35; padding-right: 10px; }
.shop-list .li-text a:hover { color: var(--gold); }
.li-price { font-weight: 700; font-size: 13.5px; white-space: nowrap; margin-right: 12px; }
.li-price.soon { font-weight: 500; color: var(--text-muted); font-size: 12px; }
.mini-add {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
  background: var(--navy); color: var(--white); border: none; font-size: 18px; line-height: 1;
}
.mini-add:hover:not(:disabled) { background: var(--gold); color: var(--navy); }
.mini-add:disabled { background: #e2dccd; color: var(--text-muted); cursor: not-allowed; font-size: 14px; }

.catalog-grid.centered { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 22px; }
.catalog-grid.centered .catalog-card { flex: 0 0 210px; }

.shop-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: 4px;
  font-size: 13.5px; z-index: 300; pointer-events: none; transition: all .25s ease; max-width: calc(100% - 32px);
}
.shop-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* cart + checkout pages */
.shop-page { padding: 60px 0 90px; background: var(--off-white); }
.shop-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.shop-panel { background: var(--white); border: 1px solid #e7e1d3; border-radius: 6px; padding: 28px; }
.shop-panel h2 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 18px; color: var(--navy); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14.5px; }
.summary-row.total { border-top: 1px solid #e7e1d3; margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 700; }
.summary-note { font-size: 12.5px; color: var(--text-muted); margin: 10px 0 20px; }
.empty-state { text-align: center; padding: 50px 20px; }
.empty-state p { color: var(--text-muted); margin-bottom: 22px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 7px; color: var(--navy); }
.field input, .field select { width: 100%; padding: 12px 13px; border: 1px solid #ddd6c6; border-radius: 4px; font: 14px var(--font-sans); background: var(--off-white); color: var(--navy); }
.field input:focus, .field select:focus, .qty button:focus-visible, .add-btn:focus-visible, .btn:focus-visible, .mini-add:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.order-lines .cart-line { grid-template-columns: 56px 1fr auto; }
.order-lines .cart-line img { width: 56px; height: 76px; }
.demo-banner { background: #fff6dc; border: 1px solid #ecd9a0; color: #6b5314; padding: 12px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 18px; }
.order-done { display: none; text-align: center; padding: 30px 10px; }
.order-done.show { display: block; }
.order-done h2 { margin-bottom: 10px; }
.order-done p { color: var(--text-muted); margin-bottom: 20px; }

/* product page */
.pdp { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.pdp-image img { display: block; width: 100%; max-width: 420px; height: auto; max-height: 620px; object-fit: contain; background: var(--white); padding: 14px; border-radius: 6px; box-shadow: 0 20px 40px rgba(11,26,51,0.15); }
.pdp-info .eyebrow { margin-bottom: 12px; }
.pdp-info h1 { font-family: var(--font-serif); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; color: var(--navy); margin-bottom: 14px; }
.pdp-price { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.pdp-price.soon { font-size: 18px; font-weight: 500; color: var(--text-muted); }
.pdp-blurb { max-width: 560px; color: var(--text-muted); margin-bottom: 26px; }
.pdp-buy { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pdp-buy input { width: 70px; padding: 13px 10px; border: 1px solid #d9d2c0; border-radius: 4px; font: 15px var(--font-sans); text-align: center; }
.pdp-meta { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e7e1d3; font-size: 13.5px; color: var(--text-muted); display: grid; gap: 6px; }
.related { margin-top: 70px; }
.related h2 { font-family: var(--font-serif); font-size: 26px; text-align: center; margin-bottom: 30px; color: var(--navy); }

@media (max-width: 1080px) {
  .shop-layout, .pdp { grid-template-columns: 1fr; }
  .pdp-image img { max-width: 320px; }
}
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .shop-panel { padding: 20px; }
  .catalog-grid.centered .catalog-card { flex-basis: calc(50% - 11px); }
}
.page-hero-slim { min-height: 0; padding: 46px 0; }
.page-hero-slim .page-hero-title { margin-bottom: 0; }

.field input.invalid, .field select.invalid { border-color: #a3281f; background: #fff7f6; }

/* search + cart live in the nav bar */
.nav-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-tools .search-btn { font-size: 17px; padding: 2px 4px; }

.cart-count.empty { background: rgba(201,162,75,0.35); color: var(--white); }

/* product video */
.pdp-cover { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; width: 100%; max-width: 420px; }
.pdp-cover img { transition: transform .25s ease; }
.pdp-cover:hover img { transform: translateY(-3px); }
.pdp-cover:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.play-badge {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(7,18,36,0.88); color: var(--white); padding: 10px 18px 10px 12px; border-radius: 999px;
  font: 700 12px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(6,12,24,0.35);
}
.play-badge svg { background: var(--gold); color: var(--navy); border-radius: 50%; padding: 5px; box-sizing: content-box; width: 18px; height: 18px; }
.pdp-cover:hover .play-badge { background: var(--navy); }

body.modal-open { overflow: hidden; }
.video-modal {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center;
  background: rgba(4,9,18,0.92); padding: 24px 16px; animation: vfade .2s ease;
}
@keyframes vfade { from { opacity: 0; } to { opacity: 1; } }
.video-frame { display: grid; gap: 10px; justify-items: center; max-width: 100%; }
.video-frame video { display: block; max-width: min(94vw, 1200px); max-height: calc(100vh - 110px); background: #000; border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.video-title { color: #d7dce6; font-size: 13.5px; text-align: center; }
.video-close {
  position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--white); border: none; font-size: 30px; line-height: 1; cursor: pointer;
}
.video-close:hover { background: rgba(255,255,255,0.24); }
.video-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .video-modal { animation: none; } .pdp-cover img { transition: none; } }
