/* OBSIDIAN WINTER / 2027 — seasonal art direction, loaded after core styles. */
:root { --bg:#0a0d12; --bg-soft:#10151d; --surface:#151c25; --surface-raised:#202a35; --text:#edf2f7; --muted:#a9b5c3; --muted-2:#8795a5; --line:#b8cce126; --line-strong:#c5d6e44d; --accent:#c8d6e4; --inverse:#0a0d12; --hero-bg-rgb:10,13,18; --header-height:76px; }
.winter-edition { background:var(--bg); }
.winter-edition .site-header { background:#0a0d12f5; border-bottom:1px solid var(--line); }
.winter-edition .header-inner { gap:24px; }
.winter-edition .brand-name { font-size:14px; letter-spacing:.19em; }
.winter-brand-index { color:#9dabb9; font:11px var(--mono); white-space:nowrap; }
.winter-edition .nav-link { font-size:13px; }
.winter-edition .language-option { min-height:40px; }
.winter-edition .mobile-nav { background:#111720; }
.winter-snow { position:fixed; inset:0; width:100%; height:100%; z-index:12; pointer-events:none; opacity:.72; }
.winter-kicker { display:flex; align-items:center; gap:10px; margin:0 0 24px; font:500 11px/1.5 var(--mono); color:#b3c5d6; letter-spacing:.15em; text-transform:uppercase; }
.winter-mark { color:#e4edf5; font:22px/1 system-ui,sans-serif; }
.winter-edition .hero-section { min-height:0; background:#0a0d12!important; }
.winter-edition .hero-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr); align-items:center; min-height:600px; padding:110px 0 90px; gap:55px; }
.winter-edition .hero-copy-column { max-width:760px; }
.winter-edition .hero-title.hero-role-title { font-size:clamp(38px,5.6vw,82px); line-height:1.04; font-weight:800; letter-spacing:-.07em; gap:.1em; margin:0 0 25px; }
.winter-edition .hero-role-title span:nth-child(2) { color:#9baebe; font-weight:600; }
.winter-edition .hero-description { max-width:465px; font-size:15px; line-height:1.8; color:#c3ccd5; }
.winter-edition .hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:21px; margin-top:28px; }
.winter-edition .button-primary { border-radius:3px; background:#e2ebf3; color:#111820; border:1px solid #e2ebf3; }
.winter-secondary { font-size:13px; font-weight:700; border-bottom:1px solid #aebdcb66; padding:10px 0; }
.winter-edition .hero-flipper-stage { opacity:.63; }
.winter-edition .hero-flipper-stage::after { background:linear-gradient(90deg,#0a0d12 0%,#0a0d12a0 33%,#0a0d1222 74%),linear-gradient(0deg,#0a0d12,transparent 34%,transparent 80%,#0a0d12)!important; }
.winter-edition .hero-visual { width:100%; max-width:340px; gap:22px; }
.winter-edition .profile-tile { width:min(100%,265px); border-radius:4px; border:1px solid #c5d6e480; box-shadow:0 0 0 7px #c5d6e409,0 26px 65px #0008; }
.winter-reputation-label { display:block; font:10px/1.5 var(--mono); letter-spacing:.12em; color:#aab8c6; margin-bottom:10px; }
.winter-edition .reputation-score { font-size:38px; }
.winter-edition .reputation-vote { border-color:#a6bed04d; background:#101923a0; }
.winter-countdown { padding:0 0 clamp(58px,8vw,112px); position:relative; }
.winter-clock-panel { position:relative; isolation:isolate; overflow:hidden; padding:clamp(20px,4vw,48px); border:1px solid #a5b8ca42; background:radial-gradient(ellipse at 50% 20%,#2b3c4d 0%,#151f2b 34%,#0d131b 75%); }
.winter-clock-panel::before,.winter-clock-panel::after { content:""; position:absolute; z-index:-1; pointer-events:none; inset:9px; border:1px solid #c3d6e51a; }
.winter-clock-panel::after { inset:0; border:0; background:repeating-linear-gradient(120deg,transparent 0 65px,#dbeaff08 66px,transparent 67px 125px); mask-image:radial-gradient(ellipse,#0000 35%,#000 100%); }
.winter-clock-top { display:flex; justify-content:center; align-items:center; color:#acbdce; margin-bottom:8px; }
.winter-clock-top .winter-mark { font-size:20px; opacity:.8; }
.winter-clock-center { position:relative; text-align:center; padding:10px 0 clamp(20px,3vw,36px); isolation:isolate; }
.winter-year { font-size:clamp(92px,17vw,230px); line-height:.97; letter-spacing:-.08em; margin:0; padding-right:.07em; color:#d5e0eb; background:linear-gradient(180deg,#f9fcff 7%,#a7b9ca 39%,#ecf2f7 49%,#70869b 52%,#c9d7e3 80%,#9fb0c1); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; font-weight:800; }
.winter-orbit { position:absolute; z-index:-1; left:50%; top:50%; width:min(75%,550px); height:90%; border:1px solid #c0d3e51c; border-radius:50%; transform:translate(-50%,-50%) rotate(-12deg); }
.winter-clock-digits { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); max-width:840px; margin:0 auto; border-block:1px solid #b5c8db40; }
.winter-unit { text-align:center; padding:16px 3px 19px; }
.winter-unit+.winter-unit { border-left:1px solid #b5c8db30; }
.winter-unit>span { display:grid; overflow:hidden; font:500 clamp(30px,6.6vw,76px)/1.15 var(--mono); font-variant-numeric:tabular-nums; letter-spacing:-.07em; color:#f1f5fa; }
.winter-unit>span>span { grid-area:1/1; display:block; }
.winter-digit-in { animation:winter-digit-in .46s cubic-bezier(.22,.75,.22,1) both; }
.winter-digit-out { animation:winter-digit-out .46s cubic-bezier(.22,.75,.22,1) both; pointer-events:none; }
@keyframes winter-digit-in { from { opacity:0; transform:translateY(.16em); } to { opacity:1; transform:translateY(0); } }
@keyframes winter-digit-out { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(-.16em); } }
.winter-unit small { display:block; margin-top:7px; color:#b7c5d3; font:10px/1.5 var(--mono); letter-spacing:.12em; text-transform:uppercase; }
.winter-greeting { text-align:center; font-size:clamp(26px,5vw,56px); font-weight:800; margin:0; }
.winter-edition .portfolio-section { background:#101720; padding:clamp(60px,8vw,106px) 0; }
.winter-edition .portfolio-atmosphere { background:radial-gradient(ellipse at 50% 55%,#7c9cbe21,transparent 55%); }
.winter-edition .portfolio-heading-block { text-align:left; margin:0; }
.winter-edition .portfolio-heading { font-size:clamp(38px,6vw,76px); white-space:normal; letter-spacing:-.055em; }
.winter-edition .portfolio-subtitle { margin-top:12px; color:#b5c1ce; }
.winter-edition .portfolio-showcase { margin-top:10px; }
.winter-edition .portfolio-stage { height:clamp(330px,39vw,530px); }
.winter-edition .portfolio-card { width:clamp(210px,29vw,350px); border-radius:5px; background:#263340; border:1px solid #aabed060; padding:5px; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:0 24px 60px #0007; }
.winter-edition .portfolio-card::before,.winter-edition .portfolio-card::after { display:none; }
.winter-edition .portfolio-artwork { border-radius:2px; background:#0a0d12; }
.winter-edition .portfolio-dialog { border-radius:5px; background:#131b24; }
.winter-edition .portfolio-dialog-image-wrap { border-radius:2px; }
.winter-edition .contact-section { padding:clamp(65px,9vw,120px) 0; }
.winter-edition .contact-panel { border-color:#a1b5c54a; border-radius:3px; background:#18222c; }
.winter-edition .contact-copy { display:flex; flex-direction:column; align-items:flex-start; }
.winter-edition .contact-direction { display:none; }
.winter-edition .contact-copy h2 { font-size:clamp(34px,4.7vw,65px); line-height:1.05; font-weight:700; }
.winter-edition .contact-copy>p { font-size:14px; color:#c4cfd9; }
/* Signature occupies the lower negative space of the contact background. */
.winter-edition .contact-panel { --signature-height:clamp(100px,13vw,156px); background:#080b0f; padding-bottom:calc(var(--signature-height) + 24px); }
.winter-edition .contact-background-video,
.winter-edition .contact-video-poster { inset:auto 0 0; height:var(--signature-height); opacity:.82; mix-blend-mode:screen; }
.winter-edition .contact-background-video { object-fit:cover; object-position:center; }
.winter-edition .contact-video-poster { background-size:cover; background-position:center; }
.winter-edition .contact-video-overlay { background:linear-gradient(180deg,#0b11192b 0%,transparent 65%); }
@media(max-width:760px){
  .winter-edition .contact-panel { --signature-height:clamp(86px,26vw,128px); padding-bottom:calc(var(--signature-height) + 16px); }
  .winter-edition .contact-background-video { object-fit:contain; }
  .winter-edition .contact-video-poster { background-size:contain; }
}
.winter-edition .contact-channel { border-radius:3px; background:#131d27e8; border-color:#aabed040; }
.winter-edition .site-footer { background:#0a0d12; border-top:1px solid var(--line); }
.winter-edition .skip-link { display:block!important; }
@media(max-width:900px){.winter-edition .hero-grid { gap:30px; min-height:520px; padding-block:90px 65px; }.winter-edition .hero-title.hero-role-title { font-size:clamp(35px,5.4vw,62px); }}
@media(max-width:760px){.winter-edition .hero-grid { display:flex; flex-direction:column; min-height:0; padding:48px 0 48px; gap:65px; width:calc(100% - 36px); }.winter-edition .hero-copy-column { width:100%; }.winter-edition .hero-visual { min-height:0; width:100%; max-width:320px; }.winter-edition .profile-tile { width:min(52vw,215px); }.winter-edition .hero-title.hero-role-title { font-size:clamp(34px,8vw,58px); }.winter-edition .hero-flipper-stage::after { background:linear-gradient(180deg,#0a0d12 4%,#0a0d12e8 34%,#0a0d1240 85%,#0a0d12)!important; }.winter-clock-panel { width:calc(100% - 36px); }.winter-clock-center { padding-top:10px; }.winter-edition .portfolio-heading-block { text-align:left; }.winter-edition .portfolio-card { width:clamp(184px,58vw,270px); }.winter-edition .portfolio-stage { height:clamp(300px,85vw,400px); }.winter-edition .contact-copy { align-items:flex-start; text-align:left; }.winter-edition .contact-actions { justify-self:stretch; width:100%; }.winter-edition .contact-panel { gap:25px; }.winter-brand-index { display:none; }}
@media(max-width:380px){.winter-unit small { font-size:8px; letter-spacing:.03em; }.winter-clock-panel { padding:18px 12px; }.winter-edition .header-inner { gap:8px; }.winter-edition .hero-title.hero-role-title { font-size:32px; }}
@media(prefers-reduced-motion:reduce){.winter-snow { display:none; }.winter-digit-in { animation:none!important; }.winter-digit-out { display:none!important; }.winter-edition .contact-direction svg { animation:none; }}

/* Minimal centered portfolio heading */
.winter-edition .portfolio-heading-block--minimal { display:flex; justify-content:center; align-items:center; text-align:center; margin:0 auto; }
.winter-edition .portfolio-heading-row { display:inline-flex; align-items:center; justify-content:center; gap:14px; margin:0 auto; }
.winter-edition .portfolio-heading-mark { flex:0 0 auto; font-size:clamp(14px,1.8vw,18px); color:#dce6ef; transform:translateY(-1px); }
.winter-edition .portfolio-heading-block--minimal .portfolio-heading { margin:0; text-align:center; }
.winter-edition .portfolio-heading-block--minimal .portfolio-subtitle,
.winter-edition .portfolio-heading-block--minimal .winter-kicker { display:none !important; }
@media(max-width:760px){ .winter-edition .portfolio-heading-block--minimal, .winter-edition .portfolio-heading-row { width:100%; } }


/* FINAL ART-DIRECTION PASS — FLOXOV / OBSIDIAN WINTER 2027
   Overrides legacy layout fragments without replacing original assets or interactions. */
.winter-edition .site-header {
  background: rgba(8, 12, 17, .94);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  backdrop-filter: blur(16px) saturate(115%);
}
.winter-brand-index { display: none !important; }
.winter-edition .hero-section { min-height: 0; background: #080c11 !important; }
.winter-edition .hero-grid {
  width: min(calc(100% - 64px), 1480px);
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(270px, .62fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 72px);
  min-height: 540px;
  padding: clamp(66px, 7vw, 88px) 0 clamp(56px, 6vw, 72px);
}
.winter-edition .hero-copy-column { width: 100%; max-width: 790px; }
.winter-edition .hero-title.hero-role-title {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 100%; margin: 0 0 21px;
  font-size: clamp(42px, 4.05vw, 66px);
  line-height: 1.055; letter-spacing: -.067em; font-weight: 780; text-wrap: initial;
}
.winter-edition .hero-role-title span { display: block; max-width: 100%; white-space: nowrap; }
.winter-edition .hero-role-title span:first-child { color: #f0f3f7; }
.winter-edition .hero-role-title span:nth-child(2) { color: #9cabb9; font-weight: 620; }
.winter-edition .hero-description { max-width: 470px; margin: 0; color: #c0cad4; font-size: 14px; line-height: 1.78; }
.winter-edition .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
.winter-edition .button-primary {
  min-height: 50px; padding-inline: 21px; border-radius: 3px;
  background: #e4edf5; border-color: #e4edf5; color: #101820;
}
.winter-secondary { color: #d7e1eb; border-bottom-color: rgba(190, 207, 222, .42); }
.winter-edition .hero-flipper-stage { opacity: .43; filter: saturate(.72) contrast(1.02); }
.winter-edition .hero-flipper-stage::after {
  background:
    linear-gradient(90deg, rgba(8,12,17,.94) 0%, rgba(8,12,17,.78) 37%, rgba(8,12,17,.46) 100%),
    linear-gradient(0deg, #080c11 0%, rgba(8,12,17,.18) 34%, rgba(8,12,17,.40) 100%) !important;
}
.winter-edition .hero-visual {
  width: 100%; max-width: 350px; min-height: 330px; justify-self: center;
  justify-items: center; align-content: center; gap: 13px;
}
.winter-edition .profile-tile {
  width: min(100%, 282px); border-radius: 4px;
  border: 1px solid rgba(198, 215, 231, .52);
  box-shadow: 0 22px 58px rgba(0,0,0,.52), 0 0 0 6px rgba(196,214,231,.035);
}
.winter-edition .reputation-widget {
  width: min(100%, 282px); display: flex; align-items: center; justify-content: center;
  gap: 13px; padding: 0; margin-top: 2px;
}
.winter-edition .reputation-score-row { margin: 0; }
.winter-edition .reputation-score { font-size: 30px; line-height: 1; }
.winter-edition .reputation-vote-actions { display: flex; gap: 7px; }
.winter-edition .reputation-vote {
  width: 42px; min-width: 42px; height: 42px; min-height: 42px; border-radius: 3px;
}

.winter-snow { opacity: .56; }
.winter-countdown { padding: 0 0 clamp(64px, 7vw, 92px); }
.winter-clock-panel {
  width: min(calc(100% - 64px), 1280px);
  padding: clamp(20px, 3vw, 34px) clamp(18px, 4vw, 46px) clamp(22px, 3vw, 34px);
  border-color: rgba(171, 194, 215, .28);
  background: radial-gradient(ellipse at 50% 12%, rgba(70, 94, 118, .34), transparent 54%),
              linear-gradient(145deg, #17222e 0%, #101821 52%, #0b1118 100%);
}
.winter-clock-top { justify-content: flex-start; height: 20px; margin: 0; }
.winter-clock-top .winter-mark { font-size: 18px; opacity: .74; }
.winter-clock-center { padding: 2px 0 21px; }
.winter-year { font-size: clamp(88px, 12.5vw, 174px); line-height: .96; }
.winter-unit { padding: 14px 4px 16px; }
.winter-unit > span { font-size: clamp(29px, 4.8vw, 62px); }
.winter-unit small { margin-top: 5px; font-size: 9px; letter-spacing: .10em; }
.winter-edition .portfolio-section {
  padding: clamp(72px, 8vw, 104px) 0 clamp(78px, 9vw, 116px);
  background: #0d141c;
}
.winter-edition .portfolio-heading-block { width: 100%; margin: 0 auto 12px; text-align: center; }
.winter-edition .portfolio-heading-row {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 70px; width: 100%;
}
.winter-edition .portfolio-heading-mark {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  margin: 0; font-size: 20px;
}
.winter-edition .portfolio-heading {
  margin: 0; text-align: center; font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.05; letter-spacing: -.055em;
}
.winter-edition .portfolio-showcase { margin-top: 8px; }
.winter-edition .portfolio-stage { height: clamp(350px, 40vw, 510px); }
.winter-edition .portfolio-card {
  width: clamp(210px, 25vw, 320px); border-radius: 4px; padding: 5px;
  background: #17212b; border-color: rgba(185, 204, 222, .30);
  box-shadow: 0 22px 60px rgba(0,0,0,.52);
}
.winter-edition .portfolio-artwork { border-radius: 2px; }
.winter-edition .contact-section { padding: clamp(66px, 8vw, 104px) 0; }
.winter-edition .contact-panel { border-radius: 3px; border-color: rgba(174, 195, 216, .28); background: #080c11; }
.winter-edition .contact-copy h2 {
  max-width: 720px; font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06; letter-spacing: -.045em;
}
.winter-edition .contact-copy > p { max-width: 500px; color: #c1ccd7; line-height: 1.75; }
.winter-edition .contact-background-video,
.winter-edition .contact-video-poster { opacity: .68; }

@media (max-width: 1100px) and (min-width: 761px) {
  .winter-edition .hero-grid {
    width: calc(100% - 56px); grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr);
    min-height: 500px; gap: 28px;
  }
  .winter-edition .hero-title.hero-role-title { font-size: clamp(39px, 4.5vw, 54px); }
  .winter-edition .hero-visual { max-width: 300px; min-height: 290px; }
  .winter-edition .profile-tile { width: min(100%, 245px); }
}
@media (max-width: 760px) {
  .winter-edition .hero-grid {
    width: calc(100% - 36px); display: flex; flex-direction: column; align-items: stretch;
    min-height: 0; padding: 48px 0 42px; gap: 32px;
  }
  .winter-edition .hero-copy-column { max-width: 100%; }
  .winter-edition .hero-title.hero-role-title {
    font-size: clamp(34px, 8.2vw, 52px); line-height: 1.04; margin-bottom: 17px;
  }
  .winter-edition .hero-role-title span { white-space: normal; }
  .winter-edition .hero-description { max-width: 540px; font-size: 13px; }
  .winter-edition .hero-visual {
    width: 100%; max-width: 300px; min-height: 0; align-self: center;
    justify-items: center; gap: 10px;
  }
  .winter-edition .profile-tile { width: min(76vw, 230px); }
  .winter-edition .reputation-widget { width: min(76vw, 230px); }
  .winter-edition .hero-flipper-stage::after {
    background: linear-gradient(180deg, #080c11 0%, rgba(8,12,17,.86) 32%, rgba(8,12,17,.50) 68%, #080c11 100%) !important;
  }
  .winter-clock-panel { width: calc(100% - 36px); }
  .winter-clock-center { padding: 2px 0 16px; }
  .winter-year { font-size: clamp(80px, 20vw, 132px); }
  .winter-unit { padding: 12px 2px 14px; }
  .winter-unit > span { font-size: clamp(25px, 7vw, 42px); }
  .winter-unit small { font-size: 8px; letter-spacing: .04em; }
  .winter-edition .portfolio-heading-row { min-height: 56px; }
  .winter-edition .portfolio-heading { font-size: clamp(34px, 8vw, 48px); }
  .winter-edition .portfolio-stage { height: clamp(310px, 86vw, 390px); }
  .winter-edition .portfolio-card { width: clamp(184px, 58vw, 260px); }
  .winter-edition .contact-panel { --signature-height: clamp(88px, 26vw, 124px); }
}
@media (max-width: 390px) {
  .winter-edition .hero-title.hero-role-title { font-size: 32px; }
  .winter-clock-panel { padding-inline: 12px; }
}


/* FLOXOV refinement pack — local typography, brighter hero media, and functional contact/reputation UI. */
@font-face {
  font-family: "Salum Gothic";
  src: url("./fonts/SalumGothic6.0.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.winter-edition .hero-title.hero-role-title,
.winter-edition .hero-title.hero-role-title span {
  font-family: "Salum Gothic", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
  font-synthesis: none;
  line-height: 1.08;
}

.winter-edition .button-contact {
  min-height: 56px;
  min-width: 116px;
  padding: 0 25px;
  gap: 14px;
}
.winter-edition .button-contact > span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .015em;
}

/* Reveal the existing Flipper Zero footage without sacrificing headline contrast. */
.winter-edition .hero-flipper-stage {
  opacity: .82 !important;
  filter: saturate(.94) brightness(1.12) contrast(1.04);
}
.winter-edition .hero-flipper-stage::after {
  background:
    linear-gradient(90deg,
      rgba(8,12,17,.76) 0%,
      rgba(8,12,17,.48) 31%,
      rgba(8,12,17,.18) 58%,
      rgba(8,12,17,.06) 100%),
    linear-gradient(0deg,
      rgba(8,12,17,.30) 0%,
      transparent 30%,
      rgba(8,12,17,.12) 100%) !important;
}
@media (max-width: 760px) {
  .winter-edition .hero-flipper-stage::after {
    background: linear-gradient(180deg,
      rgba(8,12,17,.91) 0%,
      rgba(8,12,17,.70) 29%,
      rgba(8,12,17,.22) 62%,
      rgba(8,12,17,.05) 100%) !important;
  }
}

/* Use the supplied fifth image as the countdown artwork, graded into arctic blue. */
.winter-edition .winter-clock-panel {
  background:
    linear-gradient(180deg, rgba(5,12,29,.46) 0%, rgba(5,13,31,.64) 100%),
    url("./winter-timer-bg.webp") center / cover no-repeat !important;
  border-color: rgba(167,198,235,.38);
  box-shadow: 0 24px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(230,242,255,.07);
}
.winter-edition .winter-clock-panel::after {
  background:
    linear-gradient(115deg, rgba(117,166,235,.10), transparent 44%),
    repeating-linear-gradient(120deg, transparent 0 65px, rgba(219,234,255,.055) 66px, transparent 67px 125px);
}
.winter-edition .winter-year {
  text-shadow: 0 8px 36px rgba(84,145,225,.18);
}

/* Supplied round Telegram and Discord marks; contact surfaces stay true black. */
.winter-edition .contact-channel {
  background: #030405 !important;
  border-color: rgba(230,239,250,.20) !important;
  color: #f3f6fa;
}
.winter-edition .contact-channel:hover,
.winter-edition .contact-channel:focus-visible {
  background: #090c10 !important;
  border-color: rgba(224,238,255,.52) !important;
}
.winter-edition .contact-channel-icon {
  background: #000 !important;
  border-color: rgba(255,255,255,.20) !important;
  overflow: hidden;
}
.contact-channel-image {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
}
.winter-edition .contact-channel-icon svg {
  color: #fff;
}

/* Keep reputation connection state visible when Supabase is unavailable. */
.winter-edition .reputation-status,
.winter-edition .reputation-cooldown {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  border: 0 !important;
  font: 10px/1.5 var(--mono);
  text-align: center;
  color: #aab8c7;
}
.winter-edition .reputation-status[data-kind="error"] { color: #f0a2a2; }
.winter-edition .reputation-status[data-kind="success"] { color: #9dc9aa; }
@media (max-width: 760px) {
  .winter-edition .hero-title.hero-role-title,
  .winter-edition .hero-title.hero-role-title span {
    letter-spacing: -.035em;
    line-height: 1.12;
  }
  .winter-edition .button-contact {
    min-height: 54px;
    min-width: 108px;
    padding-inline: 21px;
  }
  .winter-edition .winter-clock-panel {
    background-position: center;
  }
}

/* Responsive layout refinement — shared rails, intrinsic sizing, safe touch targets.
   No media assets, motion controllers or backend contracts are changed. */
body.winter-edition { --layout-gutter:clamp(16px,3.8vw,64px); --layout-max:1280px; --section-space:clamp(56px,7vw,100px); }
.winter-edition .shell { width:min(var(--layout-max),calc(100% - var(--layout-gutter) * 2)); margin-inline:auto; }
.winter-edition .header-inner { gap:clamp(12px,2vw,28px); }
.winter-edition .header-actions { flex:none; margin-left:auto; gap:8px; }
.winter-edition .primary-nav { gap:clamp(18px,2.4vw,36px); }
.winter-edition .nav-link { display:flex; align-items:center; min-height:44px; font-size:13px; }
.winter-edition .language-switch { width:96px; height:52px; gap:0; }
.winter-edition .language-option { min-height:44px; font-size:11px; }
.winter-edition .menu-toggle { width:44px; height:44px; }
.winter-edition .hero-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:clamp(32px,5vw,76px); min-height:0; padding-block:clamp(66px,7vw,110px) clamp(44px,5vw,76px); }
.winter-edition .hero-copy-column { container-type:inline-size; width:100%; min-width:0; max-width:none; }
.winter-edition .hero-title.hero-role-title { font-size:clamp(32px,4.1vw,64px); font-size:clamp(29px,8.4cqi,64px); line-height:1.13; letter-spacing:-.035em; gap:.12em; margin:0 0 20px; }
.winter-edition .hero-title.hero-role-title span { white-space:normal; overflow-wrap:normal; line-height:inherit; letter-spacing:inherit; text-wrap:balance; }
.winter-edition .hero-description { font-size:clamp(14px,1.15vw,16px); line-height:1.75; max-width:45ch; }
.winter-edition .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 22px; margin-top:24px; }
.winter-edition .hero-actions .button-contact { flex:0 0 auto; justify-content:center; min-height:52px; min-width:124px; padding-inline:22px; }
.winter-edition .winter-secondary { display:inline-flex; align-items:center; min-height:44px; font-size:14px; padding-block:8px; }
.winter-edition .hero-visual { position:relative; width:100%; max-width:350px; min-height:0; aspect-ratio:auto; align-self:center; justify-self:center; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; margin:0; padding-top:clamp(100px,12vw,166px); }
.winter-edition .profile-tile { flex:none; width:min(100%,282px); height:auto; aspect-ratio:1; padding:0; }
.winter-edition .reputation-widget { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; justify-items:center; gap:10px 12px; width:min(100%,282px); padding:0; }
.winter-edition .reputation-score-row { justify-self:end; margin:0; }
.winter-edition .reputation-vote-actions { justify-self:start; gap:8px; }
.winter-edition .reputation-vote { width:46px; height:46px; min-width:46px; min-height:46px; }
.winter-edition .reputation-status,.winter-edition .reputation-cooldown { grid-column:1/-1; max-width:100%; overflow-wrap:anywhere; }
.winter-edition .reputation-status:not(:empty),.winter-edition .reputation-cooldown:not([hidden]):not(:empty) { display:block; font-size:11px; }
.winter-edition .winter-countdown { padding-bottom:var(--section-space); }
.winter-edition .winter-clock-panel { padding:clamp(14px,3.5vw,42px); }
.winter-edition .winter-clock-center { padding-block:8px clamp(18px,3vw,32px); }
.winter-edition .winter-year { font-size:clamp(72px,13vw,174px); }
.winter-edition .winter-unit { min-width:0; padding:clamp(12px,2vw,22px) 2px; }
.winter-edition .winter-unit>span { font-size:clamp(24px,4.4vw,62px); }
.winter-edition .winter-unit small { font-size:clamp(9px,1vw,12px); letter-spacing:.035em; }
.winter-edition .portfolio-section,.winter-edition .contact-section { padding-block:var(--section-space); }
.winter-edition .portfolio-heading-block { max-width:none; }
.winter-edition .portfolio-heading-row { display:grid; grid-template-columns:24px minmax(0,1fr) 24px; gap:8px; align-items:center; min-height:0; }
.winter-edition .portfolio-heading-mark { position:static; transform:none; justify-self:start; }
.winter-edition .portfolio-heading { grid-column:2; font-size:clamp(30px,4.8vw,64px); line-height:1.12; }
.winter-edition .portfolio-stage.portfolio-enhanced { height:clamp(330px,39vw,510px); }
.winter-edition .portfolio-dialog { max-height:86vh; max-height:86dvh; padding:clamp(10px,2vw,18px); }
.winter-edition .portfolio-dialog-close { width:44px; height:44px; margin-bottom:-44px; }
.winter-edition .contact-panel { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); align-items:center; gap:clamp(24px,4vw,60px); min-height:0; padding:clamp(22px,4vw,52px); padding-bottom:calc(var(--signature-height) + 24px); }
.winter-edition .contact-copy h2 { font-size:clamp(30px,4vw,56px); line-height:1.13; overflow-wrap:normal; text-wrap:balance; }
.winter-edition .contact-copy>p { font-size:clamp(14px,1.2vw,16px); line-height:1.7; }
.winter-edition .contact-actions { width:100%; min-width:0; }
.winter-edition .contact-channel { min-height:72px; grid-template-columns:48px minmax(0,1fr) 20px; gap:12px; padding:10px 12px; }
.winter-edition .contact-channel-icon { width:48px; height:48px; }
.winter-edition .contact-channel-name { font-size:11px; }
.winter-edition .contact-channel-handle { font-size:15px; }
.winter-edition .site-footer { padding-block:16px calc(16px + env(safe-area-inset-bottom,0px)); }
.winter-edition .footer-inner { display:flex; align-items:center; flex-wrap:wrap; gap:8px 24px; }
.winter-edition .footer-inner p { font-size:11px; }
.winter-edition .footer-links { gap:8px 18px; }
.winter-edition .footer-links a,.winter-edition .back-top { display:inline-flex; align-items:center; min-height:44px; font-size:12px; }
.winter-edition :is(a,button):focus-visible { outline:2px solid #d5e6f7; outline-offset:3px; }
@media (max-width:900px) {
  .winter-edition .hero-grid { grid-template-columns:minmax(0,1fr); gap:28px; padding-block:48px 40px; }
  .winter-edition .hero-copy-column { max-width:680px; }
  .winter-edition .hero-title.hero-role-title { font-size:clamp(32px,7vw,56px); }
  .winter-edition .hero-visual { max-width:320px; padding-top:clamp(106px,21vw,148px); }
  .winter-edition .profile-tile { width:min(64vw,250px); }
  .winter-edition .hero-flipper-poster,.winter-edition .hero-flipper-video { inset:auto 0 0; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; object-position:center bottom; transform:none; }
  .winter-edition .hero-flipper-stage::after { background:linear-gradient(180deg,#080c11 0%,#080c11b8 36%,#080c1129 78%,#080c1170 100%) !important; }
  .winter-edition .contact-panel { grid-template-columns:minmax(0,1fr); gap:24px; }
  .winter-edition .contact-copy h2 { font-size:clamp(30px,6.2vw,48px); }
}
@media (max-width:640px) {
  .winter-edition .header-inner { gap:8px; min-height:68px; }
  .winter-edition .brand { gap:7px; }
  .winter-edition .brand-name { font-size:12px; letter-spacing:.14em; }
  .winter-edition .brand-mark { flex:none; }
  .winter-edition .mobile-nav:not([hidden]) { padding-inline:var(--layout-gutter); }
  .winter-edition .mobile-nav a { min-height:48px; display:flex; align-items:center; }
  .winter-edition .hero-grid { padding-top:36px; }
  .winter-edition .hero-title.hero-role-title { font-size:clamp(29px,8.5vw,47px); }
  .winter-edition .hero-actions { gap:10px 18px; }
  .winter-edition .hero-visual { padding-top:clamp(90px,31vw,138px); }
  .winter-edition .profile-tile { width:min(62vw,232px); }
  .winter-edition .winter-unit small { font-size:clamp(8px,2.3vw,11px); letter-spacing:0; }
  .winter-edition .winter-year { font-size:clamp(68px,21vw,132px); }
  .winter-edition .portfolio-stage.portfolio-enhanced { height:clamp(290px,83vw,390px); }
  .winter-edition .portfolio-card { width:clamp(174px,60vw,270px); }
  .winter-edition .contact-panel { padding-inline:clamp(14px,4vw,28px); }
  .winter-edition .contact-channel { grid-template-columns:42px minmax(0,1fr) 18px; gap:9px; padding-inline:10px; }
  .winter-edition .contact-channel-icon { width:42px; height:42px; }
  .winter-edition .footer-inner { justify-content:space-between; }
  .winter-edition .footer-inner p { order:3; flex-basis:100%; }
}
@media (prefers-reduced-motion:reduce) {
  .winter-edition .winter-digit-in,.winter-edition .winter-digit-out { animation:none !important; }
  .winter-edition .winter-digit-out { display:none; }
}

/* Premium UI polish — scoped presentation tokens, preserving runtime contracts. */
body.winter-edition {
  --ui-ink:#080c11;
  --ui-mid:#101821;
  --ui-silver:#edf2f7;
  --ui-muted:#b8c5d2;
  --ui-edge:rgba(187,207,226,.28);
  --ui-edge-active:rgba(221,235,249,.65);
  --ui-radius:4px;
  --ui-space-1:8px;
  --ui-space-2:16px;
  --ui-space-3:24px;
  --ui-control:44px;
  --ui-fast:200ms;
  --ui-reveal:560ms;
  --ui-ease:cubic-bezier(.22,.75,.22,1);
  --ui-shadow:0 20px 52px rgba(0,0,0,.32);
  font-kerning:normal;
}
.winter-edition .site-header { border-color:var(--ui-edge); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); }
.winter-edition .nav-link { letter-spacing:.015em; transition:color var(--ui-fast) ease; }
.winter-edition .nav-link::after { transition:right var(--ui-fast) var(--ui-ease); }
.winter-edition .hero-title.hero-role-title { font-kerning:normal; letter-spacing:-.025em; line-height:1.16; gap:.10em; margin-bottom:var(--ui-space-3); }
.winter-edition .hero-title.hero-role-title span:nth-child(2) { font-weight:700; color:#b0becb; }
.winter-edition .hero-description,.winter-edition .contact-copy>p { color:var(--ui-muted); text-wrap:pretty; }
.winter-edition .hero-actions { margin-top:var(--ui-space-3); }
.winter-edition .button-contact { border-radius:var(--ui-radius); }
.winter-edition .button-contact>span { font-size:16px; letter-spacing:0; }
.winter-edition .button-contact svg { width:20px; height:20px; flex:none; }
.winter-edition .winter-secondary { border-bottom-color:var(--ui-edge); }
.winter-edition .profile-tile { border-color:var(--ui-edge-active); border-radius:var(--ui-radius); box-shadow:var(--ui-shadow); }
.winter-edition .reputation-score { font-variant-numeric:tabular-nums; letter-spacing:-.03em; }
.winter-edition .reputation-status:not(:empty),.winter-edition .reputation-cooldown:not([hidden]):not(:empty) { font-size:12px; line-height:1.5; }
.winter-edition :is(.button-contact,.reputation-vote,.contact-channel,.menu-toggle,.portfolio-tool-button,.portfolio-details-button,.portfolio-dialog-close) {
  border-radius:var(--ui-radius);
  transition:background-color var(--ui-fast) ease,border-color var(--ui-fast) ease,color var(--ui-fast) ease,opacity var(--ui-fast) ease,transform var(--ui-fast) var(--ui-ease);
}
.winter-edition .winter-countdown { background:linear-gradient(180deg,var(--ui-ink),var(--ui-mid)); }
.winter-edition .winter-clock-panel { border-radius:var(--ui-radius); border-color:var(--ui-edge); box-shadow:var(--ui-shadow); }
.winter-edition .winter-clock-panel::before { border-color:rgba(195,214,229,.07); }
.winter-edition .winter-clock-panel::after { opacity:.45; }
.winter-edition .winter-year { letter-spacing:-.065em; text-shadow:none; }
.winter-edition .winter-unit>span { letter-spacing:-.045em; }
.winter-edition .winter-unit small { color:#d0dbe7; }
.winter-edition .portfolio-section { background:linear-gradient(180deg,var(--ui-mid),#0d141c 28%,var(--ui-ink)); }
.winter-edition .portfolio-heading,.winter-edition .contact-copy h2 { letter-spacing:-.035em; font-kerning:normal; line-height:1.15; }
.winter-edition .portfolio-heading-block { margin-bottom:var(--ui-space-2); }
.winter-edition .portfolio-card { border-radius:var(--ui-radius); border-color:var(--ui-edge); box-shadow:var(--ui-shadow); }
.winter-edition .portfolio-dialog { border-radius:var(--ui-radius); border-color:var(--ui-edge); }
.winter-edition .contact-section { background:var(--ui-ink); }
.winter-edition .contact-panel { border-radius:var(--ui-radius); border-color:var(--ui-edge); box-shadow:var(--ui-shadow); }
.winter-edition .contact-channel { border-radius:var(--ui-radius); }
.winter-edition .contact-channel-handle { overflow-wrap:anywhere; }
.winter-edition .contact-channel-name { color:var(--ui-muted); letter-spacing:.04em; }
.winter-edition .site-footer { background:var(--ui-ink); border-color:var(--ui-edge); }
.winter-edition .footer-links a { transition:color var(--ui-fast) ease; }
.winter-edition.motion-ready [data-reveal],.winter-edition .motion-ready [data-reveal] { transition:opacity var(--ui-reveal) var(--ui-ease),transform var(--ui-reveal) var(--ui-ease); }
.winter-edition.portfolio-motion-ready [data-portfolio-reveal],.winter-edition .portfolio-motion-ready [data-portfolio-reveal] { transition:opacity var(--ui-reveal) var(--ui-ease),transform var(--ui-reveal) var(--ui-ease); }
@media (hover:hover) and (pointer:fine) {
  .winter-edition .button-contact:hover { background:#cbd9e6; border-color:#cbd9e6; color:var(--ui-ink); }
  .winter-edition .contact-channel:hover:not(:disabled),.winter-edition .reputation-vote:hover:not(:disabled) { transform:translateY(-1px); }
  .winter-edition .footer-links a:hover,.winter-edition .winter-secondary:hover { color:var(--ui-silver); }
}
@media (hover:none) {
  .winter-edition .contact-channel:hover,.winter-edition .reputation-vote:hover:not(:disabled) { transform:none; }
}
@media (max-width:640px) {
  .winter-edition .hero-title.hero-role-title { letter-spacing:-.025em; line-height:1.15; margin-bottom:var(--ui-space-2); }
  .winter-edition .hero-actions { margin-top:var(--ui-space-2); }
  .winter-edition .portfolio-heading-block { margin-bottom:var(--ui-space-1); }
  .winter-edition .winter-unit>span { letter-spacing:-.04em; }
}
@media (prefers-reduced-motion:reduce) {
  .winter-edition :is(.button-contact,.reputation-vote,.contact-channel,.menu-toggle,.portfolio-tool-button,.portfolio-details-button,.portfolio-dialog-close,[data-reveal],[data-portfolio-reveal],.nav-link,.nav-link::after,.footer-links a) { transition:none !important; }
}


/* Contact micro-refinement — preserve artwork, actions and original animation. */
.winter-edition .contact-channel-icon {
  border:0 !important;
  background:transparent !important;
  box-shadow:none;
  border-radius:0;
  overflow:visible;
}
.winter-edition .contact-channel-icon .contact-channel-image {
  width:100%;
  height:100%;
  max-width:48px;
  max-height:48px;
  object-fit:contain;
  border-radius:0;
  mix-blend-mode:screen;
  filter:contrast(1.08);
}
/* Black is neutral in screen blending. A small contrast correction removes
   raised video blacks; identical media sizing avoids a poster-to-video jump. */
.winter-edition .contact-panel { isolation:isolate; }
.winter-edition .contact-background-video,
.winter-edition .contact-video-poster {
  opacity:.86;
  mix-blend-mode:screen;
  filter:contrast(1.16) brightness(.98);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 87%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 87%,transparent 100%);
}
.winter-edition .contact-background-video { object-fit:contain; object-position:center; }
.winter-edition .contact-video-poster { background-size:contain; background-position:center; }
/* Real vector snowflakes: no platform-specific emoji rendering. */
.winter-edition .winter-mark { display:inline-flex; align-items:center; justify-content:center; color:#dce6ef; }
.winter-edition .winter-mark svg { display:block; width:1em; height:1em; flex:none; }
@media (max-width:640px) {
  .winter-edition .contact-channel-icon .contact-channel-image { max-width:42px; max-height:42px; }
  .winter-edition .portfolio-heading-mark { font-size:18px; }
  .winter-edition .winter-clock-top .winter-mark { font-size:17px; }
}

/* Obsidian continuity: dark surfaces without dimming the original artwork. */
body.winter-edition {
  --bg:#030405; --bg-soft:#07090c; --surface:#080b0f;
  --surface-raised:#10151b; --hero-bg-rgb:3,4,5;
  --ui-ink:#030405; --ui-mid:#080c11;
  --ui-edge:rgba(187,207,226,.18);
  background:#030405;
}
.winter-edition .site-header { background:rgba(3,4,5,.96); }
.winter-edition .mobile-nav { background:#07090c; }
.winter-edition .hero-section { background:#030405 !important; }
.winter-edition .hero-flipper-stage::after {
  background:linear-gradient(90deg,#030405dc 0%,#03040580 32%,#03040518 72%,transparent),linear-gradient(0deg,#030405 0%,transparent 24%,transparent 78%,#03040550 100%) !important;
}
.winter-edition .winter-countdown { background:linear-gradient(180deg,#030405,#080c11); }
.winter-edition .winter-clock-panel { background:linear-gradient(180deg,rgba(2,5,12,.62),rgba(2,5,12,.75)),url('./winter-timer-bg.webp') center/cover no-repeat !important; }
.winter-edition .portfolio-section { background:linear-gradient(180deg,#080c11,#070a0e 35%,#030405); }
.winter-edition .portfolio-atmosphere { opacity:.55; }
.winter-edition .portfolio-card { background:#10151b; }
.winter-edition .contact-section,.winter-edition .site-footer { background:#030405; }
.winter-edition .contact-panel { background:#000; border-color:rgba(187,207,226,.16); }
/* Video is natively black; match the panel itself rather than relying on
   Safari compositing or mix-blend-mode on accelerated video layers. */
.winter-edition .contact-background-video,.winter-edition .contact-video-poster {
  background-color:#000; opacity:1; mix-blend-mode:normal;
  filter:contrast(1.05); -webkit-mask-image:none; mask-image:none;
  object-fit:contain; object-position:center; background-size:contain;
  background-position:center; background-repeat:no-repeat;
}
.winter-edition .contact-video-overlay { background:none; }
.winter-edition .contact-channel { background:#030405 !important; }
.winter-edition .contact-channel-icon .contact-channel-image { mix-blend-mode:normal; filter:none; background:none; box-shadow:none; }
/* Centered footer navigation. */
.winter-edition .site-footer { padding-block:24px calc(24px + env(safe-area-inset-bottom,0px)); }
.winter-edition .footer-inner { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; align-items:center; text-align:center; gap:4px; }
.winter-edition .footer-links { grid-column:1; grid-row:1; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; width:100%; gap:0 clamp(12px,3vw,30px); }
.winter-edition .footer-links a { flex:0 0 auto; justify-content:center; white-space:nowrap; font-size:clamp(12px,1.3vw,14px); }
.winter-edition .back-top { grid-row:2; justify-content:center; gap:8px; }
.winter-edition .footer-inner p { grid-column:1; grid-row:3; margin:0; font-size:11px; }
@media(max-width:900px) {
  .winter-edition .hero-flipper-stage::after { background:linear-gradient(180deg,#030405 0%,#030405b8 36%,#03040529 78%,#03040570 100%) !important; }
}

/* V2 — centered mobile voting controls with independent status row. */
@media (max-width: 900px) {
  .winter-edition .reputation-widget {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 282px);
    justify-items: center;
    gap: 12px;
    margin-inline: auto;
  }
  .winter-edition .reputation-score-row { justify-self: center; margin: 0; }
  .winter-edition .reputation-vote-actions {
    justify-self: center;
    display: grid;
    grid-template-columns: repeat(2, 52px);
    gap: 14px;
    justify-content: center;
  }
  .winter-edition .reputation-vote {
    width: 52px; height: 52px; min-width: 52px; min-height: 52px;
    padding: 0; font-size: 28px;
  }
  .winter-edition .reputation-status,
  .winter-edition .reputation-cooldown { margin: 0 !important; text-align: center; }
  .winter-edition .reputation-status:empty,
  .winter-edition .reputation-cooldown[hidden] { display: none !important; }
}

/* V3 / Full Dark — neutral surfaces, original media, borderless clock. */
:root { --bg:#050505; --bg-soft:#0a0a0a; --surface:#101010; --surface-raised:#171717; --text:#f2f2f2; --muted:#b3b3b3; --muted-2:#959595; --line:#ffffff1a; --line-strong:#ffffff35; --accent:#d0d0d0; --inverse:#080808; }
body.winter-edition { --bg:#050505; --bg-soft:#0a0a0a; --surface:#101010; --surface-raised:#171717; --hero-bg-rgb:5,5,5; --ui-ink:#050505; --ui-mid:#0a0a0a; --ui-silver:#f2f2f2; --ui-muted:#b8b8b8; --ui-edge:#ffffff20; --ui-edge-active:#ffffff48; background:var(--bg); }
.winter-edition .site-header,.winter-edition .site-header.is-scrolled { background:#080808f5; backdrop-filter:none; -webkit-backdrop-filter:none; }
.winter-edition .mobile-nav { background:#0a0a0a; }
.winter-edition .hero-section { background:#050505 !important; }
.winter-edition .hero-flipper-stage::after { background:linear-gradient(90deg,#050505dc 0%,#05050580 32%,#05050518 72%,transparent),linear-gradient(0deg,#050505 0%,transparent 24%,transparent 78%,#05050550 100%) !important; }
.winter-edition .hero-title.hero-role-title span:nth-child(2) { color:#b5b5b5; }
.winter-edition .button-primary,.winter-edition .button-contact { background:#e9e9e9; border-color:#e9e9e9; color:#111; }
.winter-edition .winter-secondary,.winter-edition .winter-mark { color:#dedede; border-color:var(--ui-edge); }
.winter-edition .reputation-vote { background:#101010; border-color:#ffffff30; }
.winter-edition .reputation-status:not([data-kind="error"]):not([data-kind="success"]),.winter-edition .reputation-cooldown { color:#b5b5b5; }
.winter-edition .winter-countdown,.winter-edition .portfolio-section,.winter-edition .contact-section,.winter-edition .site-footer { background:#050505; }
/* Keep the supplied clock artwork, desaturate its separate decorative layer only. */
.winter-edition .winter-clock-panel { background:#050505 !important; border:0; border-radius:0; box-shadow:none; isolation:isolate; }
.winter-edition .winter-clock-panel::before { content:""; display:block; inset:0; border:0; z-index:-1; background:linear-gradient(180deg,#050505 0%,#050505a8 28%,#050505b8 72%,#050505 100%),url('./winter-timer-bg.webp') center/cover no-repeat; filter:grayscale(1); opacity:.65; }
.winter-edition .winter-clock-panel::after,.winter-edition .winter-orbit { display:none; }
.winter-edition .winter-clock-top { justify-content:center; }
.winter-edition .winter-year { color:#e4e4e4; background:none; -webkit-text-fill-color:currentColor; text-shadow:none; }
.winter-edition .winter-clock-digits { grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(4px,2vw,24px); border:0; background:none; box-shadow:none; }
.winter-edition .winter-unit,.winter-edition .winter-unit+.winter-unit { border:0; background:none; box-shadow:none; padding:clamp(8px,2vw,20px) 0; min-width:0; }
.winter-edition .winter-unit>span { color:#f2f2f2; font-variant-numeric:tabular-nums; letter-spacing:-.035em; }
.winter-edition .winter-unit small { color:#bdbdbd; letter-spacing:.02em; }
.winter-edition .portfolio-atmosphere,.winter-edition .portfolio-stage-halo { background:radial-gradient(ellipse at center,#ffffff08,transparent 65%); }
.winter-edition .portfolio-section::before,.winter-edition .portfolio-section::after { background:none; }
.winter-edition .portfolio-card { --work-radius:clamp(14px,1.7vw,22px); --work-padding:4px; padding:var(--work-padding); border-radius:var(--work-radius); background:#111; border:1px solid #ffffff25; box-shadow:0 16px 38px #0009; }
.winter-edition .portfolio-card.is-active { border-color:#ffffff42; box-shadow:0 18px 42px #000a; }
.winter-edition .portfolio-artwork { border-radius:calc(var(--work-radius) - var(--work-padding) - 1px); overflow:hidden; background:#0a0a0a; }
.winter-edition .portfolio-artwork img { border-radius:inherit; }
.winter-edition .portfolio-artwork::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(115deg,transparent 30%,#ffffff04 43%,#ffffff23 50%,#ffffff05 57%,transparent 70%); transform:translateX(-110%); opacity:0; }
.winter-edition .portfolio-card.is-light-sweep .portfolio-artwork::after { animation:floxov-v3-sweep 1.65s cubic-bezier(.25,.55,.35,1) both; }
@keyframes floxov-v3-sweep { 0% { transform:translateX(-110%); opacity:0; } 15%,80% { opacity:1; } 100% { transform:translateX(110%); opacity:0; } }
.winter-edition .portfolio-dialog { background:#101010; border-radius:18px; border-color:#ffffff30; }
.winter-edition .portfolio-dialog-image-wrap { border-radius:12px; background:#080808; }
.winter-edition .contact-panel { background:#000; border-color:#ffffff20; box-shadow:none; }
.winter-edition .contact-channel { background:#080808 !important; border-color:#ffffff25 !important; color:#f2f2f2; }
.winter-edition .contact-channel:hover,.winter-edition .contact-channel:focus-visible { background:#111 !important; border-color:#ffffff55 !important; }
.winter-edition .site-footer { border-color:#ffffff1a; }
@media (hover:hover) and (pointer:fine) { .winter-edition .button-contact:hover { background:#ccc; border-color:#ccc; color:#080808; } }
@media (max-width:900px) { .winter-edition .hero-flipper-stage::after { background:linear-gradient(180deg,#050505 0%,#050505b8 36%,#05050529 78%,#05050570 100%) !important; } }
@media (max-width:640px) { .winter-edition .winter-clock-panel { padding-inline:10px; } .winter-edition .winter-unit>span { font-size:clamp(24px,7vw,42px); } .winter-edition .winter-unit small { font-size:clamp(9px,2.4vw,11px); letter-spacing:0; } }
@media (prefers-reduced-motion:reduce) { .winter-edition .portfolio-card.is-light-sweep .portfolio-artwork::after { animation:none; opacity:0; } }


/* V4 / TOTAL BLACK — one black canvas, no media rectangles or avatar interaction.
   Source images and video bytes are intentionally preserved. Both still and
   moving media use the same black-point correction. CSS contrast(1.10) maps
   input RGB 0–11 to black while retaining the bright device and signature. */
:root { --bg:#000; --bg-soft:#000; --surface:#0b0b0b; --surface-raised:#141414; --text:#f2f2f2; --muted:#b3b3b3; --muted-2:#929292; --line:#ffffff1a; --line-strong:#ffffff35; --surface-glass:#0b0b0b; --inverse:#080808; --accent:#d0d0d0; --hero-bg-rgb:0,0,0; background:#000; }
body.winter-edition { --bg:#000; --bg-soft:#000; --surface:#0b0b0b; --surface-raised:#141414; --hero-bg-rgb:0,0,0; --ui-ink:#000; --ui-mid:#000; --ui-muted:#b8b8b8; --ui-silver:#f2f2f2; --ui-edge:#ffffff1a; --ui-edge-active:#ffffff38; background:#000; }
body.winter-edition::before { content:none; }
.winter-edition .site-header,.winter-edition .site-header.is-scrolled,.winter-edition .mobile-nav { background:#000; }
.winter-edition .language-switch,.winter-edition .menu-toggle { background:#0b0b0b; border-color:#ffffff20; }
.winter-edition .hero-section,.winter-edition .hero-flipper-stage { background:#000 !important; }
.winter-edition .hero-noise { display:none; }
.winter-edition .hero-flipper-stage { opacity:1 !important; filter:none; }
.winter-edition .hero-flipper-poster,.winter-edition .hero-flipper-video {
  background:#000; filter:contrast(1.10) brightness(1.02);
  -webkit-mask-image:radial-gradient(ellipse farthest-corner at center,#000 76%,transparent 100%);
  mask-image:radial-gradient(ellipse farthest-corner at center,#000 76%,transparent 100%);
}
.winter-edition .hero-flipper-stage::before { background:none !important; }
.winter-edition .hero-flipper-stage::after {
  background:linear-gradient(90deg,#000000e6 0%,#000000a6 30%,#00000029 68%,transparent 100%),linear-gradient(0deg,#000 0%,transparent 15%,transparent 89%,#000 100%) !important;
}
.winter-edition .hero-title.hero-role-title span:first-child { color:#f2f2f2; }
.winter-edition .hero-title.hero-role-title span:nth-child(2) { color:#b5b5b5; }
.winter-edition .hero-description,.winter-edition .contact-copy>p,.winter-edition .contact-channel-name { color:#b8b8b8; }
.winter-edition .profile-tile { background:#000; transform:none; translate:none; border-color:var(--ui-edge-active); box-shadow:none; transition:none; touch-action:auto; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; }
.winter-edition .profile-photo,.winter-edition .profile-video { transform:none; pointer-events:none; -webkit-user-drag:none; }
.winter-edition .profile-tile.is-media-missing { background:#000; }
.winter-edition .reputation-vote { background:#101010; border-color:#ffffff30; }
/* Disabled buttons stay visually distinct and opaque above the video. */
.winter-edition .reputation-vote:disabled { opacity:1; color:#858585; background:#101010; border-color:#333; }
.winter-edition .reputation-score,.winter-edition .reputation-status:not(:empty),.winter-edition .reputation-cooldown:not([hidden]):not(:empty) { text-shadow:0 1px 5px #000,0 0 10px #000; }
.winter-edition .winter-countdown,.winter-edition .winter-clock-panel,.winter-edition .portfolio-section,.winter-edition .contact-section,.winter-edition .contact-panel,.winter-edition .site-footer { background:#000; }
.winter-edition .winter-clock-panel { background:#000 !important; }
/* Preserve the timer artwork as a monochrome atmosphere, fading all four edges. */
.winter-edition .winter-clock-panel::before {
  background:linear-gradient(180deg,#000 0%,#0009 35%,#000b 70%,#000 100%),url('./winter-timer-bg.webp') center/cover no-repeat;
  filter:grayscale(1); opacity:.52;
  -webkit-mask-image:radial-gradient(ellipse closest-side,#000 52%,transparent 100%);
  mask-image:radial-gradient(ellipse closest-side,#000 52%,transparent 100%);
}
.winter-edition .portfolio-atmosphere,.winter-edition .portfolio-stage-halo { background:none; }
.winter-edition .portfolio-card { background:#0b0b0b; }
.winter-edition .portfolio-artwork { background:#000; }
.winter-edition .portfolio-dialog { background:#0b0b0b; }
.winter-edition .portfolio-dialog-image-wrap { background:#000; }
.winter-edition .contact-panel { border-color:#ffffff14; }
.winter-edition .contact-channel { background:#000 !important; border-color:#ffffff25 !important; }
.winter-edition .contact-channel:hover,.winter-edition .contact-channel:focus-visible { background:#0b0b0b !important; border-color:#ffffff55 !important; }
.winter-edition .contact-channel-icon,.winter-edition .contact-channel-image { background:transparent !important; border:0 !important; }
/* Match the signature's measured near-black edge values without blend modes,
   which can be inconsistent for hardware-accelerated video on mobile Safari. */
.winter-edition .contact-background-video,.winter-edition .contact-video-poster { background-color:#000; filter:contrast(1.10); mix-blend-mode:normal; opacity:1; -webkit-mask-image:none; mask-image:none; }
.winter-edition .contact-video-overlay { background:none; }
.winter-edition .site-footer { border-color:#ffffff14; }
.winter-edition :is(a,button):focus-visible { outline-color:#e3e3e3; }
@media (max-width:900px) {
  .winter-edition .hero-flipper-stage::after {
    background:linear-gradient(180deg,#000 0%,#000000b8 36%,#00000029 68%,transparent 84%,#000 100%) !important;
  }
  .winter-edition .hero-flipper-poster,.winter-edition .hero-flipper-video {
    -webkit-mask-image:radial-gradient(ellipse farthest-corner at center,#000 78%,transparent 100%);
    mask-image:radial-gradient(ellipse farthest-corner at center,#000 78%,transparent 100%);
  }
}

/* V5 — reference chrome countdown, no decorative backdrop or additional snow. */
.winter-edition .winter-clock-panel { background:#000 !important; border:0; box-shadow:none; padding:clamp(28px,5vw,68px) clamp(8px,2vw,28px); }
.winter-edition .winter-clock-panel::before,.winter-edition .winter-clock-panel::after,.winter-edition .winter-orbit { content:none; display:none; }
.winter-edition .winter-clock-top { gap:clamp(12px,3vw,32px); margin:0 auto 12px; color:#e4e4e4; }
.winter-edition .winter-clock-top::before,.winter-edition .winter-clock-top::after { content:""; width:clamp(32px,12vw,150px); height:1px; background:linear-gradient(90deg,transparent,#aaa,transparent); }
.winter-edition .winter-clock-center { padding:0 0 clamp(12px,3vw,32px); }
.winter-edition .winter-year { margin:0; padding:0; background:none; line-height:1; }
.winter-edition .winter-year img { display:block; width:min(100%,670px); height:auto; margin:0 auto; }
.winter-edition .winter-clock-digits { max-width:860px; width:100%; gap:clamp(4px,2vw,24px); grid-template-columns:repeat(4,minmax(0,1fr)); border:0; }
.winter-edition .winter-clock-digits[hidden],.winter-edition .winter-greeting[hidden] { display:none !important; }
.winter-edition .winter-unit,.winter-edition .winter-unit+.winter-unit { padding:0; border:0; background:none; min-width:0; }
.winter-edition .winter-unit>span { font-family:Didot,"Bodoni 72",Georgia,"Times New Roman",serif; font-weight:400; font-size:clamp(29px,7vw,100px); font-variant-numeric:lining-nums tabular-nums; line-height:1.16; letter-spacing:-.045em; overflow:hidden; padding:0 .06em; color:#e5e5e5; }
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
  .winter-edition .winter-unit>span:not(:has(>span)),.winter-edition .winter-unit>span>span { color:transparent; -webkit-text-fill-color:transparent; background:linear-gradient(180deg,#fff 5%,#f1f1f1 15%,#9b9b9b 32%,#252525 48%,#787878 56%,#e8e8e8 70%,#fff 81%,#686868 92%,#eaeaea 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:.008em #a9a9a9; }
}
.winter-edition .winter-unit small { color:#dedede; margin-top:clamp(4px,1vw,12px); font-family:system-ui,sans-serif; font-size:clamp(9px,1.35vw,16px); font-weight:400; letter-spacing:.10em; line-height:1.4; white-space:nowrap; }
@media(max-width:480px) { .winter-edition .winter-clock-panel { width:calc(100% - 24px); padding-inline:0; } .winter-edition .winter-clock-digits { gap:4px; } .winter-edition .winter-unit small { font-size:clamp(9px,2.7vw,12px); letter-spacing:.025em; } }

/* V7: independent, non-intercepting ember layer behind the unchanged avatar. */
.winter-edition .hero-visual > .avatar-embers {
  position:absolute; z-index:1; display:block; pointer-events:none;
  background:transparent; border:0; margin:0; padding:0;
}
.winter-edition .hero-visual > .avatar-embers[hidden] { display:none !important; }
.winter-edition .profile-tile.has-ember-interaction { cursor:var(--floxov-cursor-hand,pointer); touch-action:manipulation; }
.winter-edition .profile-tile.has-ember-interaction:focus-visible { outline:2px solid #e3e3e3; outline-offset:5px; }
@media(prefers-reduced-motion:reduce) { .winter-edition .hero-visual > .avatar-embers { display:none !important; } }

/* V8: click-only avatar animation, clipped to the original frame. */
.winter-edition .profile-tile > .avatar-trigger-video {position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; border-radius:inherit; z-index:2; pointer-events:none; opacity:0; transition:opacity .28s ease; background:transparent;}
.winter-edition .profile-tile > .avatar-trigger-video.is-playing {opacity:1;}
@media(prefers-reduced-motion:reduce){.winter-edition .profile-tile > .avatar-trigger-video{display:none!important;}}


/* V9: non-blocking entrance, silver micro-lighting and clipboard feedback. */
.winter-edition.motion-ready :is(.hero-copy-column,.hero-visual)[data-reveal] {
  opacity:1; transform:none; transition:none;
}
@keyframes floxov-v9-reveal { from { opacity:.76; transform:translateY(4px); } to { opacity:1; transform:none; } }
@keyframes floxov-v9-fade { from { opacity:.78; } to { opacity:1; } }
@keyframes floxov-v9-check { from { stroke-dashoffset:24; } to { stroke-dashoffset:0; } }
@keyframes floxov-v9-sweep { from { background-position:150% 0; } to { background-position:-150% 0; } }
@media (prefers-reduced-motion:no-preference) {
  .winter-edition .header-inner { animation:floxov-v9-fade 420ms ease-out backwards; }
  .winter-edition .hero-copy-column > :is(h1,p,.hero-actions) { animation:floxov-v9-reveal 520ms cubic-bezier(.22,.75,.22,1) backwards; }
  .winter-edition .hero-copy-column > p { animation-delay:55ms; }
  .winter-edition .hero-copy-column > .hero-actions { animation-delay:100ms; }
  .winter-edition .hero-visual { animation:floxov-v9-fade 600ms ease-out backwards; }
  .winter-edition .copy-toast.is-visible[data-status="success"] .copy-toast-icon path { stroke-dasharray:24; animation:floxov-v9-check 300ms ease-out both; }
  /* Background layer follows the native border radius; no overlay or pointer interception. */
  .winter-edition :is(.button-contact,.reputation-vote,.contact-channel,.menu-toggle,.language-option,.portfolio-tool-button,.portfolio-details-button,.portfolio-dialog-close):not(:disabled):not([aria-disabled="true"]).v9-light {
    background-image:linear-gradient(112deg,transparent 42%,rgba(210,210,210,.085) 49%,rgba(210,210,210,.12) 50%,transparent 58%) !important;
    background-size:250% 100% !important;
    background-repeat:no-repeat !important;
    animation:floxov-v9-sweep 620ms ease-out both;
  }
}

/* V13: language-independent text rails and native-resolution signature. */
.winter-edition .hero-role-title > [data-i18n] { width:100%; }
.winter-edition .contact-copy > [data-i18n] { width:100%; }
.winter-edition .hero-actions .winter-secondary { min-inline-size:145px; }
.winter-edition .footer-links a { min-inline-size:78px; }
.winter-edition .reputation-cooldown:not([hidden]):not(:empty) { min-block-size:3em; }
.winter-edition .reputation-status:not(:empty) { min-block-size:4.5em; }
@media (min-width:901px) {
  .winter-edition .primary-nav { gap:clamp(18px,2.4vw,36px); }
  .winter-edition .primary-nav .nav-link { inline-size:100px; justify-content:center; text-align:center; }
  .winter-edition .contact-panel { --signature-height:clamp(150px,14vw,184px); }
  .winter-edition .contact-background-video,.winter-edition .contact-video-poster {
    object-fit:contain; object-position:center; background-size:contain;
    image-rendering:auto; filter:none;
  }
  .winter-edition .hero-grid,.winter-edition .contact-panel { align-items:center; }
}
@media (max-width:380px) {
  .winter-edition .footer-links a { min-inline-size:72px; }
  .winter-edition .hero-actions .winter-secondary { min-inline-size:0; }
}

/* V15: native text selection and a compact, stable contact action. */
.winter-edition ::selection { background:#b9bec5; color:#111316; text-shadow:none; }
.winter-edition .contact-background-video:not(.v15-media-ready) { visibility:hidden; }
.winter-edition .site-link-copy {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  align-self:center; min-height:44px; inline-size:min(100%, 240px); box-sizing:border-box;
  padding:6px 12px; color:#c8c8c8; background:transparent; border:1px solid transparent;
  border-radius:4px; font:500 12px/1.35 "DM Mono",monospace; cursor:pointer;
  touch-action:manipulation; text-align:center; transition:color .18s ease,border-color .18s ease;
}
.winter-edition .site-link-copy:hover { color:#fff; border-color:#ffffff20; }
.winter-edition .site-link-copy svg { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.winter-edition .site-link-copy-label { min-inline-size:0; overflow-wrap:anywhere; }
.winter-edition .site-link-copy[data-state="success"] { color:#eee; }
.winter-edition .site-link-copy-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media (prefers-reduced-motion:reduce) { .winter-edition .site-link-copy { transition:none; } }

/* V16: connection recovery, shown only after a failed connection. */
.reputation-retry { grid-column:1/-1; justify-self:center; font:inherit; font-size:12px; color:#d5d5d5; border:1px solid #444; border-radius:8px; background:#101010; padding:10px 16px; min-height:44px; cursor:pointer; }
.reputation-retry[hidden] { display:none !important; }
.reputation-retry:focus-visible { outline:2px solid #ccc; outline-offset:3px; }

/* V16 reputation feedback: transient, non-blocking Total Black notification. */
.winter-edition .reputation-toast {
  width: min(390px, calc(100% - 32px));
  box-sizing: border-box;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  padding: 13px 18px;
  background: #101010;
  color: #e4e4e4;
  border: 1px solid #454545;
  border-radius: 10px;
  box-shadow: 0 8px 28px #0009;
  font-variant-numeric: tabular-nums;
}
.winter-edition .reputation-cooldown[hidden] { display: none !important; }


/* V16 — restore original DNS attribution; preserve centered footer layout. */
.winter-edition .footer-dns { grid-column:1; grid-row:2; color:var(--muted-2); font-size:11px; line-height:1.5; padding:8px 0; overflow-wrap:anywhere; }
.winter-edition .footer-dns:hover { color:#d5d5d5; }
.winter-edition .back-top { grid-row:3; }
.winter-edition .footer-inner p { grid-row:4; }

/* V16 — identical silver finish for both confirmed voting choices. */
.winter-edition .reputation-vote[data-selected="true"] {
  position:relative;
  color:#eef0f2;
  border-color:#aeb3ba;
  background:linear-gradient(145deg,#292b2e,#101113 58%,#242629);
  box-shadow:inset 0 1px 0 #ffffff26,0 0 9px #c5cbd51c;
}
.winter-edition .reputation-vote[data-selected="true"]:disabled { color:#b9bdc2; border-color:#777c82; }
.winter-edition .reputation-vote[data-selected="true"]::after {
  content:""; position:absolute; inset:0; border-radius:inherit;
  pointer-events:none; opacity:0;
  background:linear-gradient(115deg,transparent 35%,#e0e5ed25 46%,#ffffff77 50%,#e0e5ed25 54%,transparent 65%);
  background-size:300% 100%; background-repeat:no-repeat;
}
@keyframes floxov-vote-silver-confirm { 
  0% { opacity:0; background-position:100% 0; }
  18% { opacity:1; }
  72% { opacity:.85; }
  100% { opacity:0; background-position:0% 0; }
}
@media (prefers-reduced-motion:no-preference) {
  .winter-edition .reputation-vote[data-selected="true"].vote-silver-confirmed::after { animation:floxov-vote-silver-confirm 780ms cubic-bezier(.22,.65,.3,1) both; }
}
