@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-serif-4-normal-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-normal-600.woff2") format("woff2");
}

:root {
  --cream: #f4ecdd;
  --cream-soft: rgba(244, 236, 221, 0.82);
  --gold: #f0d59a;
  --gold-deep: #e4c27a;
  --ink: #1a1028;
  --line: rgba(244, 236, 221, 0.16);
  --glass: linear-gradient(180deg, rgba(48, 26, 72, 0.46), rgba(24, 14, 42, 0.58));
  --glass-read: linear-gradient(180deg, rgba(36, 18, 58, 0.74), rgba(16, 10, 32, 0.82));
  --shadow: 0 24px 70px rgba(18, 6, 28, 0.28);
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  --body: "Source Serif 4", Palatino, Georgia, serif;
  --header: calc(4.75rem + env(safe-area-inset-top, 0px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  color: var(--cream);
  background: #241230;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

img, video, iframe, embed, object, svg, canvas, table {
  max-width: 100%;
}

img { height: auto; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(240, 213, 154, 0.35);
  color: #fff;
}

a { color: inherit; }

.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 {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 60;
  background: var(--cream);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #2a1840;
  background-image:
    radial-gradient(ellipse at 18% 0%, rgba(255, 186, 140, 0.28), transparent 46%),
    radial-gradient(ellipse at 82% 8%, rgba(214, 120, 168, 0.22), transparent 42%),
    url("/video/poster.jpg");
  background-size: cover;
  background-position: center 40%;
}

@media (max-width: 800px) {
  .scene {
    background-image:
      radial-gradient(ellipse at 50% 0%, rgba(255, 190, 150, 0.22), transparent 42%),
      radial-gradient(ellipse at 80% 100%, rgba(180, 90, 140, 0.16), transparent 40%),
      url("/video/poster-mobile.jpg");
    background-position: center center;
  }
}

.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  background: transparent;
}

@media (max-width: 800px) {
  .scene-video { object-position: center center; }
}

.scene.is-still .scene-video { visibility: hidden; }

.veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 42% at 12% 8%, rgba(255, 196, 150, 0.28), transparent 70%),
    radial-gradient(48% 40% at 88% 12%, rgba(220, 130, 170, 0.22), transparent 68%),
    radial-gradient(70% 50% at 50% 100%, rgba(64, 28, 96, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(36, 16, 58, 0.12) 0%, rgba(28, 12, 48, 0.18) 42%, rgba(18, 8, 36, 0.38) 100%);
  pointer-events: none;
}

.bokeh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bokeh i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 196, 0.7), rgba(255, 190, 150, 0) 68%);
  filter: blur(0.5px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}
.bokeh i:nth-child(1) { width: 90px; height: 90px; left: 8%; top: 18%; animation-duration: 24s; }
.bokeh i:nth-child(2) { width: 46px; height: 46px; left: 72%; top: 12%; animation-duration: 18s; background: radial-gradient(circle, rgba(255, 190, 210, 0.65), transparent 70%); }
.bokeh i:nth-child(3) { width: 120px; height: 120px; left: 80%; top: 62%; animation-duration: 28s; }
.bokeh i:nth-child(4) { width: 36px; height: 36px; left: 22%; top: 74%; animation-duration: 16s; }
.bokeh i:nth-child(5) { width: 70px; height: 70px; left: 48%; top: 28%; animation-duration: 26s; opacity: 0.35; }
.bokeh i:nth-child(6) { width: 28px; height: 28px; left: 60%; top: 78%; animation-duration: 19s; }
.bokeh i:nth-child(7) { width: 54px; height: 54px; left: 6%; top: 48%; animation-duration: 21s; background: radial-gradient(circle, rgba(255, 214, 170, 0.6), transparent 70%); }
.bokeh i:nth-child(8) { width: 84px; height: 84px; left: 34%; top: 8%; animation-duration: 30s; opacity: 0.3; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -18px, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.rise { animation: rise 1.05s ease both; }

.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.6rem + env(safe-area-inset-top, 0px)) max(0.75rem, env(safe-area-inset-right, 0px)) 0.6rem max(0.85rem, env(safe-area-inset-left, 0px));
  pointer-events: none;
}

.topbar a,
.topbar button { pointer-events: auto; }

.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-decoration: none;
  min-width: 0;
  max-width: calc(100% - 7.5rem);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 221, 0.28);
  background: rgba(28, 14, 46, 0.4);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 236, 220, 0.16);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry,
.pager,
.page-head,
.article,
.feed {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.icon-btn {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 221, 0.28);
  background: rgba(28, 14, 46, 0.38);
  color: var(--cream);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 236, 220, 0.18), 0 8px 24px rgba(16, 6, 28, 0.2);
  cursor: pointer;
}

.icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: currentColor;
}

.sound-btn .icon-off { display: none; }
.sound-btn[aria-pressed="false"] .icon-on { display: none; }
.sound-btn[aria-pressed="false"] .icon-off { display: block; }

.bars {
  width: 1.05rem;
  height: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease;
}
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6.5px) rotate(40deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-40deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: var(--header) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 186, 150, 0.16), transparent 46%),
    rgba(22, 10, 38, 0.5);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 28rem);
}

.nav-list a {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 8vw, 3.3rem);
  line-height: 1.05;
  text-decoration: none;
  color: var(--cream);
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.5rem;
  text-shadow: 0 6px 24px rgba(16, 6, 28, 0.35);
}

.nav-list a[aria-current="page"] { color: var(--gold); }

body.nav-open { overflow: hidden; }

main, .site-foot { position: relative; z-index: 1; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header) 1.25rem 2.75rem;
  text-align: center;
  overflow-x: clip;
}

