/* ==========================================================================
   FONT SELF-HOSTED
   --------------------------------------------------------------------------
   Fraunces v38 · Inter v20 — woff2 variabili, asse wght 100–900, solo tondo.
   Origine: fonts.gstatic.com (vedi assets/fonts/README.md per rigenerarli).
   Licenze: SIL Open Font License 1.1 — assets/fonts/OFL-Fraunces.txt,
            assets/fonts/OFL-Inter.txt.
   Un solo file per famiglia copre tutti i pesi. Il subset latin-ext viene
   scaricato dal browser solo se in pagina compare un carattere di quel
   range: per l'italiano basta latin.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #fdfdfd;
  --ink: #080808;
  --soft: #d3d3d3;
  --mid: #b1b1b1;
  --charcoal: #2e2e2e;
  --slate: #4f4f4f;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --page-pad: clamp(20px, 6vw, 92px);
  --section-space: clamp(72px, 9vw, 128px);
  --content-max: 1366px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .7, .25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: #111111;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main,
section,
footer,
nav,
div,
article,
figure {
  min-width: 0;
  min-height: 0;
}

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

a {
  color: inherit;
  text-underline-offset: .2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: #111111;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

h2 {
  max-width: 15ch;
  margin-bottom: .34em;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

h2 em,
h1 em {
  font-weight: 400;
}

/* Full-bleed background, contenuto sempre centrato entro --content-max */
.section {
  position: relative;
  width: 100%;
  padding-block: var(--section-space);
  padding-inline: max(var(--page-pad), calc((100% - var(--content-max)) / 2));
}

.section--light {
  background: var(--paper);
  color: #111111;
}

.section--grey {
  background: var(--soft);
  color: #111111;
}

.section--dark {
  background: var(--ink);
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: clamp(24px, 4.5vw, 72px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section__head h2,
.section__head p {
  margin-bottom: 0;
}

.section__head > p,
.section__head > div > p:last-child,
.gallery__intro > p {
  max-width: 42ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.actions--center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 22px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  background: var(--charcoal);
  color: #ffffff;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--slate);
}

.btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.btn--ghost:hover {
  background: transparent;
}

.btn--compact {
  min-height: 40px;
  padding: 10px 18px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 1 · Hero Minimal Centered */
.bb-hero-minimal-centered {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(520px, 52vw, 620px);
  max-height: 660px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) var(--page-pad) clamp(24px, 4vw, 44px);
  background: var(--soft);
  color: #111111;
}

.bb-hero-minimal-centered::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(82%, 940px);
  aspect-ratio: 1178 / 435;
  transform: translate(-50%, -50%);
  background: url('assets/logo-mark.png') center / contain no-repeat;
  content: '';
  opacity: .16;
}

.hero__nav,
.hero__content,
.hero__meta {
  width: min(100%, var(--content-max));
  margin-right: auto;
  margin-left: auto;
}

.hero__nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px 28px;
  align-items: center;
}

.hero__brand,
.fh-ft-cl__brand > a:not(.footer__social) {
  width: max-content;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.05em;
  text-decoration: none;
}

.hero__brand span,
.fh-ft-cl__brand > a:not(.footer__social) span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.hero__links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
}

.hero__links a {
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
}

.hero__nav > .btn {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.hero__content {
  margin-top: auto;
  margin-bottom: auto;
  padding-block: clamp(28px, 5vw, 56px);
}

.hero__content h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 8.5vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero__body {
  max-width: 52ch;
  margin-bottom: 0;
  font-size: clamp(.95rem, 1.4vw, 1.12rem);
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid #111111;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* 2 · Chi siamo */
.bw-about-craft {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6.5vw, 96px);
  align-items: start;
}

.bw-about-craft__media {
  aspect-ratio: 4 / 5;
  max-height: 520px;
  margin: 0;
}

.bw-about-craft__media img {
  object-position: center 42%;
  filter: contrast(1.04);
}

.bw-about-craft__media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  background: var(--paper);
  color: #111111;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bw-about-craft__copy {
  max-width: 62ch;
}

.bw-about-craft__copy > p:not(.eyebrow, .signature) {
  margin-bottom: 1.1em;
  font-size: clamp(.95rem, 1.25vw, 1.05rem);
}

.about__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem) !important;
  line-height: 1.5;
}

.about__timeline {
  display: grid;
  /* auto-fit: le tappe occupano la riga qualunque sia il loro numero,
     senza lasciare una colonna vuota in coda. */
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--mid);
  list-style: none;
}

.about__timeline li {
  padding: 20px 22px 0 0;
}

