/* Pretty Little Rituals: blush and black, glossy and editorial */
@font-face { font-family: "Bodoni Moda"; font-weight: 400 900; font-style: normal; font-display: swap; src: url("/fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 400 900; font-style: italic; font-display: swap; src: url("/fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap; src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: italic; font-display: swap; src: url("/fonts/dm-sans-latin-wght-italic.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --cream: #fffafa;      /* page */
  --oat: #fbe8e8;        /* blush panels */
  --paper: #ffffff;      /* cards */
  --ink: #141113;        /* black */
  --soft: #62575b;       /* secondary text */
  --line: #f0dcdd;       /* hairlines */
  --blush: #f4c9cc;      /* signature blush */
  --rose: #9e3f55;       /* links and small labels */
  --head: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "DM Sans", Avenir, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --measure: 64ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.075rem/1.7 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--rose); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.narrow { max-width: 760px; }
.center { text-align: center; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.15; letter-spacing: -0.005em; }

/* small labels: SPACED CAPS like a notebook tab */
.kicker, .eyebrow, .cover__section, .mini__section, .post__section, .meta {
  font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.kicker { color: var(--rose); margin: 0 0 .5rem; }
.h-sec { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 300; margin: 0 0 1.8rem; }

/* ---------- buttons ---------- */
.btn, .button {
  display: inline-block; font: 600 .85rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding: 1.05rem 1.6rem .95rem; border-radius: 2px; text-decoration: none; border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--peach { background: var(--ink); color: #fff; }
.btn--peach:hover { background: var(--rose); color: #fff; }
.btn--sage { background: var(--blush); color: var(--ink); }
.btn--sage:hover { background: var(--rose); color: #fff; }
.btn--line, .button--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover, .button--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--blush); color: var(--ink); }

/* ---------- masthead ---------- */
.masthead { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.masthead__inner { max-width: var(--max); margin: 0 auto; padding: .9rem clamp(1rem, 4vw, 2.5rem); display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font: italic 500 1.35rem/1 var(--head); text-decoration: none; color: var(--ink); }
.wordmark__mark { width: 34px; height: 34px; fill: none; stroke: var(--rose); stroke-width: 1.8; stroke-linecap: round; }
.wordmark__mark circle { fill: var(--ink); stroke: none; }
.wordmark--small { font: italic 500 1.25rem/1.2 var(--head); margin: 0 0 .4rem; }
.nav { display: flex; gap: .4rem 1.7rem; flex-wrap: wrap; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: .5rem 0 .35rem; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- placeholders (until photos arrive) ---------- */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; }
.ph svg { width: 34%; fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 3; }
.ph--oat, .ph--skincare, .ph--fragrance { background: var(--oat); }
.ph--oat svg, .ph--skincare svg, .ph--fragrance svg { stroke: var(--ink); }
.ph--makeup, .ph--hair-and-tools { background: var(--ink); }
.ph--makeup svg, .ph--hair-and-tools svg { stroke: var(--blush); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero__title { margin: 0 0 1.4rem; font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; }
.hero__title span, .hero__title strong { display: block; text-wrap: balance; }
.hero__title strong { font-weight: 500; font-style: italic; font-size: 1.5em; margin: .05em 0 .1em; }
.hero__lede { font-size: 1.2rem; color: var(--soft); max-width: 36ch; margin: 0 0 2rem; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__media { position: relative; padding: 0 0 1.6rem 1.6rem; }
.hero__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 70%; background: var(--blush); }
.hero__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--oat); }
.hero__frame img, .hero__frame .ph { width: 100%; height: 100%; object-fit: cover; }
.hero__frame .ph { background: var(--oat); }
.hero__frame .ph svg { stroke: var(--ink); }

/* ---------- welcome + quote ---------- */
.welcome { padding-top: 1rem; padding-bottom: clamp(3rem, 7vw, 5rem); font-size: 1.2rem; }
.welcome p { margin: 0 0 1.2rem; }
.quote { margin: 2.6rem 0 0; font: 400 clamp(1.4rem, 3vw, 1.9rem)/1.4 var(--head); color: var(--rose); text-align: center; }
.quote span { display: block; font: 400 5rem/0.5 Georgia, serif; color: var(--blush); text-align: left; }

/* ---------- meet ---------- */
.meet { display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.meet__img { aspect-ratio: 4 / 5; overflow: hidden; }
.meet__img img, .meet__img .ph { width: 100%; height: 100%; object-fit: cover; }
.meet__card { background: var(--ink); color: #fff; padding: clamp(1.8rem, 4vw, 3rem); margin: 0 0 -2rem -4rem; position: relative; }
.meet__card h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 600; margin: 0 0 .4rem; }
.meet__role { font: 400 .85rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.meet__card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .55); margin: 1.2rem 0; }
.meet__card p { margin: 0 0 1.5rem; }

/* ---------- topics ---------- */
.topics { padding-top: 2rem; padding-bottom: clamp(3rem, 7vw, 5rem); text-align: center; }
.topics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: left; }
.topic { text-decoration: none; display: grid; gap: .5rem; align-content: start; }
.topic__img { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: .6rem; }
.topic__img img, .topic__img .ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .5s ease; }
.topic:hover .topic__img img, .topic:hover .topic__img .ph { transform: scale(1.04); }
.topic__name { font: 600 1rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.topic__blurb { color: var(--soft); font-size: .98rem; line-height: 1.55; }

/* ---------- covers and cards ---------- */
.cover { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--oat); }
.cover--lg { aspect-ratio: 16 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--skincare, .cover--fragrance { background: var(--blush); }
.cover--makeup, .cover--hair-and-tools { background: var(--ink); }
.cover__section { position: absolute; left: 1.1rem; top: 1.1rem; color: #fff; }
.cover--skincare .cover__section, .cover--fragrance .cover__section { color: var(--ink); }
.cover__motif { position: absolute; right: -6%; bottom: -14%; width: 52%; opacity: .55; }
.cover__motif svg { width: 100%; fill: none; stroke: #fff; stroke-width: 3; }
.cover--skincare .cover__motif svg, .cover--fragrance .cover__motif svg { stroke: var(--ink); }
.cover__title { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; font: 600 1.2rem/1.2 var(--head); color: #fff; }
.cover--skincare .cover__title, .cover--fragrance .cover__title { color: var(--ink); }
.cover--sm .cover__title { display: none; }

.latest { padding-bottom: clamp(3rem, 7vw, 5rem); text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem clamp(1.2rem, 3vw, 2rem); text-align: left; }
.card { display: grid; align-content: start; }
.card__link { text-decoration: none; display: block; }
.card__title { font: 400 1.4rem/1.25 var(--head); margin: 1rem 0 .5rem; }
.card__link:hover .card__title { color: var(--rose); }
.card__dek { margin: 0 0 .7rem; color: var(--soft); font-size: .98rem; line-height: 1.55; }
.meta { color: var(--soft); margin: 0; font-weight: 400; font-size: .7rem; }
.meta a { text-decoration: none; color: var(--rose); }
.more__all { text-align: center; margin-top: 2.5rem; }

/* ---------- freebies ---------- */
.free { background: var(--oat); padding: clamp(3rem, 7vw, 5rem) 0; }
.free__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.free__item { background: var(--paper); padding: clamp(1.8rem, 4vw, 3rem); }
.free__item .h-sec { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.free__item p:not(.kicker) { color: var(--soft); margin: 0 0 1.6rem; }
.free__item--peach { background: var(--ink); color: #fff; }
.free__item--peach .kicker, .free__item--peach p:not(.kicker) { color: #fff; }

/* ---------- newsletter ---------- */
.letter { background: var(--ink); color: #fff; }
.letter h2 { color: #fff; }
.letter__inner { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2.5rem); text-align: center; }
.letter .kicker { color: var(--blush); }
.letter h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 300; margin: 0 0 .8rem; }
.letter p { margin: 0 auto 1.6rem; max-width: 46ch; }
.letter .letter__done { margin: 0 auto; }
.letter__form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.letter input[type="email"] { flex: 1 1 260px; max-width: 360px; padding: .95rem 1.1rem; border: 0; border-radius: 2px; background: var(--paper); color: var(--ink); font: 400 1rem/1 var(--sans); }
.letter button { padding: 1rem 1.6rem .9rem; border: 0; border-radius: 2px; background: var(--blush); color: var(--ink); font: 600 .85rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.letter button:hover { background: #fff; }

/* ---------- section and archive pages ---------- */
.listing { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: 4rem; }
.listing__head { text-align: center; max-width: 640px; margin: 0 auto 3rem; padding: 0; background: none !important; }
.listing__head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 300; margin: 0 0 .6rem; }
.listing__head p { color: var(--soft); margin: 0; }
.listing__head::after { content: ""; display: block; width: 60px; height: 3px; background: var(--ink); margin: 1.4rem auto 0; }
.empty-note, .empty { text-align: center; color: var(--soft); padding: 2rem 0 4rem; }
.archive { padding: 3rem clamp(1rem, 4vw, 2.5rem) 4rem; }
.archive h1 { font-size: 2.6rem; font-weight: 300; text-align: center; }
.archive h2 { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin: 2.4rem 0 .8rem; }
.archive ul { list-style: none; padding: 0; margin: 0; }
.archive li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.archive li a { text-decoration: none; font-family: var(--head); font-size: 1.15rem; }
.archive li span { color: var(--soft); font-size: .9rem; white-space: nowrap; }

/* ---------- posts ---------- */
.post__head { text-align: center; max-width: 840px; padding-top: clamp(2.5rem, 6vw, 4rem); }
.post__section { display: inline-block; text-decoration: none; color: var(--rose); padding-bottom: .3rem; border-bottom: 1.5px solid var(--ink); }
.post__head h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 300; margin: 1.2rem 0 1rem; text-wrap: balance; }
.post__dek { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--soft); margin: 0 auto 1.2rem; max-width: 46ch; }
.post__cover { max-width: 1000px; margin: 2rem auto clamp(2rem, 5vw, 3rem); }
.post__cover .cover__title { display: none; }
.prose { max-width: calc(var(--measure) + 2 * clamp(1rem, 4vw, 2.5rem)); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); font-size: 1.12rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 400; margin: 3rem 0 .9rem; text-wrap: balance; }
.prose h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--blush); margin-top: .7rem; }
.prose h3 { font: 600 1rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 2rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--rose); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 2.4rem 0; padding: 1.4rem 1.6rem; background: var(--oat); font: 400 1.2rem/1.6 var(--head); color: var(--rose); border: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }
.prose img { margin: 2rem 0; }
.story-photo { margin: 2.4rem 0; }
.story-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; }
.shop-link { color: var(--rose); font-weight: 600; text-decoration-color: color-mix(in srgb, var(--rose) 45%, transparent); }
.shop-link:hover { text-decoration-color: currentColor; }
.prose > p:first-child em:only-child, .disclosure { display: block; font-size: .88rem; line-height: 1.55; color: var(--soft); background: var(--oat); padding: .9rem 1.1rem; font-style: normal; margin-bottom: 2rem; }
.post__foot { padding-top: 1.5rem; padding-bottom: 3rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }
.tags span { font: 600 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .55rem .75rem .45rem; background: var(--oat); color: var(--soft); }
.recent { padding-top: 2rem; padding-bottom: 4rem; }
.rule-h { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 300; text-align: center; margin: 0 0 2rem; }
.draft-banner { background: var(--blush); color: #3a3330; font-size: .9rem; padding: .7rem 1rem; text-align: center; }

/* ---------- footer ---------- */
.foot { background: var(--oat); }
.foot__inner { max-width: var(--max); margin: 0 auto; padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem; display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem 3rem; }
.foot__tag { margin: 0; color: var(--soft); font-size: .98rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; font: 600 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; align-content: start; }
.foot nav a { text-decoration: none; }
.foot__fine { grid-column: 1 / -1; margin: 1rem 0 0; font-size: .8rem; color: var(--soft); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .meet { grid-template-columns: 1fr; }
  .meet__card { margin: -3rem 0 0 1.5rem; }
  .topics__grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .free__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .masthead { position: static; }
  .masthead__inner { justify-content: center; }
  .nav { justify-content: center; gap: .3rem 1.1rem; }
  .grid { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; }
  .meet__card { margin: -2.5rem 0 0 .8rem; }
}

/* ---------- your products (cards in posts, shop page, homepage) ---------- */
.product { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 1.4rem; align-items: center; background: var(--oat); padding: 1.2rem; margin: 2.4rem 0; }
.product__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.prose .product__img img, .product__img img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.product__body { min-width: 0; }
.prose .product p, .product p { margin: 0 0 .6rem; }
.product__kicker { font: 600 .72rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.product__name { font: 400 1.35rem/1.25 var(--head); }
.product__name a { text-decoration: none; }
.product__blurb { color: var(--soft); font-size: 1rem; line-height: 1.6; }
.prose .product .product__buy, .product__buy { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: .4rem 0 0; }
.prose .product .btn { color: #fff; text-decoration: none; }
.prose .product .btn--sage { color: var(--ink); }
.product__price { font: 600 1rem/1 var(--sans); letter-spacing: .04em; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.product--tile { grid-template-columns: 1fr; align-items: start; margin: 0; max-width: 360px; background: var(--paper); padding: 1rem 1rem 1.3rem; }
.free .product--tile { background: var(--paper); }
@media (max-width: 600px) {
  .product { grid-template-columns: 1fr; }
  .product .product__img { max-width: 320px; }
}

/* ---------- splurge and everyday picks ---------- */
.prose .pick { position: relative; padding: 1.15rem 1.3rem; margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.65; }
.pick__label { display: block; font: 600 .72rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .45rem; }
.pick--splurge { background: var(--ink); color: #fff; }
.pick--splurge .pick__label { color: var(--blush); }
.pick--splurge .shop-link, .pick--splurge a { color: var(--blush); }
.pick--splurge .shop-link:hover { color: #fff; }
.pick--everyday { background: var(--oat); }
