@font-face {
  font-family: "Varah";
  src: url("resources/font/Varah-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Varah";
  src: url("resources/font/Varah-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Varah";
  src: url("resources/font/Varah-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --samaritans-green: #00a174;
  --samaritans-lime: #88bd23;
  --samaritans-yellow: #ffd23f;
  --ink: #171717;
  --muted: #545454;
  --paper: #fffdf5;
  --white: #ffffff;
  --line: #d9e4d3;
  --follow-highlight: #179cf0;
  --call-panel-highlight: #ffffff;
  --number-highlight: #ffd23f;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 140px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(150px, 15vw, 190px) 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 253, 245, 0.94);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  width: min(240px, 54vw);
  flex: 0 1 240px;
}

.brand img {
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  color: var(--ink);
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 700;
}

.site-nav a {
  text-decoration-color: transparent;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="true"] {
  text-decoration-color: var(--samaritans-lime);
}

.follow-balloon-shell {
  position: fixed;
  top: 10px;
  right: clamp(12px, 3vw, 34px);
  z-index: 30;
  display: inline-flex;
  isolation: isolate;
}

.follow-balloon-shell::before,
.call-panel-shell::before,
.number-button-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.follow-balloon-shell::before {
  inset: -6px;
  background: var(--follow-highlight);
  border-radius: 12px;
}

.follow-balloon-shell:hover::before,
.follow-balloon-shell:focus-within::before {
  opacity: 1;
}

.follow-balloon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  min-height: 38px;
  padding: 7px 11px 7px 13px;
  background: var(--samaritans-yellow);
  color: var(--ink);
  border: 2px solid rgba(23, 23, 23, 0.12);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(23, 23, 23, 0.14);
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.follow-balloon:hover,
.follow-balloon:focus-visible {
  outline: none;
  box-shadow: none;
}

.follow-balloon__logo {
  display: block;
  width: 1.05em;
  height: 0.96em;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  transform: translateY(0.05em);
}

.hero {
  --hero-stripe: clamp(96px, 12vw, 210px);
  background:
    linear-gradient(115deg, rgba(0, 161, 116, 0.95), rgba(0, 161, 116, 0.78)),
    linear-gradient(90deg, var(--samaritans-lime) 0 var(--hero-stripe), transparent var(--hero-stripe));
  color: var(--white);
}

.hero__inner {
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(44px, 8vw, 92px) 0;
}

.hero__copy {
  max-width: 700px;
  padding-left: clamp(18px, 3vw, 42px);
}

.eyebrow {
  margin: 0 0 12px;
  color: inherit;
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 5.5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.6rem;
}

.fit-lines {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.fit-lines .line {
  display: block;
  white-space: nowrap;
}

.mobile-break {
  display: none;
}

.lead {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: clamp(1.12rem, 1.9vw, 1.45rem);
  line-height: 1.42;
}

.call-panel-shell {
  position: relative;
  width: 100%;
  max-width: 250px;
  justify-self: end;
  isolation: isolate;
}

.call-panel-shell::before {
  inset: -8px;
  background: var(--call-panel-highlight);
  border-radius: 14px;
}

.call-panel-shell:hover::before,
.call-panel-shell:focus-within::before {
  opacity: 1;
}

.call-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(13px, 2vw, 18px);
  background: var(--yellow-fallback, #ffd23f);
  background: var(--samaritans-yellow);
  color: var(--ink);
  font-family: "Varah", Arial, Helvetica, sans-serif;
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(23, 23, 23, 0.18);
}

.call-panel-shell:hover .call-panel,
.call-panel-shell:focus-within .call-panel {
  box-shadow: none;
}

.call-panel * {
  font-family: "Varah", Arial, Helvetica, sans-serif;
}

.call-panel__label {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  font-weight: 700;
  line-height: 1;
}

.call-panel__number {
  display: inline-block;
  color: var(--ink);
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-size: clamp(2.75rem, 4.2vw, 3.7rem);
  font-weight: 700;
  line-height: 0.95;
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

.call-panel p {
  margin: 14px 0 0;
  font-size: clamp(0.92rem, 1.25vw, 1.02rem);
  font-weight: 700;
  line-height: 1.16;
}

.call-panel__details span {
  display: block;
}

.intro-band,
.content-section,
.service-band,
.volunteer-section,
.shop-section,
.contact-section,
.closing-cta {
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.section-grid,
.listening-layout,
.content-section > *,
.service-band > *,
.volunteer-section > *,
.shop-section > *,
.contact-section > *,
.closing-cta,
.site-footer {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.hero__inner > *,
.section-grid > *,
.listening-layout > *,
.branch-layout > *,
.branch-summary > *,
.volunteer-grid > *,
.shop-layout > *,
.closing-cta > * {
  min-width: 0;
}

.intro-band {
  background: var(--white);
}

.listening-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.listening-media {
  width: 100%;
  max-width: 293px;
  margin: 0;
  justify-self: center;
}

.listening-media img {
  width: 100%;
  height: auto;
}

.listening-copy {
  display: grid;
  gap: 22px;
}

.intro-band .eyebrow,
.content-section .eyebrow,
.service-band .eyebrow,
.volunteer-section .eyebrow {
  color: var(--samaritans-green);
}

.intro-band p:not(.eyebrow),
.prose p,
.service-grid p,
.volunteer-grid p,
.shop-copy p:not(.eyebrow),
.shop-copy address {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.service-band > .section-heading,
.volunteer-section > .section-heading,
.contact-section > .section-heading {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.service-band > .section-heading h2,
.volunteer-section > .section-heading h2,
.contact-section > .section-heading h2 {
  text-align: center;
}

.branch-layout {
  display: grid;
  gap: clamp(34px, 6vw, 68px);
}

.branch-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.branch-copy {
  display: grid;
  gap: clamp(24px, 4vw, 34px);
}

.branch-copy .section-heading {
  max-width: none;
  margin-bottom: 0;
}

.prose {
  display: grid;
  gap: 22px;
}

.prose a {
  color: var(--samaritans-green);
  font-weight: 700;
  text-underline-offset: 5px;
}

.branch-illustration {
  width: 100%;
  max-width: 560px;
  margin: 0;
  align-self: center;
  justify-self: end;
}

.branch-illustration img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-band {
  background: var(--paper);
  color: var(--ink);
}

.service-band .eyebrow {
  color: var(--samaritans-green);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.service-grid p {
  margin-top: 18px;
  color: var(--muted);
}

.section-link {
  display: grid;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: clamp(22px, 4vw, 36px) auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.section-link p {
  margin: 0;
}

.section-link a {
  color: var(--samaritans-green);
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-underline-offset: 5px;
}

.volunteer-grid a {
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  line-height: 1.05;
}

.volunteer-grid a:focus-visible {
  outline: 4px solid var(--samaritans-yellow);
  outline-offset: 4px;
}

.volunteer-section {
  background: var(--paper);
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.volunteer-grid article {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
}

.volunteer-grid a {
  align-self: end;
  color: var(--samaritans-green);
  font-weight: 700;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.volunteer-grid article > a:last-child {
  align-self: flex-start;
  margin-top: auto;
}

.donate-copy__line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.24em;
  white-space: nowrap;
  vertical-align: baseline;
}

.donate-copy__line > span {
  flex: 0 0 auto;
}

.inline-jg-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  padding: 0;
  border-radius: 3px;
  vertical-align: -0.04em;
}

.volunteer-grid .inline-jg-link {
  font-size: 1em;
  line-height: 1;
  overflow-wrap: normal;
  text-decoration: none;
}

.inline-jg-link img {
  display: block;
  width: auto;
  height: 1.034em;
  transform: translateY(-4px);
}

.shop-copy p a {
  color: var(--samaritans-green);
  font-weight: 700;
  text-underline-offset: 5px;
}

.shop-section {
  background: var(--paper);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.shop-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.shop-copy {
  display: grid;
  gap: 20px;
}

.shop-copy .eyebrow {
  color: var(--samaritans-green);
  margin-bottom: -6px;
}

.shop-copy address {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

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

.contact-section + .closing-cta {
  border-top: 0;
}

.contact-section .section-heading {
  max-width: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-grid article {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 320px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--white);
}

.contact-grid h3 {
  color: var(--samaritans-green);
  font-size: 1.34rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.contact-grid p,
.contact-grid address {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.contact-grid address {
  display: grid;
  gap: 2px;
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.contact-grid address strong {
  margin-bottom: 2px;
}

.contact-grid a {
  color: var(--samaritans-green);
  font-weight: 700;
  text-underline-offset: 5px;
}

.closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--paper);
}

.closing-cta .eyebrow {
  color: var(--samaritans-green);
}

.closing-cta h2 {
  max-width: 780px;
}

.number-button-shell {
  position: relative;
  display: inline-flex;
  justify-self: end;
  isolation: isolate;
}

.number-button-shell::before {
  inset: -6px;
  background: var(--number-highlight);
  border-radius: 12px;
}

.number-button-shell:hover::before,
.number-button-shell:focus-within::before {
  opacity: 1;
}

.number-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: var(--samaritans-green);
  color: var(--white);
  border-radius: 8px;
  /* Varah call-button trial: remove this font-family line to return this bottom CTA to the body font. The hero call panel is already Varah via .call-panel. */
  font-family: "Varah", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(23, 23, 23, 0.14);
}

.number-button-shell:hover .number-button,
.number-button-shell:focus-within .number-button {
  background: var(--samaritans-green);
  outline: none;
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 48px) 44px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--samaritans-green);
  font-weight: 700;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  [id] {
    scroll-margin-top: 24px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px 14px;
  }

  .brand {
    width: min(190px, 50vw);
    flex-basis: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
    font-size: clamp(0.64rem, 2.6vw, 0.86rem);
    white-space: nowrap;
  }

  .hero__inner,
  .section-grid,
  .listening-layout,
  .branch-summary,
  .shop-layout,
  .volunteer-grid,
  .contact-grid,
  .closing-cta {
    grid-template-columns: 1fr;
  }

  .branch-illustration {
    max-width: 560px;
    justify-self: center;
  }

  .mobile-break {
    display: initial;
  }

  .service-band > .section-heading h2,
  .volunteer-section > .section-heading h2,
  .contact-section > .section-heading h2 {
    text-align: left;
  }

  .listening-media {
    max-width: 240px;
    justify-self: center;
  }

  .hero__inner {
    min-height: auto;
  }

  .hero {
    --hero-stripe: 0px;
  }

  .hero__copy {
    padding-left: 0;
  }

  h1 {
    max-width: 9ch;
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  .intro-band,
  .content-section,
  .service-band,
  .volunteer-section,
  .shop-section,
  .contact-section,
  .closing-cta {
    padding-block: clamp(42px, 10vw, 72px);
  }

  .call-panel-shell {
    max-width: 224px;
    justify-self: end;
  }

  .call-panel {
    padding: 13px 14px;
    box-shadow: 7px 7px 0 rgba(23, 23, 23, 0.18);
  }

  .call-panel p {
    margin-top: 16px;
  }

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

  .service-grid article {
    min-height: auto;
  }

  .volunteer-grid article {
    min-height: auto;
  }

  .contact-grid article {
    min-height: auto;
  }

  .follow-balloon-shell {
    position: absolute;
    top: 8px;
    right: 10px;
  }

  .follow-balloon {
    min-height: 38px;
    padding: 6px 9px 6px 11px;
    font-size: 0.76rem;
    box-shadow: 4px 4px 0 rgba(23, 23, 23, 0.14);
  }

  .follow-balloon__logo {
    width: 1.05em;
    height: 0.96em;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 10px;
  }

  .brand {
    width: min(168px, 46vw);
  }

  .site-nav {
    font-size: clamp(0.6rem, 3vw, 0.78rem);
  }

  .hero__inner {
    width: min(var(--max), calc(100% - 28px));
    padding-top: 36px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .call-panel__number {
    font-size: clamp(2.65rem, 14vw, 3.45rem);
  }
}
