:root {
  --bg: #faf6f1;
  --surface: #ffffff;
  --ink: #2a2024;
  --muted: #6e6166;
  --line: #e7ddd3;
  --accent: #8a3b52;
  --accent-soft: #f3e6ea;
  --amber: #b9772f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1618;
    --surface: #251e21;
    --ink: #f1e9e4;
    --muted: #b3a5aa;
    --line: #3a3034;
    --accent: #e39ab0;
    --accent-soft: #3a2a30;
    --amber: #e0a868;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.65 var(--sans);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; }

.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); text-decoration: none; line-height: 1.2; }
.brand span { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
nav { display: flex; gap: 18px; font-size: .95rem; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { color: var(--accent); }

main.wrap { padding-top: 40px; padding-bottom: 64px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 0 0 .4em; }
h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }

.intro p { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.empty { padding: 28px; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; }

.post-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
.card { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none; }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; display: grid; gap: 4px; }
.card-body time { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-body strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.card-body span { color: var(--muted); font-size: .95rem; }
.card:hover strong { color: var(--accent); }
@media (min-width: 640px) {
  .card { grid-template-columns: 260px 1fr; }
  .card img { height: 100%; aspect-ratio: auto; }
}

.post-head .meta { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.disclosure { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 6px; font-size: .92rem; }
.video { margin: 28px 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }

.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.page h1 { margin-bottom: .6em; }

.fragrances ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.frag { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.frag p { margin: 0 0 6px; }
.frag-name { font-family: var(--serif); font-size: 1.2rem; }
.frag-name span { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.frag-ts a { font-size: .9rem; color: var(--amber); }
.frag-verdict { font-style: italic; }
.frag-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.frag-links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--accent); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.frag-links a:hover { background: var(--accent); color: var(--surface); }
.post-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: .85rem; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }

.post-photo { margin: 8px 0 20px; }
.post-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--line); }
.post-photo.still img { aspect-ratio: 16 / 9; }
.post-photo figcaption { font-size: .75rem; color: var(--muted); margin-top: 6px; }
.post-photo figcaption a { color: var(--muted); }

/* Perfume cards from the video, shown after each list */
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 1rem 0 1.75rem; }
.card-row img { width: 100%; height: auto; display: block; border-radius: 10px; }
.card-row:has(img:only-child) { grid-template-columns: minmax(0, 220px); }
@media (max-width: 520px) { .card-row { gap: 0.5rem; } .card-row img { border-radius: 6px; } }

/* Comments */
.comments { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.comments h2 { margin: 0 0 1rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.comment-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-list li p { margin: 0; white-space: pre-line; }
.comment-meta { font-size: .85rem; color: var(--muted); margin-bottom: 4px !important; white-space: normal !important; }
.comments-empty { color: var(--muted); }
.comments-note { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 12px; }
.comment-form .opt { font-weight: 400; color: var(--muted); }
.comment-form input, .comment-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.comment-form textarea { resize: vertical; }
.comment-form button { font: inherit; font-weight: 600; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; cursor: pointer; }
.comment-form button:disabled { opacity: .6; }
.comment-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.comment-status { font-size: .9rem; color: var(--muted); min-height: 1.2em; margin: 8px 0 0; }
