:root {
  --ink: #14243c;
  --muted: #5d6d80;
  --line: rgba(32, 74, 104, 0.16);
  --blue: #1d8ed4;
  --teal: #20a9a0;
  --green: #7cc65b;
  --mint: #e8f8ee;
  --sky: #eaf7ff;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.74);
  --shadow: 0 22px 70px rgba(36, 78, 112, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 198, 91, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(29, 142, 212, 0.18), transparent 34rem),
    linear-gradient(180deg, #f7fcff 0%, #eef8fb 46%, #f8fbf5 100%);
  font-family: "Noto Sans HK", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

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

.sr-only {
  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: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(36, 78, 112, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 0;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #24415e;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: #e6f5ff;
  color: #0069b3;
  outline: 0;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 36px;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 94px);
  margin: 0 auto;
  padding: 56px 0 42px;
}

.home-page .hero {
  min-height: auto;
  padding-bottom: 24px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: #148176;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(4rem, 8vw, 7.6rem);
  line-height: 1;
  letter-spacing: 0;
  background: linear-gradient(90deg, #74bc4f 0%, #159b9b 48%, #1f83d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.35;
}

.hero-subtitle {
  margin-bottom: 14px;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  font-weight: 800;
}

.hero-text,
.review-note,
.section-heading p,
.split-section p,
.potential-grid p,
.arrangement-grid p,
.process-card p {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(36, 78, 112, 0.12);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 7% -4% -4% 12%;
  z-index: -1;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(119, 197, 96, 0.2), rgba(40, 149, 212, 0.24));
  content: "";
  filter: blur(18px);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow);
}

.stats-band,
.section,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 72px;
}

.stats-band article,
.info-panel,
.process-card,
.arrangement-grid article,
.zone-map article,
.potential-grid article,
.source-section,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(36, 78, 112, 0.11);
  backdrop-filter: blur(14px);
}

.stats-band article {
  min-height: 124px;
  padding: 22px;
  border-radius: 22px;
}

.stats-band strong {
  display: block;
  margin-bottom: 8px;
  color: #0f7c79;
  font-size: 1.42rem;
  line-height: 1.25;
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 78px 0;
  scroll-margin-top: 96px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 32px;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 0.95fr 1fr;
}

.info-panel {
  padding: 30px;
  border-radius: 24px;
}

.info-panel.large {
  padding: 34px;
}

.plain-list,
.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.plain-list li::marker,
.feature-list li::marker {
  color: var(--teal);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  min-height: 260px;
  padding: 26px;
  border-radius: 24px;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-weight: 900;
}

.arrangement-grid,
.potential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.arrangement-grid article,
.potential-grid article {
  padding: 24px;
  border-radius: 22px;
}

.eligibility-game {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 248, 238, 0.72)),
    linear-gradient(90deg, rgba(29, 142, 212, 0.12), rgba(32, 169, 160, 0.12));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-evaluation {
  padding-top: 22px;
}

.home-evaluation .eligibility-game {
  margin-top: 0;
}

.game-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.game-intro h3 {
  max-width: 420px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.game-intro p,
.question-card p,
.result-card p,
.result-next li {
  color: var(--muted);
}

.game-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.game-badges span,
.result-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(32, 169, 160, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #12786f;
  font-size: 0.86rem;
  font-weight: 900;
}

.game-card {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(36, 78, 112, 0.12);
}

.game-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #1c638f;
  font-size: 0.92rem;
  font-weight: 900;
}

.game-link {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: #eaf7ff;
  color: #145f8f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.game-progress {
  height: 10px;
  margin: 14px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #dcebf0;
}

.game-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
  transition: width 220ms ease;
}

.question-card,
.result-card {
  display: grid;
  gap: 12px;
}

.question-kicker {
  margin-bottom: -2px;
  color: #148176;
  font-size: 0.86rem;
  font-weight: 900;
}

.question-card h4,
.result-card h4 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.choice-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 74, 104, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4fbfd);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.choice-button::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 14px;
  border-radius: 50%;
  background: #e6f5ff;
  color: #1470aa;
  content: "›";
  font-size: 1.4rem;
  line-height: 1;
}

.choice-button:hover,
.choice-button:focus-visible,
.game-link:hover,
.game-link:focus-visible {
  border-color: rgba(29, 142, 212, 0.4);
  box-shadow: 0 12px 26px rgba(36, 78, 112, 0.12);
  outline: 0;
  transform: translateY(-1px);
}

.result-card {
  padding: 4px 2px;
}

.result-next {
  padding: 18px;
  border: 1px solid rgba(32, 169, 160, 0.16);
  border-radius: 18px;
  background: #f3fbf7;
}

.result-next strong {
  display: block;
  margin-bottom: 8px;
}

.result-next ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
}

.result-next li::marker {
  color: var(--teal);
  font-weight: 900;
}

.result-note {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8e8;
  font-size: 0.92rem;
}

.assessment-page .assessment-hero {
  min-height: min(620px, calc(100vh - 110px));
}

.assessment-summary {
  align-self: stretch;
}

.assessment-quick,
.assessment-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.assessment-quick article,
.assessment-next-grid a {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(32, 169, 160, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(36, 78, 112, 0.08);
}

.assessment-quick strong,
.assessment-next-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.assessment-quick span,
.assessment-next-grid span {
  color: var(--muted);
  line-height: 1.7;
}

.assessment-next-grid a {
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.assessment-next-grid a:hover,
.assessment-next-grid a:focus-visible {
  border-color: rgba(29, 142, 212, 0.3);
  box-shadow: 0 18px 48px rgba(36, 78, 112, 0.12);
  outline: 0;
  transform: translateY(-2px);
}

.assessment-tool .eligibility-game {
  margin-top: 0;
}

.zone-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.zone-map article {
  min-height: 320px;
  padding: 30px 24px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(235, 249, 247, 0.72));
}

.zone-map article:last-child {
  border-right: 0;
}

.zone-map span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 999px;
  color: #ffffff;
  background: #168b82;
  font-weight: 900;
}

.zone-map p {
  color: var(--muted);
}

.potential-section {
  padding-top: 44px;
}

.animal-section {
  scroll-margin-top: 96px;
}

.animal-finder {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.animal-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.animal-filter {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(32, 74, 104, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #21415f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.animal-filter:hover,
.animal-filter:focus-visible,
.animal-filter.is-active {
  border-color: rgba(29, 142, 212, 0.38);
  background: #e6f5ff;
  color: #096aa8;
  outline: 0;
  transform: translateY(-1px);
}

.animal-summary {
  display: inline-flex;
  width: fit-content;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #f3fbf7;
  color: #12786f;
  font-weight: 900;
}

.animal-summary strong {
  font-size: 1.55rem;
  line-height: 1;
}

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

.animal-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(32, 74, 104, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(36, 78, 112, 0.1);
}

.animal-card-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.animal-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(32, 169, 160, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, #e8f8ee, #eaf7ff);
  color: #14736c;
  font-weight: 900;
}

.animal-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.animal-card h3 {
  margin-bottom: 2px;
}

.animal-card-head p,
.animal-accepts,
.contact-list span,
.social-row span,
.animal-note span {
  color: var(--muted);
}

.animal-tags,
.social-row span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.animal-tags span,
.source-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf7ff;
  color: #145f8f;
  font-size: 0.82rem;
  font-weight: 900;
}

.animal-accepts {
  margin-bottom: 0;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li,
.social-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
}

.contact-list strong,
.social-row strong {
  color: #173350;
  font-size: 0.9rem;
}

.contact-list a,
.social-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: #096aa8;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
  word-break: break-word;
}

.contact-list a:hover,
.contact-list a:focus-visible,
.social-row a:hover,
.social-row a:focus-visible {
  text-decoration: underline;
  outline: 0;
}

.source-pill {
  margin: 0;
  background: #f3fbf7;
  color: #12786f;
}

.muted-contact {
  color: var(--muted);
}

.animal-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 248, 232, 0.82);
}

