/* ══════════════════════════════════════════════════════
   DEAR MUSÉ — MAIN CSS v2
   Premium redesign: cinematic, editorial, handcrafted
══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Nunito:wght@300;400;500;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────────── */
:root {
  --avocado-cream: #D4DB74;
  --vanilla-cream: #FFF7E6;
  --blush-petal: #F7C8D3;
  --logo-taupe: #9C8474;
  --logo-mocha: #7A5C4A;
  --ink: #1A1916;
  --smoke: #6B6860;
  --parchment: #F2EDE4;
  --bone: #EDE8DF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Lora', serif;

  --section-gap: 120px;
  --container: 1280px;

  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-snap: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: #000;
  background: var(--vanilla-cream);
  line-height: 1.85;
  overflow-x: hidden;
  cursor: auto;
}

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

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

ul,
ol {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: var(--font-body);
  font-size: inherit;
}

/* ─── Custom Cursor (disabled) ─────────────────────────── */
.cursor,
.cursor-ring,
.cursor-label {
  display: none !important;
}

/* ─── Loading Screen ─────────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--avocado-cream, #D4DB74);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.6s var(--ease-silk), visibility 0.6s;
}

#loading-screen .loading-wordmark {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-style: italic;
  font-weight: 400;
  color: var(--ink, #1A1916);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: loadReveal 1s var(--ease-out-expo) 0.3s forwards;
}

#loading-screen .loading-bar-wrap {
  width: 120px;
  height: 1px;
  background: rgba(26, 25, 22, 0.15);
  overflow: hidden;
  opacity: 0;
  animation: loadReveal 0.4s ease 0.8s forwards;
}

#loading-screen .loading-bar {
  height: 100%;
  background: var(--ink, #1A1916);
  animation: loadBar 0.9s var(--ease-out-expo) 0.9s forwards;
  transform: scaleX(0);
  transform-origin: left;
}

#loading-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loadReveal {
  to {
    opacity: 1;
  }
}

@keyframes loadBar {
  to {
    transform: scaleX(1);
  }
}

/* ─── Page Transitions ───────────────────────────────── */
body.page-entering {
  animation: pageFadeIn 0.5s var(--ease-out-expo) both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Page Transition Overlay ────────────────────────── */
#page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #D4DB74;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Start above the viewport (hidden) */
  transform: translateY(-100%);
  will-change: transform;
}

#page-transition-overlay .pto-text {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  /* A bit larger cinematic font sizing */
  font-style: italic;
  font-weight: 400;
  color: #1A1916;
  letter-spacing: 0.06em;
  /* Premium layout spacing */
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
  text-align: center;
  line-height: 1;
}

/* Phase 1: slide DOWN to cover screen */
#page-transition-overlay.pto-enter {
  animation: ptoSlideDown 0.85s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Phase 2: slide UP to reveal new page */
#page-transition-overlay.pto-leave {
  animation: ptoSlideUp 0.9s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* Show text when overlay covers screen */
#page-transition-overlay.pto-enter .pto-text,
#page-transition-overlay.pto-visible .pto-text {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ptoSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0%);
  }
}

@keyframes ptoSlideUp {
  from {
    transform: translateY(0%);
  }

  to {
    transform: translateY(110%);
  }
}

/* ─── Typography ─────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

.section-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--logo-taupe);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 0.5px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.body-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: #000;
  line-height: 1.85;
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

section {
  padding: var(--section-gap) 0;
}

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s var(--ease-silk), transform 0.25s var(--ease-silk);
}

/* Sweep fill effect */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 0;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn-dark {
  background: var(--ink);
  color: var(--vanilla-cream);
}

.btn-dark::before {
  background: var(--logo-mocha);
}

.btn-dark:hover {
  color: var(--vanilla-cream);
  transform: translateY(-2px);
}

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

.btn-outline::before {
  background: var(--vanilla-cream);
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--vanilla-cream);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline-dark::before {
  background: var(--avocado-cream);
}

