/* Immersive homepage variant; header styling is shared in header.css. */
/* Keep the equipment image's aspect-ratio space before lazy loading finishes. */
body.home-centered .equipment-image { width: 100%; }

body.home-centered .hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 100svh;
  padding: 122px 24px 84px;
  overflow: hidden;
  background: #1A1A1A;
}

body.home-centered .hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

body.home-centered .hero-media:after {
  background: linear-gradient(180deg, #0006, transparent 35%, #0002);
}

.hero-motion {
  position: absolute;
  inset: -12%;
  z-index: -2;
  transform: translate3d(var(--hero-pointer-x, 0px), calc(var(--hero-pointer-y, 0px) + var(--hero-scroll-y, 0px)), 0);
  will-change: transform;
}

.hero-motion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: banquet-drift 24s ease-in-out infinite alternate;
}

@keyframes banquet-drift {
  from {
    transform: scale(1.03) translate3d(-.7%, -.4%, 0);
  }

  to {
    transform: scale(1.1) translate3d(.7%, .4%, 0);
  }
}

body.home-centered .hero-copy {
  position: relative;
  width: min(760px, 100%);
  min-width: 0;
  margin: 0;
  padding: 26px 30px 28px;
  align-items: center;
  text-align: center;
  background: #ffffff4d;
  border: 1px solid #ffffff4d;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 70px #0000001A;
}

body.home-centered .hero-brand {
  margin: 0;
  line-height: 1;
}

.hero-brand img {
  width: 130px;
  height: 108px;
  object-fit: contain;
  margin-inline: auto;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  margin-bottom: 18px;
}

body.home-centered .hero-copy>.hero-intro {
  width: 100%;
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
  text-wrap: balance;
}

.hero-intro>span {
  white-space: nowrap;
}

body.home-centered .hero-title {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--wine);
  margin: 0;
  letter-spacing: .015em;
  text-align: left;
  padding-left: 32px;
}

body.home-centered .hero-title>span {
  display: block;
}

.floating-line {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.floating-line-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #FFF;
  background: transparent;
  box-shadow: 0 6px 24px #0003;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-line-toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-line-toggle:hover {
  color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 9px 28px #0004;
}

.floating-line-toggle:focus-visible,
.floating-line-close:focus-visible,
.floating-line-add:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.floating-line-panel {
  position: relative;
  width: 274px;
  padding: 30px 24px 24px;
  text-align: center;
  color: var(--ink);
  background: #FFF;
  border: 1px solid #E7E7E7;
  box-shadow: 0 12px 48px #0003;
  border-radius: 6px;
}

.floating-line-panel[hidden] {
  display: none;
}

.floating-line-panel:after {
  content: '';
  position: absolute;
  right: -7px;
  bottom: 25px;
  width: 12px;
  height: 12px;
  background: #FFF;
  border: solid #E7E7E7;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

.floating-line-close {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
}

.floating-line-close .material-symbols-outlined {
  width: 18px;
  height: 18px;
  
  
  
 font-size: 18px; }

.floating-line-close:hover {
  color: var(--ink);
  background: #F5F5F5;
}

.floating-line-panel .floating-line-eyebrow {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 4px;
}

.floating-line-panel h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.floating-line-qr {
  display: block;
  width: 168px;
  height: 168px;
  object-fit: contain;
  margin: 16px auto 8px;
}

.floating-line-panel .floating-line-id {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.floating-line-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid #E7E7E7;
}

.floating-line-add:hover {
  color: #008B3B;
}

@media(max-width:760px) {
  .floating-line {
    right: 18px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .floating-line-toggle {
    width: 56px;
    height: 56px;
  }

  .floating-line-panel {
    display: none !important;
  }
}

.hero-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.hero-entry {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  height: 186px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  color: #FFF;
  padding: 22px;
  background: #1A1A1A;
}

.hero-entry>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transition: transform .7s ease;
}

.hero-entry:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000D, #0003 75%);
  z-index: -2;
  transition: background .4s;
}

.hero-entry-copy {
  display: block;
  padding-right: 33px;
}

.hero-entry-copy>small {
  display: block;
  color: #E4C38B;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .09em;
  margin-bottom: 6px;
}

.hero-entry h3 {
  font: 700 23px/1.5 var(--sans);
  color: #FFF;
  margin: 0 0 5px;
}

.hero-entry-copy>span {
  display: block;
  color: #FFFFFFCC;
  font-size: 14px;
  line-height: 1.7;
}

.hero-entry-arrow {
  position: absolute;
  right: 19px;
  bottom: 24px;
  width: 31px;
  height: 31px;
  border: 1px solid #FFFFFF88;
  border-radius: 50%;
  transition: background .3s, transform .3s;
}

.hero-entry-arrow .material-symbols-outlined {
  width: 16px;
  height: 16px;
 font-size: 16px; }

