:root {
  --ink: #111315;
  --copy: #45474a;
  --muted: #717171;
  --paper: #ffffff;
  --soft: #f7f5f2;
  --sand: #eee9e2;
  --line: #e6ded5;
  --gold: #b77a3b;
  --gold-light: #d9aa74;
  --night: #101314;
  --shadow: 0 18px 40px rgba(32, 29, 26, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 312px;
}

.brand-mark svg {
  width: 36px;
  height: 54px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand span:last-child {
  display: grid;
  gap: 7px;
  text-transform: uppercase;
}

.brand strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3.2px;
}

.brand small {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 5px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 52px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .is-active::after {
  transform: scaleX(1);
}

.donate-link {
  display: inline-grid;
  place-items: center;
  min-width: 116px;
  min-height: 48px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: #9b642f;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 82px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: #9b642f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
}

.language-switch svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-language-switch {
  display: none;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(32px, 1fr) minmax(430px, 560px) minmax(360px, 600px) minmax(32px, 1fr);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f7f4ef;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 35%, rgba(255, 255, 255, 0.73) 54%, rgba(255, 255, 255, 0.2) 74%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.84));
}

.hero::after {
  content: "";
  position: absolute;
  left: max(calc((100vw - 1160px) / 2), 76px);
  bottom: 54px;
  z-index: 2;
  width: 82px;
  height: 2px;
  background: var(--gold);
}

.hero-copy {
  grid-column: 2;
  margin-left: 34px;
  padding-top: 98px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 60px;
  line-height: 1.04;
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

p {
  color: var(--copy);
  font-size: 16px;
  line-height: 1.72;
}

.hero-copy p:not(.eyebrow) {
  max-width: 438px;
  margin-bottom: 30px;
  color: #3d3f41;
  font-size: 17px;
  line-height: 1.68;
}

.button {
  display: inline-grid;
  place-items: center;
  min-width: 168px;
  min-height: 48px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.button-dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.92) contrast(1.03);
}

.section {
  padding: 70px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 44px;
}

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

.section-intro {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.65;
}

.services {
  background: var(--paper);
  padding-top: 42px;
  padding-bottom: 46px;
}

.service-grid {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  min-width: 0;
  min-height: 276px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 30px;
  border: 1px solid #ece8e3;
  border-radius: 2px;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid #e4d6c7;
  border-radius: 3px;
  background: #fff;
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rule {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold-light);
}

.service-card p {
  margin-bottom: 0;
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) 150px minmax(250px, 340px) minmax(280px, 420px) minmax(40px, 1fr);
  gap: 52px;
  align-items: center;
  padding-top: 54px;
  background: var(--soft);
}

.mission-symbol {
  grid-column: 2;
}

.mission-symbol svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.52;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mission-band > div:nth-child(2) {
  grid-column: 3;
}

.mission-band .eyebrow {
  margin-bottom: 14px;
}

.mission-band h2 {
  font-size: 36px;
  line-height: 1.32;
}

.mission-text {
  grid-column: 4;
}

.mission-text p {
  margin-bottom: 12px;
}

.mission-text p:last-child {
  margin-bottom: 0;
}

.process {
  background: #fff;
  padding-top: 76px;
  padding-bottom: 82px;
}

.steps {
  width: min(1080px, calc(100% - 64px));
  margin: 26px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  text-align: center;
}

.steps li {
  position: relative;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  left: calc(50% + 56px);
  width: calc(100% - 80px);
  height: 1px;
  background: #d9aa74;
}

.steps span {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--gold);
  font-weight: 700;
  background: #f2eeea;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.steps p {
  margin: 0 auto;
  max-width: 210px;
  font-size: 14px;
  line-height: 1.65;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(250px, 360px) minmax(250px, 300px) minmax(320px, 420px) minmax(48px, 1fr);
  gap: 48px;
  align-items: start;
  padding: 68px 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at -6% 50%, rgba(183, 122, 59, 0.25), transparent 18%),
    radial-gradient(circle at 104% 28%, rgba(183, 122, 59, 0.2), transparent 20%),
    linear-gradient(135deg, #111617, #0c0f10);
}

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(183, 122, 59, 0.42);
  border-radius: 50%;
}

