/* Shared shell for all four designs: reset, announcement bar, design switcher, menu skeleton, photos, motion rules.
   Each design sets the tokens below in its own dN.css. */
:root {
  --bg: #121212; --ink: #efedea; --muted: #b9b6b0; --line: rgba(239, 237, 234, .16); --accent: #b8336a; --accent-ink: #fff;
  --ann-bg: #000; --ann-ink: #efedea; --ann-dot: #e8607f;
  --focus: #e8607f; --gutter: clamp(16px, 4vw, 56px); --max: 1320px; --top-h: 120px;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.booting body { visibility: hidden; }
body { margin: 0; padding-top: var(--top-full, 110px); background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.55; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.noscript { padding: 24px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
[id] { scroll-margin-top: calc(var(--hdr-h, 70px) + 16px); }

/* Sticky top: announcement bar folds away on scroll, the design header stays. */
/* Fixed, not sticky, so folding the bar never shifts the page. */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 50; }
.announce { background: var(--ann-bg); color: var(--ann-ink); font-size: 13px; overflow: hidden; max-height: 48px; transition: max-height .3s ease; }
html.folded .announce { max-height: 0; }
html.folded .announce:focus-within { max-height: 48px; }
.ann-inner { display: flex; align-items: center; gap: 12px; min-height: 40px; padding-inline: var(--gutter); max-width: 1920px; margin-inline: auto; }
.ann-rotator { position: relative; flex: 1; min-width: 0; height: 40px; }
.ann-item { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; white-space: nowrap; overflow: hidden; }
.ann-item.on { opacity: 1; transform: none; }
.ann-item i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--ann-dot); flex: none; }
.ann-item:hover .ann-full, .ann-item:hover .ann-short { text-decoration: underline; text-underline-offset: 3px; }
.ann-short { display: none; }
.ann-pause { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid color-mix(in srgb, var(--ann-ink) 30%, transparent); border-radius: 50%; background: none; cursor: pointer; }
.ann-right { display: flex; align-items: center; gap: 14px; }
.announce a { color: var(--ann-ink); }
.ann-official { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; text-decoration: none; opacity: .85; white-space: nowrap; }
.ann-official:hover { opacity: 1; text-decoration: underline; }