.btn-outline-dark:hover {
  color: var(--ink);
  border-color: var(--avocado-cream);
}

/* Arrow button variant */
.btn-arrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--logo-mocha);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap 0.3s var(--ease-silk), color 0.2s;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-arrow:hover {
  gap: 16px;
  color: var(--ink);
}

/* ─── Scroll Reveal ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger via CSS variables */
[data-delay="1"] {
  transition-delay: 0.1s;
}

[data-delay="2"] {
  transition-delay: 0.2s;
}

[data-delay="3"] {
  transition-delay: 0.3s;
}

[data-delay="4"] {
  transition-delay: 0.4s;
}

[data-delay="5"] {
  transition-delay: 0.5s;
}

/* ─── Marquee Ticker ─────────────────────────────────── */
.marquee-band {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 247, 230, 0.5);
  padding: 0 32px;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--logo-taupe);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── Nav ────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-silk),
    border-color 0.4s,
    box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(255, 247, 230, 0.98);
  border-bottom: 0.5px solid var(--bone);
  box-shadow: 0 2px 40px rgba(26, 25, 22, 0.06);
}

.site-header.hero-mode {
  background: transparent;
}

.nav-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 115px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4rem;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
  list-style: none;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  list-style: none;
}

.nav-actions {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease-silk);
  flex-shrink: 0;
  z-index: 10;
}

.nav-logo img {
  height: 88px;
  width: auto;
  display: block;
  transition: opacity 0.3s, filter 0.4s;
  mix-blend-mode: multiply;
}

/* White pill background for logo on hero to ensure perfect contrast */
.site-header.hero-mode .nav-logo {
  background: var(--vanilla-cream);
  padding: 8px 24px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(26, 25, 22, 0.15);
}

.site-header.hero-mode .nav-logo img {
  filter: none;
  mix-blend-mode: multiply;
  opacity: 1;
}

.site-header.hero-mode .nav-left a,
.site-header.hero-mode .nav-right a:not(.nav-cta) {
  color: var(--vanilla-cream);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header.hero-mode .nav-left a:hover,
.site-header.hero-mode .nav-right a:not(.nav-cta):hover {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.site-header.hero-mode .nav-cta {
  background: rgba(255, 247, 230, 0.15) !important;
  border: 1px solid rgba(255, 247, 230, 0.4) !important;
  color: var(--vanilla-cream) !important;
  border-radius: 50px !important;
}

.site-header.hero-mode .nav-cta:hover {
  background: #D4DB74 !important;
  color: var(--ink) !important;
  border-color: #D4DB74 !important;
}

.nav-left a,
.nav-right a:not(.nav-cta) {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s, text-shadow 0.25s;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.nav-left a::after,
.nav-right a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 0.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-silk);
}

.nav-left a:hover::after,
.nav-right a:not(.nav-cta):hover::after,
.nav-left a.active::after,
.nav-right a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-left a:hover,
.nav-right a:not(.nav-cta):hover,
.nav-left a.active,
.nav-right a.active {
  color: var(--logo-mocha);
}

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--vanilla-cream) !important;
  background: var(--logo-mocha) !important;
  padding: 11px 24px !important;
  border-radius: 50px !important;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, color 0.3s !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  color: var(--ink) !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #D4DB74;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out-expo);
  z-index: 0;
}

.nav-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

/* Language Switcher Pill */
.nav-lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.lang-pill {
  display: flex;
  background: rgba(26, 25, 22, 0.05);
  border-radius: 20px;
  padding: 3px;
  position: relative;
  border: 1px solid rgba(26, 25, 22, 0.1);
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--smoke);
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease-silk);
  z-index: 1;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--ink);
  color: var(--vanilla-cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header.hero-mode .lang-pill {
  background: rgba(255, 247, 230, 0.15);
  border-color: rgba(255, 247, 230, 0.3);
}

.site-header.hero-mode .lang-btn {
  color: rgba(255, 247, 230, 0.7);
}

.site-header.hero-mode .lang-btn:hover {
  color: var(--vanilla-cream);
}

.site-header.hero-mode .lang-btn.active {
  background: var(--vanilla-cream);
  color: var(--ink);
}

/* Hide Google Translate UI and Tooltips completely */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-gadget,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
  display: none !important;
  visibility: hidden !important;
}

