@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --paper: #f7f6f0;
  --paper-light: #fcfbf8;
  --green: #254d3a;
  --green-soft: #718674;
  --text: #3e5752;
  --line: #dce0d5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper-light);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 510px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255,255,255,.78), transparent 54%),
    var(--paper);
}

.brand {
  position: relative;
  z-index: 1;
  width: min(560px, 88vw);
  padding: 34px 0 40px;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.corner {
  position: absolute;
  width: 280px;
  height: 220px;
  pointer-events: none;
  opacity: .9;
}

.corner-top {
  top: -115px;
  left: -95px;
  background: #e1e4d8;
  border-radius: 0 0 90% 0;
  transform: rotate(-10deg);
}

.corner-top::after,
.corner-bottom::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1.5px solid var(--green);
  border-radius: inherit;
}

.corner-bottom {
  right: -130px;
  bottom: -130px;
  background: #e1e4d8;
  border-radius: 90% 0 0 0;
  transform: rotate(-10deg);
}

.intro {
  padding: 48px 24px 54px;
  text-align: center;
  background: var(--paper-light);
}

.ornament {
  display: block;
  width: 60px;
  height: 2px;
  margin: 0 auto 27px;
  background: var(--green-soft);
}

h1 {
  margin: 0 0 24px;
  color: var(--green);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.description {
  max-width: 570px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.9;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 680px;
  margin: 46px auto 0;
}

.value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #506761;
  font-size: .78rem;
  letter-spacing: .17em;
  line-height: 1.8;
}

.value svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 20px 42px;
  background: #eff1e9;
  text-align: center;
}

.mail-icon {
  width: 40px;
  height: 32px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.contact-label {
  margin: 13px 0 9px;
  font-size: .78rem;
  letter-spacing: .2em;
}

.email {
  color: var(--green);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.email:hover { color: #50775c; }

@media (max-width: 560px) {
  .hero { min-height: 390px; }
  .brand { width: min(440px, 92vw); padding: 26px 0; }
  .intro { padding: 40px 22px 44px; }
  .description { font-size: 1rem; line-height: 1.8; }
  .values { gap: 10px; margin-top: 36px; }
  .value { font-size: .65rem; letter-spacing: .1em; }
  .value svg { width: 32px; height: 32px; }
  .corner { transform: scale(.7); }
}
