@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root { color-scheme: light; --paper: #ffa1c0; --ink: #460724; --gutter: clamp(19px, 3.4vw, 74px); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, Arial, sans-serif; }
.sheet { height: 100vh; height: 100svh; position: relative; overflow: hidden; isolation: isolate; background: var(--paper); }
.print { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: crosshair; }
.impression { position: absolute; left: 72%; top: 48%; width: min(62vw, 100vh); height: auto; transform: translate(-50%,-50%) rotate(18deg); filter: drop-shadow(4px 2px 0 #ff2776); pointer-events: none; }
canvas { position: absolute; inset: 0; width: 100%; height: 100%; visibility: hidden; }
.ready canvas { visibility: visible; }
.ready .impression { visibility: hidden; }
.sheet::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url("grain.png"); opacity: .09; mix-blend-mode: multiply; z-index: 3; }
header, footer { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
header { top: max(env(safe-area-inset-top), clamp(16px,3.4vh,46px)); }
footer { bottom: max(env(safe-area-inset-bottom), clamp(14px,2.7vh,38px)); }
.monogram { width: clamp(56px, 5vw, 94px); height: auto; }
a, button { color: inherit; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; font-size: clamp(12px, 1vw, 17px); font-weight: 640; letter-spacing: -.035em; display: inline-flex; align-items: center; gap: .28em; min-height: 44px; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
.email { padding-inline: 7px; margin-right: -7px; }
a span { font-weight: 500; }
.credit strong { font-weight: 810; }
.identity { position: absolute; z-index: 1; left: var(--gutter); bottom: 16%; width: min(45vw, 82vh); pointer-events: none; }
h1 { margin: 0; }
h1 img { display: block; width: 100%; height: auto; }
.identity p { margin: clamp(12px, 2.3vh, 26px) 0 0; max-width: 36ch; font-size: clamp(14px, 1.1vw, 20px); line-height: 1.35; font-weight: 550; letter-spacing: -.025em; text-wrap: balance; }
.motion { cursor: pointer; border: 1px solid currentColor; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); }
.motion[hidden] { display: none; }
.motion i { display: block; width: 10px; height: 13px; border-inline: 3px solid currentColor; }
.motion.paused i { width: 0; height: 0; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor; transform: translateX(1px); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.print:focus-visible { outline-offset: -6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-aspect-ratio: 4/5) {
  .identity { width: min(85vw, 51svh); bottom: 13%; }
  .impression { width: min(104vw,73vh); left: 66%; top: 34%; }
}
@media (max-height: 460px) and (min-aspect-ratio: 4/5) { .identity { bottom: 19%; width: min(46vw, 92vh); } .identity p { margin-top: 8px; } header { top: 4px; } footer { bottom: 4px; } }
.email { isolation: isolate; position: relative; }
.email::before { content: ''; position: absolute; z-index: -1; inset: 7px 0; background: var(--paper); transform: rotate(-1deg); }
