@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rye&display=swap');

:root {
  --qn-cream: #f8e8c2;
  --qn-paper: #efd29b;
  --qn-gold: #e9a52a;
  --qn-gold-light: #f4c45f;
  --qn-red: #b52018;
  --qn-red-deep: #8c100d;
  --qn-brown: #54250f;
  --qn-brown-deep: #2a1007;
  --qn-text: #2c1509;
  --qn-muted: #67411e;
  --qn-container: min(1430px, calc(100% - 56px));
  --qn-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --qn-display: Rye, Georgia, serif;
  --qn-header-height: 104px;
  --qn-shadow: 0 14px 34px rgba(60, 24, 7, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.qn-public-page {
  margin: 0;
  overflow-x: hidden;
  color: var(--qn-text);
  background: #2b1208;
  font-family: var(--qn-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.qn-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qn-container { width: var(--qn-container); margin-inline: auto; }
.qn-anchor-target { position: absolute; top: 0; }
.qn-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.qn-skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: #8f130f;
  border-radius: 5px;
  transform: translateY(-150%);
  transition: transform .18s ease;
}
.qn-skip-link:focus { transform: translateY(0); }

/* Header */
.qn-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--qn-header-height);
  color: #fff5dc;
  transition: background .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
}
.qn-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(45, 15, 4, .58) 0%, rgba(45, 15, 4, .28) 68%, rgba(45, 15, 4, 0) 100%);
  pointer-events: none;
}
.qn-header.is-scrolled {
  position: fixed;
  height: 78px;
  background: rgba(54, 22, 8, .92);
  box-shadow: 0 8px 24px rgba(26, 8, 2, .28);
  backdrop-filter: blur(12px);
}
.qn-header.is-scrolled::before { opacity: 0; }
.qn-header-row {
  position: relative;
  height: var(--qn-header-height);
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding-top: 14px;
  transition: height .24s ease, padding-top .24s ease;
}
.qn-header.is-scrolled .qn-header-row {
  height: 78px;
  align-items: center;
  padding-top: 0;
}
.qn-logo {
  align-self: start;
  z-index: 2;
  display: flex;
  width: 220px;
  height: 136px;
  align-items: flex-start;
  padding-top: 10px;
  transition: width .24s ease, height .24s ease, padding .24s ease;
}
.qn-logo img {
  width: 212px;
  height: auto;
  filter: drop-shadow(0 10px 12px rgba(44, 16, 4, .24));
  transition: width .24s ease;
}
.qn-header.is-scrolled .qn-logo { width: 166px; height: 78px; padding-top: 5px; align-items: center; }
.qn-header.is-scrolled .qn-logo img { width: 152px; }
.qn-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  gap: clamp(20px, 2vw, 34px);
  min-width: 0;
  padding-top: 4px;
}
.qn-nav a {
  position: relative;
  padding: 12px 0 14px;
  color: #fff5dd;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(38, 12, 3, .42);
}
.qn-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 9px;
  background: linear-gradient(90deg, #ffe3a5, #eeb249);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.qn-nav a:hover::after,
.qn-nav a.is-active::after { transform: scaleX(1); }
.qn-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: start;
  gap: 18px;
  padding-top: 4px;
}
.qn-header.is-scrolled .qn-nav,
.qn-header.is-scrolled .qn-header-actions { padding-top: 0; }
.qn-login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff5dc;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(38, 12, 3, .42);
}
.qn-login-link svg { width: 20px; height: 20px; }
.qn-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(255, 237, 201, .34);
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  background: rgba(76, 29, 7, .26);
  cursor: pointer;
}
.qn-menu-toggle span { width: 21px; height: 2px; border-radius: 3px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.qn-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.qn-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qn-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.qn-btn {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform .17s ease, filter .17s ease, box-shadow .17s ease;
}
.qn-btn:hover { transform: translateY(-2px); filter: brightness(1.035); }
.qn-btn:focus-visible,
.qn-nav a:focus-visible,
.qn-login-link:focus-visible,
.qn-footer a:focus-visible { outline: 3px solid rgba(247, 190, 79, .62); outline-offset: 3px; }
.qn-btn-red {
  color: #fffaf1;
  background: linear-gradient(180deg, #cb3025, #a61511);
  border-color: rgba(100, 10, 6, .42);
  box-shadow: 0 7px 16px rgba(78, 17, 5, .28), inset 0 1px rgba(255,255,255,.17);
}
.qn-btn-cream {
  color: #48220e;
  background: linear-gradient(180deg, #fff1cf, #e8ca91);
  border-color: rgba(91, 43, 14, .38);
  box-shadow: 0 7px 15px rgba(69, 27, 8, .17), inset 0 1px rgba(255,255,255,.45);
}
.qn-btn-outline {
  min-height: 39px;
  color: #4e240e;
  background: rgba(255, 245, 218, .32);
  border-color: rgba(171, 93, 20, .86);
  box-shadow: inset 0 1px rgba(255,255,255,.28);
}

/* Hero */
.qn-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  isolation: isolate;
  background: #e5b768;
}
.qn-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 28% 44%, rgba(255, 241, 201, .64), transparent 31%),
    linear-gradient(90deg, rgba(225, 171, 87, .10), rgba(255, 228, 168, .08)),
    url('quest-design/parchment-texture.jpg') center 42% / cover no-repeat;
  filter: saturate(.98) brightness(1.055);
}
.qn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg,
      rgba(244, 211, 150, .93) 0%,
      rgba(245, 214, 157, .69) 35%,
      rgba(239, 198, 127, .14) 55%,
      rgba(77, 31, 8, .09) 100%),
    linear-gradient(180deg, rgba(63, 23, 6, .20), transparent 22%, transparent 82%, rgba(67, 25, 7, .11));
  pointer-events: none;
}
.qn-hero-grid { position: relative; z-index: 4; height: 100%; }
.qn-hero-copy {
  position: relative;
  z-index: 5;
  width: min(690px, 51%);
  padding: 165px 0 0 64px;
}
.qn-hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px !important;
  color: #8b3517 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .14em;
  line-height: 1 !important;
  text-transform: uppercase;
  text-shadow: none !important;
}
.qn-hero-kicker span { width: 28px; height: 1px; background: #b06024; }
.qn-hero-copy h1 { margin: 0; }
.qn-hero-copy h1 span,
.qn-hero-copy h1 strong {
  display: block;
  font-family: var(--qn-display);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .96;
  text-wrap: balance;
}
.qn-hero-copy h1 span {
  color: #45200d;
  font-size: clamp(31px, 2.35vw, 40px);
  white-space: nowrap;
}
.qn-hero-copy h1 strong {
  margin-top: 9px;
  color: #a91c16;
  font-size: clamp(52px, 4.2vw, 70px);
  text-shadow: 0 1px 0 rgba(255,255,255,.24), 0 5px 14px rgba(105, 28, 7, .08);
  white-space: nowrap;
}
.qn-hero-copy > p:not(.qn-hero-kicker) {
  max-width: 492px;
  margin: 20px 0 0;
  color: #241106;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 1px 0 rgba(255, 246, 225, .62);
}
.qn-hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 19px; }
.qn-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 19px;
  margin-top: 16px;
  color: #f8e8c2;
  font-size: 11px;
  font-weight: 750;
}
.qn-hero-benefits span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: #f8e8c2;
  background: rgba(66, 27, 9, .82);
  border: 1px solid rgba(248, 232, 194, .26);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(64, 25, 7, .12);
}
.qn-hero-benefits svg { width: 14px; height: 14px; color: #f8e8c2; }
.qn-hero-visual {
  position: absolute;
  z-index: -2;
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  width: min(930px, 56vw);
  height: 420px;
  overflow: hidden;
}
.qn-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, #ebc987 0%, rgba(235,201,135,.75) 6%, rgba(235,201,135,.17) 18%, transparent 31%);
  pointer-events: none;
}
.qn-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(58, 20, 5, .04), transparent 50%, rgba(58, 20, 5, .10));
  pointer-events: none;
}
.qn-hero-people { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.03) contrast(1.015); }
.qn-hero-props {
  position: absolute;
  z-index: 3;
  left: -6px;
  bottom: -2px;
  width: 225px;
  height: 210px;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 13px 16px rgba(48, 20, 8, .22));
  pointer-events: none;
}
.qn-torn-edge {
  position: absolute;
  z-index: 11;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 18px;
  background: url('quest-design/torn-top.svg') center bottom / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 2px rgba(38, 12, 3, .18));
  pointer-events: none;
}

