.page-hero {
  padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: clamp(32px, 4vw, 56px);
}

.crumbs a:hover {
  color: var(--fg);
}

.crumbs span {
  opacity: 0.5;
}

.crumbs [aria-current="page"] {
  opacity: 1;
  color: var(--fg-body);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.page-hero__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 20px -14px rgba(0, 0, 0, 0.6);
}

.page-hero__icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.page-hero__main .eyebrow {
  margin-bottom: 20px;
}

.page-hero__main h1 {
  font-size: var(--d3);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 20ch;
}

.page-hero__main .lede {
  margin-bottom: 32px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-hero__meta {
  border-top: 1px solid var(--line-strong);
  padding-top: 4px;
}

.page-hero__meta .ledger__row {
  grid-template-columns: 104px minmax(0, 1fr);
}

.exhibit {
  padding-block: clamp(40px, 5vw, 64px);
}

.frame {
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  background: var(--surface);
  box-shadow: var(--shadow-object);
  overflow: hidden;
}

.frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.frame__id {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame__id .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--positive);
  flex: none;
}

.frame__id .dot--signal {
  background: var(--accent);
}

.frame__id .dot--muted {
  background: var(--fg-muted);
}

.frame__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--fg-body);
  white-space: nowrap;
  transition: color var(--quick) var(--ease);
}

.frame__link:hover {
  color: var(--accent);
}

.frame__link svg {
  width: 12px;
  height: 12px;
}

.frame__body {
  position: relative;
  background: var(--bg-2);
}

.frame__body iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  background: #fff;
}

.frame__body video {
  width: 100%;
  aspect-ratio: 1108 / 562;
  background: #000;
}

.frame__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.frame__fallback {
  display: none;
  padding: 32px;
  text-align: center;
}

.frame__fallback p {
  margin-bottom: 16px;
  color: var(--fg-body);
  font-size: var(--t3);
}

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

.job-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.job {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.inside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--line-strong);
}

.inside__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.inside__num {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  flex: none;
  width: 22px;
}

.inside__name {
  font-size: var(--t3);
  color: var(--fg-body);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.proof__measure {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.proof__number {
  font-size: var(--d3);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--fg);
}

.proof__unit {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.proof__copy h3 {
  font-size: var(--d4);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 16px;
  max-width: 20ch;
}

.proof__copy p {
  font-size: var(--t3);
  line-height: 1.65;
  color: var(--fg-body);
  max-width: 56ch;
}

.proof__copy p + p {
  margin-top: 12px;
}

.proof__copy .link--arrow {
  margin-top: 20px;
}

.next {
  border-top: 1px solid var(--line-strong);
}

.next__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--quick) var(--ease);
}

.next__row:hover {
  color: var(--accent);
}

