@font-face { font-family: "NmBoardDisplay"; src: url("https://cdn.jsdelivr.net/npm/pretendard@latest/dist/web/static/woff2/Pretendard-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
:root { --yellow: #f7cf33; --black: #131313; --paper: #e8e4d8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--black); font-family: Futura, "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #d59b00; outline-offset: 3px; }

.board-notice { padding: 12px 20px; background: var(--yellow); color: var(--black); font-weight: 800; }
.board-notice[hidden] { display: none; }
.board-notice button { margin-left: 12px; border: 2px solid #111; background: #111; color: #fff; padding: 7px 10px; font-weight: 900; }

.board-page-title { margin: 8px 0 0; font-size: 14px; font-weight: 500; line-height: 1.35; }
.board-arrival-answer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 16px 20px; border-top: 1px solid #454545; background: #141414; }
.board-arrival-answer h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.board-arrival-answer p { max-width: 80ch; margin: 0; color: #d4d4d4; font-size: 14px; line-height: 1.6; }
.board-arrival-answer a { display: inline-flex; align-items: center; min-height: 44px; color: #ffcf09; font-size: 14px; font-weight: 700; line-height: 1.4; text-underline-offset: 4px; }
.board-arrival-answer a:focus-visible { outline-color: #ffcf09; }

/* Brand invitation follows the board; flight answers remain below it. */
.board-info { width: min(1180px, calc(100% - 40px)); margin: 36px auto 80px; padding: 22px 24px; border-left: 5px solid var(--yellow); background: #f7f4ec; }
.board-info h2 { margin: 0 0 12px; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.2; }
.board-info > p { max-width: 80ch; margin: 8px 0; line-height: 1.6; }
.board-info-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 20px 0; }
.board-info-answers article { min-width: 0; padding-top: 12px; border-top: 1px solid #cbc5b9; }
.board-info-answers h2 { margin: 0 0 6px; font-size: clamp(19px, 2vw, 23px); }
.board-info-answers p { margin: 0; line-height: 1.55; }
.board-info-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 20px; }
.board-info-questions details { min-width: 0; padding-top: 12px; border-top: 1px solid #cbc5b9; }
.board-info-questions summary { font-size: 16px; font-weight: 800; line-height: 1.35; cursor: pointer; word-break: keep-all; }
.board-info-questions p { margin: 8px 0 0; line-height: 1.55; }
.board-info a { text-underline-offset: 3px; }
.board-info-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 800; }
.brand-section { width: min(1180px, calc(100% - 40px)); margin: 36px auto; display: block; }
.brand-eyebrow { display: inline-block; background: var(--black); color: var(--yellow); padding: 9px 11px; letter-spacing: .12em; font: 900 12px/1 Arial, sans-serif; }
.brand-content h2 { font-size: clamp(34px, 4vw, 55px); letter-spacing: -.06em; line-height: 1.17; margin: 18px 0 24px; }
.brand-content > p:not(.brand-eyebrow) { font-size: 17px; line-height: 1.65; }
.brand-sweet { font-weight: 900; }
.brand-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.brand-actions a { display: inline-flex; min-height: 50px; align-items: center; padding: 12px 20px; background: var(--yellow); border: 2px solid var(--black); font-weight: 900; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.brand-actions a:hover { box-shadow: 4px 4px 0 var(--black); transform: translate(-2px, -2px); }
.brand-actions a:last-child { background: transparent; }
.brand-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; }
.brand-photos img { width: 100%; height: 260px; object-fit: contain; background: #fff; border: 2px solid var(--black); }
.board-footer { border-top: 3px solid var(--black); display: flex; justify-content: space-between; gap: 15px; padding: 24px max(20px, calc((100% - 1180px)/2)); font: 900 12px/1.3 Arial, sans-serif; letter-spacing: .12em; }

/* Search lives in a modal sheet; it does not take room on the board. */
.flight-search-sheet { position: fixed; inset: auto 0 0; width: min(540px, 100%); max-width: 100%; max-height: min(85dvh, 650px); margin: 0 auto; padding: 0; overflow: auto; border: 1px solid #484848; border-bottom: 0; border-radius: 30px 30px 0 0; color: #f4f0e6; background: linear-gradient(#1e1e1e,#0c0c0c); box-shadow: 0 -16px 40px #000a; }
.flight-search-sheet::backdrop { background: #000a; }
.flight-search-sheet::before { content: ""; display: block; width: 43px; height: 5px; margin: 13px auto 0; border-radius: 999px; background: #777; }
.search-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px 12px; }
.search-sheet-head p { margin: 0 0 6px; color: var(--yellow); font: 900 11px/1 Arial, sans-serif; letter-spacing: .16em; }
.search-sheet-head h2 { margin: 0; font: 900 30px/1 Futura, "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.02em; }
.search-sheet-head button { width: 44px; height: 44px; border: 0; color: #fff; background: transparent; font-size: 32px; }
.search-sheet-body { padding: 22px; }
.board-search { display: block; color: var(--yellow); font-size: 13px; font-weight: 900; }
.board-search input { display: block; margin-top: 9px; width: 100%; min-width: 0; min-height: 58px; border: 1px solid #777; border-radius: 12px; color: #fff; background: #151515; padding: 12px 17px; }
.board-lines { display: flex; flex-wrap: wrap; gap: 7px; border: 0; margin: 20px 0 0; padding: 0; }
.board-lines legend { display: block; width: 100%; color: var(--yellow); margin-bottom: 9px; font-size: 12px; font-weight: 900; }
.board-lines label { position: relative; flex: 1; cursor: pointer; }
.board-lines input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.board-lines span { display: block; padding: 11px 13px; border: 1px solid #777; border-radius: 999px; text-align: center; white-space: nowrap; color: #eee; font-size: 12px; font-weight: 800; }
.board-lines input:checked + span { background: var(--yellow); border-color: var(--yellow); color: #111; }
.board-lines input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.search-sheet-body p { color: #b8b0a2; font-size: 12px; }
#board-search-done { width: 100%; min-height: 55px; margin-top: 16px; border: 2px solid #111; border-radius: 11px; background: var(--yellow); color: #111; font-weight: 900; }
.search-done-mobile { display: none; }

/* Flight detail dialog. */
.flight-detail { border: 4px solid var(--black); background: #f4f0e6; color: var(--black); padding: 0; width: min(540px, calc(100% - 24px)); max-height: min(80vh, 720px); box-shadow: 10px 10px 0 var(--yellow); }
.flight-detail::backdrop { background: #000b; }
.detail-head { background: var(--yellow); display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 3px solid var(--black); }
.detail-head p { margin: 0; font: 900 13px/1 Arial, sans-serif; letter-spacing: .14em; }
.detail-head button { border: 2px solid var(--black); background: var(--yellow); font-size: 29px; font-weight: 900; width: 44px; height: 44px; line-height: 1; }
.flight-detail h2 { font-size: 34px; letter-spacing: -.04em; margin: 24px 20px; }
.flight-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 0 20px; }
.flight-detail dl div { border-top: 1px solid #aaa; padding: 13px 0; }
.flight-detail dt { font: 800 12px/1.3 Arial, sans-serif; color: #555; }
.flight-detail dd { margin: 5px 0 0; font-size: 17px; font-weight: 900; overflow-wrap: anywhere; }
.detail-pickup-link { display: block; margin: 18px 20px 0; padding: 14px; border: 2px solid #111; background: var(--yellow); color: #111; font-weight: 900; text-align: center; text-decoration: none; }
.flight-detail > p { margin: 20px; font-size: 12px; color: #555; }

@media (max-width: 760px) {
  html:has(.flight-search-sheet[open]) { overflow: hidden; }
  .board-page-title { position: absolute; inset: auto 8px 7px; margin: 0; font-size: 11px; }
  .board-arrival-answer { grid-template-columns: 1fr; gap: 4px; padding: 12px 10px; }
  .board-arrival-answer h2 { font-size: 16px; }
  .board-arrival-answer p, .board-arrival-answer a { font-size: 13px; }
  .board-info { width: calc(100% - 24px); margin: 20px auto 65px; padding: 18px 16px; }
  .board-info-answers { grid-template-columns: 1fr; gap: 14px; }
  .board-info-questions { grid-template-columns: 1fr; gap: 14px; }
  .board-info-questions summary { font-size: 15px; }
  .brand-section { width: calc(100% - 24px); margin: 20px auto; display: block; }
  .brand-content h2 { font-size: 36px; }
  .brand-photos { margin-top: 25px; }
  .brand-photos img { height: 190px; }
  .board-footer { padding: 22px 12px; font-size: 10px; }
  .flight-search-sheet { width: calc(100% - 8px); max-width: none; max-height: 70dvh; margin: 0 4px; border-radius: 18px 18px 0 0; overflow-y: auto; overscroll-behavior: contain; }
  .flight-search-sheet::before { margin-top: 8px; }
  .search-sheet-head { min-height: 60px; padding: 10px 16px 5px; }
  .search-sheet-head p { display: none; }
  .search-sheet-head h2 { font-size: 23px; }
  .search-sheet-head button { flex: none; width: 44px; height: 44px; }
  .search-sheet-body { padding: 8px 16px max(14px, env(safe-area-inset-bottom)); }
  .board-search span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .board-search input { min-height: 52px; margin-top: 0; font-size: 16px; }
  .board-lines { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-top: 13px; }
  .board-lines legend { margin-bottom: 7px; }
  .board-lines span { display: grid; place-items: center; min-height: 44px; padding: 8px 3px; }
  .search-sheet-body p { display: none; }
  #board-search-done { min-height: 52px; margin-top: 15px; }
  .search-done-desktop { display: none; }
  .search-done-mobile { display: inline; }
  .flight-detail { margin: auto 12px 0; width: calc(100% - 24px); max-height: 85vh; box-shadow: none; border-bottom: 0; position: fixed; inset: auto 0 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