.animal-help-section {
  position: relative;
  padding: 52px 0 64px;
  background:
    linear-gradient(180deg, rgba(244, 251, 255, 0.96), rgba(246, 253, 249, 0.96)),
    radial-gradient(circle at 88% 16%, rgba(125, 198, 91, 0.22), transparent 24rem);
}

.animal-help-panel {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}

.animal-help-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: 28px;
  align-items: end;
  min-height: 270px;
}

.animal-help-copy {
  align-self: center;
  max-width: 780px;
  padding: 18px 0 22px;
}

.animal-help-copy h2 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #142b52;
  font-size: clamp(2.75rem, 5.4vw, 4.8rem);
  line-height: 1.08;
}

.animal-help-visual {
  width: min(100%, 660px);
  justify-self: end;
  align-self: end;
  margin-bottom: -2px;
  object-fit: contain;
}

.animal-help-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.animal-help-card,
.animal-next-card {
  min-height: 100%;
  border: 1px solid rgba(35, 82, 118, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(36, 78, 112, 0.12);
}

.animal-help-card {
  display: grid;
  gap: 16px;
  padding: 28px 32px 30px;
}

.animal-help-card-main {
  grid-row: span 2;
}

.animal-help-card-title {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(32, 74, 104, 0.12);
}

.animal-help-card-title h3 {
  margin: 0;
  color: #12644f;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

.animal-help-card-side .animal-help-card-title h3,
.animal-next-card h3 {
  color: #1c5caa;
}

.animal-help-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: #338c66;
  background: linear-gradient(145deg, #e5f6e7, #f4fbef);
}

.animal-help-icon-dog {
  color: #2f70bb;
  background: linear-gradient(145deg, #e4f0ff, #d8ebff);
}

.animal-help-icon svg,
.animal-next-icon svg,
.animal-camera-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.animal-help-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.animal-help-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(32, 74, 104, 0.1);
}

.animal-help-card li:last-child {
  border-bottom: 0;
}

.animal-help-card strong {
  color: #142b52;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 900;
  line-height: 1.35;
}

.animal-phone-group {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.animal-phone-group small {
  padding: 1px 8px 2px;
  border-radius: 999px;
  background: #ebe4ff;
  color: #6556aa;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.animal-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #142b52;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.animal-phone svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 9px;
  border-radius: 50%;
  background: #e4f5eb;
  color: #2f8f62;
  fill: currentColor;
}

.animal-phone:hover,
.animal-phone:focus-visible {
  outline: 0;
  color: #13745f;
  text-decoration: underline;
}

.animal-next-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px 30px;
  border-color: rgba(64, 139, 218, 0.38);
  background:
    linear-gradient(135deg, rgba(245, 251, 255, 0.96), rgba(238, 248, 255, 0.88));
}

.animal-next-card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.25;
}

.animal-next-card p {
  margin: 0;
  color: #17325a;
  font-weight: 800;
  line-height: 1.75;
}

.animal-next-icon {
  display: inline-grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #2e7dcc;
}

.animal-next-icon svg {
  width: 74px;
  height: 74px;
}

.animal-camera-icon {
  display: inline-grid;
  width: 96px;
  height: 80px;
  place-items: center;
  border: 2px solid rgba(45, 114, 190, 0.52);
  border-radius: 18px;
  color: #2363a5;
  background: #ffffff;
}

.animal-help-tip {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 24px 0 0;
  padding: 16px 28px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(226, 245, 236, 0.95), rgba(241, 250, 247, 0.92));
  color: #176a57;
  font-weight: 800;
  line-height: 1.65;
}

.animal-help-tip svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #4fb070;
}

.animal-help-tip svg circle {
  fill: currentColor;
}

.animal-help-tip svg path {
  fill: #ffffff;
}

.address-proof-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
}

.address-proof-summary-card {
  position: relative;
  overflow: hidden;
}

.address-proof-summary-card::after {
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 148px;
  height: 148px;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(124, 198, 91, 0.42), rgba(32, 169, 160, 0.18)),
    url("assets/home-icons/address-proof.png") center / cover no-repeat;
  content: "";
  opacity: 0.42;
  transform: rotate(-8deg);
}

.address-proof-section {
  padding-top: 28px;
}

.address-proof-page .address-proof-hero {
  padding-bottom: 28px;
}

.address-proof-section-heading {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: end;
}

.address-proof-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}

.address-proof-filter {
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(32, 74, 104, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #24415e;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(36, 78, 112, 0.08);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.address-proof-filter:hover,
.address-proof-filter:focus-visible,
.address-proof-filter.is-active {
  border-color: rgba(29, 142, 212, 0.26);
  background: #e6f5ff;
  color: #0069b3;
  outline: 0;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(36, 78, 112, 0.12);
}

.address-proof-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  background: rgba(232, 248, 238, 0.72);
  box-shadow: 0 12px 34px rgba(36, 78, 112, 0.09);
}

.address-proof-summary strong {
  color: #12786f;
  font-size: 1.42rem;
  line-height: 1;
}

.address-proof-summary span {
  color: var(--muted);
  font-weight: 800;
}

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

.address-proof-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 270px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(239, 250, 255, 0.62));
  box-shadow: 0 18px 48px rgba(42, 104, 146, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.address-proof-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8f8ee, #eaf7ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.address-proof-card-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.address-proof-card-category {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: #12669d;
  font-size: 0.78rem;
  font-weight: 900;
}

.address-proof-card h3 {
  margin-bottom: 8px;
}

.address-proof-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.address-proof-detail {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(29, 142, 212, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #15345b;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(36, 78, 112, 0.1);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.address-proof-detail:hover,
.address-proof-detail:focus-visible {
  background: #e6f5ff;
  color: #0069b3;
  outline: 0;
  transform: translateY(-1px);
}

.address-proof-note {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 248, 232, 0.82);
  box-shadow: 0 14px 38px rgba(36, 78, 112, 0.08);
}

.source-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 26px;
}

.source-links {
  display: grid;
  gap: 10px;
}

.source-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: #145f8f;
  font-weight: 700;
  text-decoration: none;
}

.topic-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(36, 78, 112, 0.11);
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  outline: 0;
  transform: translateY(-4px);
  box-shadow: 0 20px 58px rgba(36, 78, 112, 0.18);
}

.topic-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-weight: 900;
}

.topic-card.emphasis span {
  background: linear-gradient(135deg, var(--green), var(--teal), var(--blue));
}

.topic-card p {
  color: var(--muted);
}

.reading-menu {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(36, 78, 112, 0.11);
  backdrop-filter: blur(14px);
}

.resident-background-guide {
  align-items: center;
}

.resident-short-list {
  margin-top: 18px;
}

.resident-map-card {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(36, 78, 112, 0.1);
}

.resident-map-card figcaption {
  color: #17325a;
  font-weight: 900;
}

.resident-map-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.resident-map-line {
  fill: none;
  stroke: #2aa0b3;
  stroke-linecap: round;
  stroke-width: 8;
}

.resident-map-card circle {
  fill: #48b977;
  stroke: #ffffff;
  stroke-width: 5;
}

.resident-map-card text {
  fill: #17325a;
  font-size: 18px;
  font-weight: 900;
  text-anchor: middle;
}

.resident-flow {
  padding-top: 34px;
}

.resident-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.resident-flow-steps article {
  position: relative;
  min-height: 100%;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(36, 78, 112, 0.1);
}

.resident-flow-steps article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 1;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: #2aa0b3;
  content: "";
}

.resident-flow-steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #17325a;
  color: #ffffff;
  font-weight: 900;
}

.resident-flow-steps h3 {
  margin-bottom: 8px;
  color: #17325a;
}

.resident-flow-steps p {
  color: var(--muted);
}

.page-next {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding-top: 24px;
}

