/* ============================================
   CLIENT VECTORS — styles.css
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg:           #08080F;
  --bg-alt:       #0C0C18;
  --surface:      #111120;
  --border:       #1E1E30;
  --text:         #EDEAE2;
  --text-muted:   #9292B5;
  --accent:       #4D7EFF;
  --accent-hover: #3A6AEE;
  --accent-rgb:   77, 126, 255;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:  1100px;
  --radius:     12px;
  --radius-sm:  8px;
  --space-md:   2rem;
  --space-xl:   7rem;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* GSAP handles smooth scrolling; CSS smooth conflicts and ignores reduced-motion */
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.28);
}

.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(var(--accent-rgb), 0.38);
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.btn--lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__brand {
  display: flex;
  align-items: center;
}

/* Transparent PNG: renders as-is. Dark-bg PNG: uncomment mix-blend-mode below. */
.nav__logo {
  height: 44px;
  width: auto;
  display: block;
  transform: scale(2.4);
  transform-origin: left center;
  filter: brightness(2.4);
  /* mix-blend-mode: screen; */
}

/* --- Hero --- */
.hero {
  padding: 5.5rem 0;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 55% 60% at 72% 50%, rgba(77, 126, 255, 0.05) 0%, transparent 70%),
    var(--bg);
}

.hero__content {
  max-width: 760px;
}

.hero__headline {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero__inner .hero__content {
  max-width: none;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* --- Sections --- */
.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
  line-height: 1.15;
}

/* --- Section Sub --- */
.section__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: -1.75rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* --- Cards (What We Do) --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}

.card__icon {
  width: 44px;
  height: 44px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
}

/* --- Steps (How It Works) --- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step__number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  opacity: 0.75;
  line-height: 1;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.step__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.step__arrow {
  color: rgba(var(--accent-rgb), 0.3);
  align-self: center;
  user-select: none;
}

/* --- Audience Cards — Flip Card System --- */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.5rem;
  row-gap: 1rem;
}

/* Hint row — spans all columns */
.audience-hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(146, 146, 181, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience-hint__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.5);
  position: relative;
  flex-shrink: 0;
}

.audience-hint__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  animation: hint-ripple 2s ease-out infinite;
}

@keyframes hint-ripple {
  0%   { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0;   }
}

/* Flip card outer wrapper */
.flip-card {
  perspective: 1200px;
  height: 280px;
  cursor: pointer;
  outline: none;
}

.flip-card:focus-visible .flip-card__front,
.flip-card:focus-visible .flip-card__back {
  border-color: rgba(var(--accent-rgb), 0.55);
}

/* Inner — this is what rotates */
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

/* Hover lift on unflipped cards */
.flip-card:not(.is-flipped):hover .flip-card__inner {
  transform: translateY(-3px);
}

.flip-card:not(.is-flipped):hover .flip-card__front {
  border-color: rgba(var(--accent-rgb), 0.45);
}

/* Shared face styles */
.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(var(--accent-rgb), 0.35);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Front face — title + micro centered */
.flip-card__front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.flip-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
}

.flip-card__micro {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.flip-card__front::after {
  content: '↺';
  position: absolute;
  bottom: 0.875rem;
  right: 1rem;
  font-size: 0.875rem;
  color: rgba(var(--accent-rgb), 0.18);
  transition: color 0.25s ease;
  pointer-events: none;
}

.flip-card:not(.is-flipped):hover .flip-card__front::after {
  color: rgba(var(--accent-rgb), 0.45);
}

/* Back face — title top, body below */
.flip-card__back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 1.75rem 2rem;
  gap: 0.875rem;
  border-top-color: rgba(var(--accent-rgb), 0.55);
}

.flip-card__back-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.flip-card__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 900px) {
  .audience-cards { grid-template-columns: 1fr 1fr; }
  .flip-card { height: 260px; }
}

