:root {
  --pine: #193e3b;
  --pine-dark: #12332f;
  --cream: #f8f6f0;
  --sand: #efe9dc;
  --gold: #b8783c;
  --gold-light: #dfb786;
  --ink: #233330;
  --muted: #69726e;
  --line: #e5dfd5;
  --white: #fff;
  --red: #b85e39;
  --shadow: 0 7px 32px rgba(29, 42, 38, .045)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5
}

a {
  color: inherit
}

button,
input,
select {
  font: inherit
}

button,
select {
  cursor: pointer
}

button:disabled {
  opacity: .5;
  cursor: not-allowed
}

.shell {
  max-width: 1210px;
  padding: 0 28px;
  margin: 0 auto
}

.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
}

.hero {
  background: var(--pine);
  color: #fff;
  overflow: hidden
}

.hero-content {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 385px;
  gap: 20px;
  align-items: center;
  position: relative
}

.hero-copy {
  padding: 52px 0 46px
}

.eyebrow,
.section-label {
  font-size: 10px;
  letter-spacing: 2.3px;
  font-weight: 800;
  color: var(--gold)
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #e0b17d
}

.eyebrow-rule {
  display: inline-block;
  background: #e0b17d;
  width: 25px;
  height: 1px
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2.2px;
  margin: 22px 0 18px
}

.hero h1 em {
  color: #e8bb8c;
  font-weight: 400
}

.hero-copy>p {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.9;
  color: #c2d2cd;
  margin: 0
}

.hero-foot {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #9dbbb1;
  margin-top: 32px
}

.tiny-symbol {
  font-size: 15px;
  color: #d9ab76;
  margin-right: 9px
}

.postmark-art {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center
}

.postmark-outline {
  height: 295px;
  width: 295px;
  transform: rotate(-13deg);
  border: 5px double rgba(228, 186, 135, .44);
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #d9b78d;
  opacity: .8
}

.postmark-outline:before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(228, 186, 135, .4);
  border-radius: 50%
}

.arc-text {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 12px
}

.stamp-heart {
  font-size: 21px;
  display: flex;
  gap: 16px;
  align-items: center
}

.stamp-heart span {
  font-size: 38px
}

.art-title {
  font-family: Georgia, serif;
  text-align: center;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.22;
  margin-top: 12px
}

.stamp-lines {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translate(125px, 8px)
}

.stamp-lines i {
  height: 2px;
  width: 100%;
  background: #d9b78d
}

.postmark-side-note {
  position: absolute;
  right: 0;
  bottom: 18px;
  color: #aac3b9;
  font-size: 9px;
  letter-spacing: 1.7px;
  writing-mode: vertical-rl
}

.postmark-side-note span {
  margin: 15px 0
}

.workspace {
  padding-top: 33px;
  padding-bottom: 65px
}

.card-panel {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 10px
}

.location-section {
  padding: 27px 29px 24px
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.section-top h2,
.results-heading h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.9px;
  margin: 8px 0;
  font-size: 29px
}

.privacy-tag {
  font-size: 11px;
  color: #56796c;
  background: #eef6f0;
  border: 1px solid #e0efe3;
  border-radius: 100px;
  padding: 8px 13px
}

.location-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 70px minmax(0, .85fr);
  gap: 15px;
  align-items: center;
  margin-top: 16px
}

.location-status {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #53645d;
  font-size: 13px;
  min-height: 34px;
  line-height: 1.6
}

.location-status .pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9924c;
  flex: none;
  margin-top: 6px;
  box-shadow: 0 0 0 4px #fbf2e4
}

.location-status.success .pulse-dot {
  background: #398564;
  box-shadow: 0 0 0 4px #e6f4ea
}

.location-status.failed .pulse-dot {
  background: #b96041;
  box-shadow: 0 0 0 4px #f8eae4
}

.location-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}

.button {
  border-radius: 6px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12px;
  border: 1px solid transparent;
  min-height: 43px
}

.button-primary {
  background: var(--pine);
  color: white
}

.button-primary:hover {
  background: #28534e
}

.button-primary span {
  font-size: 19px;
  vertical-align: -2px;
  margin-right: 6px
}

.button-outline {
  background: white;
  border-color: #cfd7d1;
  color: var(--pine)
}

.button-outline:hover {
  background: #f4f7f4
}

.location-divider {
  font-size: 9px;
  letter-spacing: 1px;
  color: #9b9b94;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center
}

.location-divider:before,
.location-divider:after {
  content: '';
  height: 38px;
  width: 1px;
  background: #e4dfd7
}

