/* 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;
  --gold: #e6c17a;
  --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);
}

.brand-name {
  display: flex;
  text-decoration: none;
}

/* Her logo: small in the top bar, big over the home page's top photo */
.brand-logo {
  width: auto;
  height: 14px;
}

/* Main categories: inside the top bar on wide screens, a row under it on phones */

.quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Narrower gaps on narrow phones, so the five links stay on one line down to 320 pixels wide. */
  column-gap: clamp(8px, 3.6vw, 20px);
}

.quick-nav a {
  padding: 8px 0;
  font-size: 14px;
  text-decoration: none;
  color: var(--cream-soft);
}

.quick-nav a:hover,
.quick-nav a[aria-current="page"] {
  color: var(--cream);
}

.quick-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.quick-nav-header {
  display: none;
}

.quick-nav-bar .quick-nav-wide-only {
  display: none;
}

/* The narrowest phones (320 pixels): slightly smaller links, so the row stays on one line. */
@media (max-width: 359px) {
  .quick-nav a {
    font-size: 13px;
  }
}

.quick-nav-bar {
  padding: 2px 16px;
  border-bottom: 1px solid var(--line);
}

.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) * 30ms + 100ms);
}

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

@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);
  }
}

/* Icons sit in line with their text and take its colour */

.icon {
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
}

/* Buttons */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  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;
}

/* The photos lie on top of each other. The shown one fades in and slowly zooms out. */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-image.is-active {
  opacity: 1;
  animation: hero-zoom 7s ease-out both;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

/* Light at the top so her work shows, dark at the bottom so the words read clearly */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(20, 21, 22, 0.1), rgba(20, 21, 22, 0.3) 35%, rgba(20, 21, 22, 0.88) 70%, rgba(20, 21, 22, 0.97));
}

.hero-logo {
  margin: 0;
}

.hero-logo-image {
  width: min(78vw, 460px);
  height: auto;
}

/* Her current special, at the top of the home page */
.offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  border-radius: 9999px;
  background: rgba(20, 21, 22, 0.55);
  color: var(--cream);
  font-size: 14px;
  text-decoration: none;
}

.offer .icon {
  color: var(--gold);
}

.gold-stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.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;
}

.rise-in > * {
  animation: rise 0.6s var(--ease-out) both;
}

.rise-in > :nth-child(2) {
  animation-delay: 0.08s;
}

.rise-in > :nth-child(3) {
  animation-delay: 0.16s;
}

.rise-in > :nth-child(4) {
  animation-delay: 0.24s;
}

.rise-in > :nth-child(5) {
  animation-delay: 0.32s;
}

.rise-in > :nth-child(6) {
  animation-delay: 0.4s;
}

@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;
}

/* "Alicetown, Lower Hutt" above a service page's name */
.hero-place {
  color: var(--cream-soft);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.hero-trust {
  font-size: 14px;
  text-decoration: none;
}

/* Service page top, like a product page: photo above (phones) or beside (wide screens) the name,
   quick facts and booking button, so nobody has to scroll to see what it is or to book. */

.service-hero {
  display: flex;
  flex-direction: column;
}

.service-hero-image {
  width: 100%;
  height: 34vh;
  min-height: 220px;
  object-fit: cover;
}

.service-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 16px 0;
}

/* Phones: a little smaller, so the name, facts and booking button fit on the first screen. */
.service-hero .hero-title {
  font-size: 32px;
}

.service-hero .hero-body {
  font-size: 16px;
}

.service-hero .facts li {
  padding: 3px 12px;
  font-size: 13px;
}

/* Small outlined chips: the place under a top photo, and a service page's quick facts */

