:root {
  --ink: #082c30;
  --muted: #706758;
  --teal: #043f42;
  --teal-2: #075a5f;
  --teal-3: #e6efea;
  --jade: #0f6f68;
  --cobalt: #23495a;
  --rose: #9f7a3e;
  --coral: #c7a46f;
  --gold: #c8a96a;
  --mint: #d7c39a;
  --cream: #f7ead2;
  --paper: #fbf5e8;
  --porcelain: #fffdf4;
  --line: rgba(7, 23, 25, 0.13);
  --shadow: 0 18px 44px rgba(7, 23, 25, 0.1);
  --card-shadow: 0 12px 30px rgba(7, 23, 25, 0.07);
  --section-y: 30px;
  --section-y-mobile: 18px;
  --radius: 16px;
  --image-radius: 15px;
  --max: 1240px;
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

.lead-framework {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 auto 12px;
}

.lead-framework article,
.after-submit-grid article,
.checklist-capture {
  border: 1px solid rgba(7, 57, 63, 0.13);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 26px rgba(7, 23, 25, 0.06);
}

.lead-framework article {
  display: grid;
  gap: 5px;
  padding: 13px;
}

.lead-framework strong,
.after-submit-grid strong,
.checklist-capture strong {
  color: var(--teal);
  font-size: 0.8rem;
  line-height: 1.15;
}

.lead-framework span,
.after-submit-grid span,
.checklist-capture span {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.38;
}

.lead-framework a {
  width: fit-content;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  font-size: 0.64rem;
  font-weight: 850;
}

.after-submit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.after-submit-grid article {
  display: grid;
  gap: 4px;
  padding: 11px;
}

.acquisition-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.checklist-capture {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 0.55fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.checklist-capture > div {
  display: grid;
  gap: 5px;
}

.inline-capture {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.7fr) auto;
  gap: 8px;
  align-items: center;
}

.inline-capture input,
.inline-capture select,
.partner-form input,
.partner-form select,
.partner-form textarea {
  min-height: 38px;
  border: 1px solid rgba(7, 57, 63, 0.16);
  border-radius: 12px;
  padding: 0 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.inline-capture small {
  grid-column: 1 / -1;
  min-height: 14px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
}

.partner-section {
  padding-top: 12px;
  padding-bottom: 16px;
}

.partner-form span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 850;
}

.partner-form textarea {
  padding-top: 10px;
  resize: vertical;
}

@media (max-width: 900px) {
  .lead-framework,
  .after-submit-grid,
  .checklist-capture,
  .partner-panel {
    grid-template-columns: 1fr;
  }

  .inline-capture,
  .partner-form {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 2%, rgba(200, 169, 106, 0.2), transparent 18rem),
    radial-gradient(circle at 88% 10%, rgba(4, 63, 66, 0.12), transparent 24rem),
    linear-gradient(180deg, #fbf5e8 0%, #fffdf4 38%, #f7ead2 100%);
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(7, 23, 25, 0.08);
  background: rgba(255, 250, 241, 0.94);
  backdrop-filter: blur(18px);
}

.site-header::after {
  display: none;
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.brand > span:not(.brand-mark) {
  width: 172px;
}

.brand strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.29rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  word-spacing: -0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header .brand small {
  letter-spacing: 0.11em;
  word-spacing: 0.08em;
  white-space: nowrap;
}

.brand.dark strong {
  color: var(--cream);
}

.brand.dark small {
  color: rgba(255, 255, 255, 0.68);
}

.brand-mark {
  position: relative;
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 10px 22px rgba(0, 72, 77, 0.16);
}

.brand-mark.small {
  width: 26px;
  height: 26px;
}

.brand-mark.gold {
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--ink);
}

.nav-links a {
  padding: 9px 0;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  box-shadow: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  box-shadow: 0 12px 26px rgba(7, 57, 63, 0.22);
}

.button-secondary {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(255, 255, 255, 0.74);
}

.button-warm {
  gap: 10px;
  color: var(--ink);
  border-color: rgba(7, 23, 25, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #d7b896, #c9a582);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 22px rgba(83, 58, 39, 0.18);
}

.button-warm span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-right: -8px;
  border-radius: 50%;
  color: #fffaf1;
  background: #231f1c;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(1, 73, 78, 0.2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  place-items: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--teal);
}

.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--section-y) 0;
}

.service-section.section-pad {
  position: relative;
  margin-top: 28px;
  padding: 58px 52px 64px;
  overflow: hidden;
  border: 1px solid rgba(7, 23, 25, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.58), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(232, 217, 201, 0.8));
  box-shadow:
    0 38px 90px rgba(27, 24, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.service-section.section-pad::before,
.article-section.section-pad::before,
.match-section.section-pad::before,
.resource-shell::before {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 58%;
  height: 58%;
  opacity: 0.2;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 20px, rgba(7, 57, 63, 0.13) 21px 22px);
  transform: rotate(-8deg);
}

.hero-section.section-pad {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 458px;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 70px max(40px, calc((100vw - var(--max)) / 2 + 40px));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0c3140;
  box-shadow:
    inset 0 -5px 0 rgba(216, 170, 69, 0.82),
    0 22px 64px rgba(16, 35, 63, 0.16);
  isolation: isolate;
}

.hero-section.section-pad::before,
.hero-section.section-pad::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section.section-pad::before {
  z-index: -2;
  background: url("./assets/singapore-landscape-hero-hd.png?v=hero-hd1") 64% center / cover no-repeat;
  will-change: transform, filter, opacity;
  animation:
    heroPhotoIn 1450ms cubic-bezier(0.2, 0.8, 0.2, 1) both,
    heroLandscapeDrift 28s ease-in-out 1500ms infinite alternate;
}

.hero-section.section-pad::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 23, 25, 0.72) 0%, rgba(7, 57, 63, 0.42) 35%, rgba(35, 73, 90, 0.04) 68%, rgba(7, 23, 25, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(2, 24, 32, 0.02));
  animation: bannerGradientIn 1400ms ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  display: none;
}

.eyebrow.light {
  color: #fce8c4;
}

.soft-pill {
  min-height: 26px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid rgba(7, 23, 25, 0.26);
  border-radius: 9px;
  color: #2c2824;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 4px 12px rgba(7, 23, 25, 0.06);
}

.service-section .eyebrow {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--teal);
}

.hero-content h1,
.section-heading h2,
.admin-topline h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-top: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  animation: heroTextIn 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-content::before {
  display: none;
}

.hero-content .eyebrow {
  color: #fce8c4;
}

.hero-content h1 {
  max-width: min(660px, 100%);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.55vw, 2.45rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
  word-spacing: -0.08em;
  text-transform: uppercase;
  text-align: left;
  text-align-last: auto;
  color: #fffdf8;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
}

.hero-content h1 > .hero-line {
  display: block;
  white-space: nowrap;
}

.hero-content h1 > .hero-sub-line {
  color: #e1c37b;
}

.hero-content p {
  max-width: 500px;
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.78rem;
  line-height: 1.38;
  text-align: left;
  text-align-last: left;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mini-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: var(--teal);
  background: linear-gradient(145deg, #ffffff, #d7efeb);
  box-shadow:
    inset 0 -5px 10px rgba(1, 73, 78, 0.11),
    0 7px 13px rgba(1, 73, 78, 0.13);
}

@keyframes heroLandscapeDrift {
  from {
    transform: translate3d(calc(var(--hero-drift-x, 0px) - 0.5%), var(--hero-drift-y, 0px), 0) scale(1.01);
  }
  to {
    transform: translate3d(calc(var(--hero-drift-x, 0px) + 1.4%), var(--hero-drift-y, 0px), 0) scale(1.06);
  }
}

@keyframes bannerGradientIn {
  from {
    opacity: 0.72;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPhotoIn {
  from {
    opacity: 0;
    filter: saturate(0.95) contrast(0.98) brightness(1.02);
    transform: translate3d(var(--hero-drift-x, 0px), var(--hero-drift-y, 0px), 0) scale(1.025);
  }
  to {
    opacity: 1;
    filter: saturate(1.28) contrast(1.1) brightness(1.06);
    transform: translate3d(var(--hero-drift-x, 0px), var(--hero-drift-y, 0px), 0) scale(1);
  }
}

.motion-ready .hero-content {
  animation: motionHeroContent 900ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.motion-ready .brand {
  animation: motionHeaderIn 640ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.82, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.82, 0.2, 1),
    filter 620ms cubic-bezier(0.2, 0.82, 0.2, 1);
  transition-delay: calc(var(--motion-order, 0) * 55ms);
  will-change: opacity, transform, filter;
}

.motion-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.motion-ready .service-card,
.motion-ready .article-card,
.motion-ready .steps-grid article {
  transition:
    transform 220ms cubic-bezier(0.2, 0.82, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.2, 0.82, 0.2, 1),
    border-color 220ms ease,
    filter 220ms ease;
}

.motion-ready .service-card:hover,
.motion-ready .article-card:hover,
.motion-ready .steps-grid article:hover {
  transform: translateY(-6px);
  filter: saturate(1.03);
}

.motion-ready .service-photo,
.motion-ready .article-image {
  transition: transform 650ms cubic-bezier(0.2, 0.82, 0.2, 1), filter 650ms ease;
}

.motion-ready .service-card:hover .service-photo,
.motion-ready .article-card:hover .article-image {
  transform: scale(1.045);
}

@keyframes motionHeroContent {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes motionHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading h2,
.admin-topline h2 {
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.08;
}

.section-heading p,
.admin-topline p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

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

.service-card,
.professional-card,
.article-card,
.admin-card,
.match-panel {
  border: 1px solid rgba(7, 57, 63, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.94);
  box-shadow: var(--card-shadow);
}

.service-card {
  position: relative;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 84%, var(--accent-soft), transparent 4.8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 241, 0.86));
  opacity: 1;
  pointer-events: none;
}

.service-card::after {
  display: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card.photo-card {
  display: grid;
  grid-template-rows: 156px auto auto 1fr;
  min-height: 376px;
}

.service-card.photo-card::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 244, 0.9));
}

.service-photo {
  position: relative;
  width: 100%;
  min-height: 156px;
  height: 156px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--service-photo) var(--service-photo-position, center) / cover no-repeat;
  filter: saturate(1.18) contrast(1.1) brightness(1.06);
  box-shadow: none;
}

