/* Mjollnir's Magic Prop Shop — shared stylesheet */
:root {
  --bg: #0a1a1d;
  --bg-2: #0f2a2f;
  --surface: #112f35;
  --surface-2: #164048;
  --line: #1b4a52;
  --teal: #1d7582;
  --cyan: #6ce9f0;
  --cyan-dim: #59bec2;
  --ink: #e8fdfd;
  --ink-2: #d5fdfd;
  --mute: #9db8bc;
  --warn: #f0b86c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 24px rgba(108,233,240,0.15), 0 0 48px rgba(29,117,130,0.12);
  --font-head: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink-2);
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(108,233,240,0.09), transparent 60%),
    radial-gradient(800px 400px at 85% 20%, rgba(29,117,130,0.12), transparent 60%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(10,26,29,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(108,233,240,0.5);
  filter: brightness(1.5) contrast(1.2) saturate(1.15);
  box-shadow: 0 0 12px rgba(108,233,240,0.5);
}
.brand .name {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
nav.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
nav.main-nav a { color: var(--mute); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
nav.main-nav a:hover { color: var(--cyan); text-decoration: none; }
nav.main-nav a.active { color: var(--cyan); }
@media (max-width: 640px) {
  nav.main-nav ul { gap: 14px; }
  nav.main-nav a { font-size: 12px; letter-spacing: 0.05em; }
  .brand .name { font-size: 15px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--cyan); color: #06181b;
  box-shadow: 0 0 24px rgba(108,233,240,0.35);
}
.btn-primary:hover { background: #8ff2f8; transform: translateY(-1px); color: #06181b; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); text-decoration: none; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Sections */
section { padding: 72px 0; }
section.compact { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 10px;
}
h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.1;
  color: var(--ink); margin: 0 0 16px; letter-spacing: 0.01em;
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.8vw, 36px);
  color: var(--ink); margin: 0 0 10px; letter-spacing: 0.01em;
}
h3 {
  font-family: var(--font-head);
  font-size: 22px; color: var(--ink); margin: 0; letter-spacing: 0.01em;
}
.section-head p { color: var(--mute); max-width: 560px; margin: 0 auto; }

/* Hero */
.hero { text-align: center; padding: 72px 0 56px; position: relative; }
.hero-logo {
  width: 220px; height: 220px; border-radius: 50%;
  display: block; margin: 0 auto 28px;
  border: 2px solid rgba(108,233,240,0.65);
  filter: brightness(1.6) contrast(1.25) saturate(1.2);
  box-shadow:
    0 0 0 6px rgba(108,233,240,0.08),
    0 0 48px rgba(108,233,240,0.45),
    0 0 96px rgba(29,117,130,0.35);
}
.hero .tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--mute);
  max-width: 620px; margin: 0 auto 32px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-compact { padding: 56px 0 24px; text-align: center; }
.hero-compact .eyebrow { margin-bottom: 14px; }

/* Credentials strip */
.creds {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.creds-row {
  display: flex; gap: 32px; justify-content: center; align-items: center;
  flex-wrap: wrap; color: var(--mute);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.creds-row span { display: inline-flex; align-items: center; gap: 10px; }
.creds-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* Grid of cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .15s ease, box-shadow .3s ease;
}
.card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(108,233,240,0.08);
}
.card h3 { font-size: 22px; }
.card .meta {
  font-size: 12px; color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase;
}
.card p { color: var(--mute); margin: 0; font-size: 15px; }
.card .price {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  padding: 8px 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  align-self: flex-start;
}
.card .btn { margin-top: auto; align-self: flex-start; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(108,233,240,0.1);
  color: var(--cyan);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border: 1px solid rgba(108,233,240,0.2);
  align-self: flex-start;
}
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

/* About / split */
.split-section {
  background: radial-gradient(600px 300px at 20% 0%, rgba(29,117,130,0.14), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.split-grid img.round {
  width: 100%; max-width: 280px; border-radius: 50%;
  border: 2px solid rgba(108,233,240,0.55);
  filter: brightness(1.6) contrast(1.25) saturate(1.2);
  box-shadow: 0 0 0 6px rgba(108,233,240,0.06), 0 0 40px rgba(108,233,240,0.3);
  justify-self: center;
}
.split-grid p { color: var(--ink-2); font-size: 17px; }
.split-grid p + p { margin-top: 14px; }
@media (max-width: 720px) { .split-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; } }

/* Contact box */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  max-width: 640px; margin: 0 auto;
}
.contact-box .big-email {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--cyan);
  display: inline-block;
  margin: 10px 0 20px;
  word-break: break-all;
}
.socials { display: flex; justify-content: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.socials a { color: var(--mute); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.socials a:hover { color: var(--cyan); text-decoration: none; }

/* Forms */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  color: var(--cyan); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea {
  background: rgba(10,26,29,0.6);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit; font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(108,233,240,0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--cyan-dim); }
.faq summary {
  color: var(--ink); font-weight: 600; font-size: 16px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 22px; margin-left: 12px; transition: transform .15s ease; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--mute); margin: 12px 0 0; }

/* Testimonial */
.quote {
  background: var(--surface);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  max-width: 720px; margin: 0 auto;
  font-size: 18px; color: var(--ink-2); font-style: italic;
}
.quote cite { display: block; margin-top: 10px; color: var(--cyan); font-style: normal; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

/* Shipping toggle */
.ship-toggle { display: inline-flex; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin: 20px 0 10px; }
.ship-toggle button {
  background: transparent; color: var(--mute);
  border: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  transition: background .15s ease, color .15s ease;
  font-family: inherit;
}
.ship-toggle button.active { background: var(--cyan); color: #06181b; }
.ship-note { color: var(--mute); font-size: 13px; margin-top: 4px; }

/* Blog list */
.blog-list { display: flex; flex-direction: column; gap: 16px; }
.blog-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .15s ease, transform .1s ease;
  text-decoration: none;
}
.blog-row:hover { border-color: var(--cyan-dim); text-decoration: none; transform: translateY(-1px); }
.blog-row .date { color: var(--cyan); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.blog-row h3 { color: var(--ink); margin: 0; }
.blog-row p { color: var(--mute); margin: 0; }

/* Blog article */
article.story { max-width: 720px; margin: 0 auto; padding: 32px 24px 64px; }
article.story .date { color: var(--cyan); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
article.story h1 { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 20px; }
article.story p { color: var(--ink-2); font-size: 17px; margin: 0 0 18px; }
article.story blockquote {
  border-left: 3px solid var(--cyan);
  background: var(--surface);
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--ink); font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
article.story a.back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mute); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}
article.story a.back:hover { color: var(--cyan); text-decoration: none; }

/* Footer */
footer {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
footer .foot-brand { color: var(--ink); font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; }
footer .foot-links { display: flex; justify-content: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
footer .foot-links a { color: var(--mute); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.rune { display: block; margin: 0 auto; width: 40px; height: 4px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); border-radius: 2px; opacity: 0.5; }

/* Product image on cards */
.card .product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
}

/* Featured hero image (home) */
.featured-wall {
  position: relative;
  margin: 48px auto 0;
  max-width: 760px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 48px rgba(108,233,240,0.2), 0 20px 60px rgba(0,0,0,0.4);
}
.featured-wall img {
  display: block;
  width: 100%;
  height: auto;
}
.featured-wall .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 32px;
  background: linear-gradient(0deg, rgba(10,26,29,0.95) 0%, rgba(10,26,29,0.7) 60%, transparent 100%);
  color: var(--ink);
}
.featured-wall .overlay .eyebrow { margin-bottom: 6px; }
.featured-wall .overlay h3 { font-size: 24px; color: var(--ink); }

/* Blog story hero image */
article.story img.story-hero {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  margin: 0 0 28px;
}

/* ============================================================
   Parallax hero + animated magical background
   (ported pattern from fatbastardtattoo.ca)
   ============================================================ */

/* Hero logo scales from oversized down to resting as you scroll.
   Only engages when JS is loaded (html.js) + reduced motion is off. */
html.js .hero-logo-parallax {
  transform-origin: top center;
  transform: scale(var(--hlS, 1.4));
  will-change: transform;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .hero-logo-parallax { transform: scale(1) !important; }
}

/* The magical background layer — fixed-position behind everything */
.magic-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.magic-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1400px 700px at 30% -5%, rgba(108,233,240,0.07), transparent 55%),
    radial-gradient(900px 500px at 85% 25%, rgba(29,117,130,0.09), transparent 60%),
    radial-gradient(600px 400px at 20% 90%, rgba(108,233,240,0.05), transparent 60%);
}
.magic-bg .float {
  position: absolute;
  opacity: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
.magic-bg .float svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(108,233,240,0.3));
  opacity: 0.5;
}

