:root {
  --bg-canvas: #f7f4ef;
  --bg-surface: #fdfbf7;
  --bg-subtle: #eae2d9;
  --ref-stone: #e9e2d8;
  --ref-warm-grey: #d4ccc4;
  --ink-primary: #1d1b18;
  --ink-secondary: #534b43;
  --copper: #8a562e;
  --copper-soft: var(--copper);
  --hair: #c9bdb0;
  --border-hairline: var(--hair);
  --border-control: #796d61;
  --grain: none;
  --page-margin: 44px;
  --page-max: 1920px;
  --grid-gap: 24px;
  --section-space: clamp(128px, 10vw, 160px);
  --hero-space: var(--section-space);
  --header-height: 72px;
  --text-body: 1.0625rem;
  --text-h1: clamp(2.125rem, 4.25vw, 4rem);
  --text-h2: clamp(1.875rem, 3vw, 2.75rem);
  --ref-bar-bottom: max(48px, env(safe-area-inset-bottom));
  --ref-hero-offset: 136px;
}

:lang(zh-Hans) {
  --text-h1: clamp(2rem, 3.5vw, 3.375rem);
  --text-h2: clamp(1.75rem, 2.75vw, 2.5rem);
}

@view-transition { navigation: none; }

html.ref-menu-open { overflow: hidden; }
.rf :focus-visible {
  outline: 2px solid var(--ink-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--bg-canvas);
}
.rf .button:not(.skip) { border-radius: 0; box-shadow: none; transform: none; }
.rf .skip { z-index: 20; }
.rf .text-action { display: inline-flex; align-items: center; min-height: 44px; }
.rf .photo img { animation: none; transform: none; }
.rf .photo picture { background: var(--ref-stone); }

.ed.rf .ref-header {
  position: sticky;
  z-index: 10;
  top: 0;
  color: var(--bg-canvas);
  background: var(--brand-primary);
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.ed.rf .ref-header.ref-over-photo { position: fixed; inset-inline: 0; }
.ed.rf .ref-header:not(.is-solid) {
  position: fixed;
  inset-inline: 0;
  background: transparent;
}
.ed.rf .ref-header .header-inner {
  min-height: var(--header-height);
  gap: 16px;
  padding: 0;
  flex-wrap: nowrap;
}
.ref-header .ref-menu-contact { display: none; }
.ed.rf .ref-header .logo img { width: 148px; height: auto; }
.ed.rf .ref-header .site-nav { gap: clamp(12px, 1.8vw, 28px); }
.ed.rf .ref-header .site-nav a {
  color: inherit;
  font-size: .8125rem;
  letter-spacing: .065em;
  text-transform: uppercase;
  min-height: 44px;
  padding-block: 4px;
}
.ed.rf .ref-header .lang-switch {
  color: inherit;
  margin: 0;
  padding-inline-start: 8px;
  gap: 0;
  border-color: var(--hair-dark);
}
.ed.rf .ref-header .lang-switch [aria-current] { color: inherit; text-decoration: underline; }
.ed.rf .ref-header .header-cta,
.ed.rf .ref-header .site-nav .nav-assess {
  color: var(--bg-canvas);
  background: var(--brand-primary);
  border: 1px solid currentColor;
  font-size: .875rem;
}
.ed.rf .ref-header :is(.header-cta, .nav-assess):hover {
  background: var(--bg-canvas);
  color: var(--brand-primary);
}
.ref-header .menu-toggle { color: inherit; }
.ed.rf .ref-header:has(.site-nav[data-open])::before { content: none; }

.ref-hero {
  position: relative;
  isolation: isolate;
  background: var(--ink-primary);
  color: var(--bg-canvas);
  display: grid;
  align-items: end;
  min-height: 100svh;
  padding-block: 112px var(--ref-hero-offset);
}
.ref-hero .ref-photo, .ref-hero .ref-photo picture, .ref-hero .ref-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ref-hero .ref-photo { z-index: -1; }
.ref-hero .ref-photo img { object-fit: cover; object-position: 50% 55%; }
.rf .ref-hero h1 {
  font-size: var(--text-h1);
  line-height: 1.08;
  text-wrap: pretty;
  max-width: 26ch;
  text-shadow: 0 1px 20px rgb(22 15 10 / 35%);
}
:lang(zh-Hans) .rf .ref-hero h1 { max-width: 21em; line-height: 1.25; }
.home-page .ref-hero h1 { max-width: none; }
.ref-hero-bar {
  position: relative;
  z-index: 6;
  width: min(920px, calc(100% - 2 * var(--page-margin)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  background: var(--bg-canvas);
  color: var(--ink-primary);
}
.ref-hero-bar a {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 6px 8px;
  font-size: .875rem;
  text-align: center;
  text-decoration: none;
  border-inline-end: 1px solid var(--hair);
}
.ref-hero-bar a:last-child { border-inline-end: 0; }
.ref-hero-bar .ref-bar-primary { background: var(--brand-primary); color: var(--bg-canvas); }
.ref-hero-bar a:hover { text-decoration: underline; }
.ref-hero-bar a:focus-visible { position: relative; z-index: 1; }
.ref-inner-photo { min-height: max(66svh, 390px); --ref-hero-offset: 72px; }
.ref-service-intro { padding-block: var(--section-space); }
.ref-service-intro .hero-copy { max-width: 680px; }
.ref-service-intro .context { color: var(--ink-secondary); margin-bottom: 16px; }
.ref-service-intro .actions { margin-top: 24px; }

.ref-intro p {
  max-width: 44ch;
  font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.42 var(--display-font);
}
.ref-halves, .ref-service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--grid-gap);
}
.ref-service {
  gap: 0;
}
.ref-service:nth-child(even) .photo { grid-column: 2; grid-row: 1; }
.ref-service:nth-child(even) .ref-service-copy { grid-column: 1; grid-row: 1; }
.ref-service .photo { align-self: stretch; position: relative; }
.rf .ref-service .photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  height: 100%;
  object-fit: cover;
}
.ref-service-copy { padding: 48px var(--page-margin); }
.ref-service-copy p, .ref-calculator p { margin-block: 16px 12px; max-width: 38ch; }
.ref-closing .ref-halves { align-items: start; }
.ref-closing .footer-links { margin-top: 16px; }

