/* BAHAMUT COMMERCE — Germination Field Guide about */

.page-company.a29-fg {
  background: var(--a29-cream);
}

/* —— Cover hero —— */
.a29-fg-cover {
  position: relative;
  padding: 0 0 2.5rem;
  background: var(--a29-emerald-dark);
  color: var(--a29-white);
  overflow: hidden;
}

.a29-fg-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: var(--a29-mustard);
  display: flex;
  align-items: center;
  justify-content: center;
}

.a29-fg-spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a29-ink);
}

.a29-fg-cover-grid {
  padding: 2.5rem 0 0 4rem;
}

.a29-fg-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--a29-mustard);
}

.a29-fg-title {
  margin: 0 0 0.65rem;
  font-family: var(--a29-font-display);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 14ch;
}

.a29-fg-title em {
  font-style: italic;
  color: #86efac;
}

.a29-fg-tagline {
  margin: 0 0 1rem;
  max-width: 44ch;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.a29-fg-trail {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.a29-fg-trail a {
  color: var(--a29-mustard);
  font-weight: 600;
}

.a29-fg-trail span[aria-hidden] {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.a29-fg-coords {
  margin: 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

/* —— Body —— */
.a29-fg-body {
  padding: 2rem 0 4rem;
  margin-top: -0.75rem;
}

/* Specimen ruler stats */
.a29-fg-ruler {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1.5rem;
  background: var(--a29-white);
  border: 2px solid var(--a29-ink);
  box-shadow: var(--a29-shadow);
  overflow: hidden;
}

.a29-fg-ruler-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--a29-linen);
}

.a29-fg-ruler-cell:last-child {
  border-right: none;
}

.a29-fg-ruler-cell:nth-child(2) {
  background: var(--a29-cream);
}

.a29-fg-ruler-cell strong {
  font-family: var(--a29-font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--a29-emerald-dark);
}

.a29-fg-ruler-cell span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a29-muted);
}

/* Spread: index + notes */
.a29-fg-spread {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 0;
  margin-bottom: 1.25rem;
  background: var(--a29-white);
  border: 1px solid var(--a29-linen);
  box-shadow: var(--a29-shadow);
  overflow: hidden;
}

.a29-fg-index {
  background: var(--a29-ink);
  color: var(--a29-white);
  padding: 1.25rem 0 1.25rem 1rem;
}

.a29-fg-index-tag {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a29-mustard);
}

.a29-fg-index header h2 {
  margin: 0 0 1rem;
  font-family: var(--a29-font-display);
  font-size: 1.1rem;
}

.a29-fg-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.a29-fg-index-list a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.75rem 0.55rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  border-left: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.a29-fg-index-list a:hover {
  color: var(--a29-white);
  border-left-color: var(--a29-mustard);
  background: rgba(255, 255, 255, 0.06);
}

.a29-fg-index-num {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--a29-mustard);
  text-align: right;
}

.a29-fg-index-name {
  line-height: 1.3;
}

.a29-fg-notes {
  padding: 1.5rem 1.75rem 1.75rem;
  border-left: 4px solid var(--a29-emerald);
}

.a29-fg-notes-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a29-emerald);
}

.a29-fg-notes h2 {
  margin: 0 0 0.85rem;
  font-family: var(--a29-font-display);
  font-size: 1.35rem;
  color: var(--a29-emerald-dark);
}

.a29-fg-notes p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--a29-ink);
}

.a29-fg-notes p:last-child {
  margin-bottom: 0;
}

.a29-fg-muted {
  color: var(--a29-muted) !important;
  font-size: 0.88rem !important;
}

.a29-fg-notes-meta {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px dashed var(--a29-linen);
  font-size: 0.85rem !important;
  color: var(--a29-muted) !important;
}

/* Checklist benefits */
.a29-fg-checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  background: var(--a29-white);
  border: 1px solid var(--a29-linen);
  padding: 1rem 1.15rem;
  box-shadow: var(--a29-shadow);
}

.a29-fg-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--a29-emerald-dark);
}

.a29-fg-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  background: var(--a29-emerald);
  color: var(--a29-white);
}

/* Appendix table */
.a29-fg-appendix {
  margin-bottom: 1.5rem;
  background: var(--a29-white);
  border: 1px solid var(--a29-linen);
  box-shadow: var(--a29-shadow);
  overflow: hidden;
}

.a29-fg-appendix-head {
  padding: 1.15rem 1.5rem;
  background: var(--a29-cream);
  border-bottom: 2px solid var(--a29-ink);
}

.a29-fg-appendix-tag {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a29-muted);
}

.a29-fg-appendix-head h2 {
  margin: 0;
  font-family: var(--a29-font-display);
  font-size: 1.15rem;
  color: var(--a29-emerald-dark);
}

.a29-fg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.a29-fg-table th {
  width: 32%;
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a29-muted);
  background: var(--a29-cream);
  border-bottom: 1px solid var(--a29-linen);
  vertical-align: top;
}

.a29-fg-table td {
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--a29-ink);
  border-bottom: 1px solid var(--a29-linen);
}

.a29-fg-table tr:last-child th,
.a29-fg-table tr:last-child td {
  border-bottom: none;
}

.a29-fg-table tr:nth-child(even) td {
  background: rgba(250, 250, 245, 0.6);
}

/* Actions */
.a29-fg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  padding-top: 0.5rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .a29-fg-spread {
    grid-template-columns: 1fr;
  }

  .a29-fg-index {
    border-bottom: 2px solid var(--a29-mustard);
  }

  .a29-fg-notes {
    border-left: none;
    border-top: 4px solid var(--a29-emerald);
  }

  .a29-fg-checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .a29-fg-spine {
    width: 100%;
    height: 36px;
    position: relative;
  }

  .a29-fg-spine span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .a29-fg-cover-grid {
    padding: 1.25rem 0 0;
  }

  .a29-fg-ruler {
    grid-template-columns: 1fr;
  }

  .a29-fg-ruler-cell {
    border-right: none;
    border-bottom: 1px solid var(--a29-linen);
  }

  .a29-fg-ruler-cell:last-child {
    border-bottom: none;
  }

  .a29-fg-table th,
  .a29-fg-table td {
    display: block;
    width: 100%;
  }

  .a29-fg-table th {
    padding-bottom: 0.25rem;
    border-bottom: none;
  }

  .a29-fg-table td {
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .a29-fg-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .a29-fg-actions .a29-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .a29-fg-notes {
    padding: 1.25rem 1rem 1.5rem;
  }
}
