:root {
  --paper: #efe8dc;
  --ink: #1d1512;
  --muted: #7a6d63;
  --plum: #4a1424;
  --rose: #c9806f;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --pile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.85 0 0 0 0 0.3 0 0 0 0 0.4 1.1 0 0 0 -0.66'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(22px, 3.5vw, 44px);
}

/* top bar */
.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.top a { border-bottom: 1px solid transparent; transition: border-color .25s; }
.top a:hover { border-color: currentColor; }

/* the sun / hour disc */
.disc {
  position: absolute;
  right: clamp(-120px, -6vw, -40px);
  top: 53%;
  width: min(46vw, 74vh, 640px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    var(--pile),
    radial-gradient(circle at 32% 28%, rgba(255, 140, 165, 0.16) 0%, transparent 46%),
    radial-gradient(circle at 34% 30%, #7a2a3d 0%, var(--plum) 62%, #2a0a14 100%);
  background-size: 180px 180px, auto, auto;
  box-shadow: inset -30px -40px 90px rgba(0, 0, 0, 0.35);
  z-index: 0;
}
.disc::after {
  content: "";
  position: absolute;
  inset: -4.5%;
  border-radius: 50%;
  border: 1px solid rgba(74, 20, 36, 0.35);
}

/* centre */
.hero {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 8vh 0;
}
.label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(18px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.label::before { content: ""; width: 38px; height: 1px; background: var(--muted); }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, min(14.5vw, 25vh), 12rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--plum);
  background:
    var(--pile),
    linear-gradient(105deg, transparent 18%, rgba(255, 150, 175, 0.38) 40%, transparent 58%),
    linear-gradient(165deg, #7a2238 0%, #4e1426 45%, #25080f 100%);
  background-size: 180px 180px, 260% 100%, auto;
  background-position: 0 0, 100% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
}
h1 em { font-style: italic; display: block; padding-left: 0.5em; }
.desc {
  margin-top: clamp(28px, 5vw, 56px);
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  color: var(--ink);
}

/* bottom */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}

/* gentle entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero > *, .disc { opacity: 0; animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
  .disc { animation-name: fade; animation-duration: 1.6s; }
  .label { animation-delay: .1s; }
  h1 { animation-delay: .25s; animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .25s forwards, sheen 9s ease-in-out 1.4s infinite alternate; }
  @keyframes sheen { from { background-position: 0 0, 100% 0, 0 0; } to { background-position: 0 0, 0% 0, 0 0; } }
  .desc { animation-delay: .5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; transform: translateY(-50%) scale(.96); } to { opacity: 1; transform: translateY(-50%); } }
}

@media (max-width: 640px) {
  .disc { top: auto; bottom: -22vw; transform: none; right: -30vw; width: 110vw; }
  @media (prefers-reduced-motion: no-preference) {
    .disc { animation-name: fade-m; }
    @keyframes fade-m { from { opacity: 0; } to { opacity: 1; } }
  }
  h1 em { padding-left: 0.25em; }
}
