* { box-sizing: border-box; margin: 0; }
html, body { background: #fff; color: #16171c;
  font: 400 15px/1.5 ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif; }

header { display: flex; justify-content: space-between; padding: 28px 36px; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
header a { color: inherit; text-decoration: none; opacity: .7; margin-left: 28px; }
header > a { margin-left: 0; opacity: 1; }
header a:hover, header a[aria-current] { opacity: 1; }
@media (max-width: 520px) { header { padding: 20px; letter-spacing: .12em; } header a { margin-left: 14px; } }

section { padding: 72px 24px 40px; }
section > * { max-width: 720px; margin-left: auto; margin-right: auto; }
h2 { font-size: 12px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; opacity: .55; margin-bottom: 48px; }
h3 { font-weight: 300; font-size: 28px; letter-spacing: .01em; }
.role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; margin: 4px 0 20px; }
article { margin-bottom: 96px; }
p, li { color: #4a4b52; font-size: 17px; line-height: 1.65; }
p + p, p + ul, ul + p { margin-top: 16px; }
ul { padding-left: 0; list-style: none; }
li { padding: 14px 0; border-top: 1px solid #e8e8ea; }
li b, p b { color: #16171c; font-weight: 500; }
a { color: #8a5a10; }
.video { aspect-ratio: 16/9; width: 100%; border: 0; margin-top: 24px; border-radius: 4px; background: #f2f2f4; }
blockquote { border-left: 2px solid #8a5a10; padding: 4px 0 4px 20px; margin: 20px 0; color: #4a4b52; font-size: 16px; line-height: 1.65; font-style: italic; }
blockquote b { font-style: normal; display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; font-weight: 400; }
summary { cursor: pointer; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8a5a10; margin-top: 8px; }
.lede { font-size: 22px; font-weight: 300; color: #16171c; line-height: 1.5; }
.contact { text-align: center; }
.contact span { display: inline-block; font-size: 22px; font-weight: 300; margin: 0 16px 12px; }
.contact a { text-decoration: none; }
footer { text-align: center; padding: 80px 24px 40px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .4; }

/* work: text left, image right; stacks on small screens */
section.wide > * { max-width: 1120px; }
.projects article { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 120px; }
.projects .video { margin-top: 0; }
.shot { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; background: #f2f2f4; }
video.shot { aspect-ratio: auto; }   /* show the DIBELS demo uncropped at its own ratio */
.more a { margin-right: 20px; }
@media (max-width: 820px) { .projects article { grid-template-columns: 1fr; gap: 24px; margin-bottom: 80px; } }

/* about timeline */
.timeline { margin-top: 32px; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 24px; }
.timeline .years { font-size: 13px; letter-spacing: .08em; opacity: .6; padding-top: 3px; }
.timeline i { color: #8a8b92; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
h2.sub { margin: 96px auto 0; }

/* LivingSocial samples: native <dialog> popups */
.samples { margin-top: 6px; font-size: 15px; }
button.sample { font: inherit; color: #8a5a10; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
dialog { cursor: pointer; margin: auto; max-width: 600px; width: calc(100% - 40px); border: 0; border-radius: 8px; padding: 36px 40px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
dialog h3:focus { outline: none; }   /* title takes focus on open so the popup starts at the top, not at Close */
dialog::backdrop { background: rgba(10,11,15,.45); }
dialog h3 { margin-bottom: 14px; }
dialog form { text-align: right; margin-top: 20px; }
dialog form button { font: inherit; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #8a5a10; background: none; border: 0; cursor: pointer; }
