/* ============================================================
   museum.css , Optimised production stylesheet
   Replaces cdn.tailwindcss.com for the NHM case study page.
   To use: remove the <script src="https://cdn.tailwindcss.com">
   and the tailwind.config <script> from the <head>, then add:
   <link rel="stylesheet" href="museum.css" />
   ============================================================ */

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ----- CUSTOM PROPERTIES ----- */
:root {
  --almost-black: #161616;
  --white: #fff;
  --accent-blue: #3543A4;
  --accent-blue2: #7E8FFF;
  --accent-orange: #FFC251;
  --museum-gold: #CBB45B;
  --museum-cream: #EFE6C5;
  --shadow: 0px 0px 13px 3px rgba(0,0,0,.15);
  --font-display: 'Lexend Exa', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

/* ----- BASE ----- */
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: var(--almost-black);
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
  scrollbar-width: none;
}
body::-webkit-scrollbar { display: none; }

/* ----- NAV ----- */
.site-nav { background: var(--almost-black); display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 120px; position: sticky; top: 0; z-index: 100; isolation: isolate; }
.nav-logo { display: grid; grid-template-columns: max-content; grid-template-rows: max-content; place-items: start; text-decoration: none; line-height: 0; flex-shrink: 0; }
.nav-logo-dot-row { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 14.348px; height: 28.696px; }
.nav-dot { width: 16.304px; height: 16.304px; border-radius: 50%; background: var(--accent-orange); flex-shrink: 0; }
.nav-name { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 23.478px; letter-spacing: 3.261px; line-height: 28.696px; }
.nav-sub { grid-column: 1; grid-row: 1; font-family: var(--font-display); font-weight: 700; color: #fff; margin-left: 30.65px; margin-top: 23.48px; font-size: 13.043px; letter-spacing: 3.261px; line-height: 28.696px; }
.nav-links { display: flex; align-items: center; justify-content: space-between; width: 619px; flex-shrink: 0; }
.nav-links a, .nav-links button { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 16px; letter-spacing: -1px; line-height: 36px; text-decoration: none; background: none; border: none; cursor: pointer; white-space: nowrap; padding: 0; position: relative; }
.nav-links a::after, .nav-links button::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 0; height: 1px; background: #fff; transition: width .22s ease; }
.nav-links a:hover::after, .nav-links button:hover::after { width: 100%; }
.nav-hamburger { display: none; }
.nav-dropdown { display: none; }

@media (max-width: 1200px) { .nav-links { width: auto; justify-content: center; gap: 24px; } }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; flex-shrink: 0; padding: 4px; }
  .nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; transform-origin: center; }
  .site-nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .site-nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-dropdown { flex-direction: column; gap: 8px; background: var(--almost-black); padding: 8px 16px 16px; position: absolute; top: 100%; right: 0; width: fit-content; z-index: 200; opacity: 0; transform: translateY(-6px); transition: opacity .22s ease, transform .22s ease; }
  .nav-dropdown.is-open { opacity: 1; transform: translateY(0); }
  .nav-dropdown a, .nav-dropdown button { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 16px; letter-spacing: -1px; line-height: 36px; text-decoration: none; background: none; border: none; cursor: pointer; white-space: nowrap; padding: 0; text-align: left; position: relative; width: fit-content; }
  .nav-dropdown a::after, .nav-dropdown button::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 0; height: 1px; background: #fff; transition: width .22s ease; }
  .nav-dropdown a:hover::after, .nav-dropdown button:hover::after { width: 100%; }
}
@media (max-width: 480px) {
  .site-nav { padding: 8px 40px; }
  .nav-dot { width: 12.862px; height: 12.862px; }
  .nav-name { font-size: 18.522px; letter-spacing: 2.5725px; line-height: 22.638px; }
  .nav-logo-dot-row { gap: 11.319px; height: 22.638px; }
  .nav-sub { margin-left: 24.18px; margin-top: 18.52px; font-size: 10.29px; letter-spacing: 2.5725px; line-height: 22.638px; }
}