html,
body {
  top: 0px !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.nav-hamburger {
  display: none;
  grid-column: 3;
  justify-self: end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: all 0.35s var(--ease-silk);
  transform-origin: center;
}

.site-header.hero-mode .nav-hamburger span {
  background: var(--vanilla-cream);
}

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

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 2.5rem;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.4s, clip-path 0.5s var(--ease-out-expo);
  overflow: hidden;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(212, 219, 116, 0.12) 0%, rgba(212, 219, 116, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.mobile-menu::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(247, 200, 211, 0.15) 0%, rgba(247, 200, 211, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.mobile-menu-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mobile-menu-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.mobile-menu-item .menu-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--blush-petal);
  opacity: 0.6;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 247, 230, 0.35);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.3;
  transition: color 0.25s, transform 0.3s var(--ease-silk);
  display: inline-block;
}

.mobile-menu a:hover {
  color: var(--vanilla-cream);
  transform: translateX(8px);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  clip-path: inset(0 0 0% 0);
}

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 247, 230, 0.4);
  font-size: 20px;
  padding: 8px;
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: var(--vanilla-cream);
}

.mobile-menu-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--logo-taupe);
  margin-bottom: 32px;
  display: block;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--avocado-cream, #D4DB74);
  color: var(--ink, #1A1916);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s var(--ease-out-expo);
}

.footer-brand .footer-logo:hover {
  transform: translateY(-4px);
}

.footer-brand .footer-logo img {
  height: 88px;
  filter: brightness(0.15);
  mix-blend-mode: multiply;
  opacity: 1;
}

.footer-brand p {
  font-size: 19px;
  line-height: 1.75;
  max-width: 280px;
  font-style: italic;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink, #1A1916);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 17px;
  color: rgba(26, 25, 22, 0.7);
  transition: color 0.2s, padding-left 0.25s var(--ease-silk);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--ink, #1A1916);
  padding-left: 6px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 25, 22, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #1A1916);
  transition: all 0.25s var(--ease-silk);
}

.footer-social a:hover {
  border-color: var(--ink);
  color: var(--vanilla-cream);
  background: var(--ink);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(26, 25, 22, 0.1);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: rgba(26, 25, 22, 0.6);
}

.footer-bottom p:first-child {
  grid-column: 1;
  text-align: center;
  margin: 0;
}

.footer-bottom p:last-child {
  grid-column: 2 / -1;
  text-align: right;
  margin: 0;
}

/* ─── Forms ──────────────────────────────────────────── */
.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--bone);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: all 0.35s var(--ease-silk);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--logo-taupe);
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 25, 22, 0.04);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 16px;
}

.form-required {
  color: var(--logo-mocha);
}

/* ─── Page Hero (inner pages) ────────────────────────── */
.page-hero {
  height: 55vh;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease-out;
}

.page-hero:hover .page-hero-img {
  transform: scale(1.03);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(26, 25, 22, 0.0) 0%,
      rgba(26, 25, 22, 0.5) 100%);
}

.page-hero-content {
  position: relative;
  padding: 4rem 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.page-hero-content .page-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 247, 230, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-hero-content .page-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 0.5px;
  background: rgba(255, 247, 230, 0.4);
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  color: var(--vanilla-cream);
  font-style: italic;
}

/* ─── Grain Texture Overlay ─────────────────────────── */
.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

/* ─── Utility ────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.text-smoke {
  color: var(--smoke);
}

.mt-s {
  margin-top: 16px;
}

.mt-m {
  margin-top: 32px;
}

.mt-l {
  margin-top: 56px;
}

.mb-s {
  margin-bottom: 16px;
}

.mb-m {
  margin-bottom: 32px;
}

/* Editorial Custom Accents */
.badge-editorial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--blush-petal);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.05em;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(247, 200, 211, 0.25);
  border: 1px solid rgba(255, 247, 230, 0.4);
  z-index: 2;
}

