/* Kassy In The Vine · Shop the Edit (blog-style shopping template)
   Type system (one job per font, like the Jenna Kutcher reference):
   - Cormorant Garamond  -> the "voice": section keywords, big titles, intro paragraphs
   - Inter               -> the "shelf": product names, notes, sans half of every heading, body
   - Montserrat caps     -> the "labels": browse bar, tags (TOP PICK), buttons
   - Nightshade script   -> the "signature": one flourish per page, never more
   Colors come from Kassy's own palettes (Showit + practice); each category swaps only --accent. */

@font-face { font-family: 'Nightshade'; src: url('https://kassy-work-with-me.vercel.app/assets/fonts/nightshade.woff2') format('woff2'); font-display: swap; }

:root {
  --paper: #f4f1ec;      /* Showit colors-1 */
  --stone: #e7ded5;      /* Showit colors-4 */
  --card: #ffffff;
  --ink: #211817;        /* chocolate */
  --muted: rgba(33, 24, 23, .68);
  --line: rgba(33, 24, 23, .12);
  --accent: #7f1d17;     /* per category, set on <body> */
  --tint: color-mix(in srgb, var(--accent) 9%, var(--paper));
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans: 'Inter', system-ui, sans-serif;
  --f-label: 'Montserrat', sans-serif;
  --f-script: 'Nightshade', 'Cormorant Garamond', cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(18px, 5vw, 64px);
}
body[data-accent="makeup"] { --accent: #7f1d17; }      /* rich red (Beauty Masterclass light rebrand) */
body[data-accent="skincare"] { --accent: #7a1f2b; }    /* burgundy (practice palette) */
body[data-accent="biohacking"] { --accent: #4f120d; }  /* oxblood (Showit colors-2) */
body[data-accent="supplements"] { --accent: #8a6a2e; } /* aged brass (practice, light mode) */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--f-sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }

/* ---------- labels + buttons ---------- */
.label { font: 600 11px/1.3 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 250px; padding: 18px 34px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font: 600 13px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; transition: transform .35s var(--ease), box-shadow .35s, filter .35s; box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--accent) 80%, transparent); }
.pill:hover { transform: translateY(-2px); filter: brightness(1.08); }
.pill.ghost { background: #fff; color: var(--accent); box-shadow: 0 10px 30px -18px rgba(33,24,23,.4); }

/* ---------- template notice ---------- */
.notice { background: var(--ink); color: var(--paper); text-align: center; font: 500 11px/1.4 var(--f-label); letter-spacing: .14em; text-transform: uppercase; padding: 9px var(--gut); }
.notice b { color: #e8c98f; font-weight: 600; }

/* ---------- browse bar ---------- */
.browse { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--stone) 88%, #fff); border-bottom: 1px solid var(--line); }
.browse .wrap { display: flex; align-items: center; gap: 28px; height: 54px; overflow-x: auto; scrollbar-width: none; }
.browse .wrap::-webkit-scrollbar { display: none; }
.browse-title { font: 500 20px/1 var(--f-serif); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.browse a { font: 600 10.5px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--muted); padding: 8px 0; position: relative; transition: color .3s; }
.browse a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--accent); transition: right .4s var(--ease); }
.browse a:hover, .browse a.on { color: var(--ink); }
.browse a:hover::after, .browse a.on::after { right: 0; }
.browse .dot { color: var(--line); }
.browse .home { margin-left: auto; font-family: var(--f-serif); font-size: 17px; letter-spacing: 0; text-transform: none; font-style: italic; color: var(--ink); }
.browse .home::after { display: none; }

/* ---------- the heading formula: serif keyword + sans words ---------- */
.hx { margin: 0; font-weight: 400; line-height: 1.02; letter-spacing: -.01em; }
.hx .s { font-family: var(--f-serif); font-weight: 500; }
.hx .n { font-family: var(--f-sans); font-weight: 300; letter-spacing: -.02em; }
.hx-sec { font-size: clamp(38px, 5vw, 62px); }
.sec-sub { margin: 12px 0 0; font: 500 16px/1.5 var(--f-sans); }
.sec-sub code { font: 600 11px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); background: var(--tint); padding: 6px 10px; border-radius: 999px; margin-left: 8px; }

/* ---------- hero ---------- */
.hero { padding: clamp(46px, 6vw, 80px) 0 clamp(60px, 7vw, 90px); background: color-mix(in srgb, var(--paper) 60%, #fff); }
.hero-h { text-align: center; font: 600 clamp(34px, 4.6vw, 58px)/1.08 var(--f-sans); letter-spacing: -.025em; margin: 0 auto 36px; max-width: 900px; }
.hero-h em { font: italic 500 1.12em var(--f-serif); color: var(--accent); letter-spacing: 0; }
.collage { position: relative; max-width: 840px; margin: 0 auto; }
.collage .big { width: 88%; margin-left: auto; aspect-ratio: 16/9.4; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(33,24,23,.5); }
.collage .small { position: absolute; left: 0; top: -26px; width: 23%; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; border: 6px solid color-mix(in srgb, var(--paper) 60%, #fff); box-shadow: 0 20px 40px -20px rgba(33,24,23,.5); }
.hero-intro { max-width: 720px; margin: 38px auto 6px; text-align: center; font: 400 clamp(22px, 2.3vw, 29px)/1.4 var(--f-serif); color: var(--ink); }
.hero-sub { text-align: center; font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.hero .cta { text-align: center; }
.fine-caps { text-align: center; margin: 26px 0 0; font: 500 9.5px/1.5 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- intro (I'm Kassandra) ---------- */
.intro { background: #fff; padding: clamp(60px, 7vw, 90px) 0; }
.intro .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; max-width: 1000px; }
.intro-media { position: relative; padding-top: 34px; }
.intro-name { position: absolute; top: 0; left: 0; right: 0; z-index: 1; margin: 0; font: 400 clamp(46px, 6vw, 80px)/1 var(--f-serif); text-transform: uppercase; letter-spacing: .01em; text-align: center; }
.intro-media img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: top; }
.stack { margin: 0 0 20px; font: 500 21px/1.35 var(--f-sans); letter-spacing: -.01em; }
.stack span { display: block; }
.stack span:nth-child(odd) { color: var(--accent); font-family: var(--f-serif); font-size: 1.18em; font-weight: 500; letter-spacing: 0; }
.intro p { font-size: 14.5px; line-height: 1.85; margin: 0; }
.sig { display: block; margin-top: 18px; font: 400 44px/1 var(--f-script); color: var(--accent); }

/* ---------- edit sections (featured + grid) ---------- */
.edit { padding: clamp(70px, 8vw, 110px) 0; }
.tone-stone { background: var(--stone); }
.tone-paper { background: var(--paper); }
.tone-white { background: #fff; }
.tone-tint { background: var(--tint); }
.edit-head { margin-bottom: clamp(36px, 5vw, 56px); }
.featured { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(20px, 4vw, 50px); align-items: center; margin-bottom: 40px; text-decoration: none; }
.featured.flip { grid-template-columns: 1fr 2fr; }
.featured.flip .tile { order: 2; }
.featured .tile { aspect-ratio: 16/8.2; }
.featured-txt { text-align: center; padding: 0 10px; }
.featured-txt .label { display: block; margin-bottom: 10px; }
.featured-txt h3 { margin: 0 0 8px; font: 400 23px/1.25 var(--f-sans); }
.featured-txt p { margin: 0 auto; max-width: 240px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(16px, 2.6vw, 34px) clamp(14px, 3vw, 44px); }
.card { text-decoration: none; text-align: center; display: block; }
.tile { position: relative; background: var(--card); border-radius: 20px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; transition: transform .45s var(--ease), box-shadow .45s; box-shadow: 0 1px 0 rgba(33,24,23,.04); }
.tone-white .tile { background: color-mix(in srgb, var(--stone) 55%, #fff); }
.tile img { width: 74%; height: 74%; object-fit: contain; transition: transform .6s var(--ease); mix-blend-mode: multiply; }
.tile img.photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.arrow { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(33,24,23,.55); display: grid; place-items: center; background: rgba(255,255,255,.7); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.arrow svg { width: 13px; height: 13px; stroke: var(--ink); fill: none; stroke-width: 1.6; transition: stroke .3s; }
.card:hover .tile, .featured:hover .tile { transform: translateY(-5px); box-shadow: 0 24px 40px -26px rgba(33,24,23,.45); }
.card:hover .tile img, .featured:hover .tile img { transform: scale(1.04); }
.card:hover .arrow, .featured:hover .arrow { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.card:hover .arrow svg, .featured:hover .arrow svg { stroke: #fff; }
.card h3 { margin: 16px auto 6px; max-width: 220px; font: 400 clamp(17px, 1.5vw, 20px)/1.25 var(--f-sans); letter-spacing: -.01em; }
.card p { margin: 0 auto; max-width: 210px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.card .label { display: block; margin-top: 14px; font-size: 9.5px; }
.edit .cta { text-align: center; margin-top: clamp(40px, 5vw, 60px); }

/* ---------- promo ("read the post") ---------- */
.promo { padding: clamp(60px, 7vw, 90px) 0; background: color-mix(in srgb, var(--accent) 13%, #fff); }
.promo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; max-width: 1000px; }
.promo-txt { text-align: center; }
.promo .hx { font-size: clamp(40px, 5vw, 60px); margin-bottom: 20px; }
.promo .hx .n { display: block; font-weight: 600; }
.promo p { font-size: 14.5px; line-height: 1.8; max-width: 380px; margin: 0 auto 28px; }
.promo-list { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.promo-list li { font: 600 10px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; background: #fff; border-radius: 999px; padding: 9px 13px; color: var(--accent); }
.promo-media img { width: 100%; aspect-ratio: 4/4.5; object-fit: cover; border-radius: 26px; }

/* ---------- notes (long personal note, e.g. hair tips) ---------- */
.note-card { max-width: 760px; margin: 0 auto 44px; background: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 44px); position: relative; }
.note-card .label { display: block; margin-bottom: 12px; }
.note-card p { margin: 0 0 10px; font: 400 clamp(19px, 1.8vw, 22px)/1.5 var(--f-serif); }
.note-card ul { margin: 14px 0 0; padding: 0 0 0 18px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* ---------- obsession band ---------- */
.obsess { position: relative; color: #fff; text-align: center; padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 8vw, 100px); background: var(--ink); overflow: hidden; isolation: isolate; }
.obsess-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .55; }
.obsess::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(33,24,23,.35) 30%, rgba(33,24,23,.55) 100%); }
.obsess .label { color: #fff; letter-spacing: .3em; }
.obsess h2 { margin: 26px auto 22px; max-width: 900px; font: 400 clamp(48px, 7.4vw, 98px)/.98 var(--f-serif); text-transform: uppercase; }
.down { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); display: inline-grid; place-items: center; margin-bottom: 26px; animation: bob 2.6s ease-in-out infinite; }
.down svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.4; }
@keyframes bob { 50% { transform: translateY(6px) } }
.obsess p { max-width: 620px; margin: 0 auto 14px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.9); }

/* ---------- coming soon ---------- */
.soon { padding: clamp(70px, 8vw, 110px) 0; text-align: center; }
.soon .hx { font-size: clamp(40px, 5vw, 64px); margin: 14px 0 16px; }
.soon p { max-width: 560px; margin: 0 auto 30px; color: var(--muted); }
.soon .grid { max-width: 900px; margin: 0 auto; }
.ghost-tile { aspect-ratio: 1; border-radius: 20px; border: 1.5px dashed color-mix(in srgb, var(--accent) 35%, transparent); display: grid; place-items: center; font: 600 10px/1.4 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 70%, transparent); padding: 16px; }

/* ---------- instagram + disclosure + footer ---------- */
.ig { background: var(--accent); color: #fff; padding: 70px 0 60px; position: relative; }
.ig-tag { position: absolute; right: max(var(--gut), calc((100% - 1180px) / 2 + var(--gut))); top: -18px; background: var(--stone); color: var(--ink); font: 600 11px/1 var(--f-label); letter-spacing: .24em; padding: 13px 22px; clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%); text-decoration: none; }
.ig-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ig-row a { aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.ig-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ig-row a:hover img { transform: scale(1.06); }
.ig p { text-align: center; max-width: 700px; margin: 34px auto 0; font: 500 15px/1.7 var(--f-sans); }
.ig p a { text-decoration: underline; text-underline-offset: 3px; }
.disclosure { background: var(--stone); padding: 16px var(--gut); text-align: center; font-size: 12px; line-height: 1.6; }
.foot { background: var(--accent); color: #fff; text-align: center; padding: 16px var(--gut); font: 600 9.5px/1.6 var(--f-label); letter-spacing: .18em; text-transform: uppercase; }
.foot a { text-decoration: none; margin: 0 10px; opacity: .9; }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .down { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid { --cols: 2 !important; }
  .featured, .featured.flip { grid-template-columns: 1fr; }
  .featured.flip .tile { order: 0; }
  .featured .tile { aspect-ratio: 16/10; }
  .intro .wrap, .promo .wrap { grid-template-columns: 1fr; }
  .promo-media { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .ig-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .browse-title { font-size: 16px; }
  .browse .home { display: none; }
  .collage .big { width: 100%; }
  .collage .small { width: 30%; top: -18px; left: -6px; border-width: 4px; }
  .pill { min-width: 0; width: 100%; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 12.5px; }
  .tile { border-radius: 16px; }
  .arrow { width: 28px; height: 28px; right: 9px; bottom: 9px; }
}

/* fixes */
.hero-h { max-width: 1040px; }
.hero-h em { white-space: nowrap; }
.intro-name { font-size: clamp(38px, 4.6vw, 64px); white-space: nowrap; left: -4%; right: -4%; }
.intro .stack { font-size: 21px; line-height: 1.35; margin-bottom: 20px; }
@media (max-width: 520px) { .intro-name { font-size: 40px; } .intro .stack { font-size: 19px; } }
