/* ==========================================================================
   eddi revesz Frisurenmode
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #fff;
  --sand: #f4f0ea;
  --stone: #8a8178;
  --line: #e2ddd5;
  --accent: #a3845a;

  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
dl,
figure {
  margin: 0;
}

.display {
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 7.5vw, 6rem);
}

.display--md {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.eyebrow[data-num] {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.eyebrow[data-num]::before {
  content: attr(data-num);
  order: -2;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.eyebrow[data-num]::after {
  content: "";
  order: -1;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

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

/* Scroll reveal ------------------------------------------------------------ */

/* Content only starts hidden when JS is running (html.js, set in <head>) and motion is welcome.
   [data-reveal] fades up as one block; [data-reveal="stagger"] fades up its children one after another. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not([data-reveal="stagger"]),
  .js [data-reveal="stagger"] > * {
    opacity: 0;
    transform: translateY(2.5rem);
    transition:
      opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s),
      transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0s);
  }

  .js [data-reveal].is-visible:not([data-reveal="stagger"]),
  .js [data-reveal="stagger"].is-visible > * {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal="stagger"] > :nth-child(2) { --reveal-delay: 0.12s; }
  .js [data-reveal="stagger"] > :nth-child(3) { --reveal-delay: 0.24s; }
  .js [data-reveal="stagger"] > :nth-child(4) { --reveal-delay: 0.36s; }
  .js [data-reveal="stagger"] > :nth-child(5) { --reveal-delay: 0.48s; }
  .js [data-reveal="stagger"] > :nth-child(n + 6) { --reveal-delay: 0.6s; }
}

@media print {
  .js [data-reveal],
  .js [data-reveal] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border: 1px solid currentColor;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--light {
  color: var(--paper);
}

.btn--light:hover {
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  /* Solid black so the original logo's own dark backdrop blends in */
  background: #000;
  color: var(--paper);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: inline-block;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 3.25rem;
}

