:root {
  --ink: #18130f;
  --muted: #6a635c;
  --bg: #faf8f2;
  --surface: #fffefb;
  --line: #e2dccc;
  --navy: #153a4a;
  --green: #35735f;
  --rust: #b65339;
  --amber: #e3af3f;
  --lavender: #6b65a9;
  --shadow: 0 18px 52px rgba(24, 19, 15, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid rgba(21, 58, 74, .28); outline-offset: 2px; }
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}
.skip:focus { top: 14px; }
.shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.masthead { padding-top: 18px; }
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 251, .94);
  box-shadow: 0 8px 30px rgba(24, 19, 15, .06);
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  width: min(246px, 62vw);
  height: auto;
  display: block;
}
.links { display: flex; gap: 8px; align-items: center; }
.links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.links a:hover { color: var(--rust); }
.hero { padding: 38px 0 62px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, .72fr);
  gap: 24px;
  align-items: stretch;
}
.hero-copy {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 42px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 31, 42, .82) 0%, rgba(12, 31, 42, .7) 45%, rgba(12, 31, 42, .36) 100%),
    linear-gradient(180deg, rgba(21, 58, 74, .18) 0%, rgba(21, 58, 74, .5) 46%, rgba(21, 58, 74, .92) 100%),
    url("https://images.unsplash.com/photo-1565967511849-76a60a516170?auto=format&fit=crop&w=1800&q=82") center/cover,
    url("../images/singapore-budget-skyline.svg") center/cover;
  background-color: #153a4a;
  color: #fff;
  box-shadow: var(--shadow);
}
.label, .eyebrow {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: 13px;
  font-weight: 900;
}
.eyebrow {
  color: var(--navy);
  background: #f1eadc;
  border-color: var(--line);
}
h1 {
  max-width: 780px;
  margin: 18px 0 16px;
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}
.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 20px);
}
.dashboard { display: grid; gap: 14px; align-content: stretch; }
.panel, .content-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 19, 15, .06);
}
.panel h2, .panel h3, .content-card h3 { margin: 0 0 10px; line-height: 1.2; }
.panel p, .content-card p { margin: 0; color: var(--muted); }
.price-bars { display: grid; gap: 12px; margin-top: 18px; }
.price-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.bar { height: 12px; border-radius: 999px; background: #eee7d8; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--amber), var(--rust)); }
.w-88 { width: 88%; } .w-72 { width: 72%; } .w-64 { width: 64%; } .w-48 { width: 48%; }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.signal { min-height: 92px; padding: 14px; border-radius: 6px; background: #f7f1e4; }
.signal strong { display: block; margin-bottom: 4px; font-size: 16px; }
.signal span { color: var(--muted); font-size: 13px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
}
.primary { background: var(--navy); color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--navy); }
section { padding: 68px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 26px;
}
.section-head h2 { max-width: 760px; margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.section-head p { max-width: 420px; margin: 0; color: var(--muted); font-size: 17px; }
.cluster-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.cluster-main, .cluster-side { display: grid; gap: 14px; }
.feature-link {
  min-height: 236px;
  display: grid;
  align-content: end;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(24, 19, 15, .08), rgba(24, 19, 15, .75)),
    url("../images/singapore-area-guide.svg") center/cover;
  box-shadow: var(--shadow);
}
.feature-link h3 { margin: 0 0 8px; font-size: 30px; line-height: 1.1; }
.feature-link p { max-width: 600px; margin: 0; color: rgba(255, 255, 255, .86); }
.mini-link {
  min-height: 136px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.mini-link:hover { border-color: var(--rust); }
.mini-link strong { display: block; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.mini-link span span { color: var(--muted); font-size: 14px; }
.arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #f3ead9;
  color: var(--rust);
  font-weight: 900;
}
.timeline { background: #17384a; color: #fff; }
.timeline .section-head p { color: rgba(255, 255, 255, .75); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  overflow: hidden;
}
.step { min-height: 210px; padding: 24px; background: #17384a; }
.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.step strong { display: block; margin-bottom: 8px; font-size: 20px; }
.step span { color: rgba(255, 255, 255, .75); font-size: 14px; }
.page-hero {
  padding: 56px 0 38px;
}
.page-hero-card {
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: 40px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 31, 42, .8), rgba(12, 31, 42, .58), rgba(12, 31, 42, .3)),
    linear-gradient(180deg, rgba(21, 58, 74, .12), rgba(21, 58, 74, .82)),
    var(--page-hero-image),
    url("../images/singapore-budget-skyline.svg") center/cover;
  background-color: #153a4a;
  border: 1px solid var(--line);
}
.page-hero-card .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
}
.page-hero-card p {
  max-width: 760px;
  color: rgba(255, 255, 255, .9);
  font-size: 20px;
}
.page-hero-card .breadcrumbs,
.page-hero-card .breadcrumbs a {
  color: rgba(255, 255, 255, .9);
}
.page-theme-price { --page-hero-image: url("https://images.unsplash.com/photo-1565967511849-76a60a516170?auto=format&fit=crop&w=1800&q=82") center/cover; }
.page-theme-area { --page-hero-image: url("https://images.unsplash.com/photo-1525625293386-3f8f99389edd?auto=format&fit=crop&w=1800&q=82") center/cover; }
.page-theme-airport { --page-hero-image: url("https://images.unsplash.com/photo-1496939376851-89342e90adcd?auto=format&fit=crop&w=1800&q=82") center/cover; }
.page-theme-room { --page-hero-image: url("https://images.unsplash.com/photo-1508964942454-1a56651d54ac?auto=format&fit=crop&w=1800&q=82") center/cover; }
.page-theme-default { --page-hero-image: url("https://images.unsplash.com/photo-1525625293386-3f8f99389edd?auto=format&fit=crop&w=1800&q=82") center/cover; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.article { display: grid; gap: 18px; }
.article-section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.article-section h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.18; }
.article-section p { margin: 0; color: #473f38; font-size: 17px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card {
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.related-card:hover { border-color: var(--rust); }
.related-card strong { display: block; margin-bottom: 8px; font-size: 18px; line-height: 1.2; }
.related-card span { color: var(--muted); font-size: 14px; }
.external-gallery {
  background: #fffefb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.photo-card {
  overflow: hidden;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 19, 15, .06);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1eadc;
}
.photo-card div {
  padding: 18px;
}
.photo-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}
.photo-card span {
  color: var(--muted);
  font-size: 14px;
}
.source-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}
.visual-card {
  overflow: hidden;
  padding: 0;
}
.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f1eadc;
}
.visual-card div {
  padding: 18px;
}
.visual-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}
.visual-card span {
  color: var(--muted);
  font-size: 14px;
}
.sidebar h2 { margin: 0 0 10px; font-size: 22px; }
.sidebar a { display: block; padding: 11px 0; border-top: 1px solid var(--line); color: var(--navy); font-weight: 800; }
.note {
  padding: 18px;
  border-left: 4px solid var(--rust);
  border-radius: 0 8px 8px 0;
  background: #fff7ec;
  color: #493b2d;
}
.breadcrumbs { margin-top: 16px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--navy); font-weight: 800; }
footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); }
footer .shell { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--navy); font-weight: 800; }
@media (max-width: 980px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 18px; }
  .links { width: 100%; overflow-x: auto; }
  .hero-grid, .cluster-grid, .content-layout { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .steps, .related-grid, .photo-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .hero-copy, .page-hero-card { min-height: 500px; padding: 28px; }
  .signal-grid, .cta-row, .steps, .related-grid, .photo-grid { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 82px 1fr; }
  .mini-link { grid-template-columns: 1fr; }
  .arrow { display: none; }
  section { padding: 54px 0; }
  h1 { font-size: clamp(38px, 12vw, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}