.manual-block label {
  display: block;
  color: #4d5d57;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px
}

.manual-block select,
.filter-select select {
  width: 100%;
  border: 1px solid #dcded9;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  outline-color: #6c9586;
  font-size: 12px
}

.input-note {
  color: #819088;
  font-size: 10px;
  margin: 6px 0 0
}

.advanced-location {
  font-size: 12px;
  color: #546761;
  border-top: 1px dashed var(--line);
  margin-top: 21px;
  padding-top: 12px
}

.advanced-location summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--pine)
}

.advanced-location form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin-top: 10px
}

.advanced-location form label {
  font-size: 11px
}

.advanced-location form input {
  display: block;
  max-width: 155px;
  border: 1px solid #dcded9;
  border-radius: 6px;
  padding: 10px;
  margin-top: 4px
}

.metrics-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 0;
  align-items: center;
  margin: 29px 0 39px;
  background: var(--sand);
  border-radius: 9px;
  padding: 22px 23px
}

.metric {
  padding: 0 15px;
  border-right: 1px solid #ddd1bd;
  display: flex;
  align-items: baseline;
  gap: 10px
}

.metric:first-child {
  padding-left: 0
}

.metric strong {
  font-family: Georgia, serif;
  color: var(--pine);
  font-size: 32px;
  font-weight: 400
}

.metric span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #6e756e;
  font-weight: 750
}

.metric.data-metric {
  border: 0;
  padding-left: 23px;
  align-items: center;
  gap: 9px
}

.source-point {
  background: var(--gold);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 33px
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.results-heading h2 {
  font-size: 34px;
  margin: 9px 0 5px
}

.gold-dot {
  color: var(--gold)
}

.results-subtitle {
  font-size: 12px;
  color: #74817b;
  margin: 0 0 20px
}

.count-bubble {
  background: #ebefe9;
  color: var(--pine);
  font-size: 13px;
  font-weight: 800;
  border-radius: 7px;
  padding: 8px 12px;
  align-self: center
}

.filters {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px
}

.search-wrap {
  border: 1px solid #e1e4df;
  border-radius: 6px;
  display: flex;
  align-items: center;
  background: #fbfcfa
}

.search-wrap span {
  font-size: 24px;
  color: #879a8e;
  padding: 0 14px
}

.search-wrap input {
  font-size: 13px;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 13px 14px 13px 0
}

.filter-bottom {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap
}

.filter-select {
  font-size: 10px;
  font-weight: 800;
  color: #718179;
  letter-spacing: .5px;
  flex: 1;
  min-width: 150px
}

.filter-select select {
  margin-top: 5px;
  font-size: 12px
}

.saved-filter {
  padding: 11px 9px;
  border: 1px solid #dfe3dd;
  border-radius: 6px;
  background: #fff;
  color: #53675c;
  font-size: 11px;
  font-weight: 700;
  min-height: 44px
}

.saved-filter[aria-pressed="true"] {
  background: #fff2e2;
  border-color: #ddb681;
  color: #80501b
}

.results-notice {
  font-size: 11px;
  color: #758078;
  margin-bottom: 12px
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 13px
}

.office-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  box-shadow: var(--shadow);
  padding: 20px 22px
}

.office-top {
  display: flex;
  gap: 13px;
  align-items: flex-start
}

.office-icon {
  flex: 0 0 47px;
  height: 49px;
  background: #f2ede2;
  border-radius: 5px;
  border: 1px solid #e7d7c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 20px;
  color: #b87944
}

.office-main {
  min-width: 0;
  flex: 1
}

.office-main h3 {
  font-family: Georgia, serif;
  font-size: 21px;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin: 0
}

.place-name {
  font-size: 11px;
  color: #7b857e;
  margin-top: 7px
}

.distance-box {
  margin-left: 8px;
  text-align: right;
  flex: none
}

.distance-box strong {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  color: var(--pine)
}

.distance-box strong span {
  font-size: 12px
}

.distance-box small {
  display: block;
  margin-top: 5px;
  color: #85948c;
  font-size: 9px;
  letter-spacing: .4px
}

.distance-box.pending strong {
  font-size: 12px;
  font-family: inherit;
  font-weight: 600
}

.office-divider {
  height: 1px;
  background: #f1eee7;
  margin: 15px 0
}

