.barber-page { --site-header-height: 78px; }
.barber-page .container { width: min(1160px, calc(100% - 80px)); }
.barber-page .header-inner { gap: 32px; }
.barber-nav, .barber-footer nav { display: flex; gap: 30px; align-items: center; }
.barber-nav { margin-left: auto; }
.barber-nav a, .barber-login, .barber-footer nav a, .barber-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .95rem; font-weight: 750; color: var(--ink);
}
.barber-nav a:hover, .barber-login:hover, .barber-footer nav a:hover, .barber-link:hover { color: var(--purple); }
.barber-page .header-tools { gap: 24px; }
.barber-page .button { min-height: 52px; padding: 14px 21px; gap: 10px; font-size: 1rem; }
.barber-page .button svg, .barber-label svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.barber-hero { overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.barber-hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(36px, 5vw, 82px); align-items: center; padding-block: clamp(36px, 4vw, 65px); }
.barber-intro { max-width: 605px; }
.barber-label { display: flex; align-items: center; gap: 10px; color: var(--purple); font-size: .88rem; font-weight: 850; margin: 0 0 22px; }
.barber-intro h1 { font-size: clamp(3rem, 5.1vw, 4.65rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 900; margin: 0 0 24px; text-wrap: balance; }
.barber-intro h1 span { color: var(--purple); }
.barber-lede, .barber-demo-heading p, .barber-start-grid > div > p { font-size: clamp(1.05rem, 1.3vw, 1.15rem); line-height: 1.63; color: var(--muted); }
.barber-lede { max-width: 465px; margin-bottom: 28px; }
.barber-ctas { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.barber-photo { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.14; margin: 0; border-radius: 26px; background: #30292c; }
.barber-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; }
.barber-photo::after { position: absolute; z-index: 0; content: ''; inset: 40% 0 0; background: linear-gradient(transparent, rgb(20 15 25 / 50%)); pointer-events: none; }
.barber-photo figcaption { z-index: 1; position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; gap: 14px; align-items: center; padding: 12px 15px; background: #292434f5; color: #fbf8ff; border: 1px solid #76687b; border-radius: 15px; box-shadow: 0 8px 24px #17121c40; }
.barber-photo-time { display: grid; padding: 6px 12px; text-align: center; background: #4a365e; border-radius: 9px; }
.barber-photo-time small { font-size: .75rem; color: #e1caef; }
.barber-photo-time strong { font-size: 1.3rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.barber-photo-service { display: grid; line-height: 1.35; }
.barber-photo-service strong { font-size: 1.08rem; }
.barber-photo-service span, .barber-photo-tag { font-size: .86rem; color: #d9ccdf; }
.barber-photo-tag { margin-left: auto; }
.barber-demo-section, .barber-start { padding-block: clamp(48px, 6.7vw, 94px); }
.barber-page h2 { font-size: clamp(2rem, 3.55vw, 3.25rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.09; }
.barber-demo-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: end; margin-bottom: 32px; }
.barber-demo-heading h2, .barber-demo-heading p { margin: 0; }
.barber-demo-heading p { max-width: 445px; }
.barber-start { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.barber-start-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(42px, 8vw, 112px); align-items: center; }
.barber-start h2 { margin-bottom: 20px; }
.barber-start-grid > div > p { max-width: 395px; margin-bottom: 24px; }
.barber-link { text-decoration: underline; text-underline-offset: 5px; }
.barber-steps { list-style: none; counter-reset: setup-step; padding: 0; margin: 0; }
.barber-steps li { counter-increment: setup-step; position: relative; padding: 17px 0 18px 52px; border-bottom: 1px solid var(--line); }
.barber-steps li::before { position: absolute; top: 16px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; content: counter(setup-step); color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); font-weight: 850; }
.barber-steps li:last-child { border-bottom: 0; }
.barber-steps h3 { font-size: 1.17rem; margin: 0 0 5px; }
.barber-steps p { color: var(--muted); margin: 0; }
.barber-footer .container { padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.barber-footer nav { flex-wrap: wrap; gap: 4px 22px; }
.barber-footer nav a { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .barber-page .container { width: min(100% - 44px, 760px); }
  .barber-page .header-inner { gap: 20px; }
  .barber-page .header-tools { margin-left: 0; }
  .barber-hero-grid { gap: 24px; grid-template-columns: 1.13fr 1fr; }
  .barber-intro h1 { font-size: clamp(2.7rem, 5.9vw, 3.5rem); }
  .barber-photo { aspect-ratio: .79; }
  .barber-photo figcaption { left: 10px; right: 10px; bottom: 12px; gap: 9px; padding: 9px; }
  .barber-photo-tag { font-size: .77rem; }
  .barber-demo-heading { gap: 25px; }
}
@media (max-width: 690px) {
  .barber-page { --site-header-height: 66px; }
  .barber-page .container { width: min(100% - 36px, 570px); }
  .barber-page .header-tools { margin-left: auto; gap: 16px; }
  .barber-nav { display: none; }
  .barber-hero-grid, .barber-demo-heading, .barber-start-grid { grid-template-columns: 1fr; }
  .barber-hero-grid { padding-block: 36px 24px; gap: 25px; }
  .barber-intro h1 { font-size: clamp(2.45rem, 9.5vw, 3.35rem); max-width: 510px; margin-bottom: 16px; }
  .barber-label { margin-bottom: 14px; }
  .barber-lede { margin-bottom: 21px; }
  .barber-photo { aspect-ratio: 1.5; border-radius: 18px; }
  .barber-photo > img { object-position: 50% 30%; }
  .barber-photo figcaption { left: 13px; right: 13px; bottom: 12px; }
  .barber-demo-heading { gap: 14px; margin-bottom: 22px; }
  .barber-start-grid { gap: 22px; }
  .barber-page .button { padding-inline: 16px; }
  .barber-ctas { gap: 10px; }
  .barber-footer .container { gap: 6px 20px; }
}
@media (max-width: 405px) {
  .barber-intro .barber-ctas { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .barber-page .button:hover { transform: none; }
}
