/* Fine Star Beauty LLC: warm rose, blush, cocoa and gold on a bright white base with rose as the strong
   accent; split hero; slab serif headings over a clean sans; vertical side header with the logo, name and
   navigation; category index column beside product rows; thick 3px outlines and no shadows; faint sparkle
   motif in the side header */
@font-face {
  font-family: "Velvet Slab";
  src: url("fonts/velvet-slab-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Velvet Slab";
  src: url("fonts/velvet-slab-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --rose: #c22e57;
  --rose-dk: #9c1f43;
  --blush: #f6d3d6;
  --blush-lt: #fdf1ef;
  --cocoa: #2c101e;
  --gold: #d4a24c;
  --muted: #5f4b53;
  --white: #ffffff;
  --slab: "Velvet Slab", Rockwell, Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --line: 3px solid var(--cocoa);
  --side: 250px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: linear-gradient(to right, var(--cocoa) var(--side), var(--white) var(--side)); color: var(--cocoa); font-family: var(--sans); font-size: 17px; line-height: 1.6; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-dk); text-underline-offset: 3px; }
a:hover { color: var(--cocoa); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.04rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.inner { width: min(100% - 56px, 1000px); margin-inline: auto; }

/* vertical side header */
.side-header { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--cocoa) url("assets/motif-sparkle.svg") repeat; background-size: 90px 90px; color: var(--blush); padding: 30px 24px; display: flex; flex-direction: column; gap: 28px; border-right: 3px solid var(--rose); }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 92px; height: auto; border: 3px solid var(--blush); }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.side-nav a { display: block; padding: 9px 14px; color: var(--blush); text-decoration: none; font-weight: 600; border: 3px solid transparent; }
.side-nav a:hover { border-color: var(--blush); color: var(--white); }
.side-nav a[aria-current="page"] { background: var(--blush); color: var(--cocoa); border-color: var(--blush); }
.side-meta { margin-top: auto; font-size: .9rem; color: #e6bfc6; }
.side-meta p { margin: 0 0 .6em; }
.side-meta a { color: var(--white); font-weight: 600; }
main { grid-column: 2; min-width: 0; }
.site-footer { grid-column: 2; }

/* hero and sections */
.hero { padding: 56px 0 46px; border-bottom: var(--line); }
.hero.small { padding: 46px 0 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.top { align-items: start; }
.kicker { font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: .8em; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 34em; }
.art { margin: 0; border: var(--line); background: var(--blush-lt); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-block; padding: 10px 20px; font-weight: 600; text-decoration: none; border: 3px solid var(--cocoa); }
.btn.rose { background: var(--rose); color: var(--white); border-color: var(--rose); }
.btn.rose:hover { background: var(--cocoa); border-color: var(--cocoa); color: var(--white); }
.btn.outline { background: var(--white); color: var(--cocoa); }
.btn.outline:hover { background: var(--blush-lt); color: var(--cocoa); }
.sec { padding: 50px 0; }
.sec + .sec { border-top: 3px solid var(--blush); }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-grid a { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 16px; border: var(--line); text-decoration: none; color: var(--cocoa); }
.cat-grid a:hover { background: var(--blush-lt); }
.cat-grid img { width: 60px; grid-row: span 2; }
.cn { font-family: var(--slab); font-weight: 700; font-size: 1.2rem; }
.cc { color: var(--muted); font-size: .9rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 12px 0 12px 30px; border-bottom: 3px solid var(--blush); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .95em; width: 16px; height: 16px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.spot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 30px; border: var(--line); background: var(--blush-lt); }
.spot p:last-child { margin: 0; }
.amt { color: var(--rose-dk); font-size: 1.2rem; white-space: nowrap; }

/* category index column + product rows */
.index-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; padding: 44px 0 60px; align-items: start; }
.cat-index { position: sticky; top: 16px; border: var(--line); }
.ix-title { margin: 0; padding: 10px 14px; background: var(--rose); color: var(--white); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.cat-index ul { list-style: none; margin: 0; padding: 0; }
.cat-index li + li { border-top: 3px solid var(--blush); }
.cat-index a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; text-decoration: none; color: var(--cocoa); }
.cat-index a:hover { background: var(--blush-lt); }
.cat-index img { width: 38px; flex: none; }
.ix-name { display: block; font-weight: 600; line-height: 1.25; }
.ix-count { display: block; font-size: .82rem; color: var(--muted); }
.cat { scroll-margin-top: 16px; margin-bottom: 40px; }
.cat h2 { padding-bottom: 8px; border-bottom: var(--line); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 15px 0; border-bottom: 3px solid var(--blush); }
.item h3 { margin: 0 0 2px; }
.item p { margin: 0; color: var(--muted); }
.price { flex: none; font-family: var(--slab); font-weight: 700; font-size: 1.2rem; color: var(--rose-dk) !important; text-align: right; max-width: 11em; }
.q { display: block; font-family: var(--sans); font-weight: 600; font-size: .86rem; line-height: 1.35; color: var(--cocoa); }
.feat .items { border: var(--line); padding: 0 18px; background: var(--blush-lt); }
.feat .item:last-child { border-bottom: 0; }

/* about / contact */
.story .first { font-family: var(--slab); font-weight: 500; font-size: 1.32rem; line-height: 1.45; }
.box { border: var(--line); padding: 24px 26px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10.5em 1fr; gap: 12px; padding: 10px 0; border-top: 3px solid var(--blush); }
.facts dt { font-weight: 600; color: var(--rose-dk); }
.facts dd { margin: 0; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--slab); font-weight: 700; font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 11px 4px; border-top: 3px solid var(--blush); }
.hours thead th { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.map-frame { width: 100%; height: 380px; border: var(--line); display: block; background: var(--blush-lt); }
.map-link { margin: 14px 0 0; font-weight: 600; }

/* footer */
.site-footer { background: var(--blush-lt); border-top: var(--line); padding: 40px 0 24px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-name { font-family: var(--slab); font-weight: 700; font-size: 1.4rem; margin-bottom: .2em; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom { margin: 22px 0 0; padding-top: 14px; border-top: 3px solid var(--blush); font-size: .88rem; color: var(--muted); }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body { display: block; background: var(--white); }
  .side-header { position: static; height: auto; padding: 18px 20px; gap: 14px; border-right: 0; border-bottom: 3px solid var(--rose); }
  .brand { flex-direction: row; align-items: center; }
  .brand img { width: 64px; }
  .side-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side-nav a { padding: 6px 12px; }
  .side-meta { display: none; }
  .split, .index-layout { grid-template-columns: 1fr; gap: 28px; }
  .cat-index { position: static; }
  .cat-index ul { display: grid; grid-template-columns: 1fr 1fr; }
  .cat-index li + li { border-top: 0; }
  .cat-index li { border-top: 3px solid var(--blush); }
  .cat-index li:nth-child(even) { border-left: 3px solid var(--blush); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .inner { width: min(100% - 36px, 1000px); }
  .brand-name { font-size: 1.2rem; }
  .side-nav a { font-size: .9rem; padding: 5px 10px; }
  .item { flex-direction: column; gap: 4px; }
  .price { text-align: left; max-width: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .box { padding: 18px; }
  .cat-index a { padding: 8px; }
  .cat-index img { width: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
