/* Sarita Brows: black, white and grey, with a calligraphy script set
   against thin display capitals. */

:root {
  --black: #000;
  --ink: #0a0a0a;
  --white: #fff;
  --soft: #d6d6d6;
  --muted: #a6a6a6;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.4);
  --danger: #ff8f8f;
  --ok: #8fd6a3;

  /* Studio-backdrop glow behind every photo slot. */
  --backdrop: radial-gradient(ellipse 72% 62% at 50% 36%, #3f3f3f 0%, #1c1c1c 46%, #070707 86%);

  --script: "Ephesis", cursive;
  --display: "Italiana", serif;
  --caps: "Cinzel", serif;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1248px;
  --gutter: 16px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--black);
  border-bottom: 1px solid #1c1c1c;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.socials {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.2s;
}

.socials a:hover {
  opacity: 0.6;
}

.socials svg {
  width: 15px;
  height: 15px;
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang {
  display: flex;
  border: 1px solid var(--line-strong);
}

.lang button {
  min-width: 36px;
  min-height: 28px;
  padding: 2px 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang button[aria-pressed="true"] {
  background: var(--white);
  color: var(--black);
}

.lang button:not([aria-pressed="true"]):hover {
  color: var(--white);
}

.topbar-note {
  margin: 0;
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--black);
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 6px;
}

.header-row > * {
  grid-row: 1;
}

/* Header only: the footer logo shares the .logo class but not this grid. */
.header-row .menu-button,
.header-row .header-note {
  grid-column: 1;
}

.header-row .logo {
  grid-column: 2;
}

.header-row .header-book {
  grid-column: 3;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft);
}

.header-note svg {
  width: 10px;
  height: 10px;
}

.menu-button {
  display: none;
}

.logo {
  position: relative;
  justify-self: center;
  display: block;
  padding: 4px 34px;
  color: var(--white);
}

.logo img {
  width: clamp(190px, 16vw, 224px);
  height: auto;
}

.logo-spark {
  position: absolute;
  color: var(--white);
}

.logo-spark-1 {
  top: 2%;
  left: 4%;
  width: 20px;
  height: 20px;
}

.logo-spark-2 {
  right: 0;
  bottom: 24%;
  width: 26px;
  height: 26px;
}

.header-book {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.header-book svg {
  width: 16px;
  height: 16px;
}

.header-book:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  padding: 16px var(--gutter) 26px;
}

.site-nav a {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  color: var(--soft);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--white);
  text-decoration-line: underline;
}

/* ---------- Buttons ---------- */

.button,
.button-outline {
  display: inline-block;
  padding: 13px 28px;
  border: 2px solid var(--white);
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}

.button {
  background: var(--white);
  color: var(--black);
}

.button:hover {
  background: transparent;
  color: var(--white);
}

