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

:root {
  color-scheme: light;
  --paper: #EEEAE2;
  --paper-hi: #F8F5EF;
  --paper-lo: #E3DED3;
  --ink: #0B0B0C;
  --muted: #6A655C;
  --gold: #B08A3E;
  --hair: rgba(11, 11, 12, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--serif);
  background: radial-gradient(120% 90% at 50% 38%, var(--paper-hi) 0%, var(--paper) 55%, var(--paper-lo) 100%);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.mark {
  margin: 0;
  position: relative;
  line-height: 0;
  width: clamp(288px, 76vw, 1000px);
  max-width: 100%;
}
.mark > svg { display: block; width: 100%; height: auto; }
.sheen { position: absolute; inset: 0; pointer-events: none; }

.rule {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin-top: clamp(24px, 5svh, 56px);
}

.status {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .46em;
  padding-left: .46em;
  font-size: clamp(12px, .35vw + 11px, 17px);
  margin: 24px 0 0;
}

.descriptor {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, .5vw + 13px, 21px);
  color: var(--muted);
  margin: 12px 0 0;
}

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: clamp(30px, 5svh, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.place {
  margin: 0;
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .32em;
  padding-left: .32em;
  color: var(--muted);
}
.contact {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-left: .12em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.contact:hover, .contact:focus-visible { border-color: var(--muted); }
@media (max-height: 620px) {
  .foot { position: static; margin-top: 40px; }
}

.frame {
  position: fixed;
  inset: clamp(12px, 2vw, 28px);
  border: 1px solid var(--hair);
  pointer-events: none;
}
.frame i {
  position: absolute;
  width: 14px;
  height: 14px;
}
.frame i:nth-child(1) { top: -1px; left: -1px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.frame i:nth-child(2) { top: -1px; right: -1px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.frame i:nth-child(3) { bottom: -1px; right: -1px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.frame i:nth-child(4) { bottom: -1px; left: -1px; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); }

.sheen-band { transform: skewX(-18deg); }

/* ---- intro timeline (spec §5) ------------------------------------------- */
@keyframes bg-in   { from { background-color: var(--paper-lo); } to { background-color: transparent; } }
@keyframes focus   { from { filter: blur(6px); } to { filter: blur(0); } }
@keyframes emerge  { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade    { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise    { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sweep   { 0% { transform: translateX(0) skewX(-18deg); } 17% { transform: translateX(1700px) skewX(-18deg); } 100% { transform: translateX(1700px) skewX(-18deg); } }

body { animation: bg-in 500ms var(--ease) both; }
#logo { animation: focus 1400ms var(--ease) 250ms both; }
.ltr {
  animation: emerge 900ms var(--ease) both;
  animation-delay: calc(250ms + var(--i) * 90ms);
}
.tm { animation: fade 500ms var(--ease) 1400ms both; }
.rule {
  animation: draw 600ms var(--ease) 1700ms both;
  transform-origin: center;
}
.status { animation: rise 700ms var(--ease) 1900ms both; }
.descriptor { animation: rise 700ms var(--ease) 2200ms both; }
.place, .contact { animation: fade 600ms var(--ease) 2500ms both; }
.contact { animation-delay: 2700ms; }
.sheen-band { animation: sweep 14s ease-in-out 1500ms infinite; }

#logo .ltr, #logo .tm { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sheen { display: none; }
}
