@import url("https://fonts.googleapis.com/css2?family=Italiana&family=Montserrat:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500&family=Montserrat:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
:root {
  --ink: #111;
  --paper: #fffdfb;
  --white: #fff;
  --peach: #ffb184;
  --peach-dark: #f38b59;
  --peach-soft: #ffe4d5;
  --muted: #75716f;
  --line: #ead8cf;
  --header-h: 96px;
}

* {
  box-sizing: border-box;
}

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

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 50px);
  overflow-x: hidden;
  background: var(--paper);
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

main,
section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

main {
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
[role="button"] {
  touch-action: manipulation;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.section-divider {
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 28px;
  font: 600 1rem/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* Layout safety */
.site-header,
.menu-panel,
.menu-inner,
.site-footer,
.footer-main,
.footer-bottom,
.header-actions,
.desktop-nav {
  min-width: 0;
  max-width: 100%;
}

.site-footer {
  width: 100%;
}

.footer-main > *,
.footer-bottom > * {
  min-width: 0;
}

.footer-column nav a,
.footer-contact a,
.menu-inner > a {
  overflow-wrap: anywhere;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  height: var(--header-h);

  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);

  padding: 0 clamp(20px, 4vw, 72px);

  overflow: visible;

  background: rgba(255, 253, 251, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    height 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  height: 78px;
  background: rgba(255, 253, 251, 0.97);
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(17, 17, 17, 0.07);
}

.site-header.scrolled .brand {
  width: clamp(135px, 13vw, 185px);
}

/* Floating header logo */

.brand {
  position: relative;
  z-index: 55;

  flex: 0 0 auto;
  width: clamp(150px, 15vw, 220px);
  height: 100%;

  align-self: stretch;

  transition: width 0.3s ease;
}

.brand-logo {
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 10rem;
  aspect-ratio: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);

  transform: translate(-50%, 50%);

  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}



.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  transform-origin: center;
  will-change: transform;

  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.32));
}

/* Desktop navigation */

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.1vw, 36px);
  margin-left: auto;
}

.desktop-nav > a {
  position: relative;
  padding: 10px 0;

  font: 600 0.95rem "Barlow Condensed", sans-serif;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.desktop-nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;

  height: 2px;
  background: var(--peach-dark);

  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}



/* Social links */

.desktop-socials,
.mobile-socials,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.desktop-socials a {
  width: 34px;
  height: 34px;
  padding: 9px;

  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;

  transition: 0.22s ease;
}



/* Header buttons */

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.book-button {
  min-height: 48px;
  padding: 0 20px 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  border-radius: 999px;

  background: var(--ink);
  color: #fff;

  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.18);

  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  transition: 0.22s ease;
}