.button-outline {
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.button-outline:hover {
  background: var(--white);
  color: var(--black);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: opacity 0.2s;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.icon-button:hover {
  opacity: 0.65;
}

.icon-button[aria-disabled="true"] {
  opacity: 0.25;
  cursor: default;
}

/* ---------- Big script + capitals lockup ---------- */

.display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  margin: 0;
  font-weight: 400;
  line-height: 0.95;
}

.display-script {
  position: relative;
  z-index: 1;
  margin-right: 0.22em;
  font-family: var(--script);
  font-size: clamp(4.6rem, 13vw, 11.5rem);
  line-height: 0.8;
}

.display-caps {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8.6vw, 7.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.display-sub {
  margin: 0.75em 0 1.1em;
  text-wrap: balance;
  font-family: var(--caps);
  font-size: clamp(1.05rem, 2.5vw, 2.1rem);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.display-left {
  justify-content: flex-start;
}

.display-sm .display-caps {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.display-sm .display-script {
  margin-left: 0.12em;
  margin-right: 0;
  font-size: clamp(3.8rem, 8vw, 6.6rem);
}

/* ---------- Photo panels ---------- */

.panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--backdrop);
}

.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo frames: the whole photo, never cropped or blown up, on a soft
   blurred copy of itself (set --photo to the same file as the img). */
.frame {
  position: relative;
  overflow: hidden;
  background: #111;
}

.frame::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: var(--photo) center / cover no-repeat;
  filter: blur(22px) brightness(0.45) saturate(0.9);
}

.frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Hero slideshow ---------- */

.hero {
  position: relative;
  background: var(--black);
}

.hero-track {
  position: relative;
  height: clamp(480px, calc(100vh - 360px), 780px);
  height: clamp(480px, calc(100svh - 360px), 780px);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.slide-panels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.85fr 1fr;
  gap: 4px;
}

.slide-panels .panel-side {
  --backdrop: radial-gradient(ellipse 80% 70% at 50% 36%, #3f3f3f 0%, #222 50%, #141414 100%);
  filter: brightness(0.55);
}

.slide-panels .panel-main {
  --backdrop: radial-gradient(ellipse 80% 70% at 50% 34%, #5a5a5a 0%, #2a2a2a 50%, #161616 100%);
}

/* Soften the photos a touch so the white lettering stays the brightest thing. */
/* The feature photo fills its panel, lightly trimmed around the eye and
   lashes (--focus on the figure), with a touch of contrast so they read
   crisply. The side panels show their photos whole. */
.slide-panels .panel-main img {
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  filter: contrast(1.06) saturate(1.04);
}

.slide.is-active .panel-main img {
  animation: drift 9s ease-out both;
}

@keyframes drift {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

.slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4%;
  z-index: 2;
  padding: 0 var(--gutter);
  text-align: center;
}

/* Smaller than the other lockups, so the brows and eyes in the photos stay clear. */
.slide-copy .display-script {
  font-size: clamp(3.6rem, 8.5vw, 8rem);
}

.slide-copy .display-caps {
  font-size: clamp(2.2rem, 5.6vw, 5.2rem);
}

.slide-copy .display-sub {
  font-size: clamp(1rem, 1.9vw, 1.6rem);
}

.hero-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 0 6px;
}

.hero-dots {
  display: flex;
  gap: 2px;
}

.dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s;
}

.dot[aria-current]::before {
  background: var(--white);
  border-color: var(--white);
}

.hero-pause {
  width: 34px;
  height: 34px;
  margin-right: 6px;
}

.hero-pause svg {
  width: 20px;
  height: 20px;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  text-wrap: balance;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-title em {
  font-style: italic;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head-center .kicker {
  margin-bottom: 6px;
}

.row-arrows {
  display: flex;
  gap: 4px;
}

/* ---------- Service tiles ---------- */

.tiles {
  --start: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: grid;
  grid-auto-flow: column;
  /* Whole tiles plus part of the next one, so it's clear the row scrolls. */
  grid-auto-columns: calc((100vw - var(--gutter) - 20px) / 1.4);
  gap: 20px;
  margin: 0;
  padding: 6px var(--start) 8px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--start);
  scrollbar-width: none;
}

@media (min-width: 600px) {
  .tiles {
    grid-auto-columns: calc((100vw - var(--gutter) - 40px) / 2.4);
  }
}

@media (min-width: 860px) {
  .tiles {
    grid-auto-columns: calc((100vw - var(--gutter) - 60px) / 3.4);
  }
}

@media (min-width: 1180px) {
  .tiles {
    grid-auto-columns: min(300px, calc((100vw - max(var(--gutter), (100vw - var(--wrap)) / 2) - 80px) / 4.4));
  }
}

.row-arrows.is-idle {
  visibility: hidden;
}

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

.tile {
  scroll-snap-align: start;
}

.tile-link {
  display: block;
  text-decoration: none;
}

.tile-media {
  position: relative;
  display: block;
  container-type: inline-size;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--backdrop);
}

/* A tile can zoom its photo in a little with --zoom (and centre the zoom on
   --zoom-at, the brows and eyes), on top of the hover zoom. */
.tile-media img {
  object-position: 50% 22%;
  transform: scale(var(--zoom, 1));
  transform-origin: var(--zoom-at, 50% 40%);
  transition: transform 0.7s ease;
}

.tile-link:hover .tile-media img {
  transform: scale(calc(var(--zoom, 1) * 1.05));
}

.tile-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.8));
}

.tile-word {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  z-index: 1;
  display: grid;
  justify-items: center;
  line-height: 0.9;
  text-align: center;
}

.tile-caps {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 11.5cqi, 2.35rem);
  font-weight: 300;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tile-script {
  position: relative;
  margin-top: -0.26em;
  font-family: var(--script);
  font-size: clamp(1.9rem, 15cqi, 3.1rem);
}