.location,
.facts li,
.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.location,
.facts li {
  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(16px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

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

.js .rule {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s 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: 22px 16px;
}

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

/* The normal content width inside a full-width section (for the heading above the photo row). */
.flush-inner {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 16px;
}

.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;
}

/* About: a real photo of Ariana above (phones) or beside (wide screens) her words */

.about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 20%;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-role {
  margin-top: -8px;
  color: var(--cream-soft);
}

/* A label that is also a heading (Reviews, the All Services groups) looks like the other labels. */
.rule-row h2 {
  margin: 0;
  font-weight: 300;
}

/* Booking Policies page: each policy under its own heading line */
.policy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

/* All Services page: each service with its time, a Book button and "More info". The groups sit
   close together in one section, with two columns of services on wide screens. */

.service-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

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

.all-service {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0 8px;
  border-bottom: 1px solid var(--line);
}

.all-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.all-service-name {
  font-size: 17px;
}

.all-service-time,
.all-service summary {
  color: var(--cream-soft);
  font-size: 14px;
}

.all-service summary {
  padding: 6px 0;
  cursor: pointer;
}

.all-service details p {
  color: var(--cream-soft);
}

/* Her work slides sideways forever. 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:hover .marquee-track {
  animation-play-state: paused;
}

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

  to {
    transform: translateX(0);
  }
}

/* Each item has a right margin (not a flex gap) so both copies are exactly the same width. Each
   links to Instagram. */
.reel-item {
  position: relative;
  flex: 0 0 auto;
  display: block;
  height: 300px;
  margin-right: 12px;
}

.reel-media {
  display: block;
  width: auto;
  height: 100%;
  object-fit: cover;
}

/* Mouse over a photo: it darkens and says "See on Instagram". */
.reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.2s;
}

.reel-item:hover .reel-overlay,
.reel-item:focus-visible .reel-overlay {
  opacity: 1;
}

/* Touch screens have no mouse over: a small Instagram icon in the corner shows the photo is a link. */
@media (hover: none) {
  .reel-overlay {
    inset: auto 10px 10px auto;
    background: none;
    opacity: 1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
  }

  .reel-overlay-label {
    display: none;
  }
}

/* Client reviews: a row you swipe on a phone (the next card peeks in), three side by side on wider screens */

.reviews {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.review {
  flex: 0 0 85%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  scroll-snap-align: start;
}

.review blockquote {
  margin: 0;
  flex: 1;
}

.stars {
  color: var(--gold);
  letter-spacing: 4px;
}

.google-rating {
  margin-top: -8px;
  font-size: 15px;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.review figcaption {
  font-weight: 500;
}

/* Find the studio */

/* Sections the page links to (#reviews, #visit) stop below the sticky header. */
.section[id] {
  scroll-margin-top: 64px;
}

.visit-travel {
  color: var(--cream-soft);
}

/* Phones: details, door photo and walk-through video (swipe between them), hours, map, buttons,
   one under the other. Wider screens: see the 768px rules. */
.visit {
  display: grid;
  gap: 20px;
  grid-template-areas: "details" "media" "hours" "map" "actions";
}

.visit-media {
  grid-area: media;
  min-width: 0;
}

.visit-media .carousel-media {
  border-radius: 12px;
}

.visit-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Opening hours, with the parking, train and stairs notes under them */
.visit-hours {
  grid-area: hours;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.visit-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map {
  grid-area: map;
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 12px;
}

.pill-outline {
  background: none;
  color: var(--cream);
  border: 1px solid var(--line);
}

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

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Your first visit: three numbered steps. Phones: the booking circle under them. Wide screens: beside them. */

.first-visit-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

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

.step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--cream-soft);
}

.step-text strong {
  color: var(--cream);
  font-weight: 500;
}

.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;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  text-decoration: none;
}

.service-photo {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

/* Wide screens: the photo grows a little and the arrow fills in when you point at a service */
@media (hover: hover) {
  .service:hover .service-photo {
    transform: scale(1.06);
  }

  .service:hover .arrow {
    background: var(--cream);
    color: var(--dark-text);
  }
}

.service-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.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 */

.facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.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-frame {
  position: relative;
}

/* Arrows at the sides move one picture. Touch screens swipe instead, so only a mouse gets them. */
.carousel-arrow {
  display: none;
}

@media (hover: hover) {
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: var(--cream);
    cursor: pointer;
  }

  .carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.75);
  }

  .carousel-arrow .icon {
    width: 24px;
    height: 24px;
  }

  .carousel-arrow-previous {
    left: 12px;
  }

  .carousel-arrow-next {
    right: 12px;
  }
}