.text-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  right: -2px;
  height: 8px;
  background: var(--blush-petal);
  z-index: -1;
  opacity: 0.8;
  transform: rotate(-0.5deg);
  border-radius: 2px;
}

.star-accent {
  color: var(--blush-petal);
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-4px) rotate(10deg);
  }
}

/* ─── Flash messages ─────────────────────────────────── */
.flash-success,
.flash-error {
  padding: 14px 24px;
  font-size: 13px;
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.6;
}

.flash-success {
  background: #ecfdf5;
  color: #065f46;
  border-left: 2px solid #10b981;
}

.flash-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 2px solid #ef4444;
}



/* Fixed Language Switcher Widget (directly above music player) */
.lang-player-widget {
  position: fixed;
  bottom: 152px;
  /* Increased from 92px by 60px */
  left: 32px;
  z-index: 998;
  display: flex;
  align-items: center;
}

.lang-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--bone);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.lang-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  background: var(--vanilla-cream);
}

.lang-tooltip {
  position: absolute;
  left: 60px;
  background: var(--ink);
  color: var(--vanilla-cream);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.lang-player-widget:hover .lang-tooltip {
  opacity: 0.9;
  transform: translateX(0);
}

/* ─── Ambient Music Player ──────────────────────────── */
.music-player-widget {
  position: fixed;
  bottom: 92px;
  /* Increased from 32px by 60px */
  left: 32px;
  z-index: 998;
  display: flex;
  align-items: center;
}

.music-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--bone);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.music-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  background: var(--vanilla-cream);
}

/* Equalizer waves */
.music-waves {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.music-waves span {
  width: 2px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  animation: music-bounce 1s ease-in-out infinite alternate;
}

.music-waves span:nth-child(1) {
  animation-duration: 0.6s;
}

.music-waves span:nth-child(2) {
  animation-duration: 0.8s;
  animation-delay: 0.15s;
}

.music-waves span:nth-child(3) {
  animation-duration: 0.7s;
  animation-delay: 0.3s;
}

.music-waves span:nth-child(4) {
  animation-duration: 0.9s;
  animation-delay: 0.05s;
}

@keyframes music-bounce {
  0% {
    height: 3px;
  }

  100% {
    height: 14px;
  }
}

.music-player-widget.playing .music-waves {
  display: flex;
}

.music-player-widget.playing .music-icon-play {
  display: none;
}

.music-player-widget.paused .music-waves {
  display: none;
}

.music-player-widget.paused .music-icon-play {
  display: block;
}

/* Tooltip */
.music-tooltip {
  position: absolute;
  left: 60px;
  background: var(--ink);
  color: var(--vanilla-cream);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
  font-family: var(--font-body);
  text-transform: uppercase;
}

.music-player-widget:hover .music-tooltip {
  opacity: 0.9;
  transform: translateX(0);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1200px) {

  .nav-left,
  .nav-right {
    gap: 1.25rem;
  }

  .nav-actions {
    gap: 1rem;
    right: 0;
  }

  .nav-inner {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

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

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom p:first-child {
    grid-column: 1;
    text-align: center;
    margin: 0;
  }

  .footer-bottom p:last-child {
    grid-column: 2;
    text-align: right;
    margin: 0;
  }

  .nav-left,
  .nav-right,
  .nav-actions {
    display: none;
  }

  .nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 64px;
    padding: 0 2rem;
  }

  .site-header .nav-logo,
  .site-header.hero-mode .nav-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }

  .nav-logo img {
    height: 52px;
  }

  .nav-hamburger {
    display: flex;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 767px) {
  :root {
    --section-gap: 60px;
  }

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

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-brand .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-bottom p:first-child,
  .footer-bottom p:last-child {
    text-align: center;
    margin: 0;
  }

  .container {
    padding: 0 1.5rem;
  }
}