.mark-list {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.mark-row {
  display: flex;
  gap: 9px;
  align-items: start
}

.mark-bullet {
  color: #b68452;
  margin-top: 2px;
  font-size: 12px
}

.mark-copy {
  min-width: 0;
  flex: 1
}

.mark-copy strong {
  font-size: 13px;
  font-weight: 650;
  display: block;
  line-height: 1.5
}

.mark-meta {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  color: #819089;
  margin-top: 3px
}

.mark-meta a {
  color: #846442;
  text-decoration: underline;
  text-underline-offset: 3px
}

.office-bottom {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 18px
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px
}

.soft-tag {
  font-size: 10px;
  color: #687c70;
  background: #edf2ed;
  border-radius: 4px;
  padding: 6px 8px;
  font-weight: 650
}

.soft-tag.gold {
  background: #fbf1e5;
  color: #9a6940
}

.office-actions {
  display: flex;
  gap: 7px
}

.office-actions a,
.office-actions button {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 5px;
  border: 1px solid #cddad2;
  border-radius: 5px;
  padding: 8px 10px;
  color: #244d40;
  background: white;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer
}

.office-actions a:hover,
.office-actions button:hover {
  background: #eff5f0
}

.office-actions a {
  background: var(--pine);
  color: white;
  border-color: var(--pine)
}

.office-actions a:hover {
  background: #2c534d
}

.office-actions button.favorited {
  color: #9a6027;
  border-color: #eccba0;
  background: #fff5e8
}

.bottom-note {
  font-size: 11px;
  line-height: 1.75;
  color: #7a847b;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px
}

.notice-card {
  background: var(--pine);
  color: white;
  border: 0;
  padding: 25px
}

.notice-card .section-label {
  color: #d7aa73
}

.notice-icon {
  font-size: 31px;
  color: #e0ae75;
  margin: 25px 0 7px
}

.sidebar h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin: 10px 0
}

.sidebar p {
  font-size: 12px;
  line-height: 1.8;
  color: #697870;
  margin-bottom: 0
}

.notice-card p {
  color: #c5d6cf
}

.latest-date {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 800;
  color: #ad7650;
  margin-top: 19px
}

.latest-card h3 {
  font-size: 21px
}

.latest-card a,
.admin-card a {
  display: inline-block;
  color: #a77039;
  text-decoration: none;
  font-size: 11px;
  margin-top: 15px;
  font-weight: 750
}

.tips-card ol {
  padding-left: 20px;
  margin: 16px 0 0
}

.tips-card li {
  font-size: 12px;
  color: #667970;
  line-height: 1.7;
  margin-bottom: 9px
}

.source-credit {
  padding: 5px 12px 10px;
  color: #849088;
  font-size: 9px;
  letter-spacing: .9px;
  line-height: 2
}

.source-credit a {
  font-size: 11px;
  color: #846442;
  text-decoration: none;
  letter-spacing: 0
}

.source-credit p {
  font-size: 10px;
  color: #949d96;
  line-height: 1.6;
  letter-spacing: 0
}

footer {
  background: #eae7de;
  border-top: 1px solid #dfd8cc
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 25px;
  padding-bottom: 25px;
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 800;
  color: #456057
}

.footer-small {
  font-weight: 500;
  color: #8a928a
}

.empty-state {
  border: 1px dashed #d3dbd3;
  border-radius: 9px;
  background: #fff;
  text-align: center;
  padding: 42px 24px
}

.empty-state .empty-icon {
  font-size: 31px;
  color: #bb8f66
}

.empty-state h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 10px
}

.empty-state p {
  font-size: 12px;
  color: #75857c;
  line-height: 1.7;
  max-width: 390px;
  margin: 10px auto
}

.empty-state button {
  margin-top: 10px
}

.notice-message {
  background: #f8efdf;
  color: #856542;
  padding: 9px 12px;
  border: 1px solid #ead8bd;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 10px
}

.notice-message.info {
  background: #edf5f1;
  color: #3e6957;
  border-color: #d5e9db
}

@media(max-width:1000px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) 290px
  }

  .postmark-outline {
    height: 245px;
    width: 245px
  }

  .stamp-lines {
    width: 170px;
    transform: translate(100px, 8px)
  }

  .main-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px
  }

  .metric {
    flex-direction: column;
    gap: 1px
  }

  .metric strong {
    line-height: 1.1
  }

  .data-metric {
    flex-direction: row
  }

  .location-controls {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, .9fr);
    gap: 12px
  }
}

