/* The safari-with-transfer page (/yala-safari-with-transfer/), on top of styles.css.
   The drawings take their colours and guests from CSS variables on <body class="tday">,
   which the build writes and transfer.js updates. */

/* Top: sand, with the day in three pictures */
.t-top { background: var(--sand); color: var(--ink); }
.t-top .brand { color: var(--ink); }
.t-nav { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.t-all { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 700; font-size: 15px; }
.t-hero { padding-top: 8px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; }
.t-hero-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.t-top .hero-h1 { color: var(--ink); }
.t-top .poster { font-size: clamp(44px, 12vw, 76px); }
.t-top .sub { max-width: 440px; }
.t-cta { min-height: 54px; margin-top: 6px; padding: 0 24px; font-size: 22px; }
.t-pics { flex: 1.5 1 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); min-width: 0; }
.t-pic { position: relative; height: clamp(220px, 28vw, 400px); border-radius: 14px; overflow: hidden; }
.t-pic-a { background: #17558C; }
.t-pic-b { background: var(--teal); }
.t-pic-c { background: var(--night); }
.t-pic-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.t-cap { position: absolute; left: 0; top: 0; padding: clamp(8px, 1vw, 14px); display: flex; flex-direction: column; line-height: 1.1; color: var(--cream); }
.t-cap span:first-child { font: 800 clamp(16px, 1.7vw, 24px)/1.1 var(--display); text-transform: uppercase; }
.t-cap span:last-child { font-size: clamp(13px, 1.1vw, 15px); font-weight: 700; }

/* Route picker and ticket */
.t-pick { background: var(--ink); color: var(--cream); padding: 40px 0 56px; }
.t-pick .sec-kicker { color: var(--cream); opacity: 0.8; margin-bottom: 8px; }
.t-dirs, .t-towns { display: flex; flex-wrap: wrap; gap: 10px; }
.t-towns { margin-top: 10px; }
.t-opt { flex: 1 1 220px; position: relative; display: flex; }
.t-town { flex-basis: 130px; }
.t-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.t-opt > span {
  flex: 1; min-height: 60px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 18px;
  border-radius: 12px; border: 2px solid rgba(255, 246, 224, 0.45); color: var(--cream);
  font: 800 24px/1.05 var(--display); letter-spacing: 0.02em; text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.t-town > span { padding: 8px 14px; }
.t-dirs input:checked + span { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.t-towns input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.t-opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.t-town-name { font-size: 21px; }
.t-town-price { font-family: "National Park", system-ui, sans-serif; font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.t-pick .notch { background: var(--ink); }
.t-fine { font-size: 14px; color: #DAD4C8; }
.t-pick .track { padding-top: 34px; }

/* Price table */
.t-prices { background: var(--teal); color: var(--cream); }
.t-prices-grid { padding-top: 56px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 44px 56px; align-items: flex-start; }
.t-prices .lede { max-width: 560px; }
.t-prices .t-fine { color: var(--cream); }
.t-table-box { overflow-x: auto; background: var(--paper); color: var(--ink); border-radius: 14px; }
.t-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; text-align: left; }
.t-table thead th { padding: 14px 10px; font-size: 13px; font-weight: 700; border-bottom: 3px solid var(--ink); vertical-align: bottom; }
.t-table td, .t-table tbody th { padding: 11px 10px; border-bottom: 1px solid #D9CFB3; vertical-align: baseline; }
.t-table tr > :first-child { padding-left: 18px; }
.t-table tr > :last-child { padding-right: 18px; }
.t-table tbody th { font-weight: 700; }
.t-num { font: 800 24px/1 var(--display); }
.t-every { flex: 2 1 320px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.t-every h3 { font: 800 26px/1 var(--display); text-transform: uppercase; color: var(--amber); }
.t-every dl { display: flex; flex-direction: column; gap: 16px; }
.t-every dt { font-size: 18px; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (min-width: 760px) {
  .t-pick { padding-bottom: 72px; }
  .t-prices-grid { padding-top: 76px; padding-bottom: 84px; }
}
