:root {
  color-scheme: dark;
  --ink: #151513;
  --paper: #f1efe6;
  --lime: #e4fb76;
  --muted: #bcbcb2;
  --dark-line: #42423a;
  --light-line: #b9b8ab;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Barlow, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 5.4vw, 5.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.5 var(--body); }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; }
svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
figure, ul, p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.shell { width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .7rem 1rem; color: var(--ink); background: var(--lime); transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--dark-line); }
.header-inner { height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.wordmark { font: italic 800 2.4rem/.93 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.wordmark span { font: 700 .8rem/1 var(--body); letter-spacing: .07em; vertical-align: top; margin-left: .38rem; color: var(--lime); }
.primary-nav, .header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.45vw, 2.5rem); }
.primary-nav a, .language, .mobile-menu { font-weight: 600; }
.primary-nav a:hover, .language:hover { color: var(--lime); }
.language { min-width: 2.5rem; min-height: 2.75rem; display: grid; place-items: center; }
.button { min-height: 3.45rem; padding: .78rem 1.45rem .88rem; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: var(--lime); font-size: 1.04rem; font-weight: 700; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.button:hover { background: var(--paper); }
.button:focus-visible { outline-color: var(--lime); }
.button-small { white-space: nowrap; min-height: 2.65rem; font-size: .95rem; padding: .46rem .95rem .53rem; }
.mobile-menu { display: none; }
.hero { isolation: isolate; display: grid; grid-template-columns: 46% 54%; grid-template-rows: minmax(31rem, min(42vw, 42rem)) auto; padding-top: clamp(1.9rem, 4vw, 4rem); }
.hero-copy { z-index: 1; align-self: center; padding-block: 2rem; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; }
h1 { font-size: clamp(4.6rem, 8.2vw, 8.2rem); line-height: .8; }
h1 em { font-style: normal; color: var(--lime); }
:lang(ca) h1 { font-size: clamp(4rem, 7.3vw, 7.55rem); }
.hero-copy p { color: var(--muted); max-width: 31ch; margin-top: 1.75rem; font-size: clamp(1.05rem, 1.55vw, 1.31rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; margin-top: 1.85rem; }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: .45rem; font-weight: 700; min-height: 2.75rem; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link svg { transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translate(.12rem, -.12rem); }
.hero-photo { position: relative; grid-column: 2; grid-row: 1; overflow: hidden; background: #484843; }
.photo-edge { pointer-events: none; position: absolute; inset: 1rem; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; color: var(--lime); }
.photo-edge span { width: 1.25rem; height: 1.25rem; border: 1px solid; }
.photo-edge span:nth-child(1) { border-right: 0; border-bottom: 0; }
.photo-edge span:nth-child(2) { justify-self: end; border-left: 0; border-bottom: 0; }
.photo-edge span:nth-child(3) { align-self: end; border-right: 0; border-top: 0; }
.photo-edge span:nth-child(4) { place-self: end; border-left: 0; border-top: 0; }
.hero-note { grid-column: 1/-1; border-top: 1px solid var(--dark-line); margin-top: clamp(1.5rem, 3vw, 2.5rem); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; min-height: 4.2rem; font-weight: 600; color: var(--muted); }
.hero-note a { display: inline-flex; align-items: center; gap: .4rem; padding-block: .55rem; }
.hero-note a:hover { color: var(--lime); }
.light { color-scheme: light; background: var(--paper); color: var(--ink); }
.services, .gallery { padding-block: clamp(4rem, 8vw, 8rem); }
.services-layout, .contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); }
h2 { font-size: clamp(3.5rem, 7vw, 6rem); line-height: .88; }
.section-intro p, .salon-copy p, .contact-info p { font-size: clamp(1.12rem, 1.65vw, 1.37rem); max-width: 35ch; margin-top: 1.35rem; }
.service-list { border-top: 1px solid var(--light-line); }
.service-list details { border-bottom: 1px solid var(--light-line); }
.service-list summary { padding: .7rem 0 .88rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font: 700 clamp(2rem, 4vw, 3.3rem)/1.1 var(--display); transition: color .2s; }
.service-list summary:hover { color: #505821; }
.service-list summary svg { width: 1.55rem; height: 1.55rem; transition: transform .25s var(--ease); }
.service-list details[open] svg { transform: rotate(45deg); }
.service-list details p { max-width: 47ch; padding: 0 1.5rem 1.1rem 0; font-size: 1.07rem; animation: clarify .25s ease-out; }
@keyframes clarify { from { opacity: .45; } }
.salon { padding-block: clamp(4rem, 8vw, 8rem); display: grid; grid-template-columns: 1.05fr .9fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.salon figure { overflow: hidden; background: #484843; }
.salon img { height: auto; aspect-ratio: 1.2; object-fit: cover; }
.salon-copy p { color: var(--muted); }
.salon-copy .text-link { margin-top: 1rem; color: var(--lime); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem 1.75rem; margin-bottom: 1.65rem; }
.gallery-track { --gallery-gap: 1rem; list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gallery-gap)) / 2); gap: var(--gallery-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #676846 #dbdacd; padding: 0 0 .6rem; }
.slide { min-width: 0; scroll-snap-align: start; }
.slide a { display: block; overflow: hidden; background: #d5d2c9; }
.slide a:focus-visible { outline: 3px solid currentColor; outline-offset: -5px; }
.slide img { height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease); }
.slide a:hover img { transform: scale(1.035); }
.gallery-controls { display: flex; gap: .75rem; align-items: center; justify-content: flex-end; margin-top: .95rem; }
.gallery-controls button { display: grid; place-items: center; width: 2.85rem; height: 2.85rem; color: var(--ink); background: transparent; border: 1px solid var(--light-line); cursor: pointer; transition: background .2s, color .2s; }
.gallery-controls button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.gallery-controls button:disabled { color: #68685e; cursor: default; }
.gallery-count { min-width: 4.1rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact { background: var(--lime); color: var(--ink); padding-block: clamp(3.75rem, 7vw, 7rem); }
.contact-info p { margin-top: 0; }
.button-dark { margin-top: 1.1rem; background: var(--ink); color: var(--paper); }
.button-dark:focus-visible { outline-color: var(--ink); }
.button-dark:hover { color: var(--ink); background: transparent; border-color: var(--ink); }
address { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; gap: .36rem; margin-top: 1.3rem; }
.mail { text-decoration: underline; text-underline-offset: .2em; }
.footer { min-height: 7rem; padding-block: 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.footer div { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; }
.footer div a:hover { color: var(--lime); }
.footer > span { color: var(--muted); }
@media (max-width: 55rem) {
  .primary-nav { display: none; }
  .header-inner { height: 4.5rem; }
  .header-actions { gap: .6rem; }
  .mobile-menu { display: block; position: relative; z-index: 3; }
  .mobile-menu summary { display: flex; align-items: center; min-height: 2.75rem; padding-inline: .4rem; }
  .mobile-menu[open] summary { color: var(--lime); }
  .mobile-menu nav { position: absolute; top: calc(100% + .65rem); right: 0; min-width: 11rem; background: var(--ink); border: 1px solid var(--dark-line); padding: .45rem; }
  .mobile-menu nav a { display: block; padding: .6rem .75rem; }
  .mobile-menu nav a:hover { color: var(--lime); }
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(25rem, auto) auto; }
  h1 { font-size: clamp(3.7rem, 9.2vw, 6rem); }
  :lang(ca) h1 { font-size: clamp(3.25rem, 8vw, 5.2rem); }
}
@media (max-width: 41rem) {
  .shell { width: calc(100% - 2 * var(--gutter)); }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding-top: 1.65rem; }
  .hero-copy { padding: .55rem 0 1.65rem; }
  h1 { font-size: clamp(4.45rem, 13.5vw, 6.3rem); }
  :lang(ca) h1 { font-size: clamp(3.55rem, 11.1vw, 5.45rem); }
  .hero-copy p { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-photo { grid-column: 1; grid-row: 2; aspect-ratio: 1.12; }
  .hero-note { min-height: 3.5rem; margin-top: 1.35rem; font-size: .92rem; }
  .services-layout, .salon, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
  .salon-copy { grid-row: 1; }
  .gallery-track { grid-auto-columns: 100%; }
  .contact-info { margin-top: .15rem; }
  .footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 26rem) {
  .header-inner { gap: .35rem; }
  .header-actions { gap: .2rem; }
  .wordmark { font-size: 1.85rem; }
  .wordmark span { margin-left: .24rem; font-size: .65rem; }
  .button-small { padding-inline: .55rem; font-size: .86rem; }
  .language { min-width: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .slide a:hover img, .text-link:hover svg { transform: none; }
}


/* The portrait and headline share one full-bleed composition. */
.header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgb(21 21 19 / .94);
  backdrop-filter: blur(12px);
}
.scroll-progress { display: none; }
main section[id] { scroll-margin-top: 5.3rem; }
.hero {
  position: relative;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(36rem, min(52vw, 46rem)) auto;
  padding: 0 max(var(--gutter), calc((100vw - 90rem) / 2));
}
.hero-copy { grid-area: 1 / 1; position: relative; justify-self: start; }
.hero-copy p { color: var(--paper); }
.hero-photo {
  position: absolute;
  inset: 0 0 0 max(25%, calc((100% - 56rem) / 2));
  grid-area: 1 / 1;
  margin: 0;
  background: var(--ink);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink), rgb(21 21 19 / .89) 12%, rgb(21 21 19 / .38) 39%, transparent 70%),
    linear-gradient(0deg, rgb(21 21 19 / .56), transparent 22%);
}
.hero-image, .hero-image video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { animation: expose .85s var(--ease) both; }
.hero-image video { object-fit: cover; object-position: 58% center; }
.hero-video-toggle {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 1.65rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--paper);
  background: rgb(21 21 19 / .8);
  color: var(--paper);
  cursor: pointer;
}
.hero-video-toggle:hover { background: var(--lime); color: var(--ink); }
.photo-edge { z-index: 1; inset: 1.1rem 1.4rem; }
.photo-edge span:nth-child(odd) { visibility: hidden; }
.hero-note { margin-top: 0; }
.hero-copy h1 { font-size: clamp(5.65rem, 10.3vw, 10rem); }
:lang(ca) .hero-copy h1 { font-size: clamp(4.75rem, 8.65vw, 8.5rem); }
.hero-copy h1 em { display: inline-block; animation: print-line .74s var(--ease) both; }
@keyframes expose { from { opacity: .3; clip-path: inset(0 0 0 22%); } to { opacity: 1; clip-path: inset(0); } }
@keyframes print-line { from { transform: translateY(.17em); clip-path: inset(0 0 35%); } to { transform: none; clip-path: inset(0); } }
@supports (animation-timeline: scroll()) {
  .scroll-progress { display: block; pointer-events: none; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; animation: follow-page linear both; animation-timeline: scroll(root block); }
  @keyframes follow-page { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .salon img { animation: photo-drift linear both; animation-timeline: view(); animation-range: entry 10% exit 90%; }
    @keyframes photo-drift { from { transform: scale(1.12) translateY(3%); } to { transform: scale(1.12) translateY(-3%); } }
  }
}
.photo-viewer {
  position: fixed;
  inset: 0;
  width: min(60rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100% - 2rem);
  margin: auto;
  padding: 0;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--dark-line);
  color-scheme: dark;
}
.photo-viewer::backdrop { background: rgb(15 15 13 / .9); }
.photo-viewer[open] { animation: viewer-in .27s var(--ease) both; }
@keyframes viewer-in { from { opacity: .35; transform: translateY(.8rem); } }
.viewer-inner { position: relative; padding: clamp(.65rem, 2vw, 1.25rem); }
.viewer-inner img { max-height: 68vh; aspect-ratio: 4/3; object-fit: contain; background: #1d1d1a; }
.viewer-inner figcaption { margin-top: .45rem; padding-right: .25rem; color: var(--paper); font-weight: 600; }
.viewer-controls { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; margin-top: .45rem; }
.viewer-controls output { min-width: 3.25rem; text-align: center; }
.viewer-inner button {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.viewer-inner button:hover { background: var(--lime); color: var(--ink); }
.viewer-close { position: absolute; z-index: 1; top: 1.25rem; right: 1.25rem; }
.slide a { position: relative; }
.slide a::after {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid #fff;
  opacity: 0;
  transform: scale(.97);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
  pointer-events: none;
}
.slide a:hover::after, .slide a:focus-visible::after { opacity: .8; transform: none; }
@media (max-width: 55rem) {
  .hero { grid-template-rows: minmax(29rem, 68vw) auto; }
  .hero-copy h1 { font-size: clamp(4.7rem, 10.7vw, 6.7rem); }
  :lang(ca) .hero-copy h1 { font-size: clamp(3.75rem, 9vw, 6rem); }
}
@media (max-width: 41rem) {
  main section[id] { scroll-margin-top: 4.55rem; }
  .hero { grid-template-rows: auto auto; }
  .hero-copy { align-self: end; padding: clamp(15rem, 68vw, 27rem) 0 1.55rem; }
  .hero-copy h1 { font-size: clamp(4.75rem, 16vw, 7rem); }
  :lang(ca) .hero-copy h1 { font-size: clamp(3.3rem, 12.2vw, 6rem); }
  .hero-photo {
    inset: 0 0 auto calc(-1 * var(--gutter));
    margin: 0;
    aspect-ratio: 1.09;
  }
  .hero-photo::after { background: linear-gradient(0deg, var(--ink) 1%, rgb(21 21 19 / .82) 17%, transparent 57%); }
  .hero-image video { object-position: 56% center; }
  .hero-video-toggle { inset: 1rem 1rem auto auto; }
  .photo-edge { inset: .9rem 1.2rem; }
  .photo-edge span { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image, .hero-copy h1 em, .photo-viewer[open] { animation: none; }
  .scroll-progress { display: none; }
  .slide a::after { transform: none; }
}
.slide a[aria-haspopup="dialog"] { cursor: zoom-in; }

