/* ============================================================
   FRS — Field Readiness Session
   Corporate / formal presentation stylesheet
   Author: Jarvis · 2026-10-22
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --navy: #102a43;
  --navy-soft: #1f3f5f;
  --blue: #1d4ed8;
  --ink: #1a1f2b;
  --body: #3b4658;
  --muted: #6b7788;
  --line: #dde3ec;
  --line-strong: #c6cfdc;
  --paper: #ffffff;
  --paper-alt: #f5f7fa;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(16, 42, 67, 0.06);
  --font-sans: "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti TC", serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 3px;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.nav { display: flex; gap: 28px; }

.nav a {
  color: var(--body);
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-alt), var(--paper) 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.hero-lead {
  margin: 0 0 30px;
  max-width: 46ch;
  color: var(--body);
  font-size: 16.5px;
}

.fact-list {
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.fact-list > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.fact-list dd { margin: 0; color: var(--ink); font-size: 15px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.18s ease;
}

.btn:hover { background: var(--navy-soft); text-decoration: none; }

.hero-figure { margin: 0; }

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-figure figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 40px; }

h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.section-lead { margin: 0; color: var(--muted); font-size: 15.5px; }

.day-title {
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.day-title:first-of-type { margin-top: 0; }

/* ---------- Agenda table ---------- */
.agenda-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.agenda-table thead th {
  padding: 12px 14px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.agenda-table tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--body);
}

.agenda-table tbody tr:nth-child(even) { background: #fafbfd; }
.agenda-table tbody tr:hover { background: #f0f4fa; }

.agenda-table .col-time { width: 72px; }
.agenda-table .col-item { width: 200px; }
.agenda-table .col-owner { width: 96px; }

.agenda-table tbody td:first-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.agenda-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--ink);
}

.agenda-table tbody td:last-child { color: var(--muted); font-size: 13px; }

/* ---------- Info cards ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.info-card {
  padding: 26px 24px;
  background: var(--paper);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.info-card p { margin: 0; font-size: 14.5px; color: var(--body); }

/* ---------- Photo grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.photo-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.photo-grid figcaption strong {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
}

.photo-grid figcaption span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.photo-note {
  margin: 26px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

code {
  padding: 1px 5px;
  background: #eef2f8;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--navy);
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }

.site-footer p { margin: 0; font-size: 13px; color: #e6ecf5; }

.site-footer .muted { color: #9fb0c7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 56px 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .agenda-table { font-size: 13px; }
  .agenda-table .col-item { width: auto; }
  .agenda-table thead th:nth-child(4),
  .agenda-table tbody td:nth-child(4) { display: none; }
  .fact-list > div { grid-template-columns: 76px 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav, .btn { display: none; }
  body { font-size: 11pt; }
  .section { padding: 24px 0; break-inside: avoid; }
  .hero { padding: 24px 0; }
  .agenda-table thead th { background: #e9eef5 !important; color: #000 !important; }
}

/* ---------- Agenda sub-item label ---------- */
.sub-item {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Highlight row (mandatory session) ---------- */
.agenda-table tbody tr.highlight-row { background: #fff8ec; }
.agenda-table tbody tr.highlight-row:hover { background: #fff2dc; }
.agenda-table tbody tr.highlight-row td { border-top: 1px solid #f0c98a; border-bottom: 1px solid #f0c98a; }

/* ---------- Hotel cards ---------- */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.hotel-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hotel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hotel-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.badge {
  flex: none;
  padding: 3px 9px;
  background: var(--navy);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 2px;
}

.badge.alt { background: #5b6b82; }

.hotel-meta { margin: 0 0 10px; font-size: 13px; color: var(--muted); }

.hotel-price {
  margin: 0 0 14px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.pros-cons { margin: 0; padding: 0; list-style: none; font-size: 13.5px; }

.pros-cons li { position: relative; padding-left: 18px; margin-bottom: 6px; color: var(--body); }

.pros-cons li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pros-cons li.pro::before { content: "✓"; color: #1a7f4b; }
.pros-cons li.con::before { content: "–"; color: #a4551f; }

/* ---------- Note box ---------- */
.note-box {
  margin-top: 32px;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
}

.note-box h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.note-box ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--body); }
.note-box li { margin-bottom: 7px; }

/* ---------- Evening list ---------- */
.evening-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.evening-item { padding: 26px 28px; background: var(--paper); }

.evening-item h3 {
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}

.evening-item p { margin: 0 0 8px; font-size: 14.5px; color: var(--body); }

.evening-alt {
  margin: 10px 0 0 !important;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px !important;
  color: var(--muted) !important;
}

/* ---------- Budget table ---------- */
.budget-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget-table tbody td.num:nth-child(2),
.budget-table tbody td.num:nth-child(3) { font-weight: 600; color: var(--ink); }
.budget-table tbody tr.total-row { background: #eef3f9; }
.budget-table tbody tr.total-row td { border-top: 2px solid var(--navy); color: var(--navy); }

@media (max-width: 560px) {
  .budget-table thead th:last-child,
  .budget-table tbody td:last-child { display: none; }
}

/* ---------- Confirmed hotel ---------- */
.hotel-subtitle {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hotel-grid-confirmed { margin-bottom: 40px; }

.hotel-card.confirmed {
  border-left: 3px solid #1a7f4b;
  background: #fbfefc;
}

.badge.confirmed { background: #1a7f4b; }

/* ---------- Dell info section ---------- */
.dell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.dell-card {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dell-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.dell-card p { margin: 0 0 10px; font-size: 14.5px; color: var(--body); }

.dell-card .addr {
  padding: 14px 16px;
  background: #f7f9fc;
  border-left: 2px solid var(--navy);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.map-link::after { content: " →"; }

.dell-list { margin: 0 0 12px; padding-left: 20px; font-size: 14px; color: var(--body); }
.dell-list li { margin-bottom: 6px; }

.dell-note { font-size: 12.5px !important; color: var(--muted) !important; }

/* ---------- Photo-only layout ---------- */
.section-tight { padding: 40px 0 8px; }
.section-tight + .section-tight { border-top: 0; }

.photo-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  .photo-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .photo-grid-3 { grid-template-columns: 1fr; }
}