@media (max-width: 640px) {
  .audience-cards { grid-template-columns: 1fr; }
  .flip-card { height: 300px; }
}

/* Reduced motion — skip flip animation */
@media (prefers-reduced-motion: reduce) {
  .flip-card__inner      { transition: none; }
  .audience-hint__dot::after { animation: none; }
}

/* --- Contact Form --- */
.form-wrap {
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.5rem 2rem;
}

.form-wrap__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form__group--submit {
  margin-bottom: 0;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.form__input {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form__input::placeholder {
  color: #40405A;
}

.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  min-height: 1.5rem;
  line-height: 1.5;
}

.form__status--success { color: #5DDE8A; }
.form__status--error   { color: #FF6B6B; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Transparent PNG: renders as-is. Dark-bg PNG: uncomment mix-blend-mode below. */
.footer__logo {
  height: 36px;
  width: auto;
  display: block;
  transform: scale(2.2);
  transform-origin: left center;
  filter: brightness(2.4);
  /* mix-blend-mode: screen; */
}

.footer__email {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__email:hover {
  color: var(--text);
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- Browser Mockup System --- */
.browser-mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(77, 126, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(77, 126, 255, 0.06),
    0 40px 80px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(77, 126, 255, 0.06);
  transform: perspective(1200px) rotateY(-5deg) rotateX(1.5deg);
  transform-style: preserve-3d;
  user-select: none;
}

.browser-mockup--lg {
  max-width: 100%;
  transform: none;
  box-shadow:
    0 0 0 1px rgba(77, 126, 255, 0.08),
    0 60px 120px rgba(0, 0, 0, 0.8),
    0 0 80px rgba(77, 126, 255, 0.06);
}

.browser-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: #0D0D1A;
  border-bottom: 1px solid var(--border);
}

.browser-mockup__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-mockup__dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-mockup__dots span:nth-child(1) { background: #FF5F57; }
.browser-mockup__dots span:nth-child(2) { background: #FEBC2E; }
.browser-mockup__dots span:nth-child(3) { background: #28C840; }

.browser-mockup__url {
  flex: 1;
  font-size: 0.5625rem;
  color: var(--text-muted);
  background: rgba(8, 8, 15, 0.8);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.175rem 0.5rem;
  text-align: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-mockup__body {
  overflow: hidden;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: #0A0A14;
  border-bottom: 1px solid rgba(30, 30, 48, 0.6);
}

.mock-nav__brand {
  font-size: 0.4375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
}

.mock-nav__links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-nav__links span {
  font-size: 0.375rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.mock-nav__book {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.175rem 0.4rem !important;
  border-radius: 3px !important;
  font-size: 0.375rem !important;
  font-weight: 600 !important;
}

.mock-hero-zone {
  position: relative;
  height: 110px;
  background: linear-gradient(140deg, #0D0F1A 0%, #111320 50%, #0A0C15 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.mock-hero-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 65% 40%, rgba(77, 126, 255, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.mock-hero-zone--barber {
  height: 130px;
  background: linear-gradient(150deg, #0E0C13 0%, #131018 60%, #0A0810 100%);
}

.mock-hero-zone--barber::before {
  background: radial-gradient(ellipse 60% 60% at 55% 45%, rgba(77, 126, 255, 0.05) 0%, transparent 65%);
}

.mock-hero-zone__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.mock-hero-zone__headline {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 6px;
}

.mock-hero-zone__headline span {
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  display: block;
}

.mock-hero-zone__sub {
  font-size: 0.35rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.mock-hero-zone__cta {
  display: inline-block;
  font-size: 0.375rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.mock-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0.625rem;
  background: #07070F;
}

.mock-section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  padding: 6px;
  min-height: 34px;
  display: flex;
  align-items: flex-end;
}

.mock-section-card span {
  font-size: 0.375rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 0.625rem;
  background: #07070F;
}

.mock-service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 4px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-service-card span {
  font-size: 0.3125rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

/* --- Phone Mockup --- */
.phone-mockup {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 96px;
  z-index: 2;
  user-select: none;
}

.phone-mockup__frame {
  background: #111120;
  border: 1px solid rgba(77, 126, 255, 0.18);
  border-radius: 16px;
  padding: 6px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(77, 126, 255, 0.07);
}

.phone-mockup__notch {
  width: 26px;
  height: 4px;
  background: rgba(8, 8, 15, 0.9);
  border-radius: 2px;
  margin: 0 auto 5px;
}

.phone-mockup__screen {
  background: #07070F;
  border-radius: 10px;
  overflow: hidden;
}

.mock-mobile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 7px;
  background: #0A0A14;
  border-bottom: 1px solid var(--border);
}

.mock-hamburger {
  font-size: 0.5rem;
  color: var(--text-muted);
  line-height: 1;
}

.mock-mobile-hero {
  padding: 8px 7px 6px;
  background: linear-gradient(150deg, #0E0C13 0%, #131018 100%);
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}

.mock-mobile-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 5px;
  background: #07070F;
}

/* --- Mockup Themes --- */

/* CAFÉ — Atmospheric / Editorial theme (hero mockup) */

/* Nav — minimal, no CTA button, italic mixed-case brand */
.hero__visual .mock-nav--cafe {
  background: #100D09;
  border-bottom: 1px solid rgba(255, 220, 160, 0.08);
  padding: 0 0.625rem;
  height: 18px;
}

.hero__visual .mock-nav__brand {
  color: #EDE0C4;
  letter-spacing: 0.01em;
  font-size: 0.4rem;
  font-style: italic;
  font-weight: 500;
}

.hero__visual .mock-nav__links span {
  color: #7A6850;
  font-size: 0.34rem;
}

/* Hero — tall, photo bg, left-aligned */
.hero__visual .mock-hero-zone--cafe {
  background:
    linear-gradient(to top, rgba(6, 4, 2, 0.92) 0%, rgba(6, 4, 2, 0.38) 55%, rgba(6, 4, 2, 0.08) 100%),
    url('assets/cafe-hero.jpg') center 38% / cover no-repeat;
  height: 135px;
  align-items: flex-end;
}

.hero__visual .mock-hero-zone--cafe::before,
.hero__visual .mock-hero-zone--cafe::after {
  display: none;
}

.mock-cafe-hero__content {
  width: 100%;
}

.mock-cafe-eyebrow {
  font-size: 0.265rem;
  letter-spacing: 0.08em;
  color: rgba(210, 155, 80, 0.9);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.hero__visual .mock-hero-zone__headline span {
  color: #F5ECD8;
  font-size: 0.64rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Pill CTA — completely different shape from barber's sharp rectangle */
.mock-cafe-cta {
  display: inline-block;
  margin-top: 6px;
  background: #C8883A !important;
  color: #0C0906 !important;
  border: none !important;
  padding: 0.22rem 0.6rem !important;
  border-radius: 100px !important;
  font-size: 0.3rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* Warm cream info strip — biggest differentiator from barber's all-dark layout */
.mock-cafe-strip {
  background: #F2E8D4;
  padding: 0.45rem 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-cafe-strip__hours {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.mock-cafe-strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4A9E6A;
  flex-shrink: 0;
}

.mock-cafe-strip__open {
  font-size: 0.3rem;
  color: #3A2E20;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mock-cafe-strip__time {
  font-size: 0.3rem;
  color: #7A6448;
  letter-spacing: 0.02em;
}

.mock-cafe-strip__divider {
  width: 1px;
  height: 10px;
  background: rgba(100, 80, 50, 0.2);
  flex-shrink: 0;
}

.mock-cafe-strip__special {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.mock-cafe-strip__special-label {
  font-size: 0.255rem;
  color: #9A7A50;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.mock-cafe-strip__special-name {
  font-size: 0.3rem;
  color: #3A2E20;
  font-style: italic;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BARBER — Brick Red / Industrial theme (showcase + phone) */

/* Brick red top stripe */
.mock-barber-topbar {
  height: 3px;
  background: linear-gradient(90deg, #7A2E1A 0%, #B84830 45%, #C85838 55%, #8A3420 100%);
  flex-shrink: 0;
}

/* Nav */
.showcase__devices .mock-nav--barber,
.phone-mockup .mock-mobile-nav {
  background: #0E0A08;
  border-bottom: 1px solid #221610;
}

.showcase__devices .mock-nav__brand,
.phone-mockup .mock-nav__brand {
  color: #EDE0CC;
  letter-spacing: 0.1em;
  font-size: 0.4rem;
}

.showcase__devices .mock-nav__links span {
  color: #7A6858;
}

.showcase__devices .mock-nav__book {
  background: transparent !important;
  color: #C85838 !important;
  border: 1px solid rgba(200, 88, 56, 0.6) !important;
  font-weight: 600 !important;
}

/* Hero zone — photo background */
.showcase__devices .mock-hero-zone--barber {
  height: 148px;
  background:
    linear-gradient(to bottom, rgba(8, 4, 2, 0.55) 0%, rgba(8, 4, 2, 0.3) 45%, rgba(8, 4, 2, 0.78) 100%),
    url('assets/barbershop-demo.jpg') center 30% / cover no-repeat;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
}

.showcase__devices .mock-hero-zone--barber::before,
.showcase__devices .mock-hero-zone--barber::after {
  display: none;
}

.mock-barber-hero__content {
  text-align: left;
  width: 100%;
}

.mock-barber-eyebrow {
  font-size: 0.27rem;
  letter-spacing: 0.13em;
  color: rgba(210, 130, 90, 0.95);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.showcase__devices .mock-hero-zone__headline span,
.phone-mockup .mock-hero-zone__headline span {
  color: #F0E4D4;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.mock-barber-rule {
  width: 20px;
  height: 1px;
  background: rgba(200, 88, 56, 0.7);
  margin: 5px 0 6px;
}

/* Outlined brick-red CTA */
.mock-barber-cta {
  display: inline-block;
  background: transparent !important;
  color: #F0E4D4 !important;
  border: 1px solid rgba(240, 228, 212, 0.45) !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 2px !important;
  font-size: 0.32rem !important;
  letter-spacing: 0.06em !important;
  font-weight: 500 !important;
}

/* Services price menu */
.mock-barber-services {
  background: #0C0906;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid #1E1410;
}

.mock-barber-service-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 0;
  border-bottom: 1px solid rgba(180, 70, 40, 0.08);
}

.mock-barber-service-row--last {
  border-bottom: none;
}

.mock-barber-service-name {
  font-size: 0.3rem;
  color: #D0C0B0;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.mock-barber-service-dots {
  flex: 1;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(180, 70, 40, 0.22) 0px,
    rgba(180, 70, 40, 0.22) 2px,
    transparent 2px,
    transparent 5px
  );
}

.mock-barber-service-price {
  font-size: 0.3rem;
  color: #C85838;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Booking availability strip */
.mock-barber-booking {
  background: #100C08;
  padding: 0.42rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 5px;
  border-top: 1px solid #221610;
}

.mock-barber-booking__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4A9E5A;
  flex-shrink: 0;
}

.mock-barber-booking__label {
  font-size: 0.275rem;
  color: #7A6858;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mock-barber-booking__time {
  font-size: 0.275rem;
  color: #C0A890;
  font-weight: 500;
  letter-spacing: 0.03em;
  flex: 1;
  white-space: nowrap;
}

.mock-barber-booking__btn {
  background: #B84830;
  color: #F5EAE0;
  font-size: 0.275rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.42rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Phone screen bg */
.phone-mockup__screen {
  background: #0C0906;
}

/* Phone mobile hero — photo background */
.mock-mobile-hero--barber {
  padding: 8px 7px 7px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  background:
    linear-gradient(to bottom, rgba(8, 4, 2, 0.5) 0%, rgba(8, 4, 2, 0.25) 40%, rgba(8, 4, 2, 0.82) 100%),
    url('assets/barbershop-demo.jpg') center 25% / cover no-repeat;
}

.phone-mockup .mock-barber-eyebrow {
  font-size: 0.255rem;
  letter-spacing: 0.1em;
  color: rgba(210, 130, 90, 0.9);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.phone-mockup .mock-hamburger {
  color: #7A6858;
}

/* Phone services list */
.mock-mobile-services {
  background: #0C0906;
  padding: 4px 7px 4px;
  border-bottom: 1px solid #1A1008;
}

.mock-mobile-services .mock-barber-service-row {
  padding: 2px 0;
}

.mock-mobile-services .mock-barber-service-name,
.mock-mobile-services .mock-barber-service-price {
  font-size: 0.265rem;
}

/* Phone booking strip */
.mock-barber-booking--mobile {
  padding: 0.35rem 7px;
  gap: 4px;
}

.mock-barber-booking--mobile .mock-barber-booking__label {
  display: none;
}

.mock-barber-booking--mobile .mock-barber-booking__time {
  font-size: 0.265rem;
}

.mock-barber-booking--mobile .mock-barber-booking__btn {
  font-size: 0.265rem;
  padding: 0.15rem 0.35rem;
}

/* --- Problem Statement Band --- */
.section--compact {
  padding: 3.5rem 0;
}

.problem-band__headline {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.875rem;
  max-width: 640px;
}

.problem-band__body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
}

/* --- Offer Clarity Block --- */
.offer-clarity {
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.offer-clarity__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.375rem;
}

.offer-clarity__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.125rem;
}

.offer-clarity__body:last-child {
  margin-bottom: 0;
}

/* --- Showcase Section --- */
.showcase {
  padding-bottom: 3rem;
}

.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: center;
}

.showcase__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.showcase__headline {
  font-size: clamp(1.5rem, 2.8vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.showcase__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.showcase__caption {
  font-size: 0.8125rem;
  color: rgba(146, 146, 181, 0.55);
  line-height: 1.6;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.showcase__devices {
  position: relative;
  padding-bottom: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Responsive --- */
/* --- Prelude --- */
#prelude {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.prelude__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%; /* slight overlap prevents hairline gap between panels */
  background: var(--bg);
}

.prelude__panel--top    { top: 0; }
.prelude__panel--bottom { bottom: 0; }

.prelude__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
}

.prelude__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.prelude__logo {
  display: block;
  height: 192px;
  width: auto;
  filter: brightness(3.2) drop-shadow(0 0 28px rgba(77, 126, 255, 0.6));
}

.prelude__bar {
  height: 2px;
  background: var(--accent);
  width: 320px;
  max-width: 80vw;
  margin: 1.25rem auto 0;
  transform: scaleX(0);
  transform-origin: center;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.6);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .step__arrow {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__inner .hero__content {
    max-width: 600px;
  }

  .hero__visual {
    justify-content: center;
  }

  .browser-mockup {
    transform: none;
    max-width: 420px;
    margin: 0 auto;
  }

  .showcase__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .showcase__devices {
    max-width: 540px;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 4.5rem;
    --space-md: 1.25rem;
  }

  .hero {
    min-height: 75vh;
  }

  /* Scale logo down so it doesn't collide with the CTA button */
  .nav__logo {
    transform: scale(1.4);
  }

  /* Hide nav CTA on mobile — hero CTA directly below serves the same purpose */
  .nav .btn--sm {
    display: none;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__visual {
    max-width: 340px;
    margin: 0 auto;
  }

  .phone-mockup {
    display: none;
  }
}
