/* Sense — theme tokens. Redesign starts here: change these, not the markup.
   Palette and type follow the salon's own logo: a thin fashion serif over a
   wide-tracked geometric sans, cream on espresso. */
:root {
  --espresso:      #2F2A26;   /* page ground */
  --espresso-deep: #241F1C;   /* recessed sections */
  --cream:         #EDE6DC;   /* primary text, buttons */
  --clay:          #C08D6E;   /* the wordmark's terracotta, sampled from the logo */
  --mist:          #A79C91;   /* muted text */
  --hairline:      rgba(237, 230, 220, .16);

  --font-display: 'Italiana', serif;
  /* Armenian and Cyrillic fall through to the system face — Italiana and Jost
     have no Armenian glyphs, and shipping a whole second family for one
     language would cost more than it buys. */
  --font-body:    'Jost', 'Noto Sans Armenian', system-ui, sans-serif;

  --content: 1080px;
  --measure: 620px;
  --gutter:  1.5rem;
  --radius:  999px;           /* "rounded beige buttons" */
  --bar:     64px;            /* sticky header height */
}

/* Self-hosted: two render-blocking third-party requests removed. */
@font-face {
  font-family: 'Italiana'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/italiana-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap;
  src: url(fonts/jost-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 1rem); }

body {
  margin: 0;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* height:auto keeps the width/height attributes from squashing the aspect ratio */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cream); color: var(--espresso);
  padding: .75rem 1.25rem; border-radius: var(--radius);
  text-decoration: none; transition: top .2s ease;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.measure { max-width: var(--measure); }

/* ---- type -------------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.25rem;
}

.lead  { color: var(--mist); margin: 1rem 0 0; }
.quiet { color: var(--mist); }

/* the logo lockup: serif wordmark over a wide-tracked sans tagline */
.wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 11vw, 7rem);
  line-height: .95;
  color: var(--cream);
  margin: 0;
}
.tagline {
  display: block;
  font-size: clamp(.7rem, 1.6vw, .82rem);
  letter-spacing: .38em;
  color: var(--clay);
  margin: .9rem 0 0;
}

/* ---- sections ---------------------------------------------------------- */
.sec { padding: clamp(4.5rem, 11vw, 8.5rem) 0; }
.sec--deep { background: var(--espresso-deep); }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: block;
  background: var(--cream);
  color: var(--espresso);
  border: 1px solid var(--cream);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-align: center;
  padding: 1.05rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--cream); border-color: var(--hairline); }
.btn-ghost:hover { background: transparent; border-color: var(--cream); }

.btn-sm { padding: .55rem 1.15rem; font-size: .85rem; }

.btn-stack {
  display: grid;
  gap: .75rem;
  max-width: 420px;
  margin: 2.5rem auto 0;
}
.btn-inline { display: inline-block; margin-top: 2.5rem; }

/* ---- sticky header ----------------------------------------------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--bar);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
/* The hero is dark on the left and a bright photo on the right, so a plain
   transparent bar loses half its links. A scrim keeps them legible on both. */
.topbar::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(36, 31, 28, .65), rgba(36, 31, 28, 0));
  transition: opacity .3s ease;
}
.topbar.is-solid::before { opacity: 0; }
/* transparent over the hero, glass once you scroll past it */
.topbar.is-solid {
  background: rgba(36, 31, 28, .82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--hairline);
}
.topbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
  line-height: 1;
}
.topbar-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.topbar-nav a {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  transition: color .2s ease;
}
.topbar-nav a:hover { color: var(--cream); }
.topbar-end { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.topbar-nav + .topbar-end { margin-left: 0; }

.langs { display: flex; gap: .5rem; }
.langs button {
  background: none; border: 0; padding: .25rem;
  font: inherit; font-size: .75rem; letter-spacing: .1em;
  color: var(--mist); cursor: pointer;
  transition: color .2s ease;
}
.langs button:hover { color: var(--cream); }
.langs button[aria-current='true'] { color: var(--clay); }

/* ---- hero -------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vh in the middle term so a short laptop screen compacts itself instead of
     pushing the call to action under the fold */
  padding: clamp(2rem, 6vh, 5rem) clamp(1.5rem, 5vw, 5rem);
}
.hero h1 { font: inherit; margin: 0; }   /* the lockup carries the display type */
.hero-meta {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--mist);
}
.hero-meta li + li { margin-top: .4rem; }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--cream); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions .btn { flex: 0 1 auto; }

