:root {
  --pine: #173d36;
  --forest: #276858;
  --cream: #fbf6ea;
  --paper: #fffdf7;
  --ink: #18302d;
  --muted: #5b6764;
  --orange: #e66b3d;
  --yellow: #f4d35e;
  --blue: #cde8ef;
  --mint: #dcebd3;
  --line: #9aaba5;
  --red: #a13b31;
  --shadow: 10px 10px 0 var(--pine);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.62; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--orange); outline-offset: 4px; }
.baguio-skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; color: white; background: var(--pine); border: 3px solid white; transform: translateY(-160%); font-weight: 900; }
.baguio-skip:focus { transform: translateY(0); }
.baguio-shell { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.baguio-header { position: sticky; top: 0; z-index: 30; background: rgb(251 246 234 / .96); border-bottom: 2px solid var(--pine); backdrop-filter: blur(12px); }
.baguio-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.baguio-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--pine); font-weight: 950; letter-spacing: -.04em; text-decoration: none; }
.baguio-logo img { width: 46px; height: 46px; }
.baguio-logo b { color: var(--orange); }
.baguio-links { display: flex; align-items: center; gap: 22px; font-size: .8rem; font-weight: 850; }
.baguio-links a { text-decoration: none; }
.baguio-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; color: white; background: var(--pine); border: 2px solid var(--pine); box-shadow: 5px 5px 0 var(--orange); font: inherit; font-weight: 900; text-decoration: none; cursor: pointer; }
.baguio-button--light { color: var(--pine); background: var(--paper); }
.baguio-button[disabled] { color: #66706d; background: #d8ddd9; box-shadow: none; cursor: not-allowed; }
.baguio-hero { padding: clamp(54px, 8vw, 108px) 0 80px; border-bottom: 2px solid var(--pine); }
.baguio-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(38px, 7vw, 90px); align-items: center; }
.baguio-label { display: flex; align-items: center; gap: 12px; color: var(--forest); font-size: .72rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.baguio-label::before { content: ""; width: 46px; height: 7px; background: var(--orange); }
h1, h2, h3 { color: var(--pine); line-height: 1.02; letter-spacing: -.045em; }
h1 { margin: 22px 0 26px; font-size: clamp(3rem, 5.5vw, 5.8rem); }
h2 { margin: 0 0 22px; font-size: clamp(2.2rem, 4.6vw, 4.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }
.baguio-lede { max-width: 720px; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; }
.baguio-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
.baguio-figure { margin: 0; }
.baguio-figure__media { overflow: hidden; background: var(--blue); border: 2px solid var(--pine); border-radius: 20px; box-shadow: var(--shadow); }
.baguio-figure img { display: block; width: 100%; height: auto; }
.baguio-figure figcaption { margin-top: 18px; font-size: .73rem; line-height: 1.5; }
.baguio-figure figcaption a { color: #1656ba; font-weight: 850; }
.baguio-weather { margin-top: 34px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px; background: var(--blue); border: 2px solid var(--pine); border-radius: 16px; }
.current-weather { display: contents; }
.baguio-weather__temp { color: var(--pine); font-size: 3.1rem; font-weight: 950; line-height: 1; }
.baguio-weather small { display: block; }
.baguio-weather-illustration { margin: 2rem 0 0; }
.baguio-weather-illustration img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: cover; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.baguio-weather-illustration figcaption { margin-top: .75rem; font-size: .9rem; }
.baguio-section { padding: clamp(70px, 9vw, 118px) 0; border-bottom: 2px solid var(--pine); }
.baguio-section--blue { background: #e6f5f7; }
.baguio-section--mint { background: #e9f2e0; }
.baguio-section--yellow { background: #fff3ba; }
.baguio-section-head { display: grid; grid-template-columns: minmax(0, .75fr) minmax(320px, 1fr); gap: 60px; align-items: end; margin-bottom: 48px; }
.baguio-section-head p { max-width: 680px; margin: 0; font-size: 1.07rem; }
.baguio-venue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.baguio-venue { overflow: hidden; background: var(--paper); border: 2px solid var(--pine); border-radius: 18px; }
.baguio-venue img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.baguio-venue-copy { padding: 25px; }
.baguio-venue-copy h3 { margin: 10px 0 14px; }
.baguio-status { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-size: .7rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.baguio-status::before { content: ""; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.baguio-text-link { color: #1656ba; font-weight: 900; text-underline-offset: 5px; }
.baguio-area-map { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; padding: 32px; background: var(--paper); border: 2px solid var(--pine); border-radius: 18px; }
.baguio-area-node { min-height: 170px; display: grid; place-items: center; padding: 22px; background: var(--yellow); border: 2px solid var(--pine); border-radius: 14px; text-align: center; font-weight: 900; }
.baguio-area-node:nth-of-type(2) { background: var(--mint); }
.baguio-area-node--boundary { color: white; background: var(--pine) !important; }
.baguio-area-line { height: 4px; background: var(--pine); }
.baguio-planner { display: grid; grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr); gap: 36px; align-items: start; }
.baguio-form, .baguio-result { padding: 30px; background: var(--paper); border: 2px solid var(--pine); border-radius: 18px; }
.baguio-form { display: grid; gap: 17px; box-shadow: 8px 8px 0 var(--orange); }
.baguio-field { display: grid; gap: 7px; }
.baguio-field label { color: var(--pine); font-size: .78rem; font-weight: 900; }
.baguio-field input, .baguio-field select { min-height: 50px; padding: 10px 12px; color: var(--ink); background: white; border: 2px solid #768d86; font: inherit; }
.baguio-result[data-state="frame"] { border-left: 10px solid var(--forest); }
.baguio-plan-days { display: grid; gap: 16px; }
.baguio-plan-days section { padding: 20px; background: var(--cream); border: 1px solid var(--line); }
.baguio-plan-days h3 { margin: 4px 0 8px; }
.baguio-plan-days li { display: grid; gap: 3px; margin-bottom: 10px; }
.baguio-plan-days li span { color: var(--muted); font-size: .78rem; }
.baguio-notice { margin-top: 24px; padding: 20px; background: #fff0d4; border-left: 8px solid var(--orange); }
.baguio-source-grid, .baguio-facts, .baguio-transport-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.baguio-card, .baguio-fact { padding: 26px; background: var(--paper); border: 2px solid var(--pine); border-radius: 14px; }
.baguio-card small, .baguio-fact small { color: var(--forest); font-size: .7rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.baguio-card h3 { margin: 9px 0; }
.baguio-fact strong { display: block; margin-top: 6px; }
.baguio-lock { padding: 30px; background: #edf0ed; border: 2px dashed #65736f; border-radius: 16px; }
.baguio-breadcrumbs { padding: 20px 0 0; font-size: .75rem; font-weight: 850; }
.baguio-footer { padding: 52px 0; color: white; background: var(--pine); }
.baguio-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.baguio-footer a { color: white; }
.baguio-fine { color: #dbe8e4; font-size: .78rem; }

@media (max-width: 900px) {
  .baguio-links a:not(.baguio-button) { display: none; }
  .baguio-hero-grid, .baguio-section-head, .baguio-venue-grid, .baguio-planner, .baguio-source-grid, .baguio-facts, .baguio-transport-grid, .baguio-footer-grid { grid-template-columns: 1fr; }
  .baguio-area-map { grid-template-columns: 1fr; gap: 14px; }
  .baguio-area-line { width: 4px; height: 34px; justify-self: center; }
}
@media (max-width: 560px) {
  .baguio-shell { width: min(100% - 24px, 1220px); }
  .baguio-logo { font-size: .9rem; }
  .baguio-logo img { width: 40px; height: 40px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .baguio-weather { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