.feature-callout,
.topic-summary,
.area-detail,
.timeline-grid article,
.document-grid article,
.contact-table,
.travel-grid article,
.route-list article,
.area-grid article {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(36, 78, 112, 0.1);
}

.feature-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 34px 0;
  padding: 26px;
  border-radius: 24px;
}

.feature-callout p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.area-selector-section {
  padding-top: 42px;
}

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

.area-tab {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.area-tab:hover,
.area-tab:focus-visible,
.area-tab.is-active {
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
  color: #ffffff;
  outline: 0;
  box-shadow: 0 14px 28px rgba(36, 78, 112, 0.15);
  transform: translateY(-1px);
}

.area-detail {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 26px;
}

.area-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.area-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--mint);
  color: #16766d;
  font-weight: 900;
  white-space: nowrap;
}

.area-detail h3 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.area-detail p {
  color: var(--muted);
}

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

.area-fact {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.area-fact span,
.area-action-list strong {
  display: block;
  margin-bottom: 6px;
  color: #148176;
  font-size: 0.86rem;
  font-weight: 900;
}

.area-fact strong {
  display: block;
  line-height: 1.35;
}

.area-action-list {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.area-action-list ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(232, 248, 238, 0.72);
}

.map-panel strong,
.map-panel span {
  display: block;
}

.map-panel strong {
  margin-bottom: 4px;
}

.map-panel span {
  color: var(--muted);
}

.map-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.map-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #12669d;
  font-weight: 900;
  text-decoration: none;
}

.topic-page .site-header {
  margin-bottom: 0;
}

.topic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: end;
  padding-top: 76px;
}

.topic-hero h1 {
  max-width: 920px;
  font-size: clamp(3rem, 6.8vw, 6.4rem);
}

.topic-summary {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 24px;
}

.topic-summary strong {
  font-size: 1.2rem;
  line-height: 1.35;
}

.topic-summary span,
.small-note {
  color: var(--muted);
}

.stats-band.compact strong {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.timeline-grid,
.document-grid,
.travel-grid,
.route-list,
.area-grid,
.pathway-grid,
.housing-map-grid,
.price-guide-grid {
  display: grid;
  gap: 18px;
}

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

.document-grid,
.travel-grid,
.area-grid,
.pathway-grid,
.housing-map-grid,
.price-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.timeline-grid article,
.document-grid article,
.travel-grid article,
.route-list article,
.area-grid article,
.pathway-grid article,
.housing-map-grid article,
.price-guide-grid article {
  min-height: 100%;
  padding: 24px;
  border-radius: 22px;
}

.timeline-grid article span,
.route-list article span,
.pathway-grid article span,
.housing-map-grid article span,
.price-guide-grid article span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: #12669d;
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline-grid article p,
.document-grid article p,
.travel-grid article p,
.route-list article p,
.area-grid article p,
.pathway-grid article p,
.housing-map-grid article p,
.price-guide-grid article p {
  color: var(--muted);
}

.pathway-grid a,
.housing-map-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: #12669d;
  font-weight: 900;
  text-decoration: none;
}

.contact-table {
  overflow: hidden;
  border-radius: 24px;
}

.contact-table > div {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 1.3fr 0.7fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.contact-table > div:last-child {
  border-bottom: 0;
}

.contact-table span {
  color: var(--muted);
}

.contact-table a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #12669d;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.dre-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 198, 91, 0.2), transparent 32rem),
    radial-gradient(circle at 86% 10%, rgba(86, 97, 217, 0.16), transparent 30rem),
    linear-gradient(180deg, #f7fcff 0%, #eef8fb 42%, #f8fbf5 100%);
}

.dre-hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
}

.dre-summary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 248, 238, 0.86)),
    linear-gradient(90deg, rgba(29, 142, 212, 0.1), rgba(124, 198, 91, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.dre-explorer {
  padding-top: 40px;
}

.dre-dashboard {
  padding-top: 28px;
}

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

.dre-focus-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(36, 78, 112, 0.1);
}

.dre-focus-grid span,
.dre-card-kicker,
.dre-card-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #12669d;
  background: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
}

.dre-focus-grid strong {
  display: block;
  margin: 16px 0 8px;
  font-size: 1.45rem;
  line-height: 1.24;
}

.dre-focus-grid p,
.dre-panel-lead {
  color: var(--muted);
}

.dre-section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.42fr);
  gap: 24px;
  align-items: end;
}

.dre-section-split > p {
  margin-bottom: 20px;
  color: var(--muted);
}

.dre-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.dre-estate-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(36, 78, 112, 0.12);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dre-estate-card:hover,
.dre-estate-card:focus-visible,
.dre-estate-card.is-active {
  border-color: rgba(32, 169, 160, 0.48);
  box-shadow: 0 26px 70px rgba(36, 78, 112, 0.18);
  outline: 0;
  transform: translateY(-3px);
}

.dre-estate-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.dre-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.dre-card-body strong {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.dre-card-status {
  color: #148176;
  background: var(--mint);
}

.dre-card-facts {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.dre-card-facts span {
  display: grid;
  gap: 3px;
  color: var(--muted);
}

.dre-card-facts b {
  color: var(--ink);
  font-size: 0.88rem;
}

.dre-comparison {
  padding-top: 28px;
}

.dre-compare-scroll {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.dre-compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.dre-compare-table th,
.dre-compare-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.dre-compare-table thead th {
  color: #148176;
  background: rgba(232, 248, 238, 0.68);
  font-size: 0.9rem;
}

.dre-compare-table tbody th {
  min-width: 120px;
  color: var(--ink);
  font-size: 1.05rem;
}

.dre-compare-table tbody tr:last-child th,
.dre-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.dre-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.dre-photo-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(234, 247, 255, 0.78)),
    radial-gradient(circle at 50% 25%, rgba(32, 169, 160, 0.18), transparent 22rem);
  box-shadow: var(--shadow);
  perspective: 1400px;
}

.dre-photo-shell canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  opacity: 0.9;
  pointer-events: none;
}

.dre-photo-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.dre-photo-card {
  position: absolute;
  width: min(64%, 520px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: #dfeef2;
  box-shadow: 0 34px 90px rgba(21, 52, 78, calc(0.1 + (2 - min(var(--depth), 2)) * 0.08));
  cursor: pointer;
  transform:
    translateX(calc(var(--offset) * 42%))
    translateZ(calc((2 - min(var(--depth), 2)) * 80px))
    rotateY(calc(var(--offset) * -18deg))
    scale(calc(1 - min(var(--depth), 2) * 0.13));
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease, opacity 320ms ease;
  touch-action: manipulation;
}

.dre-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.dre-photo-card:not(.is-active) {
  opacity: 0.64;
  filter: blur(0.2px) saturate(0.82);
}

.dre-photo-card.is-active {
  z-index: 4;
}

.dre-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 26%, rgba(6, 25, 42, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.26), transparent 48%);
}

.dre-photo-copy {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: grid;
  color: #ffffff;
  text-align: left;
}

