:root {
  --bg: #f4efe7;
  --bg-accent: #e4d5c4;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-border: rgba(55, 37, 21, 0.1);
  --text: #1b140d;
  --muted: #6d5b4c;
  --accent: #b85c38;
  --accent-strong: #7d3117;
  --shadow: 0 24px 80px rgba(51, 31, 16, 0.16);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 92, 56, 0.22), transparent 30%),
    radial-gradient(circle at right 20%, rgba(78, 114, 92, 0.18), transparent 24%),
    linear-gradient(135deg, var(--bg) 0%, #f7f2eb 38%, var(--bg-accent) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
}

body::before {
  top: 7vh;
  right: 8vw;
  width: 16rem;
  height: 16rem;
  background: rgba(184, 92, 56, 0.12);
}

body::after {
  left: 4vw;
  bottom: 8vh;
  width: 14rem;
  height: 14rem;
  background: rgba(84, 123, 111, 0.12);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--surface-border);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__photo-wrap {
  position: relative;
}

.hero__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(184, 92, 56, 0.2), rgba(84, 123, 111, 0.14));
}

.hero__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.alias {
  margin: 16px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}

.alias span {
  color: var(--accent-strong);
  font-weight: 800;
}

.lead {
  max-width: 36rem;
  margin: 28px 0 0;
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible,
.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 16px 30px rgba(125, 49, 23, 0.22);
}

.button--ghost {
  color: var(--text);
  border-color: rgba(55, 37, 21, 0.14);
  background: rgba(255, 255, 255, 0.4);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.socials a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 160ms ease, transform 160ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  color: var(--accent-strong);
}

@media (max-width: 860px) {
  .page {
    padding: 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
    border-radius: 28px;
  }

  .hero__photo-wrap {
    max-width: 320px;
  }

  .hero__photo-wrap::after {
    inset: 14px -14px -14px 14px;
  }
}

@media (max-width: 520px) {
  body {
    background:
      radial-gradient(circle at top, rgba(184, 92, 56, 0.18), transparent 34%),
      linear-gradient(180deg, var(--bg) 0%, #f7f2eb 46%, var(--bg-accent) 100%);
  }

  .page {
    padding: 16px;
  }

  .hero {
    padding: 18px;
    gap: 22px;
  }

  .links,
  .socials {
    gap: 12px;
  }

  .button {
    width: 100%;
  }
}
