:root {
  --paper: #f8fcfc;
  --paper-light: #ffffff;
  --ink: #047d8a;
  --red: #d83e86;
  --red-dark: #a52362;
  --mustard: #2ed9cf;
  --rule: rgba(4, 125, 138, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(46, 217, 207, 0.28), transparent 26rem),
    radial-gradient(circle at 88% 72%, rgba(235, 126, 173, 0.16), transparent 30rem),
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0 31%, rgba(204, 250, 247, 0.8) 31.3%, rgba(255, 255, 255, 0.96) 49%, rgba(249, 225, 238, 0.5) 66%, rgba(255, 255, 255, 0.98) 83%);
  background-attachment: fixed;
  font-family: "DM Sans", Arial, sans-serif;
}

a {
  color: inherit;
}

.masthead,
main,
footer {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 3px double var(--ink);
}

.wordmark {
  width: max-content;
  color: var(--ink);
  font-family: "Public Sans", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  text-decoration: none;
}

.wordmark span {
  color: var(--red);
}

.masthead > p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 34px);
}

nav a {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.front-page {
  padding-top: 15px;
  border-bottom: 1px solid var(--ink);
}

.edition-line {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.65fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: center;
  padding: clamp(62px, 8vw, 118px) 0;
}

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

.kicker {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Lobster", "Brush Script MT", cursive;
  font-weight: 400;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(4rem, 7.4vw, 7.8rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.standfirst {
  max-width: 780px;
  margin: 38px 0 0;
  padding-left: 22px;
  border-left: 6px solid var(--red);
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  line-height: 1.55;
}

.hand-bill {
  position: relative;
  z-index: 1;
  transform: rotate(2deg);
  padding: 18px;
  background: linear-gradient(145deg, #f28db7 0%, var(--red) 100%);
  color: var(--paper-light);
  box-shadow: 11px 11px 0 var(--ink);
}

.hand-bill::before {
  content: "HELPING HANDS / COLUMBIA";
  position: absolute;
  top: 9px;
  left: 10px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hand-scene {
  position: relative;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(248, 241, 228, 0.7);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.2), transparent 8rem),
    #d83e86;
}

.glove-mark {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hand-bill > p {
  margin: 18px 4px 2px;
  font-size: 0.96rem;
  line-height: 1.45;
}

.hand-bill strong {
  display: block;
  font-family: "Public Sans", Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.quick-contact {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.quick-contact a {
  width: max-content;
  text-underline-offset: 4px;
}

.care-desk {
  padding: clamp(78px, 10vw, 140px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.25fr 0.7fr;
  gap: 35px;
  align-items: end;
  padding-bottom: 48px;
  border-bottom: 3px solid var(--ink);
}

.section-intro .kicker {
  margin: 0;
}

.section-intro h2,
.contact-sheet h2 {
  margin: 0;
  font-size: clamp(3.5rem, 6.7vw, 6.9rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.section-intro > p:last-child {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
}

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

.service {
  padding: clamp(35px, 5vw, 70px);
  border-bottom: 1px solid var(--ink);
}

.service:first-child {
  padding-left: 0;
  border-right: 1px solid var(--ink);
}

.service:last-child {
  padding-right: 0;
}

.service-heading {
  min-height: 210px;
  display: grid;
  align-items: end;
}

.service h3 {
  margin: 0;
  font-size: clamp(4.2rem, 7.2vw, 7.4rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.home-service h3 {
  color: var(--red);
}

.service-lede {
  max-width: 540px;
  min-height: 105px;
  margin: 34px 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.service li {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9rem;
}

.service li span {
  color: rgba(24, 59, 46, 0.76);
}

.text-link {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding: 15px 0 12px;
  border-bottom: 4px solid currentColor;
  font-family: "Public Sans", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.notes {
  display: grid;
  grid-template-columns: 75px repeat(3, 1fr);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}

.vertical-label {
  margin: 0;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(248, 241, 228, 0.4);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.note {
  min-height: 290px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(248, 241, 228, 0.4);
}

.note:last-child {
  border: 0;
}

.note span {
  color: var(--mustard);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.note p {
  margin: 0;
  font-family: "Public Sans", Arial, sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.contact-sheet {
  padding: clamp(85px, 12vw, 160px) 0 45px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(45px, 9vw, 130px);
  align-items: end;
}

.contact-copy > p {
  margin: 0 0 30px;
  line-height: 1.6;
}

.contact-action {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  font-family: "Public Sans", Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.contact-action:last-child {
  border-bottom: 1px solid var(--ink);
}

.contact-action:hover,
.text-link:hover {
  color: var(--red);
}

.disclaimer {
  max-width: 880px;
  margin: 72px 0 0 auto;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.75rem;
  line-height: 1.55;
}

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 3px double var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  .masthead {
    grid-template-columns: 1fr auto;
  }

  .masthead > p {
    display: none;
  }

  .hero-grid,
  .section-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
  }

  .hand-bill {
    width: min(460px, calc(100% - 12px));
    justify-self: center;
  }

  .section-intro {
    gap: 22px;
  }

  .equal-services {
    grid-template-columns: 1fr;
  }

  .service:first-child {
    padding-right: 0;
    border-right: 0;
  }

  .service:last-child {
    padding-left: 0;
  }

  .service-heading,
  .service-lede {
    min-height: 0;
  }

  .notes {
    grid-template-columns: 55px 1fr;
  }

  .note {
    min-height: 210px;
    grid-column: 2;
    border-right: 0;
    border-bottom: 1px solid rgba(248, 241, 228, 0.4);
  }

  .note:last-child {
    border-bottom: 0;
  }

  .vertical-label {
    grid-row: 1 / 4;
  }
}

@media (max-width: 620px) {
  .masthead,
  main,
  footer {
    width: min(100% - 28px, 1320px);
  }

  .masthead {
    padding: 18px 0 14px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  nav {
    justify-content: space-between;
  }

  .edition-line span:last-child {
    display: none;
  }

  .hero-grid {
    padding: 60px 0 76px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 5.15rem);
  }

  .standfirst {
    margin-top: 30px;
  }

  .quick-contact {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .service h3 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .service li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .notes {
    grid-template-columns: 42px 1fr;
  }

  .note {
    padding: 25px 22px;
  }

  .contact-sheet {
    padding-top: 90px;
  }

  .contact-action {
    overflow-wrap: anywhere;
  }

  .disclaimer {
    margin-top: 55px;
  }

  footer {
    padding: 25px 0;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .contact-action,
  .text-link {
    transition: color 150ms ease;
  }
}