.next__num {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.next__name {
  font-size: var(--d5);
  line-height: 1.1;
  letter-spacing: -0.024em;
  font-weight: 500;
}

.next__role {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-top: 4px;
}

.next__arrow {
  width: 18px;
  height: 18px;
  color: var(--fg-muted);
  transition: transform var(--quick) var(--ease), color var(--quick) var(--ease);
}

.next__row:hover .next__arrow {
  transform: translateX(3px);
  color: var(--accent);
}

.cta-band {
  border-top: 1px solid var(--suite-line);
  padding-block: clamp(56px, 7vw, 96px);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.cta-band .eyebrow {
  margin-bottom: 20px;
}

.cta-band h2 {
  font-size: var(--d3);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--fg);
  max-width: 22ch;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.notfound {
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 10vw, 160px);
}

.notfound__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.notfound__code {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.notfound h1 {
  font-size: var(--d2);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 24px;
}

.notfound p {
  font-size: var(--t1);
  line-height: 1.45;
  color: var(--fg-body);
  max-width: 38ch;
  margin-bottom: 32px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.notfound__object {
  display: flex;
  justify-content: center;
}

.reveal {
  transition: opacity 560ms var(--ease-enter), transform 560ms var(--ease-enter);
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 200ms;
}

@media (max-width: 1279px) {
  .dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile {
    min-height: 260px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: clamp(600px, calc(100svh - 72px), 820px);
  }

  .hero__field {
    background-size: 72px 72px;
  }

  .hero__facts {
    margin-top: 44px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-head__title,
  .section-head__lede,
  .section-head--wide .section-head__title,
  .section-head--wide .section-head__lede {
    grid-column: 1 / -1;
  }

  .section-head__lede {
    max-width: 46ch;
  }

  .suite__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .suite__head h2,
  .suite__head p {
    grid-column: 1 / -1;
  }

  .suite__head p {
    max-width: 46ch;
  }

  .client__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .client h3 {
    max-width: 24ch;
  }

  .steps,
  .job-grid,
  .job-grid--four {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .studio {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .compare__table {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .compare__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    overflow: hidden;
  }

  .compare__row--head {
    display: none;
  }

  .compare__cell {
    padding: 12px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .compare__cell--label {
    grid-column: 1 / -1;
    padding-block: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--t2);
  }

  .compare__cell:not(.compare__cell--label) {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .compare__cell:not(.compare__cell--label)::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 0.5625rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
  }

  .compare__mark {
    width: 22px;
    height: 22px;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .showcase__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
    padding-block: 0;
  }

  .showcase__tab {
    padding: 4px;
  }

  .showcase__icon {
    width: clamp(56px, 17vw, 72px);
    height: clamp(56px, 17vw, 72px);
    border-radius: 16px;
  }

  .showcase__tab.is-active .showcase__icon {
    transform: scale(1.06);
    box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 16%, transparent);
  }

  .showcase__screen {
    aspect-ratio: 4 / 3;
  }

  .showcase__overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .showcase__title {
    font-size: 1.5rem;
  }

  .showcase__hint {
    text-align: left;
  }

  .scope__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .scope__label {
    padding-top: 0;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact h2 {
    max-width: 24ch;
  }

  .contact__actions {
    flex-direction: row;
    align-items: center;
  }

  .contact__actions .btn {
    width: auto;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero__meta {
    max-width: 560px;
  }

  .proof {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-band__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-band__actions {
    flex-direction: row;
    align-items: center;
  }

  .notfound__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .notfound__object {
    justify-content: flex-start;
  }

  .inside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roleflow__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .roleflow__track::before {
    display: none;
  }

  .role::before {
    top: -1px;
  }

  .window {
    width: calc(100vw - 24px);
  }

  .event-preview__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__right .btn {
    display: none;
  }

  .nav__inner {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    padding-block: 72px 64px;
  }

  .hero__grid {
    width: 100%;
  }

  .hero__title {
    max-width: 12ch;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-top: 44px;
  }

  .hero__fact {
    padding: 18px 0;
  }

  .hero__fact + .hero__fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .dock {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    align-items: start;
    padding: 20px;
  }

  .tile__icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    grid-row: 1 / 4;
  }

  .tile__name {
    margin-top: 0;
    font-size: 1.375rem;
  }

  .tile__role {
    margin-top: 2px;
  }

  .tile__foot {
    grid-column: 2;
    padding-top: 12px;
  }

  .client {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .client__aside {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .client__plate {
    width: 72px;
    height: 72px;
    padding: 9px;
  }

  .client__meta {
    gap: 6px;
  }

  .client h3 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .inside {
    grid-template-columns: 1fr;
  }

  .roleflow__track {
    grid-template-columns: 1fr;
  }

  .roleflow__detail {
    grid-template-columns: 1fr;
  }

  .role {
    padding-top: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--suite-line-strong);
  }

  .role::before {
    top: 22px;
    left: -4px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .window {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .window__chrome {
    min-height: 56px;
    padding-left: 16px;
  }

  .window__meta {
    display: none;
  }

  .window__foot {
    padding: 10px 12px;
  }

  .window__foot .btn {
    flex: 1;
    padding-inline: 12px;
  }

  .app-panel[data-panel="o2"] iframe {
    min-height: 0;
  }

  .app-panel--video {
    padding: 12px;
  }

  .frame__body iframe {
    min-height: 420px;
  }

  .frame--mobile-fallback .frame__body {
    display: none;
  }

  .frame--mobile-fallback .frame__fallback {
    display: block;
  }

  .notfound {
    min-height: auto;
  }

  .hero__actions .btn,
  .page-hero__actions .btn {
    flex: 1 1 auto;
  }

  .contact__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__actions .btn {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .window__foot {
    flex-direction: column-reverse;
  }

  .window__foot .btn {
    width: 100%;
    flex: none;
  }

  .inside {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .disc {
    transition: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

.investor {
  padding-block: clamp(56px, 8vw, 120px);
}

.investor__wrap {
  max-width: 880px;
  margin-inline: auto;
}

.investor__intro {
  text-align: center;
}

.investor__intro .eyebrow {
  justify-content: center;
}

.investor__title {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--fg);
}

.investor__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.investor__lede {
  margin: 22px auto 0;
  max-width: 58ch;
  font-size: var(--t1);
  line-height: 1.45;
  color: var(--fg);
}

.investor__body {
  margin: 14px auto 0;
  max-width: 60ch;
  font-size: var(--t3);
  line-height: 1.65;
  color: var(--fg-muted);
}

.investor__panel {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-media);
  background: var(--surface);
  box-shadow: var(--shadow-object);
}

.investor__form-head h2 {
  font-size: var(--t1);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--fg);
}

.investor__form-head p {
  margin-top: 6px;
  font-size: var(--t3);
  line-height: 1.5;
  color: var(--fg-muted);
}

.investor-form {
  margin-top: 24px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field > span {
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.field > span em {
  font-style: normal;
  opacity: 0.6;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
  font-size: var(--t3);
  line-height: 1.4;
  transition: border-color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.investor-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.investor-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.investor-form__status {
  font-size: var(--t3);
  line-height: 1.5;
  color: var(--fg-muted);
}

.investor-form__status.is-success {
  color: var(--positive);
}

.investor-form__status.is-error {
  color: var(--critical);
}

.investor-form .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.investor__founders {
  margin-top: clamp(36px, 5vw, 56px);
}

.investor__founders-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.founder {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}

.founder__meta h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--fg);
}

.founder__meta span {
  font-size: var(--t4);
  line-height: 1.4;
  color: var(--fg-muted);
}

.founder__email {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: var(--t3);
  color: var(--accent);
  text-decoration: none;
}

.founder__email:hover {
  text-decoration: underline;
}

.founder__soon {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

@media (max-width: 767px) {
  .investor__title br {
    display: none;
  }

  .investor-form__grid,
  .founders {
    grid-template-columns: 1fr;
  }
}

/* Portal link, sitting immediately left of the header CTA */
.nav__portal {
  font-size: var(--ui);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-muted);
  white-space: nowrap;
  padding: 8px 4px;
  transition: color var(--quick) var(--ease);
}

.nav__portal:hover {
  color: var(--fg);
}

.nav__portal[aria-current="page"] {
  color: var(--fg);
}

@media (max-width: 767px) {
  .nav__portal {
    display: none;
  }
}

/* Booking */
.book {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 8vw, 120px);
}

.book__head {
  max-width: 780px;
}

.book__title {
  margin-top: 20px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: var(--fg);
}

.book__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.book__lede {
  margin-top: 22px;
  font-size: var(--t1);
  line-height: 1.45;
  color: var(--fg-body);
  max-width: 58ch;
}

.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 64px);
}

.book__aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 28px;
}

.book__list h2 {
  font-size: var(--d5);
  line-height: 1.1;
  letter-spacing: -0.024em;
  font-weight: 600;
  color: var(--fg);
}

.book__list ol {
  margin-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.book__list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t3);
  line-height: 1.55;
  color: var(--fg-body);
}

.book__list li strong {
  font-weight: 600;
  color: var(--fg);
}

.book__list-num {
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.book__contact {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-size: var(--t3);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 44ch;
}

.book__contact a {
  color: var(--fg);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: color var(--quick) var(--ease), background-size var(--quick) var(--ease);
}

.book__contact a:hover {
  color: var(--accent);
}

.book__panel {
  padding: clamp(20px, 3.5vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-media);
  background: var(--surface);
  box-shadow: var(--shadow-object);
}

.book-form__step + .book-form__step {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.book-form__step-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.book-form__step-label span {
  color: var(--accent);
}

.book-form__step-label em {
  font-style: normal;
  color: var(--fg-faint);
}

.book-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.book-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 78px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface-2);
  color: var(--fg-body);
  transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease), color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}

.book-day:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
}

.book-day[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.book-day__dow,
.book-day__mon {
  font-family: var(--mono);
  font-size: 0.5625rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.book-day[aria-pressed="true"] .book-day__dow {
  color: var(--accent);
}

.book-day__num {
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.book-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.book-slot {
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: var(--surface-2);
  color: var(--fg-body);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  transition: border-color var(--quick) var(--ease), background-color var(--quick) var(--ease), color var(--quick) var(--ease);
}

.book-slot:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
}

.book-slot[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.book-form__hint {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
}

.book-form__hint.is-error {
  color: var(--critical);
}

.book-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.book-form .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--fg);
  font: inherit;
  font-size: var(--t3);
  line-height: 1.4;
  transition: border-color var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
}

.book-form .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.book-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.book-form__summary {
  margin-top: 22px;
  padding: 10px 14px;
  border-left: 2px solid var(--accent);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
}

.book-form__summary strong {
  font-weight: 500;
  color: var(--fg);
}

.book-form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.book-form__status {
  font-size: var(--t3);
  line-height: 1.5;
  color: var(--fg-muted);
}

.book-form__status.is-success {
  color: var(--positive);
}

.book-form__status.is-error {
  color: var(--critical);
}

.book-form .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.book-form__fine {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--fg-faint);
}

.book-form__noscript {
  margin-top: 12px;
  font-size: var(--t3);
  line-height: 1.55;
  color: var(--fg-muted);
}

.book-form__noscript a {
  color: var(--fg);
  text-decoration: underline;
}

@media (max-width: 1023px) {
  .book__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .book__aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .book__title br {
    display: none;
  }

  .book-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .book-form__grid {
    grid-template-columns: 1fr;
  }

  .book-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .book-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  html.has-menu,
  html.has-menu body {
    overflow: hidden;
  }

  .nav__inner {
    position: relative;
    z-index: 2;
  }

  .nav__menu.is-open {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: calc(72px + 12px) var(--gutter) max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 0;
    background: var(--bg);
  }

  .nav__menu a:not(.btn) {
    padding: 18px 0;
    font-size: var(--t1);
  }

  .nav__menu .btn {
    margin-top: auto;
  }
}