.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;
}

/* 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 {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  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-bottom: 16px;
  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;
}

.services-intro {
  font-size: 18px;
}

.services-more {
  color: var(--cream-soft);
}

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

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  /* Phones: extra room at the bottom, so the booking bar never covers the footer. */
  padding: 32px 16px 112px;
  border-top: 1px solid var(--line);
  text-align: center;
}

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

.social {
  display: flex;
  gap: 20px;
}

.social .icon {
  width: 22px;
  height: 22px;
}

.link-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.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;
}

/* Phones: a booking button fixed to the bottom of the screen, within easy reach of a thumb. It slides
   up once the top photo's booking button scrolls away (src/site.js). */

.book-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(20, 21, 22, 0.92);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.25s ease-out, visibility 0s linear 0.25s;
}

.book-bar-shown .book-bar {
  transform: none;
  visibility: visible;
  transition: transform 0.25s ease-out;
}

.book-bar-shown .header .pill-small {
  display: none;
}

.not-found {
  align-items: center;
  text-align: center;
}

/* Wider screens */

@media (min-width: 768px) {
  .brand-logo {
    height: 18px;
  }

  .header {
    padding: 16px 32px;
  }

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

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

  .service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
  }

  .service-hero-image {
    height: auto;
    max-height: min(78vh, 720px);
    border-radius: 12px;
  }

  .service-hero-text {
    gap: 12px;
    padding: 0;
  }

  /* A wide photo (the nail photos) gets the bigger column, so it is not small next to the words. */
  .service-hero.is-wide {
    grid-template-columns: 3fr 2fr;
  }

  /* A tall photo (the brow and lash close-ups) shows as a square framed on the eye and brow
     (`heroPosition`): only cheek is trimmed, and the top section is not much taller than the words. */
  .service-hero:not(.is-wide) .service-hero-image {
    aspect-ratio: 1 / 1;
  }

  .service-hero .hero-title {
    font-size: 48px;
  }

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

  .service-hero .facts li {
    padding: 4px 14px;
    font-size: 14px;
  }

  .section {
    padding: 28px 32px;
  }

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

  .reel-item {
    height: 375px;
  }

  .service-photo {
    width: 128px;
    height: 128px;
  }

  .about {
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 40px;
  }

  .about-photo {
    max-width: none;
  }

  .all-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }

  /* Wide screens: address and hours side by side, then the door photo and video side by side
     (full width, so both are big enough to see), then a wide map, then the three buttons in a row */
  .visit {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "details hours" "media media" "map map" "actions actions";
    column-gap: 48px;
  }

  .visit-media .carousel-track {
    gap: 12px;
  }

  .visit-media .carousel-slide {
    flex-basis: calc(50% - 6px);
  }

  .visit-media .carousel-dots,
  .visit-media .carousel-arrow {
    display: none;
  }

  .map {
    height: 340px;
  }

  .flush-inner {
    padding: 0 32px;
  }

  .first-visit-body {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
  }

  .book-bar {
    display: none;
  }

  .book-bar-shown .header .pill-small {
    display: inline-flex;
  }

  .footer {
    padding-bottom: 32px;
  }

  .reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }

}

@media (min-width: 1024px) {
  .quick-nav-header {
    display: flex;
  }

  /* The three Find the Studio buttons in a row, each label on one line (Call has the longest). */
  .visit-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
  }

  .visit-actions .pill {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  .quick-nav-bar {
    display: none;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-image.is-active,
  .rise-in > *,
  .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;
  }

  .book-bar,
  .book-bar-shown .book-bar {
    transition: none;
  }
}
