/* ============ FAQ page styles ============ */

.faq-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(226, 106, 31, 0.22), transparent 45%),
    radial-gradient(circle at 18% 78%, rgba(27, 106, 156, 0.25), transparent 45%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 238, 227, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 238, 227, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black 25%, transparent 95%);
          mask-image: radial-gradient(ellipse 85% 70% at 50% 38%, black 25%, transparent 95%);
  z-index: 0;
  pointer-events: none;
}
.faq-hero .wrap { position: relative; z-index: 1; }
.faq-title {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 20px 0 28px;
  max-width: 14ch;
}
.faq-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.faq-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-dim);
  max-width: 56ch;
}
.faq-lede a { color: var(--orange); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.faq-lede a:hover { color: var(--ink); }

/* ---------- layout ---------- */
.faq-body { padding: clamp(60px, 8vw, 120px) 0 120px; background: var(--bg); }
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq-toc {
  position: sticky;
  top: 100px;
}
.toc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.toc-list {
  list-style: none;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--ink-dim);
  transition: color .2s;
  position: relative;
}
.toc-list a:hover { color: var(--ink); }
.toc-list a.active { color: var(--ink); }
.toc-list a.active::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--orange);
  transform: translateY(-50%);
}
.toc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.toc-list a.active .toc-num { color: var(--orange); }

/* ---------- category ---------- */
.faq-cat { padding-bottom: 64px; }
.faq-cat:last-of-type { padding-bottom: 0; }
.cat-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.cat-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}
.cat-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

