@font-face {
  font-family: "IBM Plex Sans"; font-weight: 100 700; font-stretch: 85% 100%; font-style: normal; font-display: swap;
  src: url("./assets/fonturi/ibm-plex-sans.woff2") format("woff2");
}

:root, .theme-swatch {
  color-scheme: light;
  --page: #fff;
  --ink: #171713;
  --muted: #565750;
  --accent: #ab3a25;
  --rule: #d9dad4;
  --paper: #f3f2ee;
  --footer: #171713;
  --contact-accent: #e28b73;
  --logo-filter: none;
}

[data-theme="pruna"] {
  color-scheme: dark;
  --logo-filter: brightness(0) invert(1);
  --page: #1b1520;
  --ink: #f4edf8;
  --muted: #c7bccc;
  --accent: #d5bbe8;
  --rule: #49394f;
  --paper: #281e2f;
  --footer: #140f19;
  --contact-accent: #d9b2e7;
}

:root {
  --focus: var(--accent);
  --track: var(--paper);
  --track-border: var(--rule);
  --track-ink: var(--muted);
  --track-hover: color-mix(in srgb, var(--paper), var(--ink) 8%);
  --tech-copy: var(--muted);
  --frame-border: var(--rule);
  --frame-shadow: 0 23px 42px -30px color-mix(in srgb, var(--footer) 55%, transparent),
    0 4px 12px -8px color-mix(in srgb, var(--footer) 38%, transparent);
  --footer-muted: color-mix(in srgb, #fff 84%, var(--footer));
  --footer-rule: color-mix(in srgb, #fff 24%, var(--footer));
  --selection-bg: color-mix(in srgb, var(--page), var(--accent) 26%);
  --selection-ink: var(--ink);
  --gutter: clamp(22px, 4.2vw, 74px);
  --sans: "IBM Plex Sans", Arial, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}

:root[data-theme="original"] {
  --focus: #a93a24;
  --track: #f0f0ed;
  --track-border: #deded9;
  --track-ink: #45463f;
  --track-hover: #e5e5df;
  --tech-copy: #494a43;
  --frame-border: #d6d6d0;
  --frame-shadow: 0 23px 42px -30px #2019108c, 0 4px 12px -8px #20191062;
  --footer-muted: #dbdbd4;
  --footer-rule: #494943;
  --selection-bg: #f3c4b0;
  --selection-ink: #211a15;
}

*, *::before, *::after { box-sizing: border-box; font-style: normal; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
button, a, .theme-toggle, .theme-choice { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--selection-bg); color: var(--selection-ink); }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: 1590px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 12; top: 8px; left: 8px; padding: 10px 15px; background: var(--page); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.tour { position: relative; }
.tour.driven { height: calc(var(--pin-height) + var(--travel)); }
.pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--page); }
.driven .pin { position: sticky; top: calc(0px - var(--pin-overflow)); }
.top { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: clamp(72px, 9.3svh, 100px); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(146px,12.2vw,182px); height: auto; }
.top > .brand { min-width: 0; }
.top .brand img { filter: var(--logo-filter); }
.top-links { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 545; }
.theme-picker { position: relative; }
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 116px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}
.theme-toggle::-webkit-details-marker { display: none; }
.theme-toggle::after {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-inline-start: auto;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.theme-picker[open] .theme-toggle::after { transform: translateY(1px) rotate(225deg); }
.theme-toggle:hover, .theme-picker[open] .theme-toggle { background: var(--paper); }
.theme-swatch {
  flex: none;
  width: 26px;
  height: 16px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 4px;
  background: linear-gradient(110deg, var(--page) 34%, var(--accent) 34% 67%, var(--swatch-end, var(--footer)) 67%);
}
.theme-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto auto;
  display: grid;
  gap: 2px;
  min-inline-size: 0;
  width: min(210px,calc(100vw - 2 * var(--gutter)));
  max-height: calc(100dvh - 75px);
  overflow: auto;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--page);
  box-shadow: 0 20px 34px -19px color-mix(in srgb, var(--footer) 70%, transparent);
}
.theme-choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.15;
}
.theme-choice:hover, .theme-choice:has(input:checked) { background: var(--paper); }
.theme-choice:has(input:checked) { font-weight: 640; }
.theme-choice input { flex: none; width: 15px; height: 15px; margin: 0 0 0 auto; accent-color: var(--accent); cursor: pointer; }
.back-to-top { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: transparent; }
.back-to-top:hover { text-decoration-color: currentColor; }
.link-symbol {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-link { display: inline-flex; align-items: center; gap: 13px; padding: 12px 20px; border-radius: 30px; background: var(--ink); color: var(--page); white-space: nowrap; }
.contact-link:hover { background: var(--accent); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
  grid-template-areas: "copy artwork" ". controls";
  align-items: center;
  align-content: center;
  column-gap: clamp(26px,5.4vw,96px);
  flex: 1 0 auto;
  padding-block: clamp(32px,5.5svh,76px) clamp(40px,8svh,105px);
}
.hero-copy { grid-area: copy; container-type: inline-size; padding-bottom: 5px; }
h1 { font-size: clamp(54px,min(7.3vw,11.9svh),130px); font-size: min(20.25cqw,7.65vw,11.9svh,130px); font-weight: 605; letter-spacing: -.038em; line-height: 1; }
h1 span { display: inline-block; font-size: .94em; font-weight: 475; white-space: nowrap; color: var(--accent); }
.hero-copy > p { max-width: 405px; margin-top: clamp(18px,2.8svh,29px); font-size: clamp(16px,1.25vw,20px); line-height: 1.44; color: var(--muted); letter-spacing: -.005em; text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 5px; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 580; line-height: 1.24; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:is(:hover, :focus-visible) .exhibition-arrow { transform: translateX(2px); }
.exhibition, .controls { width: 100%; max-width: min(100%,93svh); justify-self: end; }
.exhibition { grid-area: artwork; }
.art-frame { position: relative; display: block; overflow: hidden; border: 1px solid var(--frame-border); border-radius: clamp(13px,1.2vw,19px); background: #24211a; box-shadow: var(--frame-shadow); }
.art-stage { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.6; background: #24211a; }
.still, .renderer, .renderer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.still { object-fit: cover; }
.renderer { opacity: 0; pointer-events: none; }
.renderer img { max-width: none; }
.art-stage.live .renderer { opacity: 1; }
.painting-title { position: absolute; inset: auto 0 0; z-index: 2; display: grid; justify-items: start; gap: 2px; padding: 35px clamp(18px,2vw,34px) clamp(15px,1.6vw,27px); color: #fff; background: linear-gradient(transparent,rgba(15,12,9,.73)); pointer-events: none; }
.painting-title span { font: 550 12px/1.3 var(--sans); letter-spacing: .015em; }
.painting-title strong { font-size: clamp(24px,2.4vw,40px); font-weight: 540; line-height: 1.1; letter-spacing: -.025em; }
.art-invitation {
  --inset: clamp(10px,1.4vw,22px);
  position: absolute;
  z-index: 1;
  inset-block-start: var(--inset);
  inset-inline-end: var(--inset);
  max-inline-size: calc(100% - 2 * var(--inset));
  padding: 9px 13px;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(12px,1vw,15px);
  font-weight: 560;
  line-height: 1.26;
  pointer-events: none;
}
.art-invitation-click { display: none; }
.exhibition figcaption, .comparison figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 12px; color: var(--muted); font-size: 14px; font-weight: 475; line-height: 1.35; }
.controls { grid-area: controls; container-type: inline-size; padding-top: clamp(16px,2.2svh,24px); }
.chapters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; padding: 4px; background: var(--track); border: 1px solid var(--track-border); border-radius: 15px; }
.chapters button {
  display: flex;
  align-items: center;
  gap: clamp(6px,1.22cqw,12px);
  min-height: 44px;
  padding: 7px clamp(6px,1.15cqw,12px);
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--track-ink);
  font-size: clamp(13px,2cqw,16px);
  font-weight: 555;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: left;
}
.chapters img { flex: none; width: clamp(34px,6.6cqw,55px); height: clamp(24px,4.5cqw,38px); border-radius: 4px; object-fit: cover; }
.chapters button:hover { background: var(--track-hover); }
.chapters button[aria-current] { background: var(--ink); color: var(--page); }
.chapters button:active { filter: brightness(.91); }

@container (max-width: 610px) {
  .chapters { gap: 2px; padding: 3px; border-radius: 11px; }
  .chapters button {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 2px;
    border-radius: 7px;
    font-size: clamp(12px,3.25cqw,13px);
    text-align: center;
  }
  .chapters img { width: 42px; height: 25px; border-radius: 3px; }
}

.technique { background: var(--paper); }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: center; gap: clamp(55px,8vw,145px); padding-block: clamp(80px,10vw,165px); }
.tech-copy { grid-column: 2; grid-row: 1; }
.section-label { margin-bottom: 22px; color: var(--accent); font-size: 14px; font-weight: 650; letter-spacing: .005em; }
h2 { font-size: clamp(46px,5.2vw,86px); font-weight: 560; letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.tech-copy > p:not(.section-label) { margin-top: 21px; max-width: 510px; color: var(--tech-copy); font-size: clamp(16px,1.28vw,21px); line-height: 1.55; }
.section-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 21px; }
.services-heading .text-link { margin-top: 17px; }
.comparison { grid-column: 1; grid-row: 1; }
.compare-images { position: relative; isolation: isolate; overflow: hidden; border-radius: 9px; background: #cac4b8; }
.compare-images img { width: 100%; height: auto; }
.isolated { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.divider { position: absolute; inset-block: 0; left: var(--cut); width: 1.5px; background: white; transform: translateX(-50%); }
.divider > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 42px; height: 42px; background: var(--page); color: var(--ink); border-radius: 50%; font: 22px/1 Arial,sans-serif; box-shadow: 0 2px 9px #0002; }
.compare-range { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-images:not(.interactive) .compare-range, .compare-images:not(.interactive) .divider { display: none; }
.compare-images:focus-within { outline: 3px solid var(--accent); outline-offset: 5px; }
.services { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: clamp(55px,9vw,170px); padding-block: clamp(84px,10.2vw,175px); }
.services-heading .section-label { font-size: clamp(15px,1.05vw,16px); }
.services-intro { margin-top: clamp(16px,2vw,24px); max-width: 40ch; }
.services-intro, .service-list dd { font-size: clamp(16px,1.2vw,19px); line-height: 1.48; color: var(--muted); }
.service-list { display: grid; gap: clamp(32px,4vw,54px); }
.service-list dt { font-size: clamp(21px,2vw,32px); line-height: 1.12; font-weight: 550; letter-spacing: -.035em; }
.service-list dd { margin-top: 8px; max-width: 520px; }
.footer {
  padding-block: clamp(55px,7vw,115px) 25px;
  background: var(--footer);
  color: #fff;
}
.footer h2 { color: var(--footer-muted); font-size: clamp(21px,2.1vw,34px); font-weight: 470; letter-spacing: -.032em; }
.mail {
  display: inline-block;
  max-width: 100%;
  margin-top: 17px;
  font-size: clamp(20px,6.25vw,96px);
  font-weight: 475;
  line-height: 1.1;
  letter-spacing: -.038em;
}
.mail-label {
  position: relative;
  display: block;
  clip-path: inset(-.38em -.15em 0 -.15em);
  padding: .025em .04em .1em 0;
}
.mail-label::after {
  content: "";
  position: absolute;
  inset: auto .04em .025em 0;
  height: max(1px,.016em);
  background: var(--contact-accent);
  transform: scaleX(0);
  transform-origin: right;
  pointer-events: none;
}
.mail-address { display: block; overflow-wrap: anywhere; }
.mail-glyph { position: relative; display: inline-block; perspective: 2.4em; }
.mail-glyph-face, .mail-glyph-echo { display: block; }
.mail-glyph-face { position: relative; transform-origin: center 72%; }
.mail-glyph-echo {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: max(1px,.014em) var(--contact-accent);
  pointer-events: none;
  user-select: none;
}
.mail-glyph-echo::before, .mail-glyph-echo::after, .mail-glyph-entrance { position: absolute; inset: 0; opacity: 0; }
.footer :focus-visible { outline-color: var(--contact-accent); }
.mail:is(:hover, :focus-visible) .mail-label::after { transform: scaleX(1); transform-origin: left; }
.footer-line { position: relative; display: flex; align-items: center; justify-content: space-between; margin-top: clamp(50px,7vw,110px); padding-top: 20px; }
.footer-line::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--footer-rule); transform-origin: left; }
.footer-line .brand img { width: 130px; filter: brightness(0) invert(1); }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; }
.back-to-top .link-symbol { width: 16px; height: 16px; }
.back-to-top:is(:hover, :focus-visible) polyline { transform: translateY(-1.5px); }

@media (min-width: 801px) and (max-height: 740px) {
  .hero-grid { padding-block: 24px; }
  .exhibition, .controls { max-width: min(100%,89svh); }
  .hero-copy > p { margin-top: 16px; }
}
@media (max-width: 800px) {
  :root { --gutter: clamp(19px,5vw,36px); }
  .top { min-height: 72px; }
  .top .brand img { width: 149px; }
  .top-links { gap: clamp(10px,2.2vw,20px); font-size: 14px; }
  .contact-link { padding: 10px 15px; gap: 10px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "artwork" "controls"; padding-block: clamp(24px,5.8svh,65px) clamp(26px,5svh,56px); }
  .hero-copy { padding: 0; margin-bottom: clamp(24px,4svh,38px); }
  h1 { font-size: clamp(54px,8.75vw,74px); }
  h1 br:first-of-type { display: none; }
  .hero-copy > p { max-width: 470px; margin-top: 14px; font-size: 16px; }
  .exhibition, .controls { max-width: 100%; }
  .painting-title { padding: 25px 16px 14px; }
  .painting-title strong { font-size: clamp(24px,4.2vw,28px); }
  .exhibition figcaption, .comparison figcaption { margin-top: 9px; font-size: 13px; }
  .detail-grid, .services { grid-template-columns: 1fr; gap: 33px; padding-block: 68px; }
  .tech-copy, .comparison { grid-column: auto; grid-row: auto; }
  .tech-copy { max-width: 600px; }
  .section-label { margin-bottom: 14px; }
  h2 { max-width: 580px; font-size: clamp(45px,7.5vw,63px); }
  .tech-copy > p:not(.section-label) { margin-top: 17px; }
}
@media (max-width: 530px) {
  .theme-picker { position: static; }
  .theme-toggle { min-width: 44px; min-height: 44px; gap: 6px; padding-inline: 7px; }
  .theme-toggle .theme-swatch { width: 16px; }
  .theme-name { display: none; }
  .theme-menu { inset-block-start: calc(100% - 4px); }
  .top .brand img { width: clamp(126px,35.9vw,149px); }
  h1 { font-size: clamp(48px,11vw,62px); line-height: .96; }
  .hero-copy > p { max-width: 390px; font-size: 15px; }
  .hero-copy { margin-bottom: clamp(20px,3.7svh,31px); }
  .exhibition figcaption { gap: 6px; font-size: 12.5px; }
  .section-label { font-size: 13px; }
  .footer-line .brand img { width: 117px; }
}
@media (max-width: 380px) {
  .top .contact-link { gap: 8px; padding-inline: 9px; }
}
@media (max-width: 359px) {
  .top-links { gap: 8px; }
  .top .contact-link .link-symbol { display: none; }
  .exhibition figcaption { flex-wrap: wrap; row-gap: 3px; }
}
@media (max-width: 530px) and (max-height: 790px) {
  .top { min-height: 61px; }
  .hero-grid { padding-block: 14px 24px; }
  .hero-copy { margin-bottom: 18px; }
}
@media (min-width: 560px) and (max-height: 520px) and (orientation: landscape) {
  :root { --gutter: clamp(16px,3.2vw,36px); }
  .top { min-height: 44px; }
  .top .brand img { width: 121px; }
  .top-links { font-size: 12px; }
  .contact-link { padding: 6px 12px; }
  .hero-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-areas: "copy artwork" ". controls"; column-gap: 4vw; padding-block: 11px; }
  .hero-copy { margin-bottom: 0; }
  h1 { font-size: clamp(38px,11.2svh,56px); }
  h1 br:first-of-type { display: initial; }
  .hero-copy > p { max-width: 340px; margin-top: 9px; font-size: 13px; line-height: 1.28; }
  .exhibition, .controls { max-width: min(100%,84svh); }
  .exhibition figcaption { margin-top: 4px; font-size: 12px; }
  .painting-title { padding: 18px 12px 10px; }
  .painting-title strong { font-size: 24px; }
  .chapters button { gap: 4px; padding: 4px 2px; }
  .chapters img { width: 34px; height: 23px; }
}
@media (hover: hover) and (pointer: fine) {
  .art-invitation { opacity: 0; }
  .art-invitation-click { display: inline; }
  .art-invitation-touch { display: none; }
  .art-frame:is(:hover, :focus-visible) .art-invitation { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .art-invitation { transition: opacity 200ms ease; }
  .renderer { transition: opacity 180ms ease; }
  .exhibition-arrow, .back-to-top polyline { transition: transform 230ms ease; }
  .chapters button { transition: transform 135ms ease-out; }
  .chapters button:active { transform: scale(.98); transition-duration: 0ms; }
  .mail-label::after { transition: transform 450ms cubic-bezier(.22,.7,.2,1); }
  .mail-glyph { --mail-lift: var(--pointer-lift,0); --mail-depth: max(0,var(--mail-lift)); }
  .mail-glyph-face {
    --mail-face-transform: translateY(calc(var(--mail-lift) * -.3em))
      rotateX(calc(var(--mail-lift) * 31deg))
      rotateZ(calc(var(--mail-lift) * var(--pointer-tilt,0deg)));
    transform: var(--mail-face-transform);
  }
  .mail-glyph-echo::before, .mail-glyph-echo::after {
    content: attr(data-glyph);
    transform-origin: center 72%;
  }
  .mail-glyph-entrance::before { content: attr(data-glyph); }
  .mail-glyph-echo::before {
    opacity: calc(var(--mail-depth) * .8);
    transform: translate(calc(var(--mail-depth) * .045em),calc(var(--mail-depth) * -.12em))
      rotateX(calc(var(--mail-depth) * 15deg));
  }
  .mail-glyph-echo::after {
    opacity: calc(var(--mail-depth) * .4);
    transform: translate(calc(var(--mail-depth) * .085em),calc(var(--mail-depth) * .06em))
      rotateX(calc(var(--mail-depth) * -14deg));
  }
  .mail-address { transition: transform 320ms cubic-bezier(.22,.68,.26,1); }
  .mail:focus-visible .mail-address { transform: translateY(-.045em); }
  .mail-opening .mail-label { clip-path: inset(-.78em -.22em -.35em); }
  .mail-opening .mail-label::after {
    transform-origin: var(--mail-origin) center;
    animation: mail-open-line 620ms cubic-bezier(.16,.78,.22,1);
  }
  .mail-opening .mail-glyph-face {
    animation: mail-open-face 460ms cubic-bezier(.2,.72,.22,1) var(--mail-open-delay) both;
  }
  .mail-opening .mail-glyph-echo::before, .mail-opening .mail-glyph-echo::after {
    animation: mail-open-slice 460ms cubic-bezier(.2,.72,.22,1) var(--mail-open-delay) both;
  }
  .mail-opening .mail-glyph-echo::before {
    --slice-x: .14em;
    --slice-y: -.48em;
    --slice-angle: 27deg;
    clip-path: polygon(0 0,100% 0,100% 39%,0 63%);
    color: var(--contact-accent);
  }
  .mail-opening .mail-glyph-echo::after {
    --slice-x: -.15em;
    --slice-y: .25em;
    --slice-angle: -25deg;
    clip-path: polygon(0 63%,100% 39%,100% 100%,0 100%);
  }
  .contact-arrived h2 { animation: contact-heading-in 510ms ease-out both; }
  .contact-arrived .mail-glyph-entrance {
    animation: contact-echo-in 650ms ease-out var(--glyph-delay);
  }
  .contact-arrived .footer-line::before { animation: contact-line-in 760ms cubic-bezier(.2,.75,.22,1) 260ms both; }
}

@keyframes mail-open-face {
  0%, 100% { transform: var(--mail-face-transform); }
  17% { transform: translateY(.085em) rotateX(-24deg) scaleY(.91); }
  39% {
    transform: translate(calc(var(--mail-open-direction) * .15em),-.32em)
      rotateX(34deg) rotateZ(calc(var(--mail-open-direction) * 12deg)) scale(1.035,1.10);
  }
  70% { transform: translateY(.06em) rotateX(-12deg) scaleY(.96); }
  87% { transform: translateY(-.028em) rotateX(5deg); }
}
@keyframes mail-open-slice {
  0%, 100% { opacity: 0; transform: none; }
  31% { opacity: .88; }
  47% { opacity: .74; transform: translate(var(--slice-x),var(--slice-y)) rotateX(var(--slice-angle)); }
  75% { opacity: .20; }
}
@keyframes mail-open-line {
  0% { opacity: .35; transform: scale(.025,3.4); }
  22% { opacity: 1; transform: scale(.42,2.7); }
  66% { opacity: .87; transform: scale(1,1); }
  100% { opacity: .48; transform: scale(1,.8); }
}
@keyframes contact-heading-in {
  from { opacity: .8; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}
@keyframes contact-echo-in {
  from { opacity: 0; transform: translate(.045em,.14em) rotateX(-25deg); }
  34% { opacity: .8; }
  to { opacity: 0; transform: translate(.025em,-.075em) rotateX(0); }
}
@keyframes contact-line-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
