/* ===== Fonts (self-hosted, World Vision brand kit) ===== */
@font-face {
  font-family: "Degular";
  src: url("assets/fonts/Degular-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Degular";
  src: url("assets/fonts/Degular-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url("assets/fonts/Merriweather-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ===== Brand tokens ===== */
:root {
  --orange: #ff5515;
  --orange-700: #ff5515;
  --orange-800: #f14014;
  --orange-100: #ffebe1;
  --orange-50: #fff5f0;

  --midnight: #111222;
  --grey-900: #111222;
  --grey-800: #282737;
  --grey-700: #3f3d4c;
  --grey-600: #565461;
  --grey-500: #6d6a76;

  --field-50: #f3f2f0;
  --field-100: #e9e7e3;
  --field-200: #dedbd7;

  --blue-800: #0c7993;
  --blue-100: #e0f7fa;

  --white: #ffffff;

  --font-display: "Degular", "Inter", system-ui, sans-serif;
  --font-quote: "Merriweather", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --max-width: 720px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--field-50);
  color: var(--grey-800);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-800); }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  padding: 32px 0 260px;
  text-align: center;
  background-color: var(--midnight);
  background-image: url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center 38%;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,18,34,0.62) 0%, rgba(17,18,34,0.22) 32%, rgba(17,18,34,0.42) 60%, rgba(17,18,34,0.88) 100%);
}
.hero .logo {
  width: 220px;
  margin: 0 auto 24px;
}
.hero .logo img { width: 100%; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--orange-100);
  margin-bottom: 10px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero .tagline {
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 4vw, 1.15rem);
  color: var(--field-100);
  max-width: 480px;
  margin: 0 auto 22px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 420px;
}
.hero-meta-item {
  background: rgba(17,18,34,0.62);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero-meta-item .ico {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--orange-100);
}
.hero-meta-item .ico svg { width: 100%; height: 100%; }
.hero-meta-item .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-100);
  font-weight: 600;
  margin-bottom: 2px;
}
.hero-meta-item .value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

/* ===== Sections ===== */
section.block {
  padding: 34px 0;
  border-bottom: 1px solid var(--field-200);
}
section.block:last-of-type { border-bottom: none; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-800);
  background: var(--orange-100);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
h2.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--midnight);
  font-size: clamp(1.4rem, 5vw, 1.75rem);
  margin: 0 0 14px;
  line-height: 1.2;
}
.lede {
  color: var(--grey-700);
  font-size: 1.02rem;
}

.objectives-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.objectives-list li {
  background: var(--white);
  border: 1px solid var(--field-200);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--grey-800);
}
.objectives-list .num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arc-grid {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.arc-card {
  background: var(--white);
  border: 1px solid var(--field-200);
  border-left: 4px solid var(--orange);
  border-radius: 12px;
  padding: 16px 18px;
}
.arc-card .arc-day {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-800);
  margin-bottom: 4px;
}
.arc-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--midnight);
}
.arc-card p { margin: 0; color: var(--grey-600); font-size: 0.93rem; }

.commit-note {
  margin-top: 18px;
  background: var(--midnight);
  color: var(--field-100);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.93rem;
}
.commit-note strong { color: var(--white); }

/* ===== Agenda tabs ===== */
.tabbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--field-50);
  padding: 10px 20px 14px;
  margin: 0 0 8px;
}
.tablist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--field-100);
  border-radius: 12px;
  padding: 5px;
}
.tab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--grey-600);
  padding: 10px 6px;
  border-radius: 9px;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.2;
}
.tab[aria-selected="true"] {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(255, 85, 21, 0.35);
}
.tab .tab-sub {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  opacity: 0.85;
  margin-top: 1px;
}

.day-panel { display: none; }
.day-panel.active { display: block; }

.day-head {
  margin: 4px 0 16px;
}
.day-head .day-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--midnight);
  margin: 0 0 4px;
}
.day-head .day-sub {
  color: var(--grey-600);
  font-size: 0.9rem;
  margin: 0;
}

.sched {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--orange-100);
  margin-left: 4px;
}
.sched li {
  position: relative;
  padding: 2px 0 18px 22px;
  margin-bottom: 0;
}
.sched li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--field-50);
}
.sched li.is-break::before {
  background: var(--field-200);
}
.sched .time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-800);
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}
.sched .title {
  font-weight: 600;
  color: var(--grey-900);
  font-size: 0.97rem;
  margin-bottom: 2px;
}
.sched .lead {
  font-size: 0.82rem;
  color: var(--grey-500);
}
.sched li.is-break .title { color: var(--grey-600); font-weight: 500; }

.outputs {
  margin-top: 22px;
  background: var(--blue-100);
  border-radius: 12px;
  padding: 16px 18px;
}
.outputs h4 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--blue-800);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.outputs ul { margin: 0; padding-left: 1.1rem; }
.outputs li { color: var(--grey-800); font-size: 0.92rem; margin-bottom: 6px; }
.outputs li:last-child { margin-bottom: 0; }

/* ===== Logistics ===== */
.logistics-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.logistics-item {
  background: var(--white);
  border: 1px solid var(--field-200);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
}
.logistics-item .ico {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--orange-800);
}
.logistics-item .ico svg { width: 100%; height: 100%; }
.logistics-item .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-500);
  font-weight: 700;
  margin-bottom: 3px;
}
.logistics-item .value {
  font-size: 0.93rem;
  color: var(--grey-800);
  font-weight: 500;
}

/* ===== Footer ===== */
footer {
  background: var(--midnight);
  color: var(--field-100);
  text-align: center;
  padding: 30px 20px 38px;
}
footer .logo { width: 170px; margin: 0 auto 16px; opacity: 0.95; }
footer p { font-size: 0.82rem; color: var(--grey-500); margin: 4px 0; }
footer .f-title { color: var(--white); font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }

/* ===== Desktop enhancement ===== */
@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .hero { padding: 48px 0 56px; }
  .hero-meta { flex-direction: row; flex-wrap: wrap; max-width: 600px; }
  .hero-meta-item { flex: 1 1 260px; }
  .arc-grid { grid-template-columns: repeat(3, 1fr); }
  .logistics-grid { grid-template-columns: repeat(2, 1fr); }
  section.block { padding: 48px 0; }
}
