:root {
  --cream: #f5f5dc;
  --coffee-brown: #6f4e37;
  --saddle-brown: #8b4513;
  --charcoal: #2c2c2c;
  --surface: #ffffff;
  --shadow: 0 18px 40px rgba(44, 44, 44, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--charcoal);
  background: var(--surface);
  line-height: 1.5;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  font-family: "Playfair Display", serif;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--coffee-brown);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--saddle-brown);
}

::selection {
  background: var(--coffee-brown);
  color: var(--cream);
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 100;
}

#scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--coffee-brown), var(--saddle-brown));
  transition: width 0.12s ease-out;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(245, 245, 220, 0.95);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.12);
  backdrop-filter: blur(8px);
}

.nav-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-button {
  padding: 0;
  border-radius: 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-image {
  width: auto;
  height: 74px;
  max-width: min(58vw, 320px);
  object-fit: contain;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.logo-image-scrolled {
  display: none;
}

.logo-image-hero {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.site-header.is-scrolled .logo-image-hero {
  display: none;
}

.site-header.is-scrolled .logo-image-scrolled {
  display: block;
}

.site-header.is-scrolled .logo-image {
  height: 62px;
}

.logo-button:hover .logo-image {
  transform: scale(1.03);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1rem;
}

.nav-link {
  color: #f7f7ef;
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--coffee-brown);
  transition: right 0.25s ease;
}

.nav-link:hover {
  color: var(--coffee-brown);
}

.nav-link:hover::after {
  right: 0;
}

.site-header.is-scrolled .nav-link {
  color: var(--charcoal);
}

.site-header.is-scrolled .nav-link:hover {
  color: var(--coffee-brown);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: var(--cream);
  background: var(--coffee-brown);
}

.btn-primary:hover {
  background: var(--saddle-brown);
  box-shadow: var(--shadow);
}

.btn-outline {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid var(--cream);
}

.btn-outline:hover {
  color: var(--charcoal);
  background: var(--cream);
}

.btn-large {
  min-width: 170px;
  padding: 1rem 1.5rem;
}

.desktop-visit {
  min-width: 140px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f7f7ef;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--charcoal);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.mobile-link {
  width: 100%;
  text-align: left;
  color: var(--charcoal);
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
}

.mobile-link:hover {
  background: rgba(111, 78, 55, 0.1);
}

.mobile-visit {
  margin-top: 0.4rem;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform-origin: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 44, 44, 0.72), rgba(44, 44, 44, 0.45), rgba(44, 44, 44, 0.82));
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--cream);
  text-align: center;
  margin-top: 44px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1.05rem, 2.6vw, 1.52rem);
  max-width: 740px;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  transform: translateX(-50%);
}

.hero-scroll button {
  color: var(--cream);
  font-size: 2.3rem;
  animation: bounce 1.8s infinite;
  opacity: 0.88;
}

