/* Contact page (contact.html): the drafting table, the letter, the pigeon. */
:root {
  --ink: #2A1B10;
  --ink-dry: #33231a;
  --wax: #a8231b;
  --serif: "IM Fell English", "Iowan Old Style", Georgia, serif;
  --sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: #1c110a; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; overflow-x: hidden; background: transparent; color: #f3e6c8; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid #b0301f; outline-offset: 3px; }

/* ===== Header (same as the rest of the site) ===== */
.top {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  mix-blend-mode: difference;
}
.brand { font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; white-space: nowrap; }
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav a { font-size: 13px; font-weight: 500; text-decoration: none; color: #fff; padding: 7px 14px; border: 1px solid transparent; border-radius: 999px; transition: border-color .15s; }
.nav a:hover { border-color: #fff; }
.back {
  position: fixed; z-index: 40; left: max(24px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 54px);
  font: 500 12px/1 var(--sans); letter-spacing: .04em; color: rgba(255, 240, 214, .82); text-decoration: none; padding: 6px 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.back:hover { color: #fff; }

/* ===== The room: window onto Florence, walnut drafting table ===== */
.roomwrap { position: relative; min-height: 100svh; }
.room { position: fixed; inset: 0; overflow: hidden; background: #1c110a; z-index: 0; }
.sky { position: absolute; left: 0; right: 0; top: 0; height: 44%; overflow: hidden; background: #6b5a44; }
.sky .img { position: absolute; inset: -14px; background: url("../florence/film-city.jpg") 50% 27% / cover no-repeat; filter: blur(2.6px) brightness(.7) saturate(1.08) sepia(.16); }
.sky::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(18, 9, 3, .62), rgba(18, 9, 3, 0) 34%),
    linear-gradient(to top, rgba(18, 9, 3, .55), rgba(18, 9, 3, 0) 30%),
    linear-gradient(90deg, rgba(18, 9, 3, .62), rgba(18, 9, 3, 0) 16%, rgba(18, 9, 3, 0) 84%, rgba(18, 9, 3, .62)); }
.sky::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 60% 100% at 70% 20%, rgba(255, 196, 120, .22), transparent 70%); mix-blend-mode: screen; }
.mull { position: absolute; top: 0; bottom: 0; width: 16px; z-index: 3; background: linear-gradient(90deg, #170b04, #46290f 40%, #6a4421 52%, #2b1608); box-shadow: 0 0 24px 6px rgba(10, 4, 0, .5); opacity: .9; }
.mull.a { left: 24%; } .mull.b { left: 71%; }
.table {
  position: absolute; left: 0; right: 0; top: 41%; bottom: 0; z-index: 1;
  background:
    radial-gradient(ellipse 62% 70% at 50% 46%, rgba(255, 200, 130, .13), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='720'><defs><filter id='g' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.0022 0.42' numOctaves='4' seed='3' stitchTiles='stitch' result='t'/><feTurbulence type='fractalNoise' baseFrequency='0.005 0.012' numOctaves='2' seed='9' stitchTiles='stitch' result='w'/><feDisplacementMap in='t' in2='w' scale='70' xChannelSelector='R' yChannelSelector='G' result='d'/><feColorMatrix in='d' values='0 0 0 0 0.06  0 0 0 0 0.03  0 0 0 0 0.01  0 0 0 2.4 -0.95'/></filter><filter id='l' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.0018 0.7' numOctaves='3' seed='21' stitchTiles='stitch' result='t'/><feTurbulence type='fractalNoise' baseFrequency='0.004 0.01' numOctaves='2' seed='4' stitchTiles='stitch' result='w'/><feDisplacementMap in='t' in2='w' scale='50' xChannelSelector='R' yChannelSelector='G' result='d'/><feColorMatrix in='d' values='0 0 0 0 0.85  0 0 0 0 0.58  0 0 0 0 0.32  0 0 0 2.2 -1.15'/></filter></defs><rect y='0' width='1600' height='100' fill='%234a2c16'/><rect y='100' width='1600' height='106' fill='%233f2412'/><rect y='206' width='1600' height='94' fill='%23512f18'/><rect y='300' width='1600' height='110' fill='%2343270f'/><rect y='410' width='1600' height='95' fill='%234c2d17'/><rect y='505' width='1600' height='107' fill='%233d2311'/><rect y='612' width='1600' height='108' fill='%234a2a14'/><rect y='0' width='1600' height='2' fill='%23120804'/><rect y='2' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='420' y='0' width='2' height='100' fill='%23120804' opacity='.8'/><rect y='100' width='1600' height='2' fill='%23120804'/><rect y='102' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='1130' y='100' width='2' height='106' fill='%23120804' opacity='.8'/><rect y='206' width='1600' height='2' fill='%23120804'/><rect y='208' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='760' y='206' width='2' height='94' fill='%23120804' opacity='.8'/><rect y='300' width='1600' height='2' fill='%23120804'/><rect y='302' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='260' y='300' width='2' height='110' fill='%23120804' opacity='.8'/><rect y='410' width='1600' height='2' fill='%23120804'/><rect y='412' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='1380' y='410' width='2' height='95' fill='%23120804' opacity='.8'/><rect y='505' width='1600' height='2' fill='%23120804'/><rect y='507' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='640' y='505' width='2' height='107' fill='%23120804' opacity='.8'/><rect y='612' width='1600' height='2' fill='%23120804'/><rect y='614' width='1600' height='1' fill='%23805634' opacity='.55'/><rect x='980' y='612' width='2' height='108' fill='%23120804' opacity='.8'/><rect width='100%' height='100%' filter='url(%23g)'/><rect width='100%' height='100%' filter='url(%23l)' opacity='.3'/></svg>") 0 0 / 1600px 720px,
    linear-gradient(to bottom, #2a160a 0%, #4b2b15 22%, #3d2312 62%, #2b170a 100%);
  box-shadow: inset 0 14px 22px -8px rgba(0, 0, 0, .7);
}
.table::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 12px; background: linear-gradient(#5a3a1d, #7a5229 40%, #2a1608); box-shadow: 0 -8px 24px rgba(0, 0, 0, .55); }
.table::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 120% 100% at 50% 40%, transparent 50%, rgba(8, 3, 0, .6)); pointer-events: none; }
.beam { position: absolute; left: 50%; top: 36%; bottom: -10%; width: 70vw; z-index: 2; pointer-events: none; mix-blend-mode: screen; transform-origin: 30% 0;
  background: linear-gradient(100deg, transparent 0, rgba(255, 214, 150, .0) 6%, rgba(255, 208, 140, .2) 20%, rgba(255, 208, 140, .14) 44%, transparent 64%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%); mask-image: linear-gradient(to bottom, #000, transparent 94%); filter: blur(14px); }
.prop { position: absolute; z-index: 2; pointer-events: none; display: none; }
.prop svg { display: block; width: 100%; height: auto; overflow: visible; }
.p-ink { width: 112px; left: calc(50% + 365px); bottom: 14%; }
.p-comp { width: 170px; left: calc(50% - 560px); bottom: 20%; transform: rotate(-14deg); }
@media (min-width: 1180px) and (min-height: 640px) { .prop { display: block; } }

.vista { position: fixed; inset: -9%; z-index: -1; background: url("../florence/film-city.jpg") 50% 22% / cover no-repeat; filter: brightness(.92) saturate(1.05) sepia(.1); will-change: transform; }
.veil { position: fixed; inset: 0; z-index: 6; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(22, 11, 4, .62), rgba(22, 11, 4, .2) 70%, transparent); }

/* ===== Desk: the sheet ===== */
.desk { position: relative; z-index: 3; min-height: 100svh; display: grid; place-items: center; padding: 64px 12px 30px; }
.slot { position: relative; width: min(620px, 100%, max(360px, calc((100svh - 104px) * .77))); }
.sheet {
  --fs: 21px; --lh: 32px;
  position: relative; display: flex; width: 100%; aspect-ratio: 1 / 1.3; color: var(--ink);
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .5)) drop-shadow(0 3px 4px rgba(0, 0, 0, .45));
  font-family: var(--serif);
}
@media (max-height: 840px) { .sheet { --fs: 19px; --lh: 29px; } }
@media (max-height: 700px) { .sheet { --fs: 17px; --lh: 26px; } }
.clone { position: absolute !important; left: 0; top: 0; filter: none !important; aspect-ratio: auto !important; }

/* aged parchment */
.parch {
  background:
    radial-gradient(ellipse 70% 55% at 48% 42%, rgba(255, 246, 218, .6), transparent 72%),
    radial-gradient(ellipse 30% 22% at 9% 6%, rgba(140, 86, 32, .5), transparent 100%),
    radial-gradient(ellipse 26% 20% at 95% 9%, rgba(136, 84, 30, .4), transparent 100%),
    radial-gradient(ellipse 34% 26% at 92% 97%, rgba(124, 74, 26, .52), transparent 100%),
    radial-gradient(ellipse 28% 22% at 3% 93%, rgba(134, 82, 30, .46), transparent 100%),
    linear-gradient(165deg, #ecdcb8 0%, #e4d0a0 55%, #d9bf8c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(84, 48, 16, .35),
    inset 0 0 22px 2px rgba(96, 54, 16, .6),
    inset 0 0 60px 8px rgba(130, 78, 26, .38);
}
.paper { position: absolute; inset: 0; border-radius: 2px; filter: url(#rough); }
.paper::before { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .8;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='620' height='806'><filter id='m' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.017 0.02' numOctaves='5' seed='8'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.31  0 0 0 0 0.11  0 0 0 1.35 -0.5'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>") 0 0 / 100% 100%,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='f' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='3'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.22  0 0 0 0 0.1  0 0 0 0.9 -0.28'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>") 0 0 / 300px 300px; }
.paper::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent calc(50% - 7px), rgba(255, 246, 220, .22) calc(50% - 1px), rgba(86, 52, 20, .34) 50%, rgba(255, 246, 220, .3) calc(50% + 1px), rgba(86, 52, 20, .1) calc(50% + 6px), transparent calc(50% + 14px)),
    linear-gradient(to right, transparent calc(50% - 6px), rgba(255, 246, 220, .14) calc(50% - 1px), rgba(86, 52, 20, .2) 50%, rgba(255, 246, 220, .2) calc(50% + 1px), transparent calc(50% + 8px)),
    linear-gradient(to bottom, transparent calc(25% - 1px), rgba(86, 52, 20, .1) 25%, transparent calc(25% + 1px)),
    linear-gradient(to bottom, transparent calc(75% - 1px), rgba(86, 52, 20, .1) 75%, transparent calc(75% + 1px)),
    radial-gradient(ellipse 22% 14% at 74% 70%, rgba(110, 62, 18, .16), transparent 100%),
    radial-gradient(ellipse 16% 10% at 22% 36%, rgba(110, 62, 18, .12), transparent 100%); }
.parch-back {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(236, 214, 164, .35), transparent 80%),
    linear-gradient(165deg, #d3b67e 0%, #c7a76c 60%, #b8975a 100%);
  box-shadow: inset 0 0 0 1px rgba(70, 40, 12, .4), inset 0 0 26px 2px rgba(90, 50, 14, .6);
}
.sheet-in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; min-width: 0;
  padding: clamp(36px, 7.6%, 58px) clamp(28px, 9.6%, 66px) clamp(28px, 5.4%, 42px); }
.date { align-self: flex-end; font-style: italic; font-size: calc(var(--fs) * .78); letter-spacing: .01em; margin: 0 0 clamp(6px, 1.6%, 14px); opacity: .88; }
.dear { margin: 0 0 6px; font-size: calc(var(--fs) * 1.3); line-height: 1.2; }
.line { display: flex; align-items: flex-end; gap: 10px; }
.lab { font-family: var(--sc); font-size: calc(var(--fs) * .8); letter-spacing: .04em; white-space: nowrap; opacity: .82; line-height: var(--lh); }
.lab small { font-family: var(--serif); font-size: .82em; font-style: italic; letter-spacing: 0; }

/* the ink fields: real inputs, invisible text, a mirror layer paints the ink */
.ink { position: relative; display: block; min-width: 0; }
.ink-font, .ink textarea, .ink input, .mir-in {
  font-family: var(--serif); font-size: var(--fs); line-height: var(--lh); letter-spacing: 0; word-spacing: 0;
  font-kerning: none; font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0, "kern" 0; text-rendering: optimizeSpeed; tab-size: 4;
}
.ink textarea, .ink input {
  position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; resize: none;
  background-color: transparent; color: transparent; -webkit-text-fill-color: transparent; caret-color: var(--ink);
  -webkit-appearance: none; appearance: none; scrollbar-width: none; overflow-wrap: break-word; word-wrap: break-word;
}
.ink textarea::-webkit-scrollbar { display: none; }
.ink input { height: var(--lh); }
.ink ::selection { background: rgba(126, 74, 28, .3); -webkit-text-fill-color: transparent; }
.ink textarea::placeholder, .ink input::placeholder { color: rgba(42, 27, 16, .34); -webkit-text-fill-color: rgba(42, 27, 16, .34); font-style: italic; }
.ink input:-webkit-autofill, .ink input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px transparent inset; transition: background-color 99999s; -webkit-text-fill-color: transparent; }
.mir { position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--ink); z-index: 0; }
.mir-in { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; will-change: transform; }
.ink.one .mir-in { white-space: pre; }
.ink textarea, .ink input { z-index: 1; }
.mir-in span { position: relative; color: var(--ink-dry); }
.mir-in span.blot::after { content: ""; position: absolute; right: -.12em; bottom: .3em; width: .11em; height: .11em; border-radius: 50%; background: #2A1B10; opacity: .5; }
.msg-wrap { flex: 1 1 auto; min-height: calc(var(--lh) * 4); margin: 2px 0 6px; display: flex; }
.msg-wrap .ink { flex: 1; }
.msg-wrap textarea { height: 100%; min-height: calc(var(--lh) * 4);
  background-image: linear-gradient(to bottom, transparent calc(var(--lh) - 1px), rgba(86, 56, 28, .3) calc(var(--lh) - 1px), rgba(86, 56, 28, .3) var(--lh));
  background-size: 100% var(--lh); background-attachment: local; background-repeat: repeat-y; }
.line .ink { flex: 1; border-bottom: 1px solid rgba(86, 56, 28, .42); }
.line.bad .ink, .msg-wrap.bad .ink { box-shadow: 0 1px 0 0 rgba(150, 40, 25, .85); }
.yours { margin: clamp(4px, 1.2%, 10px) 0 2px; font-size: calc(var(--fs) * 1.08); font-style: italic; }
.sign { display: grid; gap: 2px; }
.err { min-height: 1.3em; margin: 4px 0 0; font-style: italic; font-size: calc(var(--fs) * .8); color: #8a1f14; line-height: 1.3; }
[hidden] { display: none !important; }
.lab.plain { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: calc(var(--fs) * .9); opacity: .9; }
/* One clear way to send: the wax seal. Then, set apart and smaller, other ways to reach me. */
.send { display: flex; justify-content: flex-end; margin-top: 2px; }
.marks { display: flex; align-items: center; justify-content: center; gap: 6px 16px; flex-wrap: wrap; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(86, 56, 28, .25); }
.marks .or { font-style: italic; font-size: calc(var(--fs) * .8); opacity: .75; }
.marks .icons { gap: clamp(10px, 3%, 20px); }
.marks .mark svg { width: 26px; height: 26px; }
.marks .mark { font-size: 10.5px; }
.icons { display: flex; align-items: flex-end; gap: clamp(12px, 4%, 26px); }
.mark { display: grid; justify-items: center; gap: 3px; background: none; border: 0; padding: 4px 3px; cursor: pointer; color: var(--ink); text-decoration: none; opacity: .86; transition: opacity .2s; font-family: var(--sc); font-size: 11.5px; letter-spacing: .05em; }
.mark svg { width: 36px; height: 36px; overflow: visible; filter: url(#wobble); }
.mark svg * { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke-width .2s; }
.mark svg .dot { fill: currentColor; stroke: none; }
.mark svg .ghost { opacity: .35; stroke-width: 1; }
.mark:hover, .mark:focus-visible { opacity: 1; color: #120A04; }
.mark:hover svg *:not(.ghost) { stroke-width: 2.1; }
.seal-btn { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 2px 4px; cursor: pointer; color: var(--ink); font-family: var(--sc); font-size: calc(var(--fs) * .84); letter-spacing: .06em; }
.seal-btn svg { width: 58px; height: 58px; overflow: visible; filter: drop-shadow(0 3px 3px rgba(40, 10, 4, .45)); }
.seal-btn:hover .lbl, .seal-btn:focus-visible .lbl { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.stage { position: absolute; inset: 0; visibility: hidden; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); pointer-events: none; }
.half { position: absolute; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back { transform: rotateX(180deg); }
.face.backY { transform: rotateY(180deg); }
.shade { position: absolute; inset: 0; background: linear-gradient(to bottom, #2a1608, #4a2a10); opacity: 0; pointer-events: none; }
.crease { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent calc(100% - 10px), rgba(60, 32, 10, .35)); }

/* ===== FX layer: scroll, pigeon, feathers ===== */
.fx { position: fixed; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.tie { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 7; opacity: 0; visibility: hidden; pointer-events: none; }
.scroll { position: absolute; left: 0; top: 0; width: 190px; height: 44px; visibility: hidden; }
.sc-body { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 16px rgba(0, 0, 0, .5); }
.sc-shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(to bottom, rgba(40, 20, 4, .78) 0%, rgba(120, 80, 30, .1) 20%, rgba(255, 248, 220, .4) 42%, rgba(120, 80, 30, .1) 64%, rgba(40, 20, 4, .82) 100%); }
.sc-cap { position: absolute; top: -1px; bottom: -1px; width: 15px; border-radius: 50%; opacity: 0; background: repeating-radial-gradient(ellipse at 50% 50%, #7c5c2e 0 1.2px, #dcc28c 1.2px 3.2px); box-shadow: inset 0 0 0 1px rgba(60, 32, 8, .45); }
.sc-cap.l { left: -7px; filter: brightness(.82); }
.sc-cap.r { right: -7px; }
.sc-string { position: absolute; left: 60%; width: 13px; top: -3px; bottom: -3px; clip-path: inset(0 0 100% 0); border-radius: 3px;
  background: repeating-linear-gradient(135deg, #b32a20 0 2px, #7a1812 2px 4px); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); }
.sc-bow { position: absolute; left: calc(60% + 6px); top: 14px; width: 24px; height: 18px; margin-left: -12px; opacity: 0; }
.sc-bow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pigeon { --pw: clamp(210px, 26vw, 380px); position: absolute; left: 0; top: 0; width: var(--pw); aspect-ratio: 320 / 200; visibility: hidden; will-change: transform; filter: drop-shadow(0 8px 10px rgba(30, 14, 4, .35)); }
.pigeon .pg { position: absolute; inset: 0; }
.pigeon .pg svg, .pigeon .pg img { width: 100%; height: 100%; display: block; object-fit: contain; overflow: visible; }
.pigeon .pg.down { visibility: hidden; }
.pigeon.f2 .pg.down { visibility: visible; }
.pigeon.f2 .pg.up { visibility: hidden; }
.pigeon.img-mode { --pw: clamp(250px, 31vw, 460px); }
.pigeon.img-mode .legscroll { display: none; }
.legscroll { position: absolute; left: 41%; top: 72%; width: 17%; height: 6.5%; opacity: 0; transform: rotate(-12deg); }
.legscroll i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(to bottom, #8a6c3a, #ecdcb2 45%, #8f7040); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); }
.legscroll b { position: absolute; left: 48%; top: -12%; bottom: -12%; width: 14%; background: #a8231b; border-radius: 1px; }
.feather { position: absolute; left: 0; top: 0; width: 26px; height: 9px; opacity: 0; }
.feather svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* ===== Done ===== */
.done { position: fixed; inset: 0; z-index: 9; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px; visibility: hidden; opacity: 0; font-family: var(--serif); }
.done h2 { margin: 0; font-weight: 400; font-size: clamp(34px, 6.2vw, 72px); line-height: 1.08; color: #f7ead0; text-shadow: 0 2px 24px rgba(20, 8, 2, .75), 0 0 2px rgba(20, 8, 2, .6); }
.done .again { cursor: pointer; background: rgba(36, 20, 8, .45); border: 1px solid rgba(247, 234, 208, .55); color: #f7ead0; padding: 10px 24px; border-radius: 999px; font-family: var(--sc); font-size: 18px; letter-spacing: .06em; backdrop-filter: blur(4px); transition: background-color .2s, border-color .2s; }
.done .again:hover { background: rgba(60, 32, 12, .65); border-color: #f7ead0; }
.done .copy { background: none; border: 0; padding: 4px; cursor: pointer; color: rgba(247, 234, 208, .78); font-family: var(--serif); font-style: italic; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; text-shadow: 0 1px 10px rgba(20, 8, 2, .8); }
.done .copy:hover { color: #fff; }
.done .note { min-height: 1.2em; font-size: 14px; font-style: italic; color: rgba(247, 234, 208, .85); text-shadow: 0 1px 8px rgba(20, 8, 2, .8); }

body.sending .desk .slot { pointer-events: none; }
body.sending .top { mix-blend-mode: normal; text-shadow: 0 1px 14px rgba(0,0,0,.65); }

/* ===== Phones ===== */
@media (max-width: 600px) {
  .top { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); gap: 8px; }
  .brand { font-size: 12px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 7px 9px; font-size: 12px; }
  .back { left: max(16px, env(safe-area-inset-left, 0px)); }
  .desk { padding: 84px 8px 28px; place-items: start center; }
  .slot { width: 100%; }
  .sheet { --fs: 17px; --lh: 28px; aspect-ratio: auto; min-height: 560px; }
  .ink textarea, .ink input { font-size: 17px; }
  .sky { height: 34%; } .table { top: 31%; }
  .sheet-in { padding: 34px 26px 26px; }
  .msg-wrap { min-height: 190px; }
  .marks { justify-content: center; gap: 8px 18px; }
  .send { justify-content: center; }
  .mark { font-size: 12px; }
  .seal-btn { font-size: 16px; }
}