.service-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-photo::before {
  background:
    linear-gradient(180deg, rgba(8, 31, 44, 0), rgba(8, 31, 44, 0.08)),
    linear-gradient(90deg, rgba(7, 57, 63, 0.08), transparent 58%);
}

.service-graphic {
  position: relative;
  width: 122px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 9px;
  color: var(--ink);
}

.service-graphic::before {
  content: "";
  position: absolute;
  inset: 14px 9px 6px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.92), transparent 2.4rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), var(--accent-soft));
  filter: blur(0.2px);
  opacity: 0.92;
}

.service-graphic svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter:
    drop-shadow(0 14px 16px rgba(16, 35, 63, 0.14))
    drop-shadow(0 4px 0 rgba(255, 255, 255, 0.46));
}

.service-graphic .gfx-card,
.service-graphic .gfx-panel {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(0, 72, 77, 0.16);
  stroke-width: 1.1;
}

.service-graphic .gfx-shadow {
  fill: rgba(16, 35, 63, 0.12);
}

.service-graphic .gfx-main {
  fill: color-mix(in srgb, var(--accent) 82%, #fff);
  stroke: rgba(16, 38, 64, 0.48);
  stroke-width: 1.3;
}

.service-graphic .gfx-accent {
  stroke: rgba(16, 38, 64, 0.42);
  stroke-width: 1.2;
}

.service-graphic .gfx-accent.soft {
  fill: var(--accent-soft);
}

.service-graphic .gfx-soft {
  fill: var(--accent-soft);
  stroke: rgba(16, 38, 64, 0.34);
  stroke-width: 1.15;
}

.service-graphic .gfx-gold,
.service-graphic .gfx-coin {
  fill: #e9c46c;
  stroke: rgba(16, 38, 64, 0.34);
  stroke-width: 1.15;
}

.service-graphic .gfx-coin.small {
  fill: #f7dfa3;
}

.service-graphic .gfx-line,
.service-graphic .gfx-stroke {
  fill: none;
  stroke: #15304a;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-graphic .gfx-window {
  fill: rgba(255, 255, 255, 0.78);
  stroke: rgba(16, 38, 64, 0.22);
  stroke-width: 1;
}

.service-graphic .gfx-scroll,
.service-graphic .gfx-building,
.service-graphic .gfx-suitcase {
  stroke: rgba(16, 38, 64, 0.32);
  stroke-width: 1.1;
}

.service-graphic .gfx-suitcase {
  fill: color-mix(in srgb, var(--accent) 72%, #fff);
}

.service-graphic .gfx-seal,
.service-graphic .gfx-figure {
  stroke: rgba(16, 38, 64, 0.32);
  stroke-width: 1.1;
}

.service-graphic .gfx-figure {
  fill: color-mix(in srgb, var(--accent) 82%, #fff);
}

.service-graphic .gfx-figure.pale {
  fill: var(--accent-soft);
}

.service-graphic .gfx-pen {
  fill: #173550;
  opacity: 0.72;
}

.service-graphic .gfx-spark {
  fill: #f5d98e;
  stroke: rgba(16, 38, 64, 0.24);
  stroke-width: 1;
}

.service-graphic .route-line {
  stroke-dasharray: 4 6;
}

.service-card h3 {
  display: grid;
  place-items: center;
  min-height: 2.44em;
  margin: 0;
  padding: 9px 9px 5px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink);
}

.service-card p {
  min-height: 3.48em;
  margin: 0;
  padding: 0 12px 7px;
  color: var(--muted);
  line-height: 1.24;
  font-size: 0.6rem;
  text-align: center;
}

.service-card ul,
.insight-list,
.category-share {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  justify-items: center;
  align-content: start;
  padding: 0 9px 11px;
}

.service-card li {
  position: relative;
  padding-left: 0;
  width: 100%;
  min-height: 24px;
  display: grid;
  place-items: center;
  margin-top: 0;
  padding: 4px 5px;
  border: 1px solid rgba(7, 57, 63, 0.09);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.55rem;
  line-height: 1.08;
  text-align: center;
}

.service-card li::before {
  display: none;
}

.service-chip {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(1, 73, 78, 0.11);
  font-size: 0.66rem;
  font-weight: 850;
}

.journey-panel,
.checklist-grid {
  display: grid;
  gap: 10px;
}

.journey-panel {
  grid-template-columns: minmax(220px, 0.33fr) minmax(0, 0.67fr);
  align-items: stretch;
}

.journey-options {
  display: grid;
  gap: 7px;
}

.journey-options button {
  min-height: 42px;
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: var(--radius);
  color: #183954;
  background: rgba(255, 253, 248, 0.92);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.journey-options button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--jade));
  box-shadow: 0 12px 28px rgba(1, 73, 78, 0.16);
}

.journey-output,
.checklist-grid article,
.partner-panel {
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(216, 170, 69, 0.14), transparent 9rem),
    rgba(255, 253, 248, 0.95);
  box-shadow: 0 12px 32px rgba(16, 35, 63, 0.06);
}

.journey-output {
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 18px;
}

.journey-output span {
  color: var(--rose);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.journey-output h3,
.partner-panel h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  letter-spacing: 0;
  line-height: 1.14;
  text-transform: uppercase;
}

.journey-output p,
.partner-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.journey-note {
  display: block;
  max-width: 62rem;
  color: #526b7d;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.45;
}

.journey-output div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.journey-output a {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 0.63rem;
  font-weight: 900;
}

.checklist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checklist-grid article {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.checklist-grid strong {
  color: var(--teal);
  font-size: 0.78rem;
}

.checklist-grid label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.checklist-grid input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.compact-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.mini-card-grid,
.trust-grid,
.neighbourhood-grid {
  display: grid;
  gap: 8px;
}

.mini-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 10px;
}

.neighbourhood-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card-grid article,
.trust-grid article,
.neighbourhood-grid article {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 10px;
  border: 1px solid rgba(0, 72, 77, 0.12);
  border-radius: 11px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.05);
}

.mini-card-grid strong,
.trust-grid strong,
.neighbourhood-grid strong {
  color: var(--teal);
  font-size: 0.72rem;
  line-height: 1.15;
}

.mini-card-grid span,
.trust-grid span,
.neighbourhood-grid span {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.32;
}

.partner-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 16px;
  padding: 16px;
}

.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.partner-form label:has(textarea),
.partner-form button,
.partner-form .form-success {
  grid-column: 1 / -1;
}

.how-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 20%, rgba(183, 122, 45, 0.18), transparent 14rem),
    radial-gradient(circle at 92% 18%, rgba(216, 170, 69, 0.16), transparent 14rem),
    linear-gradient(135deg, var(--teal) 0%, #061719 100%);
  color: #fff;
}

.how-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 50%, rgba(255, 247, 221, 0.1), transparent 9rem),
    radial-gradient(circle at 76% 48%, rgba(183, 122, 45, 0.1), transparent 9rem);
  opacity: 1;
  pointer-events: none;
}

.how-section .section-heading h2,
.how-section .section-heading p {
  color: #fffdf5;
}

.how-section .section-heading h2 {
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0;
}

.how-section .section-pad {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  padding-bottom: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.steps-grid article {
  position: relative;
  min-height: 98px;
  padding: 6px 10px 7px;
  text-align: center;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.steps-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 36px;
  right: -8px;
  color: #fce8c4;
  font-size: 1.1rem;
  font-weight: 900;
}

.steps-grid strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 0.72rem;
  color: #fff;
}

.steps-grid span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  font-size: 0.62rem;
}

.step-photo {
  position: relative;
  width: 136px;
  height: 72px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 221, 0.48);
  border-radius: var(--image-radius);
  background:
    linear-gradient(180deg, rgba(2, 28, 35, 0), rgba(2, 28, 35, 0.24)),
    var(--step-photo) center / cover no-repeat;
  filter: saturate(1.34) contrast(1.1) brightness(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 18px 34px rgba(0, 0, 0, 0.24);
}

.step-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 78, 82, 0.16), rgba(191, 39, 94, 0.04));
}

.intake-photo {
  --step-photo: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=90");
  background-position: 50% 44%;
}

.review-photo {
  --step-photo: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=900&q=90");
  background-position: 50% 43%;
}

.intro-photo {
  --step-photo: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=90");
  background-position: 50% 43%;
}

.settle-photo {
  --step-photo: url("https://images.unsplash.com/photo-1565967511849-76a60a516170?auto=format&fit=crop&w=900&q=90");
  background-position: 50% 43%;
}

.step-symbol {
  position: relative;
  width: 76px;
  height: 58px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 247, 221, 0.48);
  transform: none;
  box-shadow:
    inset -10px -15px 22px rgba(9, 35, 48, 0.22),
    inset 9px 8px 18px rgba(255, 255, 255, 0.54),
    0 20px 34px rgba(0, 0, 0, 0.25);
}