/* Positions + animation delays for each floating shape */
.float-1 { top: 10%; left: 5%; width: 70px; height: 100px; animation: drift-a 45s infinite; animation-delay: 0s; }
.float-2 { top: 28%; left: 85%; width: 60px; height: 60px; animation: drift-b 55s infinite; animation-delay: -12s; }
.float-3 { top: 55%; left: 12%; width: 50px; height: 50px; animation: drift-c 60s infinite; animation-delay: -25s; }
.float-4 { top: 72%; left: 78%; width: 80px; height: 115px; animation: drift-a 50s infinite reverse; animation-delay: -5s; }
.float-5 { top: 15%; left: 55%; width: 55px; height: 55px; animation: drift-b 42s infinite; animation-delay: -30s; }
.float-6 { top: 45%; left: 92%; width: 65px; height: 95px; animation: drift-c 58s infinite; animation-delay: -18s; }
.float-7 { top: 85%; left: 40%; width: 55px; height: 80px; animation: drift-a 48s infinite reverse; animation-delay: -8s; }
.float-8 { top: 38%; left: 48%; width: 70px; height: 70px; animation: drift-b 52s infinite reverse; animation-delay: -22s; }

@keyframes drift-a {
  0%   { transform: translate(0,0) rotate(-6deg); opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { transform: translate(50px, -40px) rotate(14deg); opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translate(0, -80px) rotate(-10deg); opacity: 0; }
}
@keyframes drift-b {
  0%   { transform: translate(0,0) rotate(0deg); opacity: 0; }
  15%  { opacity: 0.45; }
  50%  { transform: translate(-60px, -50px) rotate(-18deg); opacity: 0.55; }
  85%  { opacity: 0.3; }
  100% { transform: translate(0, -100px) rotate(8deg); opacity: 0; }
}
@keyframes drift-c {
  0%   { transform: translate(0,0) rotate(10deg); opacity: 0; }
  12%  { opacity: 0.5; }
  50%  { transform: translate(40px, -60px) rotate(-22deg); opacity: 0.6; }
  88%  { opacity: 0.3; }
  100% { transform: translate(0, -110px) rotate(16deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .magic-bg .float { animation: none !important; opacity: 0.25; }
}

/* Hide floating shapes on tiny screens to keep it clean */
@media (max-width: 520px) {
  .magic-bg .float { display: none; }
}

/* Hero with parallax needs a bit more vertical space */
.hero.hero-parallax {
  padding: 56px 0 72px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   Wade-inspired sections for home page
   ============================================================ */

/* Differentiators 3-column */
.diffs {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.diff-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.diff-item {
  text-align: center;
  padding: 20px 10px;
}
.diff-item .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(108,233,240,0.08);
  border: 1px solid rgba(108,233,240,0.3);
  margin-bottom: 16px;
  font-size: 24px;
}
.diff-item h3 { font-size: 18px; margin-bottom: 8px; }
.diff-item p { color: var(--mute); font-size: 15px; margin: 0; }
@media (max-width: 720px) { .diff-grid { grid-template-columns: 1fr; } }

/* Stats row (for the "Meet Seamus" section) */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 28px 0;
  text-align: center;
}
.stat {
  padding: 16px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.stat .n {
  font-family: var(--font-head);
  font-size: 32px; color: var(--cyan); line-height: 1;
  display: block; margin-bottom: 6px;
}
.stat .l {
  font-size: 11px; color: var(--mute); letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat .n { font-size: 26px; } }

/* 3-step booking process */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  position: relative;
}
.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--cyan); color: #06181b;
  border-radius: 50%;
  font-family: var(--font-head); font-size: 22px; font-weight: bold;
  margin-bottom: 14px;
  box-shadow: 0 0 24px rgba(108,233,240,0.35);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--mute); font-size: 15px; margin: 0; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* Promise / guarantee box */
.promise-box {
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  border: 1px solid var(--cyan-dim);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  max-width: 760px; margin: 0 auto;
  box-shadow: 0 0 40px rgba(108,233,240,0.1);
}
.promise-box .big {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink); margin: 10px 0 14px;
  letter-spacing: 0.01em;
}
.promise-box p { color: var(--mute); margin: 0; }

/* Shipping notice banner */
.ship-banner {
  background: linear-gradient(90deg, rgba(29,117,130,0.2), rgba(108,233,240,0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  margin-bottom: 32px;
}
.ship-banner strong { color: var(--cyan); }
