:root {
  --blue: #082a86;
  --blue2: #0048c7;
  --red: #e5101d;
  --ink: #0b1b52;
  --white: #ffffff;
  --soft: #f8faff;
  --shadow: 0 18px 50px rgba(8, 42, 134, 0.13);
}

/* ========================================
   RESET
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 70%,
    #f7f9ff 100%
  );
}

.wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}


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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e9eef8;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 92px;
}

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

.brand img {
  width: 155px;
  height: auto;
  display: block;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 18px;
  font-weight: 800;
}

.navlinks a {
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.navlinks a:hover {
  color: var(--red);
}

.navlinks a:focus-visible {
  outline: 3px solid rgba(0, 72, 199, 0.25);
  outline-offset: 4px;
  border-radius: 5px;
}

.buy-mini {
  padding: 13px 18px;
  border-radius: 999px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  box-shadow: 0 8px 20px rgba(0, 72, 199, 0.22);
}

.menu {
  display: none;
  margin-left: auto;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}


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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0.64;
  filter: saturate(1.12) brightness(1.24);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0.38) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: 60px;
  align-items: center;
  padding: 70px 0;
}

.eyebrow {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1 {
  margin: 14px 0 22px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--blue);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  color: var(--blue);
}

h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  color: var(--blue);
}

.lead {
  max-width: 780px;
  margin: 0;
  font-size: clamp(22px, 2.3vw, 31px);
  font-weight: 700;
}

.copy {
  font-size: 20px;
}

.cover {
  width: min(440px, 88vw);
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: 6px;
  filter: drop-shadow(0 30px 35px rgba(11, 27, 82, 0.28));
}


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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

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

.btn:focus-visible {
  outline: 4px solid rgba(0, 72, 199, 0.22);
  outline-offset: 4px;
}

.amazon {
  color: #ffffff;
  background: linear-gradient(135deg, #0057e7, #062570);
}

.bn {
  color: #ffffff;
  background: linear-gradient(135deg, #ff2727, #b5000b);
}

.outline {
  color: var(--blue);
  background: #ffffff;
  border: 2px solid var(--blue);
  box-shadow: none;
}


/* ========================================
   SECTIONS
======================================== */

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--soft);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
  font-size: 21px;
}


/* ========================================
   CARDS
======================================== */

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

.card {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e7ecf6;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card p {
  font-size: 18px;
}


/* ========================================
   ART / IMAGES
======================================== */

.brand-art {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.art-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  background: #ffffff;
}


/* ========================================
   FEATURES
======================================== */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature {
  padding: 24px;
  border: 1px solid #e4eaf5;
  border-radius: 18px;
  background: #ffffff;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}


/* ========================================
   SPLIT LAYOUT
======================================== */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}


/* ========================================
   GUINNESS
======================================== */

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

.guinness-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-drag: none;
}


/* ========================================
   CALL TO ACTION BAND
======================================== */

.cta-band {
  padding: 56px 0;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), #103fbc);
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band p {
  font-size: 22px;
}


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

.footer {
  padding: 38px 0;
  color: #ffffff;
  background: #071847;
}

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

.footer a {
  color: #ffffff;
}

.small {
  font-size: 15px;
  opacity: 0.85;
}


/* ========================================
   INNER PAGE HERO
======================================== */

.page-hero {
  padding: 72px 0 58px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.page-hero h1 {
  font-size: clamp(44px, 6vw, 74px);
}

.big-logo {
  width: min(520px, 86vw);
  height: auto;
  mix-blend-mode: multiply;
}


/* ========================================
   BOOK PAGE
======================================== */

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.book-layout .cover {
  position: sticky;
  top: 120px;
}

.perfect {
  columns: 2;
  column-gap: 36px;
  font-size: 20px;
}

.perfect li {
  margin: 0 0 13px;
  break-inside: avoid;
}


/* ========================================
   COLORING CLUB
======================================== */

.club-box {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.club-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin: 24px auto 0;
}

.club-form input {
  min-width: 0;
  flex: 1;
  padding: 18px 20px;
  color: var(--ink);
  background: #ffffff;
  border: 2px solid #dbe3f2;
  border-radius: 12px;
  font-size: 18px;
  outline: none;
}

.club-form input:focus {
  border-color: var(--blue2);
  box-shadow: 0 0 0 4px rgba(0, 72, 199, 0.1);
}

.note {
  font-size: 15px;
  opacity: 0.72;
}


/* ========================================
   FLUID ART
======================================== */

.fluid-orb {
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 25px 60px rgba(8, 42, 134, 0.2);
}


/* ========================================
   TABLET / MOBILE
======================================== */

@media (max-width: 900px) {

  .nav {
    min-height: 76px;
  }

  .brand img {
    width: 120px;
  }

  .menu {
    display: block;
  }

  .navlinks {
    position: absolute;
    top: 76px;
    left: -4vw;
    right: -4vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    padding: 22px 4vw 28px;
    background: #ffffff;
    border-bottom: 1px solid #e3e8f2;
    box-shadow: 0 18px 30px rgba(11, 27, 82, 0.1);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    width: 100%;
    padding: 11px 0;
  }

  .buy-mini {
    width: fit-content !important;
    padding: 13px 20px !important;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background: rgba(255, 255, 255, 0.84);
  }

  .hero-grid,
  .split,
  .book-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
    padding: 54px 0;
  }

  .cards,
  .art-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .cover {
    max-width: 360px;
  }

  .book-layout .cover {
    position: static;
  }

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

  .perfect {
    columns: 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .club-form {
    flex-direction: column;
  }
}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 600px) {

  .wrap {
    width: min(92vw, 1180px);
  }

  .section {
    padding: 66px 0;
  }

  .page-hero {
    padding: 58px 0 44px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  h3 {
    font-size: 24px;
  }

  .lead {
    font-size: 21px;
  }

  .copy,
  .section-head p {
    font-size: 18px;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 56px;
    padding: 15px 20px;
  }

  .card {
    padding: 22px;
  }

  .feature {
    font-size: 18px;
  }

  .cta-band {
    padding: 48px 0;
  }

  .cta-band p {
    font-size: 19px;
  }
}


/* ========================================
   REDUCED MOTION ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

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

  .btn:hover {
    transform: none;
  }
}