@charset "UTF-8";
:root {
  color-scheme: dark;
  --ink: #090b0b;
  --paper: #e7e4dc;
  --muted: #93968e;
  --accent: #a19470;
  --line: rgba(209, 206, 190, .13);
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; color: var(--paper); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--paper); outline-offset: 9px; }
.page { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 43px 62px 38px; }
.frame { position: fixed; z-index: 0; pointer-events: none; inset: 16px; border: 1px solid var(--line); }
.frame i { position: absolute; width: 7px; height: 7px; border-color: #666354; border-style: solid; }
.frame i:nth-child(1) { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame i:nth-child(2) { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.frame i:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.frame i:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.atmosphere { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, rgba(111, 122, 104, .075), transparent 55%); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 16px; font-weight: 500; letter-spacing: .29em; white-space: nowrap; }
.wordmark-point { color: var(--accent); letter-spacing: 0; }
.descriptor { color: var(--muted); font-size: 9px; letter-spacing: .21em; line-height: 1.5; text-align: right; }
main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px 0 60px; }
.emblem-wrap { appearance: none; display: block; border: 0; border-radius: 0; background: none; padding: 0; color: var(--paper); width: clamp(190px, 28vh, 245px); aspect-ratio: 240 / 230; margin: 0 0 26px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.emblem-wrap:disabled { cursor: default; opacity: 1; }
.emblem-wrap:focus-visible { outline: 1px solid var(--accent); outline-offset: 8px; }
.emblem { display: block; width: 100%; height: 100%; object-fit: contain; }
h1 { margin: 0; max-width: 100%; font-weight: 400; font-size: clamp(40px, 6.8vw, 104px); letter-spacing: -.052em; line-height: 1.05; text-align: center; text-wrap: balance;  }
.period { color: #a69c7f; }
.horizon { width: 122px; height: 1px; background: linear-gradient(90deg, transparent, #4a4b40, transparent); margin-top: 45px; position: relative;  }
.horizon span { position: absolute; height: 3px; width: 3px; top: -1px; left: calc(50% - 1px); background: #a69c7f; transform: rotate(45deg); }
footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 24px; font-size: 9px; letter-spacing: .15em; color: var(--muted); }
.footer-inscription { justify-self: center; align-self: center; white-space: nowrap; font-family: Georgia, serif; font-size: 9px; letter-spacing: .14em; color: var(--accent); }
.signature { display: flex; flex-direction: column; gap: 7px; line-height: 1.5; }
.place { color: var(--muted); font-size: 9px; letter-spacing: .21em; }
.contact { justify-self: end; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 8px 0 8px 12px; margin-bottom: -8px; font-size: 10px; letter-spacing: .18em; color: var(--paper); transition: color .25s; }
.contact svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform .25s; }
.contact:hover { color: #b9a980; }
.contact:hover svg { transform: translate(2px, -2px); }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1700px) { .page { padding: 54px 80px 48px; } .emblem-wrap { width: 250px; } h1 { font-size: 118px; } }
@media (max-width: 700px) {
  .page { padding: 34px 30px 31px; }
  .frame { inset: 10px; }
  .wordmark { font-size: 13px; letter-spacing: .23em; }
  .descriptor { max-width: 117px; font-size: 9px; letter-spacing: .09em; line-height: 1.7; }
  main { padding: 50px 0 65px; }
  .emblem-wrap { width: min(52vw, 205px); margin-bottom: 24px; }
  h1 { max-width: 350px; font-size: clamp(44px, 10vw, 65px); line-height: 1.07; }
  .horizon { margin-top: 34px; width: 86px; }
  footer { gap: 12px; font-size: 9px; letter-spacing: .06em; }
  .place { font-size: 9px; }
  .contact { gap: 10px; font-size: 10px; letter-spacing: .1em; }
  .contact svg { width: 11px; height: 11px; }
}
@media (max-height: 650px) and (min-width: 701px) {
  .page { padding-top: 30px; padding-bottom: 25px; }
  main { padding: 25px 0; }
  .emblem-wrap { width: 150px; margin-bottom: 20px; }
  h1 { font-size: 60px; }
  .horizon { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