.dre-photo-copy strong {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.dre-photo-copy small {
  font-size: 1rem;
  font-weight: 900;
}

.dre-photo-credit {
  position: absolute;
  top: 18px;
  right: 18px;
  max-width: calc(100% - 36px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #24415e;
  font-size: 0.75rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.dre-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #12669d;
  font-weight: 900;
  text-align: center;
  background: rgba(247, 252, 255, 0.72);
  pointer-events: none;
}

.dre-detail-panel {
  min-height: 560px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.dre-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.dre-panel-top span,
.dre-panel-top a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
}

.dre-panel-top span {
  color: #12669d;
  background: var(--sky);
}

.dre-panel-top a {
  min-height: 44px;
  color: #ffffff;
  background: #148176;
  text-decoration: none;
}

.dre-detail-panel h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.dre-fact-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.dre-fact-list div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dre-fact-list dt {
  color: #148176;
  font-weight: 900;
}

.dre-fact-list dd {
  margin: 0;
  color: var(--muted);
}

.dre-picker-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dre-picker-buttons button {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #24415e;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(36, 78, 112, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.dre-picker-buttons button:hover,
.dre-picker-buttons button:focus-visible,
.dre-picker-buttons button.is-active {
  outline: 0;
  color: #ffffff;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--blue));
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px 30px;
  border-radius: 26px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    border-radius: 28px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 16px;
  }

  .hero,
  .split-section,
  .split-section.reverse,
  .eligibility-game,
  .source-section,
  .topic-hero,
  .dre-stage {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-visual img {
    aspect-ratio: 16 / 12;
  }

  .stats-band,
  .process-grid,
  .arrangement-grid,
  .animal-grid,
  .zone-map,
  .potential-grid,
  .topic-card-grid,
  .area-tabs,
  .area-facts,
  .area-actions,
  .timeline-grid,
  .document-grid,
  .travel-grid,
  .route-list,
  .area-grid,
  .pathway-grid,
  .housing-map-grid,
  .price-guide-grid,
  .quick-start-grid,
  .assessment-quick,
  .assessment-next-grid,
  .plain-summary-grid,
  .resident-flow-steps,
  .animal-steps-grid,
  .animal-help-grid,
  .dre-picker-buttons,
  .dre-focus-grid,
  .dre-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-callout,
  .area-detail-head,
  .map-panel,
  .contact-table > div,
  .reading-menu,
  .dre-section-split {
    grid-template-columns: 1fr;
  }

  .map-buttons {
    justify-content: flex-start;
  }

  .zone-map {
    border-radius: 24px;
  }

  .zone-map article {
    border-width: 0 1px 1px 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .stats-band,
  .section,
  .site-footer,
  .hero {
    width: min(100% - 22px, 1160px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 5.2rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    gap: 26px;
    padding-bottom: 30px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stats-band,
  .process-grid,
  .arrangement-grid,
  .animal-grid,
  .zone-map,
  .potential-grid,
  .topic-card-grid,
  .area-tabs,
  .area-facts,
  .area-actions,
  .timeline-grid,
  .document-grid,
  .travel-grid,
  .route-list,
  .area-grid,
  .pathway-grid,
  .housing-map-grid,
  .price-guide-grid,
  .quick-start-grid,
  .assessment-quick,
  .assessment-next-grid,
  .plain-summary-grid,
  .resident-flow-steps,
  .animal-steps-grid,
  .animal-help-grid,
  .dre-picker-buttons,
  .dre-focus-grid,
  .dre-card-grid,
  .dre-estate-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .resident-flow-steps article::after {
    display: none;
  }

  .info-panel,
  .eligibility-game,
  .animal-finder,
  .animal-help-card,
  .source-section,
  .reading-menu,
  .area-detail,
  .dre-detail-panel {
    padding: 24px;
  }

  .dre-photo-shell,
  .dre-photo-shell canvas,
  .dre-detail-panel {
    min-height: 440px;
  }

  .dre-photo-card {
    width: 78%;
  }

  .dre-photo-credit {
    display: none;
  }

  .dre-fact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dre-estate-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .animal-card {
    padding: 20px;
  }

  .animal-note,
  .animal-help-card li,
  .contact-list li,
  .social-row {
    grid-template-columns: 1fr;
  }

  .animal-note {
    display: grid;
  }

  .game-intro,
  .game-card {
    min-height: auto;
  }

  .choice-button {
    align-items: flex-start;
    min-height: 62px;
  }

  .process-card {
    min-height: auto;
  }

  .zone-map {
    display: grid;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 14px;
  }

  .zone-map article {
    min-height: auto;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 22px;
  }

  .site-footer {
    align-items: flex-start;
  }
}

/* Image-inspired redesign: soft glass, floating pills, and blue-green city light. */
:root {
  --ink: #11233f;
  --muted: #526a86;
  --line: rgba(99, 153, 189, 0.24);
  --blue: #158fde;
  --teal: #16b9b3;
  --green: #78c75b;
  --mint: rgba(232, 248, 238, 0.86);
  --sky: rgba(231, 246, 255, 0.9);
  --panel: rgba(255, 255, 255, 0.66);
  --shadow: 0 28px 80px rgba(32, 90, 130, 0.17);
  --glass-border: rgba(255, 255, 255, 0.76);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 4%, rgba(124, 199, 91, 0.3), transparent 24rem),
    radial-gradient(circle at 88% 0%, rgba(40, 156, 220, 0.3), transparent 30rem),
    linear-gradient(180deg, #f5fbff 0%, #dff1fa 38%, #eef9fb 70%, #f8fcfb 100%);
}

body::before,
body::after {
  position: fixed;
  right: -8vw;
  left: -8vw;
  z-index: -1;
  height: 210px;
  pointer-events: none;
  content: "";
}

body::before {
  top: 58vh;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(255, 255, 255, 0.82), transparent 44%),
    radial-gradient(ellipse at 54% 70%, rgba(120, 199, 231, 0.28), transparent 38%),
    radial-gradient(ellipse at 84% 80%, rgba(255, 255, 255, 0.72), transparent 44%);
  filter: blur(4px);
}

body::after {
  top: 70vh;
  border-radius: 50% 50% 0 0;
  background: rgba(255, 255, 255, 0.44);
  transform: rotate(-2deg);
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin-top: 22px;
  padding: 12px 18px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(237, 250, 255, 0.66));
  box-shadow: 0 22px 70px rgba(46, 104, 144, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brand img {
  width: 70px;
  height: 70px;
  border: 0;
  box-shadow: none;
}

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

.site-nav {
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.site-nav a {
  min-height: 44px;
  padding: 8px 13px;
  color: #294663;
  font-size: 0.86rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.82);
  color: #1273ad;
  box-shadow: inset 0 -2px 0 rgba(21, 143, 222, 0.75);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  gap: 28px;
  padding-top: 68px;
}

.home-page .hero {
  grid-template-columns: minmax(0, 0.74fr) minmax(380px, 0.86fr);
}

.eyebrow {
  color: #117b78;
}

h1 {
  text-wrap: balance;
  text-shadow: 0 18px 48px rgba(36, 104, 143, 0.12);
}

.home-page h1 {
  font-size: clamp(5.2rem, 11vw, 9.4rem);
}

.hero-subtitle {
  color: #102341;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.45;
}

.hero-text {
  max-width: 620px;
  color: #526981;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 700;
}

.button {
  min-height: 62px;
  padding: 15px 28px;
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(36, 111, 154, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.button.primary {
  background: linear-gradient(90deg, #79cb5d 0%, #19b7b2 54%, #168fde 100%);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.82);
}

.hero-visual {
  align-self: stretch;
  padding: 12px;
  border: 2px solid rgba(21, 143, 222, 0.62);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(223, 245, 255, 0.38)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.86), transparent 18rem);
  box-shadow: 0 26px 80px rgba(37, 107, 155, 0.2);
}

.hero-visual::before {
  inset: auto 7% -10px 7%;
  height: 30%;
  border-radius: 999px 999px 36px 36px;
  background:
    radial-gradient(ellipse at 20% 70%, rgba(255, 255, 255, 0.95), transparent 50%),
    radial-gradient(ellipse at 62% 60%, rgba(181, 233, 255, 0.65), transparent 52%);
  filter: blur(8px);
}

.hero-visual img {
  height: 100%;
  min-height: 420px;
  max-height: 650px;
  border-radius: 26px;
  border-color: rgba(255, 255, 255, 0.86);
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 18px 52px rgba(30, 92, 135, 0.16);
}

.home-page .hero-visual img {
  aspect-ratio: 16 / 10.2;
  min-height: 360px;
}

.home-dock {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: min(1080px, calc(100% - 42px));
  margin: -22px auto 72px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(220, 241, 252, 0.52));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.home-dock a {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  justify-items: center;
  min-height: 184px;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-dock a:hover,
.home-dock a:focus-visible {
  outline: 0;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(35, 104, 150, 0.14);
}

.home-dock-icon {
  width: min(100%, 96px);
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(35, 104, 150, 0.14);
}

.home-dock strong {
  align-self: end;
  line-height: 1.2;
}

.home-dock small {
  max-width: 12em;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.3;
}

.review-note {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.quick-start {
  padding-top: 34px;
}

.quick-start-grid,
.plain-summary-grid,
.animal-steps-grid {
  display: grid;
  gap: 18px;
}

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

.plain-summary-grid,
.animal-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-start-grid a,
.plain-summary-grid article,
.animal-steps-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(239, 250, 255, 0.62));
  box-shadow: 0 18px 48px rgba(42, 104, 146, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.quick-start-grid a {
  display: grid;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quick-start-grid a:hover,
.quick-start-grid a:focus-visible {
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(42, 104, 146, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.quick-start-grid span,
.plain-summary-grid span,
.animal-steps-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #12669d;
  background: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
}

.quick-start-grid strong,
.plain-summary-grid strong {
  font-size: 1.22rem;
  line-height: 1.35;
}

.quick-start-grid small,
.animal-steps-grid p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.section,
.site-footer,
.stats-band {
  width: min(1180px, calc(100% - 32px));
}

.section {
  padding: 88px 0;
}

.home-evaluation {
  padding-top: 20px;
}

.info-panel,
.process-card,
.arrangement-grid article,
.zone-map article,
.potential-grid article,
.source-section,
.site-footer,
.reading-menu,
.topic-summary,
.area-detail,
.timeline-grid article,
.document-grid article,
.contact-table,
.travel-grid article,
.route-list article,
.area-grid article,
.animal-finder,
.animal-card,
.dre-focus-grid article,
.dre-estate-card,
.dre-detail-panel,
.dre-photo-shell {
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(239, 250, 255, 0.58));
  box-shadow: 0 22px 70px rgba(42, 104, 146, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.eligibility-game {
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 248, 238, 0.62)),
    radial-gradient(circle at 82% 8%, rgba(21, 143, 222, 0.14), transparent 24rem);
  box-shadow: 0 30px 90px rgba(42, 104, 146, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.game-card,
.choice-button {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 252, 255, 0.82));
}

.source-links a,
.area-tab,
.animal-filter,
.game-link,
.dre-picker-buttons button {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.topic-hero {
  min-height: 54vh;
  padding-top: 86px;
}

.topic-hero h1 {
  background: linear-gradient(90deg, #70bf58 0%, #14a9a7 46%, #197ed4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stats-band article {
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 247, 255, 0.58));
}

@media (max-width: 980px) {
  .site-header {
    min-height: 74px;
  }

  .site-nav {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
  }

  .home-page .hero,
  .hero {
    grid-template-columns: 1fr;
  }

  .home-dock {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }

  .address-proof-section-heading,
  .address-proof-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header,
  .section,
  .site-footer,
  .hero,
  .stats-band {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    min-height: 80px;
    margin-top: 14px;
    border-radius: 36px;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .menu-button {
    width: 56px;
    height: 56px;
  }

  .home-page h1 {
    font-size: clamp(4.35rem, 20vw, 6.8rem);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    gap: 16px;
  }

  .button {
    min-height: 62px;
    font-size: 1.05rem;
  }

  .hero-visual {
    padding: 8px;
    border-radius: 30px;
  }

  .hero-visual img {
    min-height: 360px;
    max-height: 560px;
    border-radius: 24px;
  }

  .home-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 24px, 1180px);
    margin: 10px auto 58px;
    padding: 14px;
    border-radius: 28px;
  }

  .home-dock a {
    min-height: 166px;
    padding: 16px 12px;
  }

  .home-dock-icon {
    width: min(100%, 82px);
    border-radius: 22px;
  }

  .eligibility-game {
    border-radius: 30px;
  }

  .address-proof-grid {
    grid-template-columns: 1fr;
  }

  .address-proof-card {
    min-height: 0;
  }

  .address-proof-note {
    display: grid;
  }
}

.home-page .hero {
  position: relative;
  grid-template-columns: minmax(0, 0.82fr);
  align-items: center;
  width: min(1180px, calc(100% - 64px));
  min-height: 640px;
  margin-top: 36px;
  padding: 74px 56px 118px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 44px;
  background:
    linear-gradient(90deg, rgba(246, 253, 255, 0.96) 0%, rgba(239, 251, 255, 0.9) 43%, rgba(233, 248, 255, 0.5) 66%, rgba(228, 246, 255, 0.18) 100%),
    url("hero-happy-north.png") center right / cover no-repeat;
  box-shadow: 0 28px 90px rgba(37, 107, 155, 0.2);
}

.home-page .hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(255, 255, 255, 0.92), transparent 58%),
    linear-gradient(0deg, rgba(226, 247, 255, 0.86), rgba(226, 247, 255, 0));
  content: "";
  pointer-events: none;
}

.home-page .hero-copy {
  max-width: 560px;
}

.home-page .hero-visual {
  display: none;
}

@media (max-width: 980px) {
  .home-page .hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 1180px);
    min-height: 760px;
    padding: 58px 34px 260px;
    background:
      linear-gradient(180deg, rgba(246, 253, 255, 0.98) 0%, rgba(240, 251, 255, 0.9) 48%, rgba(232, 248, 255, 0.38) 72%, rgba(232, 248, 255, 0.08) 100%),
      url("hero-happy-north.png") center bottom / cover no-repeat;
  }
}

@media (max-width: 640px) {
  .home-page .hero {
    width: min(100% - 24px, 1180px);
    min-height: 800px;
    margin-top: 24px;
    padding: 44px 20px 300px;
    border-radius: 34px;
    background:
      linear-gradient(180deg, rgba(246, 253, 255, 0.99) 0%, rgba(240, 251, 255, 0.94) 54%, rgba(232, 248, 255, 0.46) 77%, rgba(232, 248, 255, 0.12) 100%),
      url("hero-happy-north.png") center bottom / cover no-repeat;
  }
}

/* Home alignment overrides: keep the main blocks on the same grid. */
.home-page .site-header,
.home-page .hero,
.home-page .home-dock,
.home-page .section,
.home-page .site-footer {
  width: min(1180px, calc(100% - 64px));
}

.home-page .hero {
  margin: 36px auto 0;
}

.home-page .home-dock {
  margin: 24px auto 72px;
  padding: 18px;
}

.home-page .home-dock a {
  min-width: 0;
  min-height: 190px;
}

.home-page .home-evaluation {
  padding-top: 0;
}

@media (max-width: 980px) {
  .home-page .site-header,
  .home-page .hero,
  .home-page .home-dock,
  .home-page .section,
  .home-page .site-footer {
    width: min(100% - 32px, 1180px);
  }
}

@media (max-width: 640px) {
  .home-page .site-header,
  .home-page .hero,
  .home-page .home-dock,
  .home-page .section,
  .home-page .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .home-page .home-dock {
    margin: 18px auto 58px;
  }

  .home-page .home-dock a {
    min-height: 166px;
  }
}

/* Homepage concept inspired by the supplied Happy North mockup. */
.landing-home {
  background:
    radial-gradient(circle at 15% 12%, rgba(105, 205, 137, 0.2), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(28, 165, 160, 0.15), transparent 30%),
    linear-gradient(180deg, #f7fffc 0%, #effbf8 56%, #ffffff 100%);
}

.landing-home main {
  min-height: calc(100vh - 118px);
  padding: 38px 0 64px;
}

.home-concept-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  width: min(1280px, calc(100% - 96px));
  min-height: 520px;
  margin: 0 auto;
  padding: 42px 18px 34px;
}

.home-concept-hero::before,
.home-concept-hero::after {
  position: absolute;
  right: -6vw;
  left: -6vw;
  z-index: -1;
  height: 170px;
  pointer-events: none;
  content: "";
}

.home-concept-hero::before {
  bottom: 84px;
  background:
    repeating-linear-gradient(8deg, rgba(39, 126, 214, 0.08) 0 1px, transparent 1px 16px);
  clip-path: polygon(0 56%, 18% 46%, 40% 50%, 61% 34%, 82% 46%, 100% 28%, 100% 100%, 0 100%);
}

.home-concept-hero::after {
  bottom: 24px;
  background: linear-gradient(90deg, rgba(112, 210, 188, 0.3), rgba(33, 164, 160, 0.18), rgba(99, 189, 116, 0.24));
  clip-path: polygon(0 62%, 20% 45%, 42% 58%, 63% 38%, 82% 51%, 100% 34%, 100% 100%, 0 100%);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

.home-kicker {
  margin: 0 0 14px;
  color: #1a947f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.14em;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-copy h1 span:first-child {
  color: #68bd37;
}

.home-hero-copy h1 span:last-child {
  color: #138fc7;
}

.home-tagline {
  margin: 20px 0 16px;
  color: #152f58;
  font-size: clamp(1.22rem, 2vw, 1.68rem);
  font-weight: 900;
}

.home-hero-text {
  max-width: 410px;
  margin: 0 0 26px;
  color: #466279;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.9;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}

.home-hero-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  aspect-ratio: 1;
  border: 16px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 28px 72px rgba(40, 131, 142, 0.16);
}

.home-orbit {
  position: absolute;
  width: min(100%, 620px);
  aspect-ratio: 1.16;
  border: 2px solid rgba(35, 166, 168, 0.22);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.orbit-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(29, 161, 160, 0.22);
  border-radius: 50%;
  color: #20a29a;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(58, 134, 148, 0.1);
  transform: rotate(8deg);
}

.orbit-icon svg,
.home-feature-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.orbit-icon.bus {
  bottom: 10%;
  left: 5%;
}

.orbit-icon.leaf {
  top: 3%;
  right: 12%;
}

.orbit-icon.home {
  top: -2%;
  left: 28%;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, calc(100% - 96px));
  margin: -8px auto 72px;
}

.home-feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  border: 1px solid rgba(72, 147, 178, 0.14);
  border-radius: 18px;
  color: #17325a;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(50, 110, 145, 0.1);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible {
  border-color: rgba(32, 162, 154, 0.38);
  box-shadow: 0 24px 58px rgba(50, 110, 145, 0.16);
  outline: 0;
  transform: translateY(-3px);
}

.home-feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.home-feature-card.green .home-feature-icon {
  color: #1b9f77;
  background: #e8f8ec;
}

.home-feature-card.blue .home-feature-icon {
  color: #247ed3;
  background: #e7f2ff;
}

.home-feature-card.coral .home-feature-icon {
  color: #d95f72;
  background: #fff0f2;
}

.home-feature-card.amber .home-feature-icon {
  color: #d48a14;
  background: #fff6dc;
}

.home-feature-card strong,
.home-feature-card small {
  display: block;
}

.home-feature-card strong {
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.home-feature-card small {
  color: #5e7386;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.home-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto 54px;
  padding: 34px 38px;
  border: 1px solid rgba(72, 147, 178, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(236, 250, 243, 0.94), rgba(239, 249, 255, 0.9));
  box-shadow: var(--about-shadow);
}

.home-contact-strip h2 {
  margin: 0 0 10px;
  color: #17325a;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.home-contact-strip p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #526b7f;
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 1120px) {
  .home-concept-hero {
    grid-template-columns: 1fr;
    width: min(100% - 56px, 920px);
    padding-top: 30px;
    text-align: center;
  }

  .home-hero-copy {
    justify-self: center;
  }

  .home-hero-copy h1,
  .home-hero-actions {
    justify-content: center;
  }

  .home-hero-text {
    margin-inline: auto;
  }

  .home-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 56px, 920px);
    margin-top: 14px;
  }

  .home-contact-strip {
    width: min(100% - 56px, 920px);
  }
}

@media (max-width: 720px) {
  .landing-home main {
    padding-top: 24px;
  }

  .home-concept-hero {
    width: min(100% - 28px, 560px);
    min-height: auto;
    gap: 28px;
    padding: 20px 0 18px;
  }

  .home-concept-hero::before {
    bottom: 70px;
  }

  .home-concept-hero::after {
    bottom: 28px;
  }

  .home-hero-copy h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .home-hero-text {
    font-size: 0.98rem;
  }

  .home-hero-visual {
    min-height: 310px;
  }

  .home-hero-photo {
    width: min(100%, 330px);
    border-width: 10px;
  }

  .home-orbit {
    width: min(100%, 380px);
  }

  .orbit-icon {
    width: 42px;
    height: 42px;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 560px);
    margin-bottom: 42px;
  }

  .home-feature-card {
    min-height: 92px;
    padding: 16px;
    border-radius: 16px;
  }

  .home-contact-strip {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 560px);
    padding: 26px 20px;
  }
}

/* About page redesign based on the supplied reference. */
.about-redesign {
  --about-ink: #17325a;
  --about-green: #33a87d;
  --about-teal: #1e9f9d;
  --about-blue: #277ed6;
  --about-lavender: #786ce6;
  --about-panel: rgba(255, 255, 255, 0.84);
  --about-line: rgba(72, 147, 178, 0.16);
  --about-shadow: 0 20px 56px rgba(50, 110, 145, 0.12);
  color: var(--about-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5fcff 36%, #f8fdf7 74%, #ffffff 100%);
}

.about-redesign main {
  overflow: hidden;
}

.about-redesign .site-header {
  position: sticky;
  top: 0;
  width: min(1360px, 100%);
  min-height: 118px;
  margin: 0 auto;
  padding: 18px 64px;
  border: 0;
  border-radius: 0 0 28px 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(55, 106, 138, 0.08);
}

.about-redesign .brand {
  min-width: 238px;
  gap: 14px;
}

.about-redesign .brand img {
  width: 98px;
  height: 98px;
  border-radius: 0;
}

.about-redesign .brand strong {
  color: #122b52;
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.about-redesign .brand small {
  color: #17325a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-redesign .site-nav {
  gap: 24px;
}

.about-redesign .site-nav a {
  position: relative;
  min-height: 44px;
  padding: 8px 0;
  border-radius: 0;
  color: #17325a;
  background: transparent;
  font-size: 1rem;
  box-shadow: none;
}

.about-redesign .site-nav a:hover,
.about-redesign .site-nav a:focus-visible,
.about-redesign .site-nav a[aria-current="page"] {
  color: #178f73;
  background: transparent;
  transform: none;
}

.about-redesign .site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #55bd73, #1ca5a0);
  content: "";
}

.about-redesign .site-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid rgba(35, 154, 126, 0.55);
  border-radius: 999px;
  color: #228f72;
}

.about-redesign .site-nav .nav-contact::after {
  display: none;
}

.nav-contact svg,
.assist-list svg,
.about-icon svg,
.focus-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.about-hero,
.about-card,
.focus-section,
.assist-panel,
.quote-band {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.about-hero {
  position: relative;
  min-height: 470px;
  margin-top: 0;
  padding: 86px 36px 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 253, 255, 0.98) 0%, rgba(247, 253, 255, 0.92) 32%, rgba(247, 253, 255, 0.32) 62%, rgba(247, 253, 255, 0.02) 100%),
    url("assets/about/about-hero.png") center right / cover no-repeat;
}