/* ----- CTA ----- */
.cta-section { position: relative; width: 100%; background-color: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 60px 0 80px; }
.cta-glow { position: absolute; width: 103.5%; height: 337%; left: -1.6%; top: 9.1%; pointer-events: none; z-index: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #FFC251 0%, #ffd47a 30%, #ffe8b0 55%, #fff5d8 72%, #fff 85%); filter: blur(22px); opacity: .95; }
.cta-card { position: relative; z-index: 1; background: #fff; border-radius: 20px; padding: 40px 36px 36px; display: flex; flex-direction: column; align-items: center; gap: 24px; width: min(638px, calc(100% - 48px)); box-shadow: var(--shadow); transition: transform .15s ease-out; will-change: transform; }
.cta-card h2 { font-family: var(--font-display); font-weight: 900; font-size: 34px; letter-spacing: -2px; line-height: 40px; text-align: center; color: var(--almost-black); }
.cta-card p { font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--almost-black); text-align: center; }
.cta-card p strong { font-weight: 500; }
.cta-btns { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 24px; background: var(--almost-black); color: #fff; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -1px; line-height: 36px; text-decoration: none; border: none; cursor: pointer; white-space: nowrap; transition: background .18s, transform .15s; }
.btn:hover { background: #000; transform: scale(1.02); }

/* ----- FADE ANIMATION ----- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ----- PHONES STRIP ----- */
.phones-strip { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.phones-strip::-webkit-scrollbar { display: none; }

/* ----- OLD CHECKOUT ----- */
.old-checkout-scroll { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 12px; }

/* ----- PERSONA CAROUSEL ----- */
.persona-carousel-wrapper { width: 100%; display: flex; align-items: center; gap: 16px; }
.persona-arrow { background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: opacity .2s; }
.persona-arrow:hover { opacity: 1; }
.persona-carousel { width: 100%; position: relative; overflow: hidden; }
.persona-slide { display: none; }
.persona-slide.active { display: block; animation: fadeSlide .3s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.persona-card { background: var(--museum-cream); border-radius: 40px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.persona-left, .persona-right { display: flex; flex-direction: column; gap: 20px; }
.persona-header { display: flex; gap: 17px; align-items: center; }
.persona-photo { width: 180px; height: 180px; border-radius: 20px; object-fit: cover; flex-shrink: 0; }
.persona-id { background: #fff; border-radius: 20px; flex: 1; padding: 24px 16px; display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; }
.persona-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -2px; line-height: 34px; color: var(--almost-black); }
.persona-meta { display: flex; gap: 16px; font-family: var(--font-body); font-size: 14px; line-height: 21px; color: var(--almost-black); }
.persona-meta-labels { display: flex; flex-direction: column; gap: 0; white-space: nowrap; }
.persona-meta-values { display: flex; flex-direction: column; gap: 0; }
.persona-meta p, .persona-meta-labels p, .persona-meta-values p { margin: 0; }
.persona-white-box { background: #fff; border-radius: 20px; padding: 10px 20px; flex: 1; font-family: var(--font-body); font-size: 14px; line-height: 21px; color: var(--almost-black); display: flex; flex-direction: column; gap: 6px; }
.persona-box-label { font-family: var(--font-body); font-weight: 700; font-size: 14px; line-height: 21px; color: var(--almost-black); margin: 0; }
.persona-white-box p { margin: 0; font-size: 14px; line-height: 21px; }
.persona-list { list-style: disc; padding-left: 20px; margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 21px; }
.persona-controls { display: flex; align-items: center; justify-content: center; gap: 24px; }
.persona-dots { display: flex; gap: 24px; align-items: center; }
.persona-dot { width: 8px; height: 8px; border-radius: 50%; background: #c4c4c4; border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.persona-dot.active { background: var(--almost-black); transform: scale(1.4); }
@media (max-width: 1080px) { .persona-card { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .persona-photo { width: 120px; height: 120px; } .persona-id { padding: 14px 16px; } }

/* ----- JOURNEY CHART ----- */
@media (max-width: 1080px) { .journey-chart-wrap { padding-left: 0 !important; padding-right: 0 !important; } }

/* ----- HIGHLIGHT ----- */
.hl { display: inline; background: var(--museum-cream); border-radius: 9px; padding: 0 4px; }

/* ----- JOURNEY TABLE ----- */
.journey-table { background: var(--museum-gold); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.j-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; min-width: 780px; }
.j-cell { background: #fff; border-radius: 10px; padding: 8px 10px; font-family: var(--font-body); font-size: 13px; line-height: 20px; color: #090909; }
.j-cell.lbl { font-weight: 700; }
.j-cell.cream { background: var(--museum-cream); }

/* ----- COMP TABLE ----- */
.comp-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow); }
.comp-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 14px; line-height: 21px; min-width: 600px; }
.comp-table th { font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 12px 14px; text-align: left; border-bottom: 1px solid #e5e7eb; background: #fff; }
.comp-table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: top; background: #fff; }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .rl { font-weight: 700; white-space: nowrap; background: #fafafa; }

/* ============================================================
   TAILWIND UTILITIES , only the classes used in museum_2_6.html
   ============================================================ */

/* --- Layout --- */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.top-\[20\%\] { top: 20%; }

/* --- Flex/Grid --- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-\[auto_1fr\] { grid-template-columns: auto 1fr; }

/* --- Gap --- */
.gap-0 { gap: 0px; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }
.gap-x-12 { column-gap: 48px; }
.gap-y-1 { row-gap: 4px; }
.gap-\[22px\] { gap: 22px; }
.gap-\[27px\] { gap: 27px; }
.gap-\[43px\] { gap: 43px; }
.gap-\[60px\] { gap: 60px; }
.gap-\[80px\] { gap: 80px; }

/* --- Sizing --- */
.w-full { width: 100%; }
.w-8 { width: 32px; }
.w-\[100px\] { width: 100px; }
.w-\[110px\] { width: 110px; }
.w-\[200px\] { width: 200px; }
.w-\[240px\] { width: 240px; }
.w-\[52px\] { width: 52px; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-px { height: 1px; }
.h-\[100px\] { height: 100px; }
.h-\[52px\] { height: 52px; }
.min-h-\[104px\] { min-height: 104px; }
.min-h-\[128px\] { min-height: 128px; }
.aspect-square { aspect-ratio: 1 / 1; }

/* --- Max-width --- */
.max-w-\[211px\] { max-width: 211px; }
.max-w-\[240px\] { max-width: 240px; }
.max-w-\[472px\] { max-width: 472px; }
.max-w-\[526px\] { max-width: 526px; }
.max-w-\[668px\] { max-width: 668px; }
.max-w-\[704px\] { max-width: 704px; }
.max-w-\[710px\] { max-width: 710px; }
.max-w-\[950px\] { max-width: 950px; }
.max-w-\[1076px\] { max-width: 1076px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Padding --- */
.p-2 { padding: 8px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-\[48px\] { padding-top: 48px; padding-bottom: 48px; }
.pt-\[48px\] { padding-top: 48px; }
.pb-0 { padding-bottom: 0; }
.pb-4 { padding-bottom: 16px; }
.pb-\[36px\] { padding-bottom: 36px; }
.pl-5 { padding-left: 20px; }
.ml-3 { margin-left: 12px; }
.mr-3 { margin-right: 12px; }
.mb-2 { margin-bottom: 8px; }
.mb-8 { margin-bottom: 32px; }
.mb-\[32px\] { margin-bottom: 32px; }
.mb-\[60px\] { margin-bottom: 60px; }
.mt-2 { margin-top: 8px; }

/* --- Typography --- */
.font-display { font-family: 'Lexend Exa', sans-serif; }
.font-body { font-family: 'IBM Plex Sans', sans-serif; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-\[14px\] { font-size: 14px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[20px\] { font-size: 20px; }
.text-\[22px\] { font-size: 22px; }
.text-\[24px\] { font-size: 24px; }
.text-\[34px\] { font-size: 34px; }
.text-\[64px\] { font-size: 64px; }
.leading-\[21px\] { line-height: 21px; }
.leading-\[24px\] { line-height: 24px; }
.leading-\[26px\] { line-height: 26px; }
.leading-\[30px\] { line-height: 30px; }
.leading-\[34px\] { line-height: 34px; }
.leading-\[36px\] { line-height: 36px; }
.leading-\[40px\] { line-height: 40px; }
.tracking-\[-2px\] { letter-spacing: -2px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.align-middle { vertical-align: middle; }
.list-disc { list-style-type: disc; }
.text-white { color: #fff; }
.text-\[\#090909\] { color: #090909; }
.text-\[\#7d5c01\] { color: #7d5c01; }

/* --- Hero gradient (replaces Tailwind multi-class gradient) --- */
.hero-gradient { background-image: linear-gradient(to right, #ddc774 55%, rgba(221,199,116,0.5)); }

/* --- Backgrounds --- */
.bg-white { background-color: #fff; }
.bg-\[\#B3B3B3\] { background-color: #B3B3B3; }
.bg-\[\#cbb45b\] { background-color: #cbb45b; }
.bg-\[\#efe6c5\] { background-color: #efe6c5; }
.bg-\[rgba\(239\,230\,197\,0\.5\)\] { background-color: rgba(239,230,197,0.5); }

/* --- Borders & Radius --- */
.rounded-full { border-radius: 9999px; }
.rounded-\[7px\] { border-radius: 7px; }
.rounded-\[8px\] { border-radius: 8px; }
.rounded-\[9px\] { border-radius: 9px; }
.rounded-\[12px\] { border-radius: 12px; }
.rounded-\[15px\] { border-radius: 15px; }
.rounded-\[16px\] { border-radius: 16px; }
.rounded-\[20px\] { border-radius: 20px; }
.rounded-\[32px\] { border-radius: 32px; }
.rounded-bl-\[20px\] { border-bottom-left-radius: 20px; }
.rounded-tl-\[20px\] { border-top-left-radius: 20px; }
.rounded-tr-\[20px\] { border-top-right-radius: 20px; }

/* --- Effects --- */
.overflow-hidden { overflow: hidden; }
.shadow-\[0px_0px_13px_0px_rgba\(0\,0\,0\,0\.15\)\] { box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.15); }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   sm: 640px  |  md: 768px  |  lg: 1024px
   hero: 1080px  |  wide: 1200px
   ============================================================ */

/* --- sm (640px) --- */
@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- md (768px) --- */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:flex-1 { flex: 1 1 0%; }
  .md\:flex-nowrap { flex-wrap: nowrap; }
  .md\:min-w-0 { min-width: 0; }
  .md\:ml-auto { margin-left: auto; }
  .md\:items-end { align-items: flex-end; }
  .md\:gap-0 { gap: 0px; }
  .md\:gap-6 { gap: 24px; }
  .md\:gap-\[120px\] { gap: 120px; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:mb-\[88px\] { margin-bottom: 88px; }
  .md\:pl-3 { padding-left: 12px; }
  .md\:pl-\[80px\] { padding-left: 80px; }
  .md\:pr-0 { padding-right: 0; }
  .md\:pr-3 { padding-right: 12px; }
  .md\:px-0 { padding-left: 0; padding-right: 0; }
  .md\:px-2 { padding-left: 8px; padding-right: 8px; }
  .md\:px-5 { padding-left: 20px; padding-right: 20px; }
  .md\:px-\[120px\] { padding-left: 120px; padding-right: 120px; }
  .md\:w-1\/5 { width: 20%; }
  .md\:w-\[527px\] { width: 527px; }
  .md\:w-\[74\%\] { width: 74%; }
}

/* --- lg (1024px) --- */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* --- hero (1080px) --- */
@media (min-width: 1080px) {
  .hero\:block { display: block; }
  .hero\:hidden { display: none; }
  .hero\:max-w-\[1076px\] { max-width: 1076px; }
  .hero\:px-\[120px\] { padding-left: 120px; padding-right: 120px; }
  .md\:flex-row { flex-direction: row; }
}

/* --- wide (1200px) --- */
@media (min-width: 1200px) {
  .wide\:px-\[120px\] { padding-left: 120px; padding-right: 120px; }
}

@media (max-width: 575px) {
  .intro-glow-blue,
  .intro-glow-orange,
  .ux-check-glow,
  .offer-diamond,
  .offer-workshop-glow,
  .hero-outline-glow,
  .workshop-glow { display: none; }
      .cta-section { padding-bottom: 24px; }
    }

/* Utilities that were previously supplied by the Tailwind CDN.
   The CDN build is a dev tool, it compiled CSS in the browser and blocked rendering.
   These three were the only classes on the page it was still providing. */
.mt-auto { margin-top: auto; }
.w-\[160px\] { width: 160px; }
.leading-\[28px\] { line-height: 28px; }
