.two-shores { background:#f6f0e4; color:#17392a; font:16px/1.45 system-ui,sans-serif; --ink:#17392a; --muted:#46574c; --line:#c9b894; --gold:#78582e; }
.two-shores *,.two-shores *::before,.two-shores *::after { box-sizing:border-box; }
.two-shores [hidden] { display:none !important; }
.two-shores { width:min(1320px,100% - 72px); margin-inline:auto; padding:34px 0 42px; }
.two-shores .intro { display:grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 30%); align-items:end; gap:15px 28px; padding-bottom:20px; }
.two-shores .eyebrow { margin:0 0 8px; color:var(--gold); text-transform:uppercase; font-weight:740; font-size:.75rem; letter-spacing:.10em; }
.two-shores .ts-title,.two-shores h3 { margin:0; font:400 2.4rem/.99 "Cormorant Garamond", Georgia, serif; letter-spacing:-.037em; }
.two-shores .ts-title { font-size:clamp(3.2rem,6.1vw,5.55rem); text-wrap:balance; }
.two-shores .intro-note { max-width:32ch; color:var(--muted); justify-self:end; margin:0 0 3px; }
.two-shores .frame { width:100%; min-width:0; position:relative; isolation:isolate; display:grid; aspect-ratio:1860/845; overflow:hidden; border-radius:9px; background:#53634e; }
.two-shores .world-fallback, .two-shores #two-shores-world { position:absolute; inset:0; width:100%; height:100%; }
.two-shores .world-fallback { object-fit:cover; }
.two-shores [data-ready] .world-fallback { visibility:hidden; }
.two-shores .dispatch { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); display:flex; align-items:center; gap:15px clamp(15px,2.4vw,36px); justify-content:space-between; }
.two-shores .dispatch-heading { flex:1 1 270px; }
.two-shores .dispatch h3 { font-size:clamp(1.95rem,3vw,2.7rem); }
.two-shores .dispatch p { margin:4px 0 0; color:var(--muted); font-size:.86rem; }
.two-shores #two-shores-roster { flex:1 1 660px; min-inline-size:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.two-shores #two-shores-roster .messenger {
  --tile:#f7ecd5; --hover:#eee5c3; --tilt:-6deg;
  min-width:0; min-height:91px; position:relative; isolation:isolate;
  display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:7px;
  padding:6px 21px 6px 9px; text-align:left; color:var(--ink);
  background:var(--tile); border:1px solid #bba475; border-radius:8px 8px 6px 6px;
  box-shadow:inset 0 0 0 2px #fbf3e2a8, 0 2px 3px #30240e13;
  transition:background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color:transparent;
}
.two-shores #two-shores-roster .messenger::before {
  content:""; position:absolute; inset:auto 24px 12px 12px; height:28px; z-index:-1;
  background:radial-gradient(ellipse at 18% 83%,#7455313a,transparent 58%); pointer-events:none;
}
.two-shores #two-shores-roster [data-messenger="scout"] { --tile:#f1ebd2; --hover:#e6e9cc; }
.two-shores #two-shores-roster [data-messenger="dilly"] { --tile:#ebeddb; --hover:#d9e7da; --tilt:6deg; }
.two-shores #two-shores-roster [data-messenger="glutton"] { --tile:#f6e8d2; --hover:#f1dcb8; --tilt:-3deg; }
.two-shores #two-shores-roster img { display:block; object-fit:contain; object-position:50% 100%; width:clamp(51px,6.1vw,83px); height:76px; transform-origin:50% 88%; transition:transform 200ms cubic-bezier(.2,.8,.2,1); }
.two-shores #two-shores-roster span { min-inline-size:0; font:700 clamp(1.25rem,2.1vw,1.8rem)/1 "Cormorant Garamond",Georgia,serif; }
.two-shores #two-shores-roster small { display:block; font:560 .75rem/1.18 system-ui,sans-serif; color:var(--muted); margin-top:4px; }
.two-shores #two-shores-roster i { position:absolute; right:8px; top:7px; color:#755928; font:700 .88rem/1 system-ui,sans-serif; transition:transform 160ms ease; }
.two-shores #two-shores-roster .messenger:focus-visible, .two-shores #two-shores-roster .messenger[data-picked] {
  background:var(--hover); border-color:#586946; box-shadow:inset 0 0 0 2px #899474, 0 3px 6px #30240e26;
}
@media (hover:hover) {
  .two-shores #two-shores-roster .messenger:not(:disabled):not([aria-disabled="true"]):hover {
    background:var(--hover); border-color:#586946; transform:translateY(-3px);
    box-shadow:inset 0 0 0 2px #899474, 0 5px 8px #30240e2e;
  }
  .two-shores #two-shores-roster .messenger:not(:disabled):not([aria-disabled="true"]):hover img { transform:translateY(-3px) rotate(var(--tilt)); }
  .two-shores #two-shores-roster .messenger:not(:disabled):not([aria-disabled="true"]):hover i { transform:translate(1px,-1px); }
}
.two-shores #two-shores-roster .messenger:not(:disabled):not([aria-disabled="true"]):active { transform:translateY(1px) scale(.98); }
.two-shores #two-shores-roster .messenger:disabled, .two-shores #two-shores-roster .messenger[aria-disabled="true"] { cursor:progress; }
.two-shores #two-shores-roster .messenger[data-picked] { transform:translateY(1px); }
.two-shores #two-shores-roster .messenger[data-picked] i { color:var(--ink); }
.two-shores button:focus-visible { outline:2px solid #965c38; outline-offset:3px; }
.two-shores .actions { display:flex; gap:6px; flex-wrap:wrap; }
.two-shores .actions:empty, .two-shores .actions:not(:has(button:not([hidden]))) { display:none; }
.two-shores button { min-height:44px; padding:8px 13px; font:700 .85rem/1.12 system-ui,sans-serif; cursor:pointer; }
.two-shores .seal,.two-shores .world-action { color:#fff6e3; background:#264936; border:1px solid #a68b57; box-shadow:inset 0 0 0 1px #e6ca844a, 0 2px 6px #29261529; border-radius:5px; }
.two-shores .seal:hover,.two-shores .world-action:hover { background:#385b45; }
.two-shores .seal:disabled { opacity:.62; cursor:progress; }
.two-shores .quiet { color:var(--ink); background:transparent; border:0; text-decoration:underline; text-underline-offset:.2em; }
.two-shores .world-action { position:absolute; z-index:2; left:var(--mail-x,68%); top:var(--mail-y,61%); transform:translate(-50%, 8px); white-space:nowrap; }
.two-shores .letter-stage { position:absolute; inset:0; display:grid; place-items:center; z-index:3; background:#241c1236; padding:16px; }
.two-shores .envelope { max-width:360px; width:78%; border:0; background:none; padding:5px; color:#fff1d2; display:grid; justify-items:center; gap:10px; outline-offset:4px; }
.two-shores .envelope img { width:100%; max-height:220px; object-fit:contain; filter:drop-shadow(2px 13px 10px #2c201982); animation:two-shores-raise-envelope 640ms cubic-bezier(.15,.64,.26,1) both; }
.two-shores .envelope span { background:#264936; border:1px solid #bca164; padding:8px 11px; border-radius:4px; }
.two-shores .letter { position:relative; width:min(550px,92%); min-height:220px; max-height:100%; overflow:auto; background:#fae8c2 url(assets/paper.webp) center/100% 100% no-repeat; padding:clamp(29px,5vw,62px); color:#543922; box-shadow:0 10px 24px #291b1263; border-radius:8px; animation:two-shores-unfold 540ms cubic-bezier(.19,.62,.23,1) both; }
.two-shores .letter h3 { font:400 clamp(2rem,4.2vw,3.3rem)/.98 "Cormorant Garamond",Georgia,serif; }
.two-shores .letter p { margin:0 0 10px; }
.two-shores .letter-signature { color:#75583b; padding-top:10px; }
.two-shores .letter button { padding-left:0; }
@keyframes two-shores-raise-envelope { from { transform:translate(var(--hand-x,28%),var(--hand-y,10%)) rotate(-11deg) scale(.26); opacity:.2; } to { transform:none; opacity:1; } }
@keyframes two-shores-unfold { from { transform:translateY(16px) rotate(-3deg) scale(.88); clip-path:inset(40% 0); } to { transform:none; clip-path:inset(0 round 8px); } }
.two-shores .sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:1050px) {
  .two-shores .dispatch { flex-wrap:wrap; gap:12px 15px; }
  .two-shores .dispatch-heading { flex-basis:100%; }
  .two-shores #two-shores-roster { flex:0 1 600px; }
}
@media(max-width:680px) {
  .two-shores { width:calc(100% - 28px); padding-top:23px; }
  .two-shores .intro { grid-template-columns:1fr; gap:9px; padding-bottom:14px; }
  .two-shores .intro-note { justify-self:start; font-size:.94rem; }
  .two-shores .dispatch { align-items:start; }
  .two-shores #two-shores-roster { flex-basis:100%; }
  .two-shores #two-shores-roster .messenger { min-height:123px; grid-template-columns:minmax(0,1fr); justify-items:center; align-content:start; text-align:center; gap:3px; padding:7px 3px 8px; }
  .two-shores #two-shores-roster .messenger::before { inset:auto 11px 43px; background:radial-gradient(ellipse at center,#74553135,transparent 63%); }
  .two-shores #two-shores-roster img { width:64px; height:64px; }
  .two-shores #two-shores-roster span { line-height:.97; }
  .two-shores #two-shores-roster small { font-size:.66rem; }
  .two-shores #two-shores-roster i { right:5px; top:5px; font-size:.75rem; }
  .two-shores .letter { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .two-shores .envelope img,.two-shores .letter { animation:none; } }

.two-shores .world-action::before { content:""; position:absolute; inset:-73px -9px 0; }
@media (max-width:680px) {
  .two-shores .world-action { transform:translate(-50%,5px); }
  .two-shores .world-action::before { top:-65px; }
}

.two-shores .dispatch p:empty { display:none; }

@media (prefers-reduced-motion:reduce) {
  .two-shores #two-shores-roster .messenger, .two-shores #two-shores-roster .messenger img, .two-shores #two-shores-roster i { transition:none; transform:none !important; }
}
