:root {
  color-scheme: light;
  --ink: oklch(25% .025 155);
  --paper: oklch(98% .008 100);
  --wash: oklch(93% .025 150);
  --green: oklch(39% .09 155);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 28px 20px;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.intro {
  max-width: 744px;
  margin: 0 auto;
  padding: 34px 36px 38px;
  border-radius: 12px;
  background: var(--wash);
}

.portrait {
  position: relative;
  width: 200px;
  aspect-ratio: 1;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--green);
}

/* Frame the original photo around the face, with only a small strip of shirt. */
.portrait img {
  position: absolute;
  display: block;
  width: 136.8%;
  max-width: none;
  height: auto;
  left: -28%;
  top: -33%;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(25px, 4vw, 31px);
  line-height: 1.35;
  letter-spacing: -.018em;
  font-weight: 400;
}
h1 strong { font-weight: 700; }
p { max-width: 65ch; margin: 0 0 24px; }
.signature { margin: 28px 0; font-size: 24px; font-weight: 700; line-height: 1.45; }
.contact-button {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 18px;
  min-height: 52px;
  margin-top: 8px;
  padding: 13px 20px;
  border-radius: 6px;
  background: var(--green);
  color: var(--paper);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.contact-button > span { white-space: nowrap; }
.contact-button:hover { background: oklch(32% .075 155); }
.contact-button:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }

@media (max-width: 480px) {
  body { padding: 16px 12px; }
  .intro { padding: 26px 22px 28px; }
  .portrait { width: 160px; margin-bottom: 26px; }
  .signature { font-size: 23px; }
  .contact-button { width: 100%; padding-inline: 16px; }
}

@media print {
  body { padding: 0; font-size: 12pt; }
  .intro { padding: 0; background: transparent; }
  .portrait { width: 120px; }
  h1 { font-size: 22pt; }
  .contact-button { padding: 0; background: transparent; color: var(--green); }
  .contact-button::after { content: " (t.me/stim7)"; }
}