.step-symbol svg {
  width: 70px;
  height: 54px;
  transform: none;
  fill: none;
  stroke: #fff;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-symbol svg rect,
.step-symbol svg circle {
  fill: rgba(255, 255, 255, 0.2);
  stroke: rgba(255, 255, 255, 0.76);
}

.step-symbol svg path {
  fill: none;
  stroke: #fff;
}

.step-symbol .step-bg {
  fill: rgba(255, 255, 255, 0.22);
  stroke: rgba(255, 255, 255, 0.72);
}

.step-symbol .step-card-fill {
  fill: rgba(255, 255, 255, 0.72);
  stroke: rgba(255, 255, 255, 0.78);
}

.step-symbol .step-orb {
  fill: rgba(255, 226, 166, 0.5);
  stroke: rgba(255, 255, 255, 0.76);
}

.step-symbol .step-card {
  stroke: rgba(255, 255, 255, 0.9);
}

.step-symbol .step-line {
  stroke: #fff;
}

.step-symbol .step-soft {
  stroke: rgba(255, 247, 221, 0.55);
}

.step-symbol .dashed {
  stroke-dasharray: 4 5;
}

.symbol-note {
  background: linear-gradient(145deg, #fff7dd, #5cc5b7 58%, #2c7794);
}

.symbol-route {
  background: linear-gradient(145deg, #fff0d3, #c99356 58%, #7d542d);
}

.symbol-match {
  background: linear-gradient(145deg, #eef1ec, #d8c094 58%, #0a5a60);
}

.symbol-home {
  background: linear-gradient(145deg, #fff6e5, var(--gold) 48%, var(--teal-2));
}

.premium-symbol {
  width: 104px;
  height: 72px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(225, 195, 123, 0.22), rgba(225, 195, 123, 0)) 50% 100% / 58% 1px no-repeat;
  box-shadow: none;
}

.premium-symbol::before {
  display: none;
}

.premium-symbol::after {
  display: none;
}

.premium-symbol svg {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 72px;
  filter:
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 10px rgba(225, 195, 123, 0.08));
}

.premium-symbol .mark-primary,
.premium-symbol .mark-secondary,
.premium-symbol .mark-soft,
.premium-symbol .mark-accent {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-symbol .mark-fill {
  fill: rgba(255, 253, 248, 0.045);
}

.premium-symbol .mark-primary {
  stroke: rgba(247, 231, 183, 0.9);
  stroke-width: 2.45;
}

.premium-symbol .mark-secondary,
.premium-symbol .mark-soft {
  stroke: rgba(255, 253, 248, 0.52);
  stroke-width: 1.85;
}

.premium-symbol .mark-accent {
  stroke: #e1c37b;
  stroke-width: 3.2;
}

.premium-symbol .mark-accent.closed {
  fill: rgba(225, 195, 123, 0.16);
}

.premium-symbol .symbol-sheet,
.premium-symbol .symbol-compass,
.premium-symbol .symbol-shield,
.premium-symbol .symbol-node,
.premium-symbol .symbol-person {
  fill: rgba(255, 253, 248, 0.04);
  stroke: rgba(246, 224, 166, 0.88);
  stroke-width: 2;
}

.premium-symbol .symbol-sheet,
.premium-symbol .symbol-shield {
  fill: rgba(255, 253, 248, 0.1);
}

.premium-symbol .symbol-compass,
.premium-symbol .symbol-person,
.premium-symbol .symbol-node.active {
  fill: rgba(225, 195, 123, 0.28);
  stroke: #f5d98e;
}

.premium-symbol .symbol-fold,
.premium-symbol .symbol-line,
.premium-symbol .symbol-route,
.premium-symbol .symbol-check,
.premium-symbol .symbol-shoulders,
.premium-symbol .symbol-bridge,
.premium-symbol .symbol-link {
  fill: none;
  stroke: #f7e7b7;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-symbol .symbol-line.soft {
  stroke: rgba(255, 253, 248, 0.58);
  stroke-width: 2.2;
}

.premium-symbol .symbol-check {
  stroke: #e1c37b;
  stroke-width: 3.6;
}

.match-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1.52fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #fffdf8;
}

.match-copy {
  padding: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(216, 170, 69, 0.24), transparent 9rem),
    radial-gradient(circle at 10% 88%, rgba(183, 122, 45, 0.16), transparent 8rem),
    linear-gradient(160deg, var(--teal), #061719);
}

.match-copy .eyebrow,
.match-copy h2,
.match-copy p {
  color: #fffdf8;
}

.match-copy .eyebrow {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
}

.match-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0;
  line-height: 1.04;
  text-transform: uppercase;
}

.match-copy p {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.45;
  font-size: 0.78rem;
}

.flow-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0 10px;
}

.flow-options button,
.topic-pills button {
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid rgba(1, 73, 78, 0.14);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 0.61rem;
  font-weight: 800;
  cursor: pointer;
}

.flow-options button.active,
.topic-pills button.active {
  color: #fff;
  border-color: var(--teal-2);
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
}

.match-copy .flow-options button {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.match-copy .flow-options button.active {
  color: var(--teal);
  border-color: #fff;
  background: #fffdf8;
}

.notice {
  padding: 8px 10px;
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.38;
  font-size: 0.68rem;
}

.match-form {
  display: grid;
  gap: 9px;
  padding: 16px;
  background:
    radial-gradient(circle at 96% 0%, rgba(216, 170, 69, 0.14), transparent 10rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 250, 241, 0.96));
}

.form-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
}

.form-card-heading span {
  font-family: var(--font-heading);
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-card-heading strong {
  max-width: 320px;
  color: var(--ink);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: right;
}

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

.category-questions {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) repeat(3, minmax(0, 1fr));
  gap: 7px;
  align-items: stretch;
  padding: 9px;
  border: 1px solid rgba(0, 72, 77, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 241, 0.72));
}

.category-questions > div {
  display: grid;
  align-content: center;
  gap: 4px;
}

.category-questions strong {
  color: var(--teal);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-questions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.58rem;
  line-height: 1.28;
}

.category-questions label {
  gap: 4px;
}

.category-questions label span {
  color: var(--muted);
  font-size: 0.55rem;
  line-height: 1.2;
}

.category-questions input {
  min-height: 30px;
  padding: 7px 8px;
  font-size: 0.64rem;
}

label {
  display: grid;
  gap: 4px;
}

label span {
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 72, 77, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  outline: none;
}

input,
select {
  height: 36px;
  padding: 0 10px;
  font-size: 0.74rem;
}

textarea {
  resize: vertical;
  min-height: 68px;
  padding: 9px 10px;
  line-height: 1.38;
  font-size: 0.74rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal-2);
  box-shadow: 0 0 0 4px rgba(183, 122, 45, 0.16);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.checkbox-row span {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
  font-size: 0.68rem;
}

.form-submit {
  width: fit-content;
  min-width: 150px;
  min-height: 34px;
  font-size: 0.74rem;
}

.form-success {
  display: grid;
  gap: 3px;
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.7rem;
}

.form-success strong {
  color: var(--teal);
  font-size: 0.74rem;
}

.form-success span,
.form-success small {
  color: var(--muted);
  line-height: 1.35;
  font-weight: 650;
}

.ai-summary {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px solid rgba(0, 72, 77, 0.12);
}

.ai-summary em {
  color: var(--rose);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-summary ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.34;
}

.article-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-box {
  min-width: 220px;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  margin-bottom: 12px;
}

.topic-pills button {
  min-height: 22px;
  padding: 0 7px;
  font-size: 0.67rem;
  line-height: 1;
}

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

.article-card {
  position: relative;
  display: grid;
  grid-template-rows: 156px 1fr;
  height: 306px;
  min-height: 306px;
  overflow: hidden;
  border-color: rgba(0, 72, 77, 0.12);
  background:
    radial-gradient(circle at 88% 90%, rgba(183, 122, 45, 0.1), transparent 8rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(255, 250, 241, 0.96));
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 72, 77, 0.18);
  box-shadow: 0 16px 36px rgba(16, 35, 63, 0.1);
}

.article-image {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  background:
    var(--guide-image, url("./assets/singapore-landscape-hero-hd.png?v=hero-hd1")) center / cover;
  filter: saturate(1.24) contrast(1.08) brightness(1.05);
}

.article-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 31, 44, 0), rgba(8, 31, 44, 0.1)),
    linear-gradient(90deg, rgba(7, 57, 63, 0.1), transparent 58%);
}

.article-image::after {
  display: none;
}

.article-tag {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 253, 248, 0.88);
  font-size: 0.48rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.article-body {
  display: grid;
  grid-template-rows: 2.44em minmax(3.92em, auto) 24px;
  align-content: stretch;
  gap: 3px;
  padding: 8px;
}

