/* =========================================================
   garrett michaud — about
   Same look as the rest of the site: white, Helvetica, one big
   see-through name. This page's name is red (the main page is
   blue, photographs is green).
   ========================================================= */

:root {
  --red: rgba(228, 0, 0, 0.75);      /* the see-through red of the name */
  --red-solid: #d10000;              /* for the box outline + small links, so they stay readable */
  --ink: #111;
  --sans: "Helvetica Neue", Helvetica, "Nimbus Sans", Arial, sans-serif;

  --edge: 8.4vw;                     /* left/right margin: lines up with the name on the main page */
}
@media (max-width: 760px) { :root { --edge: 5vw; } }

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

html { background: #fff; color-scheme: light; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red-solid); color: #fff; }

/* ---------- THE NAME (also the link back to the main page) ---------- */
.masthead { padding: clamp(1rem, 3vw, 2.5rem) var(--edge) 0; }

.name {
  margin: 0;
  font-weight: 400;
  font-size: 15.7vw;                 /* same size as on the other pages */
  line-height: 1;
  letter-spacing: -0.113em;          /* the squeezed-together look */
  white-space: nowrap;
  color: var(--red);
}
.name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.name a:hover,
.name a:focus-visible { color: rgba(228, 0, 0, 1); }
.name a:focus-visible { outline: 2px solid var(--red-solid); outline-offset: 6px; }

/* ---------- headshot + text box ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.5rem, 3.5vw, 3rem) var(--edge) clamp(2rem, 5vw, 4rem);
}
.about figure { margin: 0; background: #f2f2f2; }   /* pale placeholder while the photo loads */
.about img { display: block; width: 100%; height: auto; }

/* the text box */
.say {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1.5px solid var(--red-solid);
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* things rise in gently (skipped for people who turn motion off, below) */
.about > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.about > .say { animation-delay: 0.15s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* phones: stack the photo above the box */
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- footer: three quiet links ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 1rem;                    /* the 28px keeps wrapped rows from overlapping tap areas */
  padding: 0 var(--edge) 2.5rem;
}
.foot a {
  display: inline-block;
  padding: 10px 6px;                 /* tap area 44px+ for thumbs... */
  margin: -10px -6px;                /* ...without moving the text */
  color: var(--red-solid);
  text-decoration: none;
}
.foot a:hover,
.foot a:focus-visible { text-decoration: underline; text-underline-offset: 0.25em; outline: none; }

@media (prefers-reduced-motion: reduce) {
  .about > * { animation: none; }
  .name a { transition: none; }
}