.about__year {
  display: block;
  margin-bottom: 10px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
}

.about__timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.about__timeline p {
  margin: 6px 0 0;
  color: var(--slate);
  font-size: .78rem;
  line-height: 1.5;
}

.signature {
  margin-top: 34px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-style: italic;
}

/* 3 · Listino prezzi */
.pricelist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 1px;
  border: 1px solid #111111;
  background: #111111;
}

.pricelist__group {
  padding: clamp(22px, 2.8vw, 38px);
  background: var(--paper);
}

.pricelist__group--taglio {
  grid-area: 1 / 1;
}

.pricelist__group--barba {
  grid-area: 2 / 1;
}

.pricelist__group--trattamenti {
  grid-area: 1 / 2 / span 2 / 2;
}

.pricelist__group h3 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1;
}

.pricelist dl {
  margin: 0;
}

.price-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17, 17, 17, .13);
}

.price-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.price-row dt {
  flex: 1 1 auto;
  font-size: .92rem;
  font-weight: 500;
}

.price-row dd {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricelist__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.pricelist__footer p {
  max-width: 48ch;
  margin: 0;
  font-size: .78rem;
}

/* 4 · Gallery Carousel */
.gallery__intro {
  align-self: end;
}

.gallery__controls {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.gallery__controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.gallery__controls button:not([disabled]):hover {
  background: var(--paper);
  color: #111111;
}

.gallery__controls button[disabled] {
  opacity: .28;
  cursor: default;
}

.gallery__controls--light button {
  border-color: var(--ink);
  color: var(--ink);
}

.gallery__controls--light button:not([disabled]):hover {
  background: var(--ink);
  color: var(--paper);
}

.gallery__viewport {
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--paper) var(--charcoal);
  scrollbar-width: thin;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 min(23rem, 74vw);
  border-radius: var(--radius);
  background: var(--charcoal);
  scroll-snap-align: start;
}

.gallery-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 34%;
  filter: grayscale(.12);
}

.gallery-card__number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  min-width: 46px;
  height: 32px;
  padding: 0 12px;
  place-items: center;
  border-radius: 999px;
  background: rgba(8, 8, 8, .68);
  color: #ffffff;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* 5 · Dentro AM7 */
/* Il video di presentazione è verticale (480×848): invece di stirarlo su
   tutta la larghezza lo si monta al centro di una ribalta scura, che riempie
   la fascia della sezione e fa da cornice ai lati. */
.shop__video-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  justify-items: center;
  gap: clamp(16px, 2vw, 22px);
  margin: 0;
  padding: clamp(26px, 4vw, 56px) clamp(18px, 4vw, 48px);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, .1), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 24px),
    var(--charcoal);
}

/* Stesso marchio in filigrana dell'hero, invertito per leggersi sullo scuro:
   riempie i fianchi della ribalta senza aggiungere altri contenuti. */
.shop__video-stage::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  /* volutamente più largo della ribalta: il riquadro del marchio esce
     dai bordi e restano solo le lettere, tagliate dall'overflow. */
  width: max(124%, 620px);
  aspect-ratio: 1178 / 435;
  transform: translate(-50%, -50%);
  /* 110%: il file include un riquadro di contorno, ingrandirlo lo manda
     fuori inquadratura e lascia solo le lettere. */
  background: url('assets/logo-mark.png') center / 110% auto no-repeat;
  filter: invert(1);
  content: '';
  opacity: .085;
}

.shop__video {
  /* rapporto esatto del sorgente: nessun ritaglio sui bordi. */
  width: min(100%, 356px);
  aspect-ratio: 480 / 848;
  border: 1px solid rgba(253, 253, 253, .3);
  background: #000000;
  box-shadow: 0 26px 62px rgba(0, 0, 0, .48);
}

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

/* Comandi propri al posto di quelli nativi: stessa grammatica del reel
   Instagram più in basso, così i due video si comportano allo stesso modo. */
.shop__video-progress {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  left: 14px;
  overflow: hidden;
  height: 3px;
  border-radius: 999px;
  /* traccia scura, non traslucida: il video ha molte inquadrature chiare
     e una barra bianca su bianco sparirebbe. */
  background: rgba(8, 8, 8, .45);
}

.shop__video-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--paper);
  transition: width .2s linear;
}

.shop__video-toggle {
  position: absolute;
  z-index: 2;
  display: grid;
  padding: 0;
  border: 0;
  inset: 0;
  background: transparent;
  /* il contorno di focus eredita currentColor: chiaro, per staccare dal video */
  color: var(--paper);
  cursor: pointer;
  place-items: center;
}