.article-label {
  width: fit-content;
  margin-bottom: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(183, 122, 45, 0.12);
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-body h3 {
  display: -webkit-box;
  min-height: 2.44em;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1.22;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-body p {
  min-height: 3.92em;
  margin: 0;
  color: var(--muted);
  line-height: 1.31;
  font-size: 0.62rem;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-points {
  display: none;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.article-points li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.article-insight {
  display: none;
  min-width: 0;
  margin: 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-meta {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow: hidden;
}

.article-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-button {
  width: 100%;
  min-height: 24px;
  margin-top: 0;
  border: 1px solid rgba(0, 72, 77, 0.28);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  font-size: 0.56rem;
  font-weight: 900;
  cursor: pointer;
}

body.reader-open {
  overflow: hidden;
}

.article-reader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.article-reader.open {
  display: block;
}

.reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 38, 0.48);
  backdrop-filter: blur(8px);
}

.reader-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(840px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 26px;
  border: 1px solid rgba(0, 72, 77, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 95% 6%, rgba(227, 182, 76, 0.2), transparent 120px),
    linear-gradient(180deg, #fffdf8, #fffaf1);
  box-shadow: 0 28px 90px rgba(8, 25, 38, 0.32);
}

.reader-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 72, 77, 0.18);
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  cursor: pointer;
}

.reader-category {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reader-panel h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.28rem, 2.6vw, 1.72rem);
  letter-spacing: 0;
  line-height: 1.16;
  text-transform: uppercase;
}

.reader-dek {
  max-width: 720px;
  margin: 10px 0 16px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.reader-body {
  display: grid;
  gap: 11px;
}

.reader-body section {
  padding: 14px;
  border: 1px solid rgba(0, 72, 77, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.reader-body h3 {
  margin: 0 0 7px;
  font-size: 0.9rem;
  line-height: 1.22;
}

.reader-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.reader-body h3,
.resource-shell h2,
.static-hero h1,
.static-card h2,
.static-card h3,
.professional-body h3,
.creator-gate-card h1,
.card-title-row h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reader-sources {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(0, 72, 77, 0.12);
}

.reader-sources strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.reader-sources div,
.reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reader-sources a {
  padding: 6px 9px;
  border: 1px solid rgba(0, 72, 77, 0.16);
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 850;
}

.reader-actions {
  margin-top: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 7px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #ffd8b9 0 24%, transparent 25%),
    radial-gradient(circle at 50% 76%, #0a4f56 0 35%, transparent 36%),
    linear-gradient(135deg, #c7efe7, #f4c1aa);
}

.avatar.tiny {
  width: 38px;
  height: 38px;
}

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

.professional-card {
  overflow: hidden;
  background: #fff;
}

.professional-photo {
  min-height: 220px;
  background:
    linear-gradient(0deg, rgba(16, 35, 63, 0.05), rgba(16, 35, 63, 0.05)),
    var(--photo) center top / cover,
    linear-gradient(135deg, var(--fallback-a), var(--fallback-b));
}

.professional-body {
  padding: 20px;
}

.professional-body h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.professional-body .role {
  margin: 0 0 12px;
  color: var(--rose);
  font-weight: 850;
  font-size: 0.88rem;
}

.professional-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.52;
  font-size: 0.9rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-tags span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f2f6f5;
  color: #2b5364;
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-section {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  border-top: 1px solid var(--line);
  background: #fffdf8;
}

.admin-page {
  background:
    linear-gradient(135deg, rgba(0, 112, 116, 0.07) 25%, transparent 25%) 0 0 / 44px 44px,
    linear-gradient(225deg, rgba(199, 35, 100, 0.055) 25%, transparent 25%) 0 0 / 44px 44px,
    linear-gradient(180deg, #fffaf1, #f6fbfa);
}

.creator-locked .creator-backend {
  display: none;
}

.creator-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.creator-gate[hidden] {
  display: none;
}

.creator-gate-card {
  width: min(430px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(0, 72, 77, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, rgba(227, 182, 76, 0.28), transparent 90px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 239, 0.92));
  box-shadow: var(--shadow);
}

.creator-gate-card h1 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 5vw, 2.65rem);
  line-height: 1.02;
}

.creator-gate-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.gate-error {
  min-height: 20px;
  color: var(--rose);
  font-weight: 850;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
  padding: 28px 20px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 8%, rgba(215, 164, 65, 0.24), transparent 12rem),
    linear-gradient(180deg, var(--teal), #061719);
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin: 38px 0;
}

.admin-sidebar nav a {
  padding: 12px 14px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 760;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.admin-sidebar p {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  font-size: 0.86rem;
}

.admin-main {
  padding: 38px clamp(24px, 4vw, 48px) 54px;
}

.admin-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.admin-topline p {
  margin-left: 0;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 164px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-user span:last-child {
  display: grid;
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-user strong {
  color: var(--ink);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-stat {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.admin-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
  color: var(--ink);
}

.admin-stat small {
  display: inline-flex;
  margin-top: 8px;
  color: #087f5b;
  font-weight: 850;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.admin-card {
  padding: 22px;
  background: #fff;
}

.admin-card.wide {
  min-width: 0;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-title-row h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.card-title-row span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

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

.agent-card {
  min-height: 164px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.agent-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, #fff, var(--agent));
  box-shadow:
    inset -6px -7px 12px rgba(16, 35, 63, 0.1),
    0 10px 18px rgba(16, 35, 63, 0.11);
}

.agent-card strong,
.agent-card span,
.agent-card small {
  display: block;
}

.agent-card strong {
  margin-bottom: 3px;
}

.agent-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
}

.agent-card p {
  min-height: 48px;
  margin: 9px 0 10px;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.8rem;
}

.agent-card small {
  color: #087f5b;
  font-weight: 850;
}

.donut-wrap {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
}

.donut {
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    var(--teal) 0 32%,
    #d8c094 32% 57%,
    var(--rose) 57% 75%,
    #c99356 75% 88%,
    #8b7b65 88% 96%,
    var(--gold) 96% 100%
  );
  box-shadow: inset 0 0 0 42px #fffdf8, 0 16px 32px rgba(16, 35, 63, 0.12);
}

.category-share li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.lead-list {
  display: grid;
  gap: 10px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 156px 132px;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.lead-row:last-child {
  border-bottom: 0;
}

.lead-row strong,
.lead-row span,
.lead-row small {
  display: block;
}

.lead-row strong {
  font-size: 0.92rem;
}

.lead-row span,
.lead-row small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.lead-row select {
  height: 38px;
  font-size: 0.8rem;
}

.insight-list {
  display: grid;
  gap: 12px;
}

.insight-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.insight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-2);
}

.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 253, 248, 0.92) 0 8px, transparent 9px),
    linear-gradient(145deg, var(--teal), var(--teal-2) 62%, var(--gold));
  box-shadow: 0 16px 34px rgba(1, 73, 78, 0.35);
  cursor: pointer;
}

.chat-launcher span {
  position: absolute;
  inset: 15px;
  border-radius: 12px 12px 12px 3px;
  background: #fff;
}

.assistant-widget {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 60;
  display: none;
  width: min(380px, calc(100% - 32px));
  overflow: hidden;
  border: 1px solid rgba(1, 73, 78, 0.2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 74px rgba(16, 35, 63, 0.24);
}

.assistant-widget.open {
  display: block;
}

.assistant-widget header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 10%, rgba(216, 170, 69, 0.24), transparent 6rem),
    linear-gradient(135deg, var(--teal), #061719);
}

.assistant-widget header strong,
.assistant-widget header span {
  display: block;
}

.assistant-widget header span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.assistant-widget header button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.assistant-messages {
  display: grid;
  gap: 10px;
  max-height: 310px;
  overflow: auto;
  padding: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 170, 69, 0.12), transparent 8rem),
    linear-gradient(180deg, rgba(246, 250, 249, 0.98), rgba(255, 250, 241, 0.98));
}

.message {
  width: fit-content;
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 0.88rem;
}

.message.bot {
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 3px;
}

.message.user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  border-bottom-right-radius: 3px;
}

.assistant-quick-actions {
  display: grid;
  gap: 8px;
  padding: 0 16px 14px;
  background: #f9f6ed;
}

.assistant-quick-actions button {
  min-height: 36px;
  border: 1px solid rgba(1, 73, 78, 0.15);
  border-radius: var(--radius);
  color: var(--teal);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.assistant-input {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 14px 16px 8px;
}

.assistant-input input {
  height: 40px;
}

.assistant-input button {
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  cursor: pointer;
}

.assistant-disclaimer {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.resource-section {
  padding-top: 18px;
  padding-bottom: 14px;
  scroll-margin-top: 84px;
}

.community-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

.community-strip .eyebrow {
  margin-right: 4px;
}

.community-strip a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(0, 72, 77, 0.12);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 253, 248, 0.9);
  font-size: 0.58rem;
  font-weight: 900;
}

.resource-shell {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--card-shadow);
}

.resource-shell > div:first-child {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.resource-shell .eyebrow {
  justify-content: center;
  margin-bottom: 0;
  font-size: 0.56rem;
}

.resource-shell h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.1;
}

.resource-shell p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.35;
}

.resource-links {
  display: grid;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
  overflow-x: visible;
  padding-bottom: 0;
}

.resource-links a {
  display: grid;
  grid-template-columns: 36px 1fr;
  justify-items: stretch;
  align-items: start;
  gap: 8px;
  min-height: 92px;
  padding: 9px;
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 239, 225, 0.78));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  text-align: left;
}

.resource-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 10px rgba(16, 35, 63, 0.055);
}

.resource-logo::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0;
}

.resource-logo img {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  object-fit: contain;
  background: #fff;
}

.resource-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.resource-links strong {
  color: var(--teal);
  font-size: 0.62rem;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-links em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.55rem;
  line-height: 1.16;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-links small {
  display: -webkit-box;
  color: #6a7d8d;
  font-size: 0.53rem;
  font-weight: 650;
  line-height: 1.2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.source-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.source-trust span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 72, 77, 0.06);
  font-size: 0.55rem;
  font-weight: 850;
}

.resource-disclaimer {
  max-width: 540px;
  margin: 5px auto 0;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 650;
  line-height: 1.35;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #061719, var(--teal));
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 10px;
  display: grid;
  grid-template-columns: 1.15fr 0.55fr 0.65fr 1fr;
  gap: 14px;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.42;
  font-size: 0.7rem;
}

.footer-grid a,
.footer-grid strong {
  display: block;
  margin-bottom: 3px;
}

.footer-grid strong {
  color: var(--cream);
  font-size: 0.74rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-disclaimer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  line-height: 1.42;
}

.static-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.static-hero,
.static-card {
  border: 1px solid rgba(0, 72, 77, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(216, 170, 69, 0.16), transparent 12rem),
    rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 36px rgba(16, 35, 63, 0.07);
}

.static-hero {
  padding: 24px;
}

.static-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.04;
}

.static-hero p,
.static-card p,
.static-card li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.static-card {
  padding: 18px;
}

.static-card h2,
.static-card h3 {
  margin: 0 0 8px;
  color: var(--teal);
}

.static-card ul {
  padding-left: 18px;
  margin: 0;
}

.static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

/* Reference-inspired editorial shell treatment */
.service-section > *,
.article-section > *,
.match-section > * {
  position: relative;
  z-index: 1;
}

.article-section.section-pad,
.match-section.section-pad {
  position: relative;
  margin-top: 28px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(7, 23, 25, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.64), transparent 14rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.94), rgba(232, 217, 201, 0.82));
  box-shadow:
    0 30px 72px rgba(27, 24, 20, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.editorial-heading {
  min-height: 160px;
  margin-bottom: 24px;
}

.editorial-heading h2 {
  max-width: 470px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-transform: none;
  color: #27221d;
}

.heading-side-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 410px;
  margin-bottom: 8px;
}

.heading-side-copy p {
  margin: 0;
  color: #3f3831;
  font-size: clamp(0.92rem, 1.28vw, 1.14rem);
  line-height: 1.45;
}

.service-grid {
  gap: 10px;
}

.service-card.photo-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  background: #1d1b18;
  box-shadow:
    0 16px 34px rgba(27, 24, 20, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.service-card.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(27, 24, 20, 0.2);
  filter: saturate(1.04);
}

.service-card.photo-card::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 22, 25, 0) 0%, rgba(9, 22, 25, 0.06) 36%, rgba(9, 22, 25, 0.88) 100%),
    radial-gradient(circle at 50% 106%, rgba(4, 63, 66, 0.68), transparent 48%);
}

.service-card.photo-card::after {
  display: none;
}

.service-card.photo-card .service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: #efe3d2;
  background-repeat: no-repeat;
  background-size: contain;
  filter: saturate(1.34) contrast(1.1) brightness(1.04);
  transform: none;
  transition: filter 220ms ease;
}

.service-card.photo-card:hover .service-photo {
  transform: none;
}

