/* Barber Shop Manolli — page + component styles (built on tokens.css). */

html { scroll-behavior: smooth; }
body { background: #F7F7F4; }
a { color: var(--color-mint-800); }
a:hover { color: var(--color-ink); }

.page { background: var(--bg-page); color: var(--text-primary); font-family: var(--font-sans); min-height: 100vh; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* ---------- Shared type ---------- */
.eyebrow { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow--accent { color: var(--text-accent); }
.eyebrow--accent-inverse { color: var(--text-accent-inverse); }
.section-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.06; letter-spacing: -.015em; }
.lede { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; font-size: 15px;
  border: 1.5px solid transparent; border-radius: var(--radius-xs);
  font-family: var(--font-label); font-weight: 600; letter-spacing: var(--ls-button); text-transform: uppercase;
  line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn > span { padding-top: 1px; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 58px; padding: 0 32px; font-size: 16px; }
.btn--full { display: flex; width: 100%; }

.btn--primary { background: var(--color-ink); color: var(--color-chalk); }
.btn--primary:hover { background: var(--color-ink-700); color: var(--color-chalk); }
.btn--primary:active { background: #000; }

.btn--primary-dark { background: var(--color-mint-300); color: var(--color-ink); }
.btn--primary-dark:hover { background: var(--color-mint-200); color: var(--color-ink); }
.btn--primary-dark:active { background: var(--color-mint-400); }

.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-ink); color: var(--color-chalk); }
.btn--ghost:active { background: var(--color-ink-700); color: var(--color-chalk); }

.btn--link {
  height: auto; padding: 4px 0; background: transparent; color: var(--color-ink);
  border: none; border-bottom: 1.5px solid transparent; border-radius: var(--radius-xs);
}
.btn--link:hover { color: var(--color-ink); border-bottom-color: currentColor; }
.btn--link:active { transform: none; }
.btn--link .icon { transition: transform var(--dur-base) var(--ease-out); }
.btn--link:hover .icon { transform: translateX(3px); }

/* ---------- NavBar ---------- */
.nav { position: relative; background: var(--color-ink); border-bottom: 1px solid var(--border-inverse); }
.nav__inner {
  max-width: var(--container-max); margin: 0 auto; height: var(--nav-height); padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { display: flex; text-decoration: none; }
.nav__brand img { height: 56px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link {
  position: relative; font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; color: var(--color-chalk); opacity: .72; padding: 8px 0;
  transition: opacity var(--dur-fast);
}
.nav__link:hover { color: var(--color-chalk); opacity: 1; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--color-gold-300);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: none; color: var(--color-chalk); cursor: pointer; padding: 0;
}
.nav__toggle .icon-close { display: none; }
.nav__menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--color-ink);
  padding: 8px 20px 24px; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--border-inverse);
}
.nav__menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-mint); }
.hero__inner {
  max-width: 1240px; margin: 0 auto; padding: 80px clamp(20px, 5vw, 64px) 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 7vw, 84px);
  line-height: 1.02; letter-spacing: -.02em; text-wrap: balance;
}
.hero__text { margin: 0; font-size: 19px; line-height: 1.6; max-width: 30em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 24px; padding-top: 16px;
  font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
}
.hero__meta > div { display: flex; gap: 8px; align-items: center; }

/* Live open / closed status (Badge styling, success + error tones) */
.hero__meta > .open-status {
  gap: 0; height: 30px; padding: 0 12px; border-radius: var(--radius-pill);
  background: var(--color-success-bg); color: var(--color-success);
  font-size: 13px; letter-spacing: .14em; line-height: 1; white-space: nowrap;
}
.hero__meta > .open-status[hidden] { display: none; }
.open-status__dot {
  position: relative; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0;
}
.open-status__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor;
  animation: open-status-pulse 2s var(--ease-out) infinite;
}
.open-status__detail { color: var(--color-ink); opacity: .72; }
.open-status__detail::before { content: "·"; margin: 0 8px; }
.open-status.is-closed { background: var(--color-error-bg); color: var(--color-error); }
.open-status.is-closed .open-status__dot::after { animation: none; }
@keyframes open-status-pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* LightFrame — photo with a glowing corner bracket */
.light-frame { position: relative; }
.light-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.light-frame::after {
  content: ""; position: absolute; top: 24px; right: 24px; width: 38%; height: 62%;
  border: 2px solid var(--light-line); border-left: none; border-bottom: none;
  box-shadow: 0 0 10px 1px var(--light-glow), inset 0 0 10px 1px var(--light-glow);
  pointer-events: none;
}