.shop__video-toggle-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(253, 253, 253, .93);
  color: #111111;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.shop__video-toggle-icon::before {
  position: absolute;
  top: 50%;
  left: calc(50% + 2px);
  border-color: transparent transparent transparent currentColor;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  content: '';
  transform: translate(-50%, -50%);
}

/* In riproduzione il tasto sparisce e torna solo al passaggio del mouse. */
.shop__video.is-playing .shop__video-toggle-icon {
  opacity: 0;
  transform: scale(.84);
}

.shop__video.is-playing .shop__video-toggle:hover .shop__video-toggle-icon,
.shop__video.is-playing .shop__video-toggle:focus-visible .shop__video-toggle-icon {
  opacity: 1;
  transform: scale(1);
}

.shop__video.is-playing .shop__video-toggle-icon::before {
  left: calc(50% - 5px);
  width: 5px;
  height: 18px;
  border: 0;
  background: currentColor;
}

.shop__video.is-playing .shop__video-toggle-icon::after {
  position: absolute;
  top: 50%;
  left: calc(50% + 5px);
  width: 5px;
  height: 18px;
  background: currentColor;
  content: '';
  transform: translate(-50%, -50%);
}

.shop__video-sound {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 14px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 8, 8, .62);
  color: #ffffff;
  cursor: pointer;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.shop__video-sound-icon::before {
  content: 'AUDIO OFF';
}

.shop__video-sound[aria-pressed='true'] .shop__video-sound-icon::before {
  content: 'AUDIO ON';
}