.steam-wrapper {
  position: absolute;
  left: 50%;
  bottom: -16px;
  z-index: 2;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-beans {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.coffee-bean {
  position: absolute;
  color: rgba(111, 78, 55, 0.3);
  animation: float 8s ease-in-out infinite;
}

.section {
  padding: 6.5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-charcoal {
  background: var(--charcoal);
}

.section-saddle {
  position: relative;
  background: var(--saddle-brown);
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-title-light h2 {
  color: var(--cream);
}

.title-line {
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: var(--coffee-brown);
  margin: 0.9rem auto 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(44, 44, 44, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 36px rgba(44, 44, 44, 0.2);
}

.card-image-wrap {
  height: 220px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-image-wrap img {
  transform: scale(1.08);
}

.card-body {
  padding: 1rem 1rem 1.1rem;
}

.card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.card-body p {
  color: rgba(44, 44, 44, 0.7);
  font-size: 0.92rem;
  min-height: 2.8rem;
}

.card-meta {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
}

.card-price {
  font-size: 1.4rem;
  color: var(--coffee-brown);
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.card-note {
  border-radius: 999px;
  background: rgba(111, 78, 55, 0.12);
  color: var(--coffee-brown);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  font-weight: 700;
  padding: 0.28rem 0.62rem;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  min-height: 500px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.photo-accent {
  position: absolute;
  border-radius: 18px;
  z-index: -1;
}

.photo-accent-one {
  width: 180px;
  height: 180px;
  background: rgba(111, 78, 55, 0.2);
  right: -18px;
  bottom: -18px;
}

.photo-accent-two {
  width: 120px;
  height: 120px;
  border: 4px solid rgba(111, 78, 55, 0.3);
  left: -18px;
  top: -18px;
}

.about-copy h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-copy .title-line {
  margin-left: 0;
}

#about-paragraphs {
  margin-top: 1rem;
}

#about-paragraphs p {
  color: rgba(245, 245, 220, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.about-stats {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-stats > div {
  text-align: center;
}

.about-stats strong {
  display: block;
  color: var(--coffee-brown);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.about-stats span {
  color: rgba(245, 245, 220, 0.72);
  font-size: 0.9rem;
}

.about-stats .divider {
  width: 1px;
  height: 52px;
  background: rgba(245, 245, 220, 0.2);
}

.menu-wrap {
  width: min(900px, calc(100% - 2rem));
}

.menu-tabs {
  background: rgba(44, 44, 44, 0.06);
  border-radius: 14px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 1rem;
}

.menu-tab {
  border-radius: 10px;
  padding: 0.82rem 0.75rem;
  font-weight: 700;
  color: rgba(44, 44, 44, 0.8);
  text-transform: capitalize;
}

.menu-tab.active {
  background: var(--coffee-brown);
  color: var(--cream);
}

.menu-panel {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.2rem;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(44, 44, 44, 0.08);
  padding: 1rem 0.4rem;
  opacity: 0;
  transform: translateX(8px);
  transition: background-color 0.18s ease, opacity 0.22s ease, transform 0.22s ease;
}

.menu-item:first-child {
  border-top: 0;
}

.menu-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.menu-item:hover {
  background: rgba(111, 78, 55, 0.05);
}

.menu-item h4 {
  margin-bottom: 0.2rem;
  font-size: 1.25rem;
}

.menu-item p {
  font-size: 0.92rem;
  color: rgba(44, 44, 44, 0.65);
}

.menu-price {
  color: var(--coffee-brown);
  font-weight: 700;
  font-family: "Playfair Display", serif;
  font-size: 1.28rem;
  white-space: nowrap;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.info-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.icon-box {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  font-weight: 800;
  border-radius: 12px;
  background: rgba(111, 78, 55, 0.1);
  color: var(--coffee-brown);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.info-item:hover .icon-box {
  background: var(--coffee-brown);
  transform: translateY(-1px);
  color: var(--cream);
}

.info-item h3 {
  font-size: 1.15rem;
}

.info-item p,
.info-item a {
  color: rgba(44, 44, 44, 0.72);
}

.info-item a:hover {
  color: var(--coffee-brown);
}

.hours-list {
  margin-top: 0.4rem;
  display: grid;
  gap: 0.3rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(44, 44, 44, 0.72);
  font-size: 0.95rem;
}

.hours-row strong {
  font-weight: 700;
  color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0.42);
  transition: background-color 0.3s ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  color: var(--cream);
  background: rgba(44, 44, 44, 0.64);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 2;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: grayscale(0);
}

.gallery-item:hover::after {
  background: rgba(44, 44, 44, 0.05);
}

.gallery-item:hover figcaption {
  opacity: 1;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(8px);
  padding: 1.2rem;
}

.gallery-modal.open {
  display: flex;
}

.gallery-modal img {
  max-width: min(980px, 95vw);
  max-height: 85vh;
  border-radius: 14px;
  animation: scale-in 0.25s ease-out;
}

.gallery-modal p {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  background: rgba(44, 44, 44, 0.66);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--cream);
  font-size: 2.2rem;
}

.testimonials {
  position: relative;
  overflow: hidden;
}

.quote-bg {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: 14rem;
  color: rgba(111, 78, 55, 0.08);
  line-height: 0.8;
  pointer-events: none;
}

.quote-bg-left {
  top: 40px;
  left: 20px;
}

.quote-bg-right {
  right: 20px;
  bottom: 30px;
  transform: rotate(180deg);
}

.testimonial-shell {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: left;
  padding: 1.5rem 3.3rem 1.4rem;
  min-height: 320px;
  overflow: hidden;
}

.testimonial-quote {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(111, 78, 55, 0.2);
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.6rem 0.4rem;
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--coffee-brown);
}

.testimonial-meta h3 {
  font-size: 1.2rem;
  margin: 0;
}

.testimonial-meta p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(44, 44, 44, 0.55);
}

.testimonial-text {
  color: rgba(44, 44, 44, 0.8);
  font-size: clamp(1rem, 2.5vw, 1.22rem);
  line-height: 1.7;
  font-style: italic;
  min-height: 128px;
}

.testimonial-stars {
  margin: 1rem 0 0;
  color: #f4b400;
  display: flex;
  gap: 0.16rem;
}

.testimonial-stars .star {
  font-size: 1rem;
}

.testimonial-author {
  font-size: 1.2rem;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(111, 78, 55, 0.08);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
}

.slide-arrow.left {
  left: 10px;
}

.slide-arrow.right {
  right: 10px;
}

.slide-arrow:hover {
  background: rgba(111, 78, 55, 0.22);
}

.testimonial-dots {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.2);
  transition: width 0.24s ease, background-color 0.24s ease;
}

.dot.active {
  width: 28px;
  background: var(--coffee-brown);
}

.pattern-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 10px 10px, #f5f5dc 2px, transparent 2px);
  background-size: 30px 30px;
}

.contact-wrap {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}

.contact-wrap h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-wrap p {
  margin-top: 0.85rem;
  color: rgba(245, 245, 220, 0.82);
  font-size: 1.08rem;
}

.newsletter-form {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(245, 245, 220, 0.25);
  background: rgba(245, 245, 220, 0.12);
  color: var(--cream);
  padding: 0 1rem;
}

.newsletter-form input::placeholder {
  color: rgba(245, 245, 220, 0.52);
}

.newsletter-form input:focus {
  outline: 0;
  background: rgba(245, 245, 220, 0.2);
  border-color: var(--cream);
}

.btn-newsletter {
  min-width: 160px;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.btn-newsletter.success {
  background: #16a34a;
}

.btn-newsletter.loading {
  pointer-events: none;
}

.contact-wrap small {
  display: block;
  margin-top: 0.8rem;
  color: rgba(245, 245, 220, 0.52);
}

.site-footer {
  background: var(--charcoal);
  padding-top: 4rem;
  padding-bottom: 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.3rem;
}

.footer-logo {
  height: 82px;
  width: auto;
  margin-bottom: 0.8rem;
}

.site-footer h3 {
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.site-footer p {
  color: rgba(245, 245, 220, 0.72);
}

.footer-links,
.footer-contact,
.footer-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
  margin-bottom: 0.45rem;
  color: rgba(245, 245, 220, 0.7);
}

.footer-contact li {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: baseline;
  gap: 0.6rem;
}

.footer-label {
  display: inline-block;
  color: rgba(245, 245, 220, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.7rem;
  font-weight: 700;
}

.footer-links button {
  color: rgba(245, 245, 220, 0.7);
  padding: 0;
}

.footer-links button:hover,
.footer-contact a:hover {
  color: var(--coffee-brown);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-hours span:last-child {
  color: var(--cream);
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 245, 220, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.55rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(245, 245, 220, 0.74);
  background: rgba(245, 245, 220, 0.1);
}

.social-links a:hover {
  color: var(--cream);
  background: var(--coffee-brown);
}

.back-to-top {
  position: fixed;
  z-index: 60;
  border-radius: 999px;
  background: var(--coffee-brown);
  color: var(--cream);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(44, 44, 44, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.32s ease, transform 0.32s ease, background-color 0.25s ease;
}

.back-to-top:hover {
  background: var(--saddle-brown);
}

.back-to-top {
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(10px);
}

.js-enabled .reveal-left {
  transform: translateX(-14px);
}

.js-enabled .reveal-right {
  transform: translateX(14px);
}

.js-enabled .reveal.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.steam-container {
  position: relative;
  width: 200px;
  height: 150px;
}

.steam {
  position: absolute;
  bottom: 0;
  width: 8px;
  background: linear-gradient(to top, rgba(245, 245, 220, 0), rgba(245, 245, 220, 0.3));
  border-radius: 50%;
  filter: blur(8px);
  animation: steam-rise 3s ease-out infinite;
}

.steam-1 {
  left: 50px;
  height: 80px;
  animation-delay: 0s;
}

.steam-2 {
  left: 90px;
  height: 100px;
  animation-delay: 0.5s;
}

.steam-3 {
  left: 130px;
  height: 90px;
  animation-delay: 1s;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-60px) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
    opacity: 0.5;
  }
}

@keyframes steam-rise {
  0% {
    transform: translateY(0) scaleX(1);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  50% {
    transform: translateY(-50px) scaleX(1.5);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) scaleX(2);
    opacity: 0;
  }
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

@keyframes scale-in {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1120px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-inner {
    min-height: 80px;
  }

  .logo-image {
    height: 64px;
    max-width: min(60vw, 260px);
  }

  .site-header.is-scrolled .logo-image {
    height: 58px;
  }

  .desktop-nav,
  .desktop-visit {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.28s ease;
    opacity: 0;
  }

  .mobile-menu.open {
    max-height: 400px;
    opacity: 1;
    padding: 0 1rem 1rem;
    background: rgba(245, 245, 220, 0.96);
    box-shadow: 0 12px 22px rgba(44, 44, 44, 0.12);
  }

  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    min-height: 400px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1200px, calc(100% - 1.4rem));
  }

  .section {
    padding: 4.8rem 0;
  }

  .hero-content {
    margin-top: 72px;
    padding: 0 0.2rem;
  }

  .menu-tabs {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .map-wrap {
    min-height: 320px;
  }

  .location-card {
    padding: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .testimonial-shell {
    padding: 1.1rem 1.8rem;
  }

  .slide-arrow.left {
    left: 2px;
  }

  .slide-arrow.right {
    right: 2px;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    min-height: 68px;
  }

  .logo-image {
    height: 54px;
    max-width: 68vw;
  }

  .site-header.is-scrolled .logo-image {
    height: 50px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 4rem 0;
  }

  .featured-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .quote-bg {
    font-size: 8rem;
  }

  .testimonial-shell {
    padding: 1rem 1rem 3.4rem;
    min-height: 0;
  }

  .testimonial-text {
    min-height: 0;
  }

  .slide-arrow {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .slide-arrow.left {
    left: calc(50% - 48px);
  }

  .slide-arrow.right {
    right: calc(50% - 48px);
  }
}
