:root {
  --sand: #f3ede3;
  --sand-2: #e7ddd0;
  --ink: #161412;
  --ink-soft: #4a433c;
  --paper: #fffaf4;
  --coral: #e85d4c;
  --coral-deep: #c44738;
  --lagoon: #0f7a78;
  --lagoon-2: #14918e;
  --line: rgba(22, 20, 18, 0.1);
  --shadow: 0 18px 50px rgba(22, 20, 18, 0.08);
  --radius: 28px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--sand);
  color: var(--ink);
}
body {
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
  background-image:
    radial-gradient(ellipse 80% 40% at 0% 0%, rgba(232, 93, 76, 0.16), transparent 70%),
    radial-gradient(ellipse 70% 36% at 100% 0%, rgba(15, 122, 120, 0.16), transparent 70%);
  background-repeat: no-repeat;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.wordmark {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.wordmark span { color: var(--coral); }

nav.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
nav.pills a {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
}
nav.pills a.on,
nav.pills a:hover {
  background: var(--ink);
  color: var(--sand);
}

.hero {
  background: var(--paper);
  border-radius: 36px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--lagoon);
}
.place {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.05;
  margin: 8px 0 0;
  letter-spacing: -0.03em;
}
.deg {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(92px, 28vw, 140px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  margin: 18px 0 8px;
}
.deg sup {
  font-size: 0.28em;
  font-weight: 500;
  vertical-align: super;
}
.mood {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 22ch;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.chip {
  background: var(--sand);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.chip.storm { background: var(--coral); color: #fff; }
.chip.rain { background: var(--lagoon); color: #fff; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 18px 16px;
  min-height: 132px;
}
.card h3 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.card .t {
  font-family: Fraunces, Georgia, serif;
  font-size: 36px;
  margin: 10px 0 0;
  letter-spacing: -0.04em;
}
.card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.list, .days {
  background: var(--paper);
  border-radius: 32px;
  overflow: hidden;
  margin: 12px 0;
}
.row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.row:first-child { border-top: 0; }
.row b { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 500; }
.muted { color: var(--ink-soft); font-size: 14px; }

.panel {
  background: var(--ink);
  color: var(--sand);
  border-radius: 32px;
  padding: 26px 22px;
  margin: 14px 0;
}
.panel h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.panel .tag {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel p { color: #d8cfc3; line-height: 1.5; }

.copy p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.copy h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(36px, 10vw, 56px);
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.foot {
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 13px;
}

@media (max-width: 520px) {
  .top { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: 1fr 1fr; }
}


/* Wide photo desk — index only. Scoped so outlook/about keep the card UI. */
body.desk { background: #efe6d8; background-image: none; color: #161412; }
body.desk img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.desk button { font: inherit; cursor: pointer; }
body.desk .mast {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 40px; background: #fffaf4;
}
body.desk .mast nav { display: flex; gap: 8px; }
body.desk .mast nav a {
  font-size: 14px; font-weight: 700; padding: 8px 12px; border-radius: 999px; color: #4a433c;
}
body.desk .mast nav a.on { background: #161412; color: #fffaf4; }
html.announce-open { overflow: hidden; }
body.desk .announce {
  position: fixed; inset: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(12, 18, 18, 0.72);
}
body.desk .announce-card {
  width: min(640px, 100%); max-height: min(86vh, 760px); overflow: auto;
  background: #fffaf4; color: #161412; border-radius: 28px; padding: 28px 26px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
body.desk .announce em {
  display: block; font-style: normal; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #0f7a78; font-weight: 700;
}
body.desk .announce h2 {
  margin: 8px 0; font-family: Fraunces, Georgia, serif; font-weight: 500;
  font-size: 34px; letter-spacing: -0.03em; line-height: 1.05;
}
body.desk .announce .lead { margin: 0 0 14px; color: #4e4840; line-height: 1.45; }
body.desk .announce .count { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #7a7268; font-weight: 700; }
body.desk .hero {
  display: grid; grid-template-columns: 1.45fr 0.9fr; min-height: 68vh;
  margin: 0; padding: 0; border-radius: 0; box-shadow: none; background: #161412; color: #fffaf4;
}
body.desk .hero-photo { min-height: 420px; }
body.desk .hero-copy { padding: 48px 40px; display: flex; flex-direction: column; justify-content: flex-end; }
body.desk .kicker { color: #9dfff8; }
body.desk .hero h1 {
  font-family: Fraunces, Georgia, serif; font-weight: 500;
  font-size: clamp(42px, 4.6vw, 68px); letter-spacing: -0.04em; line-height: 0.98; margin: 8px 0 12px; color: #fffaf4;
}
body.desk .hero p { margin: 0; font-size: 18px; line-height: 1.45; color: #f0e6da; max-width: 28em; }
body.desk .facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fffaf4; }
body.desk .facts div { padding: 22px 28px; border-left: 1px solid rgba(22,20,18,0.08); }
body.desk .facts div:first-child { border-left: 0; }
body.desk .facts span { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #7a7268; }
body.desk .facts b { display: block; margin-top: 6px; font-family: Fraunces, Georgia, serif; font-size: 36px; font-weight: 500; }
body.desk .stories { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; padding: 28px 40px 48px; }
body.desk .story { background: #fffaf4; border-radius: 22px; overflow: hidden; }
body.desk .story .shot { height: 240px; }
body.desk .story .body { padding: 18px 18px 22px; }
body.desk .story h2 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 28px; }
body.desk .story p { margin: 0; color: #4e4840; line-height: 1.5; }
body.desk .areas { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
body.desk .area { width: 100%; text-align: left; border: 1px solid rgba(22,20,18,0.16); background: #fff; color: #161412; border-radius: 14px; padding: 14px 16px; font-weight: 700; }
body.desk .load { text-align: center; padding: 36px 8px 12px; }
body.desk .spin {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  border: 3px solid rgba(22,20,18,0.12); border-top-color: #0f7a78;
  animation: dwell-spin 0.8s linear infinite;
}
body.desk .load p { margin: 0; font-size: 18px; }
body.desk .lines p { margin: 10px 0 0; color: #3c3832; line-height: 1.4; }
@keyframes dwell-spin { to { transform: rotate(360deg); } }
body.desk .bar { height: 4px; margin: 16px 0 8px; border-radius: 99px; background: rgba(22,20,18,0.1); overflow: hidden; }
body.desk .bar i { display: block; height: 100%; background: #0f7a78; transform: scaleX(0); transform-origin: left center; }
body.desk .done { margin-top: 16px; width: 100%; border: 0; border-radius: 14px; padding: 14px; background: #0f7a78; color: #fff; font-weight: 700; }
body.desk .done:disabled { opacity: 0.35; }
body.desk [hidden] { display: none !important; }
@media (max-width: 900px) {
  body.desk .mast, body.desk .hero-copy, body.desk .stories { padding-left: 18px; padding-right: 18px; }
  body.desk .hero, body.desk .facts, body.desk .stories { display: block; }
  body.desk .facts div { border-left: 0; border-top: 1px solid rgba(22,20,18,0.08); }
  body.desk .hero-photo { height: 260px; }
}

/* Tracker landing. Scoped to body.track so other pagasa pages stay as cards. */
body.track {
  margin: 0;
  background: #10243a;
  background-image: none;
  color: #16221f;
  font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
}
body.track a { color: inherit; text-decoration: none; }
body.track button { font: inherit; cursor: pointer; }
body.track .stage {
  position: relative; height: 100dvh; min-height: 640px; overflow: hidden; background: #0c121c;
}
body.track .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
body.track .mast, body.track .dock, body.track .legend { position: absolute; z-index: 2; }
body.track .mast {
  top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px;
}
body.track .mast nav { display: flex; gap: 14px; }
body.track .mast nav a { color: #fffaf4; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
body.track .wordmark { color: #fffaf4; text-shadow: 0 1px 8px rgba(0,0,0,.4); font-size: 32px; }
body.track .live {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fffaf4;
  background: rgba(8, 16, 18, 0.55); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 7px 12px;
}
body.track .live i {
  width: 7px; height: 7px; border-radius: 50%; background: #e85d4c;
  animation: pulse 1.6s ease-out infinite;
}
body.track .dock {
  left: 16px; bottom: 16px; width: min(280px, calc(100% - 32px));
  background: rgba(255, 250, 244, 0.92); color: #161412;
  border-radius: 18px; padding: 14px; backdrop-filter: blur(8px);
}
body.track .dock .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: #0f7a78; color: #fff; border-radius: 999px; padding: 4px 8px;
}
body.track .dock h1 { margin: 8px 0 10px; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 26px; letter-spacing: -0.03em; }
body.track .dock dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; }
body.track .dock dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #6d655c; }
body.track .dock dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; }
body.track .clock { margin-top: 10px; color: #6d655c; font-size: 12px; letter-spacing: 0.08em; }
body.track .legend {
  right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
body.track .swatch { display: inline-block; width: 22px; height: 3px; margin-right: 8px; vertical-align: middle; border-radius: 2px; }
body.track .swatch.past { background: #ff4a2a; }
body.track .swatch.next { background: repeating-linear-gradient(90deg, #f2c14b 0 6px, transparent 6px 10px); }
body.track .swatch.cone { background: rgba(88, 104, 210, 0.9); height: 8px; }
body.track .veil {
  position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(8, 16, 18, 0.5);
}
body.track .veil[hidden] { display: none !important; }
body.track .urgent {
  width: min(920px, 94vw); background: #fffaf4; color: #161412;
  border-radius: 28px; padding: 36px 40px 28px; border-top: 4px solid #e85d4c;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
body.track .veil.in .urgent { animation: card-in 0.45s ease both; }
body.track .urgent em {
  display: block; font-style: normal; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #e85d4c;
}
body.track .urgent h2 {
  margin: 10px 0 12px; font-family: Fraunces, Georgia, serif; font-weight: 500;
  font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.02;
}
body.track .urgent .lead, body.track .urgent li { font-size: 18px; }
body.track .urgent .go, body.track .urgent .stay { font-size: 18px; padding: 16px; }
body.track .urgent h2 span { color: #c44738; }
body.track .urgent .lead { margin: 0 0 14px; color: #4a433c; line-height: 1.45; }
body.track .urgent ul { list-style: none; margin: 0 0 16px; padding: 0; }
body.track .urgent li { padding: 6px 0 6px 22px; position: relative; line-height: 1.35; }
body.track .urgent li:before { content: "✓"; position: absolute; left: 0; color: #0f7a78; font-weight: 700; }
body.track .urgent .go, body.track .urgent .stay { width: 100%; border: 0; border-radius: 12px; padding: 13px 14px; font-size: 16px; font-weight: 700; }
body.track .urgent .go { background: #e85d4c; color: #fff; }
body.track .urgent .stay { margin-top: 8px; background: transparent; color: #6d655c; }
body.track .brief { background: #f3ede3; padding: 64px 20px 80px; }
body.track .brief-inner { width: min(920px, 100%); margin: 0 auto; }
body.track .wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 8px; }
body.track .hero-note { padding: 36px 0 8px; }
body.track .hero-note .deg { font-family: Fraunces, Georgia, serif; font-size: clamp(72px, 12vw, 120px); line-height: 0.85; letter-spacing: -0.05em; margin: 0; }
body.track .hero-note p { font-size: 20px; color: #4a433c; max-width: 28em; }
body.track .cities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
body.track .cities article { background: #fffaf4; border-radius: 18px; padding: 16px; }
body.track .cities h3 { margin: 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #6d655c; }
body.track .cities b { display: block; margin-top: 8px; font-family: Fraunces, Georgia, serif; font-size: 32px; font-weight: 500; }
body.track .cities p { margin: 6px 0 0; color: #4a433c; font-size: 14px; }
body.track .hours { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
body.track .hours div { background: #fffaf4; border-radius: 14px; padding: 12px; }
body.track .hours b { display: block; font-family: Fraunces, Georgia, serif; font-size: 18px; }
body.track .hours span { color: #6d655c; font-size: 13px; }
body.track .shots { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; }
body.track .shots article { background: #fffaf4; border-radius: 20px; overflow: hidden; }
body.track .shots img { width: 100%; height: 280px; object-fit: cover; display: block; }
body.track .shots div { padding: 16px 18px 20px; }
body.track .shots h3 { margin: 0 0 8px; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 26px; }
body.track .shots p { margin: 0; color: #4a433c; line-height: 1.45; }
body.track .wrap h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 32px; margin: 0 0 14px; }
body.track .brief .kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #0f7a78; background: #fffaf4; border-radius: 999px; padding: 6px 10px;
}
body.track .brief h2 {
  margin: 14px 0 8px; font-family: Fraunces, Georgia, serif; font-weight: 500;
  font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.04em; line-height: 0.98;
}
body.track .brief h2 span { color: #e85d4c; }
body.track .brief .intro { margin: 0 0 22px; color: #4a433c; font-size: 18px; line-height: 1.45; }
body.track .step {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  background: #fffaf4; border-radius: 18px; padding: 16px; margin-top: 10px;
}
body.track .step b {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #0f7a78; color: #fff; font-size: 14px;
}
body.track .step h3 { margin: 2px 0 4px; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 20px; }
body.track .step p { margin: 0; color: #4a433c; line-height: 1.45; }
body.track .why { margin-top: 18px; padding: 14px 16px; border-left: 3px solid #e85d4c; color: #4a433c; line-height: 1.45; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(232,93,76,0); } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  body.track .legend, body.track .mast nav { display: none; }
  body.track .dock { right: 16px; width: auto; }
  body.track .cities, body.track .hours, body.track .shots { grid-template-columns: 1fr 1fr; }
}