@media(max-width:760px) {
  .shell {
    padding-left: 17px;
    padding-right: 17px
  }

  .topbar-right {
    gap: 0
  }

  .hero-content {
    display: block;
    min-height: auto
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    padding: 45px 0 48px
  }

  .hero h1 {
    font-size: 48px
  }

  .hero-copy>p {
    font-size: 13px
  }

  .hero-foot {
    margin-top: 22px
  }

  .postmark-art {
    position: absolute;
    right: -150px;
    top: 0;
    opacity: .23;
    pointer-events: none
  }

  .postmark-outline {
    height: 310px;
    width: 310px
  }

  .postmark-side-note {
    display: none
  }

  .workspace {
    padding-top: 19px
  }

  .location-section {
    padding: 21px 19px
  }

  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px
  }

  .section-top h2 {
    font-size: 26px
  }

  .privacy-tag {
    font-size: 10px
  }

  .location-controls {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 15px
  }

  .location-divider:before,
  .location-divider:after {
    width: 40px;
    height: 1px
  }

  .metrics-strip {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 10px;
    margin: 20px 0 29px
  }

  .metric {
    padding: 0 8px
  }

  .metric strong {
    font-size: 27px
  }

  .metric span {
    font-size: 8px;
    letter-spacing: .3px
  }

  .metric.data-metric {
    grid-column: 1/4;
    border-top: 1px solid #ddd1bd;
    margin-top: 14px;
    padding: 12px 7px 0
  }

  .main-layout {
    display: flex;
    flex-direction: column
  }

  .results-heading h2 {
    font-size: 29px
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .sidebar-card {
    padding: 17px
  }

  .notice-card {
    padding: 20px
  }

  .source-credit {
    grid-column: 1/-1
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px
  }
}

@media(max-width:480px) {
  .hero h1 {
    font-size: 43px
  }

  .hero-copy {
    padding-top: 36px
  }

  .metrics-strip {
    margin-bottom: 24px
  }

  .results-heading h2 {
    font-size: 27px
  }

  .results-heading .count-bubble {
    font-size: 11px
  }

  .filter-bottom {
    gap: 8px
  }

  .filter-select {
    min-width: calc(50% - 4px)
  }

  .saved-filter {
    width: 100%
  }

  .office-card {
    padding: 16px
  }

  .office-top {
    gap: 10px
  }

  .office-icon {
    width: 37px;
    flex-basis: 37px;
    height: 39px
  }

  .office-main h3 {
    font-size: 18px
  }

  .distance-box strong {
    font-size: 21px
  }

  .office-bottom {
    gap: 15px
  }

  .office-actions {
    width: 100%
  }

  .office-actions a,
  .office-actions button {
    flex: 1;
    justify-content: center
  }

  .sidebar {
    display: flex
  }

  .footer-inner {
    font-size: 9px
  }
}

/* =========================================
   NEW WEBSITE HEADER
========================================= */

.site-header {
  background: #ffffff;
  color: #193e3b;
  border-top: 3px solid #b8783c;
}

/* Centre website branding */

.masthead {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 24px;
}

.masthead-brand {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  color: #193e3b;
}

.masthead-brand span {
  color: #b8783c;
}

/* Subtitle */

.masthead-tagline {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #73837c;
  text-transform: uppercase;
}

/* =========================================
   NAVIGATION BAR
========================================= */

.site-nav {
  background: #ffffff;
  border-top: 1px solid #eeeeea;
  border-bottom: 1px solid #e5e5e0;
}

.site-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  min-height: 58px;
}

.site-nav-inner a {
  color: #243d38;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav-inner a:hover {
  color: #b8783c;
}

/* Link to main RDS website */

.site-nav-inner .nav-parent {
  color: #a66c35;
  font-weight: 650;
}

/* =========================================
   HERO BANNER ADJUSTMENTS
========================================= */

.hero-content {
  min-height: 355px;
}

.hero-copy {
  padding-top: 44px;
  padding-bottom: 44px;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.12;
}

.hero-copy>p {
  max-width: 570px;
  font-size: 14px;
  line-height: 1.9;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 760px) {

  .masthead {
    padding-top: 22px;
    padding-bottom: 20px;
  }

  .masthead-brand {
    font-size: 29px;
  }

  .masthead-tagline {
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.7;
  }

  .site-nav-inner {
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    min-height: 52px;
    scrollbar-width: none;
  }

  .site-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .site-nav-inner a {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    padding-top: 38px;
    padding-bottom: 40px;
  }

}

@media (max-width: 480px) {

  .masthead-brand {
    font-size: 27px;
  }

  .hero h1 {
    font-size: 35px;
  }

}