/* ============================================================
   WICKED INX — demo site
   Palette drawn from the shop's logo: black base, blood-red
   gradient lettering, parchment text.
   ============================================================ */

:root {
  --ink: #0a0a0c;
  --ink-2: #121014;
  --surface: #171419;
  --card: #1d1a20;
  --line: #2c272e;
  --blood: #c81230;
  --blood-bright: #ff4d6a;
  --blood-deep: #7c0a1e;
  --bone: #f0eae0;
  --ash: #a89f94;
  --grad-blood: linear-gradient(180deg, #ff5470 0%, #c81230 55%, #8a0d22 100%);
  --font-display: "Cinzel", serif;
  --font-body: "Jost", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blood-bright); text-decoration: none; }
a:hover { color: #ff7288; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- red gradient lettering (logo treatment) ---------- */
.blood-text {
  font-family: var(--font-display);
  background: var(--grad-blood);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(200, 18, 48, 0.35));
}

/* ============================ NAV ============================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  background: var(--grad-blood);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: var(--blood-bright); }

.nav-links a.active {
  color: var(--blood-bright);
  border-bottom-color: var(--blood);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--bone);
  margin: 6px 0;
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================ HERO =========================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(200, 18, 48, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(124, 10, 30, 0.14), transparent 65%),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(240, 234, 224, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--ash);
  max-width: 46ch;
  margin-bottom: 38px;
}

.hero-sub strong { color: var(--bone); font-weight: 500; }

.hero-photos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hero-photos img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.hero-photos img:nth-child(odd) { transform: translateY(22px); }

/* ========================== BUTTONS ========================== */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn-blood {
  background: linear-gradient(135deg, #e01536, var(--blood-deep));
  color: #fff;
  border: none;
  box-shadow: 0 8px 26px rgba(200, 18, 48, 0.35);
}

.btn-blood:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200, 18, 48, 0.5);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
}

.btn-ghost:hover { border-color: var(--blood); color: var(--blood-bright); }

/* ========================== SECTIONS ========================= */
section { padding: 90px 0; }

.section-dark { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 56px; }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 14px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-head p { color: var(--ash); font-size: 1.1rem; }

/* stats strip */
.stats {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat { text-align: center; }

.stat .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  background: var(--grad-blood);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .lbl {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 4px;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: rgba(200, 18, 48, 0.5); }

.card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(200, 18, 48, 0.12);
  border: 1px solid rgba(200, 18, 48, 0.35);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p { color: var(--ash); font-size: 0.98rem; }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blood);
  border-radius: 10px;
  padding: 30px 28px;
}

.quote p { font-size: 1.02rem; font-style: italic; margin-bottom: 16px; }

.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.quote .stars { color: var(--blood-bright); letter-spacing: 3px; margin-bottom: 12px; }

/* visit strip */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.visit-grid ul { list-style: none; }

.visit-grid li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.visit-grid li span:first-child { color: var(--ash); }

/* ========================= GALLERY =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}

.g-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.g-item:hover img { transform: scale(1.05); }

.g-item .g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.92), transparent);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================== FORMS ============================ */
.form-shell {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 46px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field.full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 8px;
}

input, select, textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blood);
}

textarea { resize: vertical; min-height: 110px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a89f94' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--ash);
  text-align: center;
}

/* fake-success panel */
.success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.success .check {
  width: 76px; height: 76px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: rgba(200, 18, 48, 0.14);
  border: 2px solid var(--blood);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--blood-bright);
}

.success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.success p { color: var(--ash); max-width: 44ch; margin: 0 auto 10px; }

/* ========================= CONTACT =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  filter: grayscale(0.9) contrast(1.05) brightness(0.85);
}

.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ========================== TEAM ============================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 30px;
  text-align: center;
}

.team-card .avatar {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 18, 48, 0.25), rgba(124, 10, 30, 0.4));
  border: 1px solid rgba(200, 18, 48, 0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blood-bright);
}

.team-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 6px; }

.team-card .role {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 14px;
}

.team-card p { color: var(--ash); font-size: 0.95rem; }

/* ========================== FOOTER =========================== */
footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 34px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.foot-grid h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.foot-grid p, .foot-grid li { color: var(--ash); font-size: 0.96rem; }