.book-icon {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile menu toggle */

.menu-toggle {
  position: relative;
  z-index: 75;

  width: 56px;
  height: 56px;

  display: none;
  place-content: center;
  gap: 7px;

  border: 0;
  border-radius: 50%;

  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobile navigation panel */

.menu-panel {
  position: fixed;

  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;

  z-index: 60;

  width: 100%;
  height: calc(100dvh - var(--header-h));

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  overflow-y: auto;
  overflow-x: hidden;

  background: var(--ink);
  color: #fff;

  transform: translateY(-100%);

  transition:
    transform 0.5s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.3s ease,
    visibility 0s linear 0.5s;
}

.menu-panel.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transform: translateY(0);

  transition:
    transform 0.5s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.3s ease,
    visibility 0s;
}

.menu-inner {
  min-height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 120px clamp(28px, 9vw, 100px) 70px;
}

.menu-inner > a:not(.menu-book) {
  width: max-content;
  max-width: 100%;

  font: 600 clamp(3rem, 11vw, 6rem) / 0.98
    "Barlow Condensed", sans-serif;

  text-transform: uppercase;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}



.menu-book {
  width: max-content;
  margin-top: 38px;
  padding: 16px 24px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-socials {
  margin-top: 32px;
}

.mobile-socials a {
  width: 45px;
  height: 45px;
  padding: 12px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.menu-meta {
  margin: 28px 0 0;
  color: #aaa;
}

/* Allow room for the fixed header and floating logo */

main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: calc(var(--header-h) + 54px);
  padding-right: 0;
  padding-left: 0;
  overflow-x: hidden;
}

/*
  Remove the rule above when your page-specific hero section already
  includes enough top padding. In that case, apply spacing to the hero.
*/

/* Footer */

.site-footer {
  position: relative;
  overflow: hidden;

  padding: clamp(85px, 8vw, 125px) clamp(28px, 8vw, 165px) 0;

  background: var(--paper);
  color: var(--ink);
}

.footer-main {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.2fr 0.72fr 1.08fr 1.2fr;
  gap: clamp(45px, 6vw, 105px);

  padding-bottom: 75px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 34px;

  font-size: clamp(2rem, 2.8vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-logo span {
  color: var(--peach-dark);
}

.footer-brand > p {
  max-width: 340px;
  margin-bottom: 44px;

  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  padding: 11px;

  border: 1px solid var(--line);
  border-radius: 50%;

  background: #fff;
  transition: 0.2s ease;
}



.footer-column h2 {
  margin-bottom: 35px;

  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  text-transform: none;
}

.footer-column nav,
.footer-contact address {
  display: grid;
  gap: 21px;
}

.footer-column nav a,
.footer-contact a {
  width: max-content;
  max-width: 100%;

  color: var(--muted);
  font-size: 1.02rem;

  transition: 0.2s ease;
}



.footer-contact address {
  font-style: normal;
}

.footer-contact p,
.footer-contact a {
  margin: 0;
  line-height: 1.55;
}

.footer-contact p {
  color: var(--muted);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border: 1px solid var(--line);
  background: #fff;
}

.featured-grid img {
  height: 145px;
  object-fit: cover;
}

.featured-grid img:not(:last-child) {
  border-right: 1px solid var(--line);
}

.footer-bottom {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  gap: 30px;

  padding: 37px 0 calc(37px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.core-rank {
  margin-left: 7px;
  color: var(--peach-dark);
  font-family: monospace;
}

/* Footer background shapes */

.footer-shape {
  position: absolute;

  border: 1px solid rgba(243, 139, 89, 0.2);
  border-radius: 50%;

  pointer-events: none;
}

.footer-shape::before,
.footer-shape::after {
  content: "";
  position: absolute;

  border: inherit;
  border-radius: inherit;
}

.footer-shape::before {
  inset: 28px;
}

.footer-shape::after {
  inset: 58px;
}

.footer-shape-one {
  top: -170px;
  left: -130px;

  width: 330px;
  height: 450px;

  transform: rotate(22deg);
}

.footer-shape-two {
  right: -130px;
  bottom: -220px;

  width: 380px;
  height: 520px;

  transform: rotate(65deg);
}

/* Floating page controls */

.mobile-book-button {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 35px;
  bottom: 112px;
  z-index: 100;

  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: var(--ink);
  color: #fff;

  cursor: pointer;
  font-size: 1.35rem;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(12px);

  transition: 0.25s ease;
}

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



.whatsapp-button {
  position: fixed;
  right: 27px;
  bottom: 27px;
  z-index: 101;

  width: 68px;
  height: 68px;
  padding: 14px;

  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;

  background: #25d366;
  color: #fff;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

@media (hover: hover) and (pointer: fine) {

  .desktop-nav > a:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }

  .desktop-socials a:hover {
      color: #fff;
      border-color: var(--peach-dark);
      background: var(--peach-dark);
      transform: translateY(-2px);
    }

  .book-button:hover {
      background: var(--peach-dark);
      transform: translateY(-2px);
    }

  .menu-inner > a:not(.menu-book):hover {
      color: var(--peach);
      transform: translateX(8px);
    }

  .footer-socials a:hover {
      color: #fff;
      border-color: var(--peach-dark);
      background: var(--peach-dark);
      transform: translateY(-3px);
    }

  .footer-column nav a:hover,
    .footer-contact a:hover {
      color: var(--peach-dark);
      transform: translateX(4px);
    }

  .back-to-top:hover {
      background: var(--peach-dark);
    }
}

/* Responsive */

@media (max-width: 1220px) {
  .desktop-socials {
    display: none;
  }

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

@media (max-width: 1050px) {
  .site-header,
  .site-header.scrolled,
  .site-header.header-released,
  .site-header.scrolled.header-released {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2100;

    padding: 0 clamp(20px, 4vw, 42px);

    background: transparent;
    background-color: transparent;

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    border: 0;
    box-shadow: none;
  }

  .brand {
    width: 150px;
    z-index: 2101;
  }

  .brand-logo {
    width: 8.5rem;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
  }

  .site-header.scrolled .brand {
    width: 145px;
  }

  .desktop-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    position: relative;
    z-index: 2200;
  }

  main {
    padding-top: 0;
  }

  .menu-panel {
    position: fixed;
    inset: 0;
    z-index: 3000;

    width: 100%;
    height: 100dvh;
    max-height: 100dvh;

    overflow-x: hidden;
    overflow-y: auto;

    background: var(--ink);
    color: #fff;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .menu-inner {
    width: 100%;
    min-height: 100dvh;

    justify-content: flex-start;

    padding-top: calc(90px + env(safe-area-inset-top));
    padding-bottom: calc(50px + env(safe-area-inset-bottom));
  }

  .menu-close {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    right: 12px;
    z-index: 3100;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: #111;
    color: #fff;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: scale(0.9);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }

  .menu-panel.open .menu-close {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: scale(1);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0s;
  }

  .menu-close span {
    position: absolute;

    width: 27px;
    height: 2px;

    border-radius: 999px;
    background: #fff;
  }

  .menu-close span:first-child {
    transform: rotate(45deg);
  }

  .menu-close span:last-child {
    transform: rotate(-45deg);
  }

  body.menu-open .menu-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 74px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 42px);
  }

  .site-header,
  .site-header.scrolled {
    height: var(--header-h);
    padding: 0 16px;
  }

  .book-button {
    display: none;
  }

  .brand,
  .site-header.scrolled .brand {
    position: absolute;
    left: 17%;
    bottom: 0;

    width: 8rem;
    height: 8rem;

    transform: translate(-50%, 50%);

    transition:
      left 0.35s ease,
      top 0.35s ease,
      bottom 0.35s ease,
      width 0.35s ease,
      height 0.35s ease,
      transform 0.35s ease,
      opacity 0.32s ease;
  }

  .brand-logo,
  .site-header.scrolled .brand-logo {
    position: static;

    width: 100%;
    height: 100%;

    transform: none;
  }

  .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .brand.logo-is-fading {
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.32s ease;
  }

  .brand.logo-repositioning {
    transition: none;
  }

  .site-header.scrolled .brand {
    position: fixed;

    left: 16px;
    top: calc(var(--header-h) / 2 + 7px);
    bottom: auto;

    width: 4rem;
    height: 4rem;

    transform: translateY(-50%);

    z-index: 2101;
  }

  .site-header.scrolled .brand:not(.logo-repositioning) {
    transition: opacity 0.45s ease;
  }

  .header-actions {
    position: static;
    margin: 0;
    transform: none;
  }

  .menu-toggle {
    position: fixed;

    top: 10px;
    right: 12px;

    width: 62px;
    height: 62px;

    display: grid;
    place-content: center;
    gap: 8px;

    border: 0;
    border-radius: 14px;

    background: var(--ink);

    z-index: 2200;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  }

  .menu-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
  }

  .book-icon {
    display: none;
  }

  main,
  main > section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  main {
    padding: 0;
    overflow-x: hidden;
  }

  main > section,
  .site-footer {
    margin-right: 0;
    margin-left: 0;
  }

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

  .mobile-book-button {
    position: fixed;
    right: 0;
    top: 16%;
    z-index: 1000;

    width: 82px;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    writing-mode: horizontal-tb;

    /* Hidden when first landing on page */
    transform: translateX(110%) translateY(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    background: #111;
    color: #fff;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    border-radius: 8px 0 0 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0.35s ease,
      background-color 0.25s ease,
      color 0.25s ease,
      border-color 0.25s ease;
  }


  /* User has scrolled and stopped */
  .mobile-book-button.has-scrolled {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }


  /* User is actively scrolling */
  .mobile-book-button.has-scrolled.is-scrolling {
    transform: translateX(110%) translateY(-50%);
    opacity: 0;
    pointer-events: none;
  }


  /* Your existing dark-section behaviour */
  .mobile-book-button.on-dark {
    background: #fff;
    color: #111;
  }


  /* Press effect */
  .mobile-book-button.has-scrolled:active {
    transform: translateX(0) translateY(-50%) scale(0.97);
  }

  .mobile-book-button span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-variant-emoji: text;
  }

  .mobile-book-button:active {
    transform: translateY(-50%) scale(0.97);
  }

  .mobile-book-button.on-dark {
    background: #fff;
    color: #111;
  }

  .back-to-top {
    display: none;
  }

  .whatsapp-button {
    border: none !important;
    right: 22px;
    bottom: 24px;
    z-index: 101;

    width: 58px;
    height: 58px;

    padding: 14px;

    transition:
      transform 0.45s ease,
      opacity 0.35s ease;
  }

  /* Hide to the right while scrolling */
  .whatsapp-button.is-scrolling {
    transform: translateX(130%);
    opacity: 0;
    pointer-events: none;
  }

   /* All NON-home pages:
     logo stays fixed top-left from page load */

  body:not([data-page="home"]) .brand {
    position: fixed;

    left: 16px;
    top: calc(var(--header-h) / 2 + 6px);
    bottom: auto;

    width: 4rem;
    height: 4rem;

    transform: translateY(-50%);

    opacity: 1;
    z-index: 2101;

    transition: opacity 0.35s ease;
  }

  body:not([data-page="home"]) .brand-logo {
    width: 100%;
    height: 100%;
    transform: none;
  }
}

@media (max-width: 520px) {

  .site-header,
  .site-header.scrolled {
    padding: 0 10px;
  }

  /* HOME PAGE — larger logo aligned with burger */
  body[data-page="home"] .brand {
    position: absolute;

    left: 12px;
    top: 15px;
    bottom: auto;

    width: 6.5rem;
    height: 6.5rem;

    transform: none;

    z-index: 2101;
  }

  body[data-page="home"] .brand-logo {
    width: 100%;
    height: 100%;
    transform: none;
  }

  /*
   * After home logo has been repositioned by JS,
   * keep the smaller version in its existing position.
   */
  body[data-page="home"] .site-header.scrolled .brand {
    position: fixed;

    left: 12px;
    top: calc(var(--header-h) / 2 + 6px);
    bottom: auto;

    width: 3.6rem;
    height: 3.6rem;

    transform: translateY(-50%);
  }


  /* OTHER PAGES — small fixed logo */
  body:not([data-page="home"]) .brand,
  body:not([data-page="home"]) .site-header.scrolled .brand {
    position: fixed;

    left: 12px;
    top: calc(var(--header-h) / 2 + 6px);
    bottom: auto;

    width: 3.6rem;
    height: 3.6rem;

    transform: translateY(-50%);

    z-index: 2101;
  }


  /* Burger */
  .menu-toggle {
    position: fixed;

    top: 16px;
    right: 12px;

    width: 58px;
    height: 58px;

    border-radius: 50px;
  }

  .menu-toggle span {
    width: 26px;
  }


  .menu-close {
    top: calc(6px + env(safe-area-inset-top));
    right: 8px;
  }


  .mobile-book-button {
    top: 16%;
  }


  .whatsapp-button {
    border: none !important;
    right: 12px;
    bottom: 24px;
  }
}