.tile-name {
  font-variant-numeric: lining-nums tabular-nums;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.tile-price {
  flex: none;
  font-size: 16px;
}

.tile-note {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.tile-name > span:first-child {
  text-wrap: balance;
}

.tile-link:hover .tile-name > span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 126s linear infinite;
}

.ticker span {
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  content: "✦";
  margin: 0 1.1em;
  font-size: 0.6em;
  color: var(--muted);
}

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

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.about-media {
  aspect-ratio: 4 / 5;
}

.about-spark {
  position: absolute;
  color: var(--white);
}

.about-spark-1 {
  top: 9%;
  right: 10%;
  width: 26px;
  height: 26px;
}

.about-copy > p:not(.kicker):not(.signature) {
  max-width: 34em;
  margin: 22px 0 0;
  color: var(--soft);
}

.facts {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--caps);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts svg {
  flex: none;
  width: 11px;
  height: 11px;
}

.signature {
  margin: 26px 0 0;
  font-family: var(--script);
  font-size: 3rem;
  line-height: 1;
  color: var(--soft);
}

/* ---------- Before & after ---------- */

.ba-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.ba-pair {
  display: grid;
  gap: 4px;
}

.ba-shot {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.ba-shot figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px 3px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.62);
  font-family: var(--caps);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ba-card {
  display: flex;
  flex-direction: column;
}

.ba-card h3 {
  order: 1;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.more-title {
  margin: 48px 0 16px;
  font-family: var(--caps);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  color: var(--soft);
}

.more-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.more-results li {
  aspect-ratio: 4 / 5;
}

/* ---------- Price menu ---------- */

.menu-list {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.menu-item:first-child {
  border-top: 1px solid var(--line);
}

.menu-item:target {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.menu-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.menu-head h3 {
  text-wrap: balance;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.menu-price {
  font-variant-numeric: lining-nums tabular-nums;
  flex: none;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
}

.menu-body > p:not(.menu-lasts) {
  max-width: 36em;
  margin: 10px 0 0;
  color: var(--soft);
}

.menu-lasts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.menu-lasts svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ---------- Booking policy ---------- */

.policy-section {
  padding-top: 0;
}

.policy {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse 70% 80% at 50% 0%, #1d1d1d, #050505 70%);
  text-align: center;
}

.policy .section-title {
  max-width: 20em;
  margin: 0 auto;
}

.policy-spark {
  position: absolute;
  color: var(--white);
}

.policy-spark-1 {
  top: -11px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
}

.policy-spark-2 {
  right: 18px;
  bottom: 18px;
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.policy-list svg {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
}

.policy-list h3 {
  margin: 0;
  font-family: var(--caps);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-list p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 16px;
}

.policy-example {
  max-width: 40em;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.policy-example strong {
  color: var(--white);
  font-weight: 600;
}

/* ---------- Booking ---------- */

.book {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 58% 72% at 50% 50%, #2b2b2b 0%, #0e0e0e 58%, #000 100%);
  text-align: center;
}

.book-spark {
  position: absolute;
  color: var(--white);
}

.book-spark-1 {
  top: 16%;
  left: 14%;
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

.book-spark-2 {
  right: 13%;
  bottom: 20%;
  width: 30px;
  height: 30px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  color: var(--soft);
}

.steps li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.step-num {
  font-family: var(--caps);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.book-note {
  margin: 26px 0 0;
  font-family: var(--caps);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.logo-sm {
  padding: 0;
}

.logo-sm img {
  width: 210px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  max-width: 560px;
}

.footer-nav a {
  padding: 8px 4px;
}

.footer-nav a {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: var(--soft);
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-legal {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 1180px) {
  .book-spark-1 {
    top: 8%;
    left: 6%;
  }
}

@media (max-width: 860px) {
  .steps {
    display: grid;
    justify-content: center;
    justify-items: start;
  }

  .slide-panels {
    grid-template-columns: 0.55fr 1.9fr 0.55fr;
  }

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

  .about-media,
  .about-copy {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .ba-list {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .ba-pair {
    grid-template-columns: 1fr 1fr;
  }

  .more-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 620px;
    margin: 0 auto;
  }

  .policy-list {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Phone header: menu button, logo, booking icon. Also used on phones held
   sideways, where the desktop header would take most of the screen. */
@media (max-width: 720px), (orientation: landscape) and (max-height: 500px) {
  .header-row {
    grid-template-columns: 44px 1fr 44px;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .header-note {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .menu-icon {
    display: grid;
    gap: 6px;
    width: 22px;
  }

  .menu-icon span {
    height: 1.5px;
    background: var(--white);
    transition: transform 0.25s, opacity 0.25s;
  }

  .menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .logo {
    padding: 4px 22px 0;
  }

  .logo-spark-1 {
    width: 14px;
    height: 14px;
  }

  .logo-spark-2 {
    width: 18px;
    height: 18px;
  }

  .header-book {
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
  }

  .header-book svg {
    width: 22px;
    height: 22px;
  }

  .header-book span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header-book:hover {
    background: none;
    color: var(--white);
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 0 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--black);
  }

  .js .site-nav:not(.is-open) {
    display: none;
  }

  .js .site-nav a {
    padding: 14px var(--gutter);
    font-size: 15px;
    text-align: center;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .topbar-note {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  /* Phones: the photo fills the top of the slide, centred on the eye and
     lashes (--focus), and the title sits on black underneath. */
  .slide-panels {
    bottom: 168px;
    grid-template-columns: 0.14fr 1fr 0.14fr;
    gap: 3px;
  }

  .hero-track {
    height: clamp(380px, calc(67vw + 168px), 560px);
  }

  .slide::after {
    display: none;
  }

  .slide-copy {
    bottom: 14px;
  }



  /* The side strips are too thin for a whole photo: just its blur. */
  .slide-panels .panel-side img {
    visibility: hidden;
  }

  /* No room for the subtitle under the photo's eyes on a phone. */
  .slide-copy .display-sub {
    display: none;
  }

  .slide-copy .button-outline {
    margin-top: 0.9em;
  }

  .display-sub {
    margin-bottom: 1.2em;
  }

  .button,
  .button-outline {
    padding: 13px 22px;
  }

  .section-head:not(.section-head-center) {
    align-items: center;
  }

  /* Small photo beside the name and price, the description underneath. */
  .menu-item {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas: "photo head" "text text" "lasts lasts";
    gap: 0 16px;
    align-items: center;
    padding: 22px 0;
  }

  .menu-body {
    display: contents;
  }

  .menu-photo {
    grid-area: photo;
  }

  .menu-head {
    grid-area: head;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .menu-body > p:not(.menu-lasts) {
    grid-area: text;
    margin-top: 14px;
  }

  .menu-lasts {
    grid-area: lasts;
  }

  .section-title {
    font-size: 1.55rem;
  }

  /* Script word sits over the capitals, like the logo. */
  .display {
    flex-direction: column;
    align-items: center;
  }

  .display-script {
    margin-right: 0;
  }

  .display > span + span {
    margin-top: -0.2em;
  }

  .display-left {
    align-items: flex-start;
  }

  .display-sm .display-script {
    margin-left: 0;
  }

  /* Keep "Sarita" from running through "CONOCE A" / "MEET". */
  .display-sm > span + span {
    margin-top: -0.05em;
  }

  .logo img {
    width: 150px;
  }

  .topbar-note {
    display: none;
  }

  /* Footer links in two even rows on phones. */
  .footer-nav {
    max-width: 300px;
  }

  .book-spark-1 {
    top: 8%;
    left: 8%;
  }

  .book-spark-2 {
    right: 8%;
    bottom: 8%;
  }
}

@media (max-width: 400px) {
  .book-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 260px;
    margin: 0 auto;
  }

  .book-actions a {
    text-align: center;
  }
}

/* Phones turned sideways: keep the headline, button and slide controls on
   the first screen, and keep the language switch. */
@media (orientation: landscape) and (max-height: 500px) {
  .topbar-row {
    min-height: 30px;
  }

  .topbar-note {
    display: none;
  }

  .socials a {
    width: 28px;
    height: 28px;
  }

  .header-row {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .logo {
    padding: 2px 22px 0;
  }

  .logo img {
    width: 110px;
  }

  .hero-track {
    height: max(190px, calc(100svh - 170px));
  }

  .slide-panels {
    bottom: 0;
  }

  .slide::after {
    display: block;
  }

  .slide-copy {
    bottom: 4%;
  }

  .slide-panels .panel-main img {
    object-fit: contain;
    object-position: 50% 50%;
  }

  .slide-copy .display-script {
    font-size: 3.4rem;
  }

  .slide-copy .display-caps {
    font-size: 2.1rem;
  }

  .slide-copy .display-sub {
    margin: 0.45em 0 0.7em;
    font-size: 0.95rem;
  }

  .tiles {
    grid-auto-columns: min(240px, calc((100vw - 56px) / 2.4));
  }
}

/* The top bar's icons sit at the very top of the page: keep their ring inside. */
.socials a:focus-visible {
  outline-offset: -2px;
}

/* While an English visitor's page is being switched over, don't flash the Spanish. */
.lang-pending body {
  visibility: hidden;
}

/* Without JavaScript, hide controls that need it. */
html:not(.js) .lang,
html:not(.js) .menu-button,
html:not(.js) .hero-controls,
html:not(.js) .row-arrows {
  display: none;
}

@media (forced-colors: active) {
  .menu-icon span,
  .dot[aria-current]::before {
    forced-color-adjust: none;
    background: CanvasText;
  }

  .dot::before {
    border-color: CanvasText;
  }

  .display-script {
    z-index: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide,
  .slide.is-active {
    transition: none;
  }

  .slide.is-active .panel-main img,
  .ticker-track {
    animation: none;
  }

  .tile-media img {
    transition: none;
  }
}
