:root {
  color-scheme: light;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: #172943;
  background: #f4f6f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #172943;
  --muted: #586a7a;
  --line: #dce3e9;
  --accent: #1659d6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f4f6f7;
}

a { color: inherit; }

.page-shell {
  width: min(100% - 32px, 900px);
  margin: 0 auto;
  padding: 16px 0 40px;
}

.hero { width: min(100%, 520px); margin: 0 auto; }

.digital-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 90 / 50;
  border: 1px solid rgba(213, 232, 248, .26);
  border-radius: 18px;
  color: #f7f9ff;
  background: #0c1830;
  box-shadow: 0 17px 42px rgba(17, 37, 64, .17);
}

.digital-card::before,
.digital-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.digital-card::before {
  z-index: 0;
  inset: -55% -55% -60% 27%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #193d91, #3ca8c3, #e8c8da, #9d8bd3, #296eb4, #193d91);
  filter: blur(48px);
  opacity: .88;
  animation: light-orbit 20s ease-in-out infinite alternate;
}

.digital-card::after {
  z-index: 1;
  inset: 0;
  background: linear-gradient(93deg, rgba(6, 18, 39, .96) 0%, rgba(7, 20, 43, .89) 39%, rgba(8, 22, 45, .3) 73%, rgba(8, 22, 45, .1));
}

