/* Floating Pill Capsule Header */
.ivc-header-wrap {
  position: sticky;
  top: 12px;
  z-index: 90;
  padding: 0 14px;
  margin-bottom: 8px;
}

.ivc-pill-header {
  max-width: var(--ivc-max-w);
  margin: 0 auto;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: color-mix(in srgb, var(--ivc-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--ivc-border);
  border-radius: var(--ivc-radius-pill);
  box-shadow: var(--ivc-clay-shadow);
}

.ivc-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ivc-ink);
  flex-shrink: 0;
}

.ivc-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.ivc-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.ivc-brand-text strong {
  font-family: var(--ivc-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ivc-ink);
}

.ivc-brand-text small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ivc-ink-muted);
}

.ivc-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ivc-nav__link {
  padding: 8px 12px;
  border-radius: var(--ivc-radius-pill);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ivc-ink-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ivc-nav__link:hover,
.ivc-nav__link.is-active {
  background: var(--ivc-surface-soft);
  color: var(--ivc-ink);
}

.ivc-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ivc-wallet-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--ivc-radius-pill);
  background: var(--ivc-surface-soft);
  border: 1px solid var(--ivc-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ivc-ink);
  white-space: nowrap;
}

.ivc-wallet-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ivc-accent);
}

.ivc-wallet-chip__unit {
  color: var(--ivc-ink-muted);
  font-weight: 500;
}

.ivc-wallet-chip__badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: var(--ivc-radius-pill);
  background: var(--ivc-secondary);
  color: var(--ivc-secondary-ink);
}

.ivc-account-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ivc-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border-radius: var(--ivc-radius-pill);
  border: 1px solid var(--ivc-border);
  background: var(--ivc-surface-soft);
  cursor: pointer;
}

.ivc-menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ivc-ink);
  border-radius: 2px;
}

.ivc-mobile-drawer {
  max-width: var(--ivc-max-w);
  margin: 10px auto 0;
  padding: 18px;
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border);
  border-radius: var(--ivc-radius-lg);
  box-shadow: var(--ivc-clay-shadow);
}

.ivc-mobile-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.ivc-mobile-nav a {
  padding: 10px 14px;
  border-radius: var(--ivc-radius-sm);
  background: var(--ivc-surface-soft);
  color: var(--ivc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.ivc-mobile-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Breadcrumbs */
.ivc-crumbs {
  margin: 18px 0 12px;
}

.ivc-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ivc-ink-muted);
}

.ivc-crumbs__item + .ivc-crumbs__item::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.5;
}

/* Split Hero with Live Mini-Slot */
.ivc-hero {
  padding: 34px 0 44px;
}

.ivc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 28px;
  align-items: center;
}

.ivc-hero-lead {
  font-size: 1.07rem;
  max-width: 54ch;
}

.ivc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.ivc-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ivc-metric-pill {
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border);
  border-radius: var(--ivc-radius-md);
  box-shadow: var(--ivc-clay-shadow-sm);
  padding: 12px 12px;
}

.ivc-metric-pill strong {
  display: block;
  font-family: var(--ivc-font-display);
  font-size: 1.35rem;
  color: var(--ivc-ink);
}

.ivc-metric-pill span {
  font-size: 0.76rem;
  color: var(--ivc-ink-muted);
}

/* Grids & Cards */
.ivc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ivc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ivc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ivc-frame-card {
  display: flex;
  flex-direction: column;
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border);
  border-radius: var(--ivc-radius-lg);
  box-shadow: var(--ivc-clay-shadow);
  overflow: hidden;
  transition: transform 0.18s ease;
}

.ivc-frame-card:hover {
  transform: translateY(-3px);
}

.ivc-frame-card__media {
  position: relative;
  display: block;
  background: var(--ivc-surface-soft);
}

.ivc-frame-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.ivc-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--ivc-radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
}

.ivc-pill--access {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ivc-surface);
  color: var(--ivc-ink);
  border: 1px solid var(--ivc-border-strong);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

.ivc-pill--open {
  background: var(--ivc-accent);
  color: #ffffff;
  border-color: transparent;
}

.ivc-pill--day-pass {
  background: var(--ivc-secondary);
  color: #ffffff;
  border-color: transparent;
}

.ivc-frame-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ivc-frame-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ivc-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--ivc-radius-pill);
  background: var(--ivc-surface-soft);
  color: var(--ivc-ink);
}

.ivc-tag--bloom {
  background: var(--ivc-surface-alt);
  color: var(--ivc-secondary);
}

.ivc-frame-card__title {
  font-size: 1.24rem;
  margin-bottom: 6px;
}

.ivc-frame-card__title a {
  color: var(--ivc-ink);
  text-decoration: none;
}

.ivc-frame-card__title a:hover {
  color: var(--ivc-accent);
}

.ivc-frame-card__blurb {
  font-size: 0.9rem;
  margin-bottom: 14px;
  flex: 1;
}

.ivc-frame-card__specs {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ivc-ink-muted);
  padding: 10px 0;
  border-top: 1px solid var(--ivc-border);
  margin-bottom: 12px;
}

.ivc-frame-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ivc-fav-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--ivc-radius-pill);
  border: 1px solid var(--ivc-border);
  background: var(--ivc-surface-soft);
  color: var(--ivc-ink-muted);
  font-size: 1.15rem;
  cursor: pointer;
}

.ivc-fav-btn[aria-pressed="true"] {
  background: rgba(185, 41, 34, 0.12);
  border-color: var(--ivc-accent);
  color: var(--ivc-accent);
}