.hero-copy {
  position: relative;
  width: min(40rem, 100%);
  z-index: 1;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -14% 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(24, 10, 40, 0.45), rgba(24, 10, 40, 0.1) 58%, transparent 74%);
  pointer-events: none;
}

.hero h1,
.page-head h1,
.article h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  margin: 0;
  text-shadow: 0 10px 36px rgba(20, 8, 32, 0.4);
}

.hero h1 {
  font-size: clamp(2.6rem, 12vw, 6.5rem);
  line-height: 0.92;
}

.tagline, .lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  line-height: 1.45;
  color: rgba(244, 236, 221, 0.94);
  margin: 1rem auto 0;
  max-width: 34rem;
  text-shadow: 0 4px 18px rgba(20, 8, 32, 0.35);
}

.hero-actions { margin: 1.4rem 0 0; }

.sheet {
  width: min(48rem, 100%);
  margin: 0 auto;
  padding: 0 1.1rem 1rem;
}

.page-head,
.article {
  padding-top: calc(var(--header) + 0.85rem);
}

.page-head h1,
.article h1 {
  font-size: clamp(2.35rem, 9vw, 4.4rem);
  line-height: 1.02;
}

.kicker {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sheet > .kicker {
  padding-top: 0.4rem;
  margin-bottom: 0.9rem;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 236, 220, 0.16);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
}

.glass-read { background: var(--glass-read); }

.entry { padding: 1.25rem 1.15rem 1.3rem; }

.meta {
  margin: 0;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.meta a { color: var(--gold); text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.meta .dot { margin: 0 0.35rem; }

.entry h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 6.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0.4rem 0 0.8rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.entry h2 a {
  color: var(--cream);
  text-decoration: none;
}
.entry h2 a:hover { color: #fff; }

.entry-media { margin: 0 0 0.95rem; }
.entry-media img,
.prose img {
  display: block;
  width: auto;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 1rem;
}

.excerpt {
  margin: 0 0 1rem;
  color: var(--cream-soft);
  font-size: 1.125rem;
  overflow-wrap: break-word;
}

.read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 213, 154, 0.8);
  background: rgba(18, 8, 28, 0.45);
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.read:hover { background: rgba(240, 213, 154, 0.16); color: #fff4dd; }

.read-solid {
  background: rgba(240, 213, 154, 0.16);
  min-height: 3rem;
  padding-inline: 1.35rem;
}

.article-panel { padding: 1.3rem 1.1rem 1.8rem; }

.prose {
  margin-top: 1.1rem;
  max-width: 100%;
  overflow-wrap: break-word;
  font-size: 1.125rem;
  line-height: 1.75;
}

.prose > *:first-child { margin-top: 0; }
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose .wp-caption { margin: 0 0 1.05rem; }

.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 1.6rem 0 0.6rem;
  overflow-wrap: break-word;
}
.prose h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.prose h3 { font-size: clamp(1.45rem, 4vw, 1.9rem); }

.prose a { color: var(--gold); overflow-wrap: anywhere; }
.prose blockquote {
  margin-left: 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid rgba(240, 213, 154, 0.75);
  font-style: italic;
  color: rgba(244, 236, 221, 0.92);
}
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.25rem 0; }

.prose img,
.prose video,
.prose iframe,
.prose embed,
.prose object,
.prose figure,
.prose table,
.prose .wp-caption,
.prose .wp-block-image,
.prose .wp-block-video,
.prose .wp-block-embed,
.prose [id^="attachment_"],
.prose [style*="width"] {
  max-width: 100% !important;
}

.prose .wp-caption,
.prose figure,
.prose [id^="attachment_"],
.prose div[style*="width"],
.prose p[style*="width"],
.prose [style*="width"] {
  width: auto !important;
  float: none !important;
}

.prose img,
.prose video {
  height: auto !important;
}

.prose iframe,
.prose embed,
.prose object {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.25);
}

.prose iframe[src*="spotify.com"] {
  aspect-ratio: auto;
  height: 152px !important;
}

.prose .alignleft,
.prose .alignright,
.prose .aligncenter,
.prose .alignnone {
  float: none !important;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

.prose .wp-caption-text,
.prose figcaption {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(244, 236, 221, 0.78);
  text-align: center;
  margin-top: 0.4rem;
}

.prose pre,
.prose table,
.prose .wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.prose table { border-collapse: collapse; }
.prose td, .prose th { padding: 0.35rem 0.5rem; border-bottom: 1px solid var(--line); }

.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 1.4rem 0 2rem;
}
.pager .read:last-child { justify-self: end; }
.pager span {
  color: var(--cream-soft);
  font-size: 0.95rem;
  text-align: center;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  width: min(24rem, 100%);
  margin-top: 1.25rem;
}

.search-form input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 236, 221, 0.32);
  background: rgba(255, 248, 240, 0.08);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0 1rem;
}

.search-form input::placeholder { color: rgba(244, 236, 221, 0.62); }

.search-form-page { margin-top: 1.15rem; }

.site-foot {
  width: min(48rem, 100%);
  margin: 0 auto;
  padding: 0.4rem 1.15rem calc(2rem + env(safe-area-inset-bottom, 0px));
  color: rgba(244, 236, 221, 0.72);
  font-size: 1rem;
}
.site-foot p { margin: 0; }

@media (min-width: 720px) {
  .entry { padding: 1.7rem 1.8rem 1.6rem; }
  .article-panel { padding: 2.4rem 2.6rem 2.8rem; }
  .sheet { padding-inline: 0; }
  .hero { padding-inline: 2rem; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise,
  .bokeh i { animation: none !important; }
  .scene-video { display: none !important; }
  .bars span { transition: none; }
}