/* Header logo: a large black tab hanging over the page top that shrinks into the bar on scroll */
.site-header .logo {
  align-self: flex-start;
  margin-left: -1.25rem;
  padding: 1.25rem 1.25rem 1.4rem;
  background: #000;
  transition: padding 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-header .logo img {
  height: 6rem;
  transition: height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.site-header.is-compact .logo,
.nav-open .site-header .logo {
  padding-block: 0.625rem;
}

.site-header.is-compact .logo img,
.nav-open .site-header .logo img {
  height: 3.25rem;
}

@media (max-width: 40rem) {
  .site-header .logo {
    padding: 0.75rem 1rem 0.9rem;
    margin-left: -1rem;
  }

  .site-header .logo img {
    height: 4.25rem;
  }

  .site-header.is-compact .logo img,
  .nav-open .site-header .logo img {
    height: 2.75rem;
  }

  .site-header.is-compact .logo,
  .nav-open .site-header .logo {
    padding-block: 0.875rem;
  }
}

.site-footer .logo img {
  height: 4.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
}

.nav__list a {
  position: relative;
  display: block;
  padding-block: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__list a:hover::after,
.nav__list a[aria-current]::after {
  transform: scaleX(1);
}

.nav__cta {
  font-size: 0.75rem;
  padding: 0.75em 1.2em;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 1.5rem;
  height: 1.5px;
  margin-left: -0.75rem;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

/* The full nav (8 links + phone button) plus the large logo needs ~1200px; switch a bit earlier so it never feels cramped */
@media (max-width: 78rem) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.5rem;
    padding: 2.5rem var(--gutter);
    background: #000;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav__list a {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.06em;
  }

  .nav__list a::after {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #d9c9b6;
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

.hero__slide--1 img {
  object-position: 80% 20%;
}

.hero__slide--2 img {
  object-position: 60% 20%;
}

.hero__slide--2 {
  opacity: 0;
  animation: hero-fade 16s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  /* Clears the hanging logo tab */
  padding-top: 9.5rem;
  padding-bottom: 3rem;
  color: var(--ink);
  animation: hero-ink 16s ease-in-out infinite;
}

.hero__title {
  margin-bottom: 2rem;
  /* Also bound by viewport height so lead and buttons stay above the fold */
  font-size: clamp(2.6rem, min(7.5vw, 10vh), 6rem);
}

.hero__title span {
  display: block;
}

/* Entrance: the title rises line by line, then lead and buttons follow */
.hero__title span,
.hero__lead,
.hero__actions {
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__title span:nth-child(1) { animation-delay: 0.1s; }
.hero__title span:nth-child(2) { animation-delay: 0.2s; }
.hero__title span:nth-child(3) { animation-delay: 0.3s; }
.hero__title span:nth-child(4) { animation-delay: 0.4s; }
.hero__title span:nth-child(5) { animation-delay: 0.5s; }
.hero__lead { animation-delay: 0.75s; }
.hero__actions { animation-delay: 0.9s; }

.hero__lead {
  max-width: 24rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1;
  width: 1px;
  height: 3rem;
  background: currentColor;
  opacity: 0.5;
  animation: hero-ink 16s ease-in-out infinite;
}

@keyframes hero-fade {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hero-ink {
  0%, 42% { color: var(--ink); }
  50%, 92% { color: var(--paper); }
  100% { color: var(--ink); }
}

/* Two thin bars that fill while their slide is on screen (16s cycle, crossfade at ~46% and ~96%) */
.hero__progress {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
  animation: hero-ink 16s ease-in-out infinite;
}

.hero__progress span {
  position: relative;
  width: 3rem;
  height: 2px;
  overflow: hidden;
}

.hero__progress span::before,
.hero__progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
}

.hero__progress span::before {
  opacity: 0.3;
}

.hero__progress span::after {
  transform: scaleX(0);
  transform-origin: left;
}

.hero__progress span:nth-child(1)::after {
  animation: hero-bar-1 16s linear infinite;
}

.hero__progress span:nth-child(2)::after {
  animation: hero-bar-2 16s linear infinite;
}

@keyframes hero-bar-1 {
  0% { transform: scaleX(0); }
  46% { transform: scaleX(1); }
  50% { transform: scaleX(1); opacity: 1; }
  54%, 100% { transform: scaleX(1); opacity: 0; }
}

@keyframes hero-bar-2 {
  0%, 46% { transform: scaleX(0); }
  96% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

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

@keyframes rise {
  from { opacity: 0; transform: translateY(2.5rem); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide--2,
  .hero__slide img,
  .hero__content,
  .hero__scroll,
  .hero__progress,
  .hero__progress span::after,
  .hero__title span,
  .hero__lead,
  .hero__actions {
    animation: none;
  }
}

@media (max-width: 40rem) {
  .hero {
    align-items: flex-start;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5.5rem;
  }

  .hero__slide--1 img {
    object-position: 72% 0;
  }

  .hero__lead {
    max-width: 14rem;
  }

  .hero__actions {
    margin-top: auto;
  }

  .hero__scroll,
  .hero__progress {
    display: none;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero__actions .btn--ghost {
    background: rgba(255, 255, 255, 0.85);
  }
}

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

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.about__photo {
  position: relative;
}

.about__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about__photo figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--stone);
}

.about__text h2 {
  margin-bottom: 2rem;
}

.about__text p {
  max-width: 34rem;
  font-size: 1.125rem;
  font-weight: 300;
}

.about__text p + p {
  margin-top: 1.25rem;
}

.quote-band {
  background: #000;
  color: var(--paper);
}

.quote-band blockquote {
  margin: 0;
  max-width: 52rem;
}

.quote-band blockquote p {
  font-size: clamp(1.4rem, 3.2vw, 2.25rem);
  font-weight: 300;
  line-height: 1.4;
}

.quote-band footer {
  margin-top: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b9b2a8;
}

.quote-band footer strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: var(--paper);
}

@media (max-width: 48rem) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 26rem;
  }
}

/* Ambiance ----------------------------------------------------------------- */

.ambiance {
  background: var(--sand);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head p {
  max-width: 26rem;
  font-weight: 300;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  aspect-ratio: 2 / 1;
  list-style: none;
  padding: 0;
}

.gallery li {
  overflow: hidden;
}

.gallery li:first-child {
  grid-row: span 2;
}

.gallery li:last-child {
  grid-column: span 2;
}

.gallery button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.6s ease;
}

.gallery button:hover img,
.gallery button:focus-visible img {
  transform: scale(1.04);
}

/* On devices with a mouse the salon shows in black and white and turns to colour on hover */
@media (hover: hover) {
  .gallery img {
    filter: grayscale(1);
  }

  .gallery button:hover img,
  .gallery button:focus-visible img {
    filter: none;
  }
}

@media (max-width: 48rem) {
  .gallery {
    display: flex;
    aspect-ratio: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

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

  .gallery li {
    flex: 0 0 85%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
  }

  .gallery li:first-child,
  .gallery li:last-child {
    grid-row: auto;
    grid-column: auto;
  }
}

/* Aveda -------------------------------------------------------------------- */

.aveda {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(48rem, 90vh);
  color: var(--paper);
  background: #6f6b66;
  overflow: hidden;
}

.aveda__bg {
  position: absolute;
  inset: 0;
}

.aveda__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.aveda__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.45) 65%);
}

.aveda__content {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.aveda__text {
  width: min(100%, 32rem);
}

.aveda__text .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.aveda__text h2 {
  margin-bottom: 1.75rem;
}

.aveda__text p {
  margin-bottom: 2.25rem;
  font-size: 1.125rem;
  font-weight: 300;
}

@media (max-width: 48rem) {
  .aveda {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background: #2b2926;
  }

  .aveda__bg {
    position: relative;
    aspect-ratio: 4 / 3;
  }

  .aveda__bg::after {
    background: linear-gradient(180deg, rgba(43, 41, 38, 0) 60%, #2b2926);
  }

  .aveda__content {
    padding-block: 2.5rem 4rem;
  }
}

/* Reviews ------------------------------------------------------------------ */

.reviews {
  background: var(--sand);
}

/* One large quote on the left, four smaller ones in a 2×2 grid next to it */
.reviews__list {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.reviews__list > li:first-child {
  grid-row: span 2;
}

.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper);
}

.review__stars {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  color: var(--ink);
}

.review blockquote {
  margin: 0 0 1.75rem;
}

.review blockquote p {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
}

.reviews__list > li:first-child .review {
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
}

.reviews__list > li:first-child .review__stars {
  color: var(--paper);
}

/* The featured review: first sentence as a large headline, the rest as body text */
.review blockquote .review__lead {
  margin-bottom: 1.25rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3;
}

.reviews__list > li:first-child blockquote p:not(.review__lead) {
  color: #d8d2c9;
}

.review blockquote p + p {
  margin-top: 0.9rem;
}

.review figcaption {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review figcaption span {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--stone);
}

.reviews__list > li:first-child figcaption span {
  color: #b9b2a8;
}

.reviews__note {
  max-width: 46rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--stone);
}

@media (max-width: 62rem) {
  .reviews__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews__list > li:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .reviews__list {
    grid-template-columns: 1fr;
  }
}

/* Contact ------------------------------------------------------------------ */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.contact h3 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
}

