@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #D4A373;
  /* Warm Bread */
  --color-secondary: #CCD5AE;
  /* Sage Green */
  --color-background: #FAF9F6;
  /* Flour White */
  --color-text: #4A403A;
  /* Charcoal Brown */
  --color-white: #FFFFFF;

  /* Fonts */
  --font-sans: "Zen Kaku Gothic New", sans-serif;
  --font-serif: "Zen Old Mincho", serif;
  --font-script: "Allura", cursive;
  --font-heading: "Cormorant Garamond", serif;

  /* Layout */
  --header-height-pc: 88px;
  --header-height-sp: 72px;
  --max-width: 1280px;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height-sp);
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--header-height-pc);
  }
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .l-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .l-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.u-hidden-pc {
  display: block;
}

.u-hidden-sp {
  display: none;
}

@media (min-width: 768px) {
  .u-hidden-pc {
    display: none;
  }

  .u-hidden-sp {
    display: block;
  }
}

.u-text-primary {
  color: var(--color-primary);
}

.u-font-serif {
  font-family: var(--font-serif);
}

.u-font-heading {
  font-family: var(--font-heading);
}

.u-font-script {
  font-family: var(--font-script);
}

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

/* ==========================================================================
   Skip Link (Accessibility)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  z-index: 9999;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  opacity: 0;
  transition: top 0.3s ease, opacity 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
  opacity: 1;
}

/* ==========================================================================
       Loading Block (BEM: loading)
       ========================================================================== */
.loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.loading__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Steam Elements */
.loading__steam-group {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.loading__steam {
  width: 6px;
  height: 24px;
  background-color: rgba(212, 163, 115, 0.3);
  /* primary/30 */
  border-radius: 9999px;
  animation: loading-steam 2s infinite ease-out;
}

.loading__steam--delay-1 {
  animation-delay: 0.4s;
}

.loading__steam--delay-2 {
  animation-delay: 0.8s;
}

/* Bread Icon Element */
.loading__bread-wrapper {
  animation: loading-bread-rise 3s infinite ease-in-out;
}

.loading__bread-icon {
  width: 100px;
  height: 100px;
  fill: var(--color-primary);
}

.loading__bread-icon-eye {
  fill: var(--color-text);
}

.loading__bread-icon-mouth {
  stroke: var(--color-text);
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* Content Area */
.loading__content {
  margin-top: 32px;
  text-align: center;
}

.loading__title {
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.loading__status {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: rgba(74, 64, 58, 0.6);
  /* text/60 */
  animation: loading-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
       Animations
       ========================================================================== */
@keyframes loading-steam {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 0;
  }

  50% {
    transform: translateY(-15px) scaleX(1.5);
    opacity: 0.5;
  }

  100% {
    transform: translateY(-30px) scaleX(1);
    opacity: 0;
  }
}

@keyframes loading-bread-rise {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1) translateY(-5px);
  }
}

@keyframes loading-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background-color: rgb(250 249 246 / 0.9);
  transition: background-color 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}

.header.is-scrolled {
  background-color: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Open State - remove blur/bg to avoid overlap issues */
.header.is-menu-open {
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  position: relative;
  z-index: 1001;
  /* Above mobile menu overlay */
}

.header__logo-text {
  font-family: var(--font-script);
  font-size: 1.875rem;
  /* 30px */
  line-height: 1.2;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.header.is-scrolled .header__logo-text {
  transform: scale(0.9);
  transform-origin: left center;
}

@media (min-width: 640px) {
  .header__logo-text {
    font-size: 2.25rem;
    /* 36px */
  }
}

.header__logo-sub {
  font-family: var(--font-serif);
  font-size: 0.625rem;
  /* 10px */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(74, 64, 58, 0.8);
}

@media (min-width: 640px) {
  .header__logo-sub {
    font-size: 0.75rem;
    /* 12px */
  }
}

/* PC Nav */
.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.header__nav-list {
  display: flex;
  gap: 2rem;
}

.header__nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--color-primary);
}

.header__reserve-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header__reserve-btn:hover {
  background-color: #c49261;
  /* Slightly darker */
  transform: scale(1.05);
}

.header__reserve-btn svg {
  width: 16px;
  height: 16px;
}

/* Hamburger Button */
.header__hamburger {
  display: block;
  z-index: 1001;
  /* Above mobile menu overlay */
  padding: 0.5rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.header__hamburger:hover {
  color: var(--color-primary);
}

@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.mobile-menu__link.is-active,
.mobile-menu__link:hover {
  color: var(--color-primary);
}

.mobile-menu__reserve-btn {
  margin-top: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.section-header {
  margin-bottom: 3rem;
}

.section-header__sub {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-primary);
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-header__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  /* 30px */
  line-height: 1.4;
  color: var(--color-text);
}

.section-header__title--light {
  color: var(--color-background);
}

.section-header__title--center {
  text-align: center;
}

.section-header__title-sub {
  display: block;
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-top: 1rem;
  font-weight: normal;
}

@media (min-width: 768px) {
  .section-header__title {
    font-size: 2.25rem;
    /* 36px */
  }
}


/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
  background-color: #EBE5CE;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(212, 163, 115, 0.2);
  color: var(--color-text);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__brand-title {
  font-family: var(--font-script);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.footer__brand-desc {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(74, 64, 58, 0.8);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social-link {
  color: var(--color-text);
  transition: color 0.3s ease;
}

.footer__social-link:hover {
  color: var(--color-primary);
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

@media (min-width: 768px) {

  .footer__nav,
  .footer__heading {
    text-align: center;
  }
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-link {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer__nav-link:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

@media (min-width: 768px) {
  .footer__nav-link:hover {
    padding-left: 0;
    transform: scale(1.05);
  }
}

.footer__access-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: rgba(74, 64, 58, 0.9);
}

.footer__access-icon {
  color: var(--color-primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer__access-note {
  font-size: 0.8rem;
  color: rgba(74, 64, 58, 0.7);
}

.footer__copyright {
  border-top: 1px solid rgba(74, 64, 58, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer__copyright-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(74, 64, 58, 0.6);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  transition: all 0.3s ease;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--white {
  background-color: var(--color-white);
  color: rgba(74, 64, 58);
  border: 1px solid var(--color-primary);
}

.btn--white:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-text);
}

/* ==========================================================================
   Animations (FadeIn)
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-100 {
  transition-delay: 100ms;
}

.fade-in--delay-200 {
  transition-delay: 200ms;
}

.fade-in--delay-300 {
  transition-delay: 300ms;
}

.fade-in--delay-400 {
  transition-delay: 400ms;
}

.fade-in--delay-600 {
  transition-delay: 600ms;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse-slow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-pulse-slow {
  animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-ken-burns {
  animation: kenburns 20s ease-out infinite alternate;
}