:root {
  --page-background: #f7f1e8;
  --page-background-deep: #eadbc8;
  --page-background-wash: #fdf9f3;
  --text-primary: #221a12;
  --text-secondary: rgba(34, 26, 18, 0.7);
  --text-muted: rgba(34, 26, 18, 0.48);
  --stroke-soft: rgba(34, 26, 18, 0.08);
  --accent-gold: rgba(137, 199, 92, 0.82);
  --accent-green: rgba(137, 199, 92, 0.28);
  --glow-warm: rgba(183, 147, 88, 0.18);
  --glow-cool: rgba(109, 127, 111, 0.08);
  --shadow-soft: 0 32px 80px rgba(49, 35, 20, 0.1);
  --image-wash: rgba(247, 241, 232, 0.9);
  --image-wash-deep: rgba(253, 249, 243, 0.84);
  --space-shell: clamp(1rem, 2.8vw, 2.4rem);
  --space-hero-padding: clamp(1.25rem, 3.5vh, 2.5rem);
  --space-hero-stack: clamp(1.2rem, 2.5vh, 2.2rem);
  --space-content-stack: clamp(0.8rem, 1.6vh, 1.15rem);
  --space-section-break: clamp(1rem, 2.4vh, 1.7rem);
  --space-contact-gap: clamp(0.65rem, 1.2vh, 0.95rem);
  --hero-max-width: 40rem;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--text-primary);
  font-family: "Manrope", "Segoe UI Variable Text", "Aptos", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.78), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(183, 147, 88, 0.09), transparent 24%),
    radial-gradient(circle at bottom right, rgba(183, 147, 88, 0.1), transparent 28%),
    linear-gradient(145deg, var(--page-background-wash) 0%, var(--page-background) 48%, var(--page-background-deep) 100%);
}

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

.page-shell {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: var(--space-shell);
}

.background-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.background-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(247, 241, 232, 0.42), rgba(253, 249, 243, 0.3)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 52%);
}

.background-image__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.42;
  filter: blur(8px) saturate(0.9) contrast(0.92);
  transform: scale(1.03);
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--hero-max-width);
  height: min(42rem, calc(100dvh - (var(--space-shell) * 2)));
  max-height: calc(100dvh - (var(--space-shell) * 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-hero-stack);
  padding-block: calc(var(--space-hero-padding) * 0.2) calc(var(--space-hero-padding) * 1.7);
  padding-inline: clamp(1.2rem, 3vw, 2.6rem);
  margin-inline: auto;
  text-align: center;
}

.hero__logo {
  width: min(11.6rem, 38vw);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(78, 58, 31, 0.11));
  transform: translateY(-2.50rem);
}

.hero__content {
  width: min(100%, 33rem);
  max-width: 33rem;
  min-height: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-content-stack);
  margin-inline: auto;
  text-align: center;
}

.hero__main-message {
  margin: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 5.05vw, 4.1rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-wrap: balance;
  transform: translateY(-5rem);
}

.hero__main-message-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  margin-inline: auto;
}

.hero__supporting-line {
  margin: 0;
  max-width: 72ch;
  color: var(--text-secondary);
  font-size: clamp(0.94rem, 1.4vw, 1.06rem);
  font-weight: 400;
  line-height: 1.46;
  letter-spacing: 0.012em;
  text-wrap: balance;
  margin-inline: auto;
  text-align: center;
  transform: translateY(-4.4rem);
  margin-bottom: -5.05rem;
}

.hero__supporting-line p {
  margin: 0;
  text-align: center;
}

.hero__supporting-line-break {
  display: block;
  width: fit-content;
  margin-inline: auto;
  white-space: nowrap;
}

.hero__supporting-line p + p {
  margin-top: 0.62rem;
}

.hero__brand-highlight {
  color: rgb(137, 199, 92);
  font-weight: 600;
}

.hero__supporting-line p:nth-of-type(3) {
  margin-top: 1.2rem;
}

.hero__supporting-line p:nth-of-type(3)::before {
  content: "";
  display: block;
  width: min(8rem, 32vw);
  height: 1px;
  margin: 0 auto 0.95rem;
  background: linear-gradient(
    90deg,
    rgba(137, 199, 92, 0),
    rgba(137, 199, 92, 0.38) 18%,
    var(--accent-gold) 48%,
    var(--accent-green) 72%,
    rgba(137, 199, 92, 0)
  );
}

.hero__contact {
  margin: var(--space-section-break) 0 0;
  width: min(100%, 28rem);
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-contact-gap);
  font-style: normal;
  margin-inline: auto;
  text-align: center;
  transform: translateY(0.65rem);
}

.hero__contact::before {
  display: none;
}

.hero__contact-row {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.38rem;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.hero__contact-row::after {
  content: "";
  display: block;
  width: min(8rem, 32vw);
  height: 1px;
  margin: 0.78rem auto 0;
  background: linear-gradient(
    90deg,
    rgba(137, 199, 92, 0),
    rgba(137, 199, 92, 0.38) 18%,
    var(--accent-gold) 48%,
    var(--accent-green) 72%,
    rgba(137, 199, 92, 0)
  );
}

.hero__contact-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__contact-link {
  color: var(--text-primary);
  font-size: clamp(0.96rem, 1.7vw, 1.04rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 26, 18, 0.12);
  padding-bottom: 0.08rem;
}

.hero__contact-link:focus-visible {
  color: rgba(34, 26, 18, 0.82);
  border-color: rgba(183, 147, 88, 0.46);
}

.hero__contact-link--email,
.hero__contact-link--phone {
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero__contact-link--email:hover,
.hero__contact-link--email:focus-visible,
.hero__contact-link--phone:hover,
.hero__contact-link--phone:focus-visible {
  color: rgba(34, 26, 18, 0.82);
  border-color: rgba(183, 147, 88, 0.46);
  transform: translateY(-1px);
}

.hero__powered-by {
  position: fixed;
  left: 50%;
  bottom: clamp(1.1rem, 3vh, 2rem);
  z-index: 2;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  transform: translateX(-50%);
}

.hero__powered-by-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 147, 88, 0.16);
  padding-bottom: 0.08rem;
}

