/* ==========================================================================
   THE MARITIME HOTEL — Landing Page Styles
   Reusable utilities only. Section layout/typography lives in Tailwind (HTML).
   ========================================================================== */

html {
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Fonts — Optima (self-hosted WOFF2) + Google Fonts in index.html
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Optima";
  src: url("./../fonts/optima-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Optima";
  src: url("./../fonts/optima-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Optima";
  src: url("./../fonts/optima-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Optima";
  src: url("./../fonts/optima-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Typography utilities
   -------------------------------------------------------------------------- */

.font-optima {
  font-family:
    "Optima", Optima, Candara, "Noto Sans", source-sans-pro, sans-serif !important;
}

.font-jp,
.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
}

.shippori-mincho-regular {
  font-weight: 400 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-inter {
  font-family: "Inter", sans-serif !important;
}

/* Figma drop shadow: blur 10, #F0E7D5 @ 75% — stacked for visibility on light hero */
.text-glow-white {
  text-shadow:
    0 0 10px rgba(240, 231, 213, 0.6),
    0 0 10px rgba(240, 231, 213, 0.6),
    0 0 6px rgba(255, 255, 255, 0.7),
    0 0 3px rgba(255, 255, 255, 0.75),
    0 0 1px rgba(255, 255, 255, 0.8);
}

.figma-drop-shadow {
  filter: drop-shadow(0 0 4px #020202);
}

/* Anchor card text shadows — Figma: label 0/4/4 #000 @25%; body/number 0/0/4 #020202 */
.anchor-card-shadow {
  text-shadow: 0 0 4px #020202;
}

/* Optima label — only Regular (400) is loaded; synthesize lighter + scale to match Figma */
.anchor-card-label {
  font-family:
    "Optima", Optima, Candara, "Noto Sans", source-sans-pro, sans-serif;
  font-size: 10px;
  letter-spacing: -0.03em;
  margin-left: 6px;
  font-weight: 300;
  font-synthesis: weight;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: inline-block;
  transform: scaleX(0.94);
  transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Background images (not expressible as static Tailwind utilities)
   -------------------------------------------------------------------------- */

.page-background {
  background-image: var(--special-001-page-bg);
}

.hero-panel {
  background-image: var(--special-001-hero-bg);
}

.notice-panel {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    var(--special-001-notice-bg);
}

/* --------------------------------------------------------------------------
   Components — repeated CTA (5× across page)
   -------------------------------------------------------------------------- */

.cta-button {
  display: flex;
  align-items: center;
  width: 300px;
  height: 46px;
  background-color: #691c24;
  color: #ffffff;
  text-decoration: none;
}

.cta-button--light-text {
  color: #f0e7d5;
}

.cta-button__label {
  padding-left: 90px;
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.03em;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.cta-button__icon {
  width: 1.75rem;
  height: 1.25rem;
  margin-left: 50px;
}

/* --------------------------------------------------------------------------
   Accessibility & scrollbar
   -------------------------------------------------------------------------- */

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.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;
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */

.scroll-reveal,
.load-reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
}

.scroll-reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  filter: blur(4px);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  filter: blur(4px);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  filter: blur(4px);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal,
  .load-reveal,
  .scroll-reveal-zoom,
  .scroll-reveal-left,
  .scroll-reveal-right {
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

.scroll-reveal.revealed,
.load-reveal.revealed,
.scroll-reveal-zoom.revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0) !important;
}

.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0) !important;
}

/* Staggered entry delays for premium feel */
.delay-50 { transition-delay: 50ms !important; }
.delay-100 { transition-delay: 100ms !important; }
.delay-150 { transition-delay: 150ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-250 { transition-delay: 250ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-350 { transition-delay: 350ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }
.delay-700 { transition-delay: 700ms !important; }
.delay-800 { transition-delay: 800ms !important; }

/* --------------------------------------------------------------------------
   Fixed Bottom CTA Component
   -------------------------------------------------------------------------- */

.fixed-cta-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  display: flex;
  justify-content: center;
  width: 300px;
  transform: translate(-50%, 100px);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fixed-cta-container.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}