/* hairmaxxy.app landing. Barbershop signage, not SaaS: one condensed headline face, photos do the talking,
   true black and white, brand gold only for the App Store pull, barber-pole red only for the "hit". */
:root {
  --black: #000;
  --white: #fff;
  --paper: #f1f1ee;
  --gold: #d6a648;
  --red: #e2382d;
  --grey: #6b6b68;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font: 400 1.125rem/1.6 var(--text); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--white); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2 { font-family: var(--display); font-weight: 900; line-height: .92; letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 14ch; }
section { padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem); }
.sub { color: var(--grey); max-width: 52ch; margin: 1.2rem 0 0; }

/* Top bar */
.top { position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1.25rem, 5vw, 4rem); z-index: 5; }
.wordmark { font: 900 1.6rem/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.store { display: inline-block; transition: transform .15s ease; }
.store:hover { transform: scale(1.04); }
.store.small img { width: 120px; }

/* Hero: headline left, the face right. */
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: 6rem; background: var(--paper); }
.hero h1 { font-size: clamp(3.4rem, 7.4vw, 7.6rem); }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--black); -webkit-text-stroke: 0; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); max-width: 30ch; margin: 1.6rem 0 2rem; }
.lede em { font-style: normal; background: linear-gradient(transparent 60%, rgba(214,166,72,.55) 60%); }
.cta-row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.fine { margin: 0; font-size: .9rem; color: var(--grey); }