/* ---------- Q&A accordion ---------- */
.qa {
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.qa:hover { background: rgba(244,238,227,0.02); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  user-select: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa .q {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.35;
}
.caret {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  position: relative;
  transition: background .2s, border-color .2s, transform .3s cubic-bezier(.2,.7,.2,1);
}
.caret::before, .caret::after {
  content: "";
  position: absolute;
  background: var(--ink);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.caret::before { width: 12px; height: 1.5px; }
.caret::after  { width: 1.5px; height: 12px; transition: opacity .25s; }
.qa[open] .caret {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(180deg);
}
.qa[open] .caret::before, .qa[open] .caret::after { background: #fff; }
.qa[open] .caret::after { opacity: 0; }

.qa .a {
  padding: 0 0 24px;
  max-width: 70ch;
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.6;
  animation: qaIn .25s ease;
}
@keyframes qaIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.qa .a p + p { margin-top: 14px; }
.qa .a a { color: var(--orange); border-bottom: 1px solid rgba(226,106,31,0.5); }
.qa .a a:hover { color: var(--ink); border-color: var(--ink); }
.qa .a strong { color: var(--ink); font-weight: 500; }
.qa .a em.serif { color: var(--orange); }
.bullets { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 6px; }
.bullets li { padding-left: 18px; position: relative; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- fee table inside Q&A ---------- */
.fee-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.fee-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 16px;
  padding: 14px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.fee-table > div:last-child { border-bottom: 0; }
.fee-table > div:first-child { background: rgba(226, 106, 31, 0.06); }
.fee-table .lbl { color: var(--ink); font-weight: 500; }
.fee-table .dl  { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; }
.fee-table .amt { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }

/* ---------- contact card ---------- */
.contact-card {
  margin-top: 48px;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(27,106,156,0.06), rgba(226,106,31,0.06));
}
.cc-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.cc-title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 22ch;
}
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-toc {
    position: relative;
    top: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 24px;
    background: var(--bg-2);
  }
  .toc-list {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 0;
  }
  .toc-list a { padding: 7px 0; }
  .toc-list a.active::before { display: none; }
  .toc-list a.active .toc-num { color: var(--orange); }
}

@media (max-width: 600px) {
  .faq-hero { padding-top: 110px; }
  .toc-list { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
}

/* ============ T-SHIRT GUIDE LIGHTBOX ============ */
.tshirt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(226, 106, 31, 0.45);
  background: rgba(226, 106, 31, 0.10);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, transform .2s;
  text-decoration: none;
}
.tshirt-link:hover {
  background: rgba(226, 106, 31, 0.18);
  border-color: rgba(226, 106, 31, 0.7);
  transform: translateY(-1px);
}
.tshirt-link svg { stroke: var(--orange); }

body.tg-locked { overflow: hidden; }

.tg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: stretch;
  justify-content: center;
}
.tg-lightbox.open { display: flex; }

.tg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.78);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  animation: tgFade .25s ease both;
}
.tg-frame {
  position: relative;
  margin: auto;
  width: min(960px, 100% - 32px);
  height: min(92vh, 1100px);
  background: #11192B;
  border: 1px solid rgba(244, 238, 227, 0.10);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(244, 238, 227, 0.04);
  animation: tgRise .3s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes tgFade {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes tgRise {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.08);
  background: linear-gradient(180deg, rgba(226, 106, 31, 0.05), transparent);
}
.tg-head-text { min-width: 0; }
.tg-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.tg-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.tg-actions { display: flex; gap: 8px; flex-shrink: 0; }
.tg-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(244, 238, 227, 0.06);
  border: 1px solid rgba(244, 238, 227, 0.14);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.tg-icon-btn:hover {
  background: rgba(244, 238, 227, 0.12);
  border-color: rgba(244, 238, 227, 0.28);
}
.tg-icon-btn svg {
  width: 14px; height: 14px;
}
.tg-close-btn { padding: 9px 11px; }
.tg-close-btn .tg-icon-label { display: none; }

.tg-body {
  flex: 1;
  min-height: 0;
  background: #1A2235;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---- native guide content (replaces the old PDF iframe) ---- */
.tg-guide {
  padding: clamp(20px, 3vw, 32px);
  max-width: 760px;
  margin: 0 auto;
}
.tg-intro {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.tg-subhead {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 30px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.10);
}

/* size chart */
table.tg-chart {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(244, 238, 227, 0.12);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.tg-chart thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: left;
  padding: 12px 16px;
  background: rgba(226, 106, 31, 0.08);
  border-bottom: 1px solid rgba(244, 238, 227, 0.12);
}
.tg-chart tbody th,
.tg-chart tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(244, 238, 227, 0.07);
  text-align: left;
}
.tg-chart tbody tr:last-child th,
.tg-chart tbody tr:last-child td { border-bottom: 0; }
.tg-chart tbody th {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.tg-chart tbody td {
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
.tg-chart tbody tr:hover { background: rgba(244, 238, 227, 0.03); }

.tg-note {
  color: var(--ink-mute);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 12px 0 0;
}
.tg-note-top { margin: 0 0 16px; }

/* fit gallery */
.tg-fit-groups { display: grid; gap: 26px; }
.tg-fit-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.tg-fit-size {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tg-fit-dims {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.tg-fit-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.tg-fit-card { margin: 0; }
.tg-fit-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(244, 238, 227, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f4;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
  transition: border-color .2s, transform .2s;
}
.tg-fit-photo:hover {
  border-color: rgba(226, 106, 31, 0.6);
  transform: translateY(-2px);
}
.tg-fit-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tg-fit-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 2px 0;
}
.tg-fit-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.tg-fit-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ink-mute);
}

.tg-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-top: 1px solid rgba(244, 238, 227, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  min-height: 44px;
}
.tg-foot kbd {
  font-family: var(--font-mono);
  background: rgba(244, 238, 227, 0.08);
  border: 1px solid rgba(244, 238, 227, 0.14);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
  color: var(--ink);
  letter-spacing: 0;
}
.tg-foot-link {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(226, 106, 31, 0.5);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.tg-foot-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---- fit photo zoom (second level over the guide) ---- */
.tg-zoom {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.tg-zoom.open { display: flex; }
.tg-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.88);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  animation: tgFade .2s ease both;
}
.tg-zoom-frame {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(540px, 92vw);
  animation: tgRise .25s cubic-bezier(.2,.7,.2,1) both;
}
.tg-zoom-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  background: #f3f3f4;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  display: block;
}
.tg-zoom-cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center;
}
.tg-zoom-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid rgba(244, 238, 227, 0.22);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.tg-zoom-close:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.tg-zoom-close svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .tg-frame {
    width: calc(100% - 16px);
    height: calc(100vh - 24px);
    border-radius: 14px;
  }
  .tg-icon-label { display: none; }
  .tg-icon-btn { padding: 9px 11px; }
  .tg-head { padding: 14px 16px; }
  .tg-foot { padding: 10px 16px; }
  .tg-guide { padding: 18px 14px; }
  .tg-fit-row { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
  .tg-zoom { padding: 18px; }
  .tg-zoom-close { top: -12px; right: 0; }
}
