.contact-drawer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#eee9dd;overflow:hidden;font-family:'DM Sans',sans-serif}
.contact-drawer::backdrop{background:rgb(0 0 0 / 0);transition:background .36s ease}
.contact-drawer.is-visible::backdrop{background:rgb(0 0 0 / .65)}
.contact-drawer__panel{position:absolute;right:0;top:0;bottom:0;width:min(100%,470px);padding:30px 38px max(28px,env(safe-area-inset-bottom));display:flex;flex-direction:column;background:linear-gradient(145deg,#171717,#0b0b0b 65%);border-left:1px solid #35332e;box-shadow:-24px 0 80px #0005;transform:translateX(100%);transition:transform .42s cubic-bezier(.22,.8,.22,1);overflow-y:auto;box-sizing:border-box}
.contact-drawer.is-visible .contact-drawer__panel{transform:translateX(0)}
.contact-drawer__top{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#a19e96;font-size:10px;letter-spacing:.16em}
.contact-drawer__close{display:grid;place-items:center;width:38px;height:38px;padding:8px;border:1px solid #4a4740;border-radius:50%;background:transparent;color:#eee9dd;cursor:pointer}
.contact-drawer svg{display:block;width:22px;height:22px;flex-shrink:0}
.contact-drawer__intro{margin:clamp(30px,8svh,88px) 0 38px}
.contact-drawer__intro h2{margin:0 0 20px;font:400 clamp(52px,7vw,72px)/1.05 'DM Serif Display',Georgia,serif;letter-spacing:-.04em;color:#eee9dd}
.contact-drawer__intro h2 em{color:#e7b957;font-weight:400}
.contact-drawer__intro p{margin:0;color:#a9a69e;font-size:14px;line-height:1.7;letter-spacing:0}
.contact-drawer__routes{border-top:1px solid #393731;display:grid}
.contact-drawer__routes a{display:flex;align-items:center;gap:18px;padding:21px 0;border-bottom:1px solid #393731;text-decoration:none;color:#eee9dd;transition:color .2s,background .2s;font-size:14px}
.contact-drawer__routes a>span{flex:1;min-width:0}
.contact-drawer__routes a>svg:last-child{width:17px;height:17px;color:#858178}
.contact-drawer__routes small{display:block;margin-bottom:5px;color:#959188;font:400 10px/1.3 'DM Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase}
.contact-drawer__all{display:flex;align-items:center;justify-content:space-between;margin-top:30px;padding:18px 20px;background:#eee9dd;border:1px solid #eee9dd;color:#141414!important;text-decoration:none;font-size:13px;letter-spacing:.03em;transition:background .2s,border-color .2s}
.contact-drawer__all svg{width:18px;height:18px}
.contact-drawer__signature{margin:auto 0 0;padding-top:30px;color:#77736d;font-size:10px;letter-spacing:.12em}
.contact-drawer__routes a:hover,.contact-drawer__close:hover{color:#e7b957}
.contact-drawer__all:hover{background:#e7b957;border-color:#e7b957}
.contact-drawer a:focus-visible,.contact-drawer button:focus-visible{outline:2px solid #e7b957;outline-offset:4px}
@media(max-width:600px){.contact-drawer__panel{padding:20px 26px max(24px,env(safe-area-inset-bottom))}.contact-drawer__intro{margin:34px 0 28px}.contact-drawer__routes a{padding:18px 0}}
@media(max-height:650px){.contact-drawer__intro{margin:18px 0 20px}.contact-drawer__intro h2{font-size:50px;margin-bottom:12px}.contact-drawer__routes a{padding:13px 0}.contact-drawer__all{margin-top:20px;padding-block:14px}.contact-drawer__signature{padding-top:18px}}
@media(prefers-reduced-motion:reduce){.contact-drawer__panel,.contact-drawer::backdrop{transition:none}}

/* Small directional cues; the all-links action shares the site's cut corner. */
.contact-drawer__routes a>svg:last-child{width:14px;height:14px;transition:transform .28s ease}
.contact-drawer__all{clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);border:0;border-radius:2px}
.contact-drawer__all>svg{width:15px;height:15px;transition:transform .28s ease}
.contact-drawer__all .nav-roll-inner{transition:none}
.contact-drawer__all:hover .nav-roll-inner,.contact-drawer__all:focus-visible .nav-roll-inner{transition:transform .48s cubic-bezier(.625,.05,0,1);transition-delay:calc(var(--char-index)*28ms);transform:translateY(-100%)}
.contact-drawer__routes a:hover>svg:last-child,.contact-drawer__routes a:focus-visible>svg:last-child,.contact-drawer__all:hover>svg,.contact-drawer__all:focus-visible>svg{transform:rotate(45deg)}
@media(prefers-reduced-motion:reduce){.contact-drawer__routes a>svg:last-child,.contact-drawer__all>svg,.contact-drawer__all:hover .nav-roll-inner,.contact-drawer__all:focus-visible .nav-roll-inner{transition:none}}

/* A slower, compositor-friendly slide on phones, including the dimmed backdrop. */
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .contact-drawer__panel {
    transform: translate3d(100%, 0, 0);
    transition: transform .65s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
  }
  .contact-drawer.is-visible .contact-drawer__panel { transform: translate3d(0, 0, 0); }
  /* A softer start keeps the phone drawer from snapping into view; the
     closed-state easing still controls the existing smooth exit. */
  .contact-drawer.is-visible .contact-drawer__panel {
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  }
  .contact-drawer::backdrop { transition-duration: .5s; }
}