.contact::before {
  left: -120px;
}

.contact::after {
  right: -130px;
}

.contact-intro {
  grid-column: 2;
}

.contact h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.contact p {
  color: #fff;
}

.contact-details {
  grid-column: 3;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
}

.contact-note .eyebrow {
  margin-bottom: 14px;
  color: var(--gold-light);
}

.contact-note h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.contact-note p:not(.eyebrow) {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.65;
}

.contact-form {
  grid-column: 4;
  display: grid;
  gap: 12px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  padding: 11px 12px;
  border: 1px solid rgba(227, 181, 116, 0.45);
  border-radius: 4px;
  color: #f1e6d9;
  font-size: 14px;
  line-height: 1.45;
  background: rgba(227, 181, 116, 0.08);
}

.form-status.is-sent {
  border-color: rgba(174, 203, 173, 0.5);
  color: #edf6ec;
  background: rgba(104, 146, 103, 0.2);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #eadfd5;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  text-transform: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form button {
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 4px;
  color: #191512;
  background: linear-gradient(180deg, #e4b574, #d59b57);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    gap: 26px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    grid-template-columns: 32px minmax(300px, 500px) minmax(32px, 1fr);
  }

  .hero-copy {
    margin-left: 0;
  }

  .service-icon {
    width: 62px;
    height: 62px;
  }

  .mission-band,
  .contact {
    grid-template-columns: 32px 1fr 1fr 32px;
  }

  .mission-symbol {
    display: none;
  }

  .mission-band > div:nth-child(2) {
    grid-column: 2;
  }

  .mission-text {
    grid-column: 3;
  }

  .contact-intro {
    grid-column: 2;
  }

  .contact-details {
    grid-column: 3;
  }

  .contact-form {
    grid-column: 2 / 4;
  }
}

@media (max-width: 760px) {
  main,
  .services,
  .mission-band,
  .process,
  .contact {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    position: relative;
    width: min(100% - 32px, 520px);
    column-gap: 12px;
    row-gap: 14px;
    padding: 20px 0 10px;
  }

  .brand {
    grid-column: 1 / -1;
    gap: 10px;
  }

  .brand-mark svg {
    width: 32px;
    height: 48px;
  }

  .brand strong {
    font-size: 13px;
    letter-spacing: 1.8px;
  }

  .brand small {
    font-size: 10px;
    letter-spacing: 2.4px;
  }

  .donate-link {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .language-switch {
    min-width: 72px;
    min-height: 42px;
    gap: 5px;
    padding: 0 9px;
  }

  .site-nav {
    grid-column: 1;
    grid-row: 2;
    width: auto;
  }

  .language-switch svg {
    width: 18px;
    height: 18px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 12px;
  }

  .site-nav .mobile-language-switch {
    display: inline-flex;
    min-width: 64px;
    min-height: 34px;
    padding: 0 8px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    background: #f7f4ef;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 46%, rgba(255, 255, 255, 0.18) 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    grid-column: 1;
    margin-left: 0;
    padding: 42px 24px 34px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 31ch;
    font-size: 17px;
  }

  .hero-art {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .services,
  .process {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .services {
    padding-top: 38px;
    padding-bottom: 44px;
  }

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

  .section-intro {
    width: calc(100% - 32px);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-grid,
  .steps {
    width: calc(100% - 32px);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .service-card {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
  }

  .service-card > div {
    min-width: 0;
  }

  .mission-band {
    grid-template-columns: 24px 1fr 24px;
    gap: 24px;
    padding-top: 46px;
  }

  .mission-band > div:nth-child(2),
  .mission-text {
    grid-column: 2;
    min-width: 0;
  }

  .section-intro,
  .service-card p,
  .mission-text p {
    overflow-wrap: anywhere;
  }

  .steps li:not(:last-child)::after {
    display: none;
  }

  .contact {
    grid-template-columns: 24px 1fr 24px;
    gap: 26px;
    padding: 54px 0;
  }

  .contact-intro,
  .contact-details,
  .contact-form {
    grid-column: 2;
  }

  .contact-details {
    padding-left: 0;
    border-left: 0;
  }
}
