:root {
  --bg: #eee2ce;
  --green: #294b2d;
  --body-text: #667276;
  --accent: #b77f5d;
  --card: #f8f5ef;
  --border: #d2c3ab;
  --linkedin: #0a8acb;
  --shadow: 0 2px 8px rgba(64, 48, 25, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #101010;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 54px 24px 55px;
}

.hero {
  width: min(940px, 100%);
  text-align: center;
}

.brand-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 172px;
}

.brand-logo {
  display: block;
  width: min(525px, 80vw);
  height: auto;
  object-fit: contain;
}

.divider {
  width: 64px;
  height: 2px;
  margin: 31px auto 35px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.8px;
  font-weight: 700;
}

.intro {
  margin: 17px auto 0;
  max-width: 800px;
  color: var(--body-text);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.contact-card {
  width: min(384px, 100%);
  margin: 38px auto 0;
  padding: 26px 28px 25px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(248, 245, 239, 0.8);
  box-shadow: var(--shadow);
}

.contact-label {
  margin: 0 0 21px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.contact-name {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #647176;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.email-link:hover,
.email-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.email-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.linkedin-button {
  width: 186px;
  min-height: 37px;
  margin: 17px auto 0;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--linkedin);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 140ms ease, filter 140ms ease;
}

.linkedin-button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.linkedin-button:focus-visible,
.email-link:focus-visible {
  outline: 3px solid rgba(10, 138, 203, 0.24);
  outline-offset: 3px;
}

.linkedin-mark {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.3px;
}

@media (max-width: 700px) {
  .page-shell {
    padding: 34px 18px 40px;
  }

  .brand-wrap {
    min-height: unset;
  }

  .brand-logo {
    width: min(525px, 92vw);
  }

  .divider {
    margin: 24px auto 28px;
  }

  .intro {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.55;
  }

  .desktop-break {
    display: none;
  }

  .contact-card {
    margin-top: 31px;
    padding: 24px 22px 23px;
  }
}
