:root {
  --bg: #f7f3f0;
  --bg-soft: #eef4f1;
  --ink: #2f3a36;
  --ink-soft: #5c6b64;
  --line: rgba(47, 58, 54, 0.12);
  --accent: #c9897a;
  --accent-deep: #b57464;
  --white: #fffcfa;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", sans-serif;
  --space: clamp(1.25rem, 4vw, 2rem);
  --max: 34rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 50% -10%, #e8f2ec 0%, transparent 55%),
    radial-gradient(700px 400px at 100% 20%, #f3e6e2 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  line-height: 1.55;
}

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

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

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space) 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.avatar {
  width: clamp(8.5rem, 28vw, 10.5rem);
  height: clamp(8.5rem, 28vw, 10.5rem);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 252, 250, 0.95);
  box-shadow: 0 12px 36px rgba(47, 58, 54, 0.12);
  background: #e8eee9;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.profile__name {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.profile__desc {
  margin: 0;
  max-width: 30rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.profile__desc strong {
  color: var(--ink);
  font-weight: 500;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  width: 100%;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.7rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 250, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(201, 137, 122, 0.08);
  color: var(--accent-deep);
}

.icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.contact,
.business {
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.contact h2,
.business h2 {
  margin: 1.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.field--full {
  width: 100%;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 252, 250, 0.9);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(201, 137, 122, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 137, 122, 0.12);
  background: var(--white);
}

.btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 9rem;
  padding: 0.7rem 1.4rem;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-deep);
}

.business__mail {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(201, 137, 122, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.business__mail:hover,
.business__mail:focus-visible {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.site-footer {
  padding: 1.5rem var(--space) 2.25rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .social {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .social,
  .btn {
    transition: none;
  }
}
