/* Contact · final · A Note to Ed — moving footage behind; answer one question at a time on the left and it gets
   handwritten onto a stamped, slightly crooked Beacon note card on the right, which seals into an envelope. */
.n2 { background: #f4efe6; }

/* ---------- hero ---------- */
.n2-hero { position: relative; min-height: 100svh; padding: calc(var(--head-h) + 46px) 0 30px; color: #fff; background: #0e1013; overflow: hidden; }
.n2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.n2-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 11, 14, .9) 0%, rgba(10, 11, 14, .7) 48%, rgba(10, 11, 14, .4) 100%), linear-gradient(0deg, rgba(10, 11, 14, .7), transparent 40%); }
/* a wash of the current step's colour over the footage */
.n2-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(90% 70% at 20% 70%, color-mix(in srgb, var(--sc) 45%, transparent), transparent 70%); transition: background .8s; pointer-events: none; mix-blend-mode: screen; opacity: .55; }
.n2-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(30px, 5vw, 80px); align-items: start; }
.n2-live { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 0 0 22px; font-size: 14px; }
.n2-live .bc-status { font-weight: 600; }
.n2-clock { color: rgba(255, 255, 255, .7); }
.n2-clock b { color: #fff; font-variant-numeric: tabular-nums; }
.n2-h1 { margin: 0 0 30px; font: 700 clamp(46px, 5.6vw, 92px)/.92 var(--display); font-variation-settings: "wdth" 86; letter-spacing: -.03em; }
.n2-h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: #f6c96b; letter-spacing: -.02em; }

/* step panel */
.n2-steps { position: relative; display: grid; gap: 16px; }
.n2-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.n2-dots li.is-on, .n2-dots li.is-done { color: #fff; }
.n2-dots li.is-done::before { content: "✓ "; color: #f6c96b; }
.n2-step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.n2-step.is-on { display: grid; gap: 18px; animation: n2-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes n2-in { from { opacity: 0; transform: translateY(14px); } }
.n2-q { padding: 0; margin: 4px 0 0; font: 700 clamp(28px, 2.6vw, 40px)/1 var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
.n2-q small { display: block; margin-bottom: 10px; font: 600 12px/1 var(--sans); letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.n2-q em { font-family: var(--serif); font-weight: 400; font-style: italic; color: #f6c96b; }

.n2-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.n2-tile, .n2-chip, .n2-time { position: relative; }
.n2-tile input, .n2-chip input, .n2-time input { position: absolute; opacity: 0; pointer-events: none; }
.n2-tile span { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .3s; }
.n2-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.n2-tile span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 14, .85), rgba(10, 11, 14, 0) 62%); }
.n2-tile b { position: absolute; left: 12px; right: 10px; bottom: 10px; font: 700 15px/1.1 var(--display); font-variation-settings: "wdth" 90; }
.n2-tile:hover span { transform: translateY(-4px); }
.n2-tile:hover img { transform: scale(1.06); }
.n2-tile input:checked + span { box-shadow: 0 0 0 3px #f6c96b; transform: translateY(-4px); }
.n2-tile input:focus-visible + span, .n2-chip input:focus-visible + span, .n2-time input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }

.n2-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.n2-chip span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font: 700 15px/1 var(--display); font-variation-settings: "wdth" 90; transition: background .25s, transform .3s var(--ease), color .25s; }
.n2-chip small { font: 500 11.5px/1 var(--sans); opacity: .7; }
.n2-chip:hover span { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.n2-chip input:checked + span { background: #f6c96b; color: #111316; box-shadow: none; }

.n2-times { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.n2-time span { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background .25s, transform .3s var(--ease); }
.n2-time b { font: 700 20px/1 var(--display); font-variation-settings: "wdth" 88; }
.n2-time small { font-size: 13px; color: rgba(255, 255, 255, .7); }
.n2-time:hover span { transform: translateY(-2px); background: rgba(255, 255, 255, .18); }
.n2-time input:checked + span { background: #8e9f7b; box-shadow: none; }

.n2-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.n2-steps .bc-field > span { color: rgba(255, 255, 255, .7); }
.n2-steps .bc-field small { text-transform: none; letter-spacing: 0; }
.n2-steps .bc-field input, .n2-steps .bc-field textarea { background: rgba(255, 255, 255, .95); border-color: transparent; min-height: 50px; padding: 12px 14px; }
.n2-next { justify-self: start; --streak: #f6c96b; }
.n2-small { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.n2-ready .n2-small { max-width: 30em; }
.n2-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: center; margin-top: 6px; }
.n2-back, .n2-skip { border: 0; background: none; color: rgba(255, 255, 255, .78); font: 600 14px/1.3 var(--sans); padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); text-align: left; }
.n2-back:hover, .n2-skip:hover { color: #fff; border-color: #fff; }
.n2-back[hidden] { display: none; }
/* full-form mode: the panel steps aside, the card is the form */
.n2.is-full .n2-steps .n2-dots, .n2.is-full .n2-step, .n2.is-full .n2-back { display: none !important; }
.n2-full-note { display: none; margin: 0; font-size: 16px; color: rgba(255, 255, 255, .8); max-width: 26em; }
.n2.is-full .n2-full-note { display: block; }

/* ---------- the note card ---------- */
.n2-desk { position: relative; perspective: 1400px; padding-top: 8px; }
.n2-card { position: relative; z-index: 2; background: #fbf7ee; color: var(--ink); padding: 28px 30px 24px; transform: rotate(-2deg); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .05); background-image: linear-gradient(90deg, transparent 50px, rgba(159, 16, 44, .16) 50px 51px, transparent 51px), radial-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px); background-size: auto, 4px 4px; transition: transform .6s var(--ease); }
.n2-card:hover { transform: rotate(-1deg); }
.n2-card__head { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 0 104px 16px 0; border-bottom: 3px double rgba(21, 23, 28, .7); }
.n2-card__head > img { width: 20px; margin-top: -4px; }
.n2-card__head b { display: block; font: 400 25px/1 var(--roman); letter-spacing: .2em; color: var(--crimson); }
.n2-card__head i { display: block; font: italic 400 16px/1.1 var(--serif); letter-spacing: .06em; }
.n2-card__head small { display: block; margin-top: 6px; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8a847a; }
.n2-stamp { position: absolute; right: 0; top: -12px; margin: 0; width: 76px; padding: 7px 7px 5px; background: radial-gradient(circle at 4px 4px, transparent 2.6px, #fff 3px) -4px -4px / 8px 8px; transform: rotate(5deg); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.n2-stamp img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; outline: 3px solid #fff; }
.n2-stamp figcaption { background: #fff; font: 700 7.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--crimson); }
.n2-post { position: absolute; right: 50px; top: 40px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid rgba(159, 16, 44, .5); display: grid; place-items: center; text-align: center; font: 700 8.5px/1.4 var(--sans); letter-spacing: .14em; color: rgba(159, 16, 44, .6); transform: rotate(-14deg); pointer-events: none; }
.n2-post::before, .n2-post::after { content: ""; position: absolute; left: -24px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, rgba(159, 16, 44, .45) 0 14px, transparent 14px 18px); }
.n2-post::before { top: 24px; } .n2-post::after { top: 40px; }
.n2-card__title { margin: 18px 0 8px; font: italic 400 28px/1 var(--serif); }
.n2-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 20px; }
.n2-f { position: relative; display: grid; gap: 0; min-width: 0; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8a847a; padding-top: 10px; }
.n2-f--wide { grid-column: 1 / -1; }
.n2-f input, .n2-f select, .n2-f textarea { width: 100%; min-height: 42px; padding: 4px 0 2px; border: 0; border-bottom: 1.5px solid rgba(21, 23, 28, .28); border-radius: 0; background: transparent; font: 700 25px/1.2 "Caveat", "Bradley Hand", cursive; color: #1f3a6b; letter-spacing: .01em; text-transform: none; -webkit-appearance: none; appearance: none; transition: border-color .25s; }
.n2-f select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239f102c' stroke-width='1.6'/%3E%3C/svg%3E") right 2px center no-repeat; padding-right: 18px; }
.n2-f textarea { resize: vertical; min-height: 64px; line-height: 32px; padding-top: 0; border-bottom: 0; background-image: repeating-linear-gradient(transparent 0 31px, rgba(21, 23, 28, .2) 31px 32px); }
.n2-f input:focus, .n2-f select:focus, .n2-f textarea:focus { outline: none; border-bottom-color: var(--crimson); }
.n2-f .is-bad { border-bottom-color: #d43a4f !important; box-shadow: none !important; }
/* step mode: the lines are written for you, so they rest until the note is ready */
.n2-card.is-steps .n2-f select { background-image: none; }
.n2-card.is-steps .n2-f .is-empty { color: transparent; }
.n2-f.is-writing input, .n2-f.is-writing select, .n2-f.is-writing textarea { animation: n2-write .7s steps(14) both; }
@keyframes n2-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.n2-f.is-writing::after { content: ""; position: absolute; right: 0; bottom: 6px; width: 30px; height: 30px; background: none; }
.n2-send { width: 100%; justify-content: center; margin-top: 18px; min-height: 56px; }
.n2-card.is-steps .n2-send { opacity: .35; pointer-events: none; }
.n2-card.is-ready .n2-send { opacity: 1; pointer-events: auto; animation: n2-pulse 1.6s ease-out 2; }
@keyframes n2-pulse { 0% { box-shadow: 0 0 0 0 rgba(159, 16, 44, .55); } 100% { box-shadow: 0 0 0 18px rgba(159, 16, 44, 0); } }
.n2-card__sig { margin: 10px 0 0; text-align: right; font: 700 22px/1 "Caveat", cursive; color: #1f3a6b; opacity: 0; transition: opacity .6s; }
.n2-card.is-ready .n2-card__sig { opacity: 1; }

/* envelope: the card tucks in, the flap closes, it flies off */
.n2-env { position: absolute; z-index: 3; left: -4%; right: -4%; bottom: -16px; height: 56%; opacity: 0; transform: translateY(40px); pointer-events: none; }
.n2-env__back { position: absolute; inset: 0; z-index: -1; background: #d9cdb5; }
.n2-env__front { position: absolute; inset: 0; background: linear-gradient(160deg, #efe4cc, #e2d4b6); clip-path: polygon(0 18%, 50% 62%, 100% 18%, 100% 100%, 0 100%); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 12%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.n2-env__front b { font: 700 32px/1 "Caveat", cursive; color: var(--ink); }
.n2-env__front i { font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #6d6252; margin-top: 8px; font-style: normal; }
.n2-env__flap { position: absolute; left: 0; right: 0; top: 0; height: 62%; background: linear-gradient(180deg, #e6d9bd, #d6c7a8); clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transform: rotateX(180deg); }
.n2-desk.is-sealing .n2-env { animation: n2-env 2.4s var(--ease) forwards; }
.n2-desk.is-sealing .n2-card { animation: n2-tuck 2.4s var(--ease) forwards; }
.n2-desk.is-sealing .n2-env__flap { animation: n2-flap 2.4s var(--ease) forwards; }
@keyframes n2-env { 0% { opacity: 0; transform: translateY(60px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-120vh) rotate(-8deg); } }
@keyframes n2-tuck { 0% { transform: rotate(-2deg); } 20% { transform: rotate(0) scale(.9); } 45%, 56% { transform: translateY(20%) scale(.6); opacity: 1; } 58%, 100% { opacity: 0; transform: translateY(24%) scale(.6); } }
@keyframes n2-flap { 0%, 45% { transform: rotateX(180deg); z-index: -1; } 58%, 100% { transform: rotateX(0); z-index: 2; } }

.n2-done { position: relative; z-index: 2; padding: 36px 32px; background: #fbf7ee; color: var(--ink); transform: rotate(1deg); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .9); animation: n2-pop .9s var(--ease) both; }
.n2-done:focus { outline: none; }
@keyframes n2-pop { from { opacity: 0; transform: translateY(30px) rotate(3deg); } }
.n2-done__eye { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border: 2px solid var(--crimson); color: var(--crimson); font: 700 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; transform: rotate(-5deg); }
.n2-done__h { margin: 0 0 14px; font: 700 clamp(34px, 3.4vw, 50px)/1 var(--display); font-variation-settings: "wdth" 86; letter-spacing: -.02em; }
.n2-done__h em { font: 700 1.1em/1 "Caveat", cursive; color: #1f3a6b; }
.n2-done p { color: #444; }
.n2-done .n2-small { color: #777; }
.n2-done__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.n2-again { border: 0; background: none; font: 600 15px/1 var(--sans); border-bottom: 1.5px solid currentColor; padding: 0 0 3px; color: var(--ink); }

/* call strip under the hero */
.n2-strip { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.n2-call { display: inline-flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 99px; background: #fff; color: var(--ink); text-decoration: none; }
.n2-call span { display: grid; place-items: center; height: 42px; padding: 0 16px; border-radius: 99px; background: var(--crimson); color: #fff; font: 700 13px/1 var(--sans); }
.n2-call b { font: 800 clamp(22px, 2vw, 28px)/1 var(--display); font-variation-settings: "wdth" 86; letter-spacing: -.02em; }
.n2-mail { color: #fff; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .35); text-decoration: none; }
.n2-foot { margin: 0 0 0 auto; font-size: 11.5px; color: rgba(255, 255, 255, .45); }

/* ---------- what happens next ---------- */
.n2-next-sec { padding: 120px 0 100px; }
.n2-next-sec .tag { margin-bottom: 20px; }
.n2-next-sec .d-l em { color: var(--crimson); }
.n2-next-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.n2-hours .bc-status { margin: 0 0 14px; }
.n2-panels { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; height: clamp(400px, 40vw, 520px); }
.n2-panels li { position: relative; flex: 1; overflow: hidden; border-radius: 24px; color: #fff; cursor: pointer; transition: flex .9s cubic-bezier(.7, 0, .2, 1); background: #111316; isolation: isolate; }
.n2-panels li.is-open { flex: 3.2; }
.n2-panels img, .n2-panels video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.7); transition: filter .9s, transform 5s ease-out; }
.n2-panels li.is-open img, .n2-panels li.is-open video { filter: brightness(.9); transform: scale(1.05); }
.n2-panels li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 14, .85), transparent 60%); }
.n2-panels li > div { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.n2-panels span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); font: 700 12px/1 var(--sans); }
.n2-panels b { display: block; margin-top: 12px; font: 700 clamp(20px, 2vw, 30px)/1.05 var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
.n2-panels p { margin: 8px 0 0; max-width: 26em; color: rgba(255, 255, 255, .85); opacity: 0; transform: translateY(8px); transition: .5s; }
.n2-panels li.is-open p { opacity: 1; transform: none; transition-delay: .4s; }
.n2-panels li:not(.is-open) b { font-size: clamp(16px, 1.3vw, 19px); }

/* ---------- postmarks ---------- */
.n2-towns { padding: 20px 0 120px; }
.n2-towns .d-m em { color: var(--crimson); }
.n2-towns__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 44px; }
.n2-towns__head .lede { margin: 0; }
.n2-marks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 16px 12px; }
.n2-marks li { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--c); display: grid; place-items: center; text-align: center; color: var(--c); position: relative; transform: rotate(var(--r)); opacity: 0; }
.n2-marks li::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed var(--c); opacity: .6; }
.n2-marks b { font: 400 12.5px/1.1 var(--roman); letter-spacing: .05em; text-transform: uppercase; }
.n2-marks small { display: block; margin-top: 4px; font: 700 8.5px/1 var(--sans); letter-spacing: .16em; opacity: .8; }
.n2-marks li.is-home { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.n2-marks.is-in li { animation: n2-stamp .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes n2-stamp { 0% { opacity: 0; transform: rotate(var(--r)) scale(1.8); } 100% { opacity: 1; transform: rotate(var(--r)) scale(1); } }
.n2-review { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 30px; margin-top: 56px; padding: 26px 28px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -44px rgba(0, 0, 0, .4); }
.n2-review b { font: 700 24px/1.1 var(--display); font-variation-settings: "wdth" 88; }
.n2-review p { margin: 6px 0 0; color: var(--muted); }

@media (max-width: 1080px) {
  .n2-grid { grid-template-columns: 1fr; }
  .n2-desk { max-width: 600px; }
}
@media (max-width: 900px) {
  .n2-hero { padding-top: calc(var(--head-h) + 26px); }
  .n2-tiles { grid-template-columns: repeat(2, 1fr); }
  .n2-chips { max-height: 260px; }
  .n2-next-head, .n2-towns__head { grid-template-columns: 1fr; }
  .n2-panels { flex-direction: column; height: auto; }
  .n2-panels li { flex: none; height: 84px; transition: height .8s cubic-bezier(.7, 0, .2, 1); }
  .n2-panels li.is-open { flex: none; height: 340px; }
  .n2-panels li:not(.is-open) > div { bottom: 50%; transform: translateY(50%); display: flex; align-items: center; gap: 12px; }
  .n2-panels li:not(.is-open) b { margin-top: 0; }
  .n2-panels li:not(.is-open) p { display: none; }
  .n2-marks { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .n2-marks b { font-size: 9.5px; letter-spacing: 0; }
  .n2-marks small { font-size: 7.5px; letter-spacing: .08em; }
  .n2-foot { margin-left: 0; }
}
@media (max-width: 560px) {
  .n2-card { padding: 22px 16px 18px; transform: rotate(-1deg); background-image: radial-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px); background-size: 4px 4px; }
  .n2-card__head { padding-right: 66px; }
  .n2-stamp { width: 56px; }
  .n2-post { display: none; }
  .n2-lines { grid-template-columns: 1fr; }
  .n2-two { grid-template-columns: 1fr; }
  .n2-times { grid-template-columns: 1fr 1fr; }
  .n2-dots { gap: 10px; font-size: 10.5px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .n2-f.is-writing input, .n2-f.is-writing select, .n2-f.is-writing textarea { animation: none; }
}

/* no decorative 01–04 numbering (AI habit) */
.n2-panels li > div > span:first-child { display: none; }

.bc-err { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fbe9ec; color: #7a0b21; font: 500 14.5px/1.4 var(--sans); transform: rotate(0); }
.bc-err a { color: inherit; font-weight: 700; }
