:root {
  color-scheme: dark;
  --ink: #080706;
  --paper: #eee8de;
  --muted: #b8ada0;
  --gold: #c7a875;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; color: var(--paper); font-family: Georgia, 'Times New Roman', serif; }
a { color: inherit; }
.splash { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; position: relative; isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: -2; background: var(--ink) url('assets/trojruza-still-life.webp') center center / cover no-repeat; }
.scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.12) 27%, transparent 62%, rgba(0,0,0,.54) 84%, #080706 100%); }
.masthead { padding: clamp(2.5rem, 6vh, 5rem) 1.5rem 0; text-align: center; animation: arrive 1.2s ease-out both; }
.brand { display: block; width: min(46rem, 72vw); max-width: 100%; height: auto; margin: 0 auto; filter: drop-shadow(0 3px 16px rgba(0,0,0,.7)); }
.provenance { margin: 1.25rem 0 0; text-transform: uppercase; letter-spacing: .24em; font: 400 .8125rem/1.6 Arial, sans-serif; color: #c9bbaa; }
.provenance span { margin: 0 .75rem; color: var(--gold); }
.entrance { display: flex; align-items: flex-start; justify-content: center; padding: clamp(3rem, 10vh, 8rem) 1.5rem clamp(10rem, 21vh, 18rem); animation: arrive 1.4s .15s ease-out both; }
.shop-button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.875rem; min-width: 17rem; padding: 1.1rem 2.4rem; border: 1px solid var(--gold); outline: 1px solid rgba(199,168,117,.22); outline-offset: 5px; color: #f0e2cc; background: rgba(10,8,6,.88); font: 400 1rem/1.4 Georgia, 'Times New Roman', serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 45px rgba(0,0,0,.5); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.shop-button:hover { background: #c7a875; color: #17110b; box-shadow: 0 8px 45px rgba(0,0,0,.5), 0 0 28px rgba(199,168,117,.18); }
.shop-button:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }
.contact { width: 100%; background: linear-gradient(180deg, rgba(8,7,6,.62), #080706); padding: 1.7rem clamp(1.5rem, 5vw, 5rem) 2rem; }
.contact-inner { max-width: 82rem; margin: auto; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 2rem; align-items: center; border-top: 1px solid rgba(199,168,117,.29); padding-top: 1.6rem; }
.association { margin: 0 0 .5rem; font-size: 1.125rem; letter-spacing: .025em; }
.registration { margin: 0; color: var(--muted); font: 400 .8125rem/1.7 Arial, sans-serif; }
.registration span { margin-left: 1rem; display: inline-block; }
address { font-style: normal; font-size: 1rem; line-height: 1.65; color: #d2c9bc; }
.contact-links { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; font-size: 1rem; line-height: 1.5; }
.contact-links a { text-decoration: none; text-underline-offset: .3rem; transition: color .2s; }
.contact-links a:hover { color: var(--gold); text-decoration: underline; }
.contact-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1600px) { .brand { width: 48rem; } .entrance { padding-top: 15vh; } }
@media (max-width: 760px) {
  .masthead { padding-top: 2.75rem; }
  .brand { width: min(40rem, 90vw); }
  .provenance { font-size: .75rem; letter-spacing: .16em; margin-top: 1rem; }
  .provenance span { margin: 0 .35rem; }
  .scene { background-position: 43% center; }
  .entrance { padding-top: 5rem; padding-bottom: 18rem; }
  .shop-button { min-width: 15rem; padding: 1rem 1.5rem; font-size: .9375rem; letter-spacing: .11em; }
  .contact { padding: 1.3rem 1.5rem 1.7rem; }
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-top: 1.3rem; }
  .identity { grid-column: 1 / -1; }
  .association { font-size: 1.0625rem; }
  .contact-links { align-items: flex-start; justify-self: end; }
  address, .contact-links { font-size: .875rem; }
}
@media (max-width: 430px) {
  .scene { background-position: 39% top; }
  .contact-inner { grid-template-columns: 1fr; gap: .9rem; }
  .contact-links { justify-self: start; }
  .contact-links { flex-direction: row; flex-wrap: wrap; gap: .35rem 1.2rem; }
  .contact-links a { white-space: nowrap; }
  .entrance { padding-top: 4.5rem; padding-bottom: 17rem; }
  .registration span { margin-left: .6rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