/* ---------- Services ---------- */
.services {
  max-width: 1240px; margin: 0 auto; padding: 96px clamp(20px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 64px; align-items: center;
}
.services__copy { display: flex; flex-direction: column; gap: 20px; }
.services__copy .lede { max-width: 28em; }
.services__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.services__art { display: flex; justify-content: center; }

/* PriceList */
.price-list { display: flex; flex-direction: column; gap: 4px; color: var(--text-primary); }
.price-list h5 {
  font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  margin: 0 0 12px; color: var(--color-gold-700);
}
.price-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; }
.price-list__name { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.price-list__lead { flex: 1; border-bottom: 1.5px dotted var(--color-gold-500); transform: translateY(-5px); min-width: 24px; }
.price-list__price { font-family: var(--font-display); font-size: 22px; }

/* TriangleFrame — glowing triangular photo */
.triangle-frame {
  position: relative; width: min(460px, 100%); aspect-ratio: 1; flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,248,225,.9)) drop-shadow(0 0 2px #FFFDF5);
}
.triangle-frame::before {
  content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--light-line);
}
.triangle-frame__clip {
  position: absolute; inset: 3px; clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--color-leaf-700); overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
}
.triangle-frame__clip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- The shop ---------- */
.shop { background: var(--bg-inverse); color: var(--text-inverse); }
.shop__inner { max-width: 1240px; margin: 0 auto; padding: 96px clamp(20px, 5vw, 64px); display: flex; flex-direction: column; gap: 48px; }
.shop__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.shop__head > div { display: flex; flex-direction: column; gap: 16px; max-width: 36em; }
.shop__head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--color-stone-200); max-width: 26em; text-wrap: pretty; }
.light-line {
  display: block; width: 100%; height: 2px; background: var(--light-line); border-radius: 2px; flex-shrink: 0;
  box-shadow: 0 0 10px 1px var(--light-glow), 0 0 2px rgba(255,253,245,.9);
}
.shop__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.shop__grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vip-card {
  background: var(--bg-leaf); display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px; padding: 40px; aspect-ratio: 4 / 5;
}
.vip-card > div { display: flex; flex-direction: column; gap: 12px; }
.vip-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.vip-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--color-stone-100); }

/* ---------- Roger ---------- */
.roger {
  max-width: 1240px; margin: 0 auto; padding: 96px clamp(20px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 64px; align-items: center;
}
.roger__art { display: flex; justify-content: center; }
.roger__copy { display: flex; flex-direction: column; gap: 20px; }
.roger__copy .lede { max-width: 30em; }

/* HaloFrame — round photo with gold rings */
.halo-frame { position: relative; width: 300px; height: 300px; flex-shrink: 0; margin: 28px; }
.halo-frame__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.halo-frame__ring--1 { inset: -14px; border: 1.5px solid var(--color-gold-500); }
.halo-frame__ring--2 { inset: -28px; border: 1px solid var(--color-gold-500); opacity: .65; }
.halo-frame__photo {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--color-mint-100);
  display: flex; align-items: center; justify-content: center;
}
.halo-frame__photo img { width: 100%; height: 100%; object-fit: cover; }

/* OrnamentDivider */
.ornament { display: flex; align-items: center; gap: 14px; width: 320px; max-width: 100%; }
.ornament__line { flex: 1; height: 1px; background: var(--color-gold-500); opacity: .7; }
.ornament__diamond { width: 5px; height: 5px; transform: rotate(45deg); background: var(--color-gold-500); }
.ornament__label {
  font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--color-gold-700); white-space: nowrap;
}

/* ---------- Visit ---------- */
.visit { background: var(--bg-mint-soft); }
.visit__inner {
  max-width: 1240px; margin: 0 auto; padding: 96px clamp(20px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px;
}
.visit__head { display: flex; flex-direction: column; gap: 16px; grid-column: 1 / -1; }
.visit__col { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--color-ink); padding-top: 24px; }
.visit__label {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
}
.visit__value { font-family: var(--font-display); font-size: 28px; line-height: 1.15; color: var(--color-ink); text-decoration: none; }
.visit__sub { font-size: 16px; color: var(--text-secondary); }
.visit__links { display: flex; flex-wrap: wrap; gap: 8px; }
.visit__map { grid-column: 1 / -1; border: 1.5px solid var(--color-ink); border-radius: 4px; overflow: hidden; line-height: 0; }
.visit__map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--color-ink); color: var(--color-chalk); position: relative; overflow: hidden; }
.footer__glow { height: 2px; background: var(--light-line); box-shadow: 0 0 14px 2px var(--light-glow); opacity: .85; }
.footer__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 72px 40px 40px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__brand img { height: 96px; width: auto; }
.footer__brand p { margin: 0; max-width: 300px; font-size: 15px; line-height: 1.6; color: var(--color-stone-400); }
.footer h6 {
  font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--color-gold-300); margin: 0 0 16px;
}
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__row { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--color-chalk); opacity: .85; }
.footer__hours { display: flex; flex-direction: column; gap: 10px; }
.footer__hours > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.footer__hours > div > span:first-child { opacity: .85; }
.footer__time { font-family: var(--font-label); letter-spacing: .06em; font-size: 16px; }
.footer__bar {
  max-width: var(--container-max); margin: 0 auto; padding: 20px 40px; border-top: 1px solid var(--border-inverse);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--color-stone-400);
}
.footer__bar span:last-child { font-family: var(--font-label); letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Mobile (the design system's `mobile` variants) ---------- */
@media (max-width: 760px) {
  .nav__inner { padding: 0 20px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__menu { display: flex; }
  .nav.is-open .icon-menu { display: none; }
  .nav.is-open .icon-close { display: inline-block; }

  .halo-frame { width: min(300px, calc(100vw - 96px)); height: auto; aspect-ratio: 1; }

  .footer__inner { padding: 48px 20px 32px; grid-template-columns: 1fr; gap: 40px; }
  .footer__bar { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .open-status__dot::after { animation: none; }
}