.service-card.photo-card h3,
.service-card.photo-card p {
  position: absolute;
  left: 22px;
  right: 18px;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 0;
  text-align: left;
  text-transform: none;
  color: #fffaf1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.service-card.photo-card h3 {
  bottom: 62px;
  font-size: clamp(1.12rem, 1.38vw, 1.42rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.service-card.photo-card p {
  bottom: 22px;
  max-width: 92%;
  color: rgba(255, 250, 241, 0.95);
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.35;
}

.service-card.photo-card ul {
  display: none;
}

.match-panel {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 44px rgba(27, 24, 20, 0.1);
}

.article-section .article-grid {
  gap: 12px;
}

.resource-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow:
    0 26px 64px rgba(27, 24, 20, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@media (max-width: 1120px) {
  .match-panel {
    grid-template-columns: 1fr;
  }

  .hero-section.section-pad {
    min-height: 410px;
    padding: 40px 34px;
  }

  .article-grid,
  .professional-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .resource-shell {
    grid-template-columns: 1fr;
  }

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

  .admin-section {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 66px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fffdf8;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .nav-cta {
    width: auto;
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 7.4vw, 2.55rem);
  }

  .hero-section.section-pad {
    width: min(100% - 28px, var(--max));
    min-height: 560px;
    margin-top: 12px;
    padding: 26px 18px;
    align-items: end;
    background-position: center;
    border-radius: 22px;
  }

  .form-grid,
  .category-questions,
  .admin-stats,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.split {
    display: grid;
  }

  .editorial-heading {
    min-height: auto;
    gap: 18px;
  }

  .editorial-heading h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .journey-panel,
  .partner-panel {
    grid-template-columns: 1fr;
  }

  .article-tools {
    display: grid;
  }

  .search-box {
    min-width: 0;
  }

  .donut-wrap {
    grid-template-columns: 1fr;
  }

  .lead-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-pad,
  .footer-grid,
  .footer-disclaimer {
    width: min(100% - 28px, var(--max));
  }

  .brand strong {
    font-size: 1.15rem;
  }

  .brand small {
    font-size: 0.5rem;
  }

  .section-pad {
    padding: var(--section-y-mobile) 0;
  }

  .service-section.section-pad,
  .article-section.section-pad,
  .match-section.section-pad {
    width: min(100% - 28px, var(--max));
    margin-top: 16px;
    padding: 22px 16px;
    border-radius: 22px;
  }

  .editorial-heading h2 {
    font-size: clamp(1.86rem, 11vw, 2.75rem);
    line-height: 0.98;
  }

  .heading-side-copy {
    gap: 12px;
  }

  .heading-side-copy p {
    font-size: 0.82rem;
  }

  .hero-section.section-pad {
    min-height: 420px;
    padding: 42px 20px;
    background-position: center;
  }

  .hero-section.section-pad::before {
    background-position: 63% center;
  }

  .hero-section.section-pad::after {
    background:
      linear-gradient(180deg, rgba(5, 29, 44, 0.58) 0%, rgba(5, 40, 54, 0.31) 50%, rgba(5, 40, 54, 0.1) 100%);
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(1.16rem, 5vw, 1.52rem);
    letter-spacing: 0;
  }

  .hero-content p {
    max-width: 326px;
    font-size: 0.69rem;
    line-height: 1.34;
  }

  .section-heading {
    margin-bottom: 10px;
  }

  .section-heading h2 {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.72rem;
  }

  .button-warm {
    width: fit-content;
    min-width: 184px;
    padding-left: 16px;
    padding-right: 7px;
  }

  .article-grid,
  .professional-grid,
  .agent-grid,
  .admin-sidebar nav,
  .admin-stats,
  .checklist-grid,
  .mini-card-grid,
  .trust-grid,
  .neighbourhood-grid,
  .proof-grid,
  .static-grid {
    grid-template-columns: 1fr;
  }

  .category-questions {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
  }

  .path-grid,
  .timeline-grid,
  .trust-grid,
  .neighbourhood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .mini-card-grid article,
  .trust-grid article,
  .neighbourhood-grid article {
    min-height: 76px;
    padding: 8px;
  }

  .mini-card-grid strong,
  .trust-grid strong,
  .neighbourhood-grid strong {
    font-size: 0.64rem;
  }

  .mini-card-grid span,
  .trust-grid span,
  .neighbourhood-grid span {
    font-size: 0.56rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
    padding: 13px 0 7px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid a,
  .footer-grid p {
    margin-bottom: 3px;
    font-size: 0.62rem;
    line-height: 1.28;
  }

  .footer-grid strong {
    margin-bottom: 4px;
    font-size: 0.64rem;
  }

  .site-footer .brand {
    gap: 5px;
  }

  .site-footer .brand-mark {
    width: 22px;
    height: 22px;
  }

  .site-footer .brand strong {
    font-size: 0.92rem;
  }

  .site-footer .brand small {
    max-width: none;
    margin-top: 1px;
    font-size: 0.42rem;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .footer-disclaimer {
    padding: 7px 0 9px;
    font-size: 0.56rem;
    line-height: 1.35;
  }

  .partner-form {
    grid-template-columns: 1fr;
  }

  .journey-options {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .steps-grid {
    gap: 8px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 9px;
  }

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

  .service-card {
    min-height: auto;
    padding: 0;
  }

  .service-card.photo-card {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }

  .service-photo {
    min-height: 100%;
    height: 100%;
    margin-bottom: 0;
  }

  .service-card.photo-card h3 {
    bottom: 58px;
    left: 18px;
    right: 18px;
    font-size: 1.08rem;
  }

  .service-card.photo-card p {
    bottom: 20px;
    left: 18px;
    right: 18px;
    font-size: 0.68rem;
  }

  .resource-shell {
    padding: 10px;
    overflow: hidden;
  }

  .resource-shell > div:first-child {
    display: grid;
    gap: 2px;
  }

  .resource-shell p {
    max-width: 310px;
    margin: 0 auto;
    font-size: 0.58rem;
  }

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

  .resource-links a {
    min-height: 90px;
    padding: 8px;
  }

  .service-graphic {
    width: 104px;
    height: 74px;
    margin-bottom: 4px;
  }

  .service-card h3 {
    min-height: 2.28em;
    margin-bottom: 0;
    padding: 8px 8px 4px;
    font-size: 0.68rem;
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .service-card p {
    min-height: 3.34em;
    padding: 0 9px 7px;
    font-size: 0.57rem;
    line-height: 1.22;
  }

  .service-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 0 8px 10px;
  }

  .service-card li {
    margin-top: 0;
    padding-left: 0;
    min-height: 23px;
    padding: 4px;
    font-size: 0.52rem;
    line-height: 1.06;
  }

  .steps-grid article {
    min-height: 92px;
    padding: 5px 6px;
  }

  .steps-grid article::after {
    display: none;
  }

  .step-symbol {
    width: 84px;
    height: 58px;
  }

  .step-photo {
    width: 100%;
    max-width: 176px;
    height: 74px;
    border-radius: var(--image-radius);
  }

  .step-symbol svg {
    width: 72px;
    height: 58px;
  }

  .steps-grid strong {
    margin-top: 4px;
    font-size: 0.64rem;
  }

  .steps-grid span {
    font-size: 0.56rem;
  }

  .match-panel {
    padding: 0;
  }

  .match-copy,
  .match-form {
    padding: 12px;
  }

  .match-copy h2 {
    font-size: 1.22rem;
  }

  .match-copy p,
  .notice,
  .checkbox-row span {
    font-size: 0.66rem;
  }

  .flow-options {
    gap: 5px;
    margin: 10px 0 12px;
  }

  .flow-options button,
  .topic-pills button {
    min-height: 24px;
    padding: 0 7px;
    font-size: 0.62rem;
  }

  .topic-pills {
    gap: 4px;
    margin-bottom: 10px;
  }

  .topic-pills button {
    min-height: 21px;
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .form-card-heading {
    display: grid;
    gap: 5px;
  }

  .form-card-heading strong {
    max-width: none;
    text-align: left;
    font-size: 0.7rem;
  }

  label span {
    font-size: 0.62rem;
  }

  input,
  select {
    height: 34px;
    font-size: 0.7rem;
  }

  textarea {
    min-height: 62px;
    font-size: 0.7rem;
  }

  .article-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 9px;
  }

  .article-card {
    grid-template-columns: 1fr;
    grid-template-rows: 128px 1fr;
    height: 296px;
    min-height: 296px;
    max-width: none;
  }

  .article-image {
    min-height: 128px;
  }

  .article-tag {
    left: 8px;
    top: 8px;
    padding: 5px 7px;
    font-size: 0.52rem;
  }

  .article-body {
    grid-template-rows: 2.44em minmax(3.92em, auto) 24px;
    gap: 3px;
    padding: 8px;
  }

  .article-label {
    margin-bottom: 4px;
    padding: 3px 5px;
    font-size: 0.44rem;
  }

  .article-body h3 {
    min-height: 2.44em;
    font-size: 0.72rem;
    line-height: 1.22;
  }

  .article-body p {
    min-height: 3.92em;
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.31;
    -webkit-line-clamp: 3;
  }

  .article-points {
    gap: 3px;
    margin-bottom: 0;
  }

  .article-points li {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .article-insight {
    font-size: 0.68rem;
  }

  .article-meta {
    gap: 6px;
    font-size: 0.5rem;
  }

  .article-button {
    min-height: 24px;
    font-size: 0.56rem;
  }

  .admin-main {
    padding: 30px 14px 42px;
  }

  .admin-topline {
    display: grid;
  }

  .chat-launcher {
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .chat-launcher span {
    inset: 11px;
    border-radius: 9px 9px 9px 3px;
  }

  .assistant-widget {
    right: 16px;
    bottom: 84px;
  }
}

/* Final premium UI overrides */
:root {
  --ink: #072f33;
  --muted: #6f675a;
  --teal: #073f42;
  --teal-2: #0a5557;
  --gold: #c7a86a;
  --cream: #f5ead7;
  --paper: #f8f0e2;
  --porcelain: #fffaf0;
  --champagne: #dbc28b;
  --line: rgba(7, 47, 51, 0.14);
  --shadow: 0 24px 70px rgba(7, 47, 51, 0.12);
  --card-shadow: 0 16px 42px rgba(7, 47, 51, 0.08);
  --radius: 18px;
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(219, 194, 139, 0.2), transparent 26rem),
    linear-gradient(180deg, #fbf5e8 0%, #fffaf0 42%, #f6ead6 100%);
}

.site-header {
  border-bottom: 1px solid rgba(199, 168, 106, 0.22);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 10px 34px rgba(7, 47, 51, 0.06);
}

.nav-shell {
  height: 62px;
}

.nav-links {
  margin-left: auto;
}

.hero-section.section-pad {
  min-height: 500px;
  padding-top: 86px;
  padding-bottom: 86px;
  box-shadow:
    inset 0 -3px 0 rgba(219, 194, 139, 0.95),
    0 24px 72px rgba(7, 47, 51, 0.14);
}

.hero-section.section-pad::after {
  background:
    linear-gradient(90deg, rgba(4, 31, 35, 0.76) 0%, rgba(7, 63, 66, 0.48) 35%, rgba(7, 63, 66, 0.08) 67%, rgba(7, 23, 25, 0) 100%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.08), rgba(3, 25, 29, 0.04));
}

.hero-content {
  max-width: 560px;
  margin-top: 22px;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.hero-content p {
  max-width: 460px;
  margin-top: 13px;
  color: rgba(255, 250, 240, 0.9);
  font-size: 0.86rem;
  line-height: 1.5;
}

.section-heading.centered h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--teal);
  font-size: clamp(1.06rem, 1.7vw, 1.42rem);
}

.section-heading.centered h2::before,
.section-heading.centered h2::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbc28b);
}

.section-heading.centered h2::after {
  background: linear-gradient(90deg, #dbc28b, transparent);
}

.service-section.section-pad,
.article-section.section-pad,
.match-section.section-pad,
.resource-shell {
  border: 1px solid rgba(199, 168, 106, 0.28);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(246, 234, 214, 0.86));
  box-shadow:
    0 28px 74px rgba(7, 47, 51, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.service-section.section-pad {
  padding: 46px 42px 48px;
}

.service-grid,
.article-grid {
  gap: 14px;
}

.service-card.photo-card,
.article-card {
  border-radius: 18px;
  box-shadow:
    0 18px 42px rgba(7, 47, 51, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.service-card.photo-card::before {
  background:
    linear-gradient(180deg, rgba(7, 47, 51, 0) 0%, rgba(7, 47, 51, 0.08) 32%, rgba(4, 31, 35, 0.9) 100%),
    radial-gradient(circle at 50% 108%, rgba(199, 168, 106, 0.34), transparent 44%);
}

.service-card.photo-card .service-photo {
  filter: saturate(1.2) contrast(1.08) brightness(1.02);
}

.service-card.photo-card h3 {
  bottom: 66px;
  color: #fffaf0;
  font-size: clamp(1.13rem, 1.32vw, 1.36rem);
  font-weight: 880;
}

.service-card.photo-card p {
  color: rgba(255, 250, 240, 0.94);
  font-size: 0.75rem;
  font-weight: 720;
}

.how-section {
  margin-top: 34px;
  background:
    radial-gradient(circle at 16% 0%, rgba(219, 194, 139, 0.18), transparent 16rem),
    linear-gradient(135deg, #06292c 0%, #073f42 58%, #052124 100%);
  border-top: 1px solid rgba(219, 194, 139, 0.28);
  border-bottom: 1px solid rgba(219, 194, 139, 0.28);
}

.how-section .section-heading h2 {
  color: #fffaf0;
}

.steps-grid article {
  min-height: 118px;
  padding: 10px 14px;
}

.steps-grid strong {
  color: #fffaf0;
  font-size: 0.76rem;
}

.steps-grid span {
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.64rem;
}

.match-section.section-pad,
.article-section.section-pad {
  padding: 36px;
}

.match-panel {
  border: 1px solid rgba(199, 168, 106, 0.25);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.8);
  box-shadow: 0 18px 46px rgba(7, 47, 51, 0.08);
}

.match-copy {
  background:
    radial-gradient(circle at 90% 12%, rgba(219, 194, 139, 0.25), transparent 9rem),
    linear-gradient(160deg, #073f42, #041f23);
}

.notice {
  border-left-color: #dbc28b;
  background: rgba(255, 250, 240, 0.1);
}

.match-form {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(250, 241, 225, 0.96));
}

input,
select,
textarea,
.category-questions,
.resource-links a {
  border-color: rgba(7, 47, 51, 0.16);
  background: rgba(255, 253, 248, 0.94);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #dbc28b;
  box-shadow: 0 0 0 4px rgba(199, 168, 106, 0.16);
}

.button-primary,
.form-submit,
.article-button,
.topic-pills button.active,
.flow-options button.active {
  background: linear-gradient(135deg, #073f42, #0b5b5e);
}

.topic-pills {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.topic-pills button,
.flow-options button {
  border-color: rgba(199, 168, 106, 0.28);
  background: rgba(255, 250, 240, 0.86);
}

.editorial-heading {
  min-height: auto;
  margin-bottom: 16px;
}

.article-card {
  grid-template-rows: 118px 1fr;
  height: 246px;
  min-height: 246px;
  border: 1px solid rgba(199, 168, 106, 0.18);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(246, 234, 214, 0.95));
}

.article-image {
  min-height: 118px;
}

.article-image {
  filter: saturate(1.16) contrast(1.06) brightness(1.02);
}

.article-body {
  grid-template-rows: 2.2em 3.6em 22px;
  gap: 3px;
  padding: 8px;
}

.article-body h3 {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
}

.article-body p {
  color: #6d6254;
  font-size: 0.6rem;
  line-height: 1.24;
  min-height: 3.6em;
}

.article-button {
  min-height: 22px;
}

.article-tag {
  color: var(--teal);
  border: 1px solid rgba(199, 168, 106, 0.32);
  background: rgba(255, 250, 240, 0.9);
}

.resource-section {
  padding-top: 28px;
}

.resource-shell {
  padding: 20px;
}

.resource-links {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.resource-links a {
  min-height: 100px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.resource-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 168, 106, 0.42);
  box-shadow: 0 14px 30px rgba(7, 47, 51, 0.08);
}

.resource-links strong,
.resource-shell h2 {
  color: var(--teal);
}

.site-footer {
  margin-top: 30px;
  background:
    radial-gradient(circle at 12% 0%, rgba(219, 194, 139, 0.16), transparent 14rem),
    linear-gradient(135deg, #041f23, #073f42);
  border-top: 1px solid rgba(219, 194, 139, 0.34);
}

.footer-grid {
  padding-top: 22px;
}

.footer-disclaimer {
  border-top-color: rgba(219, 194, 139, 0.2);
}

@media (max-width: 1120px) {
  .service-section.section-pad,
  .article-section.section-pad,
  .match-section.section-pad {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .hero-section.section-pad {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .hero-section.section-pad {
    min-height: 390px;
    padding: 58px 20px;
  }

  .hero-content h1 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .hero-content h1 > .hero-line {
    white-space: normal;
  }

  .service-section.section-pad,
  .article-section.section-pad,
  .match-section.section-pad,
  .resource-shell {
    width: min(100% - 28px, var(--max));
    margin-top: 18px;
    padding: 22px 14px;
    border-radius: 22px;
  }

  .service-card.photo-card h3 {
    bottom: 58px;
    font-size: 1.06rem;
  }

  .service-card.photo-card p {
    font-size: 0.68rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .steps-grid article {
    min-height: auto;
    border: 1px solid rgba(219, 194, 139, 0.18);
    border-radius: 16px;
    background: rgba(255, 250, 240, 0.06);
  }

  .article-card {
    grid-template-rows: 124px 1fr;
    height: 252px;
    min-height: 252px;
  }

  .article-image {
    min-height: 124px;
  }

  .resource-links {
    grid-template-columns: 1fr;
  }
}

/* Request Services: single form header with disclaimer below */
#match .match-panel {
  display: block;
  max-width: 860px;
}

#match .match-copy {
  display: none;
}

#match .match-form {
  padding: 22px;
}

#match .form-card-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  justify-content: start;
  padding-bottom: 12px;
  text-align: left;
}

#match .form-card-heading strong {
  max-width: 620px;
  text-align: left;
}

#match .notice {
  margin-top: 0;
  padding: 9px 11px;
  border-left: 2px solid #dbc28b;
  border-radius: 10px;
  color: #1f2f31;
  background: rgba(219, 194, 139, 0.12);
  font-size: 0.64rem;
  line-height: 1.35;
}

.is-hidden-heading {
  display: none;
}

/* Request Services update only */
#match.match-section.section-pad {
  padding: 34px clamp(14px, 3vw, 36px);
}

#match .match-heading {
  margin-bottom: 14px;
}

#match .match-heading h2 {
  color: #063f42;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

#match .match-panel {
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 0.62fr);
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(219, 194, 139, 0.42);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(7, 47, 51, 0.1);
}

#match .match-copy {
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(4, 31, 35, 0.96), rgba(7, 63, 66, 0.96)),
    radial-gradient(circle at 88% 12%, rgba(219, 194, 139, 0.24), transparent 8rem);
}

#match .match-copy p {
  max-width: 32rem;
  color: rgba(255, 253, 248, 0.92);
  font-size: 0.82rem;
  line-height: 1.45;
}

