@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/playfair-display-600.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/playfair-display-400-italic.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #F1ECE2;
  --paper-hi: #F8F4EC;
  --paper-lo: #E7DFCF;
  --ink: #14120E;
  --muted: #6B6255;
  --gold: #C6A15B;
  --gold-dk: #8C7038;
  --hair: rgba(20, 18, 14, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Playfair Display", "Iowan Old Style", 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% 40%, 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;
  width: 100%;
  min-width: 0;
}

.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(--gold); border-left: 1px solid var(--gold); }
.frame i:nth-child(2) { top: -1px; right: -1px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.frame i:nth-child(3) { bottom: -1px; right: -1px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.frame i:nth-child(4) { bottom: -1px; left: -1px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }

.mark {
  margin: 0;
  position: relative;
  line-height: 0;
  width: min(80vw, calc(30svh * 5.724), 820px);
  max-width: 100%;
}
.mark > svg#logo { display: block; width: 100%; height: auto; }
.sheen { position: absolute; inset: 0; pointer-events: none; }
.sheen-band { transform: skewX(-18deg); }

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

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

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

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: clamp(28px, 4.5svh, 50px);
  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(--gold); }
@media (max-height: 620px) {
  .footer { position: static; margin-top: 40px; }
}

@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: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes draw   { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise   { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes sweep  { 0% { transform: translateX(0) skewX(-18deg); } 17% { transform: translateX(1900px) skewX(-18deg); } 100% { transform: translateX(1900px) skewX(-18deg); } }

body { animation: bg-in 500ms var(--ease) both; }
#logo { animation: focus 1400ms var(--ease) 250ms both; }
.ltr {
  animation: emerge 550ms var(--ease) both;
  animation-delay: calc(250ms + var(--i) * 110ms);
}
.rule { animation: draw 600ms var(--ease) 1550ms both; transform-origin: center; }
.status { animation: rise 700ms var(--ease) 1750ms both; }
.descriptor { animation: rise 700ms var(--ease) 2050ms both; }
.place, .contact { animation: fade 600ms var(--ease) 2350ms both; }
.contact { animation-delay: 2550ms; }
.sheen-band { animation: sweep 16s ease-in-out 1900ms infinite; }

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

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