/* The top bar, shared by every page: it stays pinned while the page scrolls,
   with a faint line under it once the page has moved. On a phone the three links fold into a menu button. */
.top { position:sticky; top:0; z-index:30; background:#fff; align-items:center; margin:-14px -24px 0; padding:14px 24px 12px; border-bottom:1px solid transparent; transition:border-color .2s; }
.top.stuck, .top.open { border-bottom-color:#e6e6e6; }
.top > a { display:block; }
/* The three links, larger than the 11px small-caps labels elsewhere. The page you are on is bold black with a red rule under it;
   the rule stops at the last letter, short of the letter-spacing that trails it. On a phone the links are a list, so it is bold only. */
.top nav { font-size:16px; letter-spacing:.18em; }
.top nav a[aria-current] { color:#0d0d0d; font-weight:700; }
@media (min-width:701px) { .top nav a[aria-current] { background:linear-gradient(#ef291d,#ef291d) 0 calc(100% - 9px) / calc(100% - .18em) 2px no-repeat; } }
.top .menu { display:none; }
[id] { scroll-margin-top:96px; }

@media (max-width:700px) {
  .top { flex-wrap:nowrap; }
  .top .menu { display:flex; flex-direction:column; justify-content:center; gap:5px; width:44px; height:44px; padding:11px 9px; margin-right:-9px; background:none; border:0; cursor:pointer; }
  .top .menu span { display:block; height:1.5px; background:#0d0d0d; transition:transform .2s, opacity .2s; }
  .top .menu:focus-visible { outline:2px solid #ef291d; outline-offset:2px; }
  .top.open .menu span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
  .top.open .menu span:nth-child(2) { opacity:0; }
  .top.open .menu span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }
  .top nav { display:none; position:absolute; left:0; right:0; top:100%; flex-direction:column; flex-wrap:nowrap; gap:0; background:#fff; padding:0 24px 8px; border-bottom:1px solid #e6e6e6; }
  .top.open nav { display:flex; }
  .top nav a { padding:16px 0; border-top:1px solid #e6e6e6; }
}

/* The email form, shared by every page. Any link marked data-email-form opens it. */
.notify { margin:auto; width:calc(100% - 48px); max-width:420px; padding:0; border:none; border-top:2px solid #ef291d; background:#fff; color:#0d0d0d; text-align:left; box-shadow:0 24px 60px -12px rgba(13,13,13,.28), 0 2px 6px rgba(13,13,13,.06); }
.notify::backdrop { background:rgba(13,13,13,.32); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.notify[open] { animation:notify-in .32s cubic-bezier(.2,.7,.2,1); }
.notify[open]::backdrop { animation:notify-fade .32s ease; }
@keyframes notify-in { from { opacity:0; transform:translateY(10px); } }
@keyframes notify-fade { from { opacity:0; } }
.notify-body { position:relative; padding:34px 32px 30px; }
.notify-close { position:absolute; top:10px; right:12px; width:32px; height:32px; border:none; background:none; font-family:'Manrope',system-ui,sans-serif; font-size:20px; line-height:1; color:#6b6b6b; cursor:pointer; }
.notify-close:hover { color:#b8242e; }
.notify-label { font-family:'Manrope',system-ui,sans-serif; font-size:10px; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:#6b6b6b; }
.notify-title { font-size:22px; font-weight:400; letter-spacing:-.01em; line-height:1.25; margin:10px 0 0; }
.notify-copy { font-size:15px; font-weight:300; line-height:1.6; color:#1a1a1a; margin:10px 0 0; }
.notify-copy a { color:inherit; text-decoration-color:#e6e6e6; text-underline-offset:3px; }
.notify-form { display:flex; align-items:stretch; gap:10px; margin-top:22px; }
.notify-input { flex:1; min-width:0; border:none; border-bottom:1px solid #3a3a3a; border-radius:0; background:none; padding:8px 0; font-family:'Sentient','Times New Roman',serif; font-size:16px; font-weight:300; color:#0d0d0d; outline:none; }
.notify-input::placeholder { color:#8a8a8a; }
.notify-input:focus { border-bottom-color:#ef291d; }
.notify-submit { border:none; background:#0d0d0d; color:#fff; padding:0 16px; min-height:44px; font-family:'Manrope',system-ui,sans-serif; font-size:10px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; cursor:pointer; }
.notify-submit:hover { background:#b8242e; }
.notify-submit:disabled { background:#6b6b6b; cursor:default; }
.notify-close:focus-visible, .notify-submit:focus-visible { outline:2px solid #ef291d; outline-offset:2px; }
.notify-hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.notify-error { font-family:'Manrope',system-ui,sans-serif; font-size:12px; line-height:1.5; color:#b8242e; margin:12px 0 0; }
.notify-error a { color:inherit; }
.notify [hidden] { display:none; }
@media (prefers-reduced-motion:reduce) { .notify[open], .notify[open]::backdrop { animation:none; } }
@media (max-width:560px) { .notify-body { padding:32px 24px 26px; } }
