:root {
  color-scheme: light;
  --bg: #f7f1e8;
  --card: rgba(255, 255, 255, 0.76);
  --text: #1d1b18;
  --muted: #70685d;
  --accent: #9b5f37;
  --accent-dark: #754424;
  --border: rgba(29, 27, 24, 0.12);
  --shadow: 0 24px 80px rgba(69, 48, 31, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(203, 145, 94, 0.28), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(112, 96, 76, 0.18), transparent 30rem),
    var(--bg);
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero-card,
.contact-card {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
  min-height: 610px;
  padding: 28px;
  border-radius: 36px;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 5vw, 56px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.bio,
.contact-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.bio {
  max-width: 620px;
  margin-bottom: 32px;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.highlights span {
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.image-panel {
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background: #dfd0c1;
}

.image-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  margin-top: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  outline: none;
  padding: 15px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(155, 95, 55, 0.72);
  box-shadow: 0 0 0 4px rgba(155, 95, 55, 0.13);
  background: #fff;
}

button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  padding: 15px 24px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(117, 68, 36, 0.22);
  transition: transform 180ms ease, background 180ms ease;
}

button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

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

  .hero-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
    padding: 16px;
    border-radius: 28px;
  }

  .content {
    padding: 28px 18px;
  }

  .image-panel {
    min-height: 360px;
    order: -1;
  }

  .contact-card {
    gap: 22px;
    margin-top: 18px;
  }

  button {
    width: 100%;
  }
}
