/* Bare Beauty site styles. Colours, font and motion match the old Merlin "Dark Modern" (metro) theme. */
:root {
  --bg: #141516;
  --cream: #fff8d7;
  --cream-soft: rgba(255, 248, 215, 0.7);
  --line: rgba(255, 248, 215, 0.35);
  --dark-text: #141516;
  --font: "Zalando Sans SemiExpanded", system-ui, sans-serif;
  --width: 960px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(20, 21, 22, 0.85);
  backdrop-filter: blur(8px);
}

.handle {
  text-decoration: none;
  font-size: 16px;
}

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

.menu-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 1.5px;
  background: var(--cream);
}

/* Menu: slides in from the right, then the links fade in one by one and a line draws under each */

.menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 24px 32px;
  overflow-y: auto;
  background: var(--bg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.32, 0, 0.67, 0), visibility 0s linear 0.3s;
}

.menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 34px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
}

.menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.menu-item a {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-size: 26px;
  font-weight: 200;
  line-height: 1.25;
  text-decoration: none;
}

.menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
}

.menu.is-open .menu-item {
  animation: menu-item-in 0.35s var(--ease-out) both;
  animation-delay: calc(var(--i) * 50ms + 150ms);
}

.menu.is-open .menu-item a::after {
  animation: line-draw 0.3s ease-out both;
  animation-delay: calc(var(--i) * 50ms + 350ms);
}

@keyframes menu-item-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes line-draw {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Buttons */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--dark-text);
  border-radius: 9999px;
  text-decoration: none;
  text-align: center;
}

.pill-small {
  padding: 6px 14px;
  font-size: 13px;
}

.pill-large {
  padding: 14px 32px;
  font-size: 16px;
}

.pill-wide {
  width: 100%;
  padding: 14px 24px;
  border-radius: 10px;
}

/* Hero: the words rise in when the page opens */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(20, 21, 22, 0.2), rgba(20, 21, 22, 0.8) 55%, rgba(20, 21, 22, 0.95));
}

.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: var(--width);
  padding: 32px 16px 56px;
  text-align: center;
}

.hero-text > * {
  animation: rise 0.9s var(--ease-out) both;
}

.hero-text > :nth-child(2) {
  animation-delay: 0.12s;
}

.hero-text > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero-text > :nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-title {
  margin: 0;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.15;
}

.hero-body {
  font-size: 18px;
}

.location {
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-size: 14px;
}

/* Scroll motion: only with the script (class "js"), so the page still shows everything without it */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .rule {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s ease-in-out;
}

.js .rule.is-visible {
  transform: scaleX(1);
}

/* Sections */

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 48px 16px;
}

.section-flush {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section-before {
  padding-bottom: 0;
}

.section-after {
  padding-top: 24px;
}

.title {
  margin: 0;
  font-weight: 300;
  font-size: 30px;
  line-height: 1.2;
}

.large-text {
  font-size: 18px;
}

.rule-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rule {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--line);
}

.label {
  font-size: 26px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.followers {
  font-size: 24px;
  text-decoration: none;
}

/* Rows that slide sideways forever (behind the scenes, client comments). No scrollbar. */

.marquee {
  overflow: hidden;
}

.marquee-track,
.marquee-copy {
  display: flex;
  align-items: flex-start;
}

.marquee-track {
  width: max-content;
  animation: slide-right calc(var(--count) * 22s) linear infinite;
}

.marquee-reverse .marquee-track {
  animation-name: slide-left;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes slide-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slide-left {
  from {
    transform: translateX(0);
  }

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

/* Each item has a right margin (not a flex gap) so both copies are exactly the same width. */
.reel-item {
  flex: 0 0 auto;
  width: 240px;
  height: 300px;
  margin-right: 12px;
  object-fit: cover;
}

.comment {
  flex: 0 0 260px;
  display: flex;
  gap: 12px;
  margin-right: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.comment-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-name {
  font-weight: 500;
}

/* Booking circle: an outline that fills with cream when it scrolls into view */

.cta {
  align-items: center;
}

.cta-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  padding: 24px;
  overflow: hidden;
  border: 2px solid var(--cream);
  border-radius: 50%;
  color: var(--dark-text);
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: color 0.4s ease-in-out 0.2s;
}

.cta-circle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  background: var(--cream);
  clip-path: circle(50%);
  transition: clip-path 0.4s ease-in-out 0.2s;
}

.cta-circle span {
  position: relative;
}

.js .cta-circle:not(.is-visible) {
  color: var(--cream);
}

.js .cta-circle:not(.is-visible)::before {
  clip-path: circle(0%);
}

/* Services list */

.services {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  text-decoration: none;
}

.service-number {
  font-size: 20px;
}

.service-name {
  font-size: 22px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--cream-soft);
}

.arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
}

/* Service page */

.price {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rich-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rich-text strong {
  font-weight: 500;
}

.rich-text ul,
.rich-text ol {
  padding-left: 24px;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.carousel-media {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--cream);
  opacity: 0.25;
  cursor: pointer;
  transition: opacity 0.3s;
}

.carousel-dot.is-active {
  opacity: 1;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-wide {
  grid-column: 1 / -1;
}

/* FAQ: closed at first, the arrow turns when a question opens */

.faq-title {
  margin: 0;
  font-weight: 300;
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.faq {
  display: flex;
  flex-direction: column;
}

.faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-right: 1.5px solid var(--cream);
  border-bottom: 1.5px solid var(--cream);
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.faq details[open] .chevron {
  transform: rotate(225deg);
}

.faq details p {
  padding-top: 8px;
  color: var(--cream-soft);
}

.faq details[open] p {
  animation: rise 0.4s ease-out both;
}

/* Links */

.links {
  align-items: center;
  text-align: center;
}

.links-title {
  margin: 0;
  font-weight: 300;
  font-size: 26px;
}

.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 20px;
  background: var(--cream);
  color: var(--dark-text);
  border-radius: 9999px;
  text-align: left;
  text-decoration: none;
}

.see-all {
  text-decoration: none;
}

.links-page {
  min-height: 70vh;
}

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-handle {
  font-size: 26px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  color: var(--cream-soft);
}

.copyright {
  color: var(--cream-soft);
  font-size: 14px;
}

.not-found {
  align-items: center;
  min-height: 60vh;
  justify-content: center;
  text-align: center;
}

/* Wider screens */

@media (min-width: 768px) {
  .header {
    padding: 16px 32px;
  }

  .menu {
    left: auto;
    width: 420px;
    border-left: 1px solid var(--line);
  }

  .hero-title {
    font-size: 56px;
  }

  .section {
    padding: 72px 32px;
  }

  .section-flush {
    padding-left: 0;
    padding-right: 0;
  }

  .section-before {
    padding-bottom: 0;
  }

  .section-after {
    padding-top: 32px;
  }

  .reel-item {
    width: 300px;
    height: 375px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .gallery-wide {
    grid-column: auto;
  }
}

/* People who ask their device for less motion get a still page */

@media (prefers-reduced-motion: reduce) {
  .hero-text > *,
  .menu.is-open .menu-item,
  .menu.is-open .menu-item a::after,
  .faq details[open] p {
    animation: none;
  }

  .menu-item a::after {
    transform: none;
  }

  .js .reveal,
  .js .rule {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .marquee::-webkit-scrollbar {
    display: none;
  }

  .marquee-track {
    animation: none;
  }

  .marquee-copy {
    display: none;
  }
}
