/* The homepage story uses the site's own portfolio. All motion follows scrolling. */
.bb-story {
  --bb-header-height: 84px;
  --bb-progress: 0;
  --bb-pointer-x: 0;
  --bb-pointer-y: 0;
  --bb-focus-x: 87%;
  --bb-focus-y: 70%;
  --bb-paper: #f2f0eb;
  --bb-ink: #24211e;
  --bb-muted: #726a61;
  position: relative;
  isolation: isolate;
  background: var(--bb-paper);
  color: var(--bb-ink);
}
.bb-story.is-enhanced:not(.is-reduced) { height: 280svh; }
.bb-story-stage { position: relative; min-height: calc(100svh - var(--bb-header-height)); overflow: hidden; border-bottom: 1px solid #d8d1c7; background: var(--bb-paper); }
.bb-story.is-enhanced:not(.is-reduced) .bb-story-stage { position: sticky; top: var(--bb-header-height); }
.bb-story-stage::before { content: 'BACKSTAGE'; position: absolute; inset-inline: 0; bottom: -.17em; text-align: center; font: normal clamp(6rem, 17.7vw, 22rem)/1 var(--serif, Georgia, serif); letter-spacing: -.065em; color: #e5dfd5; pointer-events: none; z-index: -1; }
.bb-story-inner { position: relative; width: min(calc(100% - 96px), 1280px); margin-inline: auto; min-height: calc(100svh - var(--bb-header-height)); display: grid; grid-template-columns: .96fr 1.04fr; grid-template-rows: 1fr auto; column-gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(24px, 4svh, 48px) 76px; }
.bb-story-copy { position: relative; z-index: 3; padding-block: 12px 20px; }
.bb-story-eyebrow { font: 500 .875rem/1.5 var(--sans, Arial, sans-serif); letter-spacing: .17em; margin: 0 0 27px; color: #625c55; }
.bb-story h1 { font: normal clamp(3.7rem, 6.65vw, 7rem)/.94 var(--serif, Georgia, serif); letter-spacing: -.066em; margin: 0 0 29px; max-width: 8ch; text-wrap: balance; }
.bb-story h1 span, .bb-story h1 em { display: block; }
.bb-story h1 em { font-weight: normal; color: #81705b; }
.bb-story-lead { max-width: 350px; margin: 0 0 30px; color: var(--bb-muted); font-size: 1rem; line-height: 1.75; }
.bb-story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.bb-story-book { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 25px; border: 1px solid var(--bb-ink); background: var(--bb-ink); color: #fffefa; font-size: .875rem; font-weight: 500; line-height: 1.4; text-align: center; transition: background .2s; }
.bb-story-book:hover { background: #484035; }
.bb-story-work { font-size: .875rem; border-bottom: 1px solid #9a8c7b; padding-block: 8px; line-height: 1.5; }
.bb-story-caption { display: flex; gap: 17px; align-items: center; margin-top: clamp(30px, 5svh, 62px); min-height: 58px; }
.bb-story-caption-line { display: block; flex: 0 0 38px; height: 1px; background: #a89880; }
.bb-story-caption-title { margin: 0 0 5px; font: normal 1.5rem/1.15 var(--serif, Georgia, serif); letter-spacing: -.025em; }
.bb-story-caption-text { margin: 0; font-size: .875rem; color: var(--bb-muted); line-height: 1.5; }
.bb-story-visual { position: relative; justify-self: end; width: min(100%, 540px); aspect-ratio: 1; margin-block: 12px 24px; transform: translate3d(calc(var(--bb-progress) * -12px), calc(var(--bb-progress) * -8px), 0); }
.bb-story-frame { position: relative; width: 100%; height: 100%; border: 9px solid #fdfbf7; outline: 1px solid #d8cfc1; background: #e7ded1; box-shadow: 0 22px 58px -32px #423c3655; overflow: hidden; }
.bb-story-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 28%, #fff7e91c 42%, #fff7e91c 43%, transparent 56%); transform: translateX(calc(-35% + var(--bb-progress) * 70%)); pointer-events: none; z-index: 4; }
.bb-story-scene { position: absolute; inset: 0; margin: 0; opacity: var(--bb-opacity, 0); transform: scale(var(--bb-scale, 1)); will-change: opacity, transform; }
.bb-story-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bb-story-scene[data-bb-scene='1'] img { object-position: 42% 50%; }
.bb-story-scene[data-bb-scene='2'] img { object-position: 40% 50%; }
.bb-story-viewfinder { position: absolute; width: 48px; height: 48px; inset-inline-end: 20px; top: 20px; border-top: 1px solid #fff9; border-inline-end: 1px solid #fff9; z-index: 4; pointer-events: none; }
.bb-story-detail { position: absolute; inset-inline-start: -55px; bottom: 24px; width: clamp(132px, 15.3vw, 206px); background: #fbf8f1; border: 7px solid #fbf8f1; box-shadow: 0 18px 38px -18px #29221c70; transform: translate3d(calc(var(--bb-pointer-x) * 6px), calc(var(--bb-progress) * -48px + var(--bb-pointer-y) * 6px), 0) rotate(-3deg); z-index: 5; pointer-events: none; }
.bb-story-detail-window { position: relative; aspect-ratio: 1.05; overflow: hidden; background: #e0d5c6; }
.bb-story-detail-layer { position: absolute; inset: 0; background-size: 235%; background-repeat: no-repeat; background-position: var(--bb-focus-x) var(--bb-focus-y); opacity: var(--bb-opacity, 0); }
.bb-story-detail > span { display: block; padding: 10px 3px 4px; font-size: .8125rem; line-height: 1.3; letter-spacing: .03em; text-align: center; }
.bb-story-image-signature { position: absolute; inset-inline-end: 0; bottom: -30px; font: italic 1.125rem/1.3 var(--serif, Georgia, serif); letter-spacing: -.025em; color: #7b6a56; }
.bb-story-footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 32px; position: relative; z-index: 6; }
.bb-story-scroll { display: flex; align-items: center; gap: 14px; color: var(--bb-muted); font-size: .875rem; }
.bb-story-scroll-track { display: block; position: relative; width: 52px; height: 1px; background: #c9c0b4; overflow: hidden; }
.bb-story-scroll-track > span { position: absolute; inset: 0; background: #72614c; transform-origin: left; transform: scaleX(calc(.12 + var(--bb-progress) * .88)); }
.bb-story-scenes { display: flex; gap: 8px; }
.bb-story-scenes button { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 7px 18px 7px 7px; border: 1px solid transparent; background: transparent; color: #776f66; font: 400 .875rem/1.3 var(--sans, Arial, sans-serif); text-align: start; }
.bb-story-scenes button img { width: 40px; height: 40px; object-fit: cover; opacity: .65; }
.bb-story-scenes button[aria-pressed='true'] { background: #faf7f1; border-color: #bbab94; color: #24211e; }
.bb-story-scenes button[aria-pressed='true'] img { opacity: 1; }
.bb-story-scenes button:hover { background: #ebe5dc; }
.bb-story-scene-progress { position: absolute; inset-inline: 7px; bottom: -1px; height: 1px; background: #5e4e38; transform: scaleX(0); transform-origin: left; }
.bb-story-scenes button[aria-pressed='true'] .bb-story-scene-progress { transform: scaleX(1); }
.bb-story a:focus-visible, .bb-story button:focus-visible { outline: 2px solid #65533e; outline-offset: 4px; }
.bb-story:not([data-bb-story-ready="true"]) .bb-story-scenes { visibility: hidden; }
.home-booking-intro .bb-booking-title { font: normal clamp(3.3rem,6.5vw,7.4rem)/.88 var(--serif); letter-spacing: -.065em; margin: 0; grid-column: 2; }
#book-now { scroll-margin-top: 100px; }
html[dir='rtl'] .bb-story h1 { letter-spacing: -.025em; }
html[dir='rtl'] .bb-story-eyebrow { letter-spacing: .02em; }
html[lang='ar'] .bb-story h1, html[lang='fa'] .bb-story h1 { line-height: 1.2; }
@media (min-width: 1200px) and (max-height: 780px) {
  .bb-story-inner { padding-block: 20px 72px; }
  .bb-story-visual { width: min(100%, calc(100svh - var(--bb-header-height) - 145px)); }
  .bb-story h1 { font-size: clamp(3.5rem, 5.6vw, 5.7rem); margin-bottom: 20px; }
  .bb-story-eyebrow { margin-bottom: 19px; }
  .bb-story-caption { margin-top: 25px; }
  .bb-story-footer { padding-top: 20px; }
}
@media (max-width: 1100px) {
  .bb-story-inner { width: calc(100% - 64px); column-gap: 45px; }
  .bb-story h1 { font-size: clamp(3.3rem, 6.8vw, 6rem); }
  .bb-story-detail { inset-inline-start: -35px; width: 150px; }
  .bb-story-eyebrow { font-size: .8125rem; letter-spacing: .1em; }
  .bb-story-actions { gap: 12px 20px; }
  .bb-story-scenes button { padding-inline-end: 12px; }
  .home-booking-intro .bb-booking-title { grid-column: 1; }
}
@media (max-width: 760px) {
  .bb-story { --bb-header-height: 68px; }
  .bb-story.is-enhanced:not(.is-reduced) { height: 245svh; }
  .bb-story-stage { min-height: calc(100svh - var(--bb-header-height)); }
  .bb-story-inner { width: calc(100% - 40px); grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr) auto; height: calc(100svh - var(--bb-header-height)); min-height: 0; padding-block: 20px 70px; gap: 0; }
  .bb-story-copy { padding: 0; display: grid; grid-template-columns: 1fr; }
  .bb-story-eyebrow { margin-bottom: 12px; font-size: .75rem; letter-spacing: .12em; }
  .bb-story h1 { font-size: clamp(2.65rem, 10.4vw, 4.1rem); line-height: .98; max-width: none; margin: 0 0 13px; letter-spacing: -.06em; }
  .bb-story h1 span, .bb-story h1 em { display: inline; }
  .bb-story h1 span::after { content: ' '; }
  .bb-story-lead { margin: 0 0 16px; max-width: 35ch; font-size: 1rem; line-height: 1.5; }
  .bb-story-actions { gap: 16px; }
  .bb-story-book { min-height: 44px; padding: 10px 18px; }
  .bb-story-work { font-size: .875rem; }
  .bb-story-caption { display: none; }
  .bb-story-visual { width: auto; height: calc(100% - 38px); max-width: 86%; max-height: 360px; min-width: 0; min-height: 0; justify-self: center; margin: 0 0 0 16px; transform: translateY(calc(var(--bb-progress) * -6px)); }
  .bb-story-frame { border-width: 6px; }
  .bb-story-detail { width: clamp(96px, 26vw, 128px); border-width: 5px; inset-inline-start: -27px; bottom: 12px; transform: translateY(calc(var(--bb-progress) * -20px)) rotate(-3deg); }
  .bb-story-detail > span { font-size: .75rem; padding-top: 7px; }
  .bb-story-image-signature { bottom: -22px; font-size: .875rem; }
  .bb-story-footer { display: block; padding-top: 6px; }
  .bb-story-scroll { justify-content: center; font-size: .75rem; gap: 8px; margin: 9px 0 12px; }
  .bb-story-scroll-track { width: 30px; }
  .bb-story-scenes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .bb-story-scenes button { justify-content: center; gap: 7px; min-height: 46px; padding: 6px 5px; font-size: .875rem; }
  .bb-story-scenes button img { width: 28px; height: 28px; }
  .bb-story-stage::before { font-size: 19vw; bottom: 25px; }
}
@media (max-width: 640px) {
  .home-booking-intro .bb-booking-title { font-size: clamp(3.5rem,14vw,5.5rem); margin: 8px 0 16px; }
}
@media (max-width: 380px) {
  .bb-story-inner { width: calc(100% - 32px); padding-top: 16px; }
  .bb-story h1 { font-size: 2.65rem; }
  .bb-story-eyebrow { font-size: .6875rem; }
  .bb-story-scenes button img { display: none; }
  .bb-story-scenes button { gap: 5px; font-size: .875rem; }
}
@media (max-height: 690px) and (max-width: 760px) {
  .bb-story-inner { padding-top: 12px; }
  .bb-story h1 { font-size: 2.65rem; }
  .bb-story-lead { display: none; }
  .bb-story-visual { width: auto; height: calc(100% - 26px); max-height: 270px; min-width: 0; margin-block: 0; }
  .bb-story-scroll { margin-block: 4px 7px; }
  .bb-story-image-signature { display: none; }
}
@media (max-height: 540px) {
  .bb-story.is-enhanced:not(.is-reduced) { height: auto; }
  .bb-story.is-enhanced:not(.is-reduced) .bb-story-stage { position: relative; top: auto; }
  .bb-story-inner { height: auto; min-height: 500px; }
  .bb-story-visual { width: min(100%, 340px); height: auto; max-height: none; }
}
.bb-story.is-reduced { height: auto; }
.bb-story.is-reduced .bb-story-stage { position: relative; top: auto; }
.bb-story.is-reduced .bb-story-visual, .bb-story.is-reduced .bb-story-detail, .bb-story.is-reduced .bb-story-scene, .bb-story.is-reduced .bb-story-frame::after { transform: none; }
.bb-story.is-reduced .bb-story-scroll { visibility: hidden; }
@media (scripting: none) {
  .bb-story.is-enhanced:not(.is-reduced) { height: auto; }
  .bb-story.is-enhanced:not(.is-reduced) .bb-story-stage { position: relative; top: auto; }
  .bb-story:not([data-bb-story-ready="true"]) .bb-story-scenes { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-story.is-enhanced:not(.is-reduced) { height: auto; }
  .bb-story.is-enhanced:not(.is-reduced) .bb-story-stage { position: relative; top: auto; }
  .bb-story *, .bb-story *::before, .bb-story *::after { transition: none !important; animation: none !important; }
  .bb-story .bb-story-visual, .bb-story .bb-story-detail, .bb-story .bb-story-scene, .bb-story .bb-story-frame::after { transform: none !important; }
}
