:root {
  color-scheme: light;
  --ink: #2a1811;
  --espresso: #1a0f0a;
  --cream: #f2dfc2;
  --paper: #fff3df;
  --sage: #416451;
  --tomato: #9f321f;
  --gold: #d9983f;
  --muted: #846b58;
  --line: rgba(33, 25, 21, 0.12);
  --shadow: 0 28px 90px rgba(31, 22, 17, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 184, 89, 0.28), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(159, 50, 31, 0.18), transparent 20rem),
    radial-gradient(circle at 50% 90%, rgba(65, 100, 81, 0.16), transparent 30rem),
    linear-gradient(180deg, #fff1dc 0%, #f2dfc2 46%, #e4c59c 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(122, 73, 38, 0.14) 0 1px, transparent 1px),
    linear-gradient(rgba(74, 42, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 42, 25, 0.035) 1px, transparent 1px);
  background-size: 18px 18px, 52px 52px, 52px 52px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.font-fraunces {
  font-family: "Fraunces", serif;
}

#main-header {
  background: transparent;
}

#main-header.scrolled {
  background: rgba(243, 234, 220, 0.9);
  backdrop-filter: blur(20px);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 10px 30px rgba(33, 25, 21, 0.05);
}

.header-link {
  position: relative;
  transition: color 300ms ease;
}

.header-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 300ms ease;
}

.header-link:hover::after {
  width: 100%;
}

.hero-headline {
  font-family: "Fraunces", serif;
  perspective: 1000px;
}

.hero-image-wrapper {
  transform: rotate(2deg);
  transition: transform 600ms cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-label {
  animation: slideRight 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes slideRight {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

[data-menu-toggle] span {
  transition: all 300ms ease;
}

[data-menu-toggle].active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

[data-menu-toggle].active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
  width: 1.5rem;
}

.section-title {
  font-size: clamp(2.35rem, 4.4vw, 4.5rem);
  font-weight: 650;
  line-height: 0.94;
  margin-top: 1rem;
  max-width: 48rem;
}

.section-label::before {
  background: currentColor;
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 0.42rem;
  margin-right: 0.75rem;
  vertical-align: 0.08rem;
  width: 0.42rem;
}

.intro-grid {
  background:
    radial-gradient(circle at top left, rgba(255, 210, 137, 0.28), transparent 16rem),
    linear-gradient(135deg, rgba(255, 243, 223, 0.96), rgba(246, 221, 184, 0.86)) !important;
  border: 1px solid rgba(119, 73, 42, 0.16);
  box-shadow: 0 28px 90px rgba(87, 49, 28, 0.2);
}

.intro-grid article {
  border: 1px solid rgba(112, 66, 36, 0.14);
  box-shadow: 0 20px 55px rgba(87, 49, 28, 0.14);
  overflow: hidden;
  position: relative;
}

.intro-grid article::after {
  background: rgba(255, 218, 156, 0.2);
  content: "";
  height: 8rem;
  position: absolute;
  right: -4rem;
  top: -4rem;
  transform: rotate(28deg);
  width: 10rem;
}

.glass-card {
  background:
    radial-gradient(circle at top left, rgba(255, 202, 122, 0.18), transparent 14rem),
    linear-gradient(145deg, rgba(64, 34, 20, 0.86), rgba(26, 15, 10, 0.88));
  border: 1px solid rgba(255, 219, 168, 0.2);
  border-radius: 2rem;
  box-shadow: 0 30px 90px rgba(15, 14, 12, 0.24);
  backdrop-filter: blur(18px);
}

.pill {
  background: #5a2b18;
  border: 1px solid rgba(217, 152, 63, 0.42);
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(20, 15, 12, 0.12);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.72rem 1rem;
}

.gallery-tile,
.feature-image {
  object-fit: cover;
  width: 100%;
}

.gallery-tile {
  background: var(--paper);
  border: 8px solid rgba(255, 243, 223, 0.82);
  border-radius: 1.4rem;
  box-shadow:
    0 24px 70px rgba(87, 49, 28, 0.22),
    inset 0 0 0 1px rgba(80, 44, 25, 0.08);
  filter: saturate(1.02) contrast(1.02) sepia(0.08);
  will-change: transform;
}

.feature-card {
  background:
    radial-gradient(circle at top left, rgba(255, 210, 137, 0.24), transparent 12rem),
    linear-gradient(180deg, rgba(255, 243, 223, 0.98), rgba(245, 218, 178, 0.9));
  border: 1px solid rgba(106, 62, 35, 0.13);
  border-radius: 2rem;
  box-shadow: 0 20px 70px rgba(47, 36, 31, 0.13);
  overflow: hidden;
  padding: 1rem;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.feature-card:hover {
  border-color: rgba(159, 50, 31, 0.24);
  box-shadow: 0 34px 90px rgba(87, 49, 28, 0.24);
  transform: translateY(-7px) rotate(-0.6deg);
}

.feature-image {
  border-radius: 1.5rem;
  height: 19rem;
  filter: sepia(0.08) saturate(1.03);
}

.section-band {
  background:
    radial-gradient(circle at top right, rgba(159, 50, 31, 0.12), transparent 20rem),
    radial-gradient(circle at 12% 70%, rgba(217, 152, 63, 0.18), transparent 18rem),
    linear-gradient(180deg, #fff0d8, #edd0a6) !important;
}

.form-field {
  background: rgba(255, 249, 239, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: var(--ink);
  outline: none;
  padding: 0.95rem 1rem;
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
  width: 100%;
}

.form-field:focus {
  border-color: rgba(212, 154, 69, 0.92);
  box-shadow: 0 0 0 4px rgba(212, 154, 69, 0.22);
  transform: translateY(-1px);
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.menu-sidebar {
  background:
    radial-gradient(circle at top left, rgba(255, 209, 135, 0.28), transparent 13rem),
    linear-gradient(145deg, rgba(255, 243, 223, 0.96), rgba(234, 197, 145, 0.88)) !important;
  border: 1px solid rgba(106, 62, 35, 0.14);
}

.menu-nav {
  scrollbar-width: none; /* Firefox */
}

.menu-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.menu-anchor {
  background: #0f5f55; /* primary */
  border: 1px solid #0f5f55;
  border-radius: 999px;
  color: #fff1dc; /* paper/cream */
  cursor: pointer;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  padding: 0.7rem 1.2rem;
  text-transform: uppercase;
  transition: all 400ms cubic-bezier(0.2, 1, 0.3, 1);
}

.menu-anchor:hover {
  background: #b73826; /* accent */
  border-color: #b73826;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(183, 56, 38, 0.25);
}

.menu-section {
  position: relative;
}

.menu-section h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.04em;
}

.menu-section h2::after {
  background: linear-gradient(90deg, rgba(159, 50, 31, 0.42), transparent);
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.85rem;
  width: min(12rem, 55%);
}

.menu-item + .menu-item {
  border-top: 1px dashed rgba(106, 62, 35, 0.22);
  margin-top: 1rem;
  padding-top: 1rem;
}

.menu-item h3 {
  color: var(--espresso);
}

.menu-item p:last-child {
  background: rgba(159, 50, 31, 0.1);
  border-radius: 999px;
  color: var(--tomato) !important;
  height: fit-content;
  padding: 0.35rem 0.75rem;
}

footer {
  background:
    radial-gradient(circle at top left, rgba(217, 152, 63, 0.16), transparent 18rem),
    linear-gradient(135deg, #1a0f0a, #32190e) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-parallax] {
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .section-title {
    max-width: 100%;
  }

  .hero-section::after {
    opacity: 0.35;
    right: -18rem;
  }
}