.about-hero::after {
  position: absolute;
  inset: auto -6% -2px -6%;
  height: 90px;
  background: #ffffff;
  border-radius: 55% 45% 0 0 / 100% 100% 0 0;
  content: "";
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.about-redesign h1 {
  margin: 0 0 18px;
  background: none;
  color: #17325a;
  font-size: clamp(3.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1.05;
}

.about-lede {
  margin-bottom: 30px;
  color: #2a9b76;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 900;
}

.about-hero p:not(.about-lede),
.who-copy p,
.focus-card p,
.assist-panel p {
  color: #263a57;
  font-weight: 700;
  letter-spacing: 0;
}

.about-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
  margin-top: -6px;
  padding: 38px 40px;
  border: 1px solid var(--about-line);
  border-radius: 28px;
  background: var(--about-panel);
  box-shadow: var(--about-shadow);
  backdrop-filter: blur(16px);
}

.about-icon,
.focus-icon,
.assist-list span::before {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eaf8ed, #d8f0da);
  color: #43a860;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.about-icon {
  width: 80px;
  height: 80px;
}

.about-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2.4;
}

.who-copy h2,
.assist-panel h2 {
  margin: 0 0 12px;
  color: #17325a;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.18;
}

.who-copy p {
  margin-bottom: 12px;
}

