:root {
  --purple-950: #2b0757;
  --purple-800: #4b0ca4;
  --purple-650: #6722c9;
  --purple-100: #f1e9ff;
  --gold: #f5bd2f;
  --ink: #201a29;
  --muted: #686170;
  --paper: #ffffff;
  --soft: #f7f4fa;
  --border: #e7e0ec;
  --shadow: 0 18px 45px rgba(43, 7, 87, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Nunito", system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 88px 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: white; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(231,224,236,.9); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 245px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; font-weight: 800; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--purple-650); }
.menu-button { display: none; border: 1px solid var(--border); background: white; color: var(--purple-950); padding: 10px 14px; border-radius: 12px; font: inherit; font-weight: 800; }

.hero { min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: url('assets/wall-of-puzzles.jpg') center/cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,5,72,.94) 0%, rgba(35,5,72,.81) 43%, rgba(35,5,72,.23) 76%, rgba(35,5,72,.08) 100%); }
.hero-content { position: relative; color: white; padding-block: 90px; }
.eyebrow { margin: 0 0 12px; color: var(--purple-650); text-transform: uppercase; letter-spacing: .13em; font-size: .82rem; font-weight: 900; }
.hero .eyebrow { color: #f7ca58; }
h1, h2, h3 { line-height: 1.1; margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.9rem, 6vw, 5.7rem); letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.hero-copy { max-width: 680px; margin: 0 0 34px; font-size: 1.2rem; color: rgba(255,255,255,.89); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #2d2100; box-shadow: 0 10px 26px rgba(245,189,47,.25); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

.section-heading { max-width: 700px; margin-bottom: 36px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-grid article { padding: 28px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(43,7,87,.06); }
.category-grid span { font-size: 2rem; }
.category-grid h3 { margin: 15px 0 8px; }
.category-grid p { margin: 0; color: var(--muted); }

.feature-band { background: var(--soft); }
.feature-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 64px; }
.feature-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.feature-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.link-list { display: grid; gap: 12px; margin-top: 30px; }
.link-list a { display: grid; gap: 2px; padding: 17px 18px; text-decoration: none; border: 1px solid var(--border); border-radius: 16px; background: white; transition: transform .2s ease, border-color .2s ease; }
.link-list a:hover { transform: translateX(4px); border-color: var(--purple-650); }
.link-list strong { color: var(--purple-800); }
.link-list span { color: var(--muted); font-size: .94rem; }

.visit { background: var(--purple-950); color: white; }
.visit .eyebrow { color: #f7ca58; }
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.visit address { font-style: normal; font-size: 1.1rem; color: rgba(255,255,255,.86); }
.phone { font-size: 1.35rem; font-weight: 900; }
.hours-card { padding: 34px; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(255,255,255,.08); }
.hours-card h3 { font-size: 1.5rem; }
.hours-card dl { margin: 0; }
.hours-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-card dt { font-weight: 800; }
.hours-card dd { margin: 0; color: #f7ca58; font-weight: 900; }
.hours-card p { margin-bottom: 0; color: rgba(255,255,255,.7); }

.site-footer { padding: 30px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { width: 180px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 75px; left: 20px; right: 20px; padding: 18px; align-items: stretch; flex-direction: column; gap: 8px; background: white; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px 10px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-layout, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-image img { aspect-ratio: 16 / 10; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section { padding: 66px 0; }
  .brand img { width: 190px; }
  .hero { min-height: 650px; }
  .hero-shade { background: rgba(35,5,72,.84); }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .category-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