/* Review switcher: a pill on desktop, a named dropdown on phones. */
.sw-pill { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: color-mix(in srgb, var(--ann-ink) 14%, transparent); }
.sw-pill span { padding: 0 8px 0 10px; font-size: 12px; letter-spacing: .04em; opacity: .8; }
.sw-pill a { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 99px; text-decoration: none; font-weight: 700; }
.sw-pill a:hover { background: color-mix(in srgb, var(--ann-ink) 18%, transparent); }
.sw-pill a[aria-current] { background: var(--ann-dot); color: #111; }
.sw-menu { display: none; position: relative; }
.sw-menu summary { display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 99px; background: color-mix(in srgb, var(--ann-ink) 14%, transparent); cursor: pointer; list-style: none; font-weight: 600; white-space: nowrap; }
.sw-menu summary::-webkit-details-marker { display: none; }
.sw-menu[open] summary .i { transform: rotate(180deg); }
.sw-menu ul { position: fixed; right: 12px; top: 44px; width: min(320px, calc(100vw - 24px)); background: #fff; color: #111; border-radius: 14px; padding: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); z-index: 90; }
.sw-menu li a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-size: 16px; color: #111 !important; }
.sw-menu li a b { font-weight: 600; }
.sw-menu li a:hover { background: #f1efe9; }
.sw-menu li a[aria-current] { background: #121212; color: #fff !important; }

/* Phone navigation skeleton, styled per design. */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary .i { transform: rotate(180deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; z-index: 80; }
.menu nav a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; text-decoration: none; }

/* Photos */
.ph { position: relative; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; line-height: 1; pointer-events: none; }
.ph figcaption span { padding: 5px 7px; background: rgba(0, 0, 0, .62); color: #fff; border-radius: 4px; letter-spacing: .02em; }
.reel { position: relative; overflow: hidden; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-toggle { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.reel figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 11px; padding: 5px 7px; background: rgba(0, 0, 0, .62); color: #fff; border-radius: 4px; }

.credits, .foot-note { font-size: 13px; }
.credits a, .foot-note a { text-underline-offset: 3px; }

/* Reveal: content is visible unless motion is allowed and the element is still below the fold. */
.can-reveal [data-reveal]:not(.in) { opacity: 0; transform: translateY(24px); }
.can-reveal [data-reveal] { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }

@media (max-width: 900px) {
  .ann-full { display: none; }
  .ann-short { display: inline; }
  .ann-official { display: none; }
  .sw-pill { display: none; }
  .sw-menu { display: block; }
}
@media (max-width: 420px) { .sw-menu summary span { max-width: 200px; overflow: hidden; text-overflow: ellipsis; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Site footer (TDS Aviation standard). Layout here; each design sets the --ft-* colours. */
.ft { background: var(--ft-bg, #0c0c0c); color: var(--ft-ink, #efedea); position: relative; z-index: 2; }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-in { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.ft-close { background: var(--ft-close-bg, #7a1f45); color: var(--ft-close-ink, #fff); }
.ft-close .ft-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 0; }
.ft-close-line { font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.2; max-width: 40em; }
.ft-close .btn { flex: none; }
.ft-close a:hover { text-decoration: none; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 32px; padding: 56px 0 40px; }
.ft-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; }
.ft-logo .nj-logo { width: 26px; }
.ft-tag { margin: 14px 0 18px; color: var(--ft-muted, #a9a59e); max-width: 28em; font-size: 15px; }
.ft-contact ul { display: grid; gap: 2px; }
.ft-contact li { display: flex; align-items: center; gap: 10px; min-height: 36px; color: var(--ft-muted, #a9a59e); overflow-wrap: anywhere; }
.ft-contact li a { min-height: 36px; }
.ft-contact .i { flex: none; width: 18px; height: 18px; color: var(--ft-accent, #e8607f); }
.ft-social { display: flex; gap: 8px; margin-top: 16px; }
.ft-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ft-line, rgba(239, 237, 234, .14)); border-radius: 50%; }
.ft-social a:hover { background: var(--ft-accent, #e8607f); color: #fff; border-color: transparent; text-decoration: none; }
.ft-social .i { width: 20px; height: 20px; }
.ft-col { display: grid; align-content: start; gap: 2px; font-size: 15px; }
.ft-col a { display: flex; align-items: center; min-height: 36px; color: var(--ft-muted, #a9a59e); }
.ft-col a:hover { color: var(--ft-ink, #efedea); }
.ft-h { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 8px; color: var(--ft-ink, #efedea); }
.ft-bar { border-top: 1px solid var(--ft-line, rgba(239, 237, 234, .14)); font-size: 14px; color: var(--ft-muted, #a9a59e); }
.ft-bar .ft-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 0 22px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ft-legal a { display: inline-flex; align-items: center; min-height: 32px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ft-accent, #e8607f); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top .i { width: 22px; height: 22px; }
@media (max-width: 1100px) { .ft-grid { grid-template-columns: 1fr 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; } .ft-contact { grid-column: 1 / -1; } .ft-close .btn { width: 100%; justify-content: center; } }

/* Contact form (shared). Each design sets --cf-* colours. */
.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; text-align: left; --cf-ink: #121212; --cf-muted: #4d4942; --cf-line: #b9b3a9; --cf-bg: #fff; --cf-focus: #7a1f45; --cf-on: #7a1f45; color: var(--cf-ink); }
.cf-row { display: grid; gap: 6px; min-width: 0; }
.cf-wide { grid-column: 1 / -1; }
.cf label, .cf legend { font-size: 14px; font-weight: 600; }
.cf input, .cf select, .cf textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--cf-ink); background: var(--cf-bg); border: 1.5px solid var(--cf-line); border-radius: 6px; }
.cf textarea { min-height: 120px; resize: vertical; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: 3px solid var(--cf-focus); outline-offset: 1px; border-color: var(--cf-focus); }
.cf [aria-invalid=true] { border-color: #b42318; }
.cf-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips legend { margin-bottom: 8px; padding: 0; }
.cf-chips label { position: relative; display: inline-flex; font-weight: 500; cursor: pointer; }
.cf-chips input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.cf-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--cf-line); border-radius: 99px; background: var(--cf-bg); }
.cf-chips input:checked + span { background: var(--cf-on); border-color: var(--cf-on); color: #fff; }
.cf-chips input:focus-visible + span { outline: 3px solid var(--cf-focus); outline-offset: 2px; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cf-foot .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.cf-hint { font-size: 13px; color: var(--cf-muted); max-width: 34em; margin: 0 !important; }
.cf-status { grid-column: 1 / -1; font-size: 14px; font-weight: 600; min-height: 1em; margin: 0 !important; }
@media (max-width: 640px) { .cf { grid-template-columns: 1fr; } .cf-foot .btn { width: 100%; justify-content: center; } }

/* The nj mark is inline SVG (19 Nov): width set per design, height follows the 72 x 130 shape. */
svg.nj-logo { display: block; height: auto; aspect-ratio: 72 / 130; flex: none; }

/* Social icons in the announcement bar (19 Nov) */
.ann-social { display: flex; align-items: center; gap: 2px; }
.ann-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ann-ink); opacity: .85; }
.ann-social a:hover { opacity: 1; background: color-mix(in srgb, var(--ann-ink) 16%, transparent); }
.ann-social .i { width: 16px; height: 16px; }
@media (max-width: 760px) { .ann-social { display: none; } }

/* Multi-step contact form (19 Nov). Steps share the form's two-column grid; without JS every step shows. */
.cf-progress { grid-column: 1 / -1; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.cf-js .cf-progress { display: grid; }
.cf-progress li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--cf-line); font-size: 14px; font-weight: 600; color: var(--cf-muted); transition: border-color .3s, color .3s; }
.cf-progress li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 12px; flex: none; }
.cf-progress li.on { border-color: var(--cf-on); color: var(--cf-ink); }
.cf-progress li.on span { background: var(--cf-on); border-color: var(--cf-on); color: #fff; }
.cf-progress li.done { border-color: var(--cf-on); color: var(--cf-ink); }
.cf-step { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cf-js .cf-step { animation: cf-in .35s ease; }
@keyframes cf-in { from { opacity: 0; transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) { .cf-js .cf-step { animation: none; } }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.cf-back .i { transform: rotate(180deg); }
.cf-foot .cf-hint { flex-basis: 100%; }
@media (max-width: 640px) { .cf-step { grid-template-columns: 1fr; } .cf-progress li { font-size: 12px; gap: 6px; } }

/* Footer credit: bold BrandCircuit link */
.ft-credit a { font-weight: 700; color: var(--ft-ink, #efedea); text-decoration: underline; text-underline-offset: 3px; }
.ft-credit a b { font-weight: 700; }

/* Designed dropdowns (19 Nov). The native select stays hidden in the form; colours follow the form's --cf-* tokens. */
.ui-select { position: relative; --ui-accent: var(--cf-on, var(--accent-text, #7a1f45)); --ui-bg: var(--cf-bg, #fff); --ui-ink: var(--cf-ink, #121212); --ui-line: var(--cf-line, #c9cdd4); }
.ui-native { display: none !important; }
.ui-select-btn { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; font: inherit; font-size: 16px; text-align: left; color: var(--ui-ink); background: var(--ui-bg); border: 1.5px solid var(--ui-line); border-radius: 8px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ui-select-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-select-btn.empty span { opacity: .6; }
.ui-select-btn .i { flex: none; width: 18px; height: 18px; color: var(--ui-accent); transition: transform .2s; }
.ui-select-btn:hover { border-color: var(--ui-accent); }
.ui-select-btn:focus-visible { outline: 3px solid var(--ui-accent); outline-offset: 1px; }
.ui-select.on .ui-select-btn { border-color: var(--ui-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ui-accent) 16%, transparent); }
.ui-select.on .ui-select-btn .i { transform: rotate(180deg); }
.ui-select-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow: auto; color: var(--ui-ink); background: var(--ui-bg); border: 1px solid var(--ui-line); border-radius: 12px; box-shadow: 0 18px 44px rgba(16, 24, 40, .18); outline: none; animation: ui-pop .16s ease-out; transform-origin: top; }
@keyframes ui-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.ui-select-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.ui-select-list li .i { flex: none; width: 16px; height: 16px; color: var(--ui-accent); opacity: 0; }
.ui-select-list li.active { background: color-mix(in srgb, var(--ui-accent) 10%, var(--ui-bg)); }
.ui-select-list li[aria-selected=true] { font-weight: 600; color: var(--ui-accent); }
.ui-select-list li[aria-selected=true] .i { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ui-select-list { animation: none; } .ui-select-btn .i { transition: none; } }
/* No browser autofill tint on form fields */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 60px var(--cf-bg, #fff) inset; -webkit-text-fill-color: var(--cf-ink, #121212); caret-color: var(--cf-ink, #121212); }
