:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: #1d172a;
  color: #fff4df;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
.scene {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
}
.landscape, .scene::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.landscape { z-index: -2; object-fit: cover; object-position: 66% 51%; }
.scene::after {
  z-index: -1;
  content: "";
  background: linear-gradient(to bottom, rgb(23 13 33 / .78), transparent 23%),
    linear-gradient(to top, rgb(16 10 27 / .89), rgb(20 11 35 / .42) 23%, transparent 54%);
}
.frame {
  margin-inline: clamp(1.25rem, 5.2vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: clamp(8rem, 34svh, 26rem);
}
header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 2rem;
  border-bottom: 1px solid rgb(255 244 223 / .34);
  min-height: clamp(4.25rem, 9.5svh, 6.25rem);
  padding: .5rem 0;
  font-size: .98rem;
  line-height: 1.35;
  font-weight: 600;
}
.identity { display: inline-flex; align-items: center; gap: .75rem; }
.identity i {
  display: inline-block;
  width: .95rem;
  height: 1.25rem;
  border: 2px solid #ffd499;
  border-bottom: 0;
  border-radius: .6rem .6rem 0 0;
}
header a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  gap: .5em;
  align-items: center;
  min-height: 44px;
}
header a:hover { text-decoration: underline; text-underline-offset: .2em; }
header a:focus-visible { outline: 3px solid #ffe7b6; outline-offset: 3px; }
.title { padding-bottom: clamp(2.4rem, 6svh, 5rem); }
h1 {
  font: 500 clamp(3.4rem, 13.15vw, 15rem)/1.08 "Baskervville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -.067em;
  margin-left: -.043em;
  text-shadow: 0 2px 10px rgb(20 13 35 / .15);
}
.title p {
  display: flex;
  align-items: center;
  gap: .7em;
  font: 400 clamp(1.12rem, 2.2vw, 1.65rem)/1.4 "Segoe UI", system-ui, sans-serif;
  margin-top: clamp(1rem, 2.5vw, 3rem);
}
.title p span { height: 2px; width: 1.7em; background: #f8b16b; }
@media (max-width: 640px) {
  .landscape { object-position: 85% center; }
  .frame { margin-inline: clamp(1rem, 5.5vw, 2rem); }
  header { gap: .1rem .75rem; font-size: .87rem; }
  h1 { font-size: clamp(3.3rem, 18.4vw, 7.15rem); }
  .title { padding-bottom: max(2.75rem, env(safe-area-inset-bottom)); }
}
@media (forced-colors: active) {
  .identity i, header { border-color: CanvasText; }
  .title p span { background: CanvasText; }
  h1, p, header { background: Canvas; }
}