/* Before / after */
.ba { --pos: 50%; position: relative; margin: 0; aspect-ratio: 4 / 5; max-height: 82svh; justify-self: center; width: 100%; max-width: 620px; border-radius: 28px; overflow: hidden; background: #ddd; box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); touch-action: pan-y; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { width: 100%; height: 100%; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ba-handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 1.2rem/1 var(--text); letter-spacing: .2em; }
.ba-tag { position: absolute; top: 1rem; padding: .3rem .8rem; border-radius: 99px; background: rgba(0,0,0,.6); color: var(--white); font-size: .85rem; font-weight: 600; pointer-events: none; }
.ba-tag.left { left: 1rem; } .ba-tag.right { right: 1rem; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: var(--white); font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }

/* The letter: one short line per paragraph, like someone talking to you. */
.letter { background: var(--black); color: var(--white); }
.letter > * { max-width: 40rem; margin-left: auto; margin-right: auto; }
.letter p { margin-top: 0; margin-bottom: 1.1rem; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; }
.letter .salute { font-style: italic; color: #bdbdb8; }
.letter .hit { font: 900 clamp(2.4rem, 6vw, 4.6rem)/1 var(--display); text-transform: uppercase; color: var(--red); margin-top: 1.6rem; margin-bottom: 1.6rem; }
.letter .hit.gold { color: var(--gold); margin-bottom: 0; }
.letter .big { font: 900 clamp(2rem, 5vw, 3.6rem)/1.02 var(--display); text-transform: uppercase; }

/* Steps: a real sequence, so it's numbered. */
.steps { background: var(--white); }
.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 3rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.steps li { counter-increment: s; font-size: 1.1rem; }
.steps li::before { content: counter(s); display: block; font: 900 clamp(4rem, 8vw, 7rem)/.8 var(--display); color: var(--gold); margin-bottom: .8rem; }
.steps strong { display: block; font-size: 1.35rem; margin-bottom: .3rem; }

/* The wall of faces */
.wall { background: var(--paper); }
.grid { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.grid li { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; background: #ddd; }
.grid img { width: 100%; height: 100%; object-fit: cover; }
.grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .8rem .7rem; color: var(--white); font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Angles with the real app */
.angles { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--white); }
.angles p { max-width: 46ch; }
.phone { justify-self: center; width: min(320px, 80vw); border: 10px solid var(--black); border-radius: 44px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }

/* Wigs */
.wigs { background: var(--black); color: var(--white); }
.wigs .sub { color: #c9c9c4; }
.strip { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.strip li { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* Face shape guide (answer-engine friendly: plain question, plain answers) */
.faceshape dl { margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.faceshape dt { font: 900 2rem/1 var(--display); text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.faceshape dd { margin: 0; }

.card-sell { background: var(--gold); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.card-sell p { max-width: 50ch; font-size: 1.2rem; }
.bcard { justify-self: center; width: min(380px, 100%); background: var(--white); border-radius: 26px; padding: 1.2rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); transform: rotate(2deg); }
.bcard .who { font-weight: 800; font-size: .95rem; margin: 0 0 .8rem; }
.bcard .shots { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; }
.bcard .shots img { border-radius: 12px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; height: 100%; }
.bcard .shots.one { display: block; position: relative; }
.bcard .shots.one span { position: absolute; left: .6rem; bottom: .6rem; background: rgba(0,0,0,.65); color: var(--white); font-size: .8rem; font-weight: 600; padding: .25rem .6rem; border-radius: 99px; }
.bcard h3 { font: 900 1.9rem/1 var(--display); text-transform: uppercase; margin: 1rem 0 .6rem; }
.bcard ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.bcard li { padding: .45rem 0; border-top: 1px solid rgba(0,0,0,.1); display: flex; justify-content: space-between; gap: 1rem; }
.bcard li b { font-weight: 800; }

/* Price */
.price { background: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 1rem; margin: 3rem 0 0; }
.plan { background: var(--white); border-radius: 22px; padding: 1.6rem; border: 2px solid transparent; }
.plan.best { background: var(--black); color: var(--white); position: relative; }
.plan.best .plan-price span { color: #bdbdb8; }
.plan .tag { position: absolute; top: -.8rem; right: 1.2rem; background: var(--gold); color: var(--black); font-weight: 800; font-size: .85rem; padding: .25rem .7rem; border-radius: 99px; }
.plan p { margin: 0; }
.plan-name { font-weight: 800; }
.plan-price { font: 900 3.6rem/1 var(--display); margin: .5rem 0 !important; }
.plan-price span { font: 400 1rem var(--text); color: var(--grey); }
.price .store { margin-top: 2rem; }

.trust ul { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; max-width: 46ch; }
.trust li { font-size: 1.25rem; padding-left: 2rem; position: relative; }
.trust li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

.faq { background: var(--paper); }
.faq details { max-width: 60ch; border-bottom: 1px solid rgba(0,0,0,.15); padding: 1.1rem 0; }
.faq details:first-of-type { margin-top: 2.5rem; }
.faq summary { font-weight: 800; font-size: 1.2rem; cursor: pointer; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .8rem 0 0; color: #333; }

.final { background: var(--black); color: var(--white); text-align: center; }
.final h2 { margin: 0 auto 2.5rem; max-width: 16ch; }
.final .store { margin: 0 auto; }
.final .ps { max-width: 44ch; margin: 2.5rem auto 0; color: #d6d6d1; font-size: 1.15rem; }

.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem clamp(1.25rem, 5vw, 4rem) 6rem; color: var(--grey); font-size: .95rem; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Sticky CTA (phones): appears once the hero scrolls away. */
.sticky { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 20; display: none; text-align: center; padding: 1rem; border-radius: 99px; background: var(--black); color: var(--white); font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: translateY(150%); transition: transform .25s ease; }
.sticky.on { transform: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; min-height: auto; }
  .ba { order: -1; max-height: none; }
  .top .store.small { display: none; }
  .steps ol, .faceshape dl { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(n+4) { display: none; }
  .angles, .card-sell { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .sticky { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store, .sticky { transition: none; }
}

/* Article pages (/haircuts/*, /face-shape): same signage type, reading width, photo on the right. */
.top.solid { position: sticky; top: 0; background: var(--white); border-bottom: 1px solid rgba(0,0,0,.08); }
.article .art-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; background: var(--paper); }
.article .art-hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.article .crumbs { font-size: .9rem; color: var(--grey); margin: 0 0 1rem; }
.article .art-photo { width: 100%; max-width: 420px; justify-self: center; border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.article .art-body h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; margin-top: 3rem; }
.article .art-body h2:first-child { margin-top: 0; }
.article .art-body p { max-width: 62ch; }
.article .ask { list-style: none; padding: 0; margin: 1.5rem 0; max-width: 40rem; }
.article .ask li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; border-top: 1px solid rgba(0,0,0,.12); }
.article .ask li:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.article .ask b { text-align: right; }
.grid a { display: block; height: 100%; color: inherit; text-decoration: none; }
.article .faceshape dl { grid-template-columns: repeat(2, 1fr); }
.article .faceshape dd p { margin: 0 0 .5rem; }
@media (max-width: 860px) { .article .art-hero, .article .faceshape dl { grid-template-columns: 1fr; } .article .art-photo { order: -1; max-width: none; } }