#match .flow-options {
  gap: 6px;
  margin: 14px 0;
}

#match .flow-options button {
  min-height: 28px;
  padding: 0 10px;
  border-color: rgba(255, 253, 248, 0.24);
  color: rgba(255, 253, 248, 0.9);
  background: rgba(255, 253, 248, 0.08);
  font-size: 0.66rem;
}

#match .notice {
  border-left-color: #dbc28b;
  border-radius: 10px;
  color: #1f2f31;
  font-size: 0.68rem;
  line-height: 1.38;
}

#match .match-form {
  gap: 10px;
  padding: 20px;
  background: linear-gradient(180deg, #fffdf8, #fbf5ea);
}

#match .form-card-heading {
  padding-bottom: 8px;
}

#match .form-card-heading span {
  color: #063f42;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

#match .form-card-heading strong {
  max-width: 360px;
  color: #5d564b;
  font-size: 0.72rem;
  font-weight: 600;
}

#match .form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

#match .match-form > label:not(.checkbox-row) {
  margin-top: 2px;
}

#match .category-questions {
  grid-template-columns: minmax(160px, 0.85fr) repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
}

#match label span,
#match .category-questions strong {
  font-size: 0.66rem;
}

#match input,
#match select {
  height: 34px;
  font-size: 0.72rem;
}

