/* Public pages: compact navigation, editorial hierarchy and generous space. */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ms-muted: #b7b9bd;
}
.ms-site { --ms-muted: #b7b9bd; }
.ms-shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.ms-site p { color: var(--ms-muted); }
.ms-site a { color: inherit; text-underline-offset: 5px; }
.ms-site :focus-visible { outline: 2px solid #e6c65c; outline-offset: 5px; }
.ms-skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: #e6c65c; color: #111!important; padding: 12px; }
.ms-skip:focus { top: 12px; }
.ms-header { border-bottom: 1px solid #ffffff16; background: #0b0b0bf5; position: sticky; top: 0; z-index: 50; }
.ms-nav { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 30px; }
.ms-brand img { width: 112px; height: 56px; object-fit: contain; }
.ms-menu { display: flex; gap: 26px; align-items: center; }
.ms-menu a { text-decoration: none; font-size: 13px; font-weight: 500; padding-block: 14px; color: #c8c8c8; white-space: nowrap; transition: color 140ms ease, box-shadow 140ms ease; }
@media (hover: hover) and (pointer: fine) {
  .ms-menu a:hover { color: #e6c65c; }
}
.ms-menu a[aria-current] { color: #e6c65c; box-shadow: 0 1px #e6c65c; }
.ms-menu .ms-member { border-left: 1px solid #ffffff26; padding-left: 24px; }
.ms-menu-toggle { display: none; color: white; background: transparent; border: 1px solid #ffffff40; border-radius: 6px; padding: 9px 14px; min-height: 44px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.ms-menu-toggle:active { transform: scale(0.97); }
.ms-hero-brand-wrap { margin-bottom: 22px; }
.ms-hero-logo { width: 165px; height: auto; max-height: 85px; object-fit: contain; filter: drop-shadow(0 4px 20px rgba(0,0,0,0.7)); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ms-hero-logo:hover { transform: scale(1.03); }
}
.ms-footer-brand { display: inline-block; margin-bottom: 8px; text-decoration: none; }
.ms-footer-logo { width: 125px; height: auto; max-height: 62px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5)); }
.ms-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; padding-block: 64px 48px; align-items: center; }
.ms-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: #d9bd74!important; margin-bottom: 24px; }
.ms-hero h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.12; font-weight: 500; letter-spacing: -.04em; }
.ms-hero h1 span, .ms-gold { color: #dfc780; }
.ms-lead { font-size: 19px; line-height: 1.65; margin: 24px 0; color: #e4e4e4!important; }
.ms-hero-description { max-width: 440px; font-size: 14px; }
.ms-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.ms-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #dcc37c; color: #13120f!important; border: 1px solid #dcc37c; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 14px; padding: 13px 22px; min-height: 48px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease; user-select: none; -webkit-user-select: none; }
.ms-button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .ms-button:hover { background: #eddaa3; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220, 195, 124, 0.25); }
}
.ms-text-link { font-size: 14px; text-decoration: none; border-bottom: 1px solid #ffffff50; padding-block: 10px; display: inline-block; transition: color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.ms-text-link:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .ms-text-link:hover { color: #e6c65c; border-bottom-color: #e6c65c; }
}
.ms-motto { font-size: 10px; letter-spacing: .23em; margin: 34px 0 0; }
.ms-motto span { color: #dcc37c; padding-inline: 8px; }
.ms-hero-photo { position: relative; min-width: 0; height: 540px; border-radius: 8px; overflow: hidden; }
.ms-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ms-hero-photo::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent,#000b); }
.ms-photo-caption { position: absolute; z-index: 1; bottom: 28px; left: 28px; right: 28px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.ms-photo-caption span:first-child { font-size: 10px; letter-spacing: .18em; color: #e3ce93; }
.ms-facts { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid #ffffff20; padding-block: 25px; }
.ms-facts > div { display: flex; gap: 16px; justify-content: center; align-items: center; }
.ms-facts > div + div { border-left: 1px solid #ffffff20; }
.ms-facts strong { font-family: Outfit,sans-serif; font-size: 23px; font-weight: 500; }
.ms-facts span { font-size: 12px; color: var(--ms-muted); }
.ms-home-next { padding-block: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.ms-site h2 { font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.ms-home-next .ms-eyebrow { margin-bottom: 14px; }
.ms-home-next p { font-size: 14px; }
.ms-next-links a { display: flex; justify-content: space-between; gap: 20px; text-decoration: none; border: 1px solid #d8bb7233; background: rgba(10, 12, 12, 0.75); padding: 18px 22px; border-radius: 4px; font-size: 15px; transition: transform 180ms var(--ease-out), border-color 180ms ease, background-color 180ms ease; }
.ms-next-links a:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) {
  .ms-next-links a:hover { color: #e6c65c; border-color: #d8bb72; background: rgba(23, 24, 22, 0.9); transform: translateX(4px); }
}
.ms-footer { background: #101112; border-top: 1px solid #ffffff16; padding-block: 42px; }
.ms-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
.ms-wordmark { font-family: Outfit,sans-serif; font-size: 19px; text-decoration: none; font-weight: 600; }
.ms-footer p { font-size: 12px; margin-top: 14px; }
.ms-footer strong, .ms-footer a:not(.ms-wordmark), .ms-footer small { font-size: 12px; }
.ms-detail { padding-bottom: 80px; }
.ms-page-intro { padding-block: 30px 48px; max-width: 900px; }
.ms-back { display: inline-block; font-size: 12px; color: #aaa!important; text-decoration: none; margin-bottom: 42px; }
.ms-page-intro h1 { font-size: clamp(36px,4.5vw,62px); font-weight: 500; line-height: 1.12; }
.ms-page-intro .ms-eyebrow { margin-bottom: 18px; }
.ms-split, .ms-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.ms-split { align-items: center; gap: 64px; }
.ms-editorial-image { width: 100%; max-height: 430px; object-fit: cover; border-radius: 8px; }
.ms-three, .ms-four { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.ms-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.ms-section { margin-block: 64px; }
.ms-section-small { margin-top: 32px; }
.ms-site h3, .ms-three h2, .ms-four h2 { font-size: 22px; font-weight: 500; }
.ms-number { color: #d9bd74; display: block; font-size: 13px; margin-bottom: 20px; border-top: 1px solid #ffffff25; padding-top: 20px; }
.ms-panel { padding: 30px; background: #141516; border: 1px solid #ffffff16; border-radius: 8px; }
.ms-panel .ms-eyebrow { margin-bottom: 12px; }
.ms-panel p, .ms-three p, .ms-four p, .ms-note p { font-size: 14px; }
.ms-note { padding: 28px 32px; border-left: 2px solid #dcc37c; background: #ffffff04; }
.ms-note p:last-child { margin-bottom: 0; }
.ms-readable { max-width: 760px; }
.ms-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; }
.ms-section-heading p { font-size: 13px; margin-bottom: 0; }
.ms-section-heading h2 { margin-bottom: 0; }
.ms-site details { border-bottom: 1px solid #ffffff24; padding-block: 16px; }
.ms-site summary { cursor: pointer; min-height: 28px; }
.ms-site details p { margin-top: 18px; }
.ms-slot-list { list-style: none; padding: 18px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; font-size: 13px; color: #c9c9c9; }
.ms-small { font-size: 12px; margin-top: 15px; }
.ms-library { margin-block: 24px; gap: 16px; }
.ms-price h2 { font-size: 46px; color: #dfc780; }
.ms-price h2 small { font-size: 16px; color: #bbb; }
.ms-price li { margin-block: 14px; font-size: 14px; color: #ccc; }
.ms-price ul { padding-left: 20px; margin-block: 30px; }
.ms-contact { padding: 16px; }
@media(min-width: 1600px) { .ms-hero { padding-block: 80px 60px; } }
@media(max-width: 1100px) { .ms-shell { width: calc(100% - 48px); } .ms-menu { gap: 16px; } .ms-menu a { font-size: 12px; } .ms-hero { gap: 32px; } .ms-hero-photo { height: 490px; } .ms-facts > div { flex-direction: column; gap: 0; } }
@media(max-width: 900px) { .ms-nav { min-height: 76px; flex-wrap: wrap; gap: 0; } .ms-menu-toggle { display: block; } .ms-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 12px 20px; } .ms-menu.is-open { display: flex; } .ms-menu a { font-size: 15px; padding: 12px; } .ms-menu .ms-member { border-left: 0; border-top: 1px solid #ffffff25; padding-left: 12px; } .ms-hero { grid-template-columns: 1fr 1fr; gap: 24px; } .ms-hero h1 { font-size: 36px; } .ms-four { grid-template-columns: repeat(2,minmax(0,1fr)); } .ms-three { gap: 20px; } }
@media (prefers-reduced-motion: reduce) {
  .ms-site *, .ms-site *::before, .ms-site *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transform: none !important;
    scroll-behavior: auto !important;
  }
  .ms-slot-list .ms-slot-badge {
    opacity: 1 !important;
  }
}

/* Full-bleed, generated equipment atmosphere for the public homepage. */
.ms-home-scene { position: relative; isolation: isolate; overflow: hidden; background: #10100e; }
.ms-scene-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; z-index: -3; }
.ms-home-scene::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(5,7,7,.9) 0%,rgba(5,7,7,.68) 36%,rgba(5,7,7,.12) 74%),linear-gradient(0deg,#0b0b0b 0%,rgba(11,11,11,.84) 20%,transparent 60%); }
.ms-home-scene .ms-hero { display: flex; min-height: calc(100svh - 88px); padding-block: 72px; }
.ms-home-scene .ms-hero-copy { max-width: 650px; }
.ms-home-scene .ms-hero h1 { font-size: clamp(40px,4.7vw,68px); line-height: 1.08; }
.ms-home-scene .ms-hero-description { color: #d5d6d3; max-width: 450px; }
.ms-home-scene .ms-lead { margin-block: 28px 18px; }
.ms-home-scene .ms-facts { background: rgba(9,10,10,.48); }
.ms-home-scene .ms-home-next { padding-block: 56px 36px; }
.ms-image-credit { font-size: 10px; padding-bottom: 20px; margin-bottom: 0; color: #9c9d98!important; }
@media(max-width:900px) { .ms-home-scene .ms-hero { min-height: calc(100svh - 76px); } .ms-home-scene .ms-hero-copy { max-width: 570px; } }
@media(max-width:640px) { .ms-home-scene .ms-hero { padding-block: 56px 72px; align-items: center; } .ms-home-scene .ms-hero h1 { font-size: clamp(34px,9.4vw,48px); } .ms-home-scene::before { background: linear-gradient(90deg,rgba(5,7,7,.8),rgba(5,7,7,.42)),linear-gradient(0deg,#0b0b0b 0%,rgba(11,11,11,.85) 25%,transparent 80%); } .ms-scene-background { object-position: 70% top; } .ms-home-scene .ms-home-next { padding-block: 38px 24px; } }

/* Shared atmosphere on all public detail pages, with stronger reading contrast. */
.ms-detail-scene { position: relative; isolation: isolate; overflow: hidden; background: #10100e; min-height: calc(100svh - 88px); }
.ms-detail-scene::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(5,7,7,.88),rgba(5,7,7,.66)),linear-gradient(0deg,rgba(11,11,11,.94),transparent 75%); }
.ms-detail-scene .ms-scene-background { object-position: 65% top; }
.ms-detail-scene .ms-panel { background: rgba(17,19,20,.88); border-color: #ffffff24; }
.ms-detail-scene .ms-note { background: rgba(17,19,20,.82); }
.ms-detail-scene .ms-contact { background: rgba(17,19,20,.78); padding: 30px; border-radius: 8px; }
.ms-detail-scene p { color: #d0d1d2; }
.ms-detail-scene .ms-back { color: #d0d1d2!important; }
@media(max-width:640px) { .ms-detail-scene .ms-contact { padding: 24px; } .ms-detail-scene .ms-scene-background { object-position: 70% top; } }

/* Art direction inspired by the approved black-and-gold reference. */
.ms-header { background: rgba(8,9,9,.96); border-bottom-color: rgba(220,195,124,.22); }
.ms-menu { gap: 20px; }
.ms-menu a { font-size: 12px; }
.ms-menu .ms-nav-book {
  background: linear-gradient(120deg,#ecd699,#ccb06a);
  color: #14120b;
  border-radius: 3px;
  padding: 12px 18px;
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  .ms-menu .ms-nav-book:hover {
    background: #f0daa0;
    color: #14120b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(220, 195, 124, 0.3);
  }
}
.ms-menu .ms-nav-book:active {
  transform: scale(0.97);
}
.ms-home-scene .ms-hero h1 { text-transform: uppercase; font-weight: 800; font-size: clamp(40px,4.6vw,66px); letter-spacing: -.035em; line-height: 1.04; }
.ms-home-scene .ms-hero-copy { max-width: 800px; }
.ms-home-scene .ms-hero h1 span { color: #e6ca82; }
@keyframes lineDraw {
  from {
    transform: scaleX(0);
    opacity: 0.2;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
.ms-eyebrow { display: flex; align-items: center; gap: 12px; }
.ms-eyebrow::before {
  content: '';
  flex: 0 0 28px;
  height: 2px;
  background: #d8bb72;
  transform-origin: left;
  animation: lineDraw 320ms var(--ease-out) forwards;
}
.ms-page-intro h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(34px,4.1vw,58px); max-width: 950px; }
.ms-page-intro { max-width: 1000px; padding-bottom: 44px; }
.ms-page-intro::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: #d8bb72;
  margin-top: 28px;
  transform-origin: left;
  animation: lineDraw 360ms var(--ease-out) 80ms both;
}
.ms-facts strong,
.ms-slot-badge,
.ms-number {
  font-variant-numeric: tabular-nums;
}
.ms-site h2 { font-weight: 700; }
.ms-site h3, .ms-three h2, .ms-four h2 { font-weight: 600; }
.ms-button {
  background: linear-gradient(115deg,#efdca5,#cbae65);
  border-color: #d8bb72;
  border-radius: 3px;
  font-weight: 700;
  box-shadow: 0 5px 22px #0003;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  .ms-button:hover {
    background: #f0daa0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 195, 124, 0.25);
  }
}
.ms-button:active {
  transform: scale(0.97);
}
.ms-hero .ms-text-link {
  border: 1px solid #c9af6c;
  border-radius: 3px;
  padding: 13px 22px;
  min-height: 48px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ms-hero .ms-text-link:hover {
    border-color: #e6c65c;
    color: #e6c65c;
    background: rgba(220, 195, 124, 0.08);
    transform: translateY(-1px);
  }
}
.ms-hero .ms-text-link:active {
  transform: scale(0.97);
}
.ms-home-scene .ms-facts { background: rgba(6,8,8,.82); border-color: #d8bb7240; }
.ms-facts strong { color: #e4cc8e; font-weight: 700; }
.ms-detail-scene .ms-panel, .ms-detail-scene .ms-contact { background: linear-gradient(145deg,rgba(24,25,25,.94),rgba(8,10,10,.92)); border: 1px solid #d8bb723b; border-radius: 4px; box-shadow: 0 14px 38px #0003; }
.ms-detail .ms-three:not(.ms-library) > article, .ms-detail .ms-four > article {
  padding: 26px;
  border: 1px solid #d8bb7233;
  background: rgba(9,11,11,.85);
  border-radius: 4px;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .ms-detail .ms-three:not(.ms-library) > article:hover, .ms-detail .ms-four > article:hover {
    border-color: rgba(216, 187, 114, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}
.ms-number { border-top: none; padding-top: 0; font-family: Outfit,sans-serif; font-size: 28px; font-weight: 600; margin-bottom: 18px; }
.ms-card-icon { display: block; color: #e4cc8e; font-size: 30px; margin-bottom: 22px; }
.ms-library .ms-eyebrow { font-size: 10px; }
.ms-library .ms-eyebrow::before { display: none; }
.ms-library h3 { margin-bottom: 16px; }
.ms-detail-scene .ms-price { border-top: 4px solid #d8bb72; }
.ms-price h2 { font-size: clamp(36px,4vw,54px); }
.ms-next-links a {
  background: rgba(10, 12, 12, 0.75);
  border: 1px solid rgba(216, 187, 114, 0.2);
  margin-bottom: 10px;
  padding: 18px 22px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ms-next-links a:hover {
    border-color: #d8bb72;
    background: rgba(23, 24, 22, 0.9);
    transform: translateY(-2px);
  }
}
.ms-next-links a:active {
  transform: scale(0.98);
}
.ms-footer {
  background: #080a0a;
  border-top: 1px solid rgba(216, 187, 114, 0.25);
  padding-block: 48px;
}
.ms-footer-grid > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 32px;
}
.ms-footer strong {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.ms-wordmark {
  font-size: 23px;
}

/* Emil Kowalski Polish: Interactive Accordions & Slot Badges */
.ms-details-panel {
  background: rgba(13, 16, 16, 0.75);
  border: 1px solid rgba(216, 187, 114, 0.25);
  border-radius: 6px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.ms-details-panel[open] {
  border-color: rgba(216, 187, 114, 0.45);
  background: rgba(16, 20, 20, 0.92);
}
.ms-details-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: #f5f5f3;
  list-style: none;
  position: relative;
  transition: background-color 0.15s var(--ease-out);
}
.ms-details-summary::-webkit-details-marker {
  display: none;
}
.ms-details-summary:focus-visible {
  outline: 2px solid #dec587;
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  .ms-details-summary:hover {
    background: rgba(216, 187, 114, 0.08);
  }
}
.ms-details-summary::after {
  content: '▼';
  font-size: 11px;
  color: #dec587;
  margin-left: 12px;
  transition: transform 0.25s var(--ease-out);
}
.ms-details-panel[open] .ms-details-summary::after {
  transform: rotate(180deg);
}
.ms-details-content {
  padding: 0 20px 20px 20px;
  border-top: 1px solid rgba(216, 187, 114, 0.12);
  opacity: 1;
  transition: opacity 200ms var(--ease-out);
}
@starting-style {
  .ms-details-panel[open] .ms-details-content {
    opacity: 0;
  }
}

.ms-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(216, 187, 114, 0.12);
  color: #dec587;
  border: 1px solid rgba(216, 187, 114, 0.3);
}

.ms-slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
@keyframes slotFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.ms-slot-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(8, 10, 10, 0.85);
  border: 1px solid rgba(216, 187, 114, 0.2);
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  font-size: 13px;
  color: #e4cc8e;
  letter-spacing: 0.02em;
  transition: transform 0.15s var(--ease-out), border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
  animation: slotFadeIn 220ms var(--ease-out) both;
}
.ms-slot-list .ms-slot-badge:nth-child(1) { animation-delay: 20ms; }
.ms-slot-list .ms-slot-badge:nth-child(2) { animation-delay: 45ms; }
.ms-slot-list .ms-slot-badge:nth-child(3) { animation-delay: 70ms; }
.ms-slot-list .ms-slot-badge:nth-child(4) { animation-delay: 95ms; }
.ms-slot-list .ms-slot-badge:nth-child(5) { animation-delay: 120ms; }
.ms-slot-list .ms-slot-badge:nth-child(6) { animation-delay: 145ms; }
.ms-slot-list .ms-slot-badge:nth-child(7) { animation-delay: 170ms; }
.ms-slot-list .ms-slot-badge:nth-child(8) { animation-delay: 195ms; }
.ms-slot-list .ms-slot-badge:nth-child(9) { animation-delay: 220ms; }
.ms-slot-list .ms-slot-badge:nth-child(10) { animation-delay: 245ms; }
.ms-slot-list .ms-slot-badge:nth-child(11) { animation-delay: 270ms; }
.ms-slot-list .ms-slot-badge:nth-child(12) { animation-delay: 295ms; }
.ms-slot-list .ms-slot-badge:nth-child(13) { animation-delay: 320ms; }
.ms-slot-list .ms-slot-badge:nth-child(14) { animation-delay: 345ms; }
.ms-slot-list .ms-slot-badge:nth-child(15) { animation-delay: 370ms; }
.ms-slot-list .ms-slot-badge:nth-child(16) { animation-delay: 395ms; }
.ms-slot-list .ms-slot-badge:nth-child(17) { animation-delay: 420ms; }
.ms-slot-list .ms-slot-badge:nth-child(18) { animation-delay: 445ms; }
.ms-slot-list .ms-slot-badge:nth-child(19) { animation-delay: 470ms; }
.ms-slot-list .ms-slot-badge:nth-child(20) { animation-delay: 495ms; }
.ms-slot-list .ms-slot-badge:nth-child(21) { animation-delay: 520ms; }
.ms-slot-list .ms-slot-badge:nth-child(22) { animation-delay: 545ms; }

@media (hover: hover) and (pointer: fine) {
  .ms-slot-badge:hover {
    border-color: #d8bb72;
    background: rgba(30, 26, 15, 0.9);
    transform: translateY(-1px);
  }
}
.ms-slot-badge:active {
  transform: scale(0.96);
}

/* View Transitions between sub-pages */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 160ms var(--ease-out) both fadeOut;
}
::view-transition-new(root) {
  animation: 200ms var(--ease-out) both fadeIn;
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Home Planning Preview Section */
.ms-home-preview {
  padding-block: 54px 44px;
  border-top: 1px solid rgba(216, 187, 114, 0.15);
}
.ms-home-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.ms-preview-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: linear-gradient(145deg, rgba(24, 25, 25, 0.94), rgba(10, 12, 12, 0.92));
  border: 1px solid rgba(216, 187, 114, 0.25);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .ms-preview-card:hover {
    border-color: rgba(216, 187, 114, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
}
.ms-preview-card p {
  color: #cfd0cb;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ms-nav { gap: 14px; }
  .ms-menu { gap: 0; }
  .ms-menu a { font-size: 14px; }
  .ms-menu .ms-nav-book { justify-content: center; margin-top: 12px; }
  .ms-home-preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ms-home-scene .ms-hero h1 { font-size: clamp(28px, 7.5vw, 46px); letter-spacing: -0.035em; }
  .ms-home-scene .ms-hero { padding-block: 44px 64px; }
  .ms-page-intro h1 { font-size: clamp(29px, 8vw, 40px); }
  .ms-detail .ms-three:not(.ms-library) > article, .ms-detail .ms-four > article { padding: 22px; }
  .ms-card-icon { font-size: 26px; margin-bottom: 16px; }
  .ms-footer-grid > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-left: 0; padding-top: 22px; }
}
