:root {
  --cream: #f3eee4;
  --plaster: #e7dfd2;
  --ink: #2c2924;
  --muted: #5c574e;
  --sage: #6f7d5c;
  --sage-dark: #556348;
  --wood: #8a6a45;
  --line: #d4cbb8;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

.masthead .cover {
  display: block;
  width: 100%;
  height: clamp(160px, 21vw, 400px);
  object-fit: cover;
  object-position: 18% center;
}
.wrap {
  width: min(900px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 4rem;
}
.masthead .wrap {
  padding-bottom: 0;
}

.identity {
  display: flex;
  gap: 2.75rem;
  align-items: flex-start;
  margin-top: -4.25rem;
  margin-bottom: 1.75rem;
  position: relative;
}
.identity .who {
  padding-top: 4.85rem;
}
.identity img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--plaster);
  box-shadow: 0 0 0 6px var(--cream);
  flex-shrink: 0;
}
.identity h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  line-height: 1.05;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}
.identity p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.intro {
  margin: 0 0 2rem;
  max-width: 36em;
}
.intro p { margin: 0 0 0.85rem; }

nav.links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem 1.1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 0.5rem;
  padding: 0.85rem 0 1rem;
}
nav.links a {
  display: block;
  padding: 0.55rem 0 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.12rem;
}
nav.links img.icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 0 0.4rem;
  background: var(--cream);
}
nav.links em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--sage-dark);
  display: block;
  line-height: 1.15;
}
nav.links a:hover em { color: var(--sage); }
nav.links span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
  margin-top: 0.2rem;
}

footer {
  margin-top: 2.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}
footer a { color: var(--sage-dark); }

.page-head {
  padding-top: 1.5rem;
}
.page-head a {
  color: var(--sage-dark);
  text-decoration: none;
  font-size: 0.92rem;
}
.page-head p a {
  font-size: inherit;
  text-decoration: underline;
}
.page-head h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.1rem;
  margin: 0.6rem 0 0.25rem;
}
.page-head .lede {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
}
.disclaimer {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.75rem;
  max-width: 38em;
}

.notes {
  border-top: 1px solid var(--line);
}
a.note {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
a.note img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--plaster);
}
a.note h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.tip-photo {
  width: min(400px, 100%);
  height: auto;
  display: block;
  margin: 0 0 1.25rem;
}

@media (max-width: 800px) {
  nav.links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .masthead .cover { height: 150px; object-position: 12% center; }
  .identity { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .identity .who { padding-top: 0.35rem; }
  .identity img { width: 108px; height: 108px; }
  nav.links { grid-template-columns: repeat(2, 1fr); gap: 0.15rem 0.85rem; }
  nav.links em { font-size: 1.32rem; }
  a.note { flex-direction: column; align-items: flex-start; }
  a.note img { width: 250px; height: 250px; }
}