.foot-grid ul { list-style: none; }

.foot-grid li { padding: 4px 0; }

.foot-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  background: var(--grad-blood);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  display: inline-block;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ash);
}

.built-by {
  width: 100%;
  text-align: center;
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.75;
}

.built-by a {
  color: var(--blood-bright);
  text-decoration: none;
}

.built-by a:hover {
  text-decoration: underline;
}

/* ======================= PAGE HEADERS ======================== */
.page-head {
  padding: 170px 0 70px;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(200, 18, 48, 0.14), transparent 65%),
    var(--ink);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: 16px;
}

.page-head p { color: var(--ash); font-size: 1.15rem; max-width: 56ch; margin: 0 auto; }

/* ========================= RESPONSIVE ======================== */
@media (max-width: 900px) {
  .hero-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-photos { max-width: 480px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 12, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-130%);
    transition: transform 0.3s;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 32px 24px; }
}

/* ======================= PROMO STRIP ======================== */
.promo-strip {
  background: linear-gradient(90deg, var(--blood-deep), var(--blood), var(--blood-deep));
  padding: 14px 0;
  text-align: center;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.promo-strip strong { font-weight: 600; }

.promo-strip a { color: #fff; text-decoration: underline; }

.form-errors {
  color: var(--blood-bright);
  background: rgba(200, 18, 48, 0.08);
  border: 1px solid var(--blood-deep);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
}

/* ======================= TERMS ======================== */
.terms-body { max-width: 800px; }

.terms-body h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--bone, #e8e2d9);
  margin: 34px 0 10px;
}

.terms-body p { color: var(--ash); line-height: 1.75; }

/* ======================= NEWSLETTER ARTICLES ======================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0 auto 64px;
  max-width: 1000px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, border-color .18s ease;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--blood); }
.article-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 20px 22px 24px; }
.article-card-body h3 { font-family: 'Cinzel', serif; font-size: 1.15rem; margin-bottom: 10px; color: #fff; }
.article-card-body p { color: var(--ash); font-size: 0.92rem; line-height: 1.6; margin-bottom: 12px; }
.article-card-meta { font-size: 0.78rem; color: var(--blood-bright); text-transform: uppercase; letter-spacing: .06em; }

.article-wrap { max-width: 820px; }
.article-hero { width: 100%; border-radius: 14px; margin-bottom: 32px; }
.article-byline { color: var(--blood-bright); font-size: 0.9rem; letter-spacing: .04em; }
.article-body { font-size: 1.05rem; line-height: 1.8; color: #d9d2c9; }
.article-body h2 { font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fff; margin: 2rem 0 .8rem; }
.article-body h3 { font-size: 1.2rem; color: #fff; margin: 1.6rem 0 .5rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body strong { color: #fff; }
.article-body a { color: var(--blood-bright); }
.article-cta {
  margin-top: 44px; padding: 30px 28px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--ink-2); text-align: center;
}
.article-cta h3 { font-family: 'Cinzel', serif; font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.article-cta p { color: var(--ash); margin-bottom: 18px; }
.article-cta .btn-row { justify-content: center; }

/* ======================= ARTICLE FAQ ======================= */
/* Its own block rather than .article-body, because FAQs are a field now, not body
   HTML, and they carry the FAQPage schema. Visually a continuation of the article. */
.article-faq { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-faq > h2 {
  font-family: 'Cinzel', serif; font-size: 1.5rem; color: #fff; margin: 0 0 1.4rem;
}
.article-faq .faq-item { margin-bottom: 1.5rem; }
.article-faq .faq-q {
  font-size: 1.05rem; font-weight: 600; color: #fff; margin: 0 0 .4rem; line-height: 1.45;
}
.article-faq .faq-a {
  font-size: 1.05rem; line-height: 1.8; color: #d9d2c9; margin: 0;
}

/* ======================= PIERCING REELS ======================= */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 40px auto 0;
}
.reel-card { display: flex; flex-direction: column; }
.reel-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  cursor: pointer;
}
.reel-media iframe,
.reel-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.reel-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  border: none;
  background: rgba(200, 18, 48, 0.9);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding-left: 4px;
  transition: transform .15s ease, background .15s ease;
}
.reel-media:hover .reel-play { transform: translate(-50%, -50%) scale(1.08); background: var(--blood); }
.reel-cap { padding: 12px 4px 0; }
.reel-cap strong { display: block; color: #fff; font-family: 'Cinzel', serif; font-size: 1rem; }
.reel-cap span { color: var(--ash); font-size: 0.88rem; }

.reel-lightbox[hidden] { display: none; }
.reel-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.reel-lightbox-inner {
  width: min(440px, 92vw);
  aspect-ratio: 9 / 16;
  max-height: 90vh;
}
.reel-lightbox-inner video,
.reel-lightbox-inner iframe {
  width: 100%; height: 100%;
  border-radius: 14px;
  border: 0;
  object-fit: contain;
  background: #000;
}
.reel-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff; font-size: 1.2rem;
  cursor: pointer;
}

