@font-face {
  font-family: 'FinSvoboda Inter';
  src: url('./inter-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'FinSvoboda Inter';
  src: url('./inter-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: 'FinSvoboda Inter', Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --card-radius: 24px;
  --pill: 100vmax;
  --pad: clamp(1.2rem, 5vw, 4.5rem);
  --content: 67rem;
  --plum: #59426d;
  --rule: #d4cdd4;
  --glass-shadow: 0 22px 38px -25px #49375685, 0 4px 12px -7px #3e30475c;
  --surface-shadow: 0 4px 14px -8px #49375648;
  --response: 180ms ease;
}
.masthead, .footer { background: var(--paper); }
.masthead { border-color: var(--rule); }
.mast-inner, .footer-inner {
  width: min(var(--content), calc(100% - 2 * var(--pad)));
}
.mast-inner { min-height: 4.35rem; }
.mast-info, .brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.mast-info { gap: .53rem; font-weight: 540; }
.location-pin {
  position: relative;
  flex: none;
  width: .79rem;
  height: .79rem;
  border: 1.45px solid var(--plum);
  border-radius: 52% 52% 52% 12%;
  transform: translateY(-1px) rotate(-45deg);
}
.location-pin::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: var(--plum);
}
.worktop {
  background: radial-gradient(ellipse at 88% 28%, #e6deee 0%, transparent 58%),
    linear-gradient(125deg, #fcfaf5 6%, #f6f2ed 59%, #f0ebf2);
}
.worktop::before {
  background: var(--plan) right center / max(47rem, 76vw) auto no-repeat;
  opacity: .105;
  transform: none;
  -webkit-mask-image: linear-gradient(95deg, transparent 18%, #000 86%);
  mask-image: linear-gradient(95deg, transparent 18%, #000 86%);
}
#vizitka:not([hidden]) { display: block; }
.stage {
  width: min(var(--content), calc(100% - 2 * var(--pad)));
  padding: 0;
}
.prep-view, .cover-view[hidden] + .prep-view {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding-block: clamp(1.4rem, 4vw, 3.3rem);
}
.cover-view + .prep-view:not([hidden]) { margin-top: 0; }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  grid-template-areas: 'identity portrait' 'actions portrait';
  align-content: center;
  column-gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.2rem, 4.2vw, 4.6rem) clamp(2.8rem, 4.7vw, 4.5rem);
}
.identity { grid-area: identity; align-self: end; padding-bottom: .12em; }
.identity h1 {
  font-size: clamp(4.3rem, 7.45vw, 6.8rem);
  line-height: .95;
  font-weight: 660;
  letter-spacing: -.075em;
}
.identity h1 span { display: block; color: var(--plum); }
.role {
  max-width: 34ch;
  margin-top: clamp(1rem, 1.9vw, 1.7rem);
  font-size: clamp(1.05rem, 1.62vw, 1.37rem);
  line-height: 1.36;
  color: var(--muted);
  letter-spacing: -.025em;
}
.role span { white-space: nowrap; }
.portrait {
  grid-area: portrait;
  align-self: center;
  justify-self: center;
  position: relative;
  isolation: isolate;
  width: min(100%, 22.5rem);
}
.portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px;
  border: 1px solid #c6b6cb;
  border-radius: var(--card-radius);
  transform: translate(9px, 7px) rotate(2deg);
  background: linear-gradient(140deg, #f5f1f8, #d9cfe5 70%, #c8b7d3);
  box-shadow: inset 1px 1px 1px #fff, 0 7px 13px -8px #48335065;
}
.glass-frame {
  position: relative;
  padding: clamp(4px, .55vw, 7px);
  border: 1px solid #d6cdda;
  border-radius: var(--card-radius);
  background: linear-gradient(143deg, #fff 0%, #f5f0f7 30%, #cfc2da 76%, #a897bc);
  box-shadow: var(--glass-shadow), inset 1px 1px 1.5px #fff, inset -1px -1px 1px #ae9cc5;
}
.glass-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 1px;
  border-radius: calc(var(--card-radius) - 1px);
  background: linear-gradient(112deg, #fff 0%, #ffffff85 27%, transparent 58%) 0 0 / 74% 1.5px no-repeat,
    linear-gradient(to bottom, #fff, transparent) 0 0 / 1.5px 62% no-repeat;
}
.portrait-studio {
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(var(--card-radius) - 6px);
  border: 1px solid #bfb2c9;
  aspect-ratio: 9 / 10;
  background: radial-gradient(ellipse at 18% 12%, #faf7f3 2%, #eae3ed 60%, #d1c5db);
}
.portrait-studio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  mix-blend-mode: multiply;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .portrait::before, .glass-frame {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .portrait::before {
    background: linear-gradient(140deg, #ffffff72, #cfc2dda8 64%, #b09cc699);
    border-color: #ffffffbc;
  }
  .glass-frame {
    background: linear-gradient(143deg, #fffffff7 3%, #fffc 23%, #f7f2fa85 55%, #a38abebd 88%, #e5ddea);
    border-color: #ffffffe3;
  }
}
.contact-actions {
  grid-area: actions;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem clamp(.65rem, 1.7vw, 1.55rem);
  margin-top: clamp(1.35rem, 2.65vw, 2.35rem);
}
.contact-save, .contact-call, .card-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  line-height: 1.25;
  font-weight: 630;
  letter-spacing: -.025em;
  border-radius: var(--pill);
}
.contact-save {
  padding: .95rem 1.4rem;
  min-height: 52px;
  color: white;
  background: var(--violet);
  border: 1px solid #614c7d;
  box-shadow: inset 0 1px 0 #ffffff66, 0 5px 13px -7px #4c386c82;
}
.contact-save img { width: 21px; height: 21px; filter: brightness(0) invert(1); }
.contact-call { padding: .7rem .3rem; color: var(--ink); white-space: nowrap; }
.contact-call img { width: 18px; height: 18px; }
.facts {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.24fr;
  margin: 0;
  padding: clamp(1.15rem, 2.25vw, 1.75rem) clamp(1.1rem, 3.25vw, 2.65rem);
  border: 1px solid #d6cfd7;
  border-radius: var(--card-radius);
  background: #faf8f4;
  box-shadow: var(--surface-shadow), inset 0 1px 0 white;
}
.facts > div { display: flex; flex-direction: column; min-width: 0; }
.facts > div + div {
  padding-left: clamp(1rem, 3.6vw, 3.5rem);
  border-left: 1px solid var(--rule);
}
.facts dt { color: var(--muted); line-height: 1.28; font-size: .89rem; }
.facts dd {
  order: -1;
  margin: 0 0 .33rem;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.facts small { font-size: .62em; font-weight: 570; letter-spacing: -.035em; }
.stat-plus { color: var(--plum); font-size: .72em; vertical-align: .15em; }
.card-links { display: flex; justify-content: space-between; gap: 1rem; padding-block: .65rem 1.07rem; }
.card-links a { min-height: 46px; border-radius: 6px; color: var(--plum); font-size: .98rem; }
.link-arrow { position: relative; display: inline-block; width: 1rem; height: 1rem; }
.link-arrow::before, .link-arrow::after { content: ""; position: absolute; }
.link-arrow::before { left: 1px; top: 7px; width: 12px; border-top: 1.5px solid; }
.link-arrow::after { left: 6px; top: 3.8px; width: 7.5px; height: 7.5px; border: solid; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.qr-glyph { display: grid; grid-template-columns: repeat(2, 6.5px); grid-auto-rows: 6.5px; gap: 2px; flex: none; }
.qr-glyph i { border: 1.7px solid; border-radius: 1px; }
.qr-glyph i:last-child { border: 0; background: linear-gradient(45deg, currentColor 47%, transparent 50%); }
.footer { border-color: var(--rule); }
.footer-inner { padding-block: .55rem .85rem; }
.meeting > summary { min-height: 48px; width: fit-content; min-width: 44px; max-width: 100%; gap: 1.05rem; }
.meeting-details a, .colophon a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.meeting-details a { display: flex; }
.colophon { margin-top: .1rem; padding-top: .2rem; }
.contact-dialog:not([open]) { display: none; }
.contact-dialog {
  width: min(26rem, calc(100% - 2rem));
  max-height: 90vh;
  max-height: 90dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--rule);
  border-radius: var(--card-radius);
  color: var(--ink);
  background: #faf8f4;
  box-shadow: 0 20px 70px #30263455;
}
.contact-dialog::backdrop { background: #28212eb3; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dialog-head h2 { font-size: 1.8rem; line-height: 1.12; letter-spacing: -.05em; }
.dialog-head form { margin: 0; }
.dialog-head button {
  border-radius: var(--pill); border: 1px solid var(--rule); background: #f1ecf1;
  color: var(--plum); cursor: pointer; width: 44px; height: 44px; font-size: 1.5rem; padding: 0;
}
.contact-dialog p { margin: .2rem 0 1rem; color: var(--muted); font-size: .93rem; }
.contact-code {
  width: min(100%, 52vh); width: min(100%, 52dvh); height: auto; margin: auto;
  background: white; border: 1px solid var(--rule); border-radius: 6px; image-rendering: pixelated;
}
.contact-dialog .contact-save { width: 100%; margin-top: 1rem; }
:where(a, button, summary, input, select):focus-visible {
  outline: 3px solid #65438b;
  outline-offset: 4px;
}
.skip { min-height: 44px; }
@media (hover: hover) and (pointer: fine) {
  .contact-save:hover { background-color: #684f87; box-shadow: inset 0 1px 0 #ffffff85, 0 6px 15px -7px #4c386c90; }
  .contact-call:hover, .card-links a:hover { text-decoration: underline; text-underline-offset: .24em; color: var(--plum); }
}
@media (prefers-reduced-motion: no-preference) {
  .contact-save, .contact-call, .card-links a, .dialog-head button {
    transition: background-color var(--response), color var(--response), box-shadow var(--response), transform var(--response);
  }
  .contact-save:active, .contact-call:active, .card-links a:active { transform: translateY(1px); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .contact-save:hover:not(:active) { transform: translateY(-2px); }
}
@media (max-width: 48rem) {
  .intro { column-gap: 1.8rem; }
  .identity h1 { font-size: clamp(3.65rem, 8.5vw, 4.5rem); }
  .contact-actions { column-gap: .5rem; }
  .contact-call { font-size: .95rem; }
}
@media (max-width: 39rem) {
  :root { --card-radius: 18px; --pad: clamp(1rem, 4.8vw, 1.75rem); }
  .mast-inner { min-height: 3.6rem; }
  .mast-info { font-size: .84rem; }
  .intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: 'identity portrait' 'actions actions';
    column-gap: clamp(.55rem, 3vw, 1.1rem);
    padding-block: clamp(2.1rem, 8vw, 3.2rem) clamp(1.5rem, 5.5vw, 2.3rem);
  }
  .identity { align-self: center; }
  .identity h1 { font-size: clamp(2.65rem, 10.8vw, 4.25rem); line-height: .99; }
  .role { margin-top: .75rem; font-size: clamp(.91rem, 3.7vw, 1.12rem); line-height: 1.33; }
  .role span { display: block; white-space: normal; }
  .portrait { width: min(100%, 12.5rem); }
  .portrait::before { transform: translate(4px, 4px) rotate(2deg); }
  .portrait-studio { aspect-ratio: 4 / 5; border-radius: calc(var(--card-radius) - 5px); }
  .portrait-studio img { object-position: 50% 13%; transform: scale(1.14); transform-origin: 49% 12%; }
  .contact-actions { margin-top: clamp(1.6rem, 6vw, 2.1rem); gap: .55rem; }
  .contact-actions > a { flex: 1 0 auto; }
  .contact-save { padding: .85rem .8rem; min-height: 50px; }
  .contact-call { padding-inline: .1rem; gap: .37rem; }
  .facts { grid-template-columns: .85fr 1fr 1.23fr; padding: 1rem clamp(.6rem, 3vw, 1rem); }
  .facts > div + div { padding-left: clamp(.5rem, 2.5vw, 1rem); }
  .facts dd { font-size: clamp(1.26rem, 5.6vw, 1.95rem); letter-spacing: -.048em; }
  .facts dt { font-size: clamp(.75rem, 2.9vw, .83rem); }
  .card-links { gap: .48rem; padding-block: .46rem .65rem; }
  .card-links a { font-size: clamp(.84rem, 3.2vw, .94rem); gap: .4rem; }
  .worktop::before { background-size: 44rem auto; background-position: 32% 33%; opacity: .08; }
  .colophon { gap: 0 .95rem; }
}
@media (max-width: 21rem) {
  .contact-actions { display: grid; grid-template-columns: 1fr; gap: 0; }
  .contact-call { min-height: 44px; }
  .facts { grid-template-columns: .82fr .95fr 1.23fr; padding-inline: .58rem; }
  .facts > div + div { padding-left: .4rem; }
}
@media (prefers-reduced-transparency: reduce) {
  .portrait::before, .glass-frame { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .portrait::before { background: #d9cfe4; border-color: #b9a8c7; }
  .glass-frame { background: #e9e2ef; border-color: #fcfafc; }
  .glass-frame::after { background: none; }
  .worktop::before { display: none; }
  .contact-dialog::backdrop { background: #332a3c; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .portrait::before, .glass-frame::after { display: none; }
  .glass-frame, .facts, .contact-save, .dialog-head button { border: 1px solid ButtonText; }
  .contact-save img, .contact-call img { display: none; }
  :focus-visible { outline: 3px solid Highlight; }
}