.who-card img {
  justify-self: end;
  width: 100%;
  max-height: 260px;
  border-radius: 24px;
  object-fit: cover;
  object-position: right center;
}

.focus-section {
  padding: 34px 0 0;
}

.center-heading {
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.center-heading h2 {
  position: relative;
  margin: 0;
  color: #17325a;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.center-heading h2::after {
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #48b977, #2aa0b3);
  content: "";
}

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

.focus-card {
  position: relative;
  min-height: 346px;
  padding: 34px 34px 166px;
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(61, 110, 145, 0.1);
}

.focus-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
}

.focus-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 2.4;
}

.focus-icon.blue {
  color: #2e86d7;
  background: linear-gradient(145deg, #e9f5ff, #d9ebff);
}

.focus-icon.purple {
  color: #756be4;
  background: linear-gradient(145deg, #f0efff, #e5e3ff);
}

.focus-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.focus-animal h3 {
  color: #2f9f63;
}

.focus-family h3 {
  color: #267fd4;
}

.focus-community h3 {
  color: #6f63d9;
}

.focus-card p {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.85;
}

.focus-card img {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  width: 300%;
  max-width: none;
  height: 155px;
  object-fit: cover;
  opacity: 0.98;
}

.focus-animal img {
  left: 0;
}

.focus-family img {
  left: -100%;
}

.focus-community img {
  left: -200%;
}

.assist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: 26px;
  align-items: center;
  margin-top: 36px;
  padding: 34px 46px 28px;
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(239, 250, 255, 0.94), rgba(232, 249, 255, 0.78)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--about-shadow);
}