/* ---- piercing page intro copy ---- */
.pierce-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--ash);
  font-size: 1.05rem;
  line-height: 1.8;
}
.pierce-intro p { margin-bottom: 1.1rem; }
.pierce-intro strong { color: #fff; }

/* ======================= FAQ PAGE ======================= */
/* Answers are always visible — no accordion, no JS. The page exists to be read by
   AI assistants as much as by people, and collapsed text is a needless extraction
   risk. The sticky jump-nav is what keeps a long page navigable instead. */
.faq-page { padding-top: 60px; }

.faq-layout { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }

.faq-jump { position: sticky; top: 96px; }
.faq-jump ul { list-style: none; margin: 14px 0 24px; }
.faq-jump li { margin-bottom: 10px; }
.faq-jump a {
  color: var(--ash);
  font-size: 0.95rem;
  border-left: 2px solid var(--line);
  padding-left: 12px;
  display: block;
  transition: color 0.15s, border-color 0.15s;
}
.faq-jump a:hover { color: var(--bone); border-left-color: var(--blood); }

.faq-group { padding: 0 0 48px; }
.faq-group + .faq-group { border-top: 1px solid var(--line); padding-top: 44px; }
.faq-group > h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  scroll-margin-top: 96px;
}
.faq-group-note { color: var(--ash); font-size: 0.95rem; margin-bottom: 28px; }

.faq-entry { margin-top: 28px; max-width: 720px; }
.faq-entry h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--bone);
  margin-bottom: 8px;
}
.faq-entry p { color: var(--ash); }

.faq-source {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px 24px;
  margin-bottom: 20px;
}
.faq-source-head {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--bone);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.faq-source-link { display: inline-block; margin-top: 24px; font-weight: 500; }

.faq-still { border-top: 1px solid var(--line); padding-top: 44px; }
.faq-still p { color: var(--ash); max-width: 720px; }

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-jump { position: static; }
}

/* ---------------------------------------------------------------- Waiver */
/* The rules below set display on elements the form also toggles with the
   `hidden` attribute. A class selector out-specifies the browser's own
   [hidden]{display:none}, so without this the guardian and piercing blocks
   would stay on screen after being "hidden". */
[hidden] { display: none !important; }

/* Phone-first: single column by default, two columns only once there is
   room. Tap targets are 44px+ throughout — this gets signed one-handed. */

.waiver-shell { max-width: 46rem; }

.waiver-part {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 1.1rem 1rem 1.25rem;
  margin: 0 0 1.1rem;
}

.waiver-part legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--bone);
  padding: 0 .5rem;
  margin-left: -.5rem;
}

.waiver-part .clause {
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ash);
  margin: 0 0 .6rem;
  padding-left: 2.5rem;
  text-indent: -2.5rem;
}

