/* Small additions on top of the Webflow stylesheet. */

/* Replaces the margin Webflow's .w-form class gave the contact form wrapper.
   :where() keeps specificity at zero so Webflow's own .form-block-2 rules still win. */
:where(.contact-form-block) {
  margin: 0 0 15px;
}

/* Contact form honeypot field. */
.contact-form-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Links inside body copy used the browser default blue. Match the surrounding text instead. */
.paragraph-regular-2 a,
.paragraph-18px a,
.contact-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-link {
  text-decoration-thickness: 1px;
}

/* Fixed nav (see components/NavTheme.tsx). It stays at the top of the screen; its colours follow
   whatever is behind it: cream over photos, video and dark blocks, brand orange over the light
   yellow sections (no shadow). The logo shrinks once you scroll. */
.navbar-logo-left {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background-color 0.35s ease;
}
/* Over light sections, once scrolled, content would run under the links: give the bar a soft
   yellow panel. */
html.nav-scrolled.nav-on-light .navbar-logo-left {
  background-color: rgba(255, 213, 121, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.navbar-logo-left .navbar-logo-left-container {
  position: relative;
}
.navbar-logo-left .nav-link-4,
.navbar-logo-left .icon-2,
.navbar-logo-left .w-icon-nav-menu {
  transition: color 0.3s ease;
}
html.nav-on-light .navbar-logo-left .nav-menu-two .nav-link-4,
html.nav-on-light .navbar-logo-left .dropdown-toggle .nav-link-4,
html.nav-on-light .navbar-logo-left .dropdown-toggle .icon-2,
html.nav-on-light .navbar-logo-left .w-icon-nav-menu {
  color: var(--text-colour);
}
/* Webflow brightens the menu icon to white with a filter; drop it so the icon can turn orange. */
html.nav-on-light .navbar-logo-left .w-nav-button .icon {
  filter: none;
  color: var(--text-colour);
}
html.nav-on-light .navbar-logo-left .nav-menu-two .nav-link-4:hover,
html.nav-on-light .navbar-logo-left .dropdown-toggle:hover .nav-link-4 {
  color: #7a2e00;
}
/* Logo shrinks after the top of the page so the fixed bar doesn't cover content. */
.navbar-logo-left .image-4 {
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
html.nav-scrolled .navbar-logo-left .image-4 {
  width: 96px;
}
@media screen and (max-width: 991px) {
  html.nav-scrolled .navbar-logo-left .image-4 {
    width: 72px;
  }
  /* The open mobile menu sits on its own orange panel, so keep its links cream. */
  html.nav-on-light .navbar-logo-left .w-nav-menu .nav-link-4 {
    color: #ffedc7;
  }
}

/* Weekly Fifty dates: larger text and full-row buttons (they're the page's main call to action). */
.rdtfygjuhij-copy {
  min-height: 64px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.rdtfygjuhij-copy .text-block-28 {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rdtfygjuhij-copy:hover,
.rdtfygjuhij-copy:focus-visible {
  background-color: var(--text-colour);
  color: #ffedc7;
}
.rdtfygjuhij-copy:hover .div-block-14,
.rdtfygjuhij-copy:hover .rdtfygjuhij,
.rdtfygjuhij-copy:focus-visible .div-block-14,
.rdtfygjuhij-copy:focus-visible .rdtfygjuhij {
  border-color: #ffedc7;
  color: #ffedc7;
}
.collection-item-3 + .collection-item-3 {
  margin-top: 4px;
}

/* Contact form placeholder: readable size and contrast on the orange background. */
.contact .w-input::placeholder {
  color: rgba(255, 237, 199, 0.75);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* Footer social icons: give each a 44px-tall tap area without changing the icon size. */
.div-block-4 {
  min-height: 44px;
}

/* Mobile: line the contact form up with the 20px page gutter used everywhere else. */
@media screen and (max-width: 479px) {
  .contact .form-block-2 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* Letter-swap hover labels (components/ui/random-letter-swap). Nav links and buttons use a 20px
   line height for 24-32px type, so the letters overflow their line box and the swap's
   overflow:hidden would clip their tops. Give the label a taller line box and pull the margins back
   so the link or button keeps exactly its original size and text position. The component's built-in
   pb-2 is removed here so the swap window stays inside the button rather than spilling below it. */
.swap-label {
  line-height: 1.15;
  margin-top: calc((20px - 1.15em) / 2);
  margin-bottom: calc((20px - 1.15em) / 2);
}
.swap-label > span > span:first-child {
  padding-bottom: 0;
}

/* Stacked cards (home, Functions, Accessibility). Every card in a stack is the same height
   (--stack-h, set by components/StackCards.tsx from the tallest card) and sticks at the same point:
   the vertical centre of the screen, clear of the nav. So each card lands squarely on the last. */
.stack_card,
.stack_card.is-2,
.stack_card.is-6,
.stack_card.is-last {
  position: sticky;
  height: var(--stack-h, 25rem);
  top: max(7.5rem, calc(50vh - var(--stack-h, 25rem) / 2));
  margin-bottom: 0;
}
/* The spacer after the last card is the hold: it stays centred for that long before the stack
   scrolls away. (A spacer, not padding: sticky cards can't move into their parent's padding.) */
.stack_component {
  grid-row-gap: 8rem;
}
.stack_component::after {
  content: "";
  flex: none;
  height: max(0px, calc(35vh - 8rem));
}
.stack_component.is-measuring .stack_card {
  height: auto;
}
/* A card taller than the screen can't stick without hiding its bottom, so that stack scrolls
   normally (StackCards adds .is-tall, e.g. at high zoom or on a landscape phone). */
.stack_component.is-tall {
  grid-row-gap: 2rem;
}
.stack_component.is-tall::after {
  display: none;
}
.stack_component.is-tall .stack_card {
  position: relative;
  top: auto;
}
@media screen and (max-width: 767px) {
  .stack_card,
  .stack_card.is-2,
  .stack_card.is-6,
  .stack_card.is-last {
    height: var(--stack-h, auto);
    top: max(5.5rem, calc(50svh - var(--stack-h, 30rem) / 2));
  }
  .stack_card .stack_card-content {
    flex: 1;
  }
  .stack_component {
    grid-row-gap: 4rem;
  }
  .stack_component::after {
    height: max(0px, calc(30svh - 4rem));
  }
  .stack_component.is-tall {
    grid-row-gap: 1.5rem;
  }
}

/* Ethos: full-screen video with the text laid over it. */
.video.ethos-full {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background-color: #1d1206;
}
.ethos-full__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ethos-full__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(20, 10, 2, 0.78) 0%, rgba(20, 10, 2, 0.35) 45%, rgba(20, 10, 2, 0) 75%),
    linear-gradient(to right, rgba(20, 10, 2, 0.55) 0%, rgba(20, 10, 2, 0) 60%);
}
.ethos-full__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw 8vh;
}
.ethos-full .hero-wrapper-two.l_align {
  max-width: 620px;
  margin: 0;
  text-align: left;
  align-items: flex-start;
}
.ethos-full .heading-3,
.ethos-full .margin-bottom-24px {
  color: #ffedc7;
}
.ethos-full .margin-bottom-24px {
  font-size: 1.05rem;
  line-height: 1.6;
}
/* The floating line drawings sat beside the old boxed video; over full-bleed footage they clash. */
.ethos-full .image_float_sticky {
  display: none;
}
@media screen and (max-width: 991px) {
  .ethos-full .margin-bottom-24px.l-align {
    text-align: left;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 767px) {
  .ethos-full__inner {
    padding: 0 20px 48px;
  }
  .ethos-full .hero-wrapper-two.l_align {
    align-items: flex-start;
    text-align: left;
  }
  .ethos-full .heading-3 {
    font-size: 3.2em;
  }
  .ethos-full .margin-bottom-24px {
    font-size: 0.95rem;
  }
  .ethos-full .button_holder {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
  }
}

/* "MORE" dropdown: plain chevron that turns when open, and a list that fades and drops in. */
.dropdown-toggle .icon-2 {
  background-color: transparent;
  color: #ffedc7;
  transition: transform 0.25s ease;
}
.dropdown-toggle.w--open .icon-2 {
  transform: rotate(180deg);
}
.dropdown-list.w--open {
  padding: 8px;
  gap: 2px;
  grid-row-gap: 2px;
  min-width: 190px;
  box-shadow: 0 14px 34px rgba(30, 12, 0, 0.28);
  transform-origin: top center;
  animation: uh-dropdown-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.dropdown-list .nav-link-4 {
  display: block;
  margin: 0;
  padding: 10px 16px;
  border-radius: 5px;
  text-align: left;
  color: #ffedc7;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* Hover kept the brand orange text on the orange panel, so it vanished. Keep it cream and lift the row. */
.dropdown-list .nav-link-4:hover,
.dropdown-list .nav-link-4:focus-visible,
html.nav-on-light .navbar-logo-left .dropdown-list .nav-link-4,
html.nav-on-light .navbar-logo-left .dropdown-list .nav-link-4:hover {
  color: #ffedc7;
}
.dropdown-list .nav-link-4:hover,
.dropdown-list .nav-link-4:focus-visible {
  background-color: rgba(255, 237, 199, 0.18);
}
@keyframes uh-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dropdown-list.w--open {
    animation: none;
  }
}

/* Site load-in (components/SiteIntro.tsx). Only shown when the <head> script adds .intro-play. */
.site-intro {
  display: none;
}
html.intro-play .site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-colour, #b84c0a);
  /* Failsafe: if scripts never run, fade the panel out after 4 seconds. */
  animation: uh-intro-failsafe 0.6s ease 4s forwards;
}
.site-intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.site-intro__logo {
  width: 160px;
  height: 160px;
  opacity: 0;
}
.site-intro__tag {
  font-family: var(--headings);
  color: #ffedc7;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
}
.site-intro__line {
  width: 140px;
  height: 2px;
  background-color: #ffedc7;
  transform: scaleX(0);
  transform-origin: left center;
}
@keyframes uh-intro-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Home hero: the video eases out of a slight zoom and the copy fades up once the panel lifts. */
.headderbackground video {
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
html.intro-play .headderbackground video {
  transform: scale(1.08);
}
.video_holder-3 .sub_heading,
.video_holder-3 .hero-wrapper {
  transition: opacity 0.8s ease 0.6s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s;
}
html.intro-play .video_holder-3 .sub_heading,
html.intro-play .video_holder-3 .hero-wrapper {
  opacity: 0;
  transform: translateY(14px);
}

/* The Tank wine collection (components/hotel/TankPanels.tsx): full-screen panels with scroll snap.
   Text rises in first, then the photo reveals from the left. */
.tank-panels {
  width: 100%;
}
.tank-panel {
  display: grid;
  grid-template-columns: minmax(380px, 38%) 1fr;
  /* At least a full screen; taller when the text needs it (short or zoomed-in screens). */
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--text-colour);
  overflow: hidden;
}
.tank-panel__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 6rem clamp(24px, 5vw, 88px);
}
.tank-panel__title {
  margin: 0;
  font-family: var(--headings);
  color: #ffedc7;
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  line-height: 1;
}
.tank-panel__copy {
  margin: 0;
  max-width: 46ch;
  font-family: var(--paragraphs);
  color: #ffedc7;
  font-size: 1rem;
  line-height: 1.7;
}
.tank-panel__media {
  position: relative;
  overflow: hidden;
}
.tank-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Motion: hidden until the panel is in view, then text first, image second. */
.tank-panel__title,
.tank-panel__copy {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.tank-panel__media {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.9s ease, clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1);
}
.tank-panel__media img {
  transform: translateX(-4%) scale(1.06);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.tank-panel.is-in .tank-panel__title,
.tank-panel.is-in .tank-panel__copy {
  opacity: 1;
  transform: none;
}
.tank-panel.is-in .tank-panel__copy:nth-of-type(1) {
  transition-delay: 0.12s;
}
.tank-panel.is-in .tank-panel__copy:nth-of-type(2) {
  transition-delay: 0.24s;
}
.tank-panel.is-in .tank-panel__media {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition-delay: 0.55s;
}
.tank-panel.is-in .tank-panel__media img {
  transform: none;
  transition-delay: 0.55s;
}

@media screen and (max-width: 991px) {
  .tank-panel {
    grid-template-columns: minmax(320px, 45%) 1fr;
  }
  .tank-panel__text {
    padding: 5rem 32px 3rem;
  }
}
@media screen and (max-width: 767px) {
  .tank-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .tank-panel__text {
    padding: 4.5rem 20px 2rem;
  }
  .tank-panel__media {
    min-height: 42svh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tank-panel__title,
  .tank-panel__copy,
  .tank-panel__media,
  .tank-panel__media img {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* What's On cards (components/hotel/EventsList.tsx): even grid, equal heights, clean photo crops. */
.wo-grid {
  list-style: none;
  margin: 3rem auto 0;
  padding: 0;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.wo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 5px;
  background-color: var(--text-colour);
  box-shadow: 0 10px 30px rgba(90, 40, 0, 0.12);
}
.wo-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.wo-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.wo-card:hover .wo-card__media img {
  transform: scale(1.04);
}
.wo-card__media--artwork {
  background-color: #fff8e7;
}
.wo-card__media--artwork img {
  object-fit: contain;
  padding: 12%;
}
.wo-card:hover .wo-card__media--artwork img {
  transform: none;
}
.wo-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 28px;
}
.wo-card__title {
  margin: 0;
  font-family: var(--headings);
  color: #ffedc7;
  font-size: 2rem;
  line-height: 1.05;
}
.wo-card__copy {
  margin: 0;
  font-family: var(--paragraphs);
  color: #ffedc7;
  font-size: 0.95rem;
  line-height: 1.6;
}
.wo-card__button {
  margin-top: auto;
  align-self: flex-start;
}
.wo-card__copy {
  margin-bottom: 8px;
}
.wo-empty {
  margin: 3rem 0 0;
  font-family: var(--paragraphs);
  color: var(--text-colour);
  font-weight: 700;
}
@media screen and (max-width: 991px) {
  .wo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 600px) {
  .wo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .wo-card__title {
    font-size: 1.75rem;
  }
}

/* Reveal footer (components/FooterReveal.tsx). The page shell sits above the footer; when the footer
   fits on screen it is pinned to the bottom behind the page, so the page slides up to uncover it. */
.page-shell {
  position: relative;
  z-index: 1;
  background-color: #ffd579;
  /* Edge of the page as it lifts off the footer: the same dashed line as the footer's divider. */
  border-bottom: 3px dashed var(--line-stroke);
}
.footer-reveal {
  position: relative;
  z-index: 0;
  display: block;
}
html.footer-reveal-on .footer-reveal {
  position: sticky;
  bottom: 0;
}
/* Footer spacing trimmed (was 120px top and bottom, plus extra gaps under the logo and text) so the
   whole footer fits on a laptop screen and can be pinned. */
.footer-reveal .section-footer-l {
  padding-top: 56px;
  padding-bottom: 56px;
  background-color: #ffd579;
}
.footer-reveal .footer-logo {
  margin-bottom: 20px;
}
.footer-reveal .margin-bottom-24 {
  margin-bottom: 8px;
}
.footer-reveal .footer-divider {
  margin-top: 40px;
}
/* Footer contents fade up as the footer is uncovered. */
.footer-reveal .footer-column,
.footer-reveal .footer-link-column,
.footer-reveal .footer-divider {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-reveal.is-revealed .footer-column,
.footer-reveal.is-revealed .footer-link-column,
.footer-reveal.is-revealed .footer-divider {
  opacity: 1;
  transform: none;
}
.footer-reveal.is-revealed .footer-link-column:nth-child(2) {
  transition-delay: 0.12s;
}
.footer-reveal.is-revealed .footer-link-column:nth-child(3) {
  transition-delay: 0.24s;
}
.footer-reveal.is-revealed .footer-divider {
  transition-delay: 0.36s;
}
@media (prefers-reduced-motion: reduce) {
  .footer-reveal .footer-column,
  .footer-reveal .footer-link-column,
  .footer-reveal .footer-divider {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Dashed circle arrow icons: the dashed border runs around the circle while you hover the card or
   link it belongs to. The border is drawn on a pseudo-element so only the dashes turn, not the arrow. */
.icon-link {
  position: relative;
  border-color: transparent;
}
.icon-link::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 3px dashed #ffedc7;
  border-radius: 50%;
  pointer-events: none;
}
:is(.stack_card, .feature-outline-r, .button-link-large, a):hover .icon-link::before,
:is(.stack_card, .feature-outline-r, .button-link-large, a):focus-visible .icon-link::before {
  animation: uh-dash-run 3.2s linear infinite;
}
@keyframes uh-dash-run {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.stack_card, .feature-outline-r, .button-link-large, a):hover .icon-link::before {
    animation: none;
  }
}

/* Page transitions (components/PageTransition.tsx): a brand panel sweeps up over the page on an
   internal link click, and lifts off the next page once it has loaded. */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-colour, #b84c0a);
  pointer-events: none;
  clip-path: inset(100% 0 0 0);
  visibility: hidden;
}
.page-transition__logo {
  width: 96px;
  height: 96px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease 0.2s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
/* Leaving: sweep up from the bottom. */
html.pt-leaving .page-transition {
  visibility: visible;
  pointer-events: auto;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.52s cubic-bezier(0.76, 0, 0.24, 1);
}
html.pt-leaving .page-transition__logo {
  opacity: 1;
  transform: none;
}
/* Arriving: start covered, then lift off the top. */
html.pt-entering .page-transition {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  /* Failsafe: never leave the page covered if scripts fail. */
  animation: uh-pt-failsafe 0.5s ease 3s forwards;
}
html.pt-entering .page-transition__logo {
  opacity: 1;
  transform: none;
  transition: none;
}
html.pt-entering.pt-reveal .page-transition {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}
html.pt-entering.pt-reveal .page-transition__logo {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
/* The home hero eases out of a slight zoom after a transition too. */
html.pt-entering .headderbackground video {
  transform: scale(1.06);
}
@keyframes uh-pt-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-transition {
    display: none;
  }
}

/* No rubber-band stretch when you push past the top or bottom of the page: it just stops. */
html,
body {
  overscroll-behavior: none;
}

/* Hero frame: every page's hero sits inset from the edges with rounded corners, framed by the page
   colour (as in the reference). */
.video_holder-3,
.test,
.page_2 {
  width: auto;
  max-width: none;
  margin: 10px 10px 0;
  border-radius: 5px;
  overflow: hidden;
  isolation: isolate;
}
@media screen and (max-width: 767px) {
  .video_holder-3,
  .test,
  .page_2 {
    margin: 8px 8px 0;
  }
}

/* Phones: a more compact footer so it fits on screen and the reveal works there too. */
@media screen and (max-width: 767px) {
  .footer-reveal .section-footer-l {
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .footer-reveal .footer-logo {
    margin-bottom: 12px;
  }
  .footer-reveal .footer-logo img {
    width: 140px;
  }
  .footer-reveal .paragraph-small {
    margin-bottom: 0;
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .footer-reveal .footer-grid-a {
    grid-row-gap: 16px;
  }
  .footer-reveal .wrap-v-regular {
    grid-row-gap: 6px;
  }
  .footer-reveal .footer-divider {
    margin-top: 16px;
    padding-top: 10px;
    padding-bottom: 0;
    grid-row-gap: 6px;
  }
}
/* Short phones (e.g. iPhone SE): tighter again so the footer still fits and pins. */
@media screen and (max-width: 767px) and (max-height: 760px) {
  .footer-reveal .section-footer-l {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .footer-reveal .footer-logo img {
    width: 96px;
  }
  .footer-reveal .paragraph-small {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .footer-reveal .footer-link {
    font-size: 0.95rem;
  }
}

/* Mobile menu (components/hotel/MobileMenu.tsx). Replaces Webflow's burger and dropdown panel at
   991px and below. */
.mm-burger,
.mm-panel {
  display: none;
}
@media screen and (max-width: 991px) {
  .navbar-logo-left .menu-button-4.w-nav-button,
  .navbar-logo-left .w-nav-menu,
  .w-nav-overlay {
    display: none !important;
  }
  .mm-burger {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffedc7;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.3s ease;
  }
  html.nav-on-light .mm-burger {
    color: var(--text-colour);
  }
  .mm-burger:focus {
    outline: none;
  }
  .mm-burger:focus-visible {
    outline: none;
  }
  .mm-burger__line {
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
  }
  html.menu-open .mm-burger {
    color: #ffedc7;
  }
  html.menu-open .mm-burger__line:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  html.menu-open .mm-burger__line:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  /* While open the bar goes clear so only the logo and the cross sit over the panel. */
  html.menu-open .navbar-logo-left {
    background-color: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html.menu-open,
  html.menu-open body {
    overflow: hidden;
  }

  .mm-panel {
    position: fixed;
    inset: 0;
    z-index: 59;
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--text-colour);
    color: #ffedc7;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.6s;
  }
  .mm-panel.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 0.6s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s;
  }
  .mm-panel__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 100%;
    padding: 120px 24px max(32px, env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .mm-links {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .mm-links li,
  .mm-foot {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .mm-panel.is-open .mm-links li,
  .mm-panel.is-open .mm-foot {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease calc(0.25s + var(--i) * 0.05s),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(0.25s + var(--i) * 0.05s);
  }
  .mm-link {
    display: block;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 237, 199, 0.35);
    color: #ffedc7;
    font-family: var(--headings);
    font-size: clamp(1.6rem, min(9vw, 7.5svh), 3.5rem);
    line-height: 1.05;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, padding-left 0.3s ease;
  }
  .mm-link:hover,
  .mm-link:focus-visible,
  .mm-link.is-current {
    color: #ffd579;
    padding-left: 8px;
  }
  .mm-foot {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: var(--paragraphs);
    font-size: 1rem;
  }
  .mm-foot a {
    color: #ffedc7;
    text-decoration: none;
  }
  .mm-book {
    display: block;
    padding: 16px 20px;
    border: 2px dashed #ffedc7;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .mm-foot .mm-book:hover {
    background: #ffedc7;
    color: var(--text-colour);
  }
  .mm-contact,
  .mm-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
  }
  .mm-social a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mm-panel,
  .mm-panel.is-open,
  .mm-links li,
  .mm-foot,
  .mm-burger__line {
    transition: none !important;
  }
}

/* Ethos film controls (components/hotel/EthosVideo.tsx). */
.ethos-media {
  position: absolute;
  inset: 0;
}
.ethos-controls {
  position: absolute;
  right: 6vw;
  bottom: 8vh;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.ethos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 2px dashed #ffedc7;
  border-radius: 5px;
  background: rgba(20, 10, 2, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #ffedc7;
  font-family: var(--paragraphs);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ethos-btn:hover,
.ethos-btn:focus-visible {
  background: #ffedc7;
  color: #1d1206;
}
.ethos-btn--watch {
  height: 52px;
  padding: 0 20px;
}
/* While the film plays with sound, the text and shade step aside so it can be watched. */
.ethos-full__shade,
.ethos-full__inner {
  transition: opacity 0.5s ease;
}
.ethos-full:has(.is-watching) .ethos-full__shade,
.ethos-full:has(.is-watching) .ethos-full__inner {
  opacity: 0;
  pointer-events: none;
}
.ethos-media.is-watching .ethos-controls {
  bottom: 4vh;
}
/* Phones and portrait screens: the film is landscape, so show all of it at 16:9 above the text
   rather than cropping it to a tall screen (the speaker would be cut off). */
@media screen and (max-width: 767px), screen and (orientation: portrait) {
  .video.ethos-full {
    display: block;
    min-height: 0;
    padding-top: 8px;
  }
  .ethos-media {
    position: relative;
    inset: auto;
    margin: 0 8px;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
  }
  .ethos-full__shade {
    display: none;
  }
  .ethos-full__inner {
    padding: 32px 20px 56px;
  }
  .ethos-full:has(.is-watching) .ethos-full__inner {
    opacity: 1;
    pointer-events: auto;
  }
  .ethos-controls,
  .ethos-media.is-watching .ethos-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: flex-start;
  }
  .ethos-btn {
    height: 40px;
    min-width: 40px;
    padding: 0 10px;
    font-size: 0.75rem;
  }
  .ethos-btn--watch {
    height: 44px;
    padding: 0 14px;
  }
  .ethos-btn--close {
    margin-left: auto;
  }
}

/* ---------- Responsive audit fixes (phones, tablets, zoomed laptops) ---------- */

/* Nothing may widen the page sideways: on phones a wider page zooms out and pushes the menu
   button off screen. clip (not hidden) keeps sticky elements working. */
html,
body {
  overflow-x: clip;
}
.gallery-carousel {
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  /* Webflow centres the bar in a 728px box on tablets, so the menu button drifted to the middle. */
  .navbar-logo-left .container-8 {
    max-width: none;
    padding: 0 24px;
  }
  .navbar-logo-left .navbar-wrapper {
    justify-content: space-between;
  }
  .navbar-logo-left .image-4 {
    width: 110px !important;
    height: auto;
  }
  /* With the menu open the logo stays small so it can't sit over the links. */
  html.menu-open .navbar-logo-left .image-4,
  html.nav-scrolled .navbar-logo-left .image-4 {
    width: 72px !important;
  }
}
@media screen and (max-width: 767px) {
  .navbar-logo-left .container-8 {
    padding: 0 16px;
  }
  .navbar-logo-left .image-4 {
    width: 84px !important;
  }
}

/* Home hero: fills the screen inside its frame on phones and tablets (Webflow collapsed it to
   zero height on tablets), with the title and buttons along the bottom. */
@media screen and (max-width: 991px) {
  .video_holder-3 {
    height: calc(100vh - 20px);
    height: calc(100svh - 20px);
    min-height: 480px;
    background-attachment: scroll;
  }
  .video_holder-3 .container-5 {
    inset: auto 0 0 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 32px 48px;
  }
  .video_holder-3 .hero-wrapper {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  .video_holder-3 {
    height: calc(100vh - 16px);
    height: calc(100svh - 16px);
    min-height: 420px;
  }
  .video_holder-3 .container-5 {
    padding: 0 20px 32px;
  }
}

/* Buttons sit side by side and wrap, rather than stacking in a ragged column. */
.video_holder-3 .button_holder,
.ethos .button_holder,
.ethos-full .button_holder {
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.home-strategy .div-block-3,
.whatsontitle .div-block-3 {
  flex-wrap: wrap;
  gap: 10px;
}

/* Inner-page heroes: titles were flush against the frame on phones. Fixed backgrounds don't work
   on iOS (they zoom right in), so they scroll on touch screens. */
@media screen and (max-width: 991px) {
  .test,
  .page_2,
  .video_holder-3 {
    background-attachment: scroll !important;
  }
  .page_2 {
    height: 70vh;
    height: 70svh;
  }
  .test .page2,
  .page_2 .page2 {
    margin: 0;
    padding: 0 32px 32px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
}
@media screen and (max-width: 767px) {
  .test .page2,
  .page_2 .page2 {
    padding: 0 20px 24px;
  }
}
@media (hover: none) {
  .test,
  .page_2,
  .video_holder-3 {
    background-attachment: scroll !important;
  }
}

/* Webflow's scroll fade never fires for the contact heading and intro, leaving them invisible. */
.contact .heading-3.contact,
.contact .margin-bottom-24px.contact {
  opacity: 1 !important;
}

/* Stacked cards on desktop: larger, and they grow with big screens (they were capped at 1280px). */
@media screen and (min-width: 992px) {
  .section_stack .container-large-4 {
    max-width: 100rem;
  }
  .stack_card {
    min-height: clamp(25rem, 56vh, 40rem);
  }
  .stack_card .stack_card-content {
    padding: clamp(2.6rem, 3.6vw, 4.5rem);
  }
  /* The photo fills the full height of the taller card. */
  .stack_card .stack_card-image-wrapper {
    position: relative;
    height: auto;
  }
  .stack_card .stack_card-image {
    position: absolute;
    inset: 0;
  }
}

/* Ethos: framed like the hero (inset from the edges, 5px corners), with room above and below. */
.video.ethos-full {
  margin: clamp(4rem, 8vw, 8rem) 10px;
  border-radius: 5px;
  isolation: isolate;
  min-height: calc(100vh - 20px);
  min-height: calc(100svh - 20px);
}
@media screen and (max-width: 767px), screen and (orientation: portrait) {
  .video.ethos-full {
    min-height: 0;
    padding-top: 0;
  }
  /* The film sits flush in the top of the framed block. */
  .ethos-media {
    margin: 0;
    border-radius: 0;
  }
}
@media screen and (max-width: 767px) {
  .video.ethos-full {
    margin: 3rem 8px;
  }
}

/* Stacked cards: larger heading and copy so they fill the card better. */
.stack_card .h5-heading {
  font-size: clamp(30px, 7.5vw, 40px);
  line-height: 1.05;
}
.stack_card .paragraph-regular-2 {
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .stack_card .h5-heading {
    font-size: clamp(40px, 4.2vw, 80px);
    line-height: 1;
  }
  .stack_card .paragraph-regular-2 {
    font-size: clamp(17px, 1.45vw, 26px);
    line-height: 1.6;
    max-width: 34ch;
  }
  .stack_card .text-block-3 {
    font-size: clamp(15px, 1.1vw, 19px);
  }
}

/* Footer rays: as the footer is uncovered they grow out from the base, sweeping left to right.
   The rays image moves to a layer that is masked by a widening sweep and a growing radius. */
@property --ray-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --ray-r {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
.footer-reveal .section-footer-l {
  background-image: none;
  isolation: isolate;
}
.footer-reveal .section-footer-l::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("https://wyxddskexdjedfrhzocq.supabase.co/storage/v1/object/public/uraidla-hotel/images/bg-label.png") 50% 0 / cover no-repeat;
  -webkit-mask-image:
    conic-gradient(from 270deg at 50% 115%, #000 var(--ray-a), transparent calc(var(--ray-a) + 10deg)),
    radial-gradient(circle at 50% 115%, #000 var(--ray-r), transparent calc(var(--ray-r) + 15%));
  mask-image:
    conic-gradient(from 270deg at 50% 115%, #000 var(--ray-a), transparent calc(var(--ray-a) + 10deg)),
    radial-gradient(circle at 50% 115%, #000 var(--ray-r), transparent calc(var(--ray-r) + 15%));
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transition: --ray-a 1.8s cubic-bezier(0.65, 0, 0.35, 1), --ray-r 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-reveal.is-revealed .section-footer-l::before {
  --ray-a: 190deg;
  --ray-r: 140%;
}
@media (prefers-reduced-motion: reduce) {
  .footer-reveal .section-footer-l::before {
    -webkit-mask-image: none;
    mask-image: none;
    transition: none;
  }
}

/* Home: more room between sections. */
.page-shell:has(> .video_holder-3) .section-7 {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-shell:has(> .video_holder-3) > .main-wrapper {
  padding-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}
.page-shell:has(> .video_holder-3) > .image_slider {
  margin-top: clamp(3rem, 6vw, 6rem);
}
.page-shell:has(> .video_holder-3) > .contact {
  margin-top: clamp(3rem, 6vw, 6rem);
}

/* The Tank on phones: photo at the top of each panel, text below. No snapping on touch screens:
   the page scrolls freely. */
@media screen and (max-width: 767px) {
  .tank-panel {
    grid-template-rows: auto 1fr;
  }
  .tank-panel__media {
    order: -1;
    height: 46svh;
    min-height: 0;
  }
  .tank-panel__text {
    justify-content: flex-start;
    padding: 2rem 20px 3rem;
  }
  /* The photo leads here, so it comes in straight away and the text follows. */
  .tank-panel.is-in .tank-panel__media,
  .tank-panel.is-in .tank-panel__media img {
    transition-delay: 0s;
  }
  .tank-panel.is-in .tank-panel__title {
    transition-delay: 0.35s;
  }
  .tank-panel.is-in .tank-panel__copy:nth-of-type(1) {
    transition-delay: 0.47s;
  }
  .tank-panel.is-in .tank-panel__copy:nth-of-type(2) {
    transition-delay: 0.59s;
  }
}

/* Stacked cards fade by scroll position (StackCards.tsx); keep Webflow's 0.35s "transition: all"
   from making that lag behind the scroll. */
.stack_card {
  transition: opacity 0.12s linear, transform 0.35s ease;
}

/* Functions: the intro matches the home page intro (centred, same type scale and spacing). */
.page-shell:has(.test.functions) .home-strategy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.page-shell:has(.test.functions) .hs-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.page-shell:has(.test.functions) .heading-4 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.05;
  text-align: center;
}
.page-shell:has(.test.functions) .hs-paragraph {
  max-width: 60ch;
  margin: 0 auto;
}
.page-shell:has(.test.functions) .paragraph-18px {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  text-align: center;
  margin: 0 0 1em;
}
.page-shell:has(.test.functions) .div-block-3 {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

/* Function rooms: description, then the details as a tidy list with the site's dashed rules. */
.stack_card-content.room {
  justify-content: flex-start;
  gap: clamp(14px, 1.8vw, 26px);
}
.stack_card-content.room .paragraph-regular-2 {
  max-width: 50ch;
  margin: 0;
}
.room-facts {
  margin: 0;
  max-width: 50ch;
  color: #ffedc7;
  border-top: 1px dashed color-mix(in srgb, currentColor 45%, transparent);
}
.room-facts > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed color-mix(in srgb, currentColor 45%, transparent);
}
.room-facts dt {
  font-family: var(--headings);
  font-size: clamp(16px, 1.3vw, 21px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}
.room-facts dd {
  margin: 0;
  font-family: var(--paragraphs);
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.5;
}
.room-facts a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Phones: a taller photo strip on the stacked cards so more of each photo (and the faces) shows. */
@media screen and (max-width: 767px) {
  .stack_card .stack_card-image-wrapper {
    height: 13.5rem;
  }
  .room-facts > div {
    grid-template-columns: 6.5em 1fr;
  }
}

/* Contact form messages: in the site's style (dashed cream frame on the orange block) instead of
   Webflow's grey and pink boxes. */
.contact-form-block .form-note {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
  border: 2px dashed #ffedc7;
  border-radius: 5px;
  background: transparent;
  color: #ffedc7;
  text-align: center;
}
.contact-form-block .form-note__title {
  font-family: var(--headings);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.contact-form-block .form-note__text {
  margin: 0;
  font-family: var(--paragraphs);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.6;
}
.contact-form-block .form-note--fail {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(29, 18, 6, 0.25);
  text-align: left;
}