.rf main :is(.ed-steps, .ed-areas, .ed-faq, .ed-gallery, .ed-story, .ed-checks, .ed-scope, .ed-closing.closing, .r-section) {
  padding-block: var(--section-space);
}
.rf main :is(.ed-steps, .ed-faq) + :is(.ed-faq, .ed-closing) { border-top: 1px solid var(--hair); }
.rf main :is(.ed-steps-head, .ed-faq-head, .ed-scope-head, .ed-checks .photo) { position: static; }
.rf main :is(.ed-steps-head, .ed-faq-head, .ed-scope-head) { grid-column: 1 / span 5; }
.rf main :is(.ed-step-list, .ed-faq-list, .ed-scope-body, .ed-areas-text) { grid-column: 7 / span 6; }
.rf main :is(.ed-steps-head, .ed-faq-head, .ed-areas-text, .ed-scope-head, .ed-story-head, .ref-closing, .ed-closing) h2 {
  font-size: var(--text-h2);
  max-width: none;
}
.rf .ed-step-list { padding-inline-start: 0; border: 0; border-top: 1px solid var(--hair); }
.rf .ed-step-list::before, .rf .site-footer::before { content: none; }
.rf .ed-step:last-child { border-bottom: 1px solid var(--hair); }
.rf .ed-step-no { font: 500 .875rem/1.5 var(--body-font); }

