:root {
  color-scheme: dark;
  font: 16px/1.55 system-ui, sans-serif;
  color: #f5e9d9;
  background: #1b1514;
  --paper: #f5e9d9;
  --dust: #cbb6a9;
  --red: #e28e7e;
  --sigil-ink: #f2b39b;
}

* { box-sizing: border-box; }
body { margin: 0; }
.cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 42fr) 58fr;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.cover::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #1b1514 4%, #1b1514d9 47%, #1b15144d),
    url("/lilith.webp") 91% 44% / 120% auto;
  filter: blur(6px);
  transform: scale(1.04);
}
.portrait {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  margin: 0;
  mask-image: linear-gradient(90deg, transparent, #0009 16%, #000 40%);
}
.portrait img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 62% 22%; }
.portrait::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #1b1514b0, transparent 34%);
  pointer-events: none;
}
.column {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 9vh, 6rem);
  padding: clamp(2rem, 6vw, 7rem);
  padding-inline-end: 1.25rem;
}
.sigil {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1rem;
  color: var(--sigil-ink);
  font: .83rem Georgia, serif;
  letter-spacing: clamp(.17em, .55vw, .32em);
  text-shadow: 0 0 .85rem #ed826f91;
}
.sigil svg {
  width: 2.9rem;
  flex: none;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.25;
  filter: drop-shadow(0 0 5px #ff7958a6);
}
.ring { opacity: .65; }
.star { stroke-dasharray: 245; animation: trace 1.65s ease-out both; }
.ember {
  fill: #ffe2c4;
  stroke: none;
  opacity: 0;
  transform-origin: 30px 30px;
  animation: orbit 6s .15s linear infinite;
}
.sigil-title { animation: ignite 6s .15s ease-in-out infinite; }
h1 {
  margin: .08em 0 .14em -.045em;
  font: italic 400 clamp(6rem, 12vw, 12rem)/.85 Georgia, serif;
  letter-spacing: -.055em;
}
/* Use the mural from the cover photo as the paint texture. */
@supports (background-clip: text) {
  @media (forced-colors: none) {
    .painted-title {
      background:
        radial-gradient(ellipse at 14% 83%, #953b33a3, transparent 16%),
        radial-gradient(ellipse at 65% 89%, #963d34a6, transparent 19%),
        radial-gradient(ellipse at 89% 75%, #a5453766, transparent 15%),
        linear-gradient(180deg, #f6ebd9ed 12%, #eddfccbd 54%, #ccad9380 90%),
        url("/lilith.webp") right 61% / 235% auto no-repeat,
        var(--paper);
      background-clip: text;
      color: transparent;
    }
  }
}
.serpent-mark {
  display: inline-block;
  width: clamp(1.65rem, .28em, 3.1rem);
  height: auto;
  margin-inline-start: .025em;
  vertical-align: -.035em;
  color: var(--sigil-ink);
}
.lead, .description, .instagram { animation: rise .65s ease-out both; }
.lead {
  animation: rise .65s .15s ease-out both, ignite 6s 1s ease-in-out infinite;
}
.serpent-outline {
  stroke-dasharray: 100;
  animation: trace-serpent 1.65s ease-out both;
}
.serpent-spark {
  stroke: #ffe2c4;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 4 96;
  opacity: 0;
  filter: drop-shadow(0 0 3px #ff7958);
  animation: serpent-sweep 6s 1.65s linear infinite;
}
.description { animation-delay: .26s; }
.instagram { animation-delay: .37s; }
.instagram span { transition: transform .22s ease-out; }
.instagram:is(:hover, :focus-visible) span { transform: translate(3px, -3px); }
@keyframes trace { from { stroke-dashoffset: 245; } }
@keyframes orbit {
  from { transform: rotate(-95deg); }
  12%, 82% { opacity: 1; }
  to { transform: rotate(265deg); }
}
@keyframes trace-serpent { from { stroke-dashoffset: 100; } }
@keyframes serpent-sweep {
  12%, 82% { opacity: 1; }
  to { stroke-dashoffset: -100; }
}
@keyframes ignite {
  56% { color: #ffe8cf; text-shadow: 0 0 1rem #ff9675; }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .star, .ember, .sigil-title, .serpent-outline, .serpent-spark,
  .lead, .description, .instagram { animation: none; }
  .instagram span { transition: none; }
  .instagram:is(:hover, :focus-visible) span { transform: none; }
}
.lead { margin: 1.25rem 0 .8rem; font: 400 clamp(1.45rem, 2.55vw, 2.7rem)/1.12 Georgia, serif; }
.description { max-width: 29ch; margin: 0; color: var(--dust); }
.instagram { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; margin-top: 1rem; color: var(--red); text-underline-offset: .28em; }
form { width: min(100%, 23rem); border-top: 1px solid #cbb6a952; padding-top: 1rem; }
h2 { margin: 0 0 .65rem; font: 400 1.28rem Georgia, serif; }
label { display: block; color: var(--dust); font-size: .85rem; margin-bottom: .4rem; }
.entry { display: flex; }
input, button { min-height: 48px; border: 1px solid #9b7267; border-radius: 0; font: inherit; }
input { min-width: 0; flex: 1; padding: .5rem .75rem; background: #1b1514c9; color: var(--paper); }
input::placeholder { color: var(--dust); opacity: 1; }
button { padding: .5rem .85rem; margin-left: -1px; background: #edb6a4; color: #241713; cursor: pointer; }
button span { padding-left: .3rem; }
button:hover { background: #f5cfbe; }
a:hover { color: var(--paper); }
:focus-visible { position: relative; z-index: 2; outline: 2px solid #ffcb9e; outline-offset: 3px; }
.error { margin: .6rem 0 0; color: #ffb5a6; font-size: .9rem; }

@media (max-width: 700px) {
  .cover { display: block; }
  .cover::before { background-position: 95% bottom; background-size: cover; }
  .portrait { height: clamp(330px, 58svh, 550px); }
  .portrait img { object-position: 65% 19%; }
  .portrait { mask-image: linear-gradient(#000 57%, #000b 74%, transparent 99%); }
  .column { position: relative; margin-top: -5.1rem; padding: 0 clamp(1.25rem, 6vw, 3rem) 2.5rem; gap: 2rem; }
  .sigil { margin-bottom: .7rem; }
  h1 { font-size: clamp(5rem, 20vw, 8.5rem); }
  .wide { display: none; }
}