.contact__block + .contact__block {
  margin-top: 2.5rem;
}

.contact address {
  font-style: normal;
}

.contact__links a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}

.contact__links a:hover {
  border-color: var(--ink);
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 2rem;
  max-width: 20rem;
}

.hours dt,
.hours dd {
  margin: 0;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.hours .is-today {
  font-weight: 600;
}

.hours .is-closed {
  color: var(--stone);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--stone);
}

.status.is-open::before {
  background: #3f8f5a;
}

.status:empty {
  display: none;
}

.map {
  position: relative;
  min-height: 24rem;
  height: 100%;
  background: var(--sand);
  overflow: hidden;
}

/* Static map: the image is centred on the salon, so the pin sits at 50% / 50% */
.map__image,
.map__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Shown unscaled (a centred crop of the 1280×960 image) so street names stay legible */
.map__image img {
  object-fit: none;
  object-position: center;
  filter: grayscale(1) contrast(0.95) brightness(1.04);
  transition: filter 0.3s;
}

.map__image:hover img {
  filter: grayscale(0.6) contrast(0.95) brightness(1.04);
}

/* .map__pin is a zero-size anchor at the exact map point; the drop's tip and the label hang off it */
.map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.map__pin::before,
.map__pin::after {
  content: "";
  position: absolute;
}