.rf .ed-areas { background: var(--bg-subtle); }
.rf .r-map .sea { fill: var(--ref-warm-grey); }
.rf .r-map :is(.island, .coast, .river) { stroke: var(--border-control); stroke-width: .8; }
.rf .r-map .zone { stroke-dasharray: none; fill-opacity: .75; }
.rf .r-map .zone.is-on { transform: none; }
.rf .rf-filter { border: 0; border-radius: 0; padding: 0; border-bottom: 1px solid var(--hair); }
.rf .rf-filter button { border-radius: 0; min-height: 44px; }
.rf .rf-filter button[aria-pressed=true] {
  background: transparent;
  color: var(--ink-primary);
  box-shadow: inset 0 -2px var(--copper);
}
.rf .rf-area-btn { min-height: 44px; }
.rf .rf-area { padding-block: 8px; }
.rf .rf-area.is-on { background: none; }
.rf .rf-areas[data-svc=short] .rf-area[data-ss="0"] { opacity: .42; transition: opacity .3s; }
.rf .rf-areas[data-svc=short] svg text[data-region="Gold Coast"] { opacity: 1; }
.rf .r-faq-item summary:hover { padding-left: 0; }
.rf .r-faq-item summary .q-ic,
.rf .r-faq-item[open] summary .q-ic { background: none; color: var(--ink-primary); border: 0 !important; }
.rf .r-faq-a { animation: none !important; }

.rf .r-report, .ed.rf .calc-layout > :last-child, .rf .assessment-form {
  border: 0;
  border-top: 1px solid var(--ink-primary);
  border-radius: 0;
  box-shadow: none;
  background: var(--bg-surface);
}
.rf .r-report { margin: 0; padding: clamp(16px, 2.5vw, 32px); }
.rf .r-report td { white-space: normal; }
.rf .r-report-top p { padding: 0; }
.rf .ref-owner .r-report-top { flex-wrap: wrap; }
.rf .rf-pin { transform: none; margin-inline: 0 6px; }
.rf .ed-g-btn, .rf :is(input, select, textarea) { border-radius: 0; }
.rf .ed-g-track { gap: var(--grid-gap); }
.ed.rf .calc-layout > :last-child { margin-top: 0; }
.rf .rf-example-note { background: var(--ref-stone); }
.rf .rf-ex-badge, .rf .rf-sp-n { color: var(--copper); }
.rf .rf-fstep { animation: none; }

.ed.rf .ed-closing .closing-inner { padding-top: 0; border: 0; }
.ed.rf .site-footer { padding-block: 80px 40px; }
.rf .site-footer .footer-grid { gap: 32px var(--grid-gap); }
.rf .site-footer .r-footer-statement { max-width: none; padding-bottom: 24px; font-size: 1.5rem; }
.rf .site-footer .footer-links a { min-height: 44px; font-size: .9375rem; }

@media (900px <= width <= 1080px) {
  .ed.rf .ref-header .header-inner, .ed.rf .ref-header .site-nav { gap: 12px; }
  .ed.rf .ref-header .logo img { width: 120px; }
  .ed.rf .ref-header .site-nav a { letter-spacing: .025em; }
  .ed.rf .ref-header .header-cta { display: inline-flex; padding-inline: 10px; }
}

@media (width < 900px) {
  :root {
    --page-margin: 20px;
    --section-space: 80px;
    --header-height: 64px;
      --ref-hero-offset: 154px;
  }

  .ed.rf .ref-header .header-inner { flex-wrap: wrap; justify-content: space-between; }
  .ed.rf .ref-header[data-enhanced] .header-inner { flex-wrap: nowrap; }
  .ed.rf .ref-header .header-cta { display: none; }
  .ed.rf .ref-header[data-enhanced] .menu-toggle { display: grid; z-index: 2; }
  .ed.rf .ref-header[data-enhanced] .site-nav { display: none; }
  .ed.rf .ref-header.ref-over-photo:not([data-enhanced]) { position: relative; background: var(--brand-primary); }
  .ed.rf .ref-header:not([data-enhanced]) .site-nav {
    display: flex;
    order: 1;
    width: 100%;
    flex-wrap: wrap;
    margin: 0;
  }
  .ed.rf .ref-header[data-enhanced] .site-nav[data-open] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-height: none;
    margin: 0;
    padding: 80px var(--page-margin) max(24px, env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--bg-canvas);
    color: var(--ink-primary);
    border: 0;
    box-shadow: none;
  }
  .ed.rf .ref-header:has([data-open]) .menu-toggle { color: var(--ink-primary); }
  .ed.rf .ref-header .site-nav[data-open] > a:not(.button) {
    font: 400 clamp(1.65rem, 5vw, 2.25rem)/1.25 var(--display-font);
    letter-spacing: 0;
    text-transform: none;
  }
  .ed.rf .ref-header .site-nav .nav-assess { display: inline-flex; width: auto; padding-inline: 16px; }
  .ed.rf .ref-header .site-nav .lang-switch { padding: 0; border: 0; }
  .ed.rf .ref-header .site-nav[data-open] .ref-menu-contact { display: flex; }

  .ref-hero .ref-photo img { object-position: 60% 50%; }
  .rf .ref-hero h1 { font-size: clamp(2rem, 4.15vw, 2.125rem); }
  :lang(zh-Hans) .rf .ref-hero h1 { font-size: 2rem; }
  .ref-hero-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ref-hero-bar a { min-height: 44px; }
  .ref-hero-bar .ref-bar-primary {
    grid-column: 1 / -1;
    min-height: 48px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--hair);
  }
  .ref-inner-photo { --ref-hero-offset: 72px; }

  .ref-service, .ref-halves { grid-template-columns: minmax(0, 1fr); }
  .ref-service:nth-child(even) :is(.photo, .ref-service-copy) { grid-column: auto; grid-row: auto; }
  .ref-service-copy { padding: 32px var(--page-margin) 40px; }
  .rf .ed-areas-text { display: block; }
  .rf .ed-areas .ed-map { margin-top: 0; margin-bottom: 24px; }
  .rf .ed-areas .ed-areas-text { margin-top: 0; }
  .ed.rf .site-footer { padding-block: 64px 32px; }
}

