html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.motion-mask { display: inline-block; overflow: clip; vertical-align: bottom; padding-top: .3em; margin-top: -.3em; padding-bottom: .12em; margin-bottom: -.12em; max-width: 100%; }
.motion-line { display: inline-block; }
.editorial-motion .hero-enter { animation: none; }
.editorial-motion .hero-image.active { animation: none; transform: none; }
.editorial-motion .reveal,
.editorial-motion .about-reveal,
.editorial-motion .member-reveal,
.editorial-motion .biz-reveal { transition: none; }
.editorial-motion .reveal:not([style]),
.editorial-motion .about-reveal:not([style]),
.editorial-motion .member-reveal:not([style]),
.editorial-motion .biz-reveal:not([style]) { opacity: 1; transform: none; }
.card-photo, .about-photo, .stay-card, .hero-slides, [data-motion-frame] { overflow: clip; }
.editorial-motion .card-photo > img,
.editorial-motion .about-photo > img,
.editorial-motion .stay-card > img { transition: none; }
@media (min-width: 768px) {
  body:not([data-page]) .section { padding-block: clamp(88px, 9vw, 144px); }
  body:not([data-page]) .section-heading h2 { font-size: clamp(44px, 4.6vw, 68px); line-height: 1.18; }
  body:not([data-page]) .branch-grid { row-gap: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-line { transform: none !important; opacity: 1 !important; }
}

/* Beving's editorial stage uses the existing brand assets and fonts. */
.editorial-hero.hero { height: max(780px, 100svh); min-height: 780px; max-height: 1120px; background: var(--ink); isolation: isolate; }
.editorial-hero .hero-slides { z-index: -3; }
.editorial-hero .hero-image { filter: brightness(.62); }
.editorial-hero .hero-shade { z-index: -2; background: linear-gradient(180deg, #20262db3, #20262d66 45%, #20262dd9); }
.editorial-hero .hero-content { position: absolute; inset: 112px 0 auto; padding-top: 0; text-align: center; z-index: 3; pointer-events: none; }
.editorial-hero .hero-content .eyebrow { letter-spacing: .28em; font-size: 10px; margin-bottom: 13px; }
.editorial-hero.hero h1 { font-size: clamp(52px, 5.8vw, 86px); line-height: 1.18; max-width: none; letter-spacing: -.025em; }
.hero-portals { position: absolute; top: 40%; bottom: 17%; left: 50%; width: min(960px, 77%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 34px); transform: translateX(-50%); z-index: 2; }
.hero-portal-wrap { min-width: 0; height: 100%; }
.hero-portal-wrap:nth-child(1) { padding-top: 24px; }
.hero-portal-wrap:nth-child(3) { padding-top: 40px; }
.hero-portal { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50% 50% 0 0 / 36% 36% 0 0; background: var(--ink); }
.hero-portal::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #00000005 20%, #00000080); pointer-events: none; }
.hero-portal > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.portal-copy { position: absolute; inset: auto 20px 28px; z-index: 1; color: #fff; text-align: center; }
.portal-index { display: block; font-size: 8px; font-weight: 500; letter-spacing: .15em; line-height: 1.7; }
.portal-title { display: block; font-family: var(--display); font-size: clamp(26px, 2.8vw, 42px); line-height: 1.3; margin: 10px 0 16px; }
.portal-action { display: flex; gap: 12px; justify-content: center; align-items: center; font-size: 10px; line-height: 1.6; }
.portal-action > span { font-size: 20px; }
.hero-portal:focus-visible { outline-offset: 6px; }
.editorial-hero .hero-note { position: absolute; left: 0; right: 0; bottom: 62px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.editorial-hero .hero-sub { font-size: 12px; line-height: 1.7; margin: 0; color: #fff; }
.editorial-hero .hero-note .pill { min-height: 44px; font-size: 11px; }
.editorial-hero .hero-bottom { bottom: 16px; z-index: 3; }
.editorial-hero .scroll-cue { font-size: 8px; }
.editorial-hero .slide-controls { gap: 8px; }
.living-manifesto { position: relative; padding-top: 130px; padding-bottom: 130px; }
.living-manifesto h2 { font-size: clamp(40px, 5.3vw, 80px); line-height: 1.3; letter-spacing: -.03em; max-width: 1000px; }
.manifesto-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1cm; align-items: center; }
.manifesto-copy { min-width: 0; transform-origin: right center; }
.manifesto-layout h2 { font-size: clamp(30px, 3.15vw, 48px); line-height: 1.3; }
.manifesto-visual { margin: 0; min-width: 0; transform-origin: left center; pointer-events: none; }
.manifesto-visual img { display: block; width: 100%; height: auto; object-fit: contain; }
.living-manifesto { overflow: clip; }
@media (max-width: 767px) {
  .manifesto-layout { grid-template-columns: 1fr; gap: 1cm; }
  .manifesto-layout h2 { font-size: clamp(31px, 7.9vw, 52px); }
  .manifesto-visual { width: min(82%, 360px); justify-self: center; }
}
.motion-word { display: inline-block; }
.manifesto-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.manifesto-bottom p { color: var(--muted, #666); font-size: 13px; line-height: 1.8; }
.manifesto-bottom .text-link { font-size: 12px; white-space: nowrap; }
.editorial-motion .discovery-card > img { transition: none; }
.editorial-motion .hero-portal > img { transition: none; }
.editorial-motion .living-manifesto .motion-mask { overflow: visible; }
.editorial-motion #header { transition: background .3s, color .3s, box-shadow .3s; }
.editorial-motion .discovery-section { overflow: clip; }
.editorial-motion .hero-portals { will-change: transform; }
.editorial-motion .hero-portal-wrap { will-change: transform; }
@media (min-width: 768px) {
  .editorial-motion .stay-card:first-child { border-radius: 180px 180px 0 0; }
  .editorial-motion .stay-card:last-child { border-radius: 180px 180px 0 0; }
  .editorial-motion .stay-card-content { bottom: 38px; }
  .editorial-motion .about-photo { min-height: 600px; }
  .editorial-motion .discovery-card { transform-origin: 50% 80%; }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .hero-portals { width: 86%; gap: 18px; }
  .portal-copy { inset-inline: 12px; }
  .portal-title { font-size: 29px; }
  .manifesto-orbit { top: 72px; width: 48px; height: 48px; font-size: 25px; }
}
@media (max-width: 767px) {
  .editorial-hero.hero { height: 790px; min-height: 790px; max-height: none; }
  .editorial-hero .hero-content { top: 122px; }
  .editorial-hero.hero h1 { font-size: clamp(36px, 9vw, 60px); line-height: 1.3; }
  .editorial-hero .hero-content .eyebrow { font-size: 8px; letter-spacing: .18em; }
  .hero-portals { width: calc(100% - 32px); top: 310px; bottom: 205px; gap: 9px; }
  .hero-portal-wrap:nth-child(1) { padding-top: 16px; }
  .hero-portal-wrap:nth-child(3) { padding-top: 26px; }
  .portal-copy { inset: auto 7px 20px; }
  .portal-index { display: none; }
  .portal-title { font-size: clamp(20px, 5.2vw, 32px); margin: 0 0 12px; line-height: 1.35; }
  .portal-action { display: block; font-size: 8px; line-height: 1.8; }
  .portal-action > span { display: block; font-size: 18px; }
  .editorial-hero .hero-note { bottom: 77px; justify-content: center; flex-direction: column; text-align: center; gap: 17px; }
  .editorial-hero .hero-sub { font-size: 11px; }
  .editorial-hero .hero-bottom { bottom: 20px; }
  .living-manifesto { padding-block: 78px; }
  .living-manifesto h2 { font-size: clamp(31px, 7.9vw, 52px); line-height: 1.35; }
  .manifesto-orbit { display: none; }
  .manifesto-bottom { flex-direction: column; align-items: start; gap: 20px; margin-top: 28px; }
  .manifesto-bottom p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portals, .hero-portal-wrap { will-change: auto !important; }
  .motion-word { opacity: 1 !important; transform: none !important; }
}
