/* Shared chrome for the public product tour. Content and application panels own their own surfaces. */
.site-head.launch-head {
  background: var(--page);
  border-color: var(--border);
}
.launch-head .head-inner {
  width: min(1380px, calc(100% - clamp(32px, 7vw, 112px)));
  min-height: 66px;
  gap: clamp(12px, 2vw, 32px);
}
.launch-head .head-inner .lockup {
  gap: 8px;
  min-height: 44px;
}
.launch-head .head-inner .lockup img,
.studio-menu .lockup img { width: 24px; height: 24px; }
.launch-head .head-inner .lockup span,
.studio-menu .lockup span { padding: 0; font-size: 1.04rem; white-space: nowrap; }
.launch-head .desktop-nav { height: 66px; gap: 1px; }
.launch-head .desktop-nav > .launch-nav-direct,
.launch-head .sc-nav-group > summary {
  min-height: 44px;
  padding: 0 clamp(8px, 1.05vw, 18px);
  text-decoration: none;
  color: var(--text-secondary);
  font: 525 .91rem/1.25 var(--ui);
  letter-spacing: -.027em;
  border-radius: 99px;
}
.launch-head .sc-nav-group.is-current > summary,
.launch-head .sc-nav-group[open] > summary,
.launch-head .desktop-nav > .launch-nav-direct[aria-current] {
  color: var(--text);
  background-color: var(--surface-muted);
  text-decoration: none;
}
.launch-head .nav-end { gap: 10px; }
.launch-head .appearance-switch {
  background: var(--surface-muted);
  border-color: var(--border);
}
.launch-head .appearance-switch button { width: 44px; height: 44px; }
.launch-head .nav-contact,
.studio-menu .sm-cta {
  background: var(--text);
  color: var(--page);
  box-shadow: none;
  border-color: var(--text);
  white-space: nowrap;
}
.launch-head .sc-mega {
  width: min(790px, calc(100vw - 54px));
  padding: 14px;
  gap: clamp(15px, 2vw, 32px);
  grid-template-columns: minmax(225px, .88fr) 1.35fr;
  border-radius: 0 0 22px 22px;
  background: var(--page);
  box-shadow: 0 22px 46px -28px rgb(0 14 12 / 35%);
}
.launch-head .launch-nav-feature {
  min-height: 205px;
  padding: 20px;
  border-radius: 12px;
}
.launch-head .launch-nav-feature strong {
  display: block; max-width: 13ch;
  font: 420 clamp(1.8rem, 2.1vw, 2.35rem)/.98 "Instrument Serif", Georgia, serif;
  letter-spacing: -.035em; text-wrap: balance;
}
.launch-head .launch-nav-feature img { object-position: center 42%; }
.launch-head .sc-mega-links {
  align-content: center;
  padding-block: 6px;
  padding-inline-end: 10px;
  gap: 0 14px;
}
.launch-head .sc-mega-links > a {
  justify-content: start;
  font: 510 .91rem/1.3 var(--ui);
  letter-spacing: -.018em;
  min-height: 48px;
  padding: 10px 6px;
  border-radius: 0;
}
.launch-head .sc-mega-links > a[aria-current] {
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* The dialog keeps its own scroll area and native focus containment. */
.studio-menu .sm-bar,
.studio-menu .sm-foot { border-color: var(--border); }
.studio-menu .sm-close, .launch-head .sm-trigger {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  font: 555 .9rem/1.15 var(--ui);
  letter-spacing: -.025em;
}
.studio-menu .sm-demo-card {
  border-radius: 15px;
  color: #14262a;
  background: linear-gradient(115deg, #d9e5e8 7%, #c4d6e2 74%, #abbecd);
}
html[data-theme="dark"] .studio-menu .sm-demo-card {
  background: linear-gradient(115deg, #273d45 7%, #2b454e 74%, #385362);
  color: #f0f3f1;
}
.studio-menu .sm-demo-copy strong {
  letter-spacing: -.06em;
  line-height: .97;
}
.studio-menu .sm-demo-copy em { font-style: italic; }
.studio-menu .sm-group-cover { border-radius: 12px; min-height: 120px; }
.studio-menu .sm-group-cover span {
  max-width: 18ch;
  font: 400 1.86rem/1.07 "Instrument Serif", Georgia, serif;
  letter-spacing: -.03em;
}
.studio-menu .sm-row-copy strong { font-weight: 550; letter-spacing: -.046em; }
.studio-menu .sm-row-copy small { color: var(--text-secondary); }
.studio-menu .sm-foot .appearance-switch {
  border-radius: 99px; padding: 1px;
}
.studio-menu .sm-foot .appearance-switch button {
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  gap: 5px;
  font: 550 .875rem/1 var(--ui);
  border-radius: 99px;
}
.studio-menu .sm-foot .appearance-switch button span { display: inline; }

/* A closing invitation and a navigable colophon, using the same type scale as the product chapters. */
.launch-invitation {
  border: 0;
  padding: clamp(48px, 7vw, 110px) 0;
  background: var(--page);
}
.launch-invitation .launch-invitation-grid {
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: 0;
  border-radius: clamp(15px, 2vw, 28px);
  overflow: hidden;
  isolation: isolate;
  background: #152c2d;
}
.launch-invitation .launch-invitation-copy {
  background: linear-gradient(140deg, #213a3b, #132929 75%);
  color: #f6f5ec;
  padding: clamp(30px, 4.25vw, 69px);
}
.launch-invitation .launch-invitation-copy h2 {
  max-width: 14ch;
  font: 550 clamp(2.45rem, 4.15vw, 4.65rem)/1.01 var(--ui);
  letter-spacing: -.068em;
}
.launch-invitation .launch-invitation-copy p {
  margin: 18px 0 24px;
  font: 425 clamp(1rem, 1.14vw, 1.12rem)/1.52 var(--ui);
  color: #d1dcda;
}
.launch-invitation .launch-invitation-copy .btn {
  min-height: 46px;
  border-radius: 99px; box-shadow: none;
  color: #142829; background: #f1f2ea; border-color: #f1f2ea;
}
.launch-invitation .launch-invitation-plate {
  background: radial-gradient(ellipse at top, #e1ebea, #b9cbd0);
}
.launch-invitation .launch-invitation-plate img { object-position: 50% 40%; }
.launch-invitation .launch-invitation-plate:has(img[src*="/examples/"]) img {
  padding: clamp(22px, 2.7vw, 44px);
  transform: rotate(3deg);
  object-position: center;
}
.footer {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}
.footer .footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, .64fr) minmax(0, 1.36fr);
  column-gap: clamp(40px, 5.25vw, 82px);
  padding-block: clamp(50px, 6vw, 92px) 16px;
}
.footer .sc-footer-brand {
  display: flex; flex-flow: column; align-items: flex-start;
  gap: 0; margin: 0; padding: 0;
  border: 0;
}
.footer .sc-footer-brand .lockup { flex: none; min-height: 44px; gap: 9px; }
.footer .sc-footer-brand .lockup img { width: 26px; height: 26px; }
.footer .sc-footer-brand .lockup span { padding: 0; font-size: 1.02rem; }
.footer .sc-footer-brand p {
  max-width: 14ch; margin: 13px 0;
  color: var(--text);
  font: 400 clamp(1.85rem, 2.8vw, 3.35rem)/1.04 "Instrument Serif", Georgia, serif;
  letter-spacing: -.046em;
}
.footer .sc-footer-brand .underlink {
  display: inline-flex; min-height: 44px; margin: 0; align-items: center;
  font: 500 .92rem/1.5 var(--ui); text-underline-offset: 4px;
}
.footer .footer-columns.sc-footer-columns {
  align-content: start;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(14px, 2.2vw, 36px);
}
.footer .foot-col { min-width: 0; gap: 1px; }
.footer .foot-col b {
  margin: 0 0 8px; min-height: 42px; display: flex; align-items: center;
  font: 620 .98rem/1.25 var(--ui); color: var(--text); letter-spacing: -.032em;
}
.footer .footer-columns a {
  font: 460 .9rem/1.4 var(--ui); color: var(--text-secondary); min-height: 38px;
  overflow-wrap: anywhere; text-underline-offset: 4px;
}
.footer .footer-base {
  grid-column: 1 / -1; gap: 10px 22px;
  margin-top: clamp(36px, 5.6vw, 80px); padding: 12px 0 0;
  font: 460 .86rem/1.4 var(--ui); color: var(--text-secondary);
}
.footer .footer-base > :last-child { margin-left: 0; }

@media (hover: hover) {
  .launch-head .desktop-nav > .launch-nav-direct:hover,
  .launch-head .sc-nav-group > summary:hover,
  .studio-menu .sm-close:hover, .launch-head .sm-trigger:hover { color: var(--text); background: var(--surface-muted); }
  .launch-head .sc-mega-links > a:hover { background: transparent; text-decoration: underline; text-underline-offset: 4px; }
  .footer .footer-columns a:hover, .footer .footer-base a:hover { color: var(--text); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .launch-nav-feature img, .sm-group-cover img { transition: transform .45s cubic-bezier(.2,.65,.25,1); }
  .launch-nav-feature:hover img, .sm-group-cover:hover img { transform: scale(1.035); }
}
@media (max-width: 1100px) {
  .launch-head .head-inner { min-height: 64px; }
  .footer .footer-wrap { grid-template-columns: minmax(0,1fr); }
  .footer .sc-footer-brand {
    display: grid; align-items: center; grid-template-columns: auto 1fr auto;
    column-gap: clamp(16px, 3vw, 40px);
    padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 17px;
  }
  .footer .sc-footer-brand p { max-width: 27ch; font-size: clamp(1.55rem, 3vw, 2.4rem); }
  .footer .footer-columns a { min-height: 44px; }
}
@media (max-width: 680px) {
  .launch-head .head-inner { width: calc(100% - 32px); min-height: 60px; gap: 5px; }
  .launch-head .head-inner .lockup span { font-size: .95rem; }
  .launch-head .head-inner .lockup img { width: 21px; height: 21px; }
  .launch-head .head-inner .nav-end { gap: 6px; }
  .launch-head .head-inner .nav-contact { padding: 0 12px; font-size: .85rem; }
  .launch-head .head-inner .sm-trigger { padding-inline: 11px; gap: 6px; }
  .launch-invitation .launch-invitation-grid { grid-template-columns: minmax(0,1fr); }
  .launch-invitation .launch-invitation-copy { padding: 30px 24px 31px; }
  .launch-invitation .launch-invitation-copy h2 { font-size: clamp(2.25rem, 8.8vw, 3.3rem); }
  .launch-invitation .launch-invitation-plate { aspect-ratio: 1.95; min-height: 150px; max-height: 255px; }
  .footer .sc-footer-brand { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .footer .sc-footer-brand .lockup { grid-column: 1; grid-row: 1; }
  .footer .sc-footer-brand p { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 1.8rem; }
  .footer .sc-footer-brand .underlink { grid-column: 2; grid-row: 1; font-size: .875rem; }
  .footer .footer-columns.sc-footer-columns { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 18px; }
  .footer .foot-col b { min-height: 36px; margin-bottom: 2px; }
  .footer .footer-base { gap: 2px 15px; }
  .footer .footer-base span { width: 100%; }
}
@media (max-width: 370px) {
  .launch-head .head-inner .nav-end > .nav-contact { display: none; }
  .studio-menu .sm-foot { gap: 8px; }
  .studio-menu .sm-foot .appearance-switch button { padding-inline: 7px; }
  .studio-menu .sm-foot .sm-cta { padding-inline: 15px; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: 150ms;
    animation-timing-function: ease-out;
  }
}

/* Index navigation shares the existing disclosure links and day/night palette. */
.ix-trigger { display: none; }
.ix-ready .head-inner { position: relative; }
.ix-ready.ix-open { transform: none; }
.launch-head.ix-ready .sc-mega {
  inset: calc(100% + 7px) 0 auto;
  width: min(1080px, 100%);
  max-height: calc(100dvh - var(--studio-header-height, 70px) - 18px);
  overflow-y: auto; overscroll-behavior: contain;
  margin: 0 auto; transform: none;
  grid-template-columns: minmax(245px, .74fr) minmax(0, 1.26fr);
  align-items: stretch; gap: 16px clamp(24px, 3.5vw, 54px);
  padding: clamp(21px, 2.4vw, 34px);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 18px 42px -24px #12171065;
}
.ix-ready .sc-mega > .launch-nav-feature { display: none; }
@media (min-width: 1101px) and (any-hover: hover) {
  .ix-ready .sc-nav-group { align-self: stretch; }
  /* Keep the visual gap below the header traversable, even with slow pointer movement. */
  .ix-ready .sc-nav-group[open]::after {
    content: '';
    position: absolute; inset: 100% 0 auto;
    width: min(1080px, 100%); height: 8px; margin-inline: auto;
    z-index: 89;
  }
}
.ix-intro { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.ix-heading small { display: block; text-transform: uppercase; font: 650 .72rem/1.3 var(--ui); letter-spacing: .13em; color: var(--text-secondary); }
.ix-heading strong { display: block; margin-top: 3px; font: 400 clamp(2.8rem,4.2vw,4.6rem)/1 'Instrument Serif', Georgia, serif; letter-spacing: -.045em; }
.ix-close { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: inherit; font: 400 1.5rem/1 var(--ui); }
.ix-close:hover { background: var(--surface-muted); }
.ix-ready .sc-mega .sc-mega-links { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 0; gap: 0; min-width: 0; }
.ix-ready .sc-mega .sc-mega-links a {
  display: flex; justify-content: start; align-items: center; gap: 12px;
  padding: 9px 12px; min-height: 45px; border-radius: 0;
  border-bottom: 1px solid var(--border);
  font: 540 clamp(.94rem,1.16vw,1.1rem)/1.3 var(--ui); letter-spacing: -.022em; color: var(--text);
}
.ix-ready .sc-mega-links a:last-child { border-bottom-color: transparent; }
.ix-ready .sc-mega .sc-mega-links a.ix-active { background: #eeebfa; color: #292332; border-color: transparent; border-radius: 7px; text-decoration: none; }
.ix-ready .sc-mega-links a.ix-active::after { content: ''; width: 7px; height: 7px; border-radius: 50%; margin-inline-start: auto; background: #78658e; flex: none; }
[data-theme=dark] .ix-ready .sc-mega .sc-mega-links a.ix-active { color: #f2eef9; background: #3e354c; }
[data-theme=dark] .ix-ready .ix-active::after { background: #d0bee7; }
.ix-ready .ix-glyph { flex: none; min-width: 18px; color: inherit; opacity: .7; text-align: center; }
.ix-ready :is(.ix-close,.ix-trigger,.sc-mega-links a,summary,.launch-nav-direct):focus-visible { outline: 2px solid var(--focus, currentColor); outline-offset: -3px; }
.ix-proof { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-muted); }
.ix-stage { min-height: 222px; position: relative; isolation: isolate; overflow: hidden; }
.ix-caption { padding: 8px 12px; color: var(--text-secondary); font: 480 .81rem/1.3 var(--ui); }
.ix-caption::before { content:''; display:inline-block; width:8px; height:8px; margin-right:7px; border:1px solid currentColor; border-radius:2px; }
.ix-art { position: absolute; inset: 0; overflow: hidden; isolation: isolate; container-type: inline-size; color: #232527; background: var(--ix-mat); }
.ix-art::before { content:''; position:absolute; inset:0; background-image: linear-gradient(90deg,#fff3 1px,transparent 1px),linear-gradient(#fff3 1px,transparent 1px); background-size: 8% 18%; }
.ix-board,.ix-screen { position:absolute; display:flex; flex-direction:column; background:#f3f3ed; color:#272828; box-shadow:0 5px 18px #211b3933; }
.ix-board { left:9%; top:14%; width:57%; height:74%; padding:3%; justify-content:space-between; transform:rotate(-4deg); }
.ix-art small { font: 640 clamp(10px,2.3cqw,14px)/1.15 var(--ui); letter-spacing:.012em; }
.ix-wordmark,.ix-band,.ix-web strong { font:800 clamp(28px,10cqw,74px)/.88 'Club Display','Arial Narrow',Impact,sans-serif; letter-spacing:-.045em; text-transform:uppercase; }
.ix-swatches { display:flex; gap:3px; height:15%; }
.ix-swatches i { width:19%; background:#191b20; }
.ix-swatches i:nth-child(2){background:#b8a5e5}.ix-swatches i:nth-child(3){background:#e4f39e}.ix-swatches i:nth-child(4){background:#aeb3b3}
.ix-art .ix-print,.ix-art .ix-second { position:absolute; top:9%; right:14%; width:auto; height:85%; max-width:49%; object-fit:cover; box-shadow:0 6px 15px #211b3940; transform:rotate(8deg); }
.ix-art[data-scene=posters] .ix-print { right:40%; transform:rotate(-8deg); }
.ix-art .ix-second { right:23%; top:22%; height:69%; }
.ix-art .ix-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 43%; }
.ix-band { position:absolute; left:6%; bottom:10%; max-width:88%; padding:2% 3%; background:#e4f4b1; transform:rotate(-3deg); font-size:clamp(21px,6cqw,48px); }
.ix-screen { top:11%; left:12%; width:76%; height:79%; padding:4%; border-radius:5px; gap:8%; transform:rotate(-3deg); }
.ix-calendar { flex:1; display:grid; grid-template:repeat(3,1fr)/repeat(5,1fr); gap:3%; }
.ix-calendar i { background:#e9eae5; border-radius:2px; }
.ix-calendar i:nth-child(4n+1){background:#d6c8f0}.ix-calendar i:nth-child(6n+2){background:#bfdfa0}.ix-calendar i:nth-child(8){background:#454641}
.ix-chart { flex:1; display:flex; align-items:flex-end; gap:5%; border-bottom:1px solid #b2b7a9; }
.ix-chart i { width:10%; background:#54564a; border-radius:2px 2px 0 0; }
.ix-chart i:nth-last-child(-n+2){background:#a4c963}
.ix-web { min-height:0; flex:1; display:flex; align-items:center; gap:6%; padding:3%; background:#d2c4f0; }
.ix-web strong { font-size:clamp(21px,7cqw,54px); }.ix-web img { width:38%; height:100%; object-fit:cover; margin-left:auto; }
.ix-guide { flex:1; min-height:0; display:grid; gap:5%; }.ix-guide span { border-bottom:1px solid #ccc8d5; font:520 clamp(10px,2.5cqw,15px)/1.2 var(--ui); }
@media (min-width:700px) and (max-width:1100px) {
  .ix-ready .head-inner .sm-trigger { display:none; }
  .ix-ready .head-inner .nav-end > .appearance-switch { display:flex; }
  .ix-ready .ix-trigger { display:inline-flex; align-items:center; gap:8px; min-height:44px; border:1px solid var(--border); border-radius:40px; padding:0 16px; background:transparent; color:var(--text); font:550 .9rem/1 var(--ui); }
  .ix-trigger::before { content:''; width:14px; height:7px; border-block:1px solid currentColor; }
  .ix-ready.ix-open .desktop-nav { display:flex!important; position:absolute; inset:100% 0 auto; gap:5px; padding:8px 10px; height:auto; flex-wrap:wrap; align-self:auto; background:var(--page); border:1px solid var(--border); border-radius:14px; }
  .ix-ready .desktop-nav .sc-nav-group > summary,.ix-ready .desktop-nav > .launch-nav-direct { padding-inline:13px; border:1px solid var(--border); }
  .ix-ready .sc-nav-group[open] > summary { color:var(--page); background:var(--text); }
  .launch-head.ix-ready .sc-mega { inset:calc(100% + 5px) 0 auto; width:100%; max-height:calc(100dvh - var(--studio-header-height,70px) - var(--ix-tabs-height,64px) - 14px); }
}
@media (min-width:700px) and (max-width:850px) {
  .launch-head.ix-ready .sc-mega { grid-template-columns:1fr; gap:12px; padding:18px 22px; }
  .ix-ready .ix-stage { min-height:142px; }
  .ix-ready .ix-board { left:17%; width:42%; }
  .ix-ready .ix-print { right:24%; }
  .ix-ready .ix-wordmark { font-size:clamp(29px,7cqw,50px); }
  .ix-ready .sc-mega .sc-mega-links a { min-height:46px; }
}
