:root {
  --ink: #171717;
  --muted: #555f5c;
  --paper: #ffffff;
  --line: #d9dfdd;
  --accent: #0b7a75;
  --warm: #f2c94c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 4rem 5%;
}

.hello {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.copy {
  max-width: 560px;
}

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

h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 2rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--warm);
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus {
  background: #ffd95f;
}

.photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 360px;
  object-fit: cover;
}

footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 5%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 760px) {
  .page {
    min-height: auto;
    padding: 2.5rem 5%;
  }

  .hello {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  .photo img {
    height: 320px;
    min-height: 0;
  }
}