.waiver-part .clause.intro { padding-left: 0; text-indent: 0; font-style: italic; }
.waiver-part .clause.declaration {
  padding-left: 0; text-indent: 0;
  border-left: 3px solid var(--blood);
  padding: .6rem .8rem; background: rgba(200,18,48,.06);
  border-radius: 0 8px 8px 0; color: var(--bone);
}

.clause-no {
  display: inline-block;
  width: 2.5rem;
  font-weight: 600;
  color: var(--blood-bright);
  font-variant-numeric: tabular-nums;
}

.condition-list {
  columns: 2; column-gap: 1.2rem;
  margin: 0 0 .9rem 1.1rem;
  font-size: .85rem; color: var(--ash); line-height: 1.5;
}
.condition-list li { break-inside: avoid; margin-bottom: .15rem; }
@media (max-width: 520px) { .condition-list { columns: 1; } }

/* --- choices, acknowledgements --- */
.choice-row { display: flex; gap: .6rem; flex-wrap: wrap; }

.choice, .ack {
  display: flex; align-items: flex-start; gap: .7rem;
  min-height: 44px; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink-2); cursor: pointer;
  font-size: .9rem; line-height: 1.45; color: var(--bone);
}
.choice { flex: 1 1 8rem; align-items: center; }
.ack { margin: .55rem 0 0; }
.ack.optional { border-style: dashed; }
.choice:hover, .ack:hover { border-color: var(--blood); }

.choice input[type="checkbox"], .ack input[type="checkbox"] {
  width: 22px; height: 22px; flex: 0 0 22px; margin-top: .1rem;
  accent-color: var(--blood);
}

.radio-stack { display: flex; flex-direction: column; gap: .5rem; }
.radio-stack ul, .radio-stack li { list-style: none; margin: 0; padding: 0; }
.radio-stack label {
  display: flex; align-items: center; gap: .7rem;
  min-height: 44px; padding: .6rem .9rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--ink-2); cursor: pointer;
  font-size: .9rem; color: var(--bone); text-transform: none; letter-spacing: 0;
}
.radio-stack input[type="radio"] {
  width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--blood);
}

.hint { font-size: .78rem; color: var(--ash); font-weight: 400; text-transform: none; letter-spacing: 0; }
.waiver-part .hint { display: block; margin-top: .35rem; }

.minor-banner {
  margin: .8rem 0; padding: .75rem .9rem;
  border: 1px solid var(--blood); border-radius: 10px;
  background: rgba(200,18,48,.1); color: var(--bone);
  font-size: .88rem; line-height: 1.5;
}

.field-error {
  margin-top: .35rem; font-size: .82rem; color: var(--blood-bright);
}

#id-preview {
  display: block; margin-top: .7rem; max-width: 100%;
  border-radius: 10px; border: 1px solid var(--line);
}

/* --- signature pad --- */
.sig-block { margin: 0 0 1rem; }
.sig-block > label {
  display: block; margin-bottom: .45rem;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ash);
}

.sig-pad {
  position: relative; height: 150px;
  border: 1px dashed var(--line); border-radius: 12px;
  background: #fff; overflow: hidden;
}
.sig-pad canvas {
  display: block; width: 100%; height: 100%;
  /* Without this a signing gesture scrolls the page instead of drawing. */
  touch-action: none;
}
.sig-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; color: #9a9299; font-size: .9rem;
}
.sig-placeholder[hidden] { display: none; }
.sig-clear {
  position: absolute; top: .5rem; right: .5rem;
  padding: .35rem .7rem; min-height: 32px;
  border: 1px solid #d5cfd5; border-radius: 999px;
  background: #fff; color: #55505a;
  font-family: var(--font-body); font-size: .75rem; cursor: pointer;
}
.sig-clear:hover { border-color: var(--blood); color: var(--blood); }

.waiver-submit { width: 100%; margin-top: .5rem; }
.waiver-submit:disabled { opacity: .6; cursor: default; }