@media (max-width: 380px) {
  .rf .rf-filter button { padding-inline: 9px; }
  .rf .ref-hero-bar a { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}

/* Photo navigation and captions */
.ed.rf .ref-header.is-solid {
  background: #f5f2ed;
  color: #14362e;
}
.ed.rf .ref-header.is-solid .header-inner { min-height: 64px; }
.ed.rf .ref-header:not(.is-solid) :is(.header-cta, .ref-logo-dark),
.ed.rf .ref-header.is-solid .ref-logo-light,
.ed.rf .ref-header .ref-mobile-switch { display: none; }

.ed.rf .ref-header.ref-over-photo:not(.is-solid) { color: #fff; }
.ed.rf .ref-header .site-nav:not([data-open]) > a:not(.button) {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
}
.ed.rf .ref-header .site-nav a[aria-current=page] {
  background-image: linear-gradient(var(--copper), var(--copper));
  background-size: 100% 1.5px;
}
.ed.rf .ref-header.ref-over-photo:not(.is-solid) .site-nav:not([data-open]) a[aria-current=page] {
  background-image: linear-gradient(#faf8f4, #faf8f4);
}
.home-page .ref-hero {
  align-content: end;
  gap: 28px;
  padding-bottom: var(--ref-bar-bottom);
}
.rf.home-page .ref-hero h1 {
  font-size: 2.375rem;
  line-height: 1.1579;
}
.ref-hero .ref-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(16 22 20 / 72%) 48px, rgb(16 22 20 / 24%) 92px, transparent 140px),
              linear-gradient(to top, rgb(16 22 20 / 82%), rgb(16 22 20 / 64%) 180px, transparent max(45%, 270px));
}
.ref-hero-bar .ref-bar-primary { background: #14362e; font-weight: 600; }
.ref-inner-photo { min-height: 528px; --ref-hero-offset: 64px; }
.rf .ref-inner-photo h1 { font-size: 40px; max-width: 34ch; }
.rf :is(.ref-hero .ref-photo, .photo):has(figcaption) { position: relative; }
.rf .ref-hero .ref-photo:has(figcaption) { position: absolute; }
.rf .photo:has(figcaption)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48px;
  background: linear-gradient(to top, rgb(0 0 0 / 74%), rgb(0 0 0 / 55%) 22px, transparent);
  pointer-events: none;
}
.rf :is(.ref-hero .ref-photo, .photo) figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 24px 12px auto;
  padding: 0;
  margin: 0;
  background: none;
  color: rgb(255 255 255 / 92%);
  font: 400 11px/1.45 var(--body-font);
  letter-spacing: .03em;
  text-shadow: 0 1px 2px rgb(0 0 0 / 80%);
}
.rf .ref-hero .ref-photo figcaption {
  padding: 3px 7px;
  background: #14362e;
  color: #fff;
  text-shadow: none;
}
.rf .ref-service .photo {
  margin: 0 !important;
  overflow: hidden;
}
.rf .ref-service .photo::after { content: none; }
.rf .ref-service .photo figcaption {
  inset: auto auto 16px 20px;
  max-width: calc(100% - 40px);
  padding: 6px 8px;
  background: #14362e;
  color: #fff;
  font: 400 12px/16px var(--body-font);
  text-shadow: none;
}
.rf .ref-service .photo figcaption span { color: inherit; font: inherit; }