.scroll-cue {
  margin-top: 2rem;
  width: 24px; height: 38px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  display: grid; place-items: start center;
  padding-top: 7px;
}
.scroll-cue span {
  width: 2px; height: 7px; border-radius: 2px;
  background: var(--clay);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0; } }

/* Absolute, so the photo's own 3:4 aspect can't drag the section past 100svh —
   that is what pushed the call to action off a laptop screen. */
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- services, set as a treatment menu --------------------------------- */
.menu { margin: 3rem 0 0; padding: 0; list-style: none; }
.menu li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline);
}
.menu li:last-child { border-bottom: 1px solid var(--hairline); }
.menu b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.2;
}
.menu span { color: var(--mist); font-size: .95rem; }

/* ---- work -------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 3rem;
}
.gallery figure { margin: 0; overflow: hidden; }
/* colour is the product here — no desaturation */
.gallery img,
.gallery video {
  aspect-ratio: 3 / 4; object-fit: cover;
  width: 100%; height: auto;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  margin-top: .75rem;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}
.tile-video figcaption { color: var(--clay); }

/* ---- finding us -------------------------------------------------------- */
.findus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.findus-media { position: relative; margin: 0; }
.findus-media video {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  display: block; background: var(--espresso);
}
/* the point of the whole section: name the door you are looking at */
.findus-media figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(237, 230, 220, .92);
  color: var(--espresso);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .5rem 1rem;
  border-radius: var(--radius);
}
.steps { margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--clay);
}
.address { margin: 2.5rem 0 0; font-style: normal; color: var(--mist); font-size: .95rem; }
.address a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
.address a:hover { color: var(--cream); }
.map iframe { width: 100%; height: 320px; border: 0; margin-top: 2.5rem; display: block; }

/* ---- FAQ --------------------------------------------------------------- */
.faq { margin-top: 3rem; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--clay);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 1.4rem; color: var(--mist); max-width: var(--measure); }

/* ---- contact ----------------------------------------------------------- */
.contact { text-align: center; }
.contact .wordmark { margin-top: 4rem; color: var(--clay); }
.contact-photo { max-width: 520px; margin: 3rem auto 0; }

/* ---- mobile action bar ------------------------------------------------- */
.actionbar { display: none; }

/* ---- short screens: keep the hero CTA above the fold ------------------- */
@media (max-height: 820px) and (min-width: 821px) {
  .hero .wordmark { font-size: clamp(3rem, 6vw, 4rem); }
  .hero-meta { margin-top: 1.4rem; }
  .hero-actions { margin-top: 1.4rem; }
  .scroll-cue { margin-top: 1.25rem; }
  .hero .lead { margin-top: .75rem; }
}

/* ---- mobile ------------------------------------------------------------ */
@media (max-width: 820px) {
  body { padding-bottom: 60px; }        /* clears the fixed action bar */
  .topbar-nav { display: none; }
  .topbar-end { margin-left: auto; gap: .9rem; }

  .hero, .findus { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-photo { order: -1; position: static; height: 58svh; }
  .hero-photo img { position: static; height: 100%; }
  .hero-copy { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .scroll-cue { display: none; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .menu li { grid-template-columns: 1fr; gap: .35rem; }

  .actionbar {
    position: fixed; inset: auto 0 0; z-index: 50;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(36, 31, 28, .94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--hairline);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a {
    padding: 1.05rem .5rem;
    text-align: center;
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .actionbar a + a { border-left: 1px solid var(--hairline); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