.shop__video-caption {
  color: rgba(253, 253, 253, .72);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.shop__slider {
  margin-top: clamp(26px, 3.4vw, 44px);
}

.shop__slider-head {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.shop__slider-label {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.shop__slider .gallery__controls {
  margin-top: 0;
}

.shop__viewport {
  overflow: hidden;
}

.shop__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--mid) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.shop-card {
  flex: 0 0 min(30rem, 78vw);
  height: clamp(320px, 40vw, 520px);
  margin: 0;
  scroll-snap-align: start;
}

.shop-card img {
  object-position: center 52%;
}

/* 6 · Prodotti in vendita */
.bb-products-promo {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
  padding-block: clamp(52px, 6.5vw, 88px);
}

.products__media {
  /* scatto verticale dello scaffale: la cornice segue il rapporto del file
     (1343×2048) così i ripiani restano tutti dentro l'inquadratura. */
  width: min(100%, 392px);
  aspect-ratio: 1343 / 2048;
  margin: 0;
  justify-self: start;
  background: var(--charcoal);
}

.products__media figcaption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 8px 12px;
  background: var(--paper);
  color: #111111;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.products__copy > h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.products__copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin-bottom: 0;
  font-size: clamp(.92rem, 1.15vw, 1rem);
}

.products__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.products__list li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bb-products-promo .actions {
  margin-top: 24px;
}

/* 7 · Instagram reel */
.bb-social-phone-mockup {
  display: grid;
  grid-template-columns: minmax(270px, .62fr) minmax(0, 1.38fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.bb-social-phone-mockup__phone {
  width: min(320px, 84vw);
  padding: 12px;
  border: 9px solid var(--ink);
  border-radius: 48px;
  margin: 0 auto;
  background: var(--ink);
  box-shadow: 0 26px 60px rgba(8, 8, 8, .22);
}

.phone__speaker {
  display: block;
  width: 76px;
  height: 5px;
  margin: 0 auto 11px;
  border-radius: 999px;
  background: var(--mid);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  background: var(--ink);
}

.reel {
  position: absolute;
  display: flex;
  flex-direction: column;
  inset: 0;
  transition: transform .75s var(--ease);
  will-change: transform;
}

.reel[data-state='logo'] {
  transform: translateY(-100%);
}

.reel__slide {
  position: relative;
  overflow: hidden;
  height: 100%;
  flex: 0 0 100%;
}

.reel__slide--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__progress {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  left: 14px;
  overflow: hidden;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
}

.reel__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--paper);
  transition: width .2s linear;
}

.reel__toggle {
  position: absolute;
  z-index: 2;
  display: grid;
  padding: 0;
  border: 0;
  inset: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.reel__toggle-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(253, 253, 253, .93);
  color: #111111;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.reel__toggle-icon::before {
  position: absolute;
  top: 50%;
  left: calc(50% + 2px);
  border-color: transparent transparent transparent currentColor;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  content: '';
  transform: translate(-50%, -50%);
}

.reel.is-playing .reel__toggle-icon {
  opacity: 0;
  transform: scale(.84);
}

.reel.is-playing .reel__toggle:hover .reel__toggle-icon,
.reel.is-playing .reel__toggle:focus-visible .reel__toggle-icon {
  opacity: 1;
  transform: scale(1);
}

.reel.is-playing .reel__toggle-icon::before {
  left: calc(50% - 5px);
  width: 5px;
  height: 18px;
  border: 0;
  background: currentColor;
}

.reel.is-playing .reel__toggle-icon::after {
  position: absolute;
  top: 50%;
  left: calc(50% + 5px);
  width: 5px;
  height: 18px;
  background: currentColor;
  content: '';
  transform: translate(-50%, -50%);
}

.reel__sound {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 14px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 8, 8, .62);
  color: #ffffff;
  cursor: pointer;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.reel__sound-icon::before {
  content: 'AUDIO OFF';
}

.reel__sound[aria-pressed='true'] .reel__sound-icon::before {
  content: 'AUDIO ON';
}

.reel__slide--logo {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 26px;
  background: var(--paper);
  color: #111111;
}

.reel__slide--logo img {
  width: min(84%, 220px);
  height: auto;
  object-fit: contain;
}

.reel__handle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.reel__replay {
  padding: 10px 16px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: transparent;
  color: #111111;
  cursor: pointer;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.reel__replay:hover {
  background: #111111;
  color: var(--paper);
}

.bb-social-phone-mockup__copy {
  max-width: 660px;
}

.bb-social-phone-mockup__copy > p:not(.eyebrow) {
  max-width: 52ch;
}

.social__handle {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  text-decoration: none;
}

/* 8 · Booking CTA Band */
.booking {
  text-align: center;
}

.booking h2 {
  max-width: 12ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: .88;
}

.booking > p:not(.eyebrow, .booking__proof) {
  max-width: 46ch;
  margin-right: auto;
  margin-left: auto;
}

.booking__proof {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* 9 · Location Card Overlay */
.bb-location-card-overlay {
  position: relative;
  display: grid;
  min-height: clamp(480px, 44vw, 540px);
  overflow: hidden;
  background: var(--soft);
  color: #111111;
}

.location__map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--soft);
  background-image: linear-gradient(#b1b1b1 1px, transparent 1px), linear-gradient(90deg, #b1b1b1 1px, transparent 1px);
  background-size: 44px 44px;
  color: #111111;
  text-decoration: none;
}

.map__street {
  position: absolute;
  display: block;
  height: 30px;
  border-top: 1px solid #111111;
  border-bottom: 1px solid #111111;
  background: var(--paper);
}

.map__street--one {
  top: 24%;
  right: -10%;
  left: -10%;
  transform: rotate(-13deg);
}

.map__street--two {
  top: 50%;
  right: -5%;
  left: 30%;
  transform: rotate(44deg);
}

.map__street--three {
  top: 70%;
  right: 25%;
  left: -5%;
  transform: rotate(8deg);
}

.map__pin {
  position: absolute;
  top: 46%;
  left: 42%;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--ink);
  color: #ffffff;
  font-size: .72rem;
  font-weight: 600;
}

.map__pin > span {
  transform: rotate(45deg);
}

.map__label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  padding: 8px 12px;
  background: var(--paper);
  color: #111111;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.location__card {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100% - 40px));
  align-self: center;
  justify-self: end;
  padding: clamp(28px, 4vw, 48px);
  margin: 40px max(var(--page-pad), calc((100% - var(--content-max)) / 2)) 40px 20px;
  background: var(--paper);
  color: #111111;
}

.location__card h2 {
  margin-bottom: 24px;
}

.location__card address {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
}

.location__card > p:not(.eyebrow) {
  font-size: .82rem;
}

/* 10 · Hours Cards */
.bb-hours-cards__hour-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.bb-hours-cards__hour-cards article {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
  background: var(--paper);
}

.bb-hours-cards__hour-cards article > span {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bb-hours-cards__hour-cards strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.15;
}

.bb-hours-cards__hour-cards .is-closed {
  background: var(--charcoal);
  color: #ffffff;
}

.hours__note {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: .72rem;
}

/* 11 · Footer a colonne */
.fh-ft-cl {
  padding-block: clamp(56px, 8vw, 96px) 24px;
  padding-inline: max(var(--page-pad), calc((100% - var(--content-max)) / 2));
  background: var(--ink);
  color: #ffffff;
}

