/* SparkRealm Creations: black, gold and cream, editorial magazine style. */
:root {
  --black: #0b0a0b;
  --ink: #1c1719;
  --gold: #e2b857;
  --cream: #f3e3c0;
  --text: #cfc4b8;
  --muted: #9a8f86;
  --line: #3a3234;
  --magenta: #a3195b;
  --wine: #5e1238;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Great Vibes", cursive;
  --caps: Cinzel, "Times New Roman", serif;
  --sans: Montserrat, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Floating stars: a fixed layer behind everything, so they show all the way down. */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.star { position: absolute; color: var(--gold); animation: drift linear infinite, twinkle ease-in-out infinite; }
.star svg { width: 100%; height: 100%; }
@keyframes drift { from { transform: translateY(30px); } to { transform: translateY(-90px); } }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .star { animation: none; opacity: .4; } }

.page { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }

/* Header */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: .5px solid var(--line); }
.nav .brand { width: 150px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: #d9cfc3; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--gold); }

/* Type */
.cap { font-size: 11px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin: 0 0 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: #fff; margin: 0; }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.06; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin-bottom: 10px; }
.script { font-family: var(--script); color: var(--gold); font-size: clamp(48px, 6vw, 72px); line-height: 1; display: block; }
.lead { max-width: 440px; margin: 20px 0 0; }
.link { display: inline-block; margin-top: 18px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: .5px solid var(--gold); padding-bottom: 3px; }
.link:hover { color: var(--cream); border-color: var(--cream); }
.btn { display: inline-block; border: .5px solid var(--gold); color: var(--gold); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; padding: 14px 28px; }
.btn:hover { background: var(--gold); color: var(--black); }
.gold { color: var(--gold); }
.rule { height: .5px; background: var(--gold); opacity: .6; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 560px; }
.hero-text { padding: 64px 28px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero .script { margin: 2px 0 0 70px; }
/* Approved mockup: a deep wine block with a thin gold frame; the photo sits inside the frame. */
.cover { position: relative; background: var(--wine); min-height: 420px; }
.cover::before { content: ""; position: absolute; inset: 16px; border: .5px solid var(--gold); opacity: .8; pointer-events: none; }
.cover img { position: absolute; top: 30px; left: 30px; width: calc(100% - 60px); height: calc(100% - 84px); object-fit: cover; object-position: center 30%; }
.cover figcaption { position: absolute; left: 30px; right: 30px; bottom: 22px; font-size: 9.5px; line-height: 1.5; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cream); }
.cover figcaption a { color: inherit; text-decoration: none; border-bottom: .5px solid rgba(243,227,192,.5); }

/* Numbered features */
.feat { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 44px 28px; }
.no { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--gold); }
.spread { display: grid; grid-template-columns: .8fr 1.2fr; }
.spread.flip { grid-template-columns: 1.2fr .8fr; }
.panel { display: flex; align-items: center; justify-content: center; min-height: 300px; }
.panel.magenta { background: var(--magenta); }
/* Champagne gold shimmer behind the Hair Sistas logo (Pixabay 1913529, free for business use). */
.panel.gold-dust { background: #8a6d3f url(/images/gold-shimmer.webp) center / cover; }
/* Magenta dust: the same shimmer tinted Hair Sistas pink. */
.panel.pink-dust { background: var(--magenta) url(/images/pink-dust.webp) center / cover; }
.panel.magenta img, .panel.gold-dust img, .panel.pink-dust img { width: 150px; height: 150px; border-radius: 50%; }
.quote { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--cream); margin: 4px 0 0; }

/* WigMatch top looks */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--black); border-left: .5px solid var(--line); }
.looks a { position: relative; display: block; overflow: hidden; text-decoration: none; }
.looks img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.looks a:hover img { transform: scale(1.04); }
.looks span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; text-align: center; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--cream); background: linear-gradient(transparent, rgba(11,10,11,.85)); }

/* Closing */
.closing { text-align: center; padding: 60px 28px 64px; }
.closing .badge { width: 96px; margin: 0 auto 10px; }
.closing .script { font-size: 54px; }
.closing p { margin: 6px 0 22px; }