.card-light {
  position: absolute;
  z-index: 2;
  top: -50%;
  right: -31%;
  width: 86%;
  height: 205%;
  border-radius: 50%;
  background: conic-gradient(from 205deg, #60e4e8, #b8dbfd, #ffc8cc, #a994ee, #155395, #60e4e8);
  -webkit-mask: radial-gradient(ellipse closest-side, transparent 47%, #000 53%, #000 64%, transparent 73%);
  mask: radial-gradient(ellipse closest-side, transparent 47%, #000 53%, #000 64%, transparent 73%);
  filter: blur(4px);
  opacity: .86;
  transform: rotate(27deg);
  animation: lens-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.card-content {
  display: flex;
  position: relative;
  z-index: 3;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: clamp(19px, 5.7vw, 32px) clamp(21px, 6vw, 34px);
}

.card-identity h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.075em;
}

.card-contacts {
  display: grid;
  gap: 5px;
  font-style: normal;
}

.card-contacts a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  color: rgba(248, 251, 255, .96);
  font-size: clamp(12px, 3.5vw, 16px);
  line-height: 1.3;
  text-decoration: none;
}

.card-contacts a:focus-visible { outline: 2px solid #c7eafc; outline-offset: 3px; }
.contact-label { color: rgba(224, 235, 249, .68); font-size: .78em; font-weight: 600; }
.card-contacts strong { font-weight: 510; white-space: nowrap; }

.role-section { padding-top: clamp(20px, 5.5vw, 30px); }

.section-heading { margin-bottom: 12px; }

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 5.7vw, 28px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1.2;
}

.section-description {
  margin: 7px 0 0;
  color: #526273;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -.03em;
  word-break: keep-all;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.role-tile {
  display: flex;
  position: relative;
  min-width: 0;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 8px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  color: #182638;
  background: #fff;
  box-shadow: 0 2px 9px rgba(19, 37, 60, .045);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.role-tile:hover { border-color: #83a8ea; transform: translateY(-1px); }
.role-tile:focus-visible { outline: 3px solid rgba(22, 89, 214, .24); outline-offset: 2px; }

.role-tile[aria-pressed="true"] {
  border: 2px solid #1659d6;
  padding: 8px 7px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 89, 214, .1), 0 5px 16px rgba(22, 89, 214, .1);
}

.role-tile.has-wordmark {
  gap: 6px;
  padding-inline: 5px;
}
.role-logo {
  display: block;
  flex: none;
  width: 56px;
  height: 58px;
  object-fit: contain;
}

.role-tile.has-wordmark .role-logo { width: 42px; height: 50px; }

.role-copy {
  display: flex;
  min-width: 0;
  width: auto;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.role-wordmark {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40px;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.role-wordmark.is-small {
  width: auto;
  max-width: 100%;
  height: 21px;
  max-height: 21px;
}

.role-tile.has-full-logo .role-full-logo {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: contain;
}

.role-tile[data-role-id="paran"] .role-full-logo {
  width: min(100%, 230px);
  height: 42px;
  justify-self: center;
}

.has-wordmark .role-copy { gap: 2px; }

.role-name {
  display: block;
  max-width: 100%;
  color: #182638;
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 650;
  line-height: 1.23;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.role-detail {
  display: block;
  max-width: 100%;
  margin-top: 3px;
  color: #687587;
  font-size: clamp(12px, 3.3vw, 13.5px);
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -.07em;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.role-grid[aria-busy="true"] { min-height: 490px; }

.save-panel {
  margin-top: 13px;
}

.save-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  justify-content: center;
  align-items: center;
  border: 1px solid #1659d6;
  border-radius: 12px;
  color: #fff;
  background: #1659d6;
  box-shadow: 0 7px 20px rgba(22, 89, 214, .19);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.save-button:not(.is-disabled):hover { box-shadow: 0 9px 24px rgba(22, 89, 214, .28); transform: translateY(-1px); }
.save-button:focus-visible { outline: 3px solid rgba(22, 89, 214, .3); outline-offset: 3px; }
.save-button.is-disabled { color: #315b9b; border-color: #9dbce8; background: #e9f1ff; box-shadow: none; cursor: not-allowed; }

@keyframes light-orbit {
  from { transform: translate(-6%, 4%) rotate(-12deg) scale(1); }
  to { transform: translate(7%, -5%) rotate(20deg) scale(1.08); }
}

@keyframes lens-drift {
  from { transform: translate(-3%, 2%) rotate(24deg); }
  to { transform: translate(3%, -2%) rotate(32deg); }
}

@media (max-width: 759px) {
  .page-shell { padding-bottom: 112px; }
  .save-panel {
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 11px 16px max(11px, env(safe-area-inset-bottom));
    border-top: 1px solid #dce3e9;
    background: rgba(244, 246, 247, .96);
    box-shadow: 0 -7px 24px rgba(21, 40, 64, .06);
    backdrop-filter: blur(12px);
  }
  .save-button { max-width: 620px; margin: 0 auto; }
}

@media (min-width: 560px) {
  .page-shell { width: min(100% - 48px, 900px); padding-top: 24px; }
  .card-contacts { gap: 8px; }
  .card-contacts a { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .role-tile { min-height: 100px; padding: 9px; }
  .role-tile.has-wordmark { gap: 8px; padding-inline: 9px; }
  .role-tile[aria-pressed="true"] { padding: 8px; }
  .role-logo { width: 58px; height: 62px; }
  .role-tile.has-wordmark .role-logo { width: 48px; height: 54px; }
  .role-name { font-size: 17px; }
  .role-detail { font-size: 14px; }
}

@media (min-width: 760px) {
  .role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .role-tile { min-height: 90px; }
  .role-tile:last-child:nth-child(3n + 1) { grid-column: 2; }
}

@media (max-width: 359px) {
  .card-contacts a { grid-template-columns: 32px minmax(0,1fr); gap: 6px; font-size: 12.5px; }
  .role-grid { gap: 7px; }
  .role-tile { gap: 6px; padding-inline: 6px; }
  .role-tile.has-wordmark { gap: 3px; padding-inline: 4px; }
  .role-tile[aria-pressed="true"] { padding-inline: 5px; }
  .role-logo { width: 42px; }
  .role-tile.has-wordmark .role-logo { width: 32px; height: 42px; }
  .role-name { font-size: 13.5px; }
  .role-detail { font-size: 11.5px; }
  .role-tile.has-wordmark .role-detail { white-space: nowrap; }
}

.role-tile.has-large-logo { gap: 6px; }
.role-tile.has-large-logo .role-logo { width: 74px; height: 50px; }
.role-tile.has-large-logo .role-detail { white-space: nowrap; }

.role-tile[data-role-id="kwangwoon"] .role-wordmark { height: 25px; max-height: 25px; }
.role-tile[data-role-id="sunmoon"] .role-wordmark { height: 21px; max-height: 21px; }
.role-tile[data-role-id="sports-forum"] .role-wordmark { height: 32px; max-height: 32px; }
.role-tile[data-role-id="bmx"] .role-logo { width: 50px; height: 50px; }
.role-tile[data-role-id="bmx"] .role-wordmark { height: 28px; max-height: 28px; }
.role-tile[data-role-id="skiology"] .role-wordmark { height: 34px; max-height: 34px; }

@media (max-width: 359px) {
  .role-tile.has-large-logo { gap: 4px; }
  .role-tile.has-large-logo .role-logo { width: 52px; height: 42px; }
  .role-tile.has-large-logo .role-detail { font-size: 11px; }
  .role-tile[data-role-id="bmx"] .role-logo { width: 40px; height: 44px; }
  .role-tile[data-role-id="bmx"] .role-wordmark { height: 22px; max-height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Selected cards follow the anatomy of the printed cards; the light sweep is digital only. */
[hidden] { display: none !important; }
.digital-card { container-type: inline-size; }
.hero { scroll-margin-top: 16px; }
.digital-card:not(.has-role) { background: #071b2b; border-color: #12344c; }
.digital-card:not(.has-role)::before {
  inset: -55% -35% -65% 33%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(23, 127, 163, .43) 0%, rgba(14, 87, 130, .16) 41%, transparent 68%);
  filter: blur(20px);
  opacity: 1;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}
.digital-card:not(.has-role)::after {
  background: linear-gradient(90deg, rgba(3, 17, 31, .9) 0%, rgba(5, 22, 36, .74) 37%, rgba(9, 32, 51, .22) 100%);
}
.digital-card:not(.has-role) .card-light {
  top: -60%;
  right: -35%;
  width: 76%;
  height: 215%;
  border-radius: 0;
  background: linear-gradient(90deg, transparent 14%, rgba(68, 213, 226, .04) 29%, rgba(97, 216, 233, .2) 43%, rgba(163, 181, 238, .18) 49%, rgba(208, 159, 211, .07) 52%, transparent 68%);
  -webkit-mask: none;
  mask: none;
  filter: blur(11px);
  opacity: .8;
  transform: rotate(-26deg);
  animation: foil-drift 9s ease-in-out infinite alternate;
}
.digital-card:not(.has-role) .card-contacts a { font-size: clamp(13px, 3.7vw, 17px); }
.digital-card:not(.has-role) .contact-label { font-size: .84em; }
.card-foil { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; fill: none; stroke: url(#foil-gradient); stroke-width: 1.3; opacity: .64; filter: drop-shadow(0 0 7px rgba(79,196,217,.18)); animation: foil-lines 11s ease-in-out infinite alternate; pointer-events: none; }
.card-foil path:nth-child(2n) { stroke-width: .7; opacity: .54; }
.digital-card.has-role .card-foil { display: none; }
@keyframes aurora-drift { from { transform: translate(-7%, 3%) scale(1); } to { transform: translate(7%, -4%) scale(1.1); } }
@keyframes foil-drift { from { transform: rotate(-26deg) translateX(-12%); } to { transform: rotate(-26deg) translateX(16%); } }
@keyframes foil-lines { from { transform: translateX(-9px) translateY(2px); } to { transform: translateX(14px) translateY(-3px); } }
.digital-card.has-role {
  color: #182638;
  background: #fff;
  border-color: #e3e8ec;
  box-shadow: 0 12px 32px rgba(18, 36, 55, .12);
}
.digital-card.has-role::before {
  inset: 0 auto auto 0;
  z-index: 2;
  width: 100%;
  height: 3px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--role-accent), rgba(255,255,255,.2) 65%, var(--role-accent));
  filter: none;
  opacity: .9;
  animation: none;
}
.digital-card.has-role::after {
  z-index: 4;
  inset: -40% auto -40% -35%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.78) 42%, rgba(165,210,235,.24) 53%, transparent);
  transform: skewX(-24deg) translateX(-260%);
  opacity: 0;
}
.digital-card.has-role.is-changing::after {
  opacity: 1;
  animation: card-reveal .68s cubic-bezier(.2,.65,.2,1) both;
}
.digital-card.has-role.is-changing .card-role { animation: role-settle .52s cubic-bezier(.2,.7,.2,1) both; }
.digital-card.has-role .card-light {
  z-index: 0;
  top: -100%;
  right: -55%;
  width: 110%;
  height: 270%;
  background: conic-gradient(from 15deg, transparent, color-mix(in srgb, var(--role-accent) 10%, white), transparent 46%, rgba(219,197,235,.2), transparent 72%);
  -webkit-mask: none;
  mask: none;
  filter: blur(20px);
  opacity: .34;
  animation: lens-drift 16s ease-in-out infinite alternate;
}
@keyframes card-reveal { to { transform: skewX(-24deg) translateX(470%); opacity: 0; } }
@keyframes role-settle { from { opacity: .35; transform: translateY(5px) scale(.985); } to { opacity: 1; transform: none; } }

.card-role {
  padding: 5.7% 6% 5.1%;
  justify-content: space-between;
  color: #1b2731;
}
.print-card-top {
  display: flex;
  min-height: 41%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.print-card-identity { min-width: 0; }
.print-card-name {
  margin: 0;
  font-size: clamp(16px, 5.5cqw, 30px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.07em;
  white-space: nowrap;
}
.print-card-title {
  margin: .32em 0 0;
  font-size: clamp(10px, 3.1cqw, 16px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.print-card-mark {
  display: block;
  max-width: 32%;
  width: auto;
  height: clamp(46px, 17cqw, 86px);
  object-fit: contain;
  object-position: right top;
}
.card-role[data-role-id] { background: transparent; }
.digital-card[data-role-id="paran"] .print-card-mark,
.digital-card[data-role-id="gate"] .print-card-mark { max-width: 35%; }
.digital-card[data-role-id="olympic-heritage"] .print-card-mark { max-width: 22%; }
.print-card-details { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.print-card-brand { display: flex; align-items: center; gap: .45em; min-height: 24px; max-width: 100%; }
.print-card-brand-logo { display: block; max-width: 48%; width: auto; height: clamp(19px, 6cqw, 31px); object-fit: contain; object-position: left center; }
.print-card-brand-logo.olympic-lockup { max-width: 88%; height: clamp(34px, 10.5cqw, 52px); }
.print-card-organization { color: var(--role-accent); font-size: clamp(12px, 3.7cqw, 19px); font-weight: 740; letter-spacing: -.065em; white-space: nowrap; }
.paran-name { color: #0487c6; }
.paran-branch { color: #00a9d3; font-weight: 700; }
.print-card-department { font-size: clamp(10px, 3cqw, 15px); letter-spacing: -.055em; white-space: nowrap; }
.print-card-address { margin: 2px 0 0; color: #687482; font-size: clamp(10px, 2.9cqw, 14px); line-height: 1.15; white-space: nowrap; }
.print-card-contacts { display: grid; gap: 2px; margin-top: clamp(5px, 1.5cqw, 9px); }
.print-card-contacts a { display: grid; grid-template-columns: clamp(44px, 12cqw, 64px) auto; gap: 2px; color: #1c2732; text-decoration: none; font-size: clamp(11px, 3.15cqw, 16px); line-height: 1.25; white-space: nowrap; }
.print-card-contacts b { font-weight: 700; }
.print-card-contacts a:focus-visible { outline: 2px solid var(--role-accent); outline-offset: 2px; }
.save-panel-inline { margin: 12px 0 0; }
.save-panel-docked { display: none; }
.role-section { padding-top: clamp(22px, 5vw, 32px); }
.section-heading { margin-bottom: 12px; }
.section-heading h2 { font-size: clamp(21px, 5.5vw, 26px); }
.role-tile[aria-pressed="true"] { border-color: var(--accent); }

@media (max-width: 759px) {
  .page-shell { padding-bottom: 36px; }
  .save-panel-inline { position: static; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .save-panel-docked:not([hidden]) {
    display: block;
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid #dce3e9;
    background: rgba(244, 246, 247, .96);
    box-shadow: 0 -7px 24px rgba(21, 40, 64, .06);
    backdrop-filter: blur(12px);
  }
  body:has(.save-panel-docked:not([hidden])) .page-shell { padding-bottom: 104px; }
}
@media (max-width: 559px) {
  .role-grid { gap: 7px; }
  .role-tile { min-height: 76px; padding: 6px; border-radius: 12px; }
  .role-tile[aria-pressed="true"] { padding: 5px; }
  .role-tile.has-wordmark { gap: 4px; padding-inline: 4px; }
  .role-tile.has-wordmark[aria-pressed="true"] { padding-inline: 3px; }
  .role-logo { width: 44px; height: 46px; }
  .role-tile.has-wordmark .role-logo { width: 36px; height: 44px; }
  .role-tile.has-full-logo .role-full-logo { height: 39px; }
  .role-tile[data-role-id="paran"] .role-full-logo { height: 35px; }
  .role-name { font-size: clamp(12px, 3.65vw, 15px); }
  .role-detail { font-size: clamp(10px, 3vw, 12.5px); }
  .role-tile.has-large-logo .role-logo { width: 57px; height: 42px; }
  .role-tile[data-role-id="bmx"] .role-logo { width: 40px; height: 42px; }
}
@media (max-width: 359px) {
  .role-tile { min-height: 72px; }
  .role-tile.has-wordmark .role-logo { width: 30px; }
  .role-tile.has-large-logo .role-logo { width: 47px; }
  .role-tile[data-role-id="bmx"] .role-logo { width: 34px; }
  .role-wordmark { max-height: 30px; }
}

/* Digital-only materials: moving foil on the universal card, soft paper on role cards. */
.digital-card {
  --pointer-x: 75%;
  --pointer-y: 34%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(950px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .22s ease-out, box-shadow .3s ease;
}
.digital-card:not(.has-role) {
  background: radial-gradient(ellipse at 86% 14%, #153b56 0%, transparent 48%), linear-gradient(114deg, #071521 0%, #0a2336 61%, #071623 100%);
  border-color: #21455a;
  box-shadow: 0 17px 42px rgba(8, 29, 47, .24), inset 0 1px rgba(215, 245, 255, .12);
}
.digital-card:not(.has-role)::before {
  inset: 0;
  border-radius: 0;
  background: repeating-linear-gradient(108deg, rgba(225, 243, 248, .022) 0, rgba(225, 243, 248, .022) 1px, transparent 1px, transparent 4px);
  filter: none;
  opacity: 1;
  animation: none;
}
.digital-card:not(.has-role)::after {
  background: linear-gradient(90deg, rgba(4, 17, 30, .94) 0%, rgba(4, 19, 32, .82) 38%, rgba(3, 19, 33, .16) 77%, transparent 100%);
}
.digital-card:not(.has-role) .card-light {
  z-index: 1;
  top: -44%;
  right: -38%;
  width: 83%;
  height: 205%;
  background: radial-gradient(ellipse, rgba(61, 197, 213, .4) 0%, rgba(40, 123, 185, .18) 41%, transparent 69%);
  filter: blur(28px);
  opacity: 1;
  animation: foil-halo 12s ease-in-out infinite alternate;
}
.card-foil {
  z-index: 2;
  fill: none;
  stroke: none;
  opacity: 1;
  filter: drop-shadow(0 0 12px rgba(117, 222, 230, .13));
  animation: none;
}
.foil-ribbons { transform-origin: 75% 50%; animation: ribbon-breathe 10s ease-in-out infinite alternate; }
.foil-band-main { fill: url(#foil-band); opacity: .58; }
.foil-band-second { fill: url(#foil-band); opacity: .37; }
.foil-band-glow { fill: url(#foil-thread); opacity: .3; }
.foil-thread { fill: none; stroke: url(#foil-thread); stroke-width: 1.2; opacity: .66; }
.foil-thread-soft { stroke-width: .7; opacity: .36; }
.foil-stars { fill: #e6fcff; opacity: .42; animation: star-breathe 5.6s ease-in-out infinite alternate; }
.foil-stars path:last-child { opacity: .56; }
.card-sheen {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 140px at var(--pointer-x) var(--pointer-y), rgba(229, 251, 255, .14), rgba(124, 213, 233, .055) 42%, transparent 75%);
  mix-blend-mode: screen;
  opacity: .8;
}
.digital-card.has-role {
  background: #fff;
  border-color: #e8e8e5;
  box-shadow: 0 14px 34px rgba(25, 41, 57, .14), inset 0 0 0 1px rgba(255,255,255,.85);
}
.digital-card.has-role::before {
  height: 2px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--role-accent) 50%, white) 15%, #f9ffff 35%, color-mix(in srgb, var(--role-accent) 75%, white) 49%, #f9ffff 59%, color-mix(in srgb, var(--role-accent) 50%, white) 82%);
  background-size: 240% 100%;
  opacity: .8;
  animation: edge-glint 7s ease-in-out infinite;
}
.digital-card.has-role .card-light {
  top: -64%;
  right: -45%;
  width: 83%;
  height: 220%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--role-accent) 4%, white), transparent 68%);
  filter: blur(14px);
  opacity: .16;
  animation: paper-light 15s ease-in-out infinite alternate;
}
.digital-card.has-role .card-sheen {
  background: radial-gradient(ellipse 30% 40% at var(--pointer-x) var(--pointer-y), rgba(255,255,255,.25), transparent 76%);
  mix-blend-mode: normal;
  opacity: .3;
}
@keyframes ribbon-breathe { from { transform: translate(-10px, 5px) scale(1); } to { transform: translate(9px, -6px) scale(1.04); } }
@keyframes foil-halo { from { transform: rotate(-26deg) translate(-8%, 4%); } to { transform: rotate(-20deg) translate(9%, -6%); } }
@keyframes star-breathe { from { opacity: .13; } to { opacity: .62; } }
@keyframes paper-light { from { transform: translate(-8%, 3%); } to { transform: translate(8%, -3%); } }
@keyframes edge-glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (hover: hover) {
  .digital-card.has-role:hover { box-shadow: 0 19px 38px rgba(25,41,57,.17), inset 0 0 0 1px rgba(255,255,255,.9); }
}







/* Personal card: original ski figure, without material or pointer effects. */
.digital-card:not(.has-role){background:#192c3e;border-color:#304659;transform:none}
.digital-card:not(.has-role)::before,.digital-card:not(.has-role)::after,
.digital-card:not(.has-role) .card-light,.digital-card:not(.has-role) .card-foil,
.digital-card:not(.has-role) .card-sheen{display:none}
.card-illustration{position:absolute;z-index:1;right:1%;top:1%;width:38%;height:98%;object-fit:contain;opacity:.86;pointer-events:none}
.digital-card.has-role .card-illustration{display:none}
.digital-card:not(.has-role) .card-content{padding:7% 6%;}
.digital-card:not(.has-role) .card-contacts a{font-size:3.55cqw;grid-template-columns:7cqw auto;gap:1.5cqw;line-height:1.3}
.digital-card:not(.has-role) .card-contacts{gap:1.2cqw}
.digital-card:not(.has-role) .card-identity h1{font-size:8cqw}

/* Slow illustration expansion: the clipping belongs to the card, not the image. */
.digital-card:not(.has-role){background:#171e28;border-color:#303a47}
.card-illustration-window{position:absolute;z-index:1;inset:0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(90deg,transparent 58%,#000 74%);-webkit-mask-image:linear-gradient(90deg,transparent 58%,#000 74%)}
.card-illustration-window .card-illustration{right:-5%;top:-3%;width:48%;height:106%;opacity:.85;transform-origin:72% 48%;animation:figure-expand 40s cubic-bezier(.45,0,.55,1) infinite alternate;will-change:transform}
.digital-card.has-role .card-illustration-window{display:none}
@keyframes figure-expand{0%{transform:scale(1.1) translate(0,0)}100%{transform:scale(2.3) translate(-4%,3%)}}
@media(prefers-reduced-motion:reduce){.card-illustration-window .card-illustration{animation:none!important;transform:scale(1.1);will-change:auto}}

/* Depth through broad light fields; no straight masking edge. */
.digital-card:not(.has-role){background:radial-gradient(ellipse at 85% 12%,#344859 0%,transparent 65%),radial-gradient(ellipse at 27% 95%,#1c303b 0%,transparent 72%),#141c27}
.card-illustration-window{mask-image:none;-webkit-mask-image:none}
.card-illustration-window::after{position:absolute;content:"";inset:0;background:radial-gradient(ellipse 78% 60% at 3% 78%,#141e2bee 0%,#141e2bc9 42%,transparent 85%),radial-gradient(ellipse 62% 46% at 2% 14%,#141e2bc9 0%,transparent 85%)}
.card-illustration-window .card-illustration{right:-4%;transform-origin:50% 39%;opacity:.78}
@keyframes figure-expand{0%{transform:scale(1.1) translate(0,0)}100%{transform:scale(2.3) translate(-2%,1%)}}

.selection-guide{margin:8px 0 0;color:#586a7a;font-size:15px;line-height:1.55;letter-spacing:-.03em;word-break:keep-all}
.card-illustration-window .card-illustration{animation:figure-expand 240s ease-in-out infinite}
@keyframes figure-expand{
 0%,20%,95%,100%{transform:scale(1.1) translate(0,0)}
 45%,70%{transform:scale(1.84) translate(-2%,1%)}
}
.digital-card[data-role-id="sports-forum"] .print-card-brand-logo,
.digital-card[data-role-id="bmx"] .print-card-brand-logo,
.digital-card[data-role-id="skiology"] .print-card-brand-logo{height:clamp(26px,8cqw,42px);max-width:62%}

.digital-card[data-role-id="sports-forum"] .print-card-brand,
.digital-card[data-role-id="bmx"] .print-card-brand,
.digital-card[data-role-id="skiology"] .print-card-brand{width:100%}
.digital-card[data-role-id="sports-forum"] .print-card-brand-logo,
.digital-card[data-role-id="bmx"] .print-card-brand-logo,
.digital-card[data-role-id="skiology"] .print-card-brand-logo{height:clamp(30px,10cqw,52px);flex-shrink:0}