/* Catalog Compact Filter Bar */
.ivc-filter-bar {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 20px;
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border);
  border-radius: var(--ivc-radius-lg);
  box-shadow: var(--ivc-clay-shadow);
  margin-bottom: 26px;
}

.ivc-filter-bar .ivc-field {
  margin-bottom: 0;
}

/* Mascot Band */
.ivc-cormac-band {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.ivc-cormac-band img {
  width: 150px;
  height: 150px;
  border-radius: 26px;
}

/* FAQ Details */
.ivc-faq-list {
  display: grid;
  gap: 12px;
}

.ivc-faq-item {
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border);
  border-radius: var(--ivc-radius-md);
  box-shadow: var(--ivc-clay-shadow-sm);
  padding: 4px 20px;
}

.ivc-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 0;
  font-weight: 700;
  color: var(--ivc-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ivc-faq-item summary::-webkit-details-marker {
  display: none;
}

.ivc-faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--ivc-accent);
}

.ivc-faq-item[open] summary::after {
  content: "−";
}

.ivc-faq-item p {
  padding-bottom: 14px;
  margin: 0;
}

/* Tables & Prose */
.ivc-table-wrap {
  overflow-x: auto;
  border-radius: var(--ivc-radius-md);
  border: 1px solid var(--ivc-border);
  background: var(--ivc-surface);
}

.ivc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ivc-table th,
.ivc-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ivc-border);
  vertical-align: top;
}

.ivc-table th {
  background: var(--ivc-surface-soft);
  color: var(--ivc-ink);
  font-weight: 700;
}

.ivc-prose {
  max-width: 74ch;
}

.ivc-prose h2 {
  margin-top: 2rem;
}

.ivc-prose ul {
  color: var(--ivc-ink-muted);
  padding-left: 1.3rem;
}

.ivc-prose li {
  margin-bottom: 0.45rem;
}

/* 4-Column Footer */
.ivc-footer {
  margin-top: 64px;
  padding: 52px 0 34px;
  background: var(--ivc-surface);
  border-top: 1px solid var(--ivc-border);
}

.ivc-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}

.ivc-footer-heading {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.ivc-footer-desc {
  margin: 12px 0 14px;
  font-size: 0.9rem;
}

.ivc-footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.87rem;
  color: var(--ivc-ink-muted);
}

.ivc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.ivc-footer-links a {
  text-decoration: none;
  color: var(--ivc-ink-muted);
}

.ivc-footer-links a:hover {
  color: var(--ivc-accent);
  text-decoration: underline;
}

.ivc-footer-cookie-btn {
  margin-top: 14px;
}

.ivc-colophon-notice {
  padding: 18px 22px;
  border-radius: var(--ivc-radius-md);
  background: var(--ivc-surface-soft);
  border: 1px solid var(--ivc-border);
  margin-bottom: 22px;
}

.ivc-colophon-notice p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.62;
  color: var(--ivc-ink-muted);
}

.ivc-footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--ivc-border);
  font-size: 0.84rem;
}

.ivc-footer-base p {
  margin: 0;
}

/* Consent Bar, Modals & Toasts */
.ivc-consent-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border-strong);
  border-radius: var(--ivc-radius-lg);
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.35);
  padding: 18px 22px;
}

.ivc-consent-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ivc-consent-bar__copy {
  flex: 1 1 340px;
}

.ivc-consent-bar__copy h2 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.ivc-consent-bar__copy p {
  margin: 0;
  font-size: 0.86rem;
}

.ivc-consent-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ivc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(18, 14, 14, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.ivc-modal-backdrop[hidden] {
  display: none;
}

.ivc-modal-card {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ivc-surface);
  border: 1px solid var(--ivc-border-strong);
  border-radius: var(--ivc-radius-lg);
  box-shadow: var(--ivc-clay-shadow);
  padding: 24px;
}

.ivc-modal-card--wide {
  max-width: 720px;
}

.ivc-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ivc-modal-head h2 {
  margin: 0;
  font-size: 1.4rem;
}

.ivc-consent-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}

.ivc-consent-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: var(--ivc-radius-md);
  background: var(--ivc-surface-soft);
  border: 1px solid var(--ivc-border);
  cursor: pointer;
}

.ivc-consent-item__text strong {
  display: block;
  color: var(--ivc-ink);
  font-size: 0.94rem;
}

.ivc-consent-item__text small {
  color: var(--ivc-ink-muted);
  font-size: 0.82rem;
}

.ivc-consent-item input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--ivc-accent);
}

.ivc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ivc-toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 350;
  display: grid;
  gap: 8px;
  max-width: 340px;
}

.ivc-toast {
  padding: 12px 16px;
  border-radius: var(--ivc-radius-md);
  background: var(--ivc-cabinet);
  color: #faf6f4;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .ivc-nav { display: none; }
  .ivc-menu-toggle { display: inline-flex; }
  .ivc-hero-grid { grid-template-columns: 1fr; }
  .ivc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivc-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .ivc-pill-header { padding: 8px 10px; }
  .ivc-account-bar { display: none; }
  .ivc-wallet-chip__badge { display: none; }
  .ivc-metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ivc-grid-4,
  .ivc-grid-3,
  .ivc-grid-2,
  .ivc-filter-bar,
  .ivc-footer-grid { grid-template-columns: 1fr; }
  .ivc-cormac-band { grid-template-columns: 1fr; text-align: left; }
}
