:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  color: #f4efdf;
  background: #102d25;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  position: relative;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(125, 133, 78, .14), transparent 56%),
    radial-gradient(ellipse at 50% 100%, #1c4436, transparent 65%),
    #102d25;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='white' filter='url(%23n)' d='M0 0h140v140H0z'/%3E%3C/svg%3E");
}
.winter-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.garland {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 100%;
  min-width: 850px;
  max-width: 1800px;
  transform: translateX(-50%);
}
.landscape {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  min-width: 850px;
  transform: translateX(-50%);
}
.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 178px 28px 145px;
}
.profile { width: 100%; max-width: 440px; text-align: center; }
.portrait { position: relative; width: 198px; height: 198px; margin: 0 auto 12px; }
.wreath { position: absolute; inset: -17%; width: 134%; height: 134%; }
.avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 106px;
  height: 106px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d4c09c;
  background: #294b3b;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}
.greeting {
  margin: 0 0 12px;
  color: #d9c89d;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.greeting span { margin: 0 8px; font-size: 12px; }
h1 {
  margin: 0 0 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-size: clamp(32px, 5.6vw, 46px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.links { display: grid; gap: 12px; }
.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 20px 24px;
  border: 1px solid #efe3ca;
  border-radius: 6px;
  background: #f4efdf;
  color: #193e30;
  box-shadow: 0 3px 0 #b8ad90, 0 7px 20px rgba(0, 0, 0, .13);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 140ms, transform 140ms, box-shadow 140ms;
}
.link-label { display: inline-flex; align-items: center; gap: 15px; }
.brand-icon { display: block; width: 26px; height: 26px; flex: 0 0 26px; }
.arrow { font-size: 25px; font-weight: 400; color: #6d7d66; }
.links a:hover { background: #fff9ec; transform: translateY(-2px); box-shadow: 0 5px 0 #b8ad90, 0 9px 22px rgba(0, 0, 0, .16); }
.links a:hover .link-name { text-decoration: underline; text-underline-offset: 4px; }
.links a:active { transform: translateY(2px); box-shadow: 0 1px 0 #b8ad90; }
.links a:focus-visible, .snow-toggle:focus-visible { outline: 3px solid #edc678; outline-offset: 6px; }
.snow-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(210, 210, 180, .25);
  border-radius: 20px;
  background: rgba(9, 30, 23, .6);
  color: #d2dccd;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.snow-toggle svg { width: 17px; height: 17px; }
.snow-toggle[hidden] { display: none; }
.snow-toggle:hover { border-color: #bec9ab; color: #fff8e8; }
.snow-canvas, .snow-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.snow-fallback { overflow: hidden; }
.snow-fallback[hidden] { display: none; }
.snow-fallback span {
  position: absolute;
  left: var(--x);
  top: -12px;
  width: var(--size);
  height: var(--size);
  background: #fffaf0;
  border-radius: 50%;
  opacity: .6;
  animation: fallback-snow var(--duration) var(--delay) linear infinite;
}
@keyframes fallback-snow { to { transform: translateY(110vh); } }
.snow-fallback.is-paused span { animation-play-state: paused; }
@media (max-width: 540px) {
  .page { padding: 124px 24px 100px; }
  .portrait { width: 154px; height: 154px; margin-bottom: 13px; }
  .avatar { width: 84px; height: 84px; border-width: 2px; }
  .greeting { font-size: 10px; letter-spacing: .14em; }
  .greeting span { margin: 0 5px; }
  h1 { margin-bottom: 26px; }
  .links a { min-height: 70px; padding: 18px 20px; font-size: 18px; }
  .brand-icon { width: 24px; height: 24px; flex-basis: 24px; }
  .snow-toggle { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .links a { transition: none; }
  .links a:hover { transform: none; }
  .snow-fallback span { animation: none; top: var(--y); }
  .snow-fallback.motion-enabled span { top: -12px; animation: fallback-snow var(--duration) var(--delay) linear infinite; }
}
@media (min-width: 541px) and (max-height: 800px) {
  .page { padding-top: 146px; padding-bottom: 90px; }
  .portrait { width: 148px; height: 148px; margin-bottom: 10px; }
  .avatar { width: 82px; height: 82px; border-width: 2px; }
  h1 { font-size: 42px; margin-bottom: 28px; }
  .links a { min-height: 68px; padding-top: 17px; padding-bottom: 17px; }
  .snow-toggle { min-height: 36px; margin-top: 20px; }
}