.hero__powered-by-link--interactive {
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero__powered-by-link--interactive:hover,
.hero__powered-by-link--interactive:focus-visible {
  color: rgba(34, 26, 18, 0.82);
  border-color: rgba(183, 147, 88, 0.46);
  transform: translateY(-1px);
}

.background-glow {
  display: none;
}

.background-glow--upper {
  top: 8%;
  left: 12%;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  background: radial-gradient(circle, var(--glow-warm) 0%, rgba(182, 148, 99, 0) 72%);
}

.background-glow--lower {
  right: 10%;
  bottom: 7%;
  width: min(24rem, 48vw);
  height: min(24rem, 48vw);
  background: radial-gradient(circle, var(--glow-cool) 0%, rgba(113, 129, 129, 0) 70%);
}

.background-grid {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__contact-link--email,
  .hero__contact-link--phone,
  .hero__powered-by-link--interactive {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1023px) {
  .background-image__img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
  }
}

@media (min-width: 641px) {
  .hero__supporting-line p:nth-of-type(3)::after {
    content: "";
    display: block;
    width: min(8rem, 32vw);
    height: 1px;
    margin: 1.05rem auto 0;
    background: linear-gradient(
      90deg,
      rgba(137, 199, 92, 0),
      rgba(137, 199, 92, 0.38) 18%,
      var(--accent-gold) 48%,
      var(--accent-green) 72%,
      rgba(137, 199, 92, 0)
    );
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0.85rem;
  }

  .background-image__img {
    opacity: 0.36;
    filter: blur(7px) saturate(0.9) contrast(0.92);
  }

  .hero {
    max-width: 30rem;
    height: calc(100dvh - 1.7rem);
    max-height: calc(100dvh - 1.7rem);
    gap: 1.1rem;
    padding: 0.25rem 0.95rem 1.6rem;
  }

  .hero__logo {
    width: min(7.9rem, 31vw);
    transform: translateY(-5.7rem);
  }

  .hero__content {
    max-width: 100%;
    gap: 0.72rem;
  }

  .hero__main-message {
    max-width: none;
    font-size: clamp(2.15rem, 8.7vw, 3rem);
    line-height: 0.98;
    transform: translateY(-6.25rem);
  }

  .hero__supporting-line {
    max-width: 39ch;
    font-size: 0.9rem;
    line-height: 1.46;
    transform: translateY(-5.35rem);
    margin-bottom: -6.55rem;
  }

  .hero__supporting-line-break {
    display: inline;
    white-space: normal;
  }

  .hero__supporting-line p + p {
    margin-top: 0.54rem;
  }

  .hero__supporting-line p:nth-of-type(3) {
    margin-top: 1.15rem;
  }

  .hero__supporting-line p:nth-of-type(3)::before {
    content: "";
    display: block;
    width: min(5.75rem, 30vw);
    height: 1px;
    margin: 0 auto 0.86rem;
    background: linear-gradient(
      90deg,
      rgba(137, 199, 92, 0),
      rgba(137, 199, 92, 0.38) 18%,
      var(--accent-gold) 48%,
      var(--accent-green) 72%,
      rgba(137, 199, 92, 0)
    );
  }

  .hero__supporting-line::after {
    content: "";
    display: block;
    width: min(5.75rem, 30vw);
    height: 1px;
    margin: 1.05rem auto 0;
    background: linear-gradient(
      90deg,
      rgba(137, 199, 92, 0),
      rgba(137, 199, 92, 0.38) 18%,
      var(--accent-gold) 48%,
      var(--accent-green) 72%,
      rgba(137, 199, 92, 0)
    );
  }

  .hero__contact {
    max-width: 100%;
    margin-top: 0.9rem;
    gap: 0.65rem;
    transform: translateY(3.75rem);
  }

  .hero__contact::before {
    display: none;
  }

  .hero__contact-row {
    gap: 0.24rem;
  }

  .hero__contact-row::after {
    content: "";
    display: block;
    width: min(5.75rem, 30vw);
    height: 1px;
    margin: 0.72rem auto 0;
    background: linear-gradient(
      90deg,
      rgba(137, 199, 92, 0),
      rgba(137, 199, 92, 0.38) 18%,
      var(--accent-gold) 48%,
      var(--accent-green) 72%,
      rgba(137, 199, 92, 0)
    );
  }

  .hero__contact-label {
    font-size: 0.68rem;
  }

  .hero__contact-link {
    font-size: 0.9rem;
  }

  .hero__powered-by {
    bottom: 0.8rem;
    font-size: 0.64rem;
  }

}

@media (min-width: 1024px) {
  .page-shell {
    padding-inline: clamp(2.5rem, 5vw, 5rem);
  }

  .hero {
    height: min(43rem, calc(100dvh - (var(--space-shell) * 2)));
    max-height: calc(100dvh - (var(--space-shell) * 2));
    padding-block: clamp(0.5rem, 1.2vh, 0.95rem) clamp(2.8rem, 5.9vh, 4.6rem);
    padding-inline: clamp(3rem, 6vw, 5.5rem);
  }

  .hero__content {
    max-width: 34rem;
  }
}

@media (min-width: 1200px) {
  .hero {
    max-width: 54rem;
  }

  .hero__content {
    width: min(100%, 44rem);
    max-width: 44rem;
  }

  .hero__supporting-line {
    width: 100%;
    max-width: 44rem;
  }
}