/* Contact: the address in plain text with a Copy button */
.copy-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin: 22px 0 0; }
.copy-row #email { font-size: 15px; letter-spacing: .5px; color: inherit; }
.copy { font: 500 10px/1 var(--sans); letter-spacing: 3px; text-transform: uppercase; color: #8a6a26; background: transparent; border: .5px solid #a8822f; padding: 9px 14px; cursor: pointer; }
.copy:hover { background: #a8822f; color: #fff; }
.copied { flex-basis: 100%; font-size: 12px; color: #8a7d72; min-height: 18px; }

/* Footer */
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 28px 28px; border-top: .5px solid var(--line); font-size: 11px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.foot .mark { display: flex; align-items: center; gap: 12px; }
.foot .mark svg { width: 36px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* Hair Sistas page */
.hs-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.hs-hero .panel img { width: 190px; height: 190px; border-radius: 50%; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: .5px solid var(--line); border-bottom: .5px solid var(--line); }
.stats div { padding: 26px 14px; text-align: center; border-left: .5px solid var(--line); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--gold); line-height: 1.2; }
.stats span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 36px; padding: 0 28px 52px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 9 / 16; background: var(--ink); border: .5px solid var(--gold); }
.videos figcaption { margin-top: 10px; text-align: center; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.center { text-align: center; }
.list { margin: 8px 0 0; padding-left: 18px; }
.list li { margin: 4px 0; }

/* Simple text pages */
.prose { max-width: 760px; padding: 56px 28px 64px; }
.prose h2 { font-size: 24px; margin: 34px 0 8px; }
.prose a { color: var(--gold); }

/* Tablets and narrow windows: keep the side-by-side magazine layout, just tighter. */
@media (max-width: 1000px) {
  .hero-text { padding: 48px 22px 44px; }
  .feat { grid-template-columns: 64px 1fr; padding: 36px 22px; }
  .no { font-size: 36px; }
  .hero .script { margin-left: 40px; }
  .hero-text .script { font-size: 44px; }
}

/* Phones */
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .nav { flex-direction: column; gap: 12px; padding: 16px; }
  .nav ul { gap: 18px; }
  .nav ul a { font-size: 10px; letter-spacing: 2px; }
  .hero, .hs-hero, .spread, .spread.flip { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-text { padding: 40px 16px 36px; }
  .hero .script { margin-left: 34px; }
  .cover { aspect-ratio: 3 / 4; }
  .feat { grid-template-columns: 1fr; gap: 6px; padding: 32px 16px; }
  .spread.flip .looks { order: 2; }
  .panel { min-height: 220px; }
  .looks { border-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: .5px solid var(--line); }
  .videos { grid-template-columns: minmax(0, 300px); gap: 28px; padding: 0 16px 40px; }
  .closing { padding: 48px 16px 52px; }
  .foot { flex-direction: column; align-items: flex-start; padding: 18px 16px 26px; }
  .prose { padding: 40px 16px 48px; }
}

/* Cream body (owner's choice 2026-10-17): every page has <body class="light">. Header, footer and the top section (class "dark") stay black. */
body.light { background: #fbf7f0; color: #4a403b; }
html:has(body.light) { background: #fbf7f0; }
body.light .nav, body.light .foot { background: var(--black); box-shadow: 0 0 0 100vmax var(--black); clip-path: inset(0 -100vmax); }
body.light .nav { border-bottom: .5px solid var(--line); }
body.light .foot { border-top: 0; }
body.light main h1, body.light main h2, body.light main h3 { color: #0b0a0b; }
body.light main .cap, body.light main .link, body.light main .no, body.light main .script, body.light main .gold, body.light .stats b { color: #a8822f; }
body.light main .link { border-color: #a8822f; }
body.light main .btn { color: #8a6a26; border-color: #a8822f; }
body.light main .btn:hover { background: #a8822f; color: #fff; }
body.light main .quote { color: #5e1238; }
body.light .rule { background: #c9a24a; opacity: .5; }
body.light .stats, body.light .stats div { border-color: #e6dccb; }
body.light .stats span, body.light .videos figcaption { color: #8a7d72; }
body.light .looks { background: #fbf7f0; border-left-color: #e6dccb; }
body.light .star { color: #c9a24a; }
body.light .hero .cover figcaption { color: var(--cream); }
body.light .dark { position: relative; background: var(--black); color: var(--text); box-shadow: 0 0 0 100vmax var(--black); clip-path: inset(0 -100vmax); }
body.light .dark :is(h1, h2, h3) { color: #fff; }
body.light .dark :is(.cap, .link, .no, .script, .gold) { color: var(--gold); }
body.light .dark .link { border-color: var(--gold); }
/* A few stars of its own in each black section. */
.dark > .sky-local { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dark > :not(.sky-local) { position: relative; z-index: 1; }
body.light .dark .star { color: var(--gold); }
