:root {
  color-scheme: light;
  background: #f6f5eb;
  color: #17241a;
  font-family: system-ui, sans-serif;
}

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

body {
  margin: 0;
}

.landing {
  --gutter: clamp(1.25rem, 3vw, 3rem);
  display: grid;
  grid-template-areas: "brand image" "message image";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  max-width: 120rem;
  margin-inline: auto;
  padding: var(--gutter);
  column-gap: var(--gutter);
}

.brand, .message {
  padding-inline-start: clamp(0rem, 3vw, 3.5rem);
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block-start: 0.5rem;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 1.5rem;
  aspect-ratio: 1;
  background: #386236;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.message {
  grid-area: message;
  align-self: center;
  padding-block: 3rem 4rem;
}

h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(4.5rem, 9.4vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -0.078em;
  line-height: 0.83;
}

h1 em {
  color: #386236;
  font-weight: inherit;
}

.message p {
  max-width: 31ch;
  margin: 2rem 0 0;
  color: #434d40;
  font-size: clamp(1rem, 1.4vw, 1.19rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.message .persian {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid #bec6b6;
  font-size: 0.95rem;
}

.hero {
  grid-area: image;
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #102015;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 720px) {
  .landing {
    grid-template-areas: "brand" "message" "image";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .brand, .message {
    padding-inline-start: 0.25rem;
  }

  .brand {
    padding-block-start: 0.25rem;
  }

  .message {
    padding-block: 3.25rem 2rem;
  }

  h1 {
    font-size: clamp(3.75rem, 15vw, 6.25rem);
  }

  .message p {
    margin-top: 1.5rem;
  }

  .message .persian {
    margin-top: 1rem;
  }

  .hero {
    aspect-ratio: 1.1;
  }
}