/* A square with one sharp corner, rotated so that corner points down onto the anchor */
.map__pin::before {
  left: -0.875rem;
  top: -2.11rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50% 50% 50% 0;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--paper), 0 6px 14px rgba(0, 0, 0, 0.3);
  transform: rotate(-45deg);
}

.map__pin::after {
  left: -0.3rem;
  top: -1.54rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--paper);
}

.map__pin span {
  position: absolute;
  left: 0;
  bottom: 2.75rem;
  padding: 0.35rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.map__route {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

.map__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.6875rem;
  color: var(--ink);
}

@media (max-width: 48rem) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* Subpages ----------------------------------------------------------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 68vh, 44rem);
  padding-top: 10rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background: #2b2926;
  color: var(--paper);
}

.page-hero__bg,
.page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__bg img {
  object-fit: cover;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.8) 100%);
}

.page-hero__content {
  position: relative;
}

.page-hero__content .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero__content p {
  max-width: 40rem;
  margin-top: 1.75rem;
  font-size: 1.125rem;
  font-weight: 300;
}

.page-hero + .container {
  padding-top: clamp(3rem, 7vw, 5rem);
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__bg img {
    animation: none;
  }
}

.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.page-head p {
  max-width: 40rem;
  margin-top: 1.75rem;
  font-size: 1.125rem;
  font-weight: 300;
}

/* Same container width as .page-head so text lines up with the title; only the line length is capped */
.prose {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.prose > * {
  max-width: 46rem;
}

.prose h2 {
  margin: 3.5rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose .prose__meta {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--stone);
}

.prose a {
  text-underline-offset: 0.2em;
}

.prose .meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1.5rem;
  margin-top: 1rem;
}

.prose .meta dt {
  color: var(--stone);
}

.prose .meta dd {
  margin: 0;
}

.jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
  padding: 0;
}

.jobs li {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
}

.jobs h2 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.jobs p {
  font-weight: 300;
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: #000;
  color: var(--paper);
}

.apply h2 {
  margin-bottom: 1rem;
}

.apply address {
  font-style: normal;
  color: #cfc8be;
}

.apply address a {
  color: var(--paper);
}

@media (max-width: 48rem) {
  .jobs,
  .apply {
    grid-template-columns: 1fr;
  }
}

.press {
  columns: 3 18rem;
  column-gap: 1.5rem;
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.press figure {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.press button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand);
  cursor: zoom-in;
}

.press img {
  width: 100%;
  transition: opacity 0.2s;
}

.press button:hover img {
  opacity: 0.85;
}

.press figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--stone);
}

.lightbox {
  max-width: min(92vw, 60rem);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  margin-inline: auto;
}

.lightbox p {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: #ddd;
}

.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lightbox__nav:hover {
  background: #fff;
  color: var(--ink);
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

.lightbox__nav[hidden] {
  display: none;
}

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

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  background: #000;
  color: #b9b2a8;
  font-size: 0.875rem;
  line-height: 1.8;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
}

.site-footer__tagline {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer__tagline span {
  color: #c4423a;
}

.site-footer__title {
  margin-bottom: 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--paper);
}

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

.site-footer__contact {
  margin-top: 0.75rem;
}

.site-footer__hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.25rem;
}

.site-footer__hours dd {
  margin: 0;
}

.site-footer__links {
  list-style: none;
  padding: 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid #2a2826;
  font-size: 0.8125rem;
}

.site-footer__legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--paper);
}

@media (max-width: 62rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 30rem) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile call bar: appears once the visitor scrolls, hidden while the menu is open */
.call-bar {
  display: none;
}

@media (max-width: 40rem) {
  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    background: var(--ink);
    color: var(--paper);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .call-bar span {
    font-weight: 300;
    letter-spacing: 0.08em;
  }

  .show-call-bar .call-bar {
    transform: none;
  }

  .nav-open .call-bar {
    transform: translateY(100%);
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }
}

.section-end {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
