/* Native dialog owns the top layer; no fake overlay or duplicate navigation. */
.navigation-drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--cream);
    background: var(--deep);
    overflow: auto;
    overscroll-behavior: contain;
}
.navigation-drawer::backdrop { background: #08150de6; }
.drawer-shell {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: max(26px,env(safe-area-inset-top)) max(32px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(32px,env(safe-area-inset-left));
}
.drawer-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg,#10291af2 16%,#10291ab3 60%,#10291a60), url('../images/botanical-canopy-960.webp') center 47%/cover;
}
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid #f8f5ed36; }
.drawer-brand { display: flex; flex-direction: column; gap: 4px; }
.drawer-brand .brand-name { font-size: 46px; }
.drawer-brand .brand-sub { font-size: 12px; letter-spacing: .12em; }
.drawer-close { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 0 10px 16px; color: var(--cream); background: none; border: 0; }
.drawer-close .icon { width: 28px; height: 28px; }
.drawer-close:hover { color: #e2c497; }
.drawer-body { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 60px; padding-block: 46px; }
.drawer-navigation .eyebrow, .drawer-story .eyebrow { color: #d8c19e; }
.navigation-drawer .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-top: 20px; counter-reset: drawer-links; }
.navigation-drawer .nav-link { display: flex; align-items: center; gap: 18px; min-height: 74px; padding: 10px 0; color: var(--cream); font-size: clamp(36px,6.2vw,58px); line-height: 1.2; letter-spacing: -.045em; border-bottom: 1px solid #f8f5ed25; }
.navigation-drawer .nav-link::before { counter-increment: drawer-links; content: '0' counter(drawer-links); font-size: 16px; font-weight: 400; letter-spacing: .03em; color: #d8c19e; }
.navigation-drawer .nav-link::after { display: none; }
.navigation-drawer .nav-link .icon { display: block; width: 22px; height: 22px; margin-left: auto; transition: transform .22s var(--ease); }
.navigation-drawer .nav-link:hover .icon { transform: translateX(5px); }
.navigation-drawer .nav-link.is-active { color: #e2c497; }
.navigation-drawer .nav-quote { display: flex; margin: 28px 0 0; min-height: 56px; background: var(--cream); color: var(--forest); border-color: var(--cream); }
.drawer-story { max-width: 360px; }
.drawer-statement { font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-block: 18px; }
.drawer-story > p:not(.eyebrow) { color: #e2e6d8; }
.drawer-contact { display: flex; gap: 12px; align-items: center; min-height: 52px; margin-top: 24px; font-weight: 700; }
.drawer-contact > .icon:last-child { width: 16px; }
.drawer-email { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; max-width: 100%; font-size: 16px; color: #e2e6d8; }
.drawer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid #f8f5ed36; color: #d8c19e; font-size: 16px; }
.drawer-bottom > span:first-child { display: flex; align-items: center; gap: 12px; }
@media (max-width: 600px) {
    .drawer-shell { padding-inline: 24px; }
    .drawer-body { grid-template-columns: 1fr; gap: 26px; padding-block: 28px; align-items: start; }
    .drawer-brand .brand-name { font-size: 39px; }
    .navigation-drawer .nav-link { min-height: 65px; font-size: 42px; }
    .drawer-story .eyebrow, .drawer-statement, .drawer-story > p { display: none; }
    .drawer-story { max-width: none; }
    .drawer-contact { margin-top: 0; }
    .drawer-bottom { padding-top: 18px; }
    .drawer-bottom > span:last-child { display: none; }
}
@media (max-height: 540px) and (min-width: 601px) {
    .drawer-shell { padding: 18px 32px; }
    .drawer-top { padding-bottom: 14px; }
    .drawer-brand .brand-name { font-size: 34px; }
    .drawer-body { padding-block: 20px; gap: 44px; align-items: start; }
    .navigation-drawer .nav-link { min-height: 52px; font-size: 30px; padding-block: 5px; }
    .navigation-drawer .main-nav { margin-top: 8px; }
    .navigation-drawer .nav-quote { margin-top: 16px; }
    .drawer-bottom { padding-top: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
    .navigation-drawer[open]:not(.is-closing) .nav-link { animation: drawer-link-in .48s var(--ease) both; }
    .navigation-drawer[open] .nav-link:nth-child(2) { animation-delay: .04s; }
    .navigation-drawer[open] .nav-link:nth-child(3) { animation-delay: .08s; }
    .navigation-drawer[open] .nav-link:nth-child(4) { animation-delay: .12s; }
}
@keyframes drawer-link-in { from { opacity: .2; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
