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

html, body { margin: 0; padding: 0; }

body {
  background: #fff;
  color: rgba(0, 0, 0, 0.5);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(40px, 10vw, 100px) 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

header { display: flex; flex-direction: column; gap: 10px; }

h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
}

.subtitle { margin: 0; }

p { margin: 0; }

.container > p { max-width: 700px; }

strong {
  font-weight: inherit;
  color: rgba(0, 0, 0, 0.8);
}

strong.black { color: #000; }

.ref {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: color 150ms ease;
}

.ref:hover { color: #f22c00; }

.photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4082 / 1624;
}

@media (max-width: 768px) {
  .photo img { aspect-ratio: 2614 / 1624; }
}

.contact { display: flex; flex-direction: column; gap: 10px; }

.email {
  color: #f22c00;
  text-decoration: none;
  width: max-content;
  transition: color 150ms ease;
}

.email:hover { color: #c8240a; }

.socials {
  display: flex;
  gap: 12px;
  margin-left: -6px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: rgba(0, 0, 0, 0.3);
  transition: color 150ms ease;
  border-radius: 4px;
}

.socials a:hover { color: rgba(0, 0, 0, 0.8); }

.socials a:focus-visible {
  outline: 2px solid #f22c00;
  outline-offset: 2px;
}

.socials svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