/* Editorial measures */
.home-page :is(.ref-intro, .ed-steps, .ed-areas, .ref-owner, .ed-faq, .ref-closing, .site-footer) > .wrap { max-width: 1248px; }
.ref-intro { padding-block: 112px; }
.ref-intro p,
:lang(zh-Hans) .ref-intro p { max-width: 780px; font-size: 1.75rem; line-height: 1.392857; }
.ref-service { background: #efece6; }
.ref-service + .ref-service { background: #e6e0d7; }
.rf .calc-layout :is(
  .rf-example-note, .rf-ex-badge, .rf-ex-tag, .reference, noscript .small,
  .ledger caption, [data-verdict], .ref-scenario-note, .calc-details summary,
  .calc-details p, .calc-result-footer p
) {
  max-width: 62ch;
  color: var(--ink-secondary);
  font-size: .9375rem;
  line-height: 1.55;
}
.rf .calc-layout .ledger :is(th, td) { padding-block: .35rem; }
.rf .calc-layout .ledger .net-row td { font-size: 1.125rem; font-weight: 700; }
.rf .calc-layout .ref-scenario-note { padding: 14px clamp(16px, 2vw, 28px); }

@media (width > 1050px) {
  .rf .calc-layout .ledgers {
    gap: 2.5rem;
    background: linear-gradient(var(--hair), var(--hair)) center / 1px 100% no-repeat;
  }
}
.ref-service-copy h2 { font-size: 2.625rem; }
.ref-service-copy p { font-size: var(--text-body); max-width: 40rem; }
.rf .ref-service .text-action {
  color: #14362e;
  font-size: 14px;
  font-weight: 500;
  background-image: none;
  text-decoration: underline #8a562e;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.rf .ref-service .text-action::after { color: #8a562e; }
.ref-owner { background: #f6f4ef; padding-block: 64px 0; border-top: 1px solid #d6cfc4; }
.ref-owner .ref-halves {
  align-items: stretch;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 72px;
}
.ref-owner h2 { font-size: 32px; margin-bottom: 20px; }
.ref-calculator { display: flex; flex-direction: column; align-items: flex-start; padding: 0; }
.ref-calculator p { margin-top: 0; }
.ref-calculator-inputs { list-style: none; padding: 0; margin: 12px 0 32px; width: 100%; }
.ref-calculator-inputs li { border-top: 1px solid #dcd6cc; padding-block: 20px; }
.ref-calculator-inputs li:last-child { border-bottom: 1px solid #dcd6cc; }
.rf .ref-calculator .button {
  margin-top: auto;
  min-height: 48px;
  padding-block: 8px;
  background: #14362e;
  color: #fff;
}
.rf .ref-owner .r-report {
  padding: 24px;
  font-size: 14px;
  background: #faf8f4;
  border: 0;
  border-top: 1px solid #14362e;
  box-shadow: none;
  --hair: #dcd6cc;
}
.ref-owner .r-report tr { height: 36px; }
.ref-owner .r-report :is(th, td) { padding-block: 3px; }
.ref-owner .r-report h4 { margin-block: 12px 2px; }
.ref-owner .r-report-top { padding-bottom: 12px; }
.ref-owner .r-report-foot { margin-top: 10px; }
.rf .ref-owner .rf-note {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hair);
  margin-top: 10px;
  padding: 8px 0 0;
}
.rf.home-page .ref-owner + .ed-faq { padding-top: 128px; }
.rf.home-page .ed-areas { padding-bottom: 56px; }
.ref-closing { background: #eae5dc; border-top: 1px solid #ddd6ca; padding-block: 112px; }
.ref-closing .button { width: min(260px, 100%); min-height: 52px; justify-content: center; }
.rf .ref-closing .footer-links, .rf .site-footer p.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rf .ref-closing .footer-links a { border-bottom: 1px solid rgb(20 54 46 / 30%); text-decoration: none; }
.ref-service-intro { max-width: 1152px; padding-block: 72px 0; }
.ref-service-intro .lead { margin-block: 0; }
.ref-service-intro + .ed-scope { --section-space: 88px; }
.ref-service-actions .actions { margin-top: 0; }
.ref-service-actions .trust { margin-bottom: 0; }

/* Home service area plan */
.rf .ed-map:has(.ref-map-plan) { width: 100%; max-width: 600px; }
.ref-map-plan { position: relative; background: #e8e3da; }
.rf .ref-map-plan .sea { fill: #dcd5c7; }
.rf .ref-map-plan :is(.land, .island) { fill: #f3efe8; stroke: #bfb7a9; stroke-width: 1; }
.rf .ref-map-plan .dot { fill: #14362e; }
.rf .ref-map-plan .dot--lt { fill: #8a562e; stroke: #8a562e; }
.rf.home-page .ed-areas-text h2 { font-size: 36px; }
.rf.home-page .ed-areas-text .ed-lede {
  max-width: none;
  margin-block: 16px;
  color: #4a4945;
  font: 400 16px/24px var(--body-font);
}
.home-page .ed-area-list { margin-top: 16px; border-bottom: 1px solid var(--hair); }
.rf.home-page .rf-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  min-height: 52px;
  margin-inline: 0;
  padding: 0 12px;
}
.rf.home-page .rf-area.is-on { border-left-color: #14362e; background: #f3efe8; }
.home-page .rf-area .rf-area-btn { display: flex; align-items: center; }
.home-page .rf-area-btn::before { content: ""; position: absolute; inset: 0; }
.home-page .rf-area .ed-avail { margin: 0; letter-spacing: 0; text-align: end; }
.home-page .rf-area p:not(.ed-avail) { grid-column: 1 / -1; }
.rf-js .home-page .rf-area p:not(.ed-avail) { display: none; }
.home-page .rf-map-status {
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  min-height: 0;
}
.home-page .rf-map-status:empty { margin: 0; }
.rf .ref-map-plan .zone { fill: none; stroke: #14362e; stroke-width: 1; }
.rf .ref-map-plan .zone--lt { stroke: #8a562e; stroke-width: 1.5; }
.rf .ref-map-plan .zone.is-on { stroke: #14362e; fill: rgb(20 54 46 / 15%); stroke-width: 2; transform: none; }
.rf .ref-map-plan .zone--lt.is-on { stroke: #8a562e; fill: rgb(138 86 46 / 15%); }
.rf .ref-map-plan svg text { font-size: 20px; stroke: none; fill: #1c1b18; }
.ref-map-marker {
  position: absolute;
  inset: var(--y) auto auto var(--x);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* Assessment quiz */
.rf .rf-quiz { padding: 0 0 40px; margin-bottom: 32px; border-bottom: 1px solid var(--hair); background: none; }
.rf .rf-quiz-form { min-height: 0; margin-top: 24px; }
.rf .rf-quiz-progress { height: 2px; margin-top: 20px; }
.rf .rf-opt,
.rf .rf-opt:has(input:checked) {
  margin: 0;
  padding: 12px 0;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--hair);
  background: transparent;
  box-shadow: none;
  transform: none;
}
.rf .rf-opt:first-of-type { border-top: 1px solid var(--hair); }

@media (width >= 900px) {
  .home-page :is(.ed-steps, .ed-faq) > .ed-grid,
  .home-page .ref-closing .ref-halves {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 5.56vw, 80px);
  }
  .rf.home-page :is(.ed-steps, .ed-faq) > .ed-grid > * { grid-column: auto; }
  .ref-service-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .ref-service { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
  .ref-service:nth-child(even) { grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); }
  .ref-service-copy { padding-inline: 72px max(72px, calc((100vw - 1248px) / 2)); }
  .ref-service:nth-child(even) .ref-service-copy {
    padding-inline: max(72px, calc((100vw - 1248px) / 2)) 72px;
  }
  .rf.home-page .ed-areas .ed-grid { align-items: stretch; }
  .home-page .ed-areas-text { display: flex; flex-direction: column; align-items: flex-start; }
  .home-page .ed-area-list { width: 100%; margin-top: auto; padding-top: 16px; }
  .home-page .rf-map-status { min-height: 48px; }
  .home-page .rf-map-status:empty { margin-top: 12px; }
  .ref-service-actions { align-self: end; }
}

@media (width < 900px) {
  .ed.rf .ref-header[data-enhanced] .ref-mobile-switch {
    display: flex;
    align-items: center;
    margin-inline-start: auto;
    border: 0;
    padding: 0;
    font-size: 12px;
  }
  .ed.rf .ref-header .ref-mobile-switch > :is(a, span[aria-current]) {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 12px;
    color: inherit;
  }
  .ed.rf .ref-header[data-enhanced]:has(.site-nav[data-open]) .ref-mobile-switch { display: none; }
  .ed.rf .ref-header .menu-toggle { margin-inline-start: auto; min-width: 44px; min-height: 44px; }
  .ed.rf .ref-header:not(:has(.site-nav[data-open])) .menu-toggle { margin-inline-start: 0; }
  .home-page .ref-hero {
    min-height: max(700px, 90svh);
    gap: 20px;
    --ref-bar-bottom: max(48px, env(safe-area-inset-bottom));
  }
  .home-page .ref-hero .ref-photo picture { overflow: hidden; }
  .home-page .ref-hero .ref-photo img { object-position: 61% 50%; height: 126%; top: auto; }
  .rf.home-page .ref-hero h1 { font-size: 1.875rem; line-height: 1.2; }
  .rf .ref-hero .ref-photo figcaption { inset: auto 16px 10px auto; }
  .ref-inner-photo { min-height: clamp(390px, 59svh, 528px); }
  .rf .ref-inner-photo h1 { font-size: 34px; }
  .ref-intro { padding-block: 64px; }
  .ref-intro p,
  :lang(zh-Hans) .ref-intro p { font-size: 1.375rem; line-height: 1.454545; }
  .rf .ref-service .photo figcaption { inset-inline-start: 16px; }
  .rf .ref-owner .r-report { padding-inline: 16px; }
  .ref-service-copy h2 { font-size: 32px; }
  .ref-owner { padding-top: 48px; }
  .ref-owner .ref-halves { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .rf.home-page .ref-owner + .ed-faq { padding-top: 64px; }
  .ref-service-intro { padding-top: 48px; }
  .ref-service-actions .actions { margin-top: 24px; }
  .ref-service-intro + .ed-scope { --section-space: 64px; }
  .ref-closing { padding-block: 80px; }
}

@media (width >= 1024px) {
  :root { font-size: 112.5%; --text-body: 1rem; }
  .ed.rf .ref-header .site-nav:not([data-open]) > a:not(.button) {
    font-size: .8125rem;
    letter-spacing: .04em;
  }
  .ed.rf .ref-header :is(.site-nav, .header-cta) { white-space: nowrap; }
  .rf .ref-service .text-action { font-size: .875rem; }
  .ref-service-copy h2 { font-size: clamp(2.625rem, 3.75vw, 3.125rem); }
  .ref-service-copy p { font-size: 1.125rem; }

  .rf :is(.ed-checks .ed-grid, .ed-story-head + .ed-ch--during) {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: clamp(32px, 4vw, 64px);
  }
  .rf :is(.ed-checks, .ed-story-head + .ed-ch--during) .photo {
    grid-column: 1;
    --crop: 5 / 4;
    margin-inline: 0 !important;
  }
  .rf :is(.ed-checks-body, .ed-story-head + .ed-ch--during .ed-ch-body) {
    grid-column: 2;
    padding-top: 0;
  }
  .rf :is(.ed-checks-body, .ed-ch-body) > p { max-width: 40rem; }
}
