/* The Power of Hair. Color rule (Tia's): 3 neutrals, 2 tints, ONE loud color (--pop) used only where the click goes. */
:root {
  --bg: #fbf7f2;        /* cream */
  --surface: #f3ebe2;   /* sand */
  --text: #2a211c;      /* espresso */
  --muted: #6e625a;
  --line: #e4d8cc;
  --tint: #ecd5c9;      /* blush */
  --tint-2: #c9a27e;    /* champagne gold */
  --pop: #a3204a;       /* berry: buttons only */
  --pop-ink: #fff;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --wrap: 1180px;
  --narrow: 720px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17120f; --surface: #221b17; --text: #f2e9e1; --muted: #b3a59a; --line: #3a302a;
    --tint: #4a3530; --tint-2: #d4b08c; --pop: #e0507a; --pop-ink: #17120f;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 10; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: var(--narrow); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
em, i { font-style: italic; }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tint-2); margin: 0 0 12px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { font: 500 24px/1 var(--serif); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo i { color: var(--tint-2); font-weight: 400; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--text); }

/* home masthead */
.mast { padding: 88px 0 56px; text-align: center; background: radial-gradient(ellipse 70% 90% at 50% 0%, var(--tint), transparent 70%); }
.mast h1 { font-size: clamp(44px, 7vw, 88px); margin: 0 auto 18px; max-width: 14ch; font-weight: 400; }
.mast h1 em { color: var(--tint-2); }
.dek { font-size: 19px; color: var(--muted); max-width: 46ch; margin: 0 auto; line-height: 1.55; }
.feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-top: 24px; }
.feature .side { display: grid; gap: 32px; }

/* tiles */
.tile { text-decoration: none; display: block; }
.tile .timg { aspect-ratio: 4/5; width: 100%; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; transition: transform .5s ease; }
.tile:hover .timg { transform: scale(1.015); }
.tile h3 { font-size: 22px; margin: 0 0 8px; }
.tile:hover h3 { text-decoration: underline; text-decoration-color: var(--tint-2); text-underline-offset: 4px; }
.tile .tdek { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.5; }
.tile.big .timg { aspect-ratio: 16/11; }
.tile.big h3 { font-size: clamp(28px, 3.4vw, 40px); }
.feature .side .timg { aspect-ratio: 16/10; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin: 40px 0 80px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin: 32px 0 0; }
.grid4 h3 { font-size: 19px; }
.band { background: var(--surface); padding: 72px 0 80px; margin: 88px 0 72px; }
.bandhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bandhead h2 { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.bandhead a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; }
.promise { border-top: 1px solid var(--line); padding: 72px 0 88px; text-align: center; }
.promise h2 { font-size: 34px; margin: 0 0 16px; }
.promise p { color: var(--muted); margin: 0; }

/* placeholders until images are generated */
.ph { background: linear-gradient(135deg, var(--tint) 0%, var(--surface) 55%, color-mix(in srgb, var(--tint-2) 35%, var(--surface)) 100%); }
.tile .ph { aspect-ratio: 4/5; border-radius: var(--r); margin-bottom: 16px; }
.tile.big .ph { aspect-ratio: 16/11; }
.feature .side .ph { aspect-ratio: 16/10; }

/* hubs */
.hubhead { padding: 80px 0 24px; text-align: center; background: radial-gradient(ellipse 70% 90% at 50% 0%, var(--tint), transparent 70%); }
.hubhead h1 { font-size: clamp(42px, 6vw, 72px); margin: 0 0 14px; font-weight: 400; }

