.sg-page {
  background:
    linear-gradient(rgba(20, 36, 34, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 36, 34, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.sg-page .pp-header {
  position: sticky;
}

.sg-hero {
  position: relative;
  padding: clamp(58px, 7vw, 96px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px 36px 36px 8px;
  background:
    radial-gradient(circle at 88% 16%, rgba(242, 189, 102, 0.28), transparent 24rem),
    linear-gradient(135deg, #0b2f2d, #154541);
  color: var(--white);
  box-shadow: var(--shadow);
}

.sg-hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.sg-eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.sg-hero .sg-eyebrow,
.sg-section-dark .sg-eyebrow {
  color: var(--gold);
}

.sg-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(50px, 6.1vw, 88px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.sg-hero-intro {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.65;
}

.sg-hero .pp-actions {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.sg-button-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.sg-button-light:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

.sg-button-map {
  border-color: rgba(242, 189, 102, 0.66);
  background: rgba(242, 189, 102, 0.1);
  color: var(--gold);
}

.sg-button-map span {
  margin-left: 5px;
  transition: transform 180ms ease;
}

.sg-button-map:hover {
  border-color: var(--gold);
  background: rgba(242, 189, 102, 0.18);
}

.sg-button-map:hover span {
  transform: translate(2px, -2px);
}

.sg-section {
  padding: 86px 0;
}

.sg-section-soft {
  border-block: 1px solid var(--line);
  background: rgba(242, 239, 230, 0.82);
}

.sg-section-dark {
  background:
    radial-gradient(circle at 12% 88%, rgba(242, 189, 102, 0.15), transparent 27rem),
    var(--navy);
  color: var(--white);
}

.sg-section-heading {
  max-width: 900px;
  margin-bottom: 32px;
}

.sg-section-heading h2,
.sg-answer-card h2,
.sg-calculator-heading h2,
.sg-calculator-advice h2 {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.sg-section-heading > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}

.sg-section-dark .sg-section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.sg-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.sg-text-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.sg-text-link:hover {
  text-decoration: underline;
}

.sg-answer-card {
  position: relative;
  max-width: 1080px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(23, 111, 104, 0.2);
  border-radius: 28px 28px 28px 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 189, 102, 0.18), transparent 18rem),
    var(--white);
  box-shadow: 0 18px 60px rgba(11, 47, 45, 0.09);
}

.sg-answer-card p:last-child {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.sg-answer-budget {
  border-color: rgba(242, 189, 102, 0.62);
}

.sg-answer-singapore {
  border-color: rgba(23, 111, 104, 0.34);
}

.sg-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 8px;
  background: var(--line);
}

.sg-check-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.sg-check-grid span,
.sg-path-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(20, 36, 34, 0.15);
  border-radius: 50%;
  color: var(--blue);
  font-family: "Iowan Old Style", Georgia, serif;
  font-weight: 700;
}

.sg-check-grid h3,
.sg-path-grid h3,
.sg-related-grid h3 {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.sg-check-grid p,
.sg-path-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sg-check-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sg-check-grid-five article {
  min-height: 270px;
  padding: 24px;
}

.sg-check-grid-five h3 {
  font-size: 24px;
}

.sg-mini-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.sg-mini-checks article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: rgba(255, 254, 249, 0.8);
}

.sg-mini-checks strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.sg-mini-checks p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.sg-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sg-path-grid a {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  text-decoration: none;
}

.sg-path-grid a:last-child {
  border-right: 0;
}

.sg-path-grid span {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}

.sg-path-grid p {
  color: rgba(255, 255, 255, 0.58);
}

.sg-path-grid strong {
  display: block;
  margin-top: 22px;
  color: var(--gold);
  font-size: 12px;
}

.sg-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sg-project-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 7px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(11, 47, 45, 0.08);
  flex-direction: column;
}

.sg-project-image {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #dce4dd;
}

.sg-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.sg-project-card:hover .sg-project-image img {
  transform: scale(1.025);
}

.sg-project-body {
  display: flex;
  min-height: 330px;
  padding: 23px;
  flex-direction: column;
}

.sg-card-location {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sg-project-body h3 {
  margin: 0;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1.08;
}

.sg-project-body h3 a {
  text-decoration: none;
}

.sg-card-price {
  margin: 15px 0 7px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.sg-card-layout {
  margin: 0 0 11px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.sg-card-context {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.sg-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}

.sg-card-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.sg-card-actions a:last-child {
  grid-column: 1 / -1;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.sg-project-grid-dark .sg-project-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.sg-project-grid-dark .sg-project-body h3,
.sg-project-grid-dark .sg-card-price,
.sg-project-grid-dark .sg-card-actions a {
  color: var(--white);
}

.sg-project-grid-dark .sg-card-context {
  color: rgba(255, 255, 255, 0.56);
}

.sg-project-grid-dark .sg-card-actions a {
  border-color: rgba(255, 255, 255, 0.17);
}

.sg-project-grid-dark .sg-card-actions a:last-child {
  color: var(--navy);
}

.sg-calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.sg-calculator-card,
.sg-calculator-advice {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px 28px 28px 8px;
  background: var(--white);
  box-shadow: 0 18px 62px rgba(11, 47, 45, 0.09);
}

.sg-calculator-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

.sg-calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.sg-calculator-form label {
  display: grid;
  gap: 7px;
}

.sg-calculator-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.sg-calculator-form input {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
}

.sg-calculator-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(23, 111, 104, 0.18);
  border-radius: 18px;
  background: rgba(23, 111, 104, 0.16);
}

.sg-calculator-results div {
  padding: 20px;
  background: rgba(23, 111, 104, 0.08);
}

.sg-calculator-results span,
.sg-calculator-results strong {
  display: block;
}

.sg-calculator-results span {
  min-height: 34px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.sg-calculator-results strong {
  margin-top: 7px;
  color: var(--navy);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 25px;
}

.sg-calculator-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.sg-calculator-advice {
  position: sticky;
  top: 104px;
  border-color: rgba(242, 189, 102, 0.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 189, 102, 0.21), transparent 17rem),
    var(--white);
}

.sg-calculator-advice ol {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  counter-reset: advice;
}

.sg-calculator-advice li {
  position: relative;
  padding: 16px 0 16px 42px;
  border-bottom: 1px solid var(--line);
  counter-increment: advice;
}

.sg-calculator-advice li::before {
  position: absolute;
  top: 16px;
  left: 0;
  color: var(--gold);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  content: counter(advice, decimal-leading-zero);
}

.sg-calculator-advice li strong,
.sg-calculator-advice li span {
  display: block;
}

.sg-calculator-advice li strong {
  font-size: 13px;
}

.sg-calculator-advice li span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.sg-calculator-advice .sg-text-link {
  display: block;
  margin-top: 18px;
}

.sg-faq-section {
  background: var(--white);
}

.sg-faq-list {
  max-width: 980px;
  border-top: 1px solid var(--line);
}

.sg-faq-list details {
  border-bottom: 1px solid var(--line);
}

.sg-faq-list summary {
  padding: 22px 48px 22px 0;
  color: var(--ink);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
}

.sg-faq-list p {
  max-width: 850px;
  margin: -6px 0 24px;
  color: var(--muted);
}

.sg-related-section {
  background: var(--cream);
}

.sg-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sg-related-grid a {
  min-height: 250px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.sg-related-grid a:hover {
  border-color: rgba(23, 111, 104, 0.42);
  transform: translateY(-3px);
}

.sg-related-grid a > span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sg-related-grid h3 {
  margin-top: 36px;
}

.sg-related-grid p {
  color: var(--muted);
  font-size: 12px;
}

.sg-related-grid strong {
  color: var(--blue);
  font-size: 11px;
}

.sg-source-note {
  padding: 28px 0;
  border-top: 1px solid rgba(242, 189, 102, 0.4);
  background: #fff8e9;
}

.sg-source-note strong {
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sg-source-note p {
  max-width: 1100px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.sg-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 46px;
}

.sg-page .pp-floating-cta {
  left: auto;
}

@media (max-width: 1100px) {
  .sg-check-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sg-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sg-section {
    padding: 66px 0;
  }

  .sg-check-grid,
  .sg-check-grid-five,
  .sg-mini-checks,
  .sg-path-grid,
  .sg-calculator-layout {
    grid-template-columns: 1fr;
  }

  .sg-check-grid article,
  .sg-check-grid-five article {
    min-height: 0;
  }

  .sg-path-grid a {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .sg-path-grid a:last-child {
    border-bottom: 0;
  }

  .sg-calculator-advice {
    position: static;
  }

  .sg-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sg-hero {
    padding: 38px 24px 42px;
    border-radius: 24px 24px 24px 7px;
  }

  .sg-hero h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .sg-hero-intro {
    margin-top: 20px;
    font-size: 15px;
  }

  .sg-section {
    padding: 56px 0;
  }

  .sg-heading-row {
    display: grid;
    align-items: start;
  }

  .sg-answer-card,
  .sg-calculator-card,
  .sg-calculator-advice {
    padding: 24px;
  }

  .sg-answer-card p:last-child {
    font-size: 15px;
  }

  .sg-check-grid article {
    padding: 23px;
  }

  .sg-check-grid span,
  .sg-path-grid span {
    margin-bottom: 22px;
  }

  .sg-project-grid,
  .sg-related-grid,
  .sg-calculator-form,
  .sg-calculator-results {
    grid-template-columns: 1fr;
  }

  .sg-project-image {
    height: 210px;
  }

  .sg-project-body {
    min-height: 0;
  }

  .sg-calculator-results span {
    min-height: 0;
  }

  .sg-related-grid a {
    min-height: 0;
  }

  .sg-related-grid h3 {
    margin-top: 24px;
  }

  .sg-page .pp-floating-cta {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: auto;
  }
}