.assist-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(86px, 1fr));
  gap: 14px;
  margin: 24px 0 22px;
}

.assist-list span {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: #17325a;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.assist-list svg {
  width: 58px;
  height: 58px;
  padding: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #239fb0;
  box-shadow: 0 10px 24px rgba(42, 118, 148, 0.11);
}

.assist-art {
  position: relative;
  align-self: stretch;
  min-height: 260px;
}

.assist-art img {
  width: 100%;
  height: 250px;
  border-radius: 22px;
  object-fit: cover;
  object-position: right center;
}

.assist-actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: -2px;
}

.about-redesign .button {
  min-width: 220px;
  min-height: 58px;
  border: 0;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 16px 30px rgba(44, 124, 160, 0.2);
}

.about-redesign .button::after {
  margin-left: 20px;
  content: "→";
}

.about-redesign .button.primary {
  background: linear-gradient(90deg, #6bc76d, #25a498);
}

.about-redesign .button.secondary {
  background: linear-gradient(90deg, #4285d7, #1f7bda);
}

.quote-band {
  display: grid;
  place-items: center;
  min-height: 128px;
  margin-top: 28px;
  padding: 20px 30px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(226, 247, 225, 0.95), rgba(248, 254, 247, 0.9)),
    radial-gradient(circle at 8% 70%, rgba(77, 171, 101, 0.18), transparent 12rem);
  color: #1d9a82;
  text-align: center;
  box-shadow: 0 14px 36px rgba(61, 110, 145, 0.08);
}

.quote-band p {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 900;
}

.about-redesign .site-footer.about-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.6fr 0.72fr 0.55fr;
  gap: 34px;
  width: min(1360px, 100%);
  margin-top: 6px;
  padding: 80px 86px 42px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #65c7c1 0%, #249eab 54%, #0a7d93 100%);
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-wave {
  position: absolute;
  top: -42px;
  right: 0;
  left: 0;
  height: 78px;
  background: #ffffff;
  border-radius: 0 0 48% 52% / 0 0 100% 100%;
}

.about-footer .brand {
  min-width: 0;
  color: #ffffff;
}

.about-footer .brand img {
  width: 60px;
  height: 60px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.about-footer .brand strong,
.about-footer .brand small,
.about-footer p,
.about-footer small,
.about-footer a {
  color: rgba(255, 255, 255, 0.95);
}

.about-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 1.05rem;
}

.about-footer a {
  display: block;
  margin-bottom: 7px;
  text-decoration: none;
}

.footer-brand p {
  max-width: 300px;
  margin: 16px 0 26px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 50%;
  background: rgba(23, 50, 90, 0.22);
  font-weight: 900;
}

.legal-links {
  position: absolute;
  right: 86px;
  bottom: 32px;
  display: flex;
  gap: 22px;
}

.legal-links a {
  margin: 0;
}

@media (max-width: 1120px) {
  .about-redesign .site-header {
    padding-inline: 28px;
  }

  .about-redesign .site-nav {
    gap: 14px;
  }

  .about-redesign .site-nav a {
    font-size: 0.92rem;
  }

  .about-card {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .who-card img {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-height: 220px;
  }

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

  .assist-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .about-redesign .site-header {
    min-height: 86px;
    border-radius: 0 0 24px 24px;
  }

  .about-redesign .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    left: 24px;
    display: none;
    padding: 18px;
    border: 1px solid rgba(72, 147, 178, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--about-shadow);
  }

  .about-redesign .site-nav.is-open {
    display: grid;
  }

  .about-redesign .site-nav a,
  .about-redesign .site-nav .nav-contact {
    justify-content: flex-start;
    width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .about-hero,
  .about-card,
  .focus-section,
  .assist-panel,
  .quote-band {
    width: min(100% - 32px, 1280px);
  }

  .about-hero {
    min-height: 680px;
    padding: 62px 24px 320px;
    background:
      linear-gradient(180deg, rgba(247, 253, 255, 0.99) 0%, rgba(247, 253, 255, 0.95) 42%, rgba(247, 253, 255, 0.4) 70%, rgba(247, 253, 255, 0.05) 100%),
      url("assets/about/about-hero.png") center bottom / cover no-repeat;
  }

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

  .focus-card {
    min-height: 365px;
  }

  .about-redesign .site-footer.about-footer {
    grid-template-columns: 1fr 1fr;
    padding: 72px 32px 56px;
  }

  .legal-links {
    right: 32px;
  }
}

@media (max-width: 640px) {
  .about-redesign .site-header {
    padding-inline: 18px;
  }

  .about-redesign .brand {
    min-width: 0;
  }

  .about-redesign .brand img {
    width: 62px;
    height: 62px;
  }

  .about-redesign .brand strong {
    font-size: 1.2rem;
  }

  .about-redesign .brand small {
    font-size: 0.6rem;
  }

  .about-hero,
  .about-card,
  .focus-section,
  .assist-panel,
  .quote-band {
    width: min(100% - 24px, 1280px);
  }

  .about-hero {
    min-height: 650px;
    padding: 44px 18px 300px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .about-icon {
    width: 70px;
    height: 70px;
  }

  .assist-panel {
    padding: 28px 22px 24px;
  }

  .focus-card {
    min-height: 420px;
    padding: 28px 22px 178px;
  }

  .focus-card img {
    height: 170px;
  }

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

  .assist-art img {
    height: 220px;
  }

  .assist-actions {
    display: grid;
    gap: 12px;
  }

  .about-redesign .button {
    min-width: 0;
    width: 100%;
  }

  .about-redesign .site-footer.about-footer {
    grid-template-columns: 1fr;
    padding: 66px 24px 72px;
  }

  .legal-links {
    right: 24px;
    left: 24px;
    justify-content: flex-start;
  }
}

.about-redesign.topic-page main {
  overflow: hidden;
}

.about-redesign .topic-hero {
  --topic-hero-image: url("assets/hero/background-hero.png");
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: 34px;
  align-items: center;
  width: min(1280px, calc(100% - 96px));
  min-height: 470px;
  margin: 0 auto;
  padding: 76px 36px 82px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 253, 255, 0.98) 0%, rgba(247, 253, 255, 0.92) 36%, rgba(247, 253, 255, 0.38) 68%, rgba(247, 253, 255, 0.06) 100%),
    var(--topic-hero-image) center right / cover no-repeat;
}

.about-redesign .background-hero {
  --topic-hero-image: url("assets/hero/background-hero.png");
}

.about-redesign .resumption-hero {
  --topic-hero-image: url("assets/hero/resumption-hero.png");
}

.about-redesign .assessment-hero {
  --topic-hero-image: url("assets/hero/assessment-hero.png");
}

.about-redesign .dre-hero {
  --topic-hero-image: url("assets/hero/dedicated-rehousing-hero.png");
}

.about-redesign .address-proof-hero {
  --topic-hero-image: url("assets/hero/address-proof-hero.png");
}

.about-redesign .animal-hero {
  --topic-hero-image: url("assets/hero/animal-hero.png");
}

.about-redesign .support-hero {
  --topic-hero-image: url("assets/hero/support-hero.png");
}

.about-redesign .potential-hero {
  --topic-hero-image: url("assets/hero/potential-hero.png");
}

.about-redesign .blueprint-hero {
  --topic-hero-image: url("assets/hero/blueprint-hero.png");
}

.about-redesign .topic-hero::after {
  position: absolute;
  inset: auto -6% -2px -6%;
  height: 90px;
  background: #ffffff;
  border-radius: 55% 45% 0 0 / 100% 100% 0 0;
  content: "";
}

.about-redesign .topic-hero > * {
  position: relative;
  z-index: 1;
}

.about-redesign .topic-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #17325a;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 1.06;
}