#match textarea {
  min-height: 64px;
  font-size: 0.72rem;
}

#match .checkbox-row span {
  font-size: 0.66rem;
}

#match .form-submit {
  min-height: 34px;
  min-width: 142px;
}

@media (max-width: 900px) {
  #match .match-panel,
  #match .form-grid,
  #match .category-questions {
    grid-template-columns: 1fr;
  }

  #match .match-copy,
  #match .match-form {
    padding: 16px;
  }

  #match .form-card-heading {
    display: grid;
    gap: 4px;
  }

  #match .form-card-heading strong {
    text-align: left;
  }
}

/* Useful links: single horizontal row with left scroll */
.resource-links {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.resource-links a {
  flex: 0 0 190px;
  min-width: 190px;
  min-height: 86px;
  scroll-snap-align: start;
}

.resource-links::-webkit-scrollbar {
  height: 6px;
}

.resource-links::-webkit-scrollbar-track {
  background: rgba(7, 47, 51, 0.08);
  border-radius: 999px;
}

.resource-links::-webkit-scrollbar-thumb {
  background: rgba(199, 168, 106, 0.78);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .resource-links {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin: 0 -4px;
    padding: 2px 4px 10px;
  }

  .resource-links a {
    flex: 0 0 168px;
    min-width: 168px;
    min-height: 70px;
  }
}

/* Simplified Request Services form layout */
#match .match-panel {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 880px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #faf3e7);
}

#match .match-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(199, 168, 106, 0.28);
  background:
    radial-gradient(circle at 96% 8%, rgba(219, 194, 139, 0.24), transparent 8rem),
    linear-gradient(135deg, #073f42, #041f23);
}

#match .match-copy p {
  max-width: none;
  margin: 0;
  font-size: 0.8rem;
}

#match .match-copy .notice {
  margin: 0;
  padding: 9px 11px;
  border-left: 0;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.09);
  font-size: 0.62rem;
}

#match .match-form {
  padding: 20px;
  gap: 12px;
}

#match .form-card-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
  justify-content: start;
}

#match .form-card-heading strong {
  max-width: none;
  text-align: left;
}

#match .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#match textarea {
  min-height: 82px;
}

#match .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
}

#match .checkbox-row input {
  margin: 0;
  transform: translateY(0);
}

#match .checkbox-row span {
  display: block;
  padding-top: 0;
  line-height: 1.35;
}

#match .form-submit {
  justify-self: center;
  min-width: 156px;
}

@media (max-width: 760px) {
  #match .match-copy,
  #match .form-card-heading,
  #match .form-grid {
    grid-template-columns: 1fr;
  }

  #match .match-copy,
  #match .match-form {
    padding: 15px;
  }
}

.service-card.photo-card h3 {
  bottom: 86px;
  color: #fffaf0;
  font-size: clamp(1rem, 1.18vw, 1.24rem);
  line-height: 1.06;
  text-align: left;
}

.service-card.photo-card p {
  display: block;
  bottom: 17px;
  max-width: 92%;
  color: rgba(255, 250, 240, 0.94);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.34;
  text-align: left;
}

.service-detail {
  display: none;
}

.service-card.photo-card ul {
  display: none;
}

.article-card {
  cursor: pointer;
}

.article-card {
  grid-template-rows: 104px 1fr;
  height: 214px;
  min-height: 214px;
}

.article-image {
  min-height: 104px;
}

.article-body {
  grid-template-rows: 2.12em 2.42em 21px;
  gap: 2px;
  padding: 7px 8px 8px;
}

.article-body h3 {
  min-height: 2.12em;
  font-size: 0.7rem;
  line-height: 1.08;
}

.article-body p {
  min-height: 2.42em;
  font-size: 0.58rem;
  line-height: 1.2;
  -webkit-line-clamp: 2;
}

.article-button {
  align-self: start;
  min-height: 21px;
  margin-top: 0;
  font-size: 0.52rem;
}

.reader-panel,
.reader-panel * {
  font-family: var(--font-body);
}

.reader-panel h2,
.reader-body h3,
.reader-sources strong {
  font-family: var(--font-heading);
  letter-spacing: 0;
  text-transform: uppercase;
}

.reader-panel h2 {
  color: var(--teal);
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
}

.reader-dek,
.reader-body p {
  color: #5f6258;
  font-size: 0.84rem;
  line-height: 1.58;
}

.reader-body section {
  border-color: rgba(199, 168, 106, 0.18);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.72);
}

.reader-body h3 {
  color: #073f42;
  font-size: 0.78rem;
}

.reader-sources a {
  border-color: rgba(199, 168, 106, 0.26);
  color: var(--teal);
  font-size: 0.68rem;
}

@media (max-width: 720px) {
  .resource-shell {
    padding: 12px;
  }

  .resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .resource-links a {
    grid-template-columns: 28px 1fr;
    gap: 6px;
    min-height: 64px;
    padding: 7px;
    border-radius: 12px;
  }

  .resource-logo {
    width: 28px;
    height: 28px;
  }

  .resource-logo img {
    width: 20px;
    height: 20px;
  }

  .resource-links strong {
    font-size: 0.56rem;
  }

  .resource-links em {
    font-size: 0.49rem;
  }

  .resource-links small {
    font-size: 0.48rem;
    line-height: 1.12;
    -webkit-line-clamp: 2;
  }

  .service-card.photo-card h3 {
    bottom: 74px;
    font-size: 1rem;
  }

  .service-card.photo-card p {
    bottom: 18px;
    font-size: 0.66rem;
  }
}

