.pal-intro { padding-block: 46px 30px; max-width: 880px; text-align: center; }
.pal-back { font-size: .85rem; opacity: .72; text-decoration: none; }
.pal-kicker { font-size: .73rem; letter-spacing: .17em; text-transform: uppercase; margin-block: 24px 12px; }
.pal-intro h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(3.2rem, 7vw, 6.3rem); line-height: 1.03; margin: 0; }
.pal-intro h1 span { display: block; font: 400 clamp(1rem, 2vw, 1.45rem)/1.6 system-ui, sans-serif; letter-spacing: .04em; margin-top: 14px; }
.pal-lede { max-width: 620px; margin: 20px auto 0; line-height: 1.65; opacity: .75; }
.pal-stage { position: relative; margin: 0 auto; width: min(1520px, 96%); background: #0d1723; color: #e2edf0; border: 1px solid #344451; border-radius: 16px; overflow: hidden; }
.pal-bar { position: relative; z-index: 5; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 18px; background: #0d1723; border-bottom: 1px solid #344451; }
.pal-bar a { color: inherit; text-decoration: none; }
.pal-brand { font: 1.2rem Georgia, serif; white-space: nowrap; }
.pal-brand span { font: .73rem system-ui, sans-serif; opacity: .6; }
.pal-bar nav { display: flex; align-items: center; gap: 14px; font: 600 .75rem system-ui, sans-serif; }
.pal-bar button { color: inherit; font: inherit; border: 1px solid #51616b; background: #182632; border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.pal-bar button:hover, .pal-bar a:hover { color: #9ce1db; }
.pal-bar button span { opacity: .65; }
#pal-exit i { display: none; font-style: normal; }
.pal-surface { position: relative; height: clamp(540px, 72vh, 850px); }
.pal-cover, #pal-scene { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pal-cover img { width: 100%; height: 100%; object-fit: cover; }
.pal-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #08131cec, transparent 58%); pointer-events: none; }
.pal-invitation { position: absolute; z-index: 1; bottom: 7%; left: 16px; right: 16px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.pal-invitation > span { font: 1.1rem Georgia, serif; }
.pal-invitation small { color: #c1d0d6; font-size: .73rem; }
.pal-invitation button { background: #e2ebe5; color: #12242b; box-shadow: 0 8px 36px #0007; }
.pal-stage.is-expanded { position: fixed; inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; z-index: 10000; display: flex; flex-direction: column; }
.pal-stage.is-expanded .pal-surface { flex: 1; height: auto; min-height: 0; }
.pal-stage:fullscreen { width: 100%; height: 100%; }
body.pal-expanded { overflow: hidden; }
.pal-recovery { position: absolute; inset: 20% 18%; z-index: 4; align-content: center; padding: 24px; text-align: center; border: 1px solid #536976; border-radius: 16px; background: #11232bf2; }
.pal-recovery button { margin: 8px; padding: 12px 18px; background: #d4e2dc; color: #162b30; border: 0; border-radius: 6px; cursor: pointer; }
.pal-film { position: absolute; left: 20px; bottom: 180px; width: 290px; z-index: 3; background: #111e2af5; border: 1px solid #6f858b; border-radius: 12px; box-shadow: 0 12px 45px #0007; overflow: hidden; }
.pal-film-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font: 600 .78rem system-ui, sans-serif; }
.pal-film-head small { opacity: .6; font-weight: 400; margin-left: 6px; }
.pal-film-head button { width: 32px; height: 32px; border: 0; background: transparent; color: white; font-size: 1.6rem; cursor: pointer; }
.pal-video-wrap { position: relative; aspect-ratio: 16/9; background: #06111b; }
.pal-video-wrap video { width: 100%; height: 100%; object-fit: contain; display: block; }
.pal-video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #06111b40; color: white; border: 0; font: 600 .9rem system-ui, sans-serif; text-shadow: 0 1px 8px black; cursor: pointer; }
.pal-video-play span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #d8ede6; color: #16323a; text-shadow: none; }
.pal-film-error { padding: 10px; font-size: .75rem; }
.pal-film-error button { color: inherit; }
.pal-about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 64px; }
.pal-about h2 { font: 400 clamp(2rem, 4vw, 3.2rem)/1.13 Georgia, serif; margin: 0 0 20px; }
.pal-about p { line-height: 1.8; }
.pal-note { font-size: .85rem; opacity: .65; }
.pal-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; padding: 0; margin: 25px 0; }
.pal-rooms li { padding: 15px 0; border-bottom: 1px solid #71808850; display: flex; gap: 14px; align-items: baseline; }
.pal-rooms li > span { font-size: .72rem; opacity: .5; }
.pal-rooms strong { font-size: .9rem; font-weight: 500; }
.pal-rooms small { display: block; margin-top: 8px; opacity: .6; font-size: .75rem; }
.pal-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 70px; }
.pal-next a { color: inherit; text-decoration: none; border: 1px solid #71808860; border-radius: 14px; padding: 26px; }
.pal-next a:hover { border-color: #4b998d; }
.pal-next span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.pal-next h3 { font: 400 1.45rem/1.25 Georgia, serif; margin: 16px 0; }
.pal-next p { font-size: .85rem; line-height: 1.7; opacity: .7; }
.palisade-page [hidden] { display: none !important; }
.palisade-page :focus-visible { outline: 3px solid #74b8d0; outline-offset: 3px; }
.pal-collection-stats { display: flex; justify-content: center; gap: 32px; margin: 28px 0 14px; font-size: .78rem; }
.pal-collection-stats strong { display: block; font: 400 2.5rem Georgia, serif; margin-bottom: 3px; }
.pal-count-clarity { display: block; opacity: .62; font-size: .73rem; }
.pal-build-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 20px; border-top: 1px solid #58676b30; border-bottom: 1px solid #58676b30; font-size: .78rem; }
.pal-build-strip span { color: #62726b; }
.pal-build-strip a { color: #234f48; text-decoration: none; font-weight: 650; }
.pal-build-strip a { padding: 8px 12px; border-radius: 6px; background: #e4eee7; }
.pal-build-strip a:nth-of-type(2) { background: #f0ead9; color: #554b2d; }
.pal-build-strip a:nth-of-type(3) { background: #efe3df; color: #603e33; }
html[data-theme-active="dark"] .pal-build-strip > span { color: #b1b9b5; }
html[data-theme-active="dark"] .pal-source-badge-intro strong { color: #9fcdbf; }
.pal-fleet { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding-top: 36px; padding-bottom: 50px; }
.pal-ship-card { background: #111c29; color: #dde5e7; border-radius: 14px; overflow: hidden; border: 1px solid #48576a; transition: transform .2s, box-shadow .2s; min-width: 0; }
.pal-ship-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px #172b3418; }
.pal-card-image { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pal-card-image img { width: 100%; height: 100%; object-fit: cover; }
.pal-card-image > span { position: absolute; right: 12px; bottom: 12px; background: #dce9e5; color: #182b32; padding: 10px 14px; border-radius: 100px; font: 600 .73rem system-ui; box-shadow: 0 4px 22px #0006; }
.pal-card-content { padding: 24px; }
.pal-card-label { display: flex; justify-content: space-between; font-size: .64rem; letter-spacing: .1em; color: var(--ship-accent); }
.pal-card-content h2 { font: 400 clamp(1.8rem,3vw,2.6rem) Georgia,serif; margin: 16px 0 8px; }
.pal-card-content h2 a { color: inherit; text-decoration: none; }
.pal-card-subtitle { font-size: .75rem; opacity: .7; }
.pal-card-content > p:not(.pal-card-subtitle) { line-height: 1.7; font-size: .84rem; color: #c1cdd2; min-height: 4.8em; }
.pal-source-badge { display: flex; gap: 13px; align-items: center; margin: 22px 0; }
.pal-source-badge strong { font: 400 2.5rem Georgia,serif; color: var(--ship-accent,#426960); }
.pal-source-badge > span { font: 600 .73rem system-ui; }
.pal-source-badge small { display: block; margin-top: 4px; opacity: .62; font-weight: 400; font-size: .66rem; }
.pal-source-badge-intro { justify-content: center; }
.pal-source-badge-intro .pal-room-tag { margin-left: 12px; padding-left: 22px; border-left: 1px solid #62766b55; }
.pal-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid #586d793a; }
.pal-card-actions a { color: var(--ship-accent); font-size: .8rem; text-decoration: none; }
.pal-card-actions a:first-child { padding: 10px 16px; border: 1px solid var(--ship-accent); border-radius: 7px; font-weight: 650; }
.pal-coming-soon { font-size: .7rem; opacity: .55; }
.pal-bar button:disabled { opacity: .5; cursor: default; }
.pal-source-explainer { display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; padding-block: 35px 60px; }
.pal-source-explainer h2 { font: 400 clamp(1.8rem,3vw,2.6rem)/1.2 Georgia,serif; margin: 0; }
.pal-source-explainer p, .pal-source-details p { font-size: .87rem; line-height: 1.8; }
.pal-source-explainer summary, .pal-source-details summary { cursor: pointer; padding: 12px 0; font-size: .82rem; font-weight: 600; }
.pal-source-explainer li { padding: 8px 0; font-size: .8rem; line-height: 1.6; }
.pal-offer-heading { grid-column: 1/-1; text-align: center; max-width: 580px; margin: 0 auto 15px; }
.pal-offer-heading h2 { font: 400 2.8rem Georgia,serif; margin: 10px 0; }
.pal-next a { color: #203936; }
.pal-next .pal-offer-ai { background: #e4eee7; }
.pal-next .pal-offer-lab { background: #f0ead9; }
.pal-next .pal-offer-consult { background: #efe3df; }
.pal-next a > strong { display: block; margin-top: 22px; font-size: .8rem; }
.pal-sibling-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; padding-bottom: 25px; font-size: .84rem; }
.pal-sibling-links span { opacity: .6; }
.pal-sibling-links a { color: inherit; text-decoration: none; }
.pal-sibling-links small { opacity: .6; }
.pal-bar a[class^="pal-link-"] { padding: 9px 12px; border-radius: 6px; border: 1px solid #54767a; box-shadow: 0 0 16px #4aa09c12; transition: box-shadow .2s; }
.pal-bar a.pal-link-ai { background: #214646; color: #bee4dc; }
.pal-bar a.pal-link-lab { background: #464230; color: #ede1b9; }
.pal-bar a.pal-link-consult { background: #463833; color: #edcbbd; }
.pal-bar a[class^="pal-link-"]:hover { box-shadow: 0 0 20px #90bcb83c; }
@media (prefers-reduced-motion: reduce) { .pal-ship-card { transition: none; } .pal-ship-card:hover { transform: none; } }
@media (min-width: 721px) and (max-width: 1000px) { .pal-fleet { gap: 14px; } .pal-card-content { padding: 18px; } .pal-bar nav { gap: 8px; } }
@media (max-width: 720px) {
  .pal-intro { padding-block: 25px; }
  .pal-bar { padding: 8px 10px; flex-wrap: wrap; gap: 7px; }
  .pal-brand { font-size: 1rem; }
  .pal-brand span { display: none; }
  .pal-bar nav { gap: 9px; font-size: .68rem; flex-wrap: wrap; }
  .pal-bar button { padding: 9px 8px; }
  .pal-bar a[class^="pal-link-"] { padding: 9px 6px; }
  .pal-stage.is-expanded .pal-brand, #pal-expand { display: none; }
  .pal-stage.is-expanded .pal-bar nav { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .pal-stage.is-expanded #pal-watch span { display: none; }
  .pal-stage.is-expanded .pal-bar nav { font-size: .64rem; }
  .pal-stage.is-expanded .pal-bar a[class^="pal-link-"] { padding-inline: 5px; }
  #pal-exit span { display: none; }
  #pal-exit i { display: block; font-size: 1.1rem; line-height: 1; }
  .pal-surface { height: 68svh; min-height: 490px; }
  .pal-stage.is-expanded .pal-surface { min-height: 0; }
  .pal-cover img { object-position: 55% center; }
  .pal-film { left: auto; right: 12px; bottom: auto; top: 64px; width: min(260px, 76vw); }
  .pal-recovery { inset: 20% 5%; }
  .pal-about { grid-template-columns: 1fr; gap: 12px; padding-block: 35px; }
  .pal-next { grid-template-columns: 1fr; }
  .pal-fleet { grid-template-columns: 1fr; max-width: 540px; gap: 22px; }
  .pal-card-content > p:not(.pal-card-subtitle) { min-height: 0; }
  .pal-source-explainer { grid-template-columns: 1fr; gap: 20px; padding-top: 5px; }
  .pal-build-strip { gap: 12px; text-align: center; }
  .pal-build-strip span { flex-basis: 100%; }
  .pal-collection-stats { gap: 24px; }
  .pal-collection-stats strong { font-size: 2rem; }
  .pal-bar nav { gap: 5px; }
  .pal-source-badge-intro { gap: 10px; }
}