.about-redesign .topic-hero .eyebrow {
  color: #2a9b76;
  font-size: 1.05rem;
}

.about-redesign .topic-hero .hero-subtitle {
  margin-bottom: 18px;
  color: #2a9b76;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 900;
}

.about-redesign .topic-hero .hero-text,
.about-redesign .topic-summary {
  color: #263a57;
  font-weight: 700;
}

.about-redesign .topic-summary {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 26px;
  border: 1px solid var(--about-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--about-shadow);
  backdrop-filter: blur(16px);
}

.about-redesign .topic-summary strong {
  color: #17325a;
  font-size: 1.12rem;
  line-height: 1.4;
}

.about-redesign .section,
.about-redesign .stats-band {
  width: min(1280px, calc(100% - 96px));
}

.about-redesign.topic-page .section {
  padding: 48px 0;
}

.about-redesign.topic-page .stats-band {
  margin-top: 26px;
  margin-bottom: 28px;
}

.about-redesign .stats-band article,
.about-redesign .info-panel,
.about-redesign .process-card,
.about-redesign .arrangement-grid article,
.about-redesign .zone-map article,
.about-redesign .potential-grid article,
.about-redesign .source-section,
.about-redesign .document-grid article,
.about-redesign .pathway-grid article,
.about-redesign .animal-steps-grid article,
  .about-redesign .animal-help-card,
  .about-redesign .address-proof-note,
  .about-redesign .animal-note,
  .about-redesign .price-guide-grid article,
  .about-redesign .dre-focus-grid article,
  .about-redesign .plain-summary-grid article,
  .about-redesign .resident-map-card,
  .about-redesign .resident-flow-steps article {
  border: 1px solid var(--about-line);
  border-radius: 24px;
  background: var(--about-panel);
  box-shadow: var(--about-shadow);
  backdrop-filter: blur(16px);
}

.about-redesign .stats-band article {
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 249, 245, 0.78));
}

.about-redesign .stats-band strong,
.about-redesign .section-heading h2,
.about-redesign .split-section h2,
.about-redesign .info-panel h3 {
  color: #17325a;
}

.about-redesign .stats-band span,
.about-redesign .section-heading p,
.about-redesign .split-section p,
.about-redesign .document-grid p,
  .about-redesign .pathway-grid p,
  .about-redesign .resident-flow-steps p,
  .about-redesign .animal-note,
  .about-redesign .address-proof-note {
  color: #263a57;
  font-weight: 700;
}

.about-redesign .section-heading {
  max-width: 880px;
}

.about-redesign .section-heading h2 {
  position: relative;
  width: fit-content;
  margin-bottom: 20px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.about-redesign .section-heading h2::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #48b977, #2aa0b3);
  content: "";
}

.about-redesign .source-section,
.about-redesign .reading-menu,
.about-redesign .plain-summary {
  padding: 34px 40px;
}

.about-redesign .source-links a,
.about-redesign .pathway-grid a,
.about-redesign .page-next .button {
  border-color: rgba(35, 154, 126, 0.22);
  background: rgba(255, 255, 255, 0.86);
  color: #17325a;
}

.about-redesign .page-next {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-top: 30px;
}

.about-redesign.topic-page .animal-help-section {
  width: 100%;
  padding: 54px 0 66px;
}

.about-redesign .animal-help-panel {
  width: min(1280px, calc(100% - 96px));
}

.about-redesign .animal-help-copy h2 {
  max-width: 760px;
  color: #142b52;
  font-size: clamp(2.75rem, 5.4vw, 4.8rem);
}

.about-redesign .animal-help-card,
.about-redesign .animal-next-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(36, 78, 112, 0.12);
  backdrop-filter: blur(16px);
}

@media (max-width: 980px) {
  .about-redesign .topic-hero {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 1280px);
    min-height: 680px;
    padding: 58px 24px 300px;
    background:
      linear-gradient(180deg, rgba(247, 253, 255, 0.99) 0%, rgba(247, 253, 255, 0.95) 42%, rgba(247, 253, 255, 0.42) 70%, rgba(247, 253, 255, 0.08) 100%),
      var(--topic-hero-image) center bottom / cover no-repeat;
  }

  .about-redesign .section,
  .about-redesign .stats-band {
    width: min(100% - 32px, 1280px);
  }

  .about-redesign .animal-help-panel {
    width: min(100% - 32px, 1280px);
  }

  .animal-help-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .animal-help-copy {
    max-width: 820px;
    padding-bottom: 0;
  }

  .animal-help-visual {
    width: min(100%, 760px);
    justify-self: center;
    margin-top: -26px;
  }
}

@media (max-width: 640px) {
  .about-redesign .topic-hero,
  .about-redesign .section,
  .about-redesign .stats-band {
    width: min(100% - 24px, 1280px);
  }

  .about-redesign .topic-hero {
    min-height: 650px;
    padding: 42px 18px 290px;
  }

  .about-redesign .topic-hero h1 {
    font-size: clamp(2.7rem, 15vw, 3.8rem);
  }

  .about-redesign .source-section,
  .about-redesign .reading-menu,
  .about-redesign .plain-summary {
    padding: 28px 22px;
  }

  .about-redesign .animal-help-panel {
    width: min(100% - 24px, 1280px);
  }

  .animal-help-card,
  .animal-next-card {
    border-radius: 18px;
  }

  .animal-help-card {
    padding: 22px;
  }

  .animal-help-card-title {
    gap: 12px;
  }

  .animal-help-icon {
    width: 54px;
    height: 54px;
  }

  .animal-help-card li {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
  }

  .animal-phone-group {
    justify-items: start;
  }

  .animal-next-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .animal-camera-icon {
    width: 84px;
    height: 72px;
  }

  .animal-help-tip {
    align-items: flex-start;
    padding: 16px 18px;
  }
}