/* Typography harmonisation */
:root {
  --type-xs: 0.56rem;
  --type-sm: 0.64rem;
  --type-md: 0.74rem;
  --type-base: 0.84rem;
  --type-lg: 1rem;
  --type-title: clamp(1.05rem, 1.65vw, 1.36rem);
  --type-hero: clamp(1.74rem, 2.9vw, 2.72rem);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.brand strong,
.hero-content h1,
.section-heading h2,
.service-card.photo-card h3,
.steps-grid strong,
.form-card-heading strong,
.article-body h3,
.resource-shell h2,
.reader-panel h2,
.reader-body h3,
.site-footer strong {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.brand strong {
  font-size: 1.18rem;
  line-height: 0.96;
}

.brand small {
  font-size: var(--type-xs);
  line-height: 1;
}

.hero-content h1 {
  font-size: var(--type-hero);
  line-height: 0.98;
}

.hero-content p,
.match-copy p {
  font-size: var(--type-base);
  line-height: 1.48;
}

.section-heading h2,
.resource-shell h2 {
  font-size: var(--type-title);
  line-height: 1.12;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading.centered h2,
.match-heading h2,
.editorial-heading h2 {
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.section-heading.centered h2::before,
.section-heading.centered h2::after {
  width: 24px;
}

.how-section .section-heading.centered h2 {
  color: #fffaf0;
}

.match-heading,
.editorial-heading {
  margin-bottom: 16px;
}

.service-section > .section-heading,
.how-section .section-heading,
.match-heading,
.editorial-heading,
.resource-intro {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto 18px;
}

.service-section > .section-heading h2,
.how-section .section-heading h2,
.match-heading h2,
.editorial-heading h2,
.resource-shell h2 {
  min-width: 0;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.how-section .section-heading h2 {
  color: #fffaf0;
}

.service-section > .section-heading h2::before,
.service-section > .section-heading h2::after,
.how-section .section-heading h2::before,
.how-section .section-heading h2::after,
.match-heading h2::before,
.match-heading h2::after,
.editorial-heading h2::before,
.editorial-heading h2::after,
.resource-shell h2::before,
.resource-shell h2::after {
  display: none;
}

.eyebrow,
.soft-pill,
.article-tag,
.reader-category {
  font-size: var(--type-xs);
  line-height: 1;
}

.service-card.photo-card h3 {
  font-size: var(--type-lg);
  line-height: 1.08;
  font-weight: 700;
}

.service-card.photo-card p,
.steps-grid span,
.match-form label span,
.category-questions p,
.resource-links small,
.footer-disclaimer {
  font-size: var(--type-sm);
  line-height: 1.34;
}

.steps-grid strong,
.form-card-heading span,
.resource-links strong,
.reader-body h3 {
  font-size: var(--type-md);
  line-height: 1.18;
}

.flow-options button,
.topic-pills button,
.button,
.form-submit,
.article-button,
.reader-sources a {
  font-size: var(--type-sm);
  line-height: 1;
}

.article-body h3 {
  font-size: 0.68rem;
  line-height: 1.12;
  font-weight: 700;
}

.article-body p {
  font-size: 0.6rem;
  line-height: 1.22;
}

.resource-links em {
  font-size: var(--type-xs);
  line-height: 1.14;
}

input,
select,
textarea,
.reader-dek,
.reader-body p {
  font-size: var(--type-base);
  line-height: 1.55;
}

@media (max-width: 720px) {
  :root {
    --type-base: 0.8rem;
    --type-title: 1.14rem;
    --type-hero: clamp(1.52rem, 7.6vw, 2.08rem);
  }

  .brand strong {
    font-size: 1.08rem;
  }

  .service-card.photo-card h3 {
    font-size: 0.96rem;
  }
}

/* Mobile layout stabilisation */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav-shell,
  .section-pad,
  .resource-shell {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    justify-content: center;
  }

  .brand {
    min-width: 0;
  }

  .brand > span:not(.brand-mark) {
    width: auto;
  }

  .hero-section.section-pad {
    min-height: 360px;
    padding: 58px 18px 52px;
    border-radius: 0 0 22px 22px;
  }

  .hero-content {
    max-width: 100%;
    margin-top: 0;
  }

  .hero-content h1,
  .hero-content p {
    max-width: 300px;
  }

  .service-section.section-pad,
  .article-section.section-pad,
  .match-section.section-pad,
  .resource-shell {
    padding: 18px 12px;
    border-radius: 20px;
  }

  .service-grid,
  .steps-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card.photo-card {
    aspect-ratio: 4 / 5;
  }

  .service-card.photo-card h3 {
    left: 18px;
    right: 18px;
    bottom: 82px;
  }

  .service-card.photo-card p {
    left: 18px;
    right: 18px;
    bottom: 20px;
    max-width: none;
  }

  .match-panel {
    grid-template-columns: 1fr;
  }

  .match-copy,
  .match-form {
    padding: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .topic-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .topic-pills button {
    flex: 0 0 auto;
  }

  .article-card {
    grid-template-rows: 108px 1fr;
    height: 220px;
    min-height: 220px;
  }

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

/* Static hero banner and final mobile fixes */
.hero-section.section-pad {
  background:
    linear-gradient(90deg, rgba(4, 31, 35, 0.76) 0%, rgba(7, 63, 66, 0.48) 38%, rgba(7, 23, 25, 0.08) 72%, rgba(7, 23, 25, 0) 100%),
    url("./assets/singapore-landscape-hero-hd.png?v=static-banner1") 64% center / cover no-repeat;
}

.hero-section.section-pad::before {
  display: none;
  animation: none;
}

.hero-section.section-pad::after {
  background:
    linear-gradient(90deg, rgba(4, 31, 35, 0.72) 0%, rgba(7, 63, 66, 0.34) 42%, rgba(7, 23, 25, 0) 76%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.06), rgba(3, 25, 29, 0.03));
  animation: none;
}

.hero-content,
.motion-ready .hero-content {
  animation: none;
}

@media (max-width: 720px) {
  .hero-section.section-pad {
    width: 100%;
    min-height: 345px;
    margin: 0;
    padding: 54px 18px 46px;
    background-position: 72% center;
    border-radius: 0 0 18px 18px;
  }

  .hero-section.section-pad::after {
    background:
      linear-gradient(90deg, rgba(4, 31, 35, 0.82) 0%, rgba(7, 63, 66, 0.52) 50%, rgba(7, 23, 25, 0.1) 100%),
      linear-gradient(180deg, rgba(255, 250, 240, 0.05), rgba(3, 25, 29, 0.03));
  }

  .hero-content {
    width: 100%;
    max-width: 310px;
  }

  .hero-content h1 {
    max-width: 292px;
    font-size: clamp(1.48rem, 7.2vw, 1.95rem);
    line-height: 0.98;
  }

  .hero-content p {
    max-width: 292px;
    margin-top: 13px;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .service-card.photo-card {
    aspect-ratio: 1 / 1.08;
    min-height: 292px;
  }

  .service-card.photo-card h3 {
    bottom: 86px;
    font-size: 1rem;
    line-height: 1.08;
    text-align: center;
  }

  .service-card.photo-card p {
    bottom: 22px;
    font-size: 0.72rem;
    line-height: 1.24;
    text-align: center;
  }

  .steps-grid article,
  .resource-links a {
    min-width: 0;
  }

  .resource-links {
    gap: 8px;
  }

  .resource-links a {
    padding: 10px 8px;
  }
}

@media (max-width: 430px) {
  .hero-section.section-pad {
    min-height: 328px;
    padding-left: 16px;
    padding-right: 16px;
    background-position: 76% center;
  }

  .hero-content,
  .hero-content h1,
  .hero-content p {
    max-width: 268px;
  }

  .resource-links {
    grid-template-columns: 1fr;
  }
}

/* Compact services and guide cards */
.service-section.section-pad,
.article-section.section-pad {
  padding-top: 30px;
  padding-bottom: 32px;
}

.service-section > .section-heading,
.editorial-heading {
  margin-bottom: 12px;
}

.service-grid,
.article-grid {
  gap: 10px;
}

.service-card.photo-card {
  aspect-ratio: 1 / 1.02;
  border-radius: 15px;
}

.service-card.photo-card h3 {
  bottom: 78px;
}

.service-card.photo-card p {
  bottom: 15px;
  line-height: 1.24;
}

.article-card {
  grid-template-rows: 88px 1fr;
  height: 188px;
  min-height: 188px;
  border-radius: 15px;
}

.article-image {
  min-height: 88px;
}

.article-body {
  grid-template-rows: 2.08em 2.24em 20px;
  padding: 6px 8px 7px;
}

.article-body h3 {
  min-height: 2.08em;
}

.article-body p {
  min-height: 2.24em;
  -webkit-line-clamp: 2;
}

.article-button {
  min-height: 20px;
}

@media (max-width: 720px) {
  .service-section.section-pad,
  .article-section.section-pad {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .service-card.photo-card {
    aspect-ratio: 1 / 0.9;
    min-height: 248px;
  }

  .service-card.photo-card h3 {
    bottom: 74px;
  }

  .service-card.photo-card p {
    bottom: 18px;
  }

  .article-card {
    grid-template-rows: 92px 1fr;
    height: 190px;
    min-height: 190px;
  }

  .article-image {
    min-height: 92px;
  }
}

/* More cards per row */
.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .service-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-card.photo-card {
    aspect-ratio: 1 / 1.34;
    min-height: 0;
  }

  .service-card.photo-card h3 {
    left: 10px;
    right: 10px;
    bottom: 76px;
    font-size: 0.76rem;
  }

  .service-card.photo-card p {
    left: 10px;
    right: 10px;
    bottom: 12px;
    font-size: 0.56rem;
    line-height: 1.18;
  }

  .article-card {
    grid-template-rows: 78px 1fr;
    height: 176px;
    min-height: 176px;
  }

  .article-image {
    min-height: 78px;
  }

  .article-body {
    grid-template-rows: 2.1em 2.25em 19px;
    padding: 6px;
  }

  .article-body h3 {
    font-size: 0.58rem;
  }

  .article-body p {
    font-size: 0.52rem;
  }

  .article-button {
    min-height: 19px;
    font-size: 0.5rem;
  }
}

/* Restore service card text alignment */
.service-card.photo-card h3,
.service-card.photo-card p {
  left: 22px;
  right: 18px;
  text-align: left;
}

.service-card.photo-card h3 {
  bottom: 84px;
  font-size: clamp(1rem, 1.18vw, 1.24rem);
  line-height: 1.06;
}

.service-card.photo-card p {
  bottom: 24px;
  max-width: 92%;
  font-size: 0.68rem;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .service-card.photo-card h3 {
    left: 18px;
    right: 18px;
    bottom: 96px;
    font-size: 0.96rem;
    line-height: 1.08;
    text-align: left;
  }

  .service-card.photo-card p {
    left: 18px;
    right: 18px;
    bottom: 28px;
    max-width: none;
    font-size: var(--type-sm);
    line-height: 1.18;
    text-align: left;
  }
}

/* Restore natural image cropping */
.service-card.photo-card {
  aspect-ratio: 3 / 4;
}

.service-card.photo-card .service-photo {
  background-size: cover;
  background-position: var(--service-photo-position, center);
}

.service-card.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 31, 35, 0.08) 0%, rgba(4, 31, 35, 0.2) 42%, rgba(4, 31, 35, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 31, 35, 0.68) 0%, rgba(7, 63, 66, 0.38) 46%, rgba(7, 23, 25, 0.04) 100%),
    radial-gradient(circle at 18% 96%, rgba(219, 194, 139, 0.34), transparent 46%);
}

.service-card.photo-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  height: 62%;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 31, 35, 0) 0%, rgba(4, 31, 35, 0.22) 28%, rgba(4, 31, 35, 0.62) 62%, rgba(4, 31, 35, 1) 100%),
    linear-gradient(180deg, rgba(219, 194, 139, 0) 0%, rgba(219, 194, 139, 0.16) 100%);
}

.article-card {
  grid-template-rows: 104px 1fr;
  height: 214px;
  min-height: 214px;
}

.article-image {
  min-height: 104px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 720px) {
  .service-card.photo-card {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }

  .article-card {
    grid-template-rows: 104px 1fr;
    height: 214px;
    min-height: 214px;
  }

  .article-image {
    min-height: 104px;
  }
}

/* Squarer local guide cards */
.article-card {
  grid-template-rows: 132px 1fr;
  height: 242px;
  min-height: 242px;
  background:
    radial-gradient(circle at 88% 90%, rgba(219, 194, 139, 0.055), transparent 8rem),
    linear-gradient(180deg, #fffdf8 0%, #fffaf0 100%);
}

.article-disclaimer {
  max-width: 860px;
  margin: -6px auto 14px;
  color: #1f2f31;
  font-size: 0.64rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.article-image {
  min-height: 132px;
}

@media (max-width: 720px) {
  .article-card {
    grid-template-rows: 118px 1fr;
    height: 228px;
    min-height: 228px;
  }

  .article-image {
    min-height: 118px;
  }
}

/* Clean card text alignment */
.service-card.photo-card h3,
.service-card.photo-card p {
  left: 22px;
  right: 18px;
  text-align: left;
}

.service-card.photo-card h3 {
  bottom: 71px;
  font-size: var(--type-lg);
  line-height: 1.08;
}

.service-card.photo-card p {
  bottom: 18px;
  max-width: 92%;
  font-size: var(--type-sm);
  line-height: calc(1.04em + 1px);
}

.article-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 9px 10px 10px;
}

.article-body h3,
.article-body p {
  min-height: 0;
  margin: 0;
}

.article-body h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.14;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-body p {
  display: -webkit-box;
  overflow: hidden;
  color: #6d6254;
  font-size: 0.6rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-button {
  align-self: flex-start;
  margin-top: auto;
  white-space: nowrap;
}

.how-relatable-symbol {
  width: 92px;
  height: 68px;
}

.how-relatable-symbol svg {
  width: 84px;
  height: 66px;
}

.steps-grid strong {
  font-weight: 760;
  letter-spacing: 0;
}

.steps-grid span {
  max-width: 230px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .service-card.photo-card h3 {
    left: 18px;
    right: 18px;
    bottom: 75px;
    font-size: 0.96rem;
    text-align: left;
  }

  .service-card.photo-card p {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
    font-size: var(--type-sm);
    line-height: calc(1.04em + 1px);
    text-align: left;
  }

  .article-body {
    gap: 4px;
    padding: 7px;
  }

  .article-body h3 {
    font-size: 0.58rem;
    line-height: 1.14;
  }

  .article-body p {
    font-size: 0.52rem;
    line-height: 1.18;
  }

  .article-button {
    min-height: 19px;
    font-size: 0.5rem;
  }
}