.hero-entry:hover>img,
.hero-entry:focus-visible>img {
  transform: scale(1.07);
}

.hero-entry:hover .hero-entry-arrow {
  background: var(--wine);
  border-color: var(--wine);
  transform: translateX(3px);
}

.hero-entry:hover h3 {
  color: #FFF;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFF;
  font-size: 14px;
  letter-spacing: .12em;
}

.hero-scroll-cue>span:first-child {
  position: relative;
  height: 30px;
  width: 1px;
  background: #FFFFFF66;
}

.hero-scroll-cue>span:first-child:after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 8px;
  background: #FFF;
  animation: scroll-marker 2s ease-in-out infinite;
}

@keyframes scroll-marker {

  0%,
  100% {
    transform: translateY(0);
    opacity: .3;
  }

  55% {
    transform: translateY(21px);
    opacity: 1;
  }
}

.hero-outside .hero-motion img,
.hero-outside .hero-scroll-cue>span:first-child:after {
  animation-play-state: paused;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media(min-width:1600px) {
  body.home-centered .hero-copy {
    width: 820px;
    padding: 30px 34px 34px;
  }

  .hero-entry {
    height: 215px;
  }

  .hero-brand img {
    width: 144px;
    height: 120px;
  }

  body.home-centered .hero-title {
    font-size: 28px;
  }
}

@media(max-height:760px) and (min-width:761px) {
  body.home-centered .hero {
    padding-top: 112px;
    padding-bottom: 66px;
  }

  body.home-centered .hero-copy {
    padding: 20px 26px 24px;
  }

  .hero-brand img {
    width: 108px;
    height: 90px;
  }

  body.home-centered .hero-title {
    font-size: 24px;
  }

  .hero-brand-row {
    margin-bottom: 14px;
  }

  body.home-centered .hero-copy>.hero-intro {
    margin-bottom: 18px;
  }

  .hero-entry {
    height: 164px;
  }
}

body.home-centered .hero-mobile-only {
  display: none;
}

/* The header scrolls inside the hero and floats only after leaving it. */
body.home-centered #site-header { transition: transform .22s ease; }
body.home-centered #site-header.home-header-relocating { transition: none; }
body.home-centered.home-header-hidden #site-header { transform: translateY(-100%); pointer-events: none; }

/* Approved mobile brand composition; desktop layout stays above this breakpoint. */
@media(max-width:760px) {
  body.home-centered .site-header {
    height: 76px;
  }

  body.home-centered .header-inner {
    width: 100%;
    justify-content: flex-end;
    gap: 0;
    padding: 14px 18px;
  }

  body.home-centered .header-inner>.brand,
  body.home-centered .header-actions>.header-order {
    display: none;
  }

  body.home-centered .header-actions {
    gap: 2px;
  }

  body.home-centered .header-actions>.member-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  body.home-centered .header-actions>.member-link>span {
    display: none;
  }

  body.home-centered .header-actions>.member-link .material-symbols-outlined {
    width: 24px;
    height: 24px;
   font-size: 24px; }

  /* Keep the transparent mobile header until the entire hero has left view. */
  body.home-centered #site-header .site-header {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.home-centered #site-header .member-link,
  body.home-centered #site-header .menu-toggle {
    color: #FFF;
    text-shadow: 0 1px 12px #0005;
  }

  body.home-centered.hero-below-view #site-header .site-header {
    background: #FFF;
    border-color: #E7E7E7;
    box-shadow: 0 6px 30px #00000008;
  }

  body.home-centered.home-header-hidden #site-header .site-header {
    box-shadow: none;
  }

  body.home-centered.hero-below-view .header-inner>.brand {
    display: flex;
    margin-right: auto;
  }

  body.home-centered .header-inner>.brand>.brand-caption {
    display: none;
  }

  body.home-centered .header-inner>.brand>.brand-logo {
    width: 56px;
    height: 48px;
  }

  body.home-centered.hero-below-view #site-header .member-link,
  body.home-centered.hero-below-view #site-header .menu-toggle {
    color: var(--ink);
    text-shadow: none;
  }

  body.home-centered .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
  }

  body.home-centered .menu-toggle .material-symbols-outlined {
    width: 24px;
    height: 24px;
   font-size: 24px; }

  body.home-centered .hero {
    display: block;
    height: 100svh;
    min-height: 740px;
    padding: 0;
  }

  .hero-motion {
    inset: 0;
  }

  .hero-motion img {
    object-position: 48% center;
    animation-name: mobile-banquet-drift;
  }

  body.home-centered .hero-media:after {
    background: linear-gradient(180deg, #0003 0%, #0001 29%, #0001 44%, #0008 65%, #000E 100%);
  }

  body.home-centered .hero-copy {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.home-centered .hero-brand-row {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 180px;
    margin: 0;
  }

  body.home-centered .hero-brand img {
    width: 136px;
    height: 118px;
  }

  body.home-centered .hero-mobile-only {
    display: block;
  }

  body.home-centered .hero-brand-caption {
    margin: 0;
    color: #FFF;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: .09em;
    white-space: nowrap;
    text-shadow: 0 1px 8px #0009;
  }

  body.home-centered .hero-copy>.hero-service-line {
    position: absolute;
    top: 244px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    margin: 0;
    color: #FFF;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: .12em;
    text-shadow: 0 1px 8px #0009;
  }

  body.home-centered .hero-title,
  body.home-centered .hero-copy>.hero-intro,
  body.home-centered .hero-desktop-only,
  body.home-centered .hero-entry-copy>small,
  body.home-centered .hero-scroll-cue {
    display: none;
  }

  body.home-centered .hero-entry-grid {
    position: absolute;
    inset: auto 24px max(30px, env(safe-area-inset-bottom));
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.home-centered .hero-entry {
    height: 142px;
    padding: 18px 20px;
  }

  body.home-centered .hero-entry>img {
    object-position: center 52%;
  }

  body.home-centered .hero-entry:after {
    background: linear-gradient(0deg, #000D 0%, #0007 48%, #0001 100%);
  }

  body.home-centered .hero-entry-copy {
    padding-right: 28px;
  }

  body.home-centered .hero-entry h3 {
    margin: 0 0 5px;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .04em;
  }

  body.home-centered .hero-entry-copy>span {
    font-size: 14px;
    line-height: 1.7;
    color: #FFFFFFDB;
  }

  body.home-centered .hero-entry-arrow {
    right: 20px;
    bottom: 27px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 0;
    background: none;
  }

  body.home-centered .hero-entry-arrow .material-symbols-outlined {
    width: 26px;
    height: 26px;
   font-size: 26px; }

  body.home-centered:has(.hero:not(.hero-outside)) .floating-line {
    display: none;
  }

  @keyframes mobile-banquet-drift {
    from {
      transform: scale(1);
    }

    to {
      transform: scale(1.035);
    }
  }
}

@media(max-width:360px) {
  body.home-centered .hero-entry-grid {
    inset-inline: 20px;
  }

  body.home-centered .hero-entry {
    padding-inline: 16px;
  }

  body.home-centered .hero-entry h3 {
    font-size: 24px;
  }

  body.home-centered .hero-copy>.hero-service-line {
    letter-spacing: .065em;
  }
}

@media(prefers-reduced-motion:reduce) {
  .hero-motion {
    transform: none;
    will-change: auto;
  }

  .hero-motion img,
  .hero-scroll-cue>span:first-child:after {
    animation: none;
  }

  .hero-entry>img {
    transition: none;
  }

  .floating-line-toggle {
    transition: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  body.home-centered #site-header {
    transition: none;
  }
}
/* Desktop slogan above the bottom-aligned photo entrances; mobile stays intact. */
body.home-centered:not(.hero-below-view) #site-header .main-nav>.nav-order,
body.home-centered:not(.hero-below-view) #site-header .main-nav>a[href="catering.html"] { display: none; }
.hero-title-pc { display: none; }
@media(min-width:761px) {
  body.home-centered .hero {
    grid-template-rows: minmax(200px,1fr) auto;
    align-items: stretch;
    gap: 32px;
    padding: clamp(122px,13svh,160px) 0 80px;
  }
  body.home-centered .hero-media:after {
    background: linear-gradient(180deg,#0005 0%,#0004 44%,#0001 72%,#0004 100%);
  }
  body.home-centered .hero-title-pc {
    display: block;
    align-self: center;
    width: min(1200px,100%);
    margin: 0;
    padding: 0 24px;
    color: #FFF;
    font: 600 clamp(38px,3.4vw,64px)/1.65 var(--sans);
    letter-spacing: .045em;
    text-align: center;
    text-wrap: balance;
    text-shadow: 0 3px 24px #0008;
  }
  body.home-centered .hero-title-pc>span { color: inherit; }
  body.home-centered .hero-copy {
    isolation: isolate;
    align-self: end;
    width: 100%;
    padding: 24px 0;
    border: 1px solid #FFFFFF4D;
    border-inline: 0;
    background: #FFFFFF4D;
    box-shadow: 0 20px 70px #0000001A;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  body.home-centered .hero-copy:before {
    content: none;
  }
  body.home-centered .hero-copy>:not(.hero-entries-content) { display: none; }
  body.home-centered .hero-scroll-cue { display: flex; }
  body.home-centered .hero-entry-grid { gap: 20px; }
  body.home-centered .hero-entry { height: clamp(164px,22svh,240px); }
}
