/* chrisvanhartesveldt.com. A hub. Same letters as Pher Hands, plainer paper. */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #fafaf8;
  --card: #ffffff;
  --ink: #141414;
  --stone: #6a665f;
  --rule: #dedbd5;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1120px;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.6 var(--serif); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; font-weight: 400; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; }

h1 { font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.025em; margin: 0 0 .35em; }
h2.mono { color: var(--stone); margin: 0 0 1rem; }
.kicker { color: var(--stone); margin: 0 0 1.2rem; }
.lede { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; max-width: 30em; margin: 0; }
.note { color: var(--stone); margin-top: 1.5rem; }
.big { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; max-width: 28em; margin: 0 0 .5em; letter-spacing: -.01em; }

/* Hero: the photo fills the top of the screen. Name sits on the darkened left side, in white. */
.hero { position: relative; min-height: min(86vh, 780px); margin-bottom: clamp(48px, 7vw, 88px); color: #fff; overflow: hidden; background: #1a1410; }
.portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,12,10,.82) 0%, rgba(15,12,10,.55) 40%, rgba(15,12,10,0) 70%); }
.hero-text { position: absolute; z-index: 1; bottom: clamp(32px, 6vw, 64px); left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); max-width: 560px; padding-right: var(--gut); }
.hero .kicker { color: rgba(255,255,255,.78); }
.hero h1 { color: #fff; }

.ventures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: clamp(56px, 8vw, 96px); }
.card { position: relative; display: flex; flex-direction: column; gap: .5rem; background: var(--card); border: 1px solid var(--rule); padding: 24px; min-height: 300px; transition: border-color .15s; }
.card:hover { border-color: var(--ink); }
.card a { text-decoration: none; }
.card-name::after { content: ""; position: absolute; inset: 0; }   /* the whole card opens the main site */
.card-also { position: relative; z-index: 1; }                      /* a second link sits above it */
.card-also:hover, .card-go a:hover { text-decoration: underline; }
.card-top { display: flex; justify-content: space-between; color: var(--stone); }
.card-name { font-size: 1.9rem; line-height: 1.05; letter-spacing: -.015em; margin-top: 1.25rem; }
.card-one { font-style: italic; }
.card-blurb { color: var(--stone); font-size: 1rem; line-height: 1.5; }
.card-go { margin-top: auto; padding-top: 1rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }

.about, .thread, .timeline, .contact, .foot { background: linear-gradient(var(--rule), var(--rule)) no-repeat var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px; }
.about, .thread, .timeline, .contact { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.about p { margin: 0; max-width: 30em; }

dl { display: grid; grid-template-columns: 9.5rem 1fr; gap: .7rem 1.5rem; margin: 0; max-width: 46rem; }
dt { color: var(--stone); padding-top: .3em; }
dd { margin: 0; }

.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 24px; padding-bottom: 40px; color: var(--stone); }

@media (max-width: 860px) {
  .ventures, .about { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .portrait { object-position: 85% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(15,12,10,.86) 0%, rgba(15,12,10,.45) 45%, rgba(15,12,10,0) 70%); }
  .hero-text { left: var(--gut); right: var(--gut); bottom: 28px; padding: 0; }
  .card { min-height: 0; }
}
@media (max-width: 520px) {
  dl { grid-template-columns: 1fr; gap: .2rem; }
  dd { margin-bottom: .8rem; }
}