/* Featured hunts */
.qn-featured-band {
  position: relative;
  z-index: 10;
  min-height: 198px;
  margin-top: -2px;
  color: #fff4d5;
  background:
    url('quest-design/featured-rope-left-attached.png') left -2px / 188px 166px no-repeat,
    url('quest-design/featured-rope-right-attached.png') right -1px / 150px 166px no-repeat,
    linear-gradient(180deg, rgba(49, 19, 7, .88), rgba(70, 27, 10, .95)),
    url('quest-design/wood-texture.jpg') center / cover no-repeat;
  box-shadow:
    0 -9px 22px rgba(47, 17, 5, .22),
    inset 0 1px rgba(255,226,160,.10),
    inset 0 8px 15px rgba(28, 9, 2, .20),
    inset 0 -1px rgba(22,8,3,.55);
}
/* The hero already supplies the upper torn edge. Avoid a second cream strip here. */
.qn-featured-band::before { content: none; }
.qn-featured-band::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 10px;
  pointer-events: none;
  background: url('quest-design/torn-paper.svg') center / 100% 100% no-repeat;
  opacity: .82;
  transform: rotate(180deg);
  filter: drop-shadow(0 3px 2px rgba(58, 21, 6, .10));
}
.qn-featured-band > .qn-container { min-height: 198px; padding-top: 7px; }
.qn-band-title {
  min-height: 46px;
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.qn-band-title span { width: 46px; height: 1px; background: #d99b32; opacity: .75; }
.qn-band-title small { display: block; margin-bottom: 2px; color: #d8a450; font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.qn-band-title h2 { margin: 0; color: #efb94d; font-family: var(--qn-display); font-size: 23px; font-weight: 400; letter-spacing: .025em; text-transform: uppercase; }
.qn-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 252px;
  align-items: center;
  gap: 18px;
  min-height: 136px;
  padding: 0 54px 8px 72px;
}
.qn-featured-item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-width: 0;
  min-height: 106px;
  padding: 7px 18px 7px 7px;
  border-right: 1px solid rgba(238, 189, 108, .22);
  border-radius: 10px;
  transition: transform .20s ease, background .20s ease, box-shadow .20s ease;
}
.qn-featured-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, rgba(255, 214, 133, .075), rgba(255, 214, 133, 0));
  box-shadow: 0 10px 22px rgba(20, 5, 1, .16);
}
.qn-featured-item img {
  width: 106px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 229, 175, .20);
  box-shadow: 0 6px 16px rgba(13, 4, 1, .30);
  transition: transform .22s ease, filter .22s ease;
}
.qn-featured-item:hover img { transform: scale(1.04) rotate(-1deg); filter: brightness(1.06); }
.qn-featured-copy { min-width: 0; }
.qn-featured-copy small { display: block; color: #e8a72d; font-size: 10px; font-weight: 800; letter-spacing: .065em; }
.qn-featured-copy h3 {
  min-height: 42px;
  margin: 4px 0 3px;
  color: #fff8e9;
  font-family: var(--qn-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: anywhere;
}
.qn-featured-copy p { margin: 0; color: #f0d6ad; font-size: 12px; }
.qn-featured-meta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 7px; }
.qn-featured-meta span { display: inline-flex; align-items: center; gap: 4px; color: #efc57c; font-size: 10.5px; white-space: nowrap; }
.qn-featured-meta svg { width: 12px; height: 12px; color: #d99b29; }
.qn-featured-more {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  min-height: 106px;
  padding-left: 2px;
  transition: transform .18s ease;
}
.qn-featured-more:hover { transform: translateX(4px); }
.qn-featured-more strong { position: relative; width: max-content; }
.qn-featured-more strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.qn-featured-more:hover strong::after { transform: scaleX(1); }
.qn-featured-more-icon { grid-row: 1 / span 2; display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; color: #e6a52b; }
.qn-featured-more-icon svg { width: 36px; height: 36px; }
.qn-featured-more strong { color: #f0c779; font-family: var(--qn-display); font-size: 16px; font-weight: 400; }
.qn-featured-more small { color: #e7c796; font-size: 10.5px; line-height: 1.35; }
.qn-featured-more b { grid-column: 3; grid-row: 1 / span 2; color: #f0c36e; font-size: 28px; font-weight: 400; }

/* Discovery / how it works */
.qn-lower-wrap {
  position: relative;
  z-index: 4;
  min-height: 258px;
  margin-top: -1px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,246,222,.45), rgba(234,196,129,.26)),
    url('quest-design/parchment-texture.jpg') center 44% / cover no-repeat;
}
.qn-lower-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(85, 34, 9, .13), transparent 18px),
    linear-gradient(90deg, rgba(255,255,255,.12), transparent 22%, transparent 78%, rgba(255,255,255,.10));
}
.qn-lower-grid {
  position: relative;
  z-index: 1;
  min-height: 258px;
  display: grid;
  grid-template-columns: 1.02fr 1.18fr .56fr;
  align-items: stretch;
  gap: 28px;
  padding: 28px 0 24px;
}
.qn-discover { position: relative; display: grid; grid-template-columns: 224px minmax(0, 1fr); align-items: center; gap: 16px; min-width: 0; }
.qn-section-text { position: relative; z-index: 3; }
.qn-section-text h2,
.qn-how h2,
.qn-built-for h2 { margin: 0; color: #45200d; font-family: var(--qn-display); font-size: 20px; font-weight: 400; line-height: 1.08; text-transform: uppercase; }
.qn-section-text p { max-width: 220px; margin: 12px 0 16px; color: #3a2516; font-size: 12.5px; font-weight: 500; line-height: 1.55; }
.qn-discover-art { position: relative; align-self: center; height: 172px; }
.qn-discover-art::before { content: "×"; position: absolute; z-index: 3; right: 1px; bottom: 7px; color: #bd271b; font-size: 36px; font-weight: 800; transform: rotate(-12deg); }
.qn-discover-art img { width: 100%; height: 172px; object-fit: contain; object-position: center; filter: saturate(1.08) contrast(1.02) drop-shadow(0 10px 10px rgba(75, 38, 14, .13)); }
.qn-how { min-width: 0; padding: 0 5px; }
.qn-how h2 { text-align: center; }
.qn-how-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.qn-how-steps::before { content: ""; position: absolute; z-index: 0; top: 38px; left: 10%; right: 10%; border-top: 2px dashed rgba(176, 66, 24, .40); }
.qn-how-steps article { position: relative; z-index: 1; min-width: 0; text-align: center; }
.qn-step-icon {
  display: flex;
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  align-items: center;
  justify-content: center;
  color: #fff9ec;
  background: radial-gradient(circle at 35% 27%, rgba(255,255,255,.28), transparent 25%), linear-gradient(180deg, #efae31, #d77c0f);
  border: 4px solid rgba(255,246,220,.94);
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(89, 40, 12, .22);
  transition: transform .2s ease;
}
.qn-how-steps article:hover .qn-step-icon { transform: translateY(-3px); }
.qn-step-icon svg { width: 27px; height: 27px; }
.qn-how-steps h3 { margin: 0 0 5px; color: #2d170b; font-size: 11.5px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.qn-how-steps p { margin: 0 auto; max-width: 126px; color: #49301d; font-size: 9.5px; font-weight: 500; line-height: 1.45; }
.qn-built-for { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 3px 0 3px 28px; border-left: 1px solid rgba(103, 54, 21, .20); }
.qn-built-for ul { margin: 11px 0 0; padding: 0; list-style: none; }
.qn-built-for li { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: #402716; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.qn-built-for li svg { width: 14px; height: 14px; color: #b96512; }
.qn-built-for .qn-btn { align-self: flex-start; min-height: 36px; margin-top: 14px; padding-inline: 15px; font-size: 11px; }
.qn-built-for .qn-btn svg { width: 14px; height: 14px; }

/* Footer */
.qn-footer { position: relative; isolation: isolate; }
.qn-footer-top {
  min-height: 222px;
  overflow: hidden;
  color: #f7e7ca;
  background: linear-gradient(180deg, rgba(58, 24, 9, .91), rgba(36, 13, 5, .98)), url('quest-design/wood-texture.jpg') center / cover no-repeat;
  box-shadow: inset 0 1px rgba(255, 226, 160, .08);
}
.qn-footer-grid {
  position: relative;
  min-height: 222px;
  display: grid;
  grid-template-columns: 342px 118px 118px 134px minmax(260px, 286px);
  align-items: start;
  justify-content: start;
  gap: 28px;
  padding: 34px 0 28px;
}
.qn-footer-brand { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 20px; padding-top: 3px; }
.qn-footer-brand img { width: 158px; height: auto; filter: drop-shadow(0 9px 11px rgba(16, 5, 2, .27)); }
.qn-footer-brand p { margin: 0; color: #e8cfaa; font-size: 12.5px; font-weight: 550; line-height: 1.65; }
.qn-footer-grid nav,
.qn-newsletter { position: relative; z-index: 3; padding-top: 5px; }
.qn-footer-grid nav strong,
.qn-newsletter strong { display: block; margin-bottom: 10px; color: #fff3dc; font-size: 12.5px; font-weight: 800; letter-spacing: .065em; line-height: 1.2; text-transform: uppercase; }
.qn-footer-grid nav a { display: block; width: max-content; max-width: 100%; padding: 3px 0; color: #e8d5b8; font-size: 12px; font-weight: 500; line-height: 1.58; transition: color .16s ease, transform .16s ease; }
.qn-footer-grid nav a:hover { color: #ffc65a; transform: translateX(3px); }
.qn-newsletter { width: 100%; }
.qn-newsletter p { max-width: 245px; margin: 0 0 12px; color: #e4cbab; font-size: 12.5px; font-weight: 500; line-height: 1.55; }
.qn-newsletter-form {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 292px;
  height: 43px;
  overflow: hidden;
  background: #fff3d9;
  border: 1px solid rgba(103, 53, 19, .40);
  border-radius: 5px;
  box-shadow: 0 6px 16px rgba(14, 4, 1, .23), inset 0 1px rgba(255,255,255,.65);
}
.qn-newsletter-form:focus-within { border-color: #e4a036; box-shadow: 0 0 0 3px rgba(236, 169, 48, .18), 0 6px 16px rgba(14, 4, 1, .23); }
.qn-newsletter input[type="email"] { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 13px; color: #3f1d0c; background: transparent; font: 550 12.5px/1 var(--qn-font); }
.qn-newsletter input[type="email"]::placeholder { color: #896746; opacity: 1; }
.qn-newsletter button { width: 48px; flex: 0 0 48px; border: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff8e9; background: linear-gradient(180deg, #c82c22, #9b110e); cursor: pointer; transition: filter .16s ease, opacity .16s ease; }
.qn-newsletter button:hover { filter: brightness(1.09); }
.qn-newsletter button:disabled { cursor: wait; opacity: .66; }
.qn-newsletter button svg { width: 18px; height: 18px; }
.qn-newsletter-trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.qn-newsletter-status { min-height: 15px; max-width: 272px !important; margin: 7px 0 0 !important; color: #d9c2a1 !important; font-size: 10px !important; font-weight: 600 !important; line-height: 1.35 !important; }
.qn-newsletter-status.is-success { color: #f2bd55 !important; }
.qn-newsletter-status.is-error { color: #ff9f8d !important; }
.qn-socials { display: flex; align-items: center; gap: 9px; margin-top: 5px; }
.qn-socials a { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; color: #ead7b8; border: 1px solid rgba(255, 235, 197, .18); border-radius: 50%; font-size: 13px; line-height: 1; transition: color .16s ease, background .16s ease, transform .16s ease; }
.qn-socials a:hover { color: #fff3d6; background: rgba(239, 172, 56, .16); transform: translateY(-2px); }
.qn-footer-props { position: absolute; z-index: 1; right: -30px; bottom: -12px; width: 302px; height: 148px; object-fit: contain; object-position: right bottom; filter: drop-shadow(-7px 7px 10px rgba(15, 5, 2, .30)); opacity: .95; pointer-events: none; }
.qn-footer-bottom { min-height: 52px; color: #ccb18d; background: #220d04; border-top: 1px solid rgba(255, 225, 170, .11); }
.qn-footer-bottom .qn-container { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 10.5px; font-weight: 500; line-height: 1.45; }
.qn-footer-bottom a { color: #efbd5a; font-weight: 700; }

/* Desktop fluid tuning */
@media (max-width: 1480px) {
  :root { --qn-container: min(1300px, calc(100% - 42px)); }
  .qn-header-row { grid-template-columns: 232px minmax(0, 1fr) auto; gap: 18px; }
  .qn-logo { width: 198px; }
  .qn-logo img { width: 194px; }
  .qn-nav { gap: 22px; }
  .qn-nav a, .qn-login-link { font-size: 12px; }
  .qn-hero-copy { width: 53%; padding-left: 56px; }
  .qn-hero-copy h1 span { font-size: clamp(32px, 2.5vw, 40px); }
  .qn-hero-copy h1 strong { font-size: clamp(48px, 4vw, 62px); }
  .qn-hero-visual { width: min(850px, 55vw); }
  .qn-hero-props { width: 190px; height: 178px; }
  .qn-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; gap: 14px; padding-inline: 42px 30px; }
  .qn-featured-item { grid-template-columns: 90px minmax(0, 1fr); gap: 11px; padding-right: 11px; }
  .qn-featured-item img { width: 88px; height: 78px; }
  .qn-featured-copy h3 { min-height: 38px; font-size: 15.5px; }
  .qn-lower-grid { grid-template-columns: 1.05fr 1.12fr .58fr; gap: 18px; }
  .qn-discover { grid-template-columns: 210px 1fr; }
  .qn-footer-grid { grid-template-columns: 302px 104px 104px 116px 250px; gap: 20px; }
  .qn-footer-brand { grid-template-columns: 138px 1fr; gap: 14px; }
  .qn-footer-brand img { width: 136px; }
}

@media (max-width: 1160px) {
  :root { --qn-container: min(100% - 36px, 1060px); }
  .qn-header { position: absolute; height: 88px; }
  .qn-header-row { height: 88px; grid-template-columns: 190px 1fr auto; align-items: center; padding-top: 0; }
  .qn-logo { width: 180px; height: 110px; padding-top: 8px; }
  .qn-logo img { width: 174px; }
  .qn-menu-toggle { display: inline-flex; justify-self: end; grid-column: 3; }
  .qn-header-actions { grid-column: 2; grid-row: 1; justify-self: end; margin-right: 62px; }
  .qn-nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    z-index: 70;
    display: grid;
    gap: 0;
    padding: 12px;
    color: #fff;
    background: rgba(55, 21, 7, .97);
    border: 1px solid rgba(255, 229, 181, .18);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(25, 7, 1, .36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }
  .qn-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .qn-nav a { padding: 13px 12px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
  .qn-nav a:last-child { border-bottom: 0; }
  .qn-nav a::after { display: none; }
  .qn-hero { height: 690px; }
  .qn-hero-copy { width: min(650px, 92%); padding: 138px 0 0 28px; }
  .qn-hero-copy h1 span, .qn-hero-copy h1 strong { white-space: normal; }
  .qn-hero-visual { width: 790px; max-width: 100%; height: 350px; }
  .qn-hero-props { width: 180px; height: 168px; }
  .qn-featured-band { padding: 16px 0 25px; }
  .qn-featured-band > .qn-container { min-height: 0; padding-top: 0; }
  .qn-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; padding: 0 20px; }
  .qn-featured-item { min-height: 105px; }
  .qn-featured-more { min-height: 96px; border-top: 1px solid rgba(238,189,108,.18); }
  .qn-lower-grid { grid-template-columns: 1fr; gap: 30px; padding: 38px 0; }
  .qn-discover { grid-template-columns: 250px minmax(0, 440px); justify-content: center; }
  .qn-section-text p { max-width: 250px; }
  .qn-how { padding: 0; }
  .qn-built-for { max-width: 600px; margin-inline: auto; padding: 26px 0 0; border-left: 0; border-top: 1px solid rgba(103,54,21,.20); align-items: center; text-align: center; }
  .qn-built-for ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 26px; text-align: left; }
  .qn-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; padding: 34px 0 28px; }
  .qn-footer-brand { grid-column: 1 / -1; max-width: 460px; }
  .qn-newsletter { grid-column: span 2; max-width: 360px; }
  .qn-footer-props { opacity: .34; }
}

@media (max-width: 720px) {
  :root { --qn-container: min(100% - 24px, 660px); }
  html { scroll-padding-top: 72px; }
  .qn-header { height: 76px; }
  .qn-header-row { height: 76px; grid-template-columns: 145px 1fr auto; gap: 8px; align-items: center; padding-top: 0; }
  .qn-logo { width: 142px; height: 90px; padding-top: 7px; }
  .qn-logo img { width: 138px; }
  .qn-header-actions { display: none; }
  .qn-menu-toggle { grid-column: 3; }
  .qn-header.is-scrolled { height: 70px; }
  .qn-header.is-scrolled .qn-header-row { height: 70px; }
  .qn-header.is-scrolled .qn-logo { width: 130px; height: 70px; }
  .qn-header.is-scrolled .qn-logo img { width: 124px; }
  .qn-nav { top: 70px; }
  .qn-hero { height: 670px; }
  .qn-hero-copy { width: 100%; padding: 114px 0 0; }
  .qn-hero-kicker { font-size: 9px !important; letter-spacing: .1em; }
  .qn-hero-copy h1 span { font-size: clamp(29px, 8.5vw, 40px); }
  .qn-hero-copy h1 strong { font-size: clamp(43px, 12.5vw, 60px); }
  .qn-hero-copy > p:not(.qn-hero-kicker) { max-width: 94%; font-size: 13.5px; line-height: 1.52; }
  .qn-hero-actions { align-items: stretch; gap: 10px; }
  .qn-hero-actions .qn-btn { flex: 1; min-width: 0; padding-inline: 10px; font-size: 11.5px; }
  .qn-hero-benefits { gap: 8px 13px; font-size: 9.5px; }
  .qn-hero-visual { width: 700px; height: 285px; }
  .qn-hero-props { width: 140px; height: 132px; }
  .qn-band-title h2 { font-size: 18px; }
  .qn-band-title span { width: 24px; }
  .qn-featured-grid { grid-template-columns: 1fr; padding-inline: 0; }
  .qn-featured-item { grid-template-columns: 94px minmax(0, 1fr); border-right: 0; border-bottom: 1px solid rgba(238,189,108,.18); }
  .qn-featured-item img { width: 90px; height: 80px; }
  .qn-featured-more { padding-top: 10px; }
  .qn-discover { grid-template-columns: 1fr; }
  .qn-section-text { text-align: center; }
  .qn-section-text p { max-width: 100%; }
  .qn-discover-art { width: min(360px, 100%); margin-inline: auto; }
  .qn-how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .qn-how-steps::before { display: none; }
  .qn-how-steps h3 { white-space: normal; }
  .qn-built-for { align-items: stretch; }
  .qn-built-for ul { grid-template-columns: 1fr; width: max-content; max-width: 100%; margin-inline: auto; }
  .qn-built-for .qn-btn { align-self: center; }
  .qn-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .qn-footer-brand { grid-template-columns: 128px 1fr; }
  .qn-footer-brand img { width: 126px; }
  .qn-footer-brand p { font-size: 11px; }
  .qn-newsletter { grid-column: 1 / -1; max-width: 100%; }
  .qn-newsletter-form { max-width: 100%; }
  .qn-footer-bottom .qn-container { flex-direction: column; justify-content: center; padding: 10px 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 720px) {
  .qn-hero-benefits { display: none; }
}


.qn-image-credits {
  max-width: 520px;
  color: #aa8b67;
  font-size: 9px;
  text-align: center;
}
.qn-image-credits a { color: #d8ad58; font-weight: 650; }

/* Subtle entrance motion: content remains visible when JavaScript is unavailable. */
.qn-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .58s ease, transform .58s cubic-bezier(.2, .72, .25, 1);
  transition-delay: var(--qn-reveal-delay, 0ms);
}
.qn-js [data-reveal="fade"] { transform: none; }
.qn-js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .qn-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .qn-featured-item,
  .qn-featured-item img,
  .qn-featured-more,
  .qn-footer-grid nav a,
  .qn-btn { transition: none !important; }
}

@media (max-width: 1160px) {
  .qn-footer-bottom .qn-container { flex-wrap: wrap; justify-content: center; padding-block: 10px; text-align: center; }
  .qn-image-credits { order: 3; flex-basis: 100%; }
}
@media (max-width: 720px) {
  .qn-image-credits { font-size: 8.5px; }
}
