* { box-sizing: border-box; }
body { margin: 0; color: #2e2824; background: #f9f3e7; font: 1rem/1.55 system-ui,sans-serif; }
header { background: #203d31; color: #fff; padding: 1rem max(5vw,1rem); }
main { width: min(68rem,90vw); margin: 2rem auto 4rem; }
h1,h2 { font-family: Georgia,serif; line-height: 1.12; }
h1 { color: #8b202c; font-size: clamp(2.5rem,7vw,5rem); margin-bottom: .25em; }
.layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 2rem; }
.card,article { padding: 1.5rem; background: #fffdf8; border: 1px solid #ddccb0; border-radius: 1rem; margin-bottom: 1rem; }
form,label { display: grid; gap: .45rem; }
form { gap: 1rem; }
input,select,button,.pay { padding: .65rem .8rem; font: inherit; border-radius: .4rem; }
input,select { border: 1px solid #726f64; width: 100%; background: #fff; }
button,.pay { background: #8b202c; color: #fff; border: 0; cursor: pointer; }
.reference { letter-spacing: .06em; overflow-wrap: anywhere; }
.layout > section:first-child { display: grid; justify-items: center; position: relative; min-height: 23rem; padding: 2rem 1rem 3rem; isolation: isolate; }
.tree { position: absolute; inset: 0; text-align: center; font-size: 2rem; color: #cc952d; z-index: -1; }
.tree::before { content: ""; position: absolute; inset: 2rem 0 1.3rem; background: linear-gradient(110deg,#315d48,#163a2b); clip-path: polygon(50% 0,68% 28%,61% 28%,81% 54%,72% 54%,97% 91%,57% 91%,57% 100%,43% 100%,43% 91%,3% 91%,28% 54%,19% 54%,39% 28%,32% 28%); }
.layout > section:first-child > p { align-self: end; background: #fffdf8; padding: .25rem .5rem; border-radius: .35rem; }
.ornaments { align-self: end; width: 85%; }
.branch { display: flex; justify-content: center; flex-wrap: wrap; }
.ornament { position: relative; background: transparent; color: #fff; font-size: 1.2rem; padding: .22rem; min-width: 2rem; }
.ornament span { display: none; background: #fffdf8; color: #2e2824; position: absolute; z-index: 2; width: max-content; max-width: 10rem; overflow-wrap: anywhere; padding: .35rem; border-radius: .3rem; top: 100%; left: 50%; transform: translateX(-50%); font-size: .9rem; }
.ornament:hover span,.ornament:focus span,.ornament:target span { display: block; }
@media (max-width: 650px) { .layout { grid-template-columns: 1fr; } }
