/* Sasa's Hair · palette A "Blush & Cocoa" */
:root {
  --bg: #FCF3F1;
  --ink: #3A221D;
  --muted: #6E5650;
  --accent: #B8324A;
  --accent-text: #9C2A3F;
  --line: #F0DCD8;
  --frame: #E9B9B3;
  --band: #3A221D;
  --band-ink: #FCEDEA;
  --card: #FFFFFF;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--accent-text); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.band a:focus-visible, .foot a:focus-visible { outline-color: var(--frame); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo em, .foot-name em { font-style: normal; color: var(--accent); }
.top nav { display: flex; align-items: center; gap: 14px; }
.top nav a { color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.top nav a.pill { background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 999px; }
@media (max-width: 400px) { .top nav { gap: 12px; } .top nav a.pill { padding: 8px 14px; } .logo { font-size: 1.4rem; } }
@media (max-width: 359px) { .top nav .nav-styles { display: none; } }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center; }
.btn { background: var(--accent); color: #fff; }
.btn:hover { background: #A02A40; }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 .5em; }

/* Photo with "Sample photo" label */
.ph { position: relative; margin: 0; }
.sample { position: absolute; left: 8px; bottom: 8px; margin: 0; padding: 2px 8px; border-radius: 999px; background: rgba(58, 34, 29, .72); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.6; letter-spacing: .02em; pointer-events: none; }

/* Hero */
.hero { padding: 22px 0 36px; }
.hero-in { display: grid; gap: 22px; }
.arch { aspect-ratio: 5 / 4; border-radius: 200px 200px 16px 16px; overflow: hidden; border: 4px solid var(--frame); background: var(--frame); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 34em; }
@media (min-width: 820px) {
  .hero { padding: 48px 0 64px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero-copy { order: 1; }
  .hero-photo { order: 2; }
  .arch { aspect-ratio: 4 / 5; }
}

/* Cocoa styles band */
.band { background: var(--band); color: var(--band-ink); padding: 36px 0 44px; }
.band h2 { color: var(--band-ink); }
.band .group { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--frame); margin: 22px 0 10px; }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 820px) { .style-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.card { display: block; color: inherit; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.card .sample { font-size: 9.5px; left: 5px; bottom: 5px; padding: 1px 6px; }
.card-name { display: block; margin-top: 6px; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.card:hover .card-name { text-decoration: underline; }

/* Sections */
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.steps li::before { content: counter(step); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--serif); font-size: 1.2rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.find p { margin: 0 0 .4em; }

/* Style page */
.crumb { display: inline-block; margin: 18px 0 10px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.style-in { display: grid; gap: 26px; padding-bottom: 40px; }
.gallery .main { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumbs span { display: block; font-size: .72rem; color: var(--muted); padding: 3px 0; }
.style-copy h2 { font-size: 1.35rem; margin-top: 1.4em; }
.style-copy .desc { font-size: 1.05rem; }
.book-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 24px; }
.book-card .price { font-weight: 700; margin-bottom: .8em; }
.book-card .note { color: var(--muted); font-size: .9rem; margin: .8em 0 0; }
.sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(58, 34, 29, .08); }
.sticky-book .name { font-weight: 600; font-size: .9rem; line-height: 1.25; min-width: 0; }
.sticky-book .btn { min-height: 44px; padding: 10px 18px; flex: none; }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 820px) {
  .style-in { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .gallery { position: sticky; top: 80px; }
  .sticky-book { display: none; }
  body.has-sticky { padding-bottom: 0; }
}
.more { padding: 36px 0 44px; }

/* Prices */
.price-group { margin-top: 28px; }
.price-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-list .pname { font-weight: 600; color: var(--ink); }
.price-list .ptext { grid-column: 1; color: var(--muted); font-size: .92rem; }
.price-list .pbook { grid-column: 2; grid-row: 1 / span 2; }
.price-list .pbook a { display: inline-block; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* 404 */
.lost { padding: 60px 0 80px; }

/* Footer */
.foot { background: var(--band); color: var(--band-ink); padding: 32px 0; font-size: .92rem; }
.foot a { color: var(--band-ink); }
.foot p { margin: 0 0 .4em; }
.foot-name { font-family: var(--serif); font-size: 1.5rem; }
.foot-small { opacity: .8; font-size: .8rem; margin-top: .8em; }