.fh-ft-cl__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(34px, 4vw, 72px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

.fh-ft-cl__brand > a:not(.footer__social) {
  display: block;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.fh-ft-cl__brand p {
  max-width: 34ch;
  font-size: .82rem;
}

.footer__social {
  display: inline-block;
  margin-top: 10px;
  font-size: .75rem;
  font-weight: 600;
}

.fh-ft-cl__col h3 {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fh-ft-cl__col p,
.fh-ft-cl__col address,
.fh-ft-cl__col a {
  display: block;
  margin: 0 0 12px;
  font-size: .8rem;
  font-style: normal;
  text-decoration: none;
}

.fh-ft-cl__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--slate);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  /* la card copre il centro della mappa: sposto pin e strada a sinistra */
  .map__pin {
    left: 16%;
  }

  .map__street--two {
    left: 8%;
  }
}

@media (max-width: 1100px) {
  .bb-hours-cards__hour-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bb-hours-cards__hour-cards article:last-child {
    grid-column: span 2;
  }

  .shop-card {
    height: clamp(300px, 42vw, 440px);
  }
}

@media (max-width: 900px) {
  .pricelist {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .pricelist__group--taglio,
  .pricelist__group--barba,
  .pricelist__group--trattamenti {
    grid-area: auto;
  }
}

/* Footer a 4 colonne: sotto i 1000px passa a 2x2 prima di impilarsi */
@media (max-width: 1000px) {
  .fh-ft-cl__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: clamp(64px, 15vw, 88px);
  }

  h2 {
    max-width: 18ch;
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .section__head,
  .bw-about-craft,
  .bb-products-promo,
  .bb-social-phone-mockup,
  .fh-ft-cl__grid {
    grid-template-columns: 1fr;
  }

  .products__media {
    width: min(100%, 360px);
    justify-self: center;
  }

  .section__head {
    gap: 14px;
  }

  /* Nav su due righe: brand + CTA sopra, link sotto */
  .hero__nav {
    grid-template-columns: 1fr auto;
    gap: 14px 16px;
  }

  .hero__nav > .btn {
    grid-column: 2;
  }

  .hero__links {
    overflow-x: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid rgba(17, 17, 17, .22);
    gap: 20px;
    scrollbar-width: none;
  }

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

  .hero__links a {
    white-space: nowrap;
  }

  .bb-hero-minimal-centered {
    min-height: 560px;
    max-height: none;
  }

  .bb-hero-minimal-centered::before {
    width: min(94%, 460px);
    opacity: .14;
  }

  .hero__content h1 {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .hero__body {
    max-width: 40ch;
  }

  .hero__meta {
    align-items: flex-start;
    font-size: .58rem;
  }

  .bw-about-craft {
    gap: 40px;
  }

  .bw-about-craft__media {
    width: min(100%, 420px);
    max-height: 460px;
  }

  .about__timeline {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .about__timeline li {
    padding: 18px 0;
    border-top: 1px solid var(--mid);
  }

  .gallery-card {
    flex-basis: min(300px, 82vw);
  }

  .shop-card {
    flex-basis: min(340px, 82vw);
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .bb-social-phone-mockup {
    gap: 44px;
  }

  .bb-social-phone-mockup__phone {
    order: 2;
  }

  .bb-social-phone-mockup__copy {
    order: 1;
  }

  .booking h2 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

  .pricelist__footer {
    gap: 20px;
  }

  .fh-ft-cl__grid {
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .hero__meta {
    display: grid;
    gap: 5px;
  }

  .hero__content .actions {
    margin-top: 22px;
  }

  .bb-hours-cards__hour-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bb-hours-cards__hour-cards article,
  .bb-hours-cards__hour-cards article:last-child {
    min-height: 138px;
    grid-column: auto;
  }

  .bb-hours-cards__hour-cards article:last-child {
    grid-column: 1 / -1;
  }

  .bb-location-card-overlay {
    display: grid;
    min-height: 0;
  }

  .location__map {
    position: relative;
    min-height: 320px;
  }

  .location__card {
    width: 100%;
    padding: 46px var(--page-pad) 56px;
    margin: 0;
  }

  .fh-ft-cl__legal {
    display: grid;
  }
}

@media (max-width: 390px) {
  .btn {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero__nav > .btn {
    min-height: 38px;
    padding: 9px 14px;
  }

  .hero__content h1 {
    font-size: clamp(2.7rem, 15vw, 3.1rem);
  }

  .gallery-card {
    flex-basis: 86vw;
  }

  .shop-card {
    flex-basis: 86vw;
  }

  .products__list li {
    padding: 6px 11px;
    font-size: .66rem;
  }

  .price-row {
    gap: 12px;
  }

  .fh-ft-cl__brand > a:not(.footer__social) {
    font-size: 2.35rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