/* article */
.phead { padding: 48px 0 0; text-align: center; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 8px; color: var(--line); }
.phead h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 0 0 18px; font-weight: 400; }
.byline { font-size: 13px; color: var(--muted); margin: 22px 0 36px; }
.byline span { margin: 0 6px; }
.hero-wrap { max-width: 1040px; }
.hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: calc(var(--r) + 4px); }
.prose { padding-top: 48px; padding-bottom: 32px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); margin: 64px 0 18px; scroll-margin-top: 90px; }
.prose h3 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 88%, var(--muted)); }
.prose a { text-decoration-color: var(--tint-2); text-underline-offset: 3px; }
.prose .lede { font: 400 22px/1.6 var(--serif); color: var(--text); }
.prose .lede::first-letter { float: left; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: var(--tint-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose blockquote { border-left: 3px solid var(--tint-2); margin: 32px 0; padding: 4px 0 4px 24px; font: italic 22px/1.5 var(--serif); }
.toc { background: var(--surface); border-radius: var(--r); padding: 22px 26px; margin: 0 0 40px; }
.toc p { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.callout { background: color-mix(in srgb, var(--tint) 55%, var(--bg)); border-radius: var(--r); padding: 20px 24px; margin: 28px 0; }
.callout.warn { background: color-mix(in srgb, var(--tint-2) 22%, var(--bg)); }
.callout > :first-child { margin-top: 0; } .callout > :last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; margin: 18px 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font: 500 16px/34px var(--serif); text-align: center; }
table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; display: block; overflow-x: auto; }
thead th { text-align: left; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--text); padding: 10px 12px; }
td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: top; }
figure.inline { margin: 40px -40px; }
figure.inline img, figure.inline .ph { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r); }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* product cards */
.picks { display: grid; gap: 20px; margin: 32px 0 40px; }
.pcard { display: grid; grid-template-columns: 56px 1fr 150px; gap: 20px; align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px color-mix(in srgb, var(--text) 40%, transparent); }
.pnum { font: 300 40px/1 var(--serif); color: var(--tint-2); }
.pbest { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pop); margin: 4px 0 8px !important; }
.pcard h3 { margin: 0 0 10px !important; font-size: 22px !important; }
.pbrand { color: var(--muted); font-weight: 400; }
.pcard p { margin: 0 0 12px; font-size: 15px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; }
.pc ul { list-style: none; padding: 0 !important; margin: 0; }
.pc li { padding-left: 20px; position: relative; margin: 4px 0 !important; }
.pros li::before { content: '+'; position: absolute; left: 2px; color: var(--tint-2); font-weight: 700; }
.cons li::before { content: '\2013'; position: absolute; left: 2px; color: var(--muted); }
.pbuy { display: flex; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.pband { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.btn { display: inline-block; background: var(--pop); color: var(--pop-ink) !important; text-decoration: none; font: 600 14px/1 var(--sans); padding: 15px 18px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 8px 20px -10px var(--pop); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px var(--pop); }

/* faq + related */
.faq { margin-top: 64px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 500 19px/1.4 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--tint-2); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 12px 0 0; }
.related { background: var(--surface); padding: 64px 0 8px; margin-top: 56px; }
.related h2 { font-size: 34px; margin: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.fbrand p { margin: 10px 0 0; }
.fnav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; justify-content: flex-end; }
.fnav a { text-decoration: none; }
.fnav a:hover { color: var(--text); }
.fine { grid-column: 1 / -1; font-size: 12px; margin: 16px 0 0; border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 960px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature .side { grid-template-columns: 1fr 1fr; }
  figure.inline { margin: 32px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { height: auto; padding-top: 14px; padding-bottom: 12px; flex-direction: column; gap: 10px; }
  .nav { gap: 20px; }
  .mast { padding: 56px 0 32px; }
  .grid3, .grid4, .feature .side { grid-template-columns: 1fr; }
  .band { padding: 48px 0 56px; margin: 56px 0 48px; }
  .toc ol { columns: 1; }
  .pcard { grid-template-columns: 1fr; padding: 22px 18px; gap: 12px; }
  .pnum { font-size: 28px; }
  .pc { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .fnav { justify-content: flex-start; }
  .prose .lede { font-size: 20px; }